@font-face {
  font-family: "NEXT ART";
  src: url("../assets/NEXTART-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #030304;
  --bg-2: #070809;
  --border: rgba(0, 0, 0, 0.88);
  --border-glow: rgba(0, 255, 65, 0.055);
  --text: #f5f5f7;
  --muted: rgba(245, 245, 247, 0.58);
  --subtle: rgba(245, 245, 247, 0.35);
  --green: #00ff41;
  --green-dim: rgba(0, 255, 65, 0.12);
  --green-glow: rgba(0, 255, 65, 0.45);
  --ambient-glow: rgba(0, 255, 65, 0.16);
  --ambient-glow-soft: rgba(0, 255, 65, 0.08);
  --red: #ff3b4a;
  --nav-h: 76px;
  --gutter: clamp(28px, 6vw, 96px);
  --section-y: clamp(88px, 12vw, 140px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "NEXT ART", "Geist", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body: "Geist", "Inter", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;
  --glass-radius: 28px;
  --glass-radius-sm: 22px;
  --glass-radius-xs: 18px;
  --glass-border: rgba(0, 0, 0, 0.92);
  --glass-border-hover: rgba(0, 255, 65, 0.2);
  --glass-bg: rgba(0, 0, 0, 0.44);
  --glass-bg-hover: rgba(0, 0, 0, 0.56);
  --glass-blur: blur(40px) saturate(120%) brightness(0.82);
  --glass-shadow:
    inset 0 1px 0 rgba(0, 255, 65, 0.035),
    0 0 0 1px rgba(0, 0, 0, 0.94),
    0 0 56px -18px var(--ambient-glow-soft),
    0 24px 48px -28px rgba(0, 0, 0, 0.78);
  --glass-shadow-hover:
    inset 0 1px 0 rgba(0, 255, 65, 0.07),
    0 0 0 1px rgba(0, 0, 0, 0.88),
    0 0 80px -14px var(--ambient-glow),
    0 32px 64px -24px rgba(0, 0, 0, 0.88);
  --frame-ambient:
    0 0 0 1px rgba(0, 0, 0, 0.98),
    0 0 72px -8px var(--ambient-glow),
    0 0 120px -28px var(--ambient-glow-soft),
    0 32px 80px -36px rgba(0, 0, 0, 0.95);
}

.shader-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.shader-bg[data-paper-shader] {
  background: transparent;
}
.shader-bg[data-paper-shader] canvas {
  z-index: 0 !important;
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  touch-action: pan-y;
}
.shader-bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.2);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  overflow-y: visible;
  min-height: 100%;
  -webkit-overflow-scrolling: touch;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font-weight: 700; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ── Electric cursor ── */
body.has-electric-cursor,
body.has-electric-cursor * {
  cursor: none !important;
}
body.has-electric-cursor input,
body.has-electric-cursor textarea,
body.has-electric-cursor select {
  cursor: text !important;
}
.electric-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.12s var(--ease);
  will-change: transform;
  width: 96px;
  height: 96px;
}
.electric-cursor-fx {
  display: block;
}
.electric-cursor.is-pressed .electric-cursor-fx {
  transform: scale(0.92);
  filter: brightness(1.2);
  transition: transform 0.12s var(--ease), filter 0.12s var(--ease);
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { width: min(100% - var(--gutter) * 2, 1180px); margin-inline: auto; }

/* ── Overflow clip (x only — y must stay visible or mobile scroll breaks) ── */
main,
.site-nav,
.site-footer,
section,
.marquee {
  overflow-x: clip;
  overflow-y: visible;
}
.hero-layers,
.hero-content,
.hero-product,
.hero-logo-wrap,
.preview-layout,
.preview-copy,
.preview-frame-wrap,
.preview-filmstrip,
.preview-tabs,
.stats-grid,
.products-grid,
.features-grid,
.testimonials-grid,
.faq-grid,
.faq-list,
.launch-cta-grid,
.footer-grid,
.steps-list,
.cta-band-inner,
.product-icon,
.section-art {
  overflow: hidden;
}

/* ── Glass card system ── */
.glass-card,
.product-card,
.feature-item,
.steps-list > li,
.testimonial,
.stat,
.preview-stage,
.launch-card,
.faq-item,
.preview-thumb {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  transition:
    transform 0.55s var(--ease),
    border-color 0.45s var(--ease),
    box-shadow 0.55s var(--ease),
    background 0.45s var(--ease);
}
.glass-card:hover,
.product-card:hover,
.feature-item:hover,
.steps-list > li:hover,
.testimonial:hover,
.stat:hover,
.preview-stage:hover,
.launch-card:hover,
.faq-item:hover,
.preview-thumb:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-hover);
  box-shadow: var(--glass-shadow-hover);
}
.glass-card > *,
.product-card > *,
.feature-item > *,
.steps-list > li > *,
.testimonial > * {
  position: relative;
  z-index: 1;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass-card,
  .product-card,
  .feature-item,
  .steps-list > li,
  .testimonial,
  .stat,
  .preview-stage,
  .launch-card,
  .faq-item,
  .preview-thumb {
    background: rgba(0, 0, 0, 0.78);
  }
}

