/* ============================================================
   NBS launching-soon — cinematic, alive.
   Near-black backgrounds, neon lime accents, animated everything.
============================================================ */

:root {
  --bg-0:   #050505;
  --bg-1:   #0d0d0d;
  --bg-2:   #141414;
  --line:   rgba(255, 255, 255, .06);
  --line-2: rgba(255, 255, 255, .10);

  --ink:    #FFFFFF;
  --ink-1:  #F5F5F5;
  --dim:    #A8A8A8;
  --dim-2:  #6E6E6E;
  --dim-3:  #444;

  --lime:      #00E676;
  --lime-hi:   #22FF7F;
  --lime-dk:   #00B85C;
  --lime-glow: rgba(0, 230, 118, .40);

  --up:   #00E676;
  --down: #FF3D3D;

  --font-body: "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, monospace;

  --maxw:   1200px;
  --radius: 14px;
  --transition: 220ms cubic-bezier(.2,.9,.3,1);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Avoid orphan words on their own line.
   - balance: perfect for short text (titles, subtitles) — distributes evenly.
   - pretty:  keeps the last line from being a single short word (body copy). */
h1, h2, h3, h4,
.section__title, .section__sub, .hero__sub,
.waitlist__title, .waitlist__sub {
  text-wrap: balance;
}
p, .prompt-card p, .feature p, .infra__lead, .mobile__lead, .quote p {
  text-wrap: pretty;
}

/* ============================================================
   BACKGROUND LAYERS (fixed, behind everything)
============================================================ */
.bg-canvas,
.bg-grid,
.bg-glow {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.bg-canvas {
  width: 100%; height: 100%;
  opacity: .5; /* subtle: particles present but not overwhelming */
  z-index: 3;
  mix-blend-mode: screen;
}
.bg-grid {
  background-image:
    linear-gradient(to right, rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 30%, rgba(0,0,0,.7), transparent 70%);
}
.bg-glow {
  background:
    radial-gradient(700px 500px at 20% 10%, rgba(0, 230, 118, .10), transparent 60%),
    radial-gradient(700px 400px at 85% 60%, rgba(0, 230, 118, .06), transparent 60%);
  animation: glow-shift 22s ease-in-out infinite alternate;
}
@keyframes glow-shift {
  0%   { transform: translate(0,0); }
  100% { transform: translate(3%, -3%); }
}

/* Content lifted above the canvas so text/UI is never dimmed by particles. */
header, section, footer, .modal { position: relative; z-index: 5; }

/* ============================================================
   NAV
============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(5,5,5,.75);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__logo { height: 36px; width: auto; display: block; }
.brand__logo--sm { height: 28px; }
.nav__links {
  display: flex; align-items: center; gap: 30px;
  font-size: .87rem; font-weight: 500;
}
.nav__links a {
  color: var(--dim); text-decoration: none;
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  background: var(--lime); color: #000 !important;
  padding: 9px 16px; border-radius: 8px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  box-shadow: 0 0 20px var(--lime-glow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.nav__cta:hover {
  box-shadow: 0 0 34px var(--lime-glow);
  transform: translateY(-1px);
}
@media (max-width: 720px) {
  .nav__links a:not(.nav__cta) { display: none; }
}

/* ============================================================
   HERO — cinematic
============================================================ */
.hero {
  position: relative;
  padding: 80px 24px 100px;
  text-align: center;
  overflow: hidden;
  /* NO isolation: isolate — we want the particle canvas (in body-level
     stacking context) to appear over the hero background image. */
}
/* Ultra-subtle cursor spotlight — a very soft green halo that follows
   the pointer inside the hero. Kept low-opacity so it's atmospheric,
   never distracting. */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(600px circle at var(--cx, 50%) var(--cy, 40%),
              rgba(0, 230, 118, .07), transparent 55%);
  opacity: 0;
  transition: opacity 600ms ease;
}
.hero:hover::after { opacity: 1; }
.hero__bg {
  position: absolute; inset: 0;
  z-index: -1; /* goes behind body-level canvas so particles show over it */
  overflow: hidden;
}
.hero__bgimg {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .14; /* dropped a lot so particles are visible over it */
  filter: saturate(1.1) contrast(1.05);
  animation: bg-pan 40s ease-in-out infinite alternate;
}
@keyframes bg-pan {
  0%   { transform: scale(1.05) translate(0,0); }
  100% { transform: scale(1.15) translate(-2%, 1%); }
}
.hero__bgoverlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(0,230,118,.08), transparent 60%),
    linear-gradient(180deg, rgba(5,5,5,.6) 0%, rgba(5,5,5,.85) 40%, var(--bg-0) 100%);
}
/* ---- Hero heatmap (animated stock treemap) ---- */
.hero__heatmap {
  position: absolute;
  inset: 0;
  opacity: .38;
  pointer-events: none;
  /* Fade top + bottom so hero text stays legible */
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  padding: 1vh 1vw;
  animation: chart-flicker 3.6s ease-in-out infinite;
}
.hero__heatmap-grid {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  grid-auto-rows: minmax(0, 1fr);
  grid-auto-flow: dense;
  gap: 2px;
  width: 100%; height: 100%;
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px 4px;
  border-radius: 2px;
  overflow: hidden;
  color: rgba(255,255,255,.95);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  line-height: 1.1;
  text-align: center;
  transition: background-color 900ms ease;
  will-change: background-color;
}
.tile__sym { font-weight: 700; letter-spacing: .02em; font-size: clamp(.55rem, .8vw, .95rem); }
.tile__pct { opacity: .82; font-size: clamp(.45rem, .65vw, .75rem); margin-top: 2px; }
.tile--flash::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255,255,255,.35);
  animation: tile-flash 600ms ease-out forwards;
  pointer-events: none;
}
@keyframes tile-flash {
  0%   { opacity: .6; }
  100% { opacity: 0;  }
}
@keyframes chart-flicker {
  0%,100% { opacity: .48; }
  30%     { opacity: .58; }
  60%     { opacity: .5;  }
  80%     { opacity: .55; }
}

