/* ============================================
   LIVE KYIV METRO BOARD — PRODUCT LANDING PAGE
   Dark tech aesthetic with PCB-inspired design
   ============================================ */

/* --- CSS Variables & Theming --- */
:root {
  --color-bg: #0a0a0a;
  --color-bg-secondary: #111111;
  --color-bg-card: #161616;
  --color-text: #f0f0f0;
  --color-text-muted: #888888;
  --color-accent: #58A85D;
  --color-accent-blue: #3498db;
  --color-accent-green: #2ecc71;
  --color-border: #222222;
  --color-glow: rgba(88, 168, 93, 0.3);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body:not(.dark-mode) {
  --color-bg: #f8f7f4;
  --color-bg-secondary: #efeeeb;
  --color-bg-card: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #666666;
  --color-border: #e0e0e0;
  --color-glow: rgba(88, 168, 93, 0.15);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-heading);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Theme Toggle --- */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--color-accent);
  box-shadow: 0 0 20px var(--color-glow);
  transform: scale(1.1);
}

.dark-mode .theme-toggle__icon--moon { display: none; }
.dark-mode .theme-toggle__icon--sun { display: block; font-size: 20px; }
body:not(.dark-mode) .theme-toggle__icon--sun { display: none; }
body:not(.dark-mode) .theme-toggle__icon--moon { display: block; font-size: 20px; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: transparent;
  transition: all var(--transition);
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}

body:not(.dark-mode) .nav.scrolled {
  background: rgba(248, 247, 244, 0.85);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.nav__logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
}

.nav__links a {
  opacity: 0.7;
  transition: opacity var(--transition);
}

.nav__links a:hover {
  opacity: 1;
}

.nav__cta {
  background: var(--color-accent);
  color: #fff !important;
  padding: 8px 24px;
  border-radius: 100px;
  opacity: 1 !important;
  transition: transform var(--transition), box-shadow var(--transition);
}

.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--color-glow);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  letter-spacing: -0.01em;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--color-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-text-muted);
  background: var(--color-bg-secondary);
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.btn--outline-white:hover {
  background: #fff;
  color: #000;
}

.btn--large {
  padding: 20px 56px;
  font-size: 18px;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 140px 32px 80px;
  gap: 0;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url('assets/hero.webp') center/cover no-repeat;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.45) 50%,
    rgba(0, 0, 0, 0.75) 100%
  );
  z-index: 1;
}

.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.hero__content {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.hero__title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  background: linear-gradient(135deg, var(--color-accent), #7ccf81, var(--color-accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin: 0 auto 40px;
  max-width: 560px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-accent-green);
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.2);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

/* Hero Visual — PCB Board */
.hero__visual {
  flex: 1;
  max-width: 580px;
  z-index: 2;
}

.pcb-board {
  position: relative;
  perspective: 1000px;
}

.pcb-board__frame {
  position: relative;
  aspect-ratio: 297 / 210;
  background: #0d0d0d;
  border-radius: 8px;
  border: 1px solid #2a2a2a;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 20px 60px rgba(0,0,0,0.5),
    0 0 80px rgba(88, 168, 93, 0.08);
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  animation: float-board 6s ease-in-out infinite;
}

.pcb-board:hover .pcb-board__frame {
  transform: rotateY(0deg) rotateX(0deg);
}

@keyframes float-board {
  0%, 100% { transform: rotateY(-5deg) rotateX(2deg) translateY(0); }
  50% { transform: rotateY(-5deg) rotateX(2deg) translateY(-12px); }
}

.pcb-board__screen {
  position: absolute;
  inset: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.metro-map {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 6px rgba(88, 168, 93, 0.3));
}

.pcb-traces {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(255,255,255,0.015) 19px, rgba(255,255,255,0.015) 20px),
    repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(255,255,255,0.015) 19px, rgba(255,255,255,0.015) 20px);
  pointer-events: none;
}

/* PCB corner mounting holes */
.pcb-board__corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #333;
  background: #1a1a1a;
  z-index: 5;
}

.pcb-board__corner--tl { top: 6px; left: 6px; }
.pcb-board__corner--tr { top: 6px; right: 6px; }
.pcb-board__corner--bl { bottom: 6px; left: 6px; }
.pcb-board__corner--br { bottom: 6px; right: 6px; }

/* PCB Glow */
.pcb-board__glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, var(--color-glow), transparent 70%);
  opacity: 0.5;
  z-index: -1;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