/* ── Section liquid blobs ── */
.section-liquid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.section-liquid-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  will-change: transform;
  animation: liquidDrift 22s var(--ease) infinite;
}
.section-liquid-blob--1 {
  top: 8%;
  left: -6%;
  width: min(52vw, 460px);
  height: min(52vw, 460px);
  background: radial-gradient(circle, rgba(0, 255, 65, 0.38) 0%, rgba(0, 255, 65, 0.08) 42%, transparent 72%);
}
.section-liquid-blob--2 {
  top: 28%;
  right: -8%;
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  background: radial-gradient(circle, rgba(120, 255, 180, 0.24) 0%, rgba(0, 200, 90, 0.08) 45%, transparent 70%);
  animation-delay: -7s;
  animation-duration: 26s;
}
.section-liquid-blob--3 {
  bottom: -12%;
  left: 32%;
  width: min(56vw, 520px);
  height: min(40vw, 360px);
  background: radial-gradient(ellipse, rgba(0, 255, 65, 0.2) 0%, rgba(255, 255, 255, 0.03) 38%, transparent 72%);
  animation-delay: -14s;
  animation-duration: 30s;
}
@keyframes liquidDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33% { transform: translate3d(4%, -6%, 0) scale(1.06); }
  66% { transform: translate3d(-5%, 4%, 0) scale(0.96); }
}
.section-has-liquid {
  position: relative;
  overflow: hidden;
}
.section-has-liquid > .container {
  position: relative;
  z-index: 1;
}

/* ── Global background art ── */
.bg-art {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.bg-art-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.shape-3d {
  position: absolute;
  border: 1px solid rgba(0, 255, 65, 0.14);
  background: linear-gradient(135deg, rgba(0,255,65,0.06), transparent);
  animation: shapeFloat 18s var(--ease) infinite;
}
.shape-3d--1 {
  width: 100px;
  height: 100px;
  top: 18%;
  left: 8%;
  border-radius: 20px;
  transform: rotateX(55deg) rotateZ(35deg);
  animation-delay: 0s;
}
.shape-3d--2 {
  width: 72px;
  height: 72px;
  bottom: 22%;
  right: 10%;
  border-radius: 50%;
  animation-delay: -6s;
  animation-duration: 22s;
}
.shape-3d--ring {
  width: 200px;
  height: 200px;
  top: 55%;
  left: -4%;
  border-radius: 50%;
  border-width: 1px;
  background: transparent;
  box-shadow: inset 0 0 40px rgba(0,255,65,0.04);
  animation-duration: 26s;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: orbDrift 14s ease-in-out infinite;
}
.orb--1 {
  width: 280px;
  height: 280px;
  top: 10%;
  right: 5%;
  background: rgba(0,255,65,0.07);
}
.orb--2 {
  width: 220px;
  height: 220px;
  bottom: 15%;
  left: 20%;
  background: rgba(0,255,65,0.05);
  animation-delay: -7s;
}
@keyframes shapeFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotateX(55deg) rotateZ(35deg); opacity: 0.5; }
  50% { transform: translate3d(0, -24px, 0) rotateX(50deg) rotateZ(42deg); opacity: 0.85; }
}
@keyframes orbDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(20px, -30px, 0) scale(1.08); }
}
main, .site-nav, .site-footer { position: relative; z-index: 1; }

/* ── Nav ── */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: var(--nav-h);
  transition: background 0.35s var(--ease), border-color 0.35s, backdrop-filter 0.35s;
}
.site-nav.scrolled {
  background: rgba(3, 3, 4, 0.75);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  box-shadow:
    inset 0 1px 0 var(--border-glow),
    0 8px 32px -16px rgba(0, 255, 65, 0.06);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex-shrink: 1; }
.brand img { width: 38px; height: 38px; filter: drop-shadow(0 0 12px var(--green-glow)); }
.brand span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--green);
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-mobile-only { display: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  transition: transform 0.2s var(--ease), box-shadow 0.25s, background 0.25s;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--green);
  color: #001408;
  box-shadow: 0 0 40px -8px var(--green-glow);
}
.btn-primary:hover { box-shadow: 0 0 56px -4px var(--green-glow); }
.btn-ghost {
  border: 1px solid rgba(0, 0, 0, 0.9);
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(0, 255, 65, 0.04),
    0 0 24px -12px var(--ambient-glow-soft);
}
.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(0, 255, 65, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(0, 255, 65, 0.06),
    0 0 36px -8px var(--ambient-glow);
}

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; flex-shrink: 0; margin-left: 2px; }
.menu-toggle span { width: 20px; height: 1.5px; background: var(--text); }