/* Big soft glows behind the chart (red on left, green on right) */
.hero__chart-glow {
  position: absolute;
  bottom: -80px;
  width: 720px; height: 460px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.hero__chart-glow--red {
  left: -140px;
  background: radial-gradient(circle, rgba(255, 61, 61, .55), transparent 70%);
  animation: glow-pulse-red 5s ease-in-out infinite;
}
.hero__chart-glow--green {
  right: -140px;
  background: radial-gradient(circle, rgba(0, 230, 118, .55), transparent 70%);
  animation: glow-pulse-green 5.6s ease-in-out infinite;
}
@keyframes glow-pulse-red {
  0%,100% { opacity: .55; transform: scale(1) translateY(0); }
  50%     { opacity: .85; transform: scale(1.15) translateY(-20px); }
}
@keyframes glow-pulse-green {
  0%,100% { opacity: .6;  transform: scale(1.05) translateY(0); }
  50%     { opacity: .9;  transform: scale(.95)  translateY(-30px); }
}

.hero__inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
/* Big soft dark halo behind ALL hero content (title, sub, form, note,
   proof line) so everything reads clearly over the animated heatmap.
   Two radial layers: a tall dark ellipse for the content column plus
   a wider soft dimming halo that fades into the heatmap at the edges. */
.hero__inner::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 145%; height: 140%;
  background:
    radial-gradient(ellipse 55% 50% at center,
      rgba(5,5,5,.93) 0%,
      rgba(5,5,5,.82) 35%,
      rgba(5,5,5,.55) 65%,
      rgba(5,5,5,.20) 85%,
      transparent 100%),
    radial-gradient(ellipse 85% 85% at center,
      rgba(5,5,5,.30) 0%,
      transparent 75%);
  filter: blur(18px);
  z-index: -1;
  pointer-events: none;
}

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 7px 16px;
  border: 1px solid rgba(0, 230, 118, .30);
  background: rgba(0, 230, 118, .06);
  color: var(--lime);
  border-radius: 100px;
  margin-bottom: 32px;
  backdrop-filter: blur(6px);
}
.badge__pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1;    transform: scale(1); }
  50%     { opacity: .5;   transform: scale(1.3); }
}