/* Trains pulsing */
.train {
  filter: drop-shadow(0 0 4px #fff);
}

/* Station hover effect */
.station {
  transition: all 0.2s;
}

/* Hero Scroll Hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce-hint 2s ease-in-out infinite;
}

.hero__scroll-arrow {
  width: 14px;
  height: 14px;
  border-right: 1.5px solid var(--color-text-muted);
  border-bottom: 1.5px solid var(--color-text-muted);
  transform: rotate(45deg);
}

@keyframes bounce-hint {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Marquee --- */
.marquee {
  padding: 24px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
  background: var(--color-bg-secondary);
}

.marquee__track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  animation: marquee 20s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Scroll-Scrubbed Video Section --- */
.scroll-video {
  position: relative;
  width: 100%;
  height: 320vh;
  background: #000;
  color: #fff;
  z-index: 1;
}

.scroll-video__sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-video__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  will-change: contents;
}

.scroll-video__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 80%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.2) 45%, rgba(0, 0, 0, 0.65) 100%);
  pointer-events: none;
}

.scroll-video__captions {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.scroll-video__caption {
  position: absolute;
  max-width: 960px;
  text-align: center;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.scroll-video__caption.is-active {
  opacity: 1;
  transform: translateY(0);
}

.scroll-video__eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 20px;
}

.scroll-video__title {
  font-family: inherit;
  font-size: clamp(2rem, 6.2vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}

.scroll-video__title .text-accent {
  background: linear-gradient(135deg, var(--color-accent), #7ccf81, var(--color-accent-blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.scroll-video__progress {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: min(420px, 60vw);
  height: 2px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  overflow: hidden;
}

.scroll-video__progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-accent), #7ccf81, var(--color-accent-blue));
  transform-origin: left center;
  transition: width 0.08s linear;
}

@media (max-width: 720px) {
  .scroll-video {
    height: 260vh;
  }
  .scroll-video__caption {
    padding: 0 16px;
  }
  .scroll-video__progress {
    bottom: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-video__caption {
    transition: opacity 0.2s ease;
    transform: none;
  }
}

/* --- How It Works --- */
.how-it-works {
  padding: 120px 0;
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.how-it-works__intro {
  max-width: 640px;
  margin: -32px auto 72px;
  text-align: center;
  font-size: 18px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Step row — alternating image/text layout */
.hiw-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 0;
}

.hiw-step--reverse {
  direction: rtl;
}

.hiw-step--reverse > * {
  direction: ltr;
}

.hiw-step__number {
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--color-accent), #7ccf81);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.hiw-step__title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hiw-step__text {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.hiw-step__details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hiw-step__details li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
}

.hiw-step__details li svg {
  flex-shrink: 0;
  color: var(--color-accent);
}

/* Photo placeholder */
.hiw-step__media {
  width: 100%;
}

.hiw-step__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.hiw-step__photo-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  border: 2px dashed var(--color-border);
  background: var(--color-bg-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--color-text-muted);
  font-size: 14px;
  font-family: var(--font-mono);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.hiw-step__photo-placeholder::before {
  content: attr(data-label);
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-size: 11px;
  color: var(--color-text-muted);
  opacity: 0.5;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.hiw-step__photo-placeholder:hover {
  border-color: var(--color-accent);
  background: rgba(88, 168, 93, 0.03);
}

.hiw-step__placeholder-icon {
  width: 48px;
  height: 48px;
  color: var(--color-text-muted);
  opacity: 0.4;
}

/* Connector between steps */
.hiw-connector {
  display: flex;
  justify-content: center;
  padding: 32px 0;
}

.hiw-connector__line {
  width: 2px;
  height: 64px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  border-radius: 2px;
  opacity: 0.4;
}

/* Responsive */
@media (max-width: 768px) {
  .hiw-step {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hiw-step--reverse {
    direction: ltr;
  }

  .hiw-step__number {
    font-size: 40px;
  }

  .hiw-step__title {
    font-size: 24px;
  }
}

/* --- Section Shared --- */
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 16px;
  text-align: center;
}

.section-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 64px;
  line-height: 1.1;
}

.text-accent {
  background: linear-gradient(135deg, var(--color-accent), #7ccf81);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Features --- */
.features {
  padding: 120px 0;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  padding: 40px 32px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 0 30px var(--color-glow);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.feature-card__icon svg {
  width: 100%;
  height: 100%;
}

.feature-card__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.feature-card__text {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* --- Pricing --- */
.pricing {
  padding: 120px 0;
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.pricing-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.pricing-card--popular {
  border-color: var(--color-accent);
  box-shadow: 0 0 40px var(--color-glow);
}

.pricing-card--popular:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 0 40px var(--color-glow);
}

.pricing-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 100px;
  z-index: 5;
}

/* Photo in pricing card */
.pricing-card__photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--color-border);
}

/* Photo placeholder in pricing card */
.pricing-card__photo-placeholder {
  aspect-ratio: 16 / 10;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--color-text-muted);
  font-size: 13px;
  font-family: var(--font-mono);
}

.pricing-card__placeholder-icon {
  width: 40px;
  height: 40px;
  color: var(--color-text-muted);
  opacity: 0.3;
}

.pricing-card__body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pricing-card__title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.pricing-card__subtitle {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  font-family: var(--font-mono);
}

.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.pricing-card__features li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-accent);
}