/* ── Hero parallax ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-layers { position: absolute; inset: 0; }
.hero-layer {
  position: absolute;
  inset: -15% -5%;
  will-change: transform;
}
.hero-banner {
  inset: 0;
  opacity: 0.06;
  filter: saturate(0.4) blur(2px);
}
.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.hero-frames {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transform: translate3d(var(--frame-x, 0), var(--frame-y, 0), 0);
  transition: transform 0.4s var(--ease);
}
.hero-frame {
  position: absolute;
  border-radius: 32px;
  border: 1px solid rgba(0, 255, 65, 0.12);
  background:
    linear-gradient(135deg, rgba(0, 255, 65, 0.05) 0%, transparent 48%),
    linear-gradient(315deg, rgba(0, 255, 65, 0.04) 0%, transparent 44%);
  box-shadow:
    inset 0 1px 0 rgba(0, 255, 65, 0.06),
    0 0 100px rgba(0, 255, 65, 0.04);
  animation: frameDrift 16s var(--ease) infinite;
  transform-origin: center center;
}
.hero-frame--1 { width: min(58vw, 680px); height: min(44vh, 380px); animation-delay: 0s; opacity: 0.65; }
.hero-frame--2 { width: min(70vw, 840px); height: min(54vh, 460px); animation-delay: -3.2s; opacity: 0.5; }
.hero-frame--3 { width: min(82vw, 980px); height: min(64vh, 540px); animation-delay: -6.4s; opacity: 0.38; }
.hero-frame--4 { width: min(94vw, 1120px); height: min(74vh, 620px); animation-delay: -9.6s; opacity: 0.26; }
.hero-frame--5 { width: min(106vw, 1260px); height: min(84vh, 700px); animation-delay: -12.8s; opacity: 0.16; }
.hero-corner {
  position: absolute;
  width: min(55vw, 640px);
  height: min(55vh, 520px);
  pointer-events: none;
  opacity: 0.35;
  animation: cornerPulse 10s ease-in-out infinite;
}
.hero-corner--bl {
  bottom: -8%;
  left: -6%;
  background:
    linear-gradient(45deg, rgba(0, 255, 65, 0.12) 0%, transparent 55%),
    linear-gradient(to top, rgba(0, 255, 65, 0.06), transparent 70%);
  mask-image: linear-gradient(135deg, black 20%, transparent 72%);
}
.hero-corner--tr {
  top: -6%;
  right: -4%;
  animation-delay: -5s;
  background:
    linear-gradient(225deg, rgba(0, 255, 65, 0.1) 0%, transparent 55%),
    linear-gradient(to bottom, rgba(0, 255, 65, 0.05), transparent 70%);
  mask-image: linear-gradient(315deg, black 20%, transparent 72%);
}
@keyframes frameDrift {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    border-color: rgba(0, 255, 65, 0.08);
  }
  50% {
    transform: translate3d(0, -10px, 0) scale(1.015);
    border-color: rgba(0, 255, 65, 0.16);
  }
}
@keyframes cornerPulse {
  0%, 100% { opacity: 0.28; transform: scale(1); }
  50% { opacity: 0.42; transform: scale(1.04); }
}
.hero-layer.gradient {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3,3,4,0.35) 0%, rgba(3,3,4,0.72) 50%, var(--bg) 100%),
    radial-gradient(ellipse 55% 45% at 50% 18%, rgba(0,255,65,0.08), transparent 62%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-h) + var(--gutter)) 0 calc(var(--gutter) + 48px);
  width: 100%;
}
.hero-content.container {
  width: min(100% - var(--gutter) * 2, 1180px);
  margin-inline: auto;
}
.hero--center {
  min-height: 100vh;
  min-height: 100svh;
}
.hero-content--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(40px, 6vw, 64px);
}
.hero-content--center .hero-copy {
  max-width: 680px;
  margin: 0 auto;
}
.hero-logo-wrap {
  position: relative;
  width: min(280px, 52vw);
  height: min(280px, 52vw);
  margin: 0 auto 8px;
}
.hero-mark-fallback {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 42%;
  height: 42%;
  object-fit: contain;
  filter: drop-shadow(0 0 20px var(--green-glow));
  opacity: 0.35;
  pointer-events: none;
  transition: opacity 0.6s var(--ease);
}
.hero-logo-wrap.has-particles .hero-mark-fallback {
  opacity: 0;
}
.logo-particles {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  cursor: crosshair;
}
@media (pointer: coarse) {
  .logo-particles {
    pointer-events: none;
    touch-action: pan-y;
  }
}
.hero--center h1 {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-transform: none;
  font-weight: 400;
}
.hero--center h1 em {
  font-style: italic;
  color: var(--green);
  text-shadow: 0 0 40px var(--green-glow);
}
.hero-eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}
.hero--center .hero-lead {
  margin: 0 auto 28px;
  max-width: 540px;
  font-size: 1.05rem;
}
.hero-content--center .hero-cta {
  justify-content: center;
  margin-bottom: 20px;
}
.hero-proof {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--subtle);
}
.hero-product {
  width: min(100%, 980px);
  margin-inline: auto;
}
.hero-product-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,255,65,0.18);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.5),
    0 48px 120px -40px rgba(0,0,0,0.95),
    0 0 100px -30px var(--green-glow);
}
.hero-product-frame img { width: 100%; height: auto; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  padding-inline: clamp(8px, 2vw, 32px);
}
.hero-copy { max-width: 540px; padding-right: clamp(0px, 3vw, 24px); }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}
.hero-tag::before {
  content: "";
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--green), transparent);
}
.hero h1 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.hero h1 em {
  font-style: normal;
  color: var(--green);
  text-shadow: 0 0 40px var(--green-glow);
}
.hero.hero--center h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-transform: none;
  font-weight: 400;
}
.hero.hero--center h1 em {
  font-style: italic;
}
.hero-lead {
  margin: 0 0 32px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  box-shadow: inset 0 1px 0 var(--border-glow);
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
}
.hero-stats div span { font-size: 0.8rem; color: var(--subtle); }

.hero-preview {
  position: relative;
  perspective: 1200px;
  padding: clamp(12px, 2vw, 28px);
}
.hero-preview-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.95);
  box-shadow: var(--frame-ambient);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.6s var(--ease);
  will-change: transform;
}
.hero-preview-frame:hover {
  transform: rotateY(-4deg) rotateX(2deg) translateY(-6px);
}
.hero-preview-frame img { width: 100%; height: auto; }
.hero-preview-glow {
  position: absolute;
  inset: 12% -14% -18%;
  background:
    radial-gradient(ellipse 85% 65% at 50% 42%, rgba(0, 255, 65, 0.24), transparent 68%),
    radial-gradient(ellipse 55% 45% at 28% 58%, rgba(0, 220, 90, 0.12), transparent 72%);
  filter: blur(36px);
  z-index: -1;
  animation: ambientPulse 9s ease-in-out infinite;
}
@keyframes ambientPulse {
  0%, 100% { opacity: 0.78; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--subtle);
  animation: bob 2.4s ease-in-out infinite;
}
.scroll-hint span {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--green), transparent);
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── Marquee ── */
.marquee {
  padding: 20px 0;
  border-block: 1px solid var(--border);
  box-shadow:
    inset 0 1px 0 var(--border-glow),
    inset 0 -1px 0 var(--border-glow);
  background: var(--bg-2);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-track span {
  padding: 0 28px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--subtle);
  white-space: nowrap;
}
.marquee-track span::after {
  content: "·";
  margin-left: 28px;
  color: var(--green);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Showcase scroll sections ── */
.showcase {
  position: relative;
}
.showcase-slide {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--section-y) 0;
  overflow: hidden;
}
.showcase-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 70% 50%, rgba(0,255,65,0.06), transparent);
  pointer-events: none;
}
.showcase-inner {
  position: relative;
  z-index: 1;
  width: min(100% - var(--gutter) * 2, 1320px);
  margin-inline: auto;
  padding-inline: clamp(8px, 2vw, 24px);
}
.showcase-img-wrap {
  position: relative;
  will-change: transform;
}
.showcase-img-wrap img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.94);
  box-shadow: var(--frame-ambient);
}
.showcase-index {
  position: absolute;
  top: 24px;
  left: 24px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--green);
  opacity: 0.8;
}