.hero__title {
  font-family: var(--font-body);
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -.035em;
  margin-bottom: 24px;
  color: var(--ink);
  /* Auto-balance so no single word gets stranded on its own line. */
  text-wrap: balance;
  /* Keep "next big stock" together as a chunk. */
}
.hero__title .grad { white-space: nowrap; }
.grad {
  background: linear-gradient(120deg, var(--lime) 0%, var(--lime-hi) 50%, var(--lime) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: grad-shift 5s ease-in-out infinite;
  text-shadow: 0 0 60px var(--lime-glow);
}
@keyframes grad-shift {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}
.under {
  position: relative; display: inline-block;
  color: var(--ink);
}
.under::after {
  content: '';
  position: absolute; left: -3%; right: -3%; bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  animation: underline-swipe 3s ease-in-out infinite;
}
@keyframes underline-swipe {
  0%,100% { transform: scaleX(0); transform-origin: left; opacity: 0; }
  30%     { transform: scaleX(1); transform-origin: left; opacity: 1; }
  70%     { transform: scaleX(1); transform-origin: right; opacity: 1; }
  100%    { transform: scaleX(0); transform-origin: right; opacity: 0; }
}

.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--dim);
  max-width: 880px; margin: 0 auto 44px;
  line-height: 1.6;
}

/* ============================================================
   FLOATING TEASER CARDS IN HERO (product hints, no fake data)
============================================================ */
.floater {
  position: absolute;
  z-index: 1; /* sit behind hero content (hero__inner is z-index: 2) */
  pointer-events: none;
  opacity: 0;
  transform: translateY(14px) scale(.96);
  transition: opacity .55s ease, transform .6s cubic-bezier(.2,.9,.3,1);
}
/* 8 slots — 2 per corner zone. JS sets exact top/bottom + left/right on
   each cycle so the same slot appears at a different spot each time,
   with different vertical bands between the two slots in each zone
   (upper band for a/b/c/d, lower band for e/f/g/h) so they rarely stack. */
.floater--a, .floater--e { left: 3%;  top: 90px; }
.floater--b, .floater--f { right: 3%; top: 90px; }
.floater--c, .floater--g { left: 3%;  bottom: 90px; }
.floater--d, .floater--h { right: 3%; bottom: 90px; }
.floater.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}
/* On narrow screens, keep only the top row. On phones, hide all. */
@media (max-width: 900px) {
  .floater--c, .floater--d, .floater--g, .floater--h { display: none; }
}
.mini-card {
  background: rgba(15, 15, 15, .88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 230, 118, .28);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,.5), 0 0 24px rgba(0, 230, 118, .12);
  min-width: 180px;
}
.mini-card__ticker {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 1.05rem; font-weight: 700; color: var(--ink);
  letter-spacing: .04em;
  margin-bottom: 6px;
}
.mini-card__pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
.mini-card__tag {
  font-size: .78rem;
  color: var(--lime);
  font-weight: 500;
}
@media (max-width: 640px) {
  .floater { display: none; }
}

