:root {
  --bg-0: #04060d;
  --bg-1: #080c17;
  --bg-2: #0d1322;
  --bg-3: #131b30;
  --bg-4: #1c2542;
  --line: #1c2440;
  --line-soft: #131a2e;
  --ink-0: #f4f6fb;
  --ink-1: #c5cbdb;
  --ink-2: #8089a3;
  --ink-3: #545d78;
  --ink-4: #353c54;
  --accent: #5b6cff;
  --accent-2: #7a82ff;
  --accent-bright: #8b95ff;
  --accent-cyan: #5fb6ff;
  --accent-glow: rgba(91, 108, 255, .55);
  --accent-glow-soft: rgba(91, 108, 255, .18);
  --amber: #ffc972;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg-0); color: var(--ink-0); font-family: 'Inter', system-ui, -apple-system, sans-serif; font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; cursor: default; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }

/* ============ ANIMATIONS ============ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulseDot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(1.3); } }
@keyframes drift { 0% { transform: translate3d(0,0,0); } 100% { transform: translate3d(0,-100vh,0); } }
@keyframes rayFloat { 0%,100% { opacity: .15; transform: scaleY(1); } 50% { opacity: .35; transform: scaleY(1.1); } }
@keyframes shimmerText {
  0% { background-position: -200% 50%; }
  100% { background-position: 200% 50%; }
}
@keyframes nudgeArrow { 0%,100% { transform: translateX(0); } 50% { transform: translateX(3px); } }
@keyframes spin { to { transform: rotate(360deg); } }

.reveal { opacity: 0; animation: fadeUp .8s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0s); }
.reveal-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.reveal-on-scroll.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal, .reveal-on-scroll { opacity: 1 !important; transform: none !important; }
}

/* ============ CURSOR AURORA ============ */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 600px; height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(91,108,255,.18) 0%, rgba(91,108,255,.05) 30%, transparent 60%);
  transform: translate(-50%, -50%);
  transition: opacity .3s;
  mix-blend-mode: screen;
  filter: blur(20px);
  will-change: transform;
}

/* ============ TOP BAR ============ */
.topbar { position: sticky; top: 0; z-index: 50; padding: 18px 0; background: rgba(4,6,13,.7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1280px; margin: 0 auto; padding: 0 40px; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.01em; font-size: 18px; color: var(--ink-0); }
.brand-mark { width: 30px; height: 30px; border-radius: 7px; background: linear-gradient(135deg, var(--accent), #3a47d4); display: grid; place-items: center; color: white; box-shadow: 0 0 18px rgba(91, 108, 255, .45), inset 0 1px 0 rgba(255,255,255,.2); }
.tag-soon { padding: 3px 8px; background: rgba(91,108,255,.12); border: 1px solid rgba(91,108,255,.3); color: var(--accent-bright); font-size: 10px; letter-spacing: .14em; font-family: 'JetBrains Mono', monospace; border-radius: 4px; margin-left: 4px; }
.nav { display: flex; gap: 32px; font-size: 14px; color: var(--ink-1); font-weight: 500; }
.nav a { position: relative; transition: color .15s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--accent-bright); transform: scaleX(0); transform-origin: left; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.nav a:hover { color: var(--ink-0); }
.nav a:hover::after { transform: scaleX(1); }
.top-actions { display: flex; align-items: center; gap: 18px; }

/* ============ BUTTONS ============ */
.btn-primary {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 8px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: white; font-weight: 600; font-size: 14px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 8px 24px -8px var(--accent-glow), 0 1px 0 rgba(255,255,255,.18) inset;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s, filter .15s;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary > * { position: relative; z-index: 2; }
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 14px 32px -8px var(--accent-glow), 0 1px 0 rgba(255,255,255,.2) inset; }
.btn-primary:hover .arrow { animation: nudgeArrow 1s ease-in-out infinite; }
.btn-primary.lg { padding: 14px 26px; font-size: 15px; border-radius: 10px; }

/* Mouse-following spotlight inside any .spotlight element */
.spotlight {
  --mx: 50%; --my: 50%;
}
.spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(180px circle at var(--mx) var(--my), rgba(255,255,255,.55), rgba(255,255,255,.15) 25%, transparent 55%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}
.spotlight:hover::before { opacity: 1; }

/* Spotlight on cards = subtle radial highlight that follows cursor */
.spotlight-card {
  position: relative;
  isolation: isolate;
  --mx: 50%; --my: 50%;
}
.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(91,108,255,.18), transparent 50%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
}
.spotlight-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(500px circle at var(--mx) var(--my), rgba(91,108,255,.6), transparent 40%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
  -webkit-mask: linear-gradient(black, black) content-box, linear-gradient(black, black);
  -webkit-mask-composite: xor;
  mask: linear-gradient(black, black) content-box, linear-gradient(black, black);
  mask-composite: exclude;
  padding: 1px;
}
.spotlight-card:hover::before { opacity: 1; }
.spotlight-card:hover::after { opacity: 1; }
.spotlight-card > * { position: relative; z-index: 2; }

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

@media (min-width: 1025px) {
  .hero {
    background:
      url('assets/hero-bg.jpg') no-repeat top center,
      #04060d;
    background-size: 100% auto;
    aspect-ratio: 1536 / 1024;
    min-height: 760px;
  }
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

.hero-bg-vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4,6,13,.65) 0%, rgba(4,6,13,.35) 22%, rgba(4,6,13,.05) 35%, transparent 42%),
    linear-gradient(180deg, rgba(4,6,13,.4) 0%, rgba(4,6,13,0) 12%);
}