/* ── Products strip ── */
.products {
  padding: var(--section-y) 0;
  background: linear-gradient(180deg, rgba(3, 3, 4, 0.55), rgba(7, 8, 9, 0.82));
}
.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.section-title {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: -0.02em;
  text-transform: none;
  font-weight: 400;
}
.section-lead {
  margin: 0 0 48px;
  max-width: 560px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.02rem;
}
.products .section-lead { margin-bottom: 56px; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}
.product-card {
  border-radius: var(--glass-radius);
  padding: clamp(28px, 4vw, 40px) clamp(24px, 3vw, 32px);
}
.product-card:hover {
  transform: translateY(-8px) scale(1.012);
}
.product-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.96);
}
.product-tagline {
  margin: 0 0 18px;
  color: rgba(0, 255, 65, 0.92);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.product-card ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.product-card li {
  position: relative;
  padding-left: 16px;
  color: rgba(245, 245, 247, 0.62);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.55;
}
.product-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.7;
}
.product-card code {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 65, 0.18);
  background: rgba(0, 255, 65, 0.1);
  color: var(--green);
  font-size: 0.86em;
}
.product-card p { margin: 0 0 20px; color: rgba(245, 245, 247, 0.58); font-size: 0.92rem; line-height: 1.6; }
.product-card a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green);
  transition: opacity 0.25s, text-shadow 0.25s;
}
.product-card a:hover {
  opacity: 0.88;
  text-shadow: 0 0 20px var(--green-glow);
}

/* ── Features grid ── */
.features {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--border);
  box-shadow: inset 0 1px 0 var(--border-glow);
  background: linear-gradient(180deg, rgba(7, 8, 9, 0.72), rgba(3, 3, 4, 0.88));
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}
.feature-item {
  border-radius: var(--glass-radius-sm);
  padding: clamp(26px, 3vw, 32px) clamp(22px, 2.5vw, 28px);
}
.feature-item strong {
  display: block;
  margin-bottom: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.94);
}
.feature-item p {
  margin: 0;
  color: rgba(245, 245, 247, 0.58);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.6;
}

/* ── CTA band ── */
.cta-band {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--border);
  box-shadow: inset 0 1px 0 var(--border-glow);
}
.cta-band-inner {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
}
.cta-band-inner h2 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  text-transform: none;
  font-weight: 400;
}
.cta-band-inner > p {
  margin: 0 0 28px;
  color: var(--muted);
  line-height: 1.65;
}
.cta-band-inner .hero-cta { justify-content: center; margin-bottom: 0; }

