/* ============================================================================
   GREATEST TRADER ALIVE — storefront
   Tokens inlined from brand/tokens.css (locked). Feel: Rockstar Games meets
   Bloomberg Terminal — every section a mission briefing.
   ============================================================================ */

@font-face {
  font-family: "Pricedown";
  src: url("assets/fonts/Pricedown.otf") format("opentype");
  font-display: swap;
}

:root {
  --bg: #000000; --pink: #FF2D78; --gold: #C9A84C;
  --text: #F5F5F5; --text-dim: #A0A0A0;
  --surface: #0B0B0B; --surface-line: #1C1C1C;
  --pink-dim: #7A1539; --gold-dim: #6B5A28; --cyan: #3FE8F0;
  --font-display: "Bebas Neue", "Oswald", sans-serif;
  --font-brand: "Pricedown", "Bebas Neue", sans-serif;
  --font-mono: "DM Mono", ui-monospace, monospace;
  --font-body: "DM Sans", system-ui, sans-serif;
  --tracking-label: 0.12em;
  --radius: 10px;
  --maxw: 1060px;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.gta-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-dim);
}
.gta-display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--text);
}
.brand { font-family: var(--font-brand); font-weight: 400; }
.pink { color: var(--pink); }
.gold { color: var(--gold); }
.cyan { color: var(--cyan); }
.glow-pink { text-shadow: 0 0 22px rgba(255, 45, 120, 0.55); }
.glow-gold { text-shadow: 0 0 22px rgba(201, 168, 76, 0.55); }
.fine { font-size: 0.7rem; color: #6E6E6E; line-height: 1.5; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

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

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 0.65em 1.6em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-buy {
  background: var(--pink);
  color: #000;
  box-shadow: 0 0 24px rgba(255, 45, 120, 0.35);
}
.btn-buy:hover { box-shadow: 0 0 34px rgba(255, 45, 120, 0.55); }
.btn-ghost { border-color: var(--gold); color: var(--gold); }
.btn.small { font-size: 0.95rem; padding: 0.45em 1.1em; }

/* ── Header ──────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--surface-line);
}
.wordmark { text-decoration: none; font-size: 1.3rem; display: flex; gap: 6px; }
.wordmark .brand { color: var(--text); }
.wordmark .brand.pink { color: var(--pink); }
.wordmark .brand.gold { color: var(--gold); }
.site-header nav { display: flex; align-items: center; gap: clamp(10px, 2.5vw, 26px); }
.site-header nav a:not(.btn) {
  font-family: var(--font-mono); font-size: 0.75rem;
  letter-spacing: var(--tracking-label); text-transform: uppercase;
  color: var(--text-dim); text-decoration: none;
}
.site-header nav a:not(.btn):hover { color: var(--text); }
@media (max-width: 640px) { .site-header nav a:not(.btn) { display: none; } }

/* ── Sections ────────────────────────────────────────────────────────── */
main > section { padding: clamp(56px, 10vw, 110px) clamp(16px, 4vw, 40px); max-width: var(--maxw); margin: 0 auto; }

/* ── Hero: Lovable version — skyline art + grid + scanlines ─────────── */
main > section.hero-wrap { max-width: none; padding: 0; }
.hero-wrap {
  position: relative;
  min-height: min(94vh, 920px);
  display: flex; flex-direction: column;
  overflow: hidden;
  border-bottom: 1px solid var(--surface-line);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.6;
}
.hero-bg-fade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.70) 55%, #000 100%);
}
.fx-grid {
  position: absolute; inset: 0; opacity: 0.30;
  background:
    repeating-linear-gradient(90deg, rgba(255,45,120,0.08) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(255,45,120,0.08) 0 1px, transparent 1px 64px);
}
.fx-scanlines {
  position: absolute; inset: 0; opacity: 0.20; mix-blend-mode: overlay;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,0.35) 0 1px, transparent 1px 3px);
}
.rule-dash { display: inline-block; width: 44px; height: 1px; background: var(--pink); margin-right: 12px; vertical-align: middle; box-shadow: 0 0 8px rgba(255,45,120,0.6); }
.gold-dash { background: var(--gold); width: 36px; box-shadow: 0 0 8px rgba(201,168,76,0.6); }
.hero {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: clamp(110px, 16vw, 180px) clamp(16px, 4vw, 40px) clamp(40px, 6vw, 70px);
  flex: 1; display: flex; flex-direction: column; justify-content: center;
}
.hero-eyebrow { color: var(--pink); }
.hero-title {
  font-size: clamp(3.2rem, 9.5vw, 6.8rem); margin: 22px 0 0;
  line-height: 0.92; max-width: 950px;
  text-shadow: 0 4px 34px rgba(0, 0, 0, 0.85);
}
.hero-tag-pink {
  margin-top: 26px; max-width: 620px;
  color: var(--pink); font-size: clamp(1.1rem, 2.4vw, 1.45rem); line-height: 1.35;
}
.hero-tag-dim { margin-top: 12px; max-width: 520px; color: var(--text-dim); font-size: 1.05rem; }
.hero-tag-dim strong { color: var(--text); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.btn-gold {
  background: var(--gold); color: #141414; font-weight: 700;
  box-shadow: 0 0 0 1px var(--gold), 0 0 26px rgba(201, 168, 76, 0.35);
}
.btn-gold:hover { box-shadow: 0 0 0 1px var(--gold), 0 0 40px rgba(201, 168, 76, 0.6); }
.btn-pink-outline { border-color: rgba(255,45,120,0.7); color: var(--pink); background: transparent; }
.btn-pink-outline:hover { background: rgba(255,45,120,0.1); box-shadow: 0 0 22px rgba(255,45,120,0.3); }
.img-chip {
  position: absolute; padding: 3px 8px;
  font-family: var(--font-mono); font-size: 0.58rem;
  letter-spacing: var(--tracking-label); text-transform: uppercase;
}
.chip-pink { background: var(--pink); color: #000; font-weight: 700; }
.chip-gold { background: rgba(0,0,0,0.8); border: 1px solid var(--gold); color: var(--gold); }
.chip-cyan { background: rgba(0,0,0,0.8); border: 1px solid rgba(63,232,240,0.6); color: var(--cyan); }
/* faux ticker */
.ticker {
  position: relative; z-index: 1;
  overflow: hidden;
  border-top: 1px solid rgba(201, 168, 76, 0.35);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}
.ticker-track {
  display: inline-flex; gap: 3rem;
  padding: 10px 0 10px 3rem;
  white-space: nowrap; width: max-content;
  animation: tickroll 38s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tickroll { to { transform: translateX(-50%); } }
.tk { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--text-dim); }
.tk b { font-weight: 500; color: var(--text); }
.tk.gold, .tk .up { color: var(--gold); }
.tk.pink, .tk .dn { color: var(--pink); }
.tk.cyan { color: var(--cyan); }
@media (prefers-reduced-motion: reduce) {
  .neon-grid { animation: none; }
  .ticker-track { animation: none; }
}

/* Stats */
.stats {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  border-top: 1px solid var(--surface-line);
}
.stat {
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.stat-n { font-size: 3.4rem; }
.stat .gta-label { margin: 6px 0 10px; color: var(--gold); }
.stat-t { color: var(--text-dim); font-size: 0.9rem; }

/* Product */
.product {
  display: grid; gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(240px, 340px) 1fr;
  align-items: center;
}
@media (max-width: 760px) { .product { grid-template-columns: 1fr; } }
.book-visual { display: flex; justify-content: center; }
.mockup-frame {
  position: relative; width: min(360px, 82vw); aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.3); background: var(--surface);
  box-shadow: 0 0 46px rgba(201, 168, 76, 0.18), 0 30px 70px rgba(0, 0, 0, 0.7);
}
.mockup-img { width: 100%; height: 100%; object-fit: cover; }
.mock-chip-tl { top: 14px; left: 14px; }
.mock-chip-tr { top: 14px; right: 14px; }
.price-row { display: flex; align-items: baseline; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.price-big { font-size: 3.2rem; }
.product-copy h2 { font-size: clamp(2rem, 5vw, 3rem); margin: 12px 0 20px; }
.product-intro { color: var(--text-dim); font-size: 0.98rem; margin-bottom: 20px; max-width: 560px; }
.features { list-style: none; padding: 0; display: grid; gap: 12px; }
.features li {
  padding-left: 18px; position: relative;
  color: var(--text-dim); font-size: 0.95rem;
}
.features li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 8px; height: 8px; background: var(--pink);
}
.features strong { color: var(--text); }
.buy-row { margin-top: 28px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.buy-note { color: var(--gold); }

/* Laws */
.laws { text-align: center; }
.laws h2 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin: 10px 0 34px; }
.law-grid {
  list-style: none; padding: 0; text-align: left;
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.law-grid li {
  display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto;
  column-gap: 12px;
  background: var(--surface); border: 1px solid var(--surface-line);
  border-radius: var(--radius); padding: 16px;
}
.law-n {
  grid-row: 1 / 3;
  font-family: var(--font-brand); font-size: 1.6rem; color: var(--pink);
}
.law-name { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.03em; }
.law-t { color: var(--text-dim); font-size: 0.85rem; }
.laws-footer { margin-top: 26px; color: var(--gold); font-style: italic; font-size: 0.95rem; }

/* District */
.district { text-align: center; border-top: 1px solid var(--surface-line); }
.district h2 { font-size: clamp(2rem, 5.5vw, 3.4rem); margin: 12px 0 18px; }
.district-sub { max-width: 640px; margin: 0 auto; color: var(--text-dim); }
.district-sub strong { color: var(--text); }
.rank-bar {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 6px; margin: 40px auto 0; max-width: 820px;
}
@media (max-width: 640px) { .rank-bar { grid-template-columns: repeat(3, 1fr); } }
.rank {
  background: var(--surface); border: 1px solid var(--surface-line);
  border-radius: 6px; padding: 12px 6px 10px;
  display: flex; flex-direction: column; gap: 4px; align-items: center;
}
.rank-name { font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.04em; }
.rank .gta-label { font-size: 0.55rem; }
.rank.done { border-color: var(--pink); }
.rank.done .rank-name { color: var(--pink); }
.rank.gta { border-color: var(--gold); background: linear-gradient(180deg, #141005, var(--surface)); }
.rank.gta .rank-name { color: var(--gold); font-size: 1.05rem; }

.waitlist { margin-top: 48px; }
.waitlist-form {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin-top: 14px;
}
.waitlist-form input {
  background: var(--surface); border: 1px solid var(--surface-line);
  border-radius: var(--radius); color: var(--text);
  font-family: var(--font-mono); font-size: 0.9rem;
  padding: 0.8em 1em; min-width: min(320px, 80vw);
}
.waitlist-form input:focus { border-color: var(--pink); outline: none; }
.wl-note { margin-top: 12px; color: var(--gold); min-height: 1em; }
.wl-lead { margin-top: 10px; color: var(--text); font-size: 1.05rem; }
.wl-fine { margin-top: 10px; font-size: 0.6rem; }

/* Rankings */
.rankings { text-align: center; }
.rankings h2 { font-size: clamp(2rem, 5vw, 3rem); margin: 10px 0 14px; }
.rankings-sub { max-width: 560px; margin: 0 auto; color: var(--text-dim); }
.ranking-cards {
  display: grid; gap: 16px; margin-top: 34px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.ranking-card {
  background: var(--surface); border: 1px dashed #2a2a2a;
  border-radius: var(--radius); padding: 34px 20px;
  display: flex; flex-direction: column; gap: 10px; align-items: center;
}
.rk { font-size: 2rem; color: var(--gold); }
.disclosure { max-width: 620px; margin: 22px auto 0; }

/* Guru quote */
.guru-quote { text-align: center; border-top: 1px solid var(--surface-line); }
.quote-script {
  font-family: "Caveat", cursive; font-size: clamp(1.6rem, 4vw, 2.3rem);
  color: var(--gold); line-height: 1.3; margin-bottom: 14px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--surface-line);
  padding: 40px clamp(16px, 4vw, 40px) 60px;
  max-width: var(--maxw); margin: 0 auto;
  display: grid; gap: 16px;
}
.foot-social { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-social a {
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: var(--tracking-label); color: var(--text-dim);
  text-decoration: none;
}
.foot-social a:hover { color: var(--pink); }

/* ── The Problem ─────────────────────────────────────────────────────── */
.problem { text-align: left; }
.problem h2 { font-size: clamp(1.8rem, 4.6vw, 2.9rem); margin: 12px 0 30px; max-width: 860px; }
.pain-grid {
  display: grid; gap: 14px; margin-bottom: 34px;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
}
.pain {
  background: var(--surface); border: 1px solid var(--surface-line);
  border-radius: var(--radius); padding: 18px 16px;
}
.pain-name { font-family: var(--font-display); font-size: 1.1rem; color: var(--pink); letter-spacing: 0.04em; display: block; margin-bottom: 6px; }
.pain p { color: var(--text-dim); font-size: 0.85rem; }

/* ── The Guru — Lovable art, kept moody ──────────────────────────────── */
.guru { border-top: 1px solid var(--surface-line); }
.guru-grid {
  display: grid; gap: clamp(28px, 5vw, 64px);
  grid-template-columns: 1.15fr 1fr;
  align-items: center; margin-bottom: 40px;
}
@media (max-width: 760px) { .guru-grid { grid-template-columns: 1fr; } }
.guru h2 { font-size: clamp(2.4rem, 6vw, 4rem); margin: 16px 0 0; line-height: 0.92; }
.guru-intro { margin-top: 24px; color: var(--text-dim); font-size: 1.05rem; line-height: 1.65; max-width: 560px; }
.guru-intro strong { color: var(--text); }
.guru-intro em { color: var(--gold); font-style: normal; }
.guru-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid rgba(255, 45, 120, 0.4); background: rgba(255, 45, 120, 0.05);
  padding: 8px 14px; border-radius: 3px;
  font-family: var(--font-mono); font-size: 0.66rem;
  letter-spacing: var(--tracking-label); color: rgba(245,245,245,0.9);
}
.chip:hover { border-color: var(--pink); box-shadow: 0 0 18px rgba(255,45,120,0.25); }
.guru-quote-block {
  margin: 30px 0 0; padding-left: 18px;
  border-left: 2px solid var(--gold);
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.15;
  text-transform: uppercase; color: rgba(245,245,245,0.9);
}
.guru-attrib { margin-top: 14px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-dim); }
.guru-figure {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  border: 1px solid rgba(255, 45, 120, 0.3); background: var(--surface);
  box-shadow: 0 0 46px rgba(255, 45, 120, 0.18);
}
.guru-art {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.72) contrast(1.12) saturate(1.05);
}
.guru-figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, transparent 30%, transparent 55%, rgba(0,0,0,0.72) 100%);
}
.guru-chip-tl  { top: 14px; left: 14px; z-index: 1; }
.guru-chip-tl2 { top: 14px; left: 64px; z-index: 1; }
.guru-chip-br  { bottom: 14px; right: 14px; z-index: 1; }
.tier-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tier {
  background: var(--surface); border: 1px solid var(--surface-line);
  border-left: 3px solid var(--pink);
  border-radius: var(--radius); padding: 18px;
}
.tier-tag { color: var(--pink); margin-bottom: 10px; }
.tier-msg { font-family: var(--font-mono); font-size: 0.82rem; color: var(--text); line-height: 1.6; }
.guru-close { margin-top: 28px; color: var(--text-dim); max-width: 640px; }
.guru-close .gold { display: block; margin-top: 8px; font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0.03em; }

/* ── Investors ───────────────────────────────────────────────────────── */
.investors { border-top: 1px solid var(--surface-line); text-align: left; }
.investors h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 12px 0 16px; }
.inv-sub { max-width: 640px; color: var(--text-dim); margin-bottom: 30px; }
.inv-streams { border-top: none; padding: 0; }
.stat-n .per { font-size: 1.1rem; color: var(--text-dim); font-family: var(--font-mono); }
.inv-ask {
  margin-top: 34px; padding: 22px;
  background: var(--surface); border: 1px solid var(--gold-dim); border-radius: var(--radius);
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.inv-ask .gta-label { color: var(--gold); }
.inv-note { min-height: 1em; }
.investors .fine { margin-top: 16px; }

/* status + wayfinding */
.status-chip {
  display: inline-block; margin-left: 10px; padding: 2px 8px; vertical-align: middle;
  font-size: 0.56rem; letter-spacing: 0.14em;
}
.chip-now { background: var(--pink); color: #000; font-weight: 700; }
.chip-soon { background: rgba(0,0,0,0.7); border: 1px solid rgba(63,232,240,0.6); color: var(--cyan); }
.respect-rule { margin-top: 26px; color: var(--text-dim); }
.respect-rule .gold { color: var(--gold); }

/* partner cards */
.ranking-card { text-decoration: none; color: inherit; align-items: flex-start; text-align: left; gap: 8px; transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease; }
.ranking-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 0 26px rgba(201,168,76,0.18); border-style: solid; }
.partner-name { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0.04em; }
.partner-t { color: var(--text-dim); font-size: 0.85rem; line-height: 1.5; }
.partner-cta { color: var(--gold); margin-top: auto; }

/* investors (Lovable layout) */
.inv-flex { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; text-align: left; }
.inv-copy { max-width: 620px; }
.investors h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 14px 0 0; }
.inv-sub { margin-top: 18px; color: var(--text-dim); font-size: 1.02rem; }
.inv-sub strong { color: var(--text); }
.inv-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.btn-gold-outline { border-color: rgba(201,168,76,0.7); color: var(--gold); background: transparent; }
.btn-gold-outline:hover { background: rgba(201,168,76,0.1); box-shadow: 0 0 22px rgba(201,168,76,0.3); }
.inv-mail { font-size: 0.6rem; }
.investors .fine { margin-top: 24px; }

/* waitlist name field */
.wl-name { min-width: min(160px, 40vw); }
.waitlist-form .wl-name { background: var(--surface); border: 1px solid var(--surface-line); border-radius: var(--radius); color: var(--text); font-family: var(--font-mono); font-size: 0.9rem; padding: 0.8em 1em; }
.waitlist-form .wl-name:focus { border-color: var(--pink); outline: none; }