/* ============================================================
   CAPTURE FORM
============================================================ */
.capture { max-width: 500px; margin: 0 auto; }
.capture__row {
  display: flex; gap: 6px;
  background: rgba(10,10,10,.72);
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 10px;
  padding: 6px;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 0 0 1px rgba(255,255,255,.05), 0 8px 30px rgba(0,0,0,.4);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.capture__row:focus-within {
  border-color: var(--lime);
  box-shadow: 0 0 0 4px rgba(0, 230, 118, .15);
}
.capture input {
  flex: 1;
  padding: 12px 14px;
  background: transparent; border: 0; outline: none;
  color: var(--ink); font-size: .96rem; font-family: var(--font-body);
}
.capture input::placeholder { color: rgba(220,220,220,.6); }
.capture button {
  padding: 12px 22px;
  background: var(--lime); color: #000;
  border: 0; border-radius: 8px;
  font-weight: 600; font-size: .92rem;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background var(--transition), box-shadow var(--transition), transform 100ms;
  white-space: nowrap;
  box-shadow: 0 0 20px rgba(0, 230, 118, .35);
}
.capture button:hover:not([disabled]) {
  background: var(--lime-hi);
  box-shadow: 0 0 32px rgba(0, 230, 118, .55);
}
.capture button:active { transform: translateY(1px); }
.capture button[disabled] { opacity: .55; cursor: not-allowed; }
.btn-arrow { transition: transform var(--transition); }
.capture button:hover .btn-arrow { transform: translateX(3px); }
.capture__note {
  font-size: .8rem; color: rgba(230,230,230,.85);
  margin-top: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  justify-content: center;
  text-shadow: 0 1px 6px rgba(0,0,0,.9), 0 0 2px rgba(0,0,0,.7);
}
.capture__note strong { color: #fff; font-weight: 600; }
.dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.dot--green {
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
  animation: pulse-dot 2s ease-in-out infinite;
}
.capture__err {
  color: #ff7a7a; font-size: .82rem; margin-top: 10px;
  text-align: center; min-height: 1.2em;
}
.capture__consent {
  font-size: .68rem; color: var(--dim);
  margin-top: 14px; line-height: 1.5;
  padding: 10px 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.capture--hero { max-width: 540px; }
@media (max-width: 600px) {
  .capture__row { flex-direction: column; }
  .capture button { width: 100%; justify-content: center; }
}

/* Hero social proof line */
.hero__proof {
  margin-top: 44px;
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .85rem; color: rgba(230,230,230,.9);
  text-shadow: 0 1px 6px rgba(0,0,0,.9), 0 0 2px rgba(0,0,0,.7);
}
.hero__proof strong { color: #fff; font-weight: 600; }
.hero__proof-avatars { display: flex; }
.avatar {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--bg-0);
  margin-left: -8px;
  display: inline-block;
  color: #fff; font-weight: 700; font-size: .7rem;
  text-align: center; line-height: 24px;
}
.avatar:first-child { margin-left: 0; }

/* ============================================================
   STATS
============================================================ */
.stats {
  padding: 40px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.015);
  position: relative;
  overflow: hidden;
}
/* A slow green aurora sweeping from left to right, behind the numbers.
   Two soft blobs offset from each other for a more organic movement. */
.stats::before,
.stats::after {
  content: '';
  position: absolute;
  top: -60%;
  width: 60%; height: 220%;
  pointer-events: none;
  filter: blur(60px);
}
.stats::before {
  left: -30%;
  background: radial-gradient(closest-side, rgba(0, 230, 118, .28), transparent 70%);
  animation: aurora-a 14s ease-in-out infinite;
}
.stats::after {
  right: -30%;
  background: radial-gradient(closest-side, rgba(0, 230, 118, .18), transparent 70%);
  animation: aurora-b 18s ease-in-out infinite;
}
@keyframes aurora-a {
  0%,100% { transform: translateX(-30%) scale(1);   opacity: .55; }
  50%     { transform: translateX(180%)  scale(1.2); opacity: .85; }
}
@keyframes aurora-b {
  0%,100% { transform: translateX(30%)  scale(1.1); opacity: .35; }
  50%     { transform: translateX(-180%) scale(.95); opacity: .65; }
}
.stats__inner { position: relative; z-index: 1; }
.stats__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  text-align: center;
}
.stat__num {
  font-family: var(--font-mono);
  font-size: 2.2rem; font-weight: 700;
  color: var(--lime);
  text-shadow: 0 0 24px var(--lime-glow);
  line-height: 1; margin-bottom: 8px;
  letter-spacing: -.02em;
}
.stat__num.live {
  animation: live-flicker 1.6s ease-in-out infinite;
}
@keyframes live-flicker {
  0%,100% { opacity: 1; }
  50%     { opacity: .75; }
}
.stat__label {
  font-size: .7rem; color: var(--dim-2);
  letter-spacing: .12em; text-transform: uppercase;
  font-weight: 500;
}
@media (max-width: 720px) {
  .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

/* ============================================================
   GENERIC SECTION
============================================================ */
.section { padding: 70px 24px; position: relative; }
.section--alt { background: rgba(255,255,255,.02); }
.section--dark { background: rgba(0,0,0,.4); }
.section__inner { max-width: var(--maxw); margin: 0 auto; position: relative; }
.eyebrow {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 600; color: var(--lime);
  margin-bottom: 14px;
  text-align: center;
}
/* When the surrounding column is left-aligned (infra, mobile, traders),
   the eyebrow should be too — otherwise it floats detached from its title. */
.infra__copy .eyebrow,
.mobile__copy .eyebrow,
.traders__copy .eyebrow {
  text-align: left;
}
.eyebrow--gold { color: #FFB020; }
.section__title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -.03em;
  text-align: center;
  margin-bottom: 20px;
  color: var(--ink);
}
.section__sub {
  color: var(--dim);
  max-width: 880px; margin: 0 auto 44px;
  text-align: center; font-size: 1.05rem; line-height: 1.6;
}

/* ============================================================
   PROMPT CARDS
============================================================ */
.prompts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-bottom: 60px;
}
.prompt-card {
  padding: 24px;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
  /* Cursor spotlight setup */
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.prompt-card > * { position: relative; z-index: 1; }
.prompt-card::after {
  content: '';
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(280px circle at var(--cx, 50%) var(--cy, 50%),
              rgba(0, 230, 118, .18), transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
}
.prompt-card:hover::after { opacity: 1; }
.prompt-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 230, 118, .35);
  background: rgba(0, 230, 118, .03);
  box-shadow: 0 20px 40px rgba(0, 230, 118, .05);
}
.prompt-card__icon { font-size: 1.6rem; margin-bottom: 14px; display: block; }
.prompt-card__title {
  font-size: 1.05rem; font-weight: 700; color: var(--ink);
  margin-bottom: 8px; letter-spacing: -.01em;
}
.prompt-card p {
  font-size: .92rem; line-height: 1.55; color: var(--dim);
}
@media (max-width: 780px) { .prompts { grid-template-columns: 1fr; } }

/* Small pulse used in infra badges */
.pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
  animation: pulse-dot 1.4s ease-in-out infinite;
}
.pulse--sm { width: 5px; height: 5px; }