/* ── Stats strip ── */
.stats-strip {
  padding: 32px 0;
  border-block: 1px solid var(--border);
  box-shadow:
    inset 0 1px 0 var(--border-glow),
    inset 0 -1px 0 var(--border-glow);
  background: rgba(7, 8, 9, 0.45);
  backdrop-filter: blur(12px);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 20px);
}
.stat {
  padding: clamp(20px, 2.5vw, 28px) clamp(14px, 2vw, 18px);
  border-radius: var(--glass-radius-xs);
  text-align: center;
}
.stat:hover {
  transform: translateY(-4px);
}
.stat strong {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  color: var(--green);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.stat span {
  font-size: 0.82rem;
  color: var(--subtle);
  line-height: 1.4;
}

/* ── Product icons ── */
.product-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.9);
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(20px) saturate(120%) brightness(0.85);
  -webkit-backdrop-filter: blur(20px) saturate(120%) brightness(0.85);
  box-shadow:
    inset 0 1px 0 rgba(0, 255, 65, 0.04),
    0 0 32px -14px var(--ambient-glow-soft),
    0 10px 28px -14px rgba(0, 0, 0, 0.65);
}
.product-icon svg {
  display: block;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--green);
  filter: drop-shadow(0 0 8px var(--green-glow));
}
.product-card:nth-child(1) .product-icon svg { filter: drop-shadow(0 0 10px var(--green-glow)); }

/* ── Preview hub (smart screenshots) ── */
.preview {
  position: relative;
  padding: var(--section-y) 0;
  border-top: 1px solid var(--border);
  box-shadow: inset 0 1px 0 var(--border-glow);
  overflow: hidden;
}
.section-art {
  position: absolute;
  pointer-events: none;
  opacity: 0.5;
}
.section-art--preview {
  top: 10%;
  right: -8%;
  width: min(50vw, 420px);
}
.section-art-svg { width: 100%; height: auto; animation: spinSlow 80s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.preview-stage {
  margin-top: 48px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--glass-radius);
}
.preview-tabs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.88);
  box-shadow: inset 0 -1px 0 var(--border-glow);
}
.preview-tab {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s, backdrop-filter 0.2s;
}
.preview-tab:hover { color: var(--text); }
.preview-tab.is-active {
  color: var(--green);
  border-color: rgba(0, 0, 0, 0.85);
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px) saturate(120%) brightness(0.85);
  -webkit-backdrop-filter: blur(16px) saturate(120%) brightness(0.85);
  box-shadow:
    inset 0 1px 0 rgba(0, 255, 65, 0.06),
    0 0 28px -10px var(--ambient-glow);
}
.preview-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
.preview-kicker {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}
.preview-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.preview-desc {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.94rem;
}
.preview-bullets {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.preview-bullets li {
  position: relative;
  padding-left: 14px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}
.preview-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
}
.preview-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--green);
}
.preview-frame-wrap {
  position: relative;
  min-width: 0;
}
.preview-frame-glow {
  position: absolute;
  inset: -6% -10% -14%;
  background:
    radial-gradient(ellipse 88% 72% at 50% 44%, rgba(0, 255, 65, 0.26), transparent 66%),
    radial-gradient(ellipse 50% 42% at 22% 62%, rgba(0, 210, 85, 0.14), transparent 70%),
    radial-gradient(ellipse 45% 38% at 78% 38%, rgba(0, 255, 100, 0.1), transparent 72%);
  filter: blur(34px);
  z-index: 0;
  animation: ambientPulse 10s ease-in-out infinite;
}
.preview-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.96);
  box-shadow: var(--frame-ambient);
  background: rgba(0, 0, 0, 0.55);
  transition: opacity 0.35s var(--ease), box-shadow 0.45s var(--ease);
}
.preview-frame:hover {
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.92),
    0 0 88px -6px var(--ambient-glow),
    0 0 140px -24px var(--ambient-glow-soft),
    0 36px 88px -32px rgba(0, 0, 0, 0.95);
}
.preview-frame.is-fading { opacity: 0.4; }
.preview-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  display: block;
}
.preview-filmstrip {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  box-shadow: inset 0 1px 0 var(--border-glow);
}
.preview-thumb {
  flex: 0 0 auto;
  width: 152px;
  padding: 0;
  border-radius: 14px;
  opacity: 0.55;
}
.preview-thumb:hover {
  opacity: 0.85;
  transform: translateY(-4px);
}
.preview-thumb.is-active {
  opacity: 1;
  border-color: rgba(0, 0, 0, 0.85);
  box-shadow:
    inset 0 1px 0 rgba(0, 255, 65, 0.05),
    0 0 32px -8px var(--ambient-glow);
}
.preview-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
  display: block;
  position: relative;
  z-index: 1;
}
.preview-thumb span {
  display: block;
  padding: 6px 8px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--subtle);
  background: rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  z-index: 1;
}

/* ── Feature numbers ── */
.feature-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--green);
  opacity: 0.7;
  margin-bottom: 12px;
}

/* ── Steps ── */
.steps {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--border);
  box-shadow: inset 0 1px 0 var(--border-glow);
  background: linear-gradient(180deg, rgba(3, 3, 4, 0.88), rgba(7, 8, 9, 0.72));
}
.steps-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
  counter-reset: step;
}
.steps-list > li {
  border-radius: var(--glass-radius-sm);
  padding: clamp(26px, 3vw, 32px) clamp(22px, 2.5vw, 28px);
  counter-increment: step;
}
.steps-list > li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 12px;
  background: none;
  pointer-events: auto;
}
.steps-list strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.94);
}
.steps-list p {
  margin: 0;
  color: rgba(245, 245, 247, 0.58);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.6;
}
.steps-list code {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 65, 0.18);
  background: rgba(0, 255, 65, 0.1);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.88em;
}

