/* ═══════════════════════════════════════════════════════════════
   TradeLog — Landing v3 · "Cinematic Terminal"
   Static · no build · self-hosted fonts
   Palette carried from the improved v2 tokens (teal brand, P&L semantics)
═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────── Fonts ─────────────────────────── */
@font-face { font-family:'DM Sans'; font-style:normal; font-weight:300; font-display:swap; src:url('fonts/dm-sans-v17-latin/dm-sans-v17-latin-300.woff2') format('woff2'); }
@font-face { font-family:'DM Sans'; font-style:italic; font-weight:300; font-display:swap; src:url('fonts/dm-sans-v17-latin/dm-sans-v17-latin-300italic.woff2') format('woff2'); }
@font-face { font-family:'DM Sans'; font-style:normal; font-weight:400; font-display:swap; src:url('fonts/dm-sans-v17-latin/dm-sans-v17-latin-regular.woff2') format('woff2'); }
@font-face { font-family:'DM Sans'; font-style:normal; font-weight:500; font-display:swap; src:url('fonts/dm-sans-v17-latin/dm-sans-v17-latin-500.woff2') format('woff2'); }
@font-face { font-family:'DM Sans'; font-style:normal; font-weight:600; font-display:swap; src:url('fonts/dm-sans-v17-latin/dm-sans-v17-latin-600.woff2') format('woff2'); }
@font-face { font-family:'DM Serif Display'; font-style:normal; font-weight:400; font-display:swap; src:url('fonts/dm-serif-display-v17-latin/dm-serif-display-v17-latin-regular.woff2') format('woff2'); }
@font-face { font-family:'DM Serif Display'; font-style:italic; font-weight:400; font-display:swap; src:url('fonts/dm-serif-display-v17-latin/dm-serif-display-v17-latin-italic.woff2') format('woff2'); }
@font-face { font-family:'Syne'; font-style:normal; font-weight:800; font-display:swap; src:url('fonts/syne-v24-latin/syne-v24-latin-800.woff2') format('woff2'); }
@font-face { font-family:'Roboto'; font-style:normal; font-weight:500; font-display:swap; src:url('fonts/roboto/roboto-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family:'Roboto'; font-style:normal; font-weight:700; font-display:swap; src:url('fonts/roboto/roboto-latin-700-normal.woff2') format('woff2'); }

/* ───────────────────── Design tokens ───────────────────── */
:root {
  --teal-300:#5EEAD4; --teal-400:#2DD4BF; --teal-500:#14B8A6; --teal-600:#0D9488; --teal-700:#0F766E;
  --bg:#060B18; --surface-1:#0C1322; --surface-2:#131C2E; --surface-3:#1A2439;
  --border:#24304A; --border-strong:#35435E;
  --text-1:#F5F8FC; --text-2:#CBD5E4; --text-3:#94A3B8; --text-4:#6B7A93;
  --profit:#34D399; --profit-soft:rgba(52,211,153,.14);
  --loss:#F87171; --loss-soft:rgba(248,113,113,.14);
  --warn:#FBBF24; --blue:#60A5FA; --purple:#C084FC;
  --glow:rgba(20,184,166,.18); --ring:rgba(45,212,191,.55);
  --shadow-lg:0 24px 60px rgba(0,0,0,.5);
  --mono:'DM Sans', ui-monospace, 'SF Mono', Menlo, monospace;
  --maxw:1200px;
}

/* ─────────────────────────── Reset ─────────────────────────── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body {
  background:var(--bg); color:var(--text-2);
  font-family:'DM Sans', system-ui, sans-serif; font-size:16px; line-height:1.6;
  overflow-x:hidden; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  position:relative;
}
a { color:inherit; text-decoration:none; }
img,svg { max-width:100%; display:block; }
::selection { background:var(--teal-500); color:var(--bg); }
:focus-visible { outline:2px solid var(--ring); outline-offset:3px; border-radius:4px; }

.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position:fixed; left:16px; top:-60px; z-index:300; background:var(--teal-500); color:var(--bg); padding:10px 18px; border-radius:10px; font-weight:600; font-size:14px; transition:top .2s ease; }
.skip-link:focus { top:16px; }

.mono { font-family:var(--mono); font-variant-numeric:tabular-nums; letter-spacing:.02em; }

/* ───────────── Ambient background (fixed, behind everything) ───────────── */
.bg { position:fixed; inset:0; z-index:-2; pointer-events:none; overflow:hidden; background:var(--bg); }
.bg-grid {
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(20,184,166,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,184,166,.05) 1px, transparent 1px);
  background-size:54px 54px;
  -webkit-mask-image:radial-gradient(ellipse 100% 80% at 50% 0%, #000 20%, transparent 80%);
  mask-image:radial-gradient(ellipse 100% 80% at 50% 0%, #000 20%, transparent 80%);
}
.bg-aurora { position:absolute; border-radius:50%; filter:blur(90px); opacity:.5; }
.bg-aurora.a1 { width:640px; height:640px; top:-160px; left:-120px; background:radial-gradient(circle, rgba(20,184,166,.28), transparent 68%); animation:drift1 22s ease-in-out infinite; }
.bg-aurora.a2 { width:520px; height:520px; top:32%; right:-140px; background:radial-gradient(circle, rgba(96,165,250,.16), transparent 68%); animation:drift2 26s ease-in-out infinite; }
.bg-aurora.a3 { width:560px; height:560px; bottom:-160px; left:38%; background:radial-gradient(circle, rgba(52,211,153,.14), transparent 68%); animation:drift1 30s ease-in-out infinite reverse; }
@keyframes drift1 { 0%,100%{ transform:translate(0,0); } 50%{ transform:translate(40px,60px); } }
@keyframes drift2 { 0%,100%{ transform:translate(0,0); } 50%{ transform:translate(-50px,40px); } }

/* Cursor spotlight */
#spotlight {
  position:fixed; z-index:-1; width:520px; height:520px; border-radius:50%; pointer-events:none;
  background:radial-gradient(circle, rgba(45,212,191,.09), transparent 62%);
  transform:translate(-50%,-50%); left:50%; top:22%;
  transition:left .5s cubic-bezier(.16,1,.3,1), top .5s cubic-bezier(.16,1,.3,1); opacity:0;
}

/* ─────────────────── Chapter rail (fixed side nav) ─────────────────── */
.rail {
  position:fixed; z-index:60; right:26px; top:50%; transform:translateY(-50%);
  display:flex; flex-direction:column; gap:16px; align-items:flex-end;
}
.rail a { display:flex; align-items:center; gap:10px; color:var(--text-4); font-family:var(--mono); font-size:11px; letter-spacing:.1em; }
.rail a .rl-label { opacity:0; transform:translateX(6px); transition:opacity .3s ease, transform .3s ease; text-transform:uppercase; }
.rail a .rl-dot { width:8px; height:8px; border-radius:50%; border:1px solid var(--border-strong); transition:all .3s ease; }
.rail a:hover .rl-label { opacity:1; transform:none; color:var(--text-2); }
.rail a:hover .rl-dot { border-color:var(--teal-500); }
.rail a.active { color:var(--teal-400); }
.rail a.active .rl-label { opacity:1; transform:none; }
.rail a.active .rl-dot { background:var(--teal-400); border-color:var(--teal-400); box-shadow:0 0 12px var(--teal-400); transform:scale(1.15); }
@media (max-width:1140px) { .rail { display:none; } }

/* ─────────────────────────── Nav ─────────────────────────── */
.nav {
  position:fixed; inset:0 0 auto 0; z-index:100;
  display:flex; justify-content:space-between; align-items:center;
  padding:18px 34px; transition:padding .3s ease, background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom:1px solid transparent;
}
.nav.scrolled { padding:12px 34px; background:rgba(6,11,24,.7); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border-bottom-color:var(--border); }
.brand { display:inline-flex; align-items:center; gap:9px; font-family:'Roboto', sans-serif; font-weight:700; font-size:28px; line-height:1; letter-spacing:-.02em; color:var(--text-1); }
.brand .mark { width:27px; height:27px; border-radius:7px; box-shadow:0 0 18px var(--glow); }
.brand .word { display:inline-block; }
.brand .word .w-dim { opacity:.5; }
.nav-right { display:flex; align-items:center; gap:16px; }
.nav-links { display:flex; gap:26px; }
.nav-links a { font-size:13.5px; font-weight:500; color:var(--text-3); transition:color .2s ease; }
.nav-links a:hover { color:var(--teal-400); }
.lang { display:flex; gap:4px; }
.lang button { background:var(--surface-2); border:1px solid var(--border-strong); border-radius:100px; padding:5px 12px; color:var(--text-3); font:inherit; font-size:12px; font-weight:600; cursor:pointer; transition:all .2s ease; }
.lang button:hover { color:var(--text-1); border-color:var(--teal-600); }
.lang button.active { background:var(--teal-700); border-color:var(--teal-500); color:#fff; }
.nav-cta { display:inline-flex; align-items:center; gap:7px; background:var(--teal-500); color:var(--bg); padding:9px 17px; border-radius:100px; font-size:13px; font-weight:600; transition:background .2s ease, transform .2s ease, box-shadow .2s ease; box-shadow:0 0 24px rgba(20,184,166,.25); }
.nav-cta:hover { background:var(--teal-400); transform:translateY(-1px); box-shadow:0 0 34px rgba(20,184,166,.4); }
@media (max-width:900px) { .nav { padding:14px 20px; } .nav.scrolled { padding:12px 20px; } .nav-links { display:none; } }
@media (max-width:560px) { .nav-cta { display:none; } }

/* ─────────────────────────── Buttons ─────────────────────────── */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:15px 28px; border-radius:12px; font-weight:600; font-size:15px; cursor:pointer; border:1px solid transparent; transition:transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease; }
.btn-primary { background:var(--teal-500); color:var(--bg); box-shadow:0 0 34px rgba(20,184,166,.32); }
.btn-primary:hover { background:var(--teal-400); transform:translateY(-2px); box-shadow:0 0 52px rgba(20,184,166,.5); }
.btn-ghost { background:rgba(255,255,255,.02); color:var(--text-2); border-color:var(--border-strong); }
.btn-ghost:hover { border-color:var(--teal-500); color:var(--teal-400); transform:translateY(-2px); }

/* App-store style download badges */
.store-badge { display:inline-flex; align-items:center; gap:12px; padding:9px 20px 9px 15px; border-radius:14px; background:#0A0E16; border:1px solid rgba(255,255,255,.16); color:#fff; text-decoration:none; transition:transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease; }
.store-badge:hover { transform:translateY(-2px); border-color:rgba(255,255,255,.34); background:#0E131E; box-shadow:0 14px 34px rgba(0,0,0,.4); }
.store-badge .store-ic { width:27px; height:27px; flex-shrink:0; }
.store-badge .store-tx { display:flex; flex-direction:column; align-items:flex-start; line-height:1.12; text-align:left; }
.store-badge .store-tx small { font-size:10px; font-weight:500; letter-spacing:.02em; color:rgba(255,255,255,.72); text-transform:none; }
.store-badge .store-tx b { display:inline-block; font-family:'Syne', sans-serif; font-weight:800; font-size:18px; letter-spacing:.01em; transform:scaleY(1.22); transform-origin:center; }
.finale .hero-actions { justify-content:center; }

/* ─────────────────────────── Hero ─────────────────────────── */
.hero { position:relative; min-height:100vh; min-height:100dvh; display:flex; flex-direction:column; justify-content:center; align-items:center; padding:130px 24px 76px; }
.hero-inner { width:100%; max-width:var(--maxw); display:flex; flex-direction:column; align-items:center; gap:52px; }
.hero-copy { display:flex; flex-direction:column; align-items:center; text-align:center; }
.hero-kicker { display:inline-flex; align-items:center; gap:10px; font-family:var(--mono); font-size:12px; letter-spacing:.18em; text-transform:uppercase; color:var(--teal-300); margin-bottom:30px; padding:7px 16px; border:1px solid rgba(20,184,166,.28); border-radius:100px; background:rgba(20,184,166,.06); }
.hero-kicker .live { width:7px; height:7px; border-radius:50%; background:var(--teal-400); box-shadow:0 0 10px var(--teal-400); animation:pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:.35; transform:scale(.82); } }

.hero-title {
  font-family:'DM Serif Display', serif; font-weight:400;
  font-size:clamp(48px, 8.5vw, 116px); line-height:.94; letter-spacing:-.03em;
  color:var(--text-1); max-width:13ch; margin-bottom:26px;
}
.hero-title .grad {
  font-style:italic;
  background:linear-gradient(120deg, var(--teal-300), var(--teal-500) 55%, var(--blue));
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
}
.hero-sub { font-size:clamp(16px, 2vw, 20px); font-weight:300; color:var(--text-2); max-width:560px; line-height:1.6; margin:0 auto 20px; }
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; justify-content:center; margin-top:16px; }
.hero-meta { margin-top:26px; font-family:var(--mono); font-size:12px; color:var(--text-4); letter-spacing:.04em; }

.hero-visual { position:relative; display:flex; justify-content:center; align-items:center; }

/* Two-column hero on wider screens */
@media (min-width:980px){
  .hero { padding:104px 34px 60px; }
  .hero-inner { flex-direction:row; justify-content:space-between; align-items:center; gap:48px; text-align:left; }
  .hero-copy { flex:1 1 auto; align-items:flex-start; text-align:left; }
  .hero-title { max-width:11ch; font-size:clamp(56px, 6.2vw, 100px); }
  .hero-sub { margin-left:0; margin-right:0; }
  .hero-actions { justify-content:flex-start; }
  .hero-visual { flex:0 0 auto; margin-right:56px; }
}

/* Hero entrance (JS adds .lit to <body>) */
.hero-kicker,.hero-title,.hero-sub,.hero-actions,.hero-meta,.hero-visual,.ticker-wrap { opacity:0; transform:translateY(26px); filter:blur(6px); }
body.lit .hero-kicker { animation:rise .8s .05s cubic-bezier(.16,1,.3,1) forwards; }
body.lit .hero-title { animation:rise .9s .16s cubic-bezier(.16,1,.3,1) forwards; }
body.lit .hero-sub { animation:rise .8s .30s cubic-bezier(.16,1,.3,1) forwards; }
body.lit .hero-actions { animation:rise .8s .40s cubic-bezier(.16,1,.3,1) forwards; }
body.lit .hero-meta { animation:rise .8s .48s cubic-bezier(.16,1,.3,1) forwards; }
body.lit .hero-visual { animation:rise 1s .34s cubic-bezier(.16,1,.3,1) forwards; }
body.lit .ticker-wrap { animation:rise .9s .62s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes rise { to { opacity:1; transform:none; filter:blur(0); } }

/* Ticker tape */
.ticker-wrap { position:absolute; bottom:0; left:0; right:0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); background:rgba(12,19,34,.5); backdrop-filter:blur(6px); overflow:hidden; padding:13px 0; -webkit-mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker { display:inline-flex; gap:40px; white-space:nowrap; animation:scrollx 38s linear infinite; will-change:transform; }
.ticker-wrap:hover .ticker { animation-play-state:paused; }
.ticker span { font-family:var(--mono); font-size:13px; letter-spacing:.03em; color:var(--text-3); display:inline-flex; align-items:center; gap:8px; }
.ticker .up { color:var(--profit); } .ticker .down { color:var(--loss); } .ticker .sym { color:var(--text-1); font-weight:600; }
@keyframes scrollx { from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ─────────────────── Section scaffolding ─────────────────── */
.section { max-width:var(--maxw); margin:0 auto; padding:120px 34px; }
@media (max-width:640px){ .section{ padding:88px 20px; } }
.chapter { display:flex; align-items:baseline; gap:18px; margin-bottom:52px; }
.chapter-no { display:inline-block; font-family:'Syne', sans-serif; font-weight:800; font-size:clamp(40px,7vw,84px); line-height:1; color:transparent; -webkit-text-stroke:1px var(--border-strong); letter-spacing:-.02em; transform:scaleY(1.18); transform-origin:top left; }
.chapter-tx { flex:1; }
.eyebrow { font-family:var(--mono); font-size:12px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:var(--teal-500); margin-bottom:14px; }
.title { font-family:'DM Serif Display', serif; font-weight:400; font-size:clamp(30px,4.6vw,54px); line-height:1.06; letter-spacing:-.02em; color:var(--text-1); }
.title em { font-style:italic; color:var(--teal-400); }
.lead { font-size:17px; font-weight:300; color:var(--text-2); line-height:1.7; max-width:620px; margin-top:16px; }

/* ─────────────────── Marquee band (stats) ─────────────────── */
.band { border-top:1px solid var(--border); border-bottom:1px solid var(--border); background:linear-gradient(180deg, var(--surface-1), transparent); overflow:hidden; padding:26px 0; -webkit-mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.band-row { display:inline-flex; gap:56px; white-space:nowrap; animation:scrollx 30s linear infinite; align-items:center; }
.band-row .item { display:inline-flex; align-items:baseline; gap:12px; }
.band-row .n { font-family:'DM Serif Display', serif; font-size:26px; color:var(--teal-400); }
.band-row .l { font-family:var(--mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--text-4); }
.band-row .dot { color:var(--border-strong); }

/* ─────────────────── Bento grid (features) ─────────────────── */
.bento { display:grid; grid-template-columns:repeat(6,1fr); grid-auto-rows:minmax(150px,auto); gap:16px; }
.cell {
  position:relative; overflow:hidden; border:1px solid var(--border); border-radius:20px;
  background:linear-gradient(160deg, var(--surface-2), var(--surface-1));
  padding:26px; display:flex; flex-direction:column;
  transition:transform .35s cubic-bezier(.16,1,.3,1), border-color .35s ease, box-shadow .35s ease;
}
.cell::after { content:''; position:absolute; inset:-1px; border-radius:20px; padding:1px; background:linear-gradient(140deg, rgba(20,184,166,.5), transparent 40%); -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude; opacity:0; transition:opacity .35s ease; pointer-events:none; }
.cell:hover { transform:translateY(-5px); border-color:rgba(20,184,166,.32); box-shadow:0 30px 60px rgba(0,0,0,.4), 0 0 40px rgba(20,184,166,.08); }
.cell:hover::after { opacity:1; }
.cell .chip { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; margin-bottom:auto; }
.cell .chip svg { width:22px; height:22px; }
.cell h3 { font-size:16px; font-weight:600; color:var(--text-1); margin:20px 0 8px; }
.cell p { font-size:13.5px; color:var(--text-3); line-height:1.62; }
.cell .tag { align-self:flex-start; margin-top:14px; font-family:var(--mono); font-size:10.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--profit); border:1px solid rgba(52,211,153,.3); background:rgba(52,211,153,.08); padding:4px 10px; border-radius:100px; }
/* spans */
.c-2 { grid-column:span 2; } .c-3 { grid-column:span 3; } .c-4 { grid-column:span 4; } .c-6 { grid-column:span 6; }
.row-2 { grid-row:span 2; }
.cell.feature-hero { justify-content:flex-end; background:linear-gradient(150deg, var(--surface-3), var(--surface-1)); }
.cell.feature-hero h3 { font-family:'DM Serif Display', serif; font-weight:400; font-size:26px; margin-bottom:12px; }
.cell.feature-hero .big { display:inline-block; font-family:'Syne',sans-serif; font-weight:800; font-size:clamp(30px,4vw,46px); color:var(--teal-400); line-height:1; margin-bottom:6px; letter-spacing:-.02em; transform:scaleY(1.18); transform-origin:bottom left; }
.chip.teal{background:rgba(20,184,166,.13);color:var(--teal-400)} .chip.green{background:var(--profit-soft);color:var(--profit)} .chip.amber{background:rgba(251,191,36,.13);color:var(--warn)} .chip.blue{background:rgba(96,165,250,.13);color:var(--blue)} .chip.purple{background:rgba(192,132,252,.13);color:var(--purple)} .chip.red{background:var(--loss-soft);color:var(--loss)}
@media (max-width:900px){ .bento{ grid-template-columns:repeat(2,1fr); } .c-2,.c-3,.c-4,.c-6{ grid-column:span 2; } .row-2{ grid-row:auto; } }
@media (max-width:520px){ .bento{ grid-template-columns:1fr; } .c-2,.c-3,.c-4,.c-6{ grid-column:span 1; } }

/* Mini equity svg inside a cell */
.spark { margin-top:16px; }
.spark svg { width:100%; height:auto; }
.spark .draw { stroke-dasharray:1; stroke-dashoffset:1; }
.visible .spark .draw { animation:draw 1.8s .2s ease forwards; }
@keyframes draw { to { stroke-dashoffset:0; } }

/* ─────────────────── Insights grid (vertical, matches page language) ─────────────────── */
.insight-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
@media (max-width:960px){ .insight-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .insight-grid{ grid-template-columns:1fr; } }
.i-card {
  position:relative; overflow:hidden; display:flex; flex-direction:column;
  border:1px solid var(--border); border-radius:20px; padding:26px;
  background:linear-gradient(160deg, var(--surface-2), var(--surface-1));
  transition:transform .35s cubic-bezier(.16,1,.3,1), border-color .35s ease, box-shadow .35s ease;
}
.i-card::after { content:''; position:absolute; inset:-1px; border-radius:20px; padding:1px; background:linear-gradient(140deg, rgba(20,184,166,.5), transparent 42%); -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude; opacity:0; transition:opacity .35s ease; pointer-events:none; }
.i-card:hover { transform:translateY(-5px); border-color:rgba(20,184,166,.32); box-shadow:0 30px 60px rgba(0,0,0,.4), 0 0 40px rgba(20,184,166,.08); }
.i-card:hover::after { opacity:1; }
.i-card .idx { font-family:var(--mono); font-size:12px; letter-spacing:.08em; color:var(--text-4); margin-bottom:auto; }
.i-card .chip { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; margin:22px 0 16px; }
.i-card .chip svg { width:22px; height:22px; }
.i-card h3 { font-size:16px; font-weight:600; color:var(--text-1); margin-bottom:8px; }
.i-card p { font-size:13.5px; color:var(--text-3); line-height:1.62; }
.i-more { margin-top:20px; padding:18px 22px; border:1px solid var(--border); border-radius:14px; background:var(--surface-1); font-family:var(--mono); font-size:12.5px; color:var(--text-4); line-height:1.85; letter-spacing:.02em; }

/* ─────────────────── Stat counters ─────────────────── */
.counters { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--border); border:1px solid var(--border); border-radius:20px; overflow:hidden; }
.counter { background:var(--surface-1); padding:34px 26px; }
.counter .v { font-family:'DM Serif Display', serif; font-size:clamp(34px,4.4vw,52px); line-height:1; color:var(--text-1); font-variant-numeric:tabular-nums; }
.counter .v.g { color:var(--profit); } .counter .v.t { color:var(--teal-400); }
.counter .k { font-family:var(--mono); font-size:11.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--text-4); margin-top:12px; }
@media (max-width:820px){ .counters{ grid-template-columns:repeat(2,1fr); } }

/* ─────────────────── Terminal (security) ─────────────────── */
.terminal { border:1px solid var(--border); border-radius:16px; overflow:hidden; background:var(--surface-1); box-shadow:var(--shadow-lg); }
.term-bar { display:flex; align-items:center; gap:8px; padding:14px 18px; border-bottom:1px solid var(--border); background:var(--surface-2); }
.term-bar .dot { width:11px; height:11px; border-radius:50%; }
.term-bar .r{ background:#F87171; } .term-bar .y{ background:#FBBF24; } .term-bar .g{ background:#34D399; }
.term-bar .path { margin-left:12px; font-family:var(--mono); font-size:12px; color:var(--text-4); }
.term-body { padding:26px 24px; font-family:var(--mono); font-size:13.5px; line-height:2; }
.term-line { display:flex; gap:14px; align-items:baseline; flex-wrap:wrap; padding:8px 0; border-bottom:1px dashed rgba(36,48,74,.6); }
.term-line:last-child { border-bottom:none; }
.term-line .cmd { color:var(--teal-400); }
.term-line .cmd::before { content:'▸ '; color:var(--text-4); }
.term-line .out { color:var(--text-2); flex:1; min-width:200px; }
.term-line .ok { color:var(--profit); display:inline-flex; align-items:center; gap:6px; white-space:nowrap; }
.term-line .ok svg { width:14px; height:14px; }

/* ─────────────────── Pricing ─────────────────── */
.pricing { display:grid; grid-template-columns:1fr 1fr; gap:20px; max-width:840px; margin:0 auto; }
@media (max-width:640px){ .pricing{ grid-template-columns:1fr; } }
.plan { position:relative; border:1px solid var(--border); border-radius:24px; padding:34px; background:var(--surface-1); }
.plan.pro { border-color:rgba(20,184,166,.4); background:linear-gradient(160deg, var(--surface-3), var(--surface-1)); box-shadow:0 0 46px rgba(20,184,166,.1); }
.plan .flag { position:absolute; top:-12px; left:34px; background:var(--teal-500); color:var(--bg); font-family:var(--mono); font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; padding:5px 14px; border-radius:100px; }
.plan .tier { font-family:var(--mono); font-size:13px; letter-spacing:.1em; text-transform:uppercase; color:var(--text-3); margin-bottom:14px; }
.plan .price { font-family:'DM Serif Display', serif; font-size:56px; line-height:1; color:var(--text-1); }
.plan .price sup { font-size:24px; vertical-align:top; margin-top:8px; display:inline-block; }
.plan .per { font-family:var(--mono); font-size:12.5px; color:var(--text-4); margin:6px 0 26px; }
.plan ul { list-style:none; display:flex; flex-direction:column; gap:12px; margin-bottom:28px; }
.plan li { display:flex; align-items:center; gap:11px; font-size:14px; color:var(--text-2); }
.plan li svg { width:15px; height:15px; flex-shrink:0; color:var(--teal-500); }
.plan li.off { color:var(--text-4); } .plan li.off svg { color:var(--text-4); }
.plan .cta { display:block; text-align:center; padding:14px; border-radius:12px; font-weight:600; font-size:14px; transition:all .2s ease; }
.plan .cta.solid { background:var(--teal-500); color:var(--bg); }
.plan .cta.solid:hover { background:var(--teal-400); }
.plan .cta.ghost { border:1px solid var(--border-strong); color:var(--text-3); }
.plan .cta.ghost:hover { border-color:var(--teal-500); color:var(--teal-400); }
.trial { text-align:center; margin-top:24px; font-family:var(--mono); font-size:12.5px; color:var(--text-4); }
.trial::before { content:'★ '; color:var(--warn); }

/* ─────────────────── FAQ ─────────────────── */
.faq { max-width:820px; margin:0 auto; }
.qa { border-bottom:1px solid var(--border); }
.qa summary { list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:20px; padding:24px 4px; font-size:17px; font-weight:600; color:var(--text-1); transition:color .2s ease; }
.qa summary::-webkit-details-marker { display:none; }
.qa summary:hover { color:var(--teal-400); }
.qa .ico { flex-shrink:0; width:20px; height:20px; color:var(--teal-500); transition:transform .3s ease; }
.qa[open] .ico { transform:rotate(45deg); }
.qa .a { padding:0 4px 24px; max-width:720px; }
.qa .a p { font-size:14.5px; color:var(--text-3); line-height:1.72; }
.qa .a a { color:var(--teal-400); }

/* ─────────────────── Finale ─────────────────── */
.finale { position:relative; min-height:92vh; display:flex; align-items:center; justify-content:center; text-align:center; padding:100px 24px; overflow:hidden; border-top:1px solid var(--border); }
.finale::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse 60% 50% at 50% 50%, rgba(20,184,166,.12), transparent 70%); pointer-events:none; }
.finale-inner { position:relative; z-index:1; max-width:820px; }
.finale h2 { font-family:'DM Serif Display', serif; font-weight:400; font-size:clamp(38px,7vw,92px); line-height:1; letter-spacing:-.03em; color:var(--text-1); margin-bottom:26px; }
.finale h2 em { font-style:italic; color:var(--teal-400); }
.finale p { font-size:18px; font-weight:300; color:var(--text-3); max-width:520px; margin:0 auto 36px; line-height:1.6; }
.finale .note { margin-top:24px; font-family:var(--mono); font-size:12px; color:var(--text-4); letter-spacing:.04em; }

/* ─────────────────── Footer ─────────────────── */
.footer { border-top:1px solid var(--border); background:var(--surface-1); padding:56px 34px 34px; }
.footer-inner { max-width:var(--maxw); margin:0 auto; display:grid; grid-template-columns:1fr auto; gap:40px; align-items:start; }
@media (max-width:640px){ .footer-inner{ grid-template-columns:1fr; } }
.footer-desc { font-size:13px; color:var(--text-4); max-width:300px; line-height:1.6; margin-top:12px; }
.footer-links { display:flex; flex-direction:column; gap:11px; align-items:flex-end; }
@media (max-width:640px){ .footer-links{ align-items:flex-start; } }
.footer-links a { font-size:13px; color:var(--text-3); transition:color .2s ease; }
.footer-links a:hover { color:var(--teal-400); }
.footer-bottom { max-width:var(--maxw); margin:34px auto 0; padding-top:24px; border-top:1px solid var(--border); display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; font-family:var(--mono); font-size:11.5px; color:var(--text-4); }

/* ─────────────────── Scroll reveal ─────────────────── */
.reveal { opacity:0; transform:translateY(34px); filter:blur(4px); transition:opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1), filter .8s ease; }
.reveal.visible { opacity:1; transform:none; filter:blur(0); }
.shadow-lg { box-shadow:0 24px 60px rgba(0,0,0,.5); }