/* ============================================================
   INFRA SECTION
============================================================ */
.infra {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.infra__lead {
  color: var(--dim); font-size: 1.05rem; line-height: 1.6;
  margin: 16px 0 26px;
}
.infra__list {
  list-style: none;
  display: grid; gap: 12px;
}
.infra__list li {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--dim); font-size: .95rem;
  font-family: var(--font-mono);
}
.infra__media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.infra__img {
  width: 100%; height: 420px; object-fit: cover;
  display: block;
  filter: saturate(1.15) contrast(1.05);
  transition: transform 8s ease-in-out;
}
.infra__media:hover .infra__img { transform: scale(1.05); }
@media (max-width: 900px) {
  .infra { grid-template-columns: 1fr; gap: 32px; }
  .infra__img { height: 320px; }
}

/* ============================================================
   GRIDS + FEATURES
============================================================ */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--3 { grid-template-columns: 1fr; } }

.feature {
  padding: 28px 26px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
  /* Cursor spotlight setup */
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.feature > * { position: relative; z-index: 1; }
.feature::after {
  content: '';
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(280px circle at var(--cx, 50%) var(--cy, 50%),
              rgba(0, 230, 118, .18), transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
}
.feature:hover::after { opacity: 1; }
.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 230, 118, .3);
  background: rgba(0, 230, 118, .02);
  box-shadow: 0 20px 40px rgba(0, 230, 118, .04);
}
.feature__icon { font-size: 1.6rem; margin-bottom: 16px; display: block; }
.feature h3 {
  font-size: 1.05rem; font-weight: 700; margin-bottom: 8px;
  letter-spacing: -.01em; color: var(--ink);
}
.feature p { color: var(--dim); font-size: .9rem; line-height: 1.55; }