.faq-aside {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 260px;
}

/* ── Terminal showcase ── */
.terminal-showcase {
  padding-top: var(--section-y);
  border-top: 1px solid var(--border);
  box-shadow: inset 0 1px 0 var(--border-glow);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
}
.terminal-showcase-head {
  text-align: center;
  max-width: 640px;
  margin-bottom: clamp(32px, 5vw, 56px);
  padding-inline: clamp(8px, 2vw, 24px);
}
.terminal-showcase-head .section-title { margin-bottom: 16px; }
.terminal-showcase-lead {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.02rem;
}
.terminal-slide .showcase-inner {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.terminal-slide:nth-child(even) .showcase-inner {
  grid-template-columns: 1fr minmax(280px, 360px);
}
.terminal-slide:nth-child(even) .showcase-copy { order: 2; }
.terminal-slide:nth-child(even) .showcase-img-wrap { order: 1; }
.terminal-slide--alt .showcase-inner {
  grid-template-columns: 1fr minmax(280px, 360px);
}
.terminal-slide--alt .showcase-copy { order: 2; }
.terminal-slide--alt .showcase-img-wrap { order: 1; }
.showcase-copy h3 {
  margin: 12px 0 14px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.showcase-copy p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}
.showcase-copy .showcase-index {
  position: static;
  display: block;
  margin-bottom: 8px;
}
.showcase-head {
  text-align: center;
  padding: var(--section-y) 0 clamp(24px, 4vw, 40px);
}
.showcase-head .section-title { margin-bottom: 0; }

/* ── Bot showcase ── */
.bot-showcase {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--border);
  box-shadow: inset 0 1px 0 var(--border-glow);
  background: var(--bg-2);
}
.bot-showcase-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  padding-inline: clamp(8px, 2vw, 24px);
}
.bot-showcase-head .section-title { margin-bottom: 16px; }
.bot-showcase-lead {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.02rem;
}
.bot-intro {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.bot-intro-copy { display: grid; gap: 28px; align-content: center; }
.bot-ui-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-bottom: clamp(24px, 4vw, 40px);
}
.bot-bottom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(24px, 4vw, 40px);
}
.bot-shot {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.92);
  background: rgba(0, 0, 0, 0.35);
  box-shadow:
    0 0 48px -16px var(--ambient-glow-soft),
    0 24px 64px -32px rgba(0, 0, 0, 0.85);
  transition: transform 0.4s var(--ease), box-shadow 0.35s var(--ease);
}
.bot-shot:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 64px -12px var(--ambient-glow),
    0 28px 72px -28px rgba(0, 0, 0, 0.9);
}
.bot-shot img {
  width: 100%;
  height: auto;
  display: block;
}
.bot-shot figcaption {
  padding: 12px 14px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--subtle);
  border-top: 1px solid rgba(0, 0, 0, 0.85);
  box-shadow: inset 0 1px 0 var(--border-glow);
}
.bot-shot--hero img { max-height: 520px; object-fit: cover; object-position: top; }
.bot-shot--wide { border: none; background: transparent; box-shadow: none; }
.bot-shot--wide img {
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.94);
  box-shadow: var(--frame-ambient);
}
.bot-slide .showcase-inner {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.bot-slide--alt .showcase-inner {
  grid-template-columns: 1fr minmax(260px, 340px);
}
.bot-slide--alt .showcase-copy { order: 2; }
.bot-slide--alt .bot-shot--wide { order: 1; }
.bot-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.bot-features li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.94rem;
}
.bot-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green-glow);
}

/* ── Launch CTA ── */
.launch-cta {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--border);
  box-shadow: inset 0 1px 0 var(--border-glow);
}
.launch-cta-inner { text-align: center; }
.launch-cta-inner h2 {
  margin: 0 0 40px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.launch-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin-inline: auto;
}
.launch-card {
  border-radius: var(--glass-radius-sm);
  padding: clamp(26px, 3vw, 32px) clamp(22px, 2.5vw, 28px);
}
.launch-card:hover {
  transform: translateY(-6px);
}
.launch-card span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 8px;
}
.launch-card strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--green);
}

/* ── PnL parallax band ── */
.pnl-band {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.pnl-band-bg {
  position: absolute;
  inset: -20% 0;
  background: radial-gradient(ellipse at center, rgba(0,255,65,0.08), transparent 60%);
  will-change: transform;
}
.pnl-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}
.pnl-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.92);
  box-shadow: var(--frame-ambient);
  transition: transform 0.5s var(--ease), box-shadow 0.45s var(--ease);
  will-change: transform;
}
.pnl-card:hover {
  transform: scale(1.02);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.9),
    0 0 72px -8px var(--ambient-glow),
    0 0 120px -24px var(--ambient-glow-soft),
    0 32px 80px -28px rgba(0, 0, 0, 0.92);
}
.pnl-card img { width: 100%; }
.pnl-copy h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pnl-copy p { margin: 0 0 24px; color: var(--muted); line-height: 1.65; }