/* Floating particles */
.hero-particles { position: absolute; inset: 0; overflow: hidden; }
.hero-particles span {
  position: absolute;
  bottom: -20px;
  width: 2px; height: 2px;
  background: var(--accent-bright);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-bright);
  opacity: 0;
  animation: drift linear infinite;
}
.hero-particles span:nth-child(1)  { left: 8%;  animation-duration: 14s; animation-delay: 0s;   }
.hero-particles span:nth-child(2)  { left: 14%; animation-duration: 18s; animation-delay: 2s;   }
.hero-particles span:nth-child(3)  { left: 22%; animation-duration: 22s; animation-delay: 4s;   }
.hero-particles span:nth-child(4)  { left: 30%; animation-duration: 16s; animation-delay: 1s;   }
.hero-particles span:nth-child(5)  { left: 38%; animation-duration: 20s; animation-delay: 6s;   }
.hero-particles span:nth-child(6)  { left: 46%; animation-duration: 17s; animation-delay: 3s;   }
.hero-particles span:nth-child(7)  { left: 54%; animation-duration: 19s; animation-delay: 5s;   }
.hero-particles span:nth-child(8)  { left: 62%; animation-duration: 23s; animation-delay: 0s;   }
.hero-particles span:nth-child(9)  { left: 70%; animation-duration: 15s; animation-delay: 7s;   }
.hero-particles span:nth-child(10) { left: 78%; animation-duration: 21s; animation-delay: 2s;   }
.hero-particles span:nth-child(11) { left: 86%; animation-duration: 18s; animation-delay: 4s;   }
.hero-particles span:nth-child(12) { left: 92%; animation-duration: 25s; animation-delay: 1s;   }
.hero-particles span:nth-child(13) { left: 50%; animation-duration: 28s; animation-delay: 8s;   }
.hero-particles span:nth-child(14) { left: 18%; animation-duration: 26s; animation-delay: 9s;   }
.hero-particles span:nth-child(15) { left: 82%; animation-duration: 24s; animation-delay: 10s;  }
.hero-particles span { animation-name: drift, fadeIn; animation-duration: var(--d, 18s), 1s; }