/* ============================================================
   MOBILE SECTION
============================================================ */
.mobile {
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
.mobile::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(400px 400px at 30% 50%, rgba(0,230,118,.10), transparent 60%),
    radial-gradient(500px 400px at 80% 60%, rgba(0,100,255,.05), transparent 60%);
  pointer-events: none;
}
.mobile__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  position: relative;
}
.mobile__lead {
  color: var(--dim); font-size: 1.05rem; line-height: 1.6;
  margin: 16px 0 26px;
}
.mobile__stores {
  display: flex; gap: 12px; margin-bottom: 12px;
}
/* Official App Store / Google Play badges. */
.store-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  transition: transform var(--transition), filter var(--transition);
}
.store-badge img {
  display: block;
  height: 60px;
  width: auto;
}
.store-badge:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 4px 14px rgba(0, 230, 118, .25));
}
.store-btn:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(0,230,118,.3);
}
.mobile__soon { font-size: .82rem; color: var(--dim-2); }
.mobile__phone {
  position: relative;
  display: flex; justify-content: center;
  animation: phone-float 6s ease-in-out infinite;
}
@keyframes phone-float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%     { transform: translateY(-16px) rotate(1deg); }
}
.mobile__phone-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0,230,118,.25), transparent 60%);
  filter: blur(40px);
  z-index: -1;
  animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%,100% { transform: scale(1); opacity: .8; }
  50%     { transform: scale(1.1); opacity: 1; }
}
.mobile__img {
  max-height: 560px; width: auto;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,.6));
}
@media (max-width: 900px) {
  .mobile__inner { grid-template-columns: 1fr; gap: 40px; }
  .mobile__img { max-height: 400px; }
}

/* ============================================================
   COMPARE
============================================================ */
.compare {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 720px; margin: 0 auto;
}
.compare__item {
  padding: 20px;
  background: rgba(255,61,61,.04);
  border: 1px solid rgba(255,61,61,.14);
  border-radius: var(--radius);
  transition: opacity var(--transition);
}
.compare__item:hover { opacity: .8; }
.compare__head {
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700; font-size: 1rem;
  margin-bottom: 8px;
  color: var(--ink);
}
.compare__cross { color: var(--down); font-size: 1.2rem; font-weight: 700; }
.compare__body { color: var(--dim); font-size: .82rem; margin-bottom: 12px; }
.compare__price {
  color: var(--down); font-family: var(--font-mono);
  font-weight: 600; font-size: .88rem;
  text-decoration: line-through; opacity: .85;
}
@media (max-width: 640px) { .compare { grid-template-columns: 1fr; } }

.savings {
  margin: 50px auto 0; text-align: center;
  padding: 32px;
  background:
    radial-gradient(300px 200px at 50% 50%, rgba(0, 230, 118, .12), transparent 70%),
    rgba(0, 230, 118, .03);
  border: 1px solid rgba(0, 230, 118, .3);
  border-radius: var(--radius);
  max-width: 500px;
  box-shadow: 0 0 60px rgba(0, 230, 118, .1);
}
.savings__amount {
  font-family: var(--font-mono);
  font-size: 2.6rem; font-weight: 700;
  color: var(--lime);
  text-shadow: 0 0 30px var(--lime-glow);
  line-height: 1;
  letter-spacing: -.02em;
}
.savings__amount .dim {
  font-family: var(--font-body);
  font-size: 1rem; font-weight: 500;
}
.savings__label { color: var(--dim); font-size: .88rem; margin-top: 10px; }

