/* ============================================================
   LUMEN GT-X — Kinetic Dark Performance
   Syncopate / Space Mono · Carbon + Action-Rot
   ============================================================ */
:root {
  --bg: #0b0d10;
  --bg-2: #12151a;
  --fg: #f4f6f8;
  --muted: rgba(244, 246, 248, 0.6);
  --faint: rgba(244, 246, 248, 0.32);
  --red: #e11d2e;
  --line: rgba(244, 246, 248, 0.1);
  --font-display: "Syncopate", sans-serif;
  --font-mono: "Space Mono", monospace;
  --pad: clamp(1.25rem, 4vw, 4rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-mono);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--red); color: #fff; }

.scanlines {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 60;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(0, 0, 0, 0.09) 3px 4px);
  opacity: 0.5;
}

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--pad);
  background: linear-gradient(to bottom, rgba(11, 13, 16, 0.9), transparent);
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.3em;
}
.nav__links { display: flex; gap: 1.8rem; }
.nav__links a {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  padding: 0.4rem 0;
  transition: color 0.25s;
}
.nav__links a:hover { color: var(--red); }
.nav__badge {
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 0.35rem 0.8rem;
}

/* Hero */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  padding: 90px var(--pad) 70px;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.45;
  filter: saturate(0.85) contrast(1.08);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(11, 13, 16, 0.92) 15%, rgba(11, 13, 16, 0.25) 60%),
    linear-gradient(to top, var(--bg) 2%, transparent 40%);
}
.hero__content { position: relative; z-index: 2; }
.hero__eyebrow {
  font-size: 0.75rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.4rem;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 11.5vw, 9.5rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: clamp(1.8rem, 5vh, 3.2rem);
}
.hero__title-row { display: block; overflow: hidden; }
.hero__title-row--outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--fg);
}
.hero__stats {
  display: flex; gap: clamp(1.5rem, 5vw, 4rem);
  margin-bottom: clamp(1.8rem, 4vh, 3rem);
  flex-wrap: wrap;
}
.hstat { display: flex; flex-direction: column; gap: 0.2rem; }
.hstat__val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.hstat__unit {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
.hero__cta {
  display: inline-flex; align-items: center; gap: 0.9rem;
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  background: var(--red);
  color: #fff;
  padding: 1.1rem 2rem;
  min-height: 44px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 100%, 16px 100%);
  transition: background-color 0.3s, transform 0.3s var(--ease);
}
.hero__cta:hover { background: #ff2438; transform: translateX(6px); }
.hero__cta span { transition: transform 0.3s var(--ease); }
.hero__cta:hover span { transform: translateX(6px); }
.hero__ticker {
  position: absolute; bottom: 0; left: 0; right: 0;
  border-top: 1px solid var(--line);
  background: rgba(11, 13, 16, 0.72);
  backdrop-filter: blur(8px);
  overflow: hidden;
  padding: 0.8rem 0;
  z-index: 2;
}
.hero__ticker-track {
  display: flex; align-items: center; gap: 2rem;
  width: max-content;
  font-size: 0.75rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.hero__ticker-track i { color: var(--red); font-style: normal; }

/* Speed dial */
.speed { background: var(--bg-2); border-block: 1px solid var(--line); }
.speed__pin {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: clamp(1.5rem, 4vh, 3rem);
  padding: 4rem var(--pad);
  text-align: center;
}
.speed__label {
  font-size: 0.78rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--red);
}
.speed__dial { position: relative; display: flex; flex-direction: column; align-items: center; }
.speed__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4.5rem, 18vw, 13rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 60px rgba(225, 29, 46, 0.35);
}
.speed__unit {
  font-size: 0.85rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.6rem;
}
.speed__arc {
  width: clamp(260px, 44vw, 460px);
  margin-top: 1.6rem;
}
#speedArc {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  filter: drop-shadow(0 0 6px rgba(225, 29, 46, 0.8));
}
.speed__caption { font-size: 0.8rem; color: var(--faint); max-width: 34rem; }

/* Design */
.design { padding: clamp(4rem, 10vw, 8rem) var(--pad); }
.design__head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.design__label {
  font-size: 0.78rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1rem;
}
.design__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 6vw, 4.6rem);
  text-transform: uppercase;
  line-height: 1.08;
}
.design__title em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--red);
}
.design__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.5vw, 2rem);
}
.design__item { position: relative; overflow: hidden; border: 1px solid var(--line); }
.design__item--wide { grid-column: 1 / -1; }
.design__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  transition: transform 0.9s var(--ease);
  filter: saturate(0.9);
}
.design__item--wide img { aspect-ratio: 21 / 9; }
.design__item:hover img { transform: scale(1.04); }
.design__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: clamp(1rem, 2.5vw, 1.8rem);
  background: linear-gradient(to top, rgba(11, 13, 16, 0.92), transparent);
}
.design__item figcaption span {
  font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--red);
  display: block; margin-bottom: 0.4rem;
}
.design__item figcaption p { font-size: 0.88rem; color: var(--muted); max-width: 40rem; }

/* Specs */
.specs { padding: 0 var(--pad) clamp(4rem, 10vw, 8rem); }
.specs__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  text-transform: uppercase;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.specs__table { max-width: 900px; }
.specs__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.specs__row:first-child { border-top: 1px solid var(--line); }
.specs__row dt {
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
.specs__row dd {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1rem, 2.4vw, 1.5rem);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

/* Footer */
.footer {
  text-align: center;
  padding: clamp(5rem, 12vw, 9rem) var(--pad) 2.5rem;
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(225, 29, 46, 0.12), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}
.footer__label {
  font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1.6rem;
}
.footer__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 10vw, 7.5rem);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.footer__cta {
  display: inline-block;
  font-size: clamp(1rem, 2.6vw, 1.5rem);
  font-weight: 700;
  border-bottom: 2px solid var(--red);
  padding-bottom: 0.4rem;
  transition: color 0.3s;
  word-break: break-all;
}
.footer__cta:hover { color: var(--red); }
.footer__meta {
  display: flex; justify-content: space-between; gap: 1rem;
  margin-top: clamp(3.5rem, 8vw, 6rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--faint);
  flex-wrap: wrap;
}

a:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* Responsive */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .design__grid { grid-template-columns: 1fr; }
  .design__item img, .design__item--wide img { aspect-ratio: 4 / 3; }
  .specs__row { grid-template-columns: 1fr; gap: 0.3rem; }
  .footer__meta { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  #speedArc { stroke-dashoffset: 0; }
}
