/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Design tokens ── */
:root {
  --orange:   #FFFFFF;
  --dark:     #000000;
  --blue:     #444444;
  --light:    #111111;
  --white:    #FFFFFF;
  --ink:      #FFFFFF;

  --font-head: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --section-pad: clamp(4rem, 8vw, 8rem);
  --max-w: 1200px;
}

/* ── Base typography ── */
body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  /* Subtle carbon-fiber diagonal weave */
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.015) 0px,
      rgba(255,255,255,0.015) 1px,
      transparent 1px,
      transparent 8px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,0.015) 0px,
      rgba(255,255,255,0.015) 1px,
      transparent 1px,
      transparent 8px
    );
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.1;
}

/* ── Utility classes ── */
.container {
  width: min(var(--max-w), 100% - 2rem);
  margin-inline: auto;
}

.btn-primary {
  display: inline-block;
  background: var(--white);
  color: #000000;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #e0e0e0; transform: translateY(-2px); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
}
.btn-ghost:hover { border-color: var(--white); transform: translateY(-2px); }

/* ── Scroll-reveal base state ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Navigation ── */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: transparent;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}
#site-nav.nav-scrolled {
  background: var(--dark);
  padding: 0.75rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  line-height: 1;
}

.logo-foil {
  background: var(--white);
  color: var(--dark);
  padding: 0.15em 0.35em;
  border: 2px solid var(--white);
}

.logo-rush {
  background: var(--dark);
  color: var(--white);
  padding: 0.15em 0.35em;
  border: 2px solid var(--white);
  margin-left: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  opacity: 0.85;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }
.nav-links .btn-primary { opacity: 1; font-size: 0.9rem; padding: 0.6rem 1.4rem; color: #000000; }

.lang-toggle {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.7);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.lang-toggle:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--dark);
    padding: 1.5rem;
    gap: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { display: flex; }
}

/* ── Hero ── */
#hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -10%;
  background-image: url('https://images.pexels.com/photos/19613308/pexels-photo-19613308.jpeg?auto=compress&cs=tinysrgb&w=1800');
  background-size: cover;
  background-position: center 30%;
  animation: kenBurns 18s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  from { transform: scale(1)   translate(0, 0); }
  to   { transform: scale(1.1) translate(-2%, -1%); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.45) 60%,
    rgba(0,0,0,0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 6rem;
}

.hero-eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 1rem;
}

#hero h1 {
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero-scroll-indicator span {
  display: block;
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.8), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.8; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.5); }
}

@media (max-width: 600px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas a { text-align: center; }
}

/* ── Shared section typography ── */
.section-eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

/* ── Features ── */
#features {
  padding: var(--section-pad) 0;
  background: var(--light);
  color: var(--ink);
}
#features .section-eyebrow { color: var(--orange); }
#features .section-title { color: var(--ink); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0;
  padding: 2rem;
  box-shadow: none;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: var(--white);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.feature-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}

/* ── How It Works ── */
#how-it-works {
  padding: var(--section-pad) 0;
  background: var(--dark);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 100%;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 2px solid rgba(255,255,255,0.15);
  padding-top: 1.5rem;
}

.step-number {
  font-family: var(--font-head);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  opacity: 0.9;
}

.step-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.step-body p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 700px) {
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .step { flex-direction: row; align-items: flex-start; gap: 1.25rem; border-top: none; border-left: 2px solid rgba(255,255,255,0.15); padding-top: 0; padding-left: 1.25rem; }
  .step-number { font-size: 3rem; min-width: 2ch; }
}

/* ── Specs ── */
#specs {
  padding: var(--section-pad) 0;
  background: var(--light);
  color: var(--ink);
}
#specs .section-eyebrow { color: var(--orange); }
#specs .section-title { color: var(--ink); }

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.specs-table tr {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.specs-table tr:last-child { border-bottom: none; }

.specs-table th {
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  padding: 1rem 1rem 1rem 0;
  width: 40%;
}

.specs-table td {
  padding: 1rem 0;
  color: rgba(255,255,255,0.65);
}

@media (max-width: 500px) {
  .specs-table th, .specs-table td { display: block; width: 100%; }
  .specs-table th { padding-bottom: 0.25rem; }
  .specs-table td { padding-top: 0; padding-bottom: 1rem; }
}

.photos-coming-soon {
  margin-top: 2.5rem;
  padding: 2rem;
  border: 1px dashed rgba(255,255,255,0.2);
  border-radius: 12px;
  text-align: center;
  color: rgba(255,255,255,0.45);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

/* ── Lifestyle shot ── */
#lifestyle {
  position: relative;
  height: 60vh;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lifestyle-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.pexels.com/photos/9739246/pexels-photo-9739246.jpeg?auto=compress&cs=tinysrgb&w=1600');
  background-size: cover;
  background-position: center 50%;
}

.lifestyle-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,15,0.3), rgba(10,10,15,0.65));
}

.lifestyle-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.lifestyle-content blockquote p {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

/* ── Reviews ── */
#reviews {
  padding: var(--section-pad) 0;
  background: var(--dark);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.5rem;
}

.review-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}
.review-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
}

.review-stars {
  color: var(--orange);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 0.975rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.review-author strong {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--white);
  font-size: 0.95rem;
}
.review-author span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

/* ── Buy section ── */
#buy {
  padding: var(--section-pad) 0;
  background: var(--light);
  color: var(--ink);
}

.buy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .buy-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

.buy-image img {
  border-radius: 16px;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12);
}

.board-svg {
  width: 100%;
  max-width: 300px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(255,255,255,0.06));
}

.buy-photo {
  width: 100%;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.1);
}

/* ── View tabs & panels ── */
.view-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,0.15);
}

.view-tab {
  flex: 1;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.45);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 0.4rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.view-tab:last-child { border-right: none; }

.view-tab:hover {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.75);
}

.view-tab.active {
  background: var(--white);
  color: #000000;
}

.view-panel {
  display: none;
}

.view-panel.active {
  display: block;
}

.buy-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.buy-product-name {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1rem;
}

.buy-price {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.price-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  margin-top: -0.5rem;
  margin-bottom: 0.75rem;
  font-style: italic;
}

.buy-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.buy-cta {
  width: 100%;
  font-size: 1.1rem;
  padding: 1.1rem;
  margin-bottom: 1.5rem;
  text-align: center;
  display: block;
}

.buy-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.buy-badges span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-head);
  font-weight: 700;
}

/* ── Footer ── */
#footer {
  background: var(--dark);
  padding: 3rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}
.footer-links a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-contact {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}
.footer-contact a {
  color: rgba(255,255,255,0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--white); }

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}

@media (max-width: 600px) {
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; gap: 1.25rem; }
}

/* ── Cookie consent banner ── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: #111;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

#cookie-banner p { margin: 0; flex: 1; min-width: 200px; }

.cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }

.cookie-actions button {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding: 0.45rem 1.1rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

#cookie-accept { background: #fff; color: #000; }
#cookie-decline { background: transparent; color: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.2); }
#cookie-decline:hover { color: #fff; border-color: #fff; }

@media (max-width: 500px) {
  #cookie-banner { flex-direction: column; align-items: flex-start; }
}

/* ── Accessibility & polish ── */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

/* ::selection uses white block to match B&W chess theme */
::selection {
  background: var(--white);
  color: var(--dark);
}