/* ============================================================
   TRADERS section
============================================================ */
.traders__wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.traders__media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px rgba(0,0,0,.5);
}
.traders__img {
  width: 100%; height: 500px; object-fit: cover;
  display: block;
  filter: saturate(1.2);
}
.traders__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.5));
  pointer-events: none;
}
.quote {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.quote:last-child { border-bottom: 0; }
.quote p {
  color: var(--ink); font-size: 1rem; line-height: 1.6;
  margin-bottom: 14px;
}
.quote footer {
  display: flex; align-items: center; gap: 12px;
  font-size: .85rem;
}
.up { color: var(--lime); font-weight: 600; font-family: var(--font-mono); }
.dim { color: var(--dim); }
@media (max-width: 900px) {
  .traders__wrap { grid-template-columns: 1fr; gap: 40px; }
  .traders__img { height: 340px; }
}

/* ============================================================
   WAITLIST FINAL
============================================================ */
.waitlist {
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.waitlist::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 500px at 50% 40%, rgba(0, 230, 118, .12), transparent 60%);
  pointer-events: none;
}
.waitlist__inner { max-width: 1000px; margin: 0 auto; position: relative; }
.waitlist__title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -.03em;
  margin-bottom: 20px;
}
.waitlist__title .dim { font-weight: 500; }
.waitlist__sub {
  color: var(--dim);
  font-size: 1.05rem; line-height: 1.65;
  max-width: 880px; margin: 0 auto 36px;
}
.waitlist__perks {
  margin-top: 42px;
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
}
/* Single line on desktop */
@media (min-width: 780px) {
  .waitlist__perks { flex-wrap: nowrap; }
}
.perk {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: rgba(0, 230, 118, .04);
  border: 1px solid rgba(0, 230, 118, .18);
  border-radius: 100px;
  font-size: .82rem; color: var(--dim);
  white-space: nowrap;
  /* Sequential glow — each perk lights up in turn (8s cycle, 4 perks). */
  animation: perk-wave 8s ease-in-out infinite;
  transition: color 400ms, border-color 400ms, background 400ms;
}
.perk:nth-child(1) { animation-delay: 0s; }
.perk:nth-child(2) { animation-delay: 2s; }
.perk:nth-child(3) { animation-delay: 4s; }
.perk:nth-child(4) { animation-delay: 6s; }
.perk__check {
  color: var(--lime); font-weight: 700;
  transition: text-shadow 400ms;
}
@keyframes perk-wave {
  0%, 25%, 100% {
    background: rgba(0, 230, 118, .04);
    border-color: rgba(0, 230, 118, .18);
    color: var(--dim);
    box-shadow: none;
  }
  5%, 20% {
    background: rgba(0, 230, 118, .14);
    border-color: rgba(0, 230, 118, .6);
    color: var(--ink);
    box-shadow: 0 0 22px rgba(0, 230, 118, .35);
  }
}

/* ============================================================
   FOOTER
============================================================ */
.footer { border-top: 1px solid var(--line); padding: 32px 24px; }
.footer__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px;
}
.footer__brand { display: inline-flex; align-items: center; gap: 10px; }
.footer__links { display: flex; gap: 20px; }
.footer__links a {
  color: var(--dim); text-decoration: none; font-size: .85rem;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--ink); }
.footer__disc {
  width: 100%;
  font-size: .75rem; color: var(--dim-2);
  text-align: center;
  padding-top: 20px; margin-top: 8px;
  border-top: 1px solid var(--line);
  line-height: 1.5;
}

/* ============================================================
   MODAL
============================================================ */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(6px);
  animation: fade .25s ease;
}
.modal__dialog {
  position: relative; z-index: 1;
  max-width: 460px; width: 100%;
  background: linear-gradient(180deg, var(--bg-1), var(--bg-0));
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 36px 32px 24px;
  text-align: center;
  animation: pop .3s cubic-bezier(.2,.9,.3,1.1);
  max-height: 92vh; overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 40px rgba(0, 230, 118, .1);
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop {
  from { opacity: 0; transform: scale(.96) translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.modal__close {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,.06);
  border: 0; color: var(--ink);
  width: 30px; height: 30px; border-radius: 50%;
  cursor: pointer; font-size: 1.2rem; line-height: 1;
  transition: background var(--transition);
}
.modal__close:hover { background: rgba(255,255,255,.15); }
.modal__icon { font-size: 2.2rem; margin-bottom: 16px; display: block; }
.modal__icon--big { font-size: 3.2rem; }
.modal__step h3 {
  font-size: 1.4rem; font-weight: 700;
  line-height: 1.25; margin-bottom: 10px;
  letter-spacing: -.015em;
}
.modal__step .dim { font-size: .92rem; margin-bottom: 22px; }
.modal__step .capture { max-width: 100%; }
.modal__step .capture input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  font-size: 1rem; color: var(--ink);
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition);
}
.modal__step .capture input:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 4px rgba(0, 230, 118, .15);
}
.otp {
  text-align: center;
  letter-spacing: .4em;
  font-size: 1.5rem !important;
  font-family: var(--font-mono) !important;
  font-weight: 600;
}
.btn {
  padding: 12px 20px;
  background: var(--lime); color: #000;
  border: 0; border-radius: 8px;
  font-weight: 600; font-size: .95rem;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  justify-content: center;
  transition: background var(--transition), box-shadow var(--transition);
  box-shadow: 0 0 20px rgba(0, 230, 118, .35);
}
.btn:hover { background: var(--lime-hi); box-shadow: 0 0 32px rgba(0, 230, 118, .55); }
.btn--full { width: 100%; margin-top: 14px; }
.modal__position {
  margin-top: 22px;
  padding: 24px;
  background: rgba(0, 230, 118, .04);
  border: 1px solid rgba(0, 230, 118, .25);
  border-radius: 12px;
}
.modal__position-num {
  font-family: var(--font-mono);
  font-size: 2.6rem; font-weight: 700;
  color: var(--lime);
  text-shadow: 0 0 24px var(--lime-glow);
}
body.modal-open { overflow: hidden; }