/* ═══════════════════ Device mockup (in hero) ═══════════════════ */
.showcase-aura { position:absolute; top:6%; left:50%; transform:translateX(-50%); width:min(460px,104%); height:80%; background:radial-gradient(ellipse at center, rgba(20,184,166,.26), transparent 70%); filter:blur(48px); z-index:0; pointer-events:none; }

/* Device frame */
.device {
  position:relative; z-index:1; width:340px; height:736px; border-radius:58px;
  background:#0A0F1A; padding:12px;
  border:1px solid #2A3550;
  box-shadow:0 0 0 2px #05080F, 0 40px 90px rgba(0,0,0,.6), 0 0 70px rgba(20,184,166,.12);
  animation:pmFloat 7s ease-in-out infinite;
}
@keyframes pmFloat { 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-12px); } }
.device-notch { position:absolute; top:27px; left:50%; transform:translateX(-50%); width:112px; height:24px; background:#05080F; border-radius:100px; z-index:5; }

/* Dark app screen */
.screen {
  position:relative; width:100%; height:100%; border-radius:47px; overflow:hidden;
  background:#000000; color:#F5F7FA;
  font-family:-apple-system, 'DM Sans', system-ui, sans-serif;
  display:flex; flex-direction:column;
  --pm-green:#34D399; --pm-red:#F0616A; --pm-muted:#7A8496; --pm-teal:#2DD4BF; --pm-card:#16181D; --pm-border:rgba(255,255,255,.07);
}

/* Status bar */
.pm-status { display:flex; align-items:center; justify-content:space-between; padding:16px 22px 6px; font-size:14px; color:#F5F7FA; }
.pm-time { font-weight:700; letter-spacing:.02em; }
.pm-status-r { display:flex; align-items:center; gap:6px; }
.pm-sos { font-size:12px; font-weight:700; color:#F5F7FA; }
.pm-wifi { width:17px; height:15px; }
.pm-batt { position:relative; width:24px; height:12px; border-radius:3px; border:1.4px solid rgba(255,255,255,.55); padding:1.4px; }
.pm-batt::after { content:''; position:absolute; right:-3px; top:3px; width:2px; height:5px; border-radius:0 2px 2px 0; background:rgba(255,255,255,.55); }
.pm-batt-fill { display:block; width:100%; height:100%; border-radius:1px; background:#34C759; }
.pm-batt-pct { font-size:11px; font-weight:700; }

/* Content scroll body */
.screen > *:not(.pm-status):not(.pm-nav) { flex:none; }
.pm-head { display:flex; align-items:center; gap:10px; padding:7px 18px 4px; }
.pm-logo { height:42px; display:flex; align-items:center; }
.pm-logo img { height:100%; width:auto; object-fit:contain; display:block; filter:drop-shadow(0 2px 5px rgba(0,0,0,.55)); }
.pm-brand-top { font-size:19px; font-weight:600; color:#FFFFFF; display:flex; align-items:center; gap:7px; line-height:1; }
.pm-brand-top b { font-weight:800; color:rgba(255,255,255,.55); }
.pm-pro { font-size:10px; font-weight:800; letter-spacing:.04em; color:#F0C14B; background:rgba(234,179,8,.12); border:1px solid rgba(234,179,8,.42); padding:2px 7px; border-radius:6px; }
.pm-brand-sub { font-size:12px; color:var(--pm-muted); margin-top:3px; }

.pm-pl-label { padding:8px 20px 0; font-size:13px; color:var(--pm-muted); font-weight:500; }
.pm-pl-value { padding:0 20px; font-size:34px; font-weight:800; letter-spacing:-.02em; color:#FFFFFF; line-height:1.1; }

.pm-chart-card { margin:6px 14px 0; padding:12px 14px 0; background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,0)); border:1px solid var(--pm-border); border-radius:18px; }
.pm-chart-top { display:flex; justify-content:space-between; font-size:13px; color:var(--pm-muted); font-weight:500; }
.pm-chart-top .pm-green { color:var(--pm-green); font-weight:700; }
.pm-equity { width:100%; height:74px; margin-top:6px; }

/* Quick tiles */
.pm-tiles { display:grid; grid-template-columns:repeat(4,1fr); gap:9px; padding:14px 14px 0; }
.pm-tile { background:var(--pm-card); border:1px solid var(--pm-border); border-radius:15px; padding:11px 4px 9px; display:flex; flex-direction:column; align-items:center; gap:7px; }
.pm-tile-ic { position:relative; width:38px; height:38px; border-radius:11px; display:flex; align-items:center; justify-content:center; }
.pm-tile-ic svg { width:19px; height:19px; }
.pm-tile-ic.blue { background:rgba(59,130,246,.16); color:#5B9DF9; }
.pm-tile-ic.purple { background:rgba(155,93,229,.16); color:#B583F0; }
.pm-tile-ic.teal { background:rgba(45,212,191,.14); color:#2DD4BF; }
.pm-tile-ic.amber { background:rgba(232,145,43,.16); color:#F0A94B; }
.pm-tile-badge { position:absolute; top:-5px; right:-5px; min-width:16px; height:16px; padding:0 4px; border-radius:100px; background:#E8912B; color:#fff; font-size:10px; font-weight:800; display:flex; align-items:center; justify-content:center; box-shadow:0 0 0 2px var(--pm-card); }
.pm-tile span { font-size:11px; font-weight:600; color:#C3CAD6; }

/* Stat cards */
.pm-stats { display:grid; grid-template-columns:1fr 1fr; gap:9px; padding:12px 14px 0; }
.pm-stat { background:var(--pm-card); border:1px solid var(--pm-border); border-radius:15px; padding:11px 11px 4px; overflow:hidden; }
.pm-stat-label { font-size:9.5px; font-weight:700; letter-spacing:.06em; color:var(--pm-muted); }
.pm-stat-val { font-size:17px; font-weight:800; letter-spacing:-.03em; color:#FFFFFF; margin-top:2px; white-space:nowrap; }
.pm-stat-val.green { color:var(--pm-green); } .pm-stat-val.red { color:var(--pm-red); }
.pm-spark { width:calc(100% + 24px); height:30px; margin:4px 0 0 -12px; }

/* Recent activity */
.pm-recent-head { display:flex; align-items:center; justify-content:space-between; padding:16px 20px 8px; }
.pm-recent-head > span:first-child { font-size:12px; font-weight:800; letter-spacing:.06em; color:#9AA3B2; }
.pm-seeall { font-size:13px; font-weight:600; color:var(--pm-teal); }
.pm-trade { display:flex; gap:11px; align-items:flex-start; margin:0 14px; padding:12px 13px; background:var(--pm-card); border-radius:15px; border:1px solid rgba(232,145,43,.28); }
.pm-trade-ic { flex-shrink:0; width:36px; height:36px; border-radius:9px; background:#FFFFFF; color:#000; font-size:9px; font-weight:800; letter-spacing:.02em; display:flex; align-items:center; justify-content:center; }
.pm-trade-body { flex:1; min-width:0; }
.pm-trade-top { display:flex; align-items:center; gap:6px; }
.pm-ticker { font-size:15px; font-weight:800; color:#FFFFFF; }
.pm-tag { font-size:9px; font-weight:800; letter-spacing:.03em; padding:2px 6px; border-radius:5px; }
.pm-tag.call { background:rgba(59,130,246,.18); color:#6BA5FF; }
.pm-tag.setup { background:rgba(232,145,43,.18); color:#F0A94B; }
.pm-open { margin-left:auto; font-size:12px; font-weight:800; color:#F0A94B; }
.pm-trade-sub { display:flex; justify-content:space-between; gap:8px; white-space:nowrap; font-size:10.5px; color:#8891A0; margin-top:5px; }
.pm-trade-src { display:flex; align-items:center; gap:6px; font-size:11px; color:var(--pm-muted); margin-top:5px; }
.pm-srcdot { width:6px; height:6px; border-radius:50%; background:#E8912B; }

/* Bottom nav */
.pm-nav { margin-top:auto; display:flex; align-items:center; justify-content:space-around; padding:9px 8px 20px; background:rgba(10,12,16,.92); backdrop-filter:blur(8px); border-top:1px solid rgba(255,255,255,.06); }
.pm-nav-item { display:flex; flex-direction:column; align-items:center; gap:3px; color:var(--pm-muted); }
.pm-nav-item svg { width:22px; height:22px; }
.pm-nav-item span { font-size:10px; font-weight:600; }
.pm-nav-item.active { color:var(--pm-teal); }
.pm-add { width:34px; height:34px; border-radius:50%; background:#FFFFFF; display:flex; align-items:center; justify-content:center; }
.pm-add svg { width:18px; height:18px; stroke:#000; }

@media (max-width:980px){
  .device { width:330px; height:697px; }
}
@media (max-width:420px){
  .device { width:290px; height:612px; border-radius:50px; }
  .screen { border-radius:40px; }
  .pm-pl-value { font-size:30px; }
}

/* ─────────────────── Reduced motion ─────────────────── */
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
  .hero-kicker,.hero-title,.hero-sub,.hero-actions,.hero-meta,.ticker-wrap,.reveal { opacity:1 !important; transform:none !important; filter:none !important; }
  .ticker,.band-row { animation:none !important; }
  .bg-aurora { animation:none !important; }
  #spotlight { display:none; }
}