.pricing-card__cable {
  margin-bottom: 24px;
}

.pricing-card__cable-label {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-card__cable-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pricing-card__cable-colors {
  display: flex;
  gap: 9px;
  align-items: center;
}

.pricing-card__cable-length {
  display: flex;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

body:not(.dark-mode) .pricing-card__cable-length {
  background: rgba(0, 0, 0, 0.04);
}

.cable-length {
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  padding: 3px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color var(--transition), background var(--transition);
}

.cable-length:hover {
  color: var(--color-text);
}

.cable-length--selected {
  background: var(--color-accent);
  color: #0a0a0a;
}

.cable-length--selected:hover {
  color: #0a0a0a;
}

.cable-color {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: var(--cable-color);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  outline: none;
}

.cable-color:hover {
  transform: scale(1.15);
}

.cable-color--selected {
  box-shadow: 0 0 0 2px var(--color-bg-card), 0 0 0 4px var(--color-accent);
}

.cable-color:focus-visible {
  box-shadow: 0 0 0 2px var(--color-bg-card), 0 0 0 4px var(--color-accent);
}

.pricing-card__price {
  margin-bottom: 20px;
  text-align: center;
}

.pricing-card__amount {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--color-accent), #7ccf81);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-card__amount small {
  font-size: 20px;
  font-weight: 500;
}

.btn--full {
  width: 100%;
  text-align: center;
}

.pricing-card__eta {
  width: 100%;
  text-align: center;
  padding: 14px 16px;
  border: 1px dashed var(--color-border);
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.02);
  margin: 0;
}

@media (max-width: 1024px) {
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* --- Zoom Reveal (scroll-driven scale-down) --- */
.zoom-reveal {
  position: relative;
  height: 250vh;
  background: var(--color-bg);
  overflow: clip;
}

.zoom-reveal__sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--color-bg);
  display: grid;
  place-items: center;
}

.zoom-reveal__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(var(--zoom, 2.6));
  transform-origin: center center;
  will-change: transform;
}

@media (max-width: 720px) {
  .zoom-reveal__image {
    transform: scale(var(--zoom, 3.8));
  }
}

@media (prefers-reduced-motion: reduce) {
  .zoom-reveal {
    height: 100vh;
  }
  .zoom-reveal__image {
    transform: none;
  }
}