/* ============================================================
   SCROLL ANIMATIONS
============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(.2,.9,.3,1), transform 700ms cubic-bezier(.2,.9,.3,1);
  transition-delay: var(--d, 0s);
}
[data-animate].in {
  opacity: 1;
  transform: none;
}

/* Cascading reveals: children of a grid stagger their reveal one after another. */
.grid > .feature[data-animate],
.prompts > .prompt-card[data-animate] {
  transition-delay: calc(var(--i, 0) * 120ms);
}

/* Underline that sweeps in when a section title enters view. */
.section__title {
  position: relative; display: inline-block;
  padding-bottom: 6px;
}
.section__title[data-animate]::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 900ms cubic-bezier(.2,.9,.3,1) 300ms;
}
.section__title[data-animate].in::after { transform: scaleX(1); }
/* Center-aligned .section__title lives inside a centered flow, so keep display:inline-block
   to size the underline to the text width only. */
.section__inner { text-align: center; }
.section__inner .infra,
.section__inner .traders__wrap,
.section__inner .grid,
.section__inner .prompts,
.section__inner .compare,
.section__inner .savings { text-align: initial; }

/* ============================================================
   Legal pages (Trust & Safety, Terms)
============================================================ */
.legal {
  max-width: 900px;
  margin: 100px auto 80px;
  padding: 0 24px;
  color: var(--ink-1);
  line-height: 1.7;
  font-size: .96rem;
}
.legal__inner {
  background: rgba(13,13,13,.55);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 48px 44px;
}
.legal__breadcrumb {
  font-size: .82rem;
  color: var(--dim);
  margin: 0 0 16px;
}
.legal__breadcrumb a { color: var(--dim); text-decoration: none; }
.legal__breadcrumb a:hover { color: var(--lime); }
.legal h1 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 20px;
  line-height: 1.15;
}
.legal h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 40px 0 14px;
  letter-spacing: -.01em;
  color: #fff;
}
.legal h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 28px 0 10px;
  color: #fff;
}
.legal p, .legal ul, .legal ol { margin: 0 0 14px; }
.legal a { color: var(--lime); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal a:hover { color: #6bff9b; }
.legal__lead {
  font-size: 1.05rem;
  color: var(--ink-1);
  margin-bottom: 26px;
}
.legal__meta {
  background: rgba(255,255,255,.04);
  border-left: 3px solid var(--lime);
  padding: 14px 18px;
  border-radius: 4px;
  font-size: .92rem;
  color: var(--dim);
  margin: 0 0 30px;
}
.legal__meta strong { color: var(--ink); font-weight: 600; }
.legal__list {
  padding-left: 22px;
}
.legal__list li { margin-bottom: 6px; }
.legal__badges {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 0 0 40px;
}
.legal__badge {
  display: inline-flex; align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0,230,118,.10);
  border: 1px solid rgba(0,230,118,.35);
  color: var(--lime);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  font-family: var(--font-mono);
}
.legal__updated {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
  font-size: .82rem;
  color: var(--dim);
  font-style: italic;
}
@media (max-width: 640px) {
  .legal__inner { padding: 32px 22px; }
  .legal h1 { font-size: 1.75rem; }
  .legal h2 { font-size: 1.15rem; margin-top: 32px; }
}