/* ── Terminal CTA with gif ── */
.terminal-cta {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  box-shadow: inset 0 1px 0 var(--border-glow);
}
.terminal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.terminal-grid img, .terminal-grid video {
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.94);
  box-shadow: var(--frame-ambient);
}

/* ── FAQ ── */
.faq { padding: var(--section-y) 0; }
.faq-grid { display: grid; grid-template-columns: 300px 1fr; gap: clamp(40px, 6vw, 72px); }
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  border-radius: var(--glass-radius-sm);
  border-bottom: none;
}
.faq-item:hover {
  transform: translateY(-3px);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
}
.faq-q svg { transition: transform 0.25s var(--ease); opacity: 0.5; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-a-inner { padding: 0 24px 22px; color: rgba(245, 245, 247, 0.58); line-height: 1.65; font-size: 0.94rem; }

/* ── Footer ── */
.site-footer {
  padding: clamp(56px, 8vw, 80px) 0 32px;
  border-top: 1px solid var(--border);
  box-shadow: inset 0 1px 0 var(--border-glow);
  background: #020203;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
.footer-grid p { color: var(--subtle); font-size: 0.875rem; line-height: 1.6; max-width: 280px; }
.footer-col h4 {
  margin: 0 0 14px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--subtle);
}
.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  box-shadow: inset 0 1px 0 var(--border-glow);
  font-size: 0.8rem;
  color: var(--subtle);
}

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Story scroll ── */
.story-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 300;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.story-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--green), rgba(0, 255, 65, 0.4));
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}
.story-rail {
  position: fixed;
  left: clamp(12px, 2vw, 28px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 9.5rem;
}
.story-rail-link {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--subtle);
  transition: color 0.25s, opacity 0.25s;
  opacity: 0.38;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.story-rail-link:hover,
.story-rail-link.is-active {
  color: var(--green);
  opacity: 1;
}
.story-rail-text { display: block; }
.story-rail-link:not(.is-active) .story-rail-text {
  opacity: 0.55;
}
.story-rail-link.is-active .story-rail-text {
  font-weight: 700;
}
.story-chapter {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.hero-content--center > .story-chapter {
  align-self: flex-start;
  width: 100%;
  text-align: left;
}
.story-chapter.story-in {
  opacity: 0.75;
  transform: translateY(0);
}
.story-section {
  --story-visible: 0;
  --story-y: 0px;
  position: relative;
}
.story-section:not(.hero) .section-title {
  transform: translate3d(0, calc(var(--story-y) * 0.35), 0);
  opacity: calc(0.35 + var(--story-visible) * 0.65);
  transition: opacity 0.15s linear;
}
.story-block {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.story-block.story-in {
  opacity: 1;
  transform: translateY(0);
}
.products-grid .story-block:nth-child(1) { transition-delay: 0s; }
.products-grid .story-block:nth-child(2) { transition-delay: 0.12s; }
.products-grid .story-block:nth-child(3) { transition-delay: 0.24s; }

/* ── Testimonials ── */
.testimonials {
  position: relative;
  overflow: hidden;
  padding: var(--section-y) 0;
  border-top: 1px solid var(--border);
  box-shadow: inset 0 1px 0 var(--border-glow);
  background: linear-gradient(180deg, rgba(3,3,4,0.55), rgba(3,3,4,0.82));
}
.testimonials .container {
  position: relative;
  z-index: 2;
}
.testimonials-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg);
}
.testimonials-bg-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 3, 4, 0.58) 0%, rgba(3, 3, 4, 0.22) 46%, rgba(3, 3, 4, 0.62) 100%),
    radial-gradient(ellipse 85% 65% at 50% 38%, rgba(0, 255, 65, 0.05), transparent 72%);
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}
.testimonials.has-video-bg .testimonials-bg-scrim {
  opacity: 1;
}
.testimonials-bg-vid {
  position: absolute;
  top: 50%;
  left: 50%;
  /* 16:9 cover — fills section edge-to-edge, crops letterbox bars */
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78vh;
  min-height: 100%;
  max-width: none;
  border: 0;
  opacity: 0;
  z-index: 0;
  transform: translate(-50%, -50%);
  filter: saturate(0.5) contrast(1.08) brightness(0.72);
  transition: opacity 1.4s var(--ease);
  pointer-events: none !important;
  will-change: opacity;
}
.testimonials-bg-vid.is-active {
  opacity: 0.58;
  z-index: 1;
}
.testimonials-bg-vid.is-leaving {
  opacity: 0;
  z-index: 0;
}
.testimonials.has-video-bg {
  background: rgba(3, 3, 4, 0.35);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 20px);
}
.testimonial {
  margin: 0;
  padding: clamp(22px, 3vw, 28px);
  border-radius: var(--glass-radius-sm);
}
.testimonials.has-video-bg .testimonial {
  background: rgba(0, 0, 0, 0.48);
  border-color: rgba(0, 0, 0, 0.75);
  box-shadow:
    inset 0 1px 0 rgba(0, 255, 65, 0.05),
    0 0 40px -16px var(--ambient-glow-soft);
}
.testimonial:hover {
  transform: translateY(-5px);
}
.testimonial p {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.65;
  font-weight: 600;
}
.testimonial footer {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.testimonial footer strong {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}
.testimonial footer span {
  font-size: 0.75rem;
  color: var(--subtle);
}

/* ── Perf: skip paint for off-screen sections ── */
.defer-paint {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}
.perf-lite .marquee-track { animation-duration: 48s; }
.perf-lite .section-art-svg { animation: none; }
.perf-lite .section-liquid-blob { animation: none; filter: blur(48px); }
.perf-lite .glass-card,
.perf-lite .product-card,
.perf-lite .feature-item,
.perf-lite .steps-list > li,
.perf-lite .testimonial,
.perf-lite .stat,
.perf-lite .preview-stage,
.perf-lite .launch-card,
.perf-lite .faq-item,
.perf-lite .preview-thumb {
  backdrop-filter: blur(16px) brightness(0.88);
  -webkit-backdrop-filter: blur(16px) brightness(0.88);
}
.perf-lite .glass-card:hover,
.perf-lite .product-card:hover,
.perf-lite .feature-item:hover,
.perf-lite .steps-list > li:hover,
.perf-lite .testimonial:hover,
.perf-lite .stat:hover,
.perf-lite .preview-stage:hover,
.perf-lite .launch-card:hover,
.perf-lite .faq-item:hover,
.perf-lite .preview-thumb:hover {
  transform: none;
}

.feature-item.is-visible,
.feature-item.reveal.is-visible {
  animation: featureGlow 0.6s var(--ease) both;
}
@keyframes featureGlow {
  from { box-shadow: 0 0 0 rgba(0,255,65,0); }
  to { box-shadow: 0 0 0 rgba(0,255,65,0); }
}
.feature-item.reveal.is-visible .feature-num {
  color: var(--green);
  text-shadow: 0 0 24px var(--green-glow);
  transition: color 0.4s, text-shadow 0.4s;
}

/* ── Legal ── */
.legal-page { padding: calc(var(--nav-h) + 48px) 0 80px; max-width: 720px; margin-inline: auto; width: min(100% - 48px, 720px); }
.legal-page h1 { font-family: var(--font-display); letter-spacing: 0.04em; }
.legal-page h2 { margin-top: 32px; }
.legal-page p, .legal-page li { color: var(--muted); line-height: 1.65; }

@media (max-width: 960px) {
  html { scroll-behavior: auto; }
  main { touch-action: pan-y; }

  .section-has-liquid {
    overflow-x: clip;
    overflow-y: visible;
  }

  /* iOS Safari: backdrop-filter on large touch targets traps vertical scroll */
  .glass-card,
  .product-card,
  .feature-item,
  .steps-list > li,
  .testimonial,
  .stat,
  .preview-stage,
  .launch-card,
  .faq-item,
  .preview-thumb,
  .site-nav.scrolled,
  .nav-links {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(0, 0, 0, 0.78);
    touch-action: pan-y;
  }

  .preview-filmstrip {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding-bottom: 6px;
    margin-inline: calc(var(--gutter) * -0.35);
    padding-inline: calc(var(--gutter) * 0.35);
  }
  .preview-thumb { scroll-snap-align: start; }

  /* Voices montage — brighter on phone; cards stay readable but more translucent */
  .testimonials.has-video-bg .testimonials-bg-scrim {
    background:
      linear-gradient(180deg, rgba(3, 3, 4, 0.48) 0%, rgba(3, 3, 4, 0.12) 44%, rgba(3, 3, 4, 0.5) 100%),
      radial-gradient(ellipse 100% 80% at 50% 32%, rgba(0, 255, 65, 0.04), transparent 75%);
  }
  .testimonials-bg-vid.is-active {
    opacity: 0.78;
    filter: saturate(0.55) contrast(1.12) brightness(0.84);
  }
  .testimonials.has-video-bg .testimonial {
    background: rgba(0, 0, 0, 0.42);
  }

  .story-rail { display: none; }
  .testimonials-grid,
  .hero-grid, .products-grid, .features-grid, .stats-grid, .preview-layout, .steps-list, .pnl-grid, .terminal-grid, .faq-grid, .footer-grid,
  .launch-cta-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 auto;
    z-index: 190;
    flex-direction: column;
    gap: 4px;
    padding: 20px 24px 24px;
    background: rgba(3,3,4,0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: inset 0 -1px 0 var(--border-glow);
  }
  .nav-links a {
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.75);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links.open { display: flex; }
  .nav-discord-desktop { display: none; }
  .nav-mobile-only { display: block; }
  .nav-inner { gap: 10px; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn-primary {
    padding: 9px 14px;
    font-size: 0.78rem;
    box-shadow: 0 0 24px -10px var(--green-glow);
  }
  .brand img { width: 32px; height: 32px; }
  .brand span {
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .menu-toggle { display: flex; }
  .showcase-slide { min-height: auto; padding: 48px 0; }
}

@media (max-width: 420px) {
  :root { --nav-h: 64px; }
  .brand span { display: none; }
  .nav-actions .nav-launch { padding: 8px 12px; font-size: 0.72rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-frame, .hero-corner, .shape-3d, .orb, .section-art-svg { animation: none; }
}