/* --- Showcase / Stats --- */
.showcase {
  padding: 120px 0;
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.showcase__content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.showcase__title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.showcase__desc {
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.showcase__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.stat {
  text-align: center;
  padding: 32px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.stat:hover {
  border-color: var(--color-accent);
  box-shadow: 0 0 30px var(--color-glow);
}

.stat__number {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: block;
  background: linear-gradient(135deg, var(--color-accent), #7ccf81);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat__suffix {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.stat__label {
  display: block;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 4px;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

/* --- Specs --- */
.specs {
  padding: 120px 0;
}

.specs__table {
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-card);
}

.specs__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
}

.specs__row:last-child {
  border-bottom: none;
}

.specs__row:hover {
  background: var(--color-bg-secondary);
}

.specs__label {
  font-size: 15px;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
}

.specs__value {
  font-size: 15px;
  font-weight: 500;
}

/* --- Reviews --- */
.reviews {
  padding: 120px 0;
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.review-card {
  padding: 40px 32px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.review-card__stars {
  color: #f1c40f;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.review-card__text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  font-style: italic;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #fff;
  font-size: 14px;
  object-fit: cover;
  flex-shrink: 0;
}

.review-card__name {
  font-weight: 600;
  font-size: 15px;
}

.review-card__role {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* --- CTA Section --- */
.cta {
  position: relative;
  padding: 80px 0 160px;
  text-align: center;
  overflow: hidden;
}

.cta__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-glow), transparent 60%);
  opacity: 0.4;
  pointer-events: none;
}

.cta__content {
  position: relative;
  z-index: 2;
}

.cta__eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.cta__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.cta__subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta__price {
  margin-bottom: 32px;
}

.cta__price-amount {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--color-accent), #7ccf81);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta__price-note {
  display: block;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.cta__guarantee {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 16px;
}

/* --- Order Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  overflow-y: auto;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 480px;
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform var(--transition);
  margin: auto;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.modal__close:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.modal__title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.modal__plan {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--color-accent);
  margin-bottom: 32px;
  padding: 12px 16px;
  background: rgba(88, 168, 93, 0.08);
  border: 1px solid rgba(88, 168, 93, 0.2);
  border-radius: var(--radius);
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal__row {
  display: flex;
  gap: 16px;
}

.modal__row .modal__field {
  flex: 1;
  min-width: 0;
}

.modal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal__label {
  font-size: 14px;
  font-weight: 500;
}

.modal__required {
  color: var(--color-accent);
}

.modal__optional {
  color: var(--color-text-muted);
  font-weight: 400;
  font-size: 12px;
}

.modal__input {
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 15px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.modal__input::placeholder {
  color: var(--color-text-muted);
  opacity: 0.5;
}

.modal__input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-glow);
}

.modal__hint {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-top: 2px;
}

.modal__error {
  font-size: 12px;
  color: #e05555;
  line-height: 1.5;
  margin-top: 4px;
  display: none;
}

.modal__input--invalid {
  border-color: #e05555;
  box-shadow: 0 0 0 3px rgba(224, 85, 85, 0.15);
}

.modal__radio-group {
  display: flex;
  gap: 16px;
}

.modal__radio {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--color-text);
}

.modal__radio input {
  display: none;
}

.modal__radio-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  position: relative;
  transition: border-color var(--transition);
  flex-shrink: 0;
}

.modal__radio input:checked + .modal__radio-check {
  border-color: var(--color-accent);
}

.modal__radio input:checked + .modal__radio-check::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
}

.modal__submit {
  margin-top: 8px;
}

/* Modal Loader */
.modal__loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 48px 0;
  color: var(--color-text-muted);
  font-size: 15px;
}

.modal__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Modal Result */
.modal__result {
  text-align: center;
  padding: 32px 0;
}

.modal__result-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}

.modal__result--success .modal__result-icon {
  background: rgba(88, 168, 93, 0.15);
  color: var(--color-accent);
}

.modal__result--error .modal__result-icon {
  background: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
}

.modal__result-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal__result-text {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.modal__result--success .modal__result-text {
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .modal {
    padding: 28px 20px;
  }

  .modal__title {
    font-size: 20px;
  }
}

/* --- Footer --- */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
}

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

.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.footer__copy {
  font-size: 13px;
  color: var(--color-text-muted);
}

.footer__links {
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.footer__links a {
  opacity: 0.6;
  transition: opacity var(--transition);
}

.footer__links a:hover {
  opacity: 1;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */

.reveal,
.reveal-up,
.reveal-scale {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal {
  transform: translateY(30px);
}

.reveal-up {
  transform: translateY(50px);
  transition-delay: calc(var(--delay, 0) * 0.12s);
}

.reveal-scale {
  transform: scale(0.92);
}

.reveal.visible,
.reveal-up.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal, .reveal-up, .reveal-scale {
    opacity: 1;
    transform: none;
  }

  .marquee__track {
    animation: none;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .hero {
    padding: 120px 24px 60px;
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero__content {
    max-width: 640px;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase__content {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav__links a:not(.nav__cta) {
    display: none;
  }

  .theme-toggle {
    display: none;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .feature-card__icon {
    width: 36px;
    height: 36px;
    margin-bottom: 16px;
  }

  .feature-card__title {
    font-size: 16px;
  }

  .feature-card__text {
    font-size: 13px;
  }


  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .showcase__stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .showcase__content {
    padding: 0 16px;
  }

  .stat {
    padding: 24px 16px;
  }

  .stat__number {
    font-size: 36px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .hero {
    padding: 100px 16px 80px;
  }

  .hero__subtitle {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .hero__actions {
    margin-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .btn--large {
    padding: 16px 40px;
    font-size: 16px;
    width: 100%;
  }
}