/* Hero copy */
.hero-inner {
  position: relative; z-index: 5;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 40px 0;
}
.hero-copy { max-width: 540px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(13,19,34,.7);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-size: 13px; color: var(--ink-1); font-weight: 500;
  margin-bottom: 28px;
  transition: border-color .2s, background .2s, transform .2s;
}
.eyebrow:hover { border-color: rgba(91,108,255,.4); background: rgba(20,28,52,.8); transform: translateY(-1px); }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 10px var(--accent-bright); animation: pulseDot 1.8s ease-in-out infinite; }
.eyebrow strong { color: var(--ink-0); font-weight: 700; font-variant-numeric: tabular-nums; }
.eyebrow-arrow { color: var(--ink-2); transition: transform .2s; }
.eyebrow:hover .eyebrow-arrow { transform: translateX(3px); color: var(--accent-bright); }

h1 {
  font-size: 68px;
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 700;
  margin: 0 0 28px;
  color: var(--ink-0);
}
h1 .accent {
  background: linear-gradient(90deg, #8c97ff 0%, #5b6cff 25%, #b8c0ff 50%, #5b6cff 75%, #8c97ff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmerText 6s linear infinite;
}

.sub {
  font-size: 17px;
  color: var(--ink-1);
  line-height: 1.55;
  margin: 0 0 32px;
  max-width: 460px;
}

/* ============ WAITLIST FORM ============ */
.waitlist {
  display: flex; gap: 8px;
  max-width: 480px;
  padding: 6px;
  background: rgba(13,19,34,.7);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,.6), 0 0 40px -20px var(--accent-glow);
  transition: border-color .2s, box-shadow .2s;
}
.waitlist:focus-within { border-color: rgba(91,108,255,.5); box-shadow: 0 20px 60px -20px rgba(0,0,0,.6), 0 0 60px -10px var(--accent-glow); }
.waitlist-input { display: flex; align-items: center; gap: 10px; padding: 0 14px; flex: 1; color: var(--ink-3); transition: color .2s; }
.waitlist:focus-within .waitlist-input { color: var(--accent-bright); }
.waitlist input { flex: 1; padding: 12px 0; font-size: 14px; color: var(--ink-0); border: 0; background: transparent; outline: none; min-width: 0; font-family: inherit; }
.waitlist input::placeholder { color: var(--ink-3); }
.waitlist .btn-primary { border-radius: 8px; padding: 12px 20px; }

.waitlist-meta { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-size: 13px; color: var(--ink-2); flex-wrap: wrap; }
.avatars { display: flex; }
.avatars span { width: 24px; height: 24px; border-radius: 999px; border: 2px solid var(--bg-0); margin-left: -8px; font-size: 10px; font-weight: 700; display: grid; place-items: center; color: #06121d; font-family: 'JetBrains Mono', monospace; }
.avatars span:first-child { margin-left: 0; }
.avatars-more { background: var(--bg-3) !important; color: var(--ink-1) !important; font-size: 9px !important; font-weight: 600 !important; }
.meta-accent { color: var(--accent-bright); font-weight: 600; }

/* Waitlist shake on invalid */
.waitlist.shake { animation: shake .42s cubic-bezier(.36,.07,.19,.97); }
@keyframes shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(3px); }
  30%, 50%, 70% { transform: translateX(-5px); }
  40%, 60% { transform: translateX(5px); }
}

/* Topbar scrolled state */
.topbar.scrolled { background: rgba(4,6,13,.92); box-shadow: 0 8px 24px rgba(0,0,0,.4); }

/* Waitlist success state */
.waitlist.success {
  background: rgba(91,108,255,.1);
  border-color: rgba(91,108,255,.4);
}
.waitlist.success .waitlist-input,
.waitlist.success .btn-primary { display: none; }
.waitlist.success::before {
  content: '✓ You\'re on the list. We\'ll be in touch.';
  display: block;
  padding: 16px 22px;
  font-size: 14px;
  color: var(--accent-bright);
  font-weight: 600;
  text-align: center;
  width: 100%;
}

/* ============ STATS BAND ============ */
.stats-band { padding: 36px 0; background: linear-gradient(180deg, #04060d 0%, #060916 100%); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.hero-stats { display: flex; gap: 48px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.stat { display: flex; align-items: center; gap: 14px; }
.stat-ico {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(91,108,255,.18), rgba(91,108,255,.04));
  border: 1px solid rgba(91,108,255,.22);
  display: grid; place-items: center;
  color: var(--accent-bright);
  flex-shrink: 0;
  transition: transform .25s, box-shadow .25s;
}
.stat:hover .stat-ico { transform: rotate(-6deg) scale(1.06); box-shadow: 0 0 24px var(--accent-glow); }
.stat-t { font-size: 16px; font-weight: 600; color: var(--ink-0); font-variant-numeric: tabular-nums; }
.stat-s { font-size: 13px; color: var(--ink-2); }

/* ============ SECTIONS ============ */
section { padding: 110px 0; position: relative; }
.stats-band, .hero { padding-top: 0; padding-bottom: 0; }
.stats-band { padding: 36px 0; }
.hero { padding: 0; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 60px; }
.section-head.center { justify-content: center; text-align: center; flex-direction: column; align-items: center; margin-bottom: 50px; }
.kicker { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .14em; color: var(--accent-bright); text-transform: uppercase; margin-bottom: 14px; }
h2 { font-size: 44px; line-height: 1.08; letter-spacing: -.025em; font-weight: 700; margin: 0; max-width: 620px; color: var(--ink-0); }
.section-sub { font-size: 16px; color: var(--ink-2); max-width: 420px; line-height: 1.55; margin: 0; }

/* ============ FEATURES ============ */
.features-section { background: linear-gradient(180deg, var(--bg-0) 0%, #060916 100%); }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  overflow: hidden;
}
.feat {
  background: var(--bg-1);
  padding: 32px 30px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 260px;
  transition: background .25s;
}
.feat:hover { background: var(--bg-2); }
.feat-ico {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(91,108,255,.20), rgba(91,108,255,.05));
  border: 1px solid rgba(91,108,255,.25);
  display: grid; place-items: center;
  color: var(--accent-bright);
  margin-bottom: 8px;
  box-shadow: 0 0 24px -8px var(--accent-glow);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feat:hover .feat-ico { transform: rotate(-6deg) scale(1.08); box-shadow: 0 0 32px -4px var(--accent-glow); border-color: rgba(91,108,255,.45); }
.feat h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: var(--ink-0); }
.feat p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.feat-tag { margin-top: auto; display: inline-block; align-self: flex-start; padding: 3px 8px; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .08em; border-radius: 3px; background: rgba(91,108,255,.12); color: var(--accent-bright); border: 1px solid rgba(91,108,255,.25); }
.feat-tag.tag-prog { background: rgba(255,201,114,.1); color: var(--amber); border-color: rgba(255,201,114,.3); }
.feat-tag.tag-next { background: rgba(255,255,255,.04); color: var(--ink-2); border-color: rgba(255,255,255,.08); }

/* ============ BENEFITS ============ */
.benefits-section { background: #060916; }
.benefits-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.bn {
  padding: 32px 28px;
  background: linear-gradient(180deg, rgba(91,108,255,.06), rgba(91,108,255,0));
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .3s, border-color .25s;
}
.bn:hover { transform: translateY(-3px); border-color: rgba(91,108,255,.35); }
.bn-n {
  font-family: 'Inter', sans-serif;
  font-size: 48px; font-weight: 700;
  letter-spacing: -.03em;
  background: linear-gradient(180deg, #a3acff 0%, #5b6cff 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.bn-l { font-size: 14px; font-weight: 600; color: var(--ink-0); }
.bn p { margin: 6px 0 0; font-size: 13px; color: var(--ink-2); line-height: 1.5; }

/* ============ ROADMAP ============ */
.roadmap-section { background: #060916; }
.roadmap { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg-1); }
.rm-row { display: grid; grid-template-columns: 130px 1fr 130px; align-items: center; padding: 18px 28px; font-size: 14px; border-bottom: 1px solid var(--line-soft); transition: background .2s; }
.rm-row:last-child { border-bottom: 0; }
.rm-row:hover { background: var(--bg-2); }
.rm-q { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ink-3); letter-spacing: .04em; }
.rm-t { color: var(--ink-1); }
.rm-s { font-family: 'JetBrains Mono', monospace; font-size: 10px; padding: 4px 10px; border-radius: 3px; justify-self: end; letter-spacing: .08em; font-weight: 600; }
.rm-s.ship { background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: white; box-shadow: 0 4px 12px -4px var(--accent-glow); }
.rm-s.prog { background: rgba(255,201,114,.12); color: var(--amber); border: 1px solid rgba(255,201,114,.3); }
.rm-s.next { background: rgba(255,255,255,.04); color: var(--ink-2); border: 1px solid rgba(255,255,255,.08); }

/* ============ FAQ ============ */
.faq-section { background: #060916; }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.faq-item {
  padding: 22px 26px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color .2s, background .2s;
  cursor: pointer;
}
.faq-item:hover { border-color: rgba(91,108,255,.3); background: var(--bg-2); }
.faq-item summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  font-size: 15px; font-weight: 600; color: var(--ink-0);
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev { color: var(--accent-bright); font-size: 22px; line-height: 1; transition: transform .25s cubic-bezier(.2,.8,.2,1); width: 22px; text-align: center; }
.faq-item[open] .faq-chev { transform: rotate(45deg); }
.faq-item p { margin: 12px 0 0; font-size: 14px; color: var(--ink-2); line-height: 1.6; }

/* ============ CTA ============ */
.cta { padding: 60px 0 120px; background: linear-gradient(180deg, #060916 0%, #04060d 100%); }
.cta-card {
  position: relative;
  padding: 80px 40px;
  background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(91,108,255,.18), transparent 60%), linear-gradient(180deg, #0a1024 0%, #060a16 100%);
  border: 1px solid rgba(91,108,255,.25);
  border-radius: 24px;
  text-align: center;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 4px; height: 70%;
  background: linear-gradient(to bottom, var(--accent-bright), transparent);
  box-shadow: 0 0 40px var(--accent-glow), 0 0 100px var(--accent-glow);
}
.cta-rays { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.cta-rays span {
  position: absolute;
  top: -20%; left: 50%;
  width: 1px; height: 140%;
  background: linear-gradient(to bottom, transparent, var(--accent-bright), transparent);
  opacity: .2;
  filter: blur(1px);
  transform-origin: top center;
  animation: rayFloat 5s ease-in-out infinite;
}
.cta-rays span:nth-child(1) { transform: translateX(-50%) rotate(-12deg); animation-delay: 0s; }
.cta-rays span:nth-child(2) { transform: translateX(-50%) rotate(0deg);   animation-delay: 1.5s; }
.cta-rays span:nth-child(3) { transform: translateX(-50%) rotate(12deg);  animation-delay: 3s; }

.cta-inner { position: relative; z-index: 2; }
.cta h2 { margin: 0 auto 18px; max-width: 640px; font-size: 52px; }
.cta p { font-size: 17px; color: var(--ink-2); max-width: 520px; margin: 0 auto 36px; }
.cta p strong { color: var(--ink-0); font-weight: 700; }
.cta .waitlist { margin: 0 auto; }

/* ============ FOOTER ============ */
footer { padding: 40px 0 50px; border-top: 1px solid var(--line-soft); background: #04060d; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 28px; font-size: 14px; color: var(--ink-2); }
.footer-links a { transition: color .15s; }
.footer-links a:hover { color: var(--ink-0); }
.footer-c { font-size: 13px; color: var(--ink-3); }

/* ============ PREVIEW (mobile-only image showcase) ============ */
.preview { display: none; padding: 0; background: #04060d; }
.preview-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), 0 0 80px -20px var(--accent-glow);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.preview-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}
.preview-shine {
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.08) 40%, rgba(255,255,255,.18) 50%, rgba(255,255,255,.08) 60%, transparent 100%);
  pointer-events: none;
  animation: shine 5s ease-in-out infinite;
}
@keyframes shine {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(420%); }
}

/* ============ TOUCH DEVICE TUNING ============ */
@media (hover: none) {
  /* Disable hover-only transforms — give touch feedback via :active instead */
  .btn-primary:hover { transform: none; filter: none; }
  .btn-primary:active { transform: scale(.97); filter: brightness(1.1); }
  .spotlight:hover::before { opacity: 0; }
  .spotlight:active::before { opacity: 1; }
  .spotlight-card:hover::before,
  .spotlight-card:hover::after { opacity: 0; }
  .spotlight-card:active::before { opacity: .8; }
  .feat:hover, .bn:hover, .rm-row:hover, .faq-item:hover { background: inherit; transform: none; border-color: var(--line); }
  .feat:active { background: var(--bg-2); }
  .bn:active { transform: scale(.99); border-color: rgba(91,108,255,.4); }
  .feat:hover .feat-ico, .stat:hover .stat-ico { transform: none; box-shadow: 0 0 24px -8px var(--accent-glow); }
  .eyebrow:hover { transform: none; }
  /* Always-on subtle glow on cards so they don't feel dead */
  .feat-ico, .stat-ico { box-shadow: 0 0 16px -6px var(--accent-glow); }
  .nav a:hover::after { transform: scaleX(0); }
  .btn-primary:hover .arrow { animation: none; }
  .btn-primary .arrow { animation: nudgeArrow 2s ease-in-out infinite; }
}

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

/* ---- Tablet (≤1024px) ---- */
@media (max-width: 1024px) {
  .wrap { padding: 0 28px; }
  .topbar-inner { padding: 0 28px; gap: 20px; }

  /* Strip the dashboard from the hero on every non-desktop width — it shows in .preview instead */
  .hero {
    aspect-ratio: auto;
    min-height: 0;
    background:
      radial-gradient(120% 60% at 50% 100%, rgba(91,108,255,.22), transparent 70%),
      radial-gradient(80% 50% at 50% 0%, rgba(91,108,255,.10), transparent 70%),
      #04060d;
    background-size: auto;
    padding: 0 0 56px;
  }
  .hero-bg-vignette {
    background:
      linear-gradient(180deg, transparent 0%, rgba(91,108,255,.6) 18%, rgba(139,149,255,.85) 50%, rgba(91,108,255,.6) 82%, transparent 100%);
    width: 2px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    box-shadow: 0 0 40px var(--accent-glow), 0 0 80px var(--accent-glow);
    opacity: .55;
    animation: beamPulse 4s ease-in-out infinite;
  }

  /* Show the standalone product preview at tablet too */
  .preview { display: block; padding: 8px 0 0; }

  .hero-inner { padding: 64px 28px 0; }
  .hero-copy { max-width: 100%; }
  h1 { font-size: 56px; }
  h2 { font-size: 38px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .faq { grid-template-columns: 1fr; }
  section { padding: 90px 0; }
  .cursor-glow { display: none; }
}

/* ---- Mobile (≤720px) ---- */
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }

  /* Topbar — hide nav + secondary chip, keep brand + CTA */
  .topbar { padding: 14px 0; }
  .topbar-inner { padding: 0 20px; gap: 12px; }
  .nav { display: none; }
  .tag-soon { display: none; }
  .top-actions .btn-primary { padding: 9px 14px; font-size: 13px; }
  .top-actions .btn-primary .arrow { display: none; }

  /* Hero — inherits clean dark + CSS beam from the tablet breakpoint above */
  .hero { padding: 0 0 40px; }
  @keyframes beamPulse {
    0%, 100% { opacity: .45; }
    50% { opacity: .7; }
  }
  .hero-particles span { box-shadow: 0 0 6px var(--accent-bright); } /* lighter on mobile */
  /* Halve particle count on mobile — keeps the GPU happy */
  .hero-particles span:nth-child(2n) { display: none; }
  .hero-inner { padding: 48px 20px 0; }
  .hero-copy { max-width: 100%; }
  .eyebrow { font-size: 12px; padding: 6px 12px 6px 10px; margin-bottom: 22px; }
  h1 { font-size: 40px; line-height: 1.05; margin-bottom: 18px; }
  .sub { font-size: 15px; margin-bottom: 24px; }
  .sub br { display: none; }
  h1 br { display: none; }

  /* Waitlist form — stack input + button */
  .waitlist { flex-direction: column; gap: 8px; padding: 8px; max-width: 100%; }
  .waitlist .btn-primary { width: 100%; justify-content: center; padding: 14px 20px; }
  .waitlist-input { padding: 4px 12px; }
  .waitlist input { padding: 12px 0; font-size: 16px; } /* 16px = no iOS zoom on focus */
  .waitlist-meta { font-size: 12px; gap: 10px; margin-top: 14px; }

  /* Stats — stack vertically with full-width rows */
  .stats-band { padding: 24px 0; }
  .hero-stats { flex-direction: column; align-items: stretch; gap: 18px; }
  .stat { gap: 12px; }
  .stat-t { font-size: 15px; }
  .stat-s { font-size: 12px; }

  /* Sections */
  section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 36px; }
  .section-head.center { margin-bottom: 32px; }
  .section-sub { font-size: 14px; max-width: 100%; }
  h2 { font-size: 30px; }

  /* Features — single column, tighter padding */
  .features-grid { grid-template-columns: 1fr; }
  .feat { padding: 26px 22px; min-height: 0; gap: 12px; }
  .feat h3 { font-size: 17px; }
  .feat p { font-size: 14px; }

  /* Benefits — 2 columns, smaller numbers */
  .benefits-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .bn { padding: 22px 18px; gap: 8px; }
  .bn-n { font-size: 36px; }
  .bn-l { font-size: 13px; }
  .bn p { font-size: 12px; }

  /* Roadmap — vertical stack per row */
  .rm-row {
    grid-template-columns: 1fr;
    align-items: flex-start;
    padding: 16px 18px;
    gap: 6px;
  }
  .rm-q { font-size: 11px; }
  .rm-t { font-size: 14px; line-height: 1.4; }
  .rm-s { justify-self: flex-start; margin-top: 4px; }

  /* FAQ */
  .faq-item { padding: 18px 20px; }
  .faq-item summary { font-size: 14px; gap: 10px; }
  .faq-item p { font-size: 13px; }

  /* CTA card */
  .cta { padding: 40px 0 80px; }
  .cta-card { padding: 56px 22px; border-radius: 18px; }
  .cta h2 { font-size: 32px; }
  .cta p { font-size: 15px; margin-bottom: 28px; }

  /* Footer */
  footer { padding: 32px 0 40px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-links { flex-wrap: wrap; gap: 18px; }
}

/* ---- Small phones (≤420px) ---- */
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .topbar-inner { padding: 0 16px; }
  .hero-inner { padding: 36px 16px 0; }
  .hero { padding-bottom: 40px; }
  h1 { font-size: 34px; }
  h2, .cta h2 { font-size: 26px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .brand { font-size: 16px; gap: 8px; }
  .brand-mark { width: 26px; height: 26px; }
}
