*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #0f1117;
  --bg2:         #13151c;
  --surface:     rgba(255,255,255,0.04);
  --surface-mid: rgba(255,255,255,0.06);
  --surface-hi:  rgba(255,255,255,0.09);
  --text:        #f0f0f5;
  --muted:       rgba(255,255,255,0.38);
  --sub:         rgba(255,255,255,0.55);
  --border:      rgba(255,255,255,0.07);
  --border-hi:   rgba(255,255,255,0.12);
  --green:       #10b981;
  --red:         #f43f5e;
  --font:        'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }

/* ── NAV ── */
nav {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
  z-index: 100; display: flex; align-items: center; gap: 4px;
  background: rgba(15,17,23,0.9); border: 1px solid var(--border-hi);
  border-radius: 100px; padding: 8px 14px;
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
  white-space: nowrap; max-width: calc(100vw - 32px);
}
.nav-logo { font-weight: 600; font-size: 14px; letter-spacing: -0.3px; color: var(--text); margin-right: 10px; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 13px; padding: 6px 12px; border-radius: 100px; transition: color 0.18s, background 0.18s; }
.nav-links a:hover { color: var(--text); background: var(--surface-hi); }
.nav-cta { background: var(--green) !important; color: #fff !important; font-weight: 500; padding: 7px 16px !important; margin-left: 4px; border-radius: 100px !important; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; margin-left: 8px; }
.nav-hamburger span { display: block; width: 18px; height: 1.5px; background: var(--muted); border-radius: 2px; margin: 4px 0; transition: transform 0.2s, opacity 0.2s; }

/* ── HERO ── */
.hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px 20px 60px; max-width: 1200px; margin: 0 auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 7px; background: var(--surface-mid); border: 1px solid var(--border-hi); border-radius: 100px; padding: 5px 14px; font-size: 12px; color: var(--muted); margin-bottom: 30px; }
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
h1 { font-size: clamp(36px, 7vw, 76px); font-weight: 500; line-height: 1.04; letter-spacing: -2.5px; max-width: 740px; margin-bottom: 22px; }
h1 .accent { color: var(--green); }
.hero-sub { font-size: clamp(15px, 2vw, 18px); color: var(--muted); max-width: 460px; line-height: 1.65; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 56px; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--green); color: #fff; border: none; border-radius: 10px; padding: 13px 24px; font-size: 14px; font-weight: 500; font-family: var(--font); cursor: pointer; text-decoration: none; transition: transform 0.18s; }
.btn-primary:hover { transform: translateY(-1px); }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; background: var(--surface-mid); border: 1px solid var(--border-hi); color: var(--sub); border-radius: 10px; padding: 13px 24px; font-size: 14px; font-weight: 500; font-family: var(--font); cursor: pointer; text-decoration: none; transition: background 0.18s, color 0.18s; }
.btn-secondary:hover { background: var(--surface-hi); color: var(--text); }

/* hero mock */
.app-preview { width: 100%; max-width: 920px; margin: 0 auto; border-radius: 14px; overflow: hidden; border: 1px solid var(--border-hi); }
.app-preview img { display: block; width: 100%; height: auto; }

/* ── STATS BAR ── */
.stats-bar { max-width:920px; margin:40px auto; display:grid; grid-template-columns:repeat(3,1fr); gap:2px; padding:0 20px; }
.sp { background:var(--surface); border:1px solid var(--border); padding:26px 24px; text-align:center; }
.sp:first-child{border-radius:14px 0 0 14px} .sp:last-child{border-radius:0 14px 14px 0}
.sp-n { font-size:clamp(28px,5vw,36px); font-weight:500; letter-spacing:-2px; line-height:1; }
.sp-n span { color:var(--green); }
.sp-l { font-size:12px; color:var(--muted); margin-top:5px; }

/* ── FEATURES (brief list) ── */
.features-brief { max-width:1100px; margin:0 auto; padding:80px 20px; }
.eyebrow { font-size:11px; font-weight:500; color:var(--sub); text-transform:uppercase; letter-spacing:1.5px; margin-bottom:14px; }
.section-h { font-size:clamp(26px,4vw,42px); font-weight:500; letter-spacing:-1.5px; line-height:1.1; margin-bottom:48px; }

.feat-list { display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:var(--border); border:1px solid var(--border); border-radius:16px; overflow:hidden; }
.feat-item { background:var(--bg); padding:28px 32px; display:flex; flex-direction:column; gap:6px; transition:background 0.18s; text-decoration:none; color:inherit; cursor:pointer; }
.feat-item:hover { background:var(--surface); }
.feat-name { font-size:15px; font-weight:500; color:var(--text); }
.feat-desc { font-size:13px; color:var(--muted); line-height:1.6; }
.feat-link { font-size:12px; color:var(--sub); margin-top:4px; text-decoration:none; display:inline-flex; align-items:center; gap:4px; opacity:0; transition:opacity 0.18s; }
.feat-item:hover .feat-link { opacity:1; }

/* ── WAITLIST ── */
.ws { max-width:1100px; margin:0 auto 0; padding:0 20px 100px; }
.wcard { background:var(--surface); border:1px solid var(--border-hi); border-radius:20px; padding:64px 48px; text-align:center; }
.wt3 { font-size:clamp(26px,4vw,46px); font-weight:500; letter-spacing:-1.5px; margin-bottom:12px; }
.ws3 { font-size:15px; color:var(--muted); margin-bottom:32px; }
.eform { display:flex; gap:9px; max-width:440px; margin:0 auto; }
.einput { flex:1; background:rgba(255,255,255,0.06); border:1px solid var(--border-hi); border-radius:10px; padding:13px 16px; font-size:14px; font-family:var(--font); color:var(--text); outline:none; transition:border-color 0.18s, box-shadow 0.18s; }
.einput:focus { border-color:var(--green); box-shadow:0 0 0 3px rgba(16,185,129,0.1); }
.einput::placeholder { color:var(--muted); }
.smsg { display:none; align-items:center; justify-content:center; gap:7px; color:var(--green); font-size:14px; font-weight:500; margin-top:14px; }
.wnote { margin-top:14px; font-size:11.5px; color:var(--muted); }

/* ── SHOWCASE ── */
.showcase { max-width:1200px; margin:0 auto 40px; padding:0 20px; }
.showcase-pin { position:relative; height:600vh; }
.showcase-stage { position:sticky; top:0; height:100vh; display:flex; flex-direction:column; align-items:center; justify-content:center; overflow:hidden; }
.showcase-track { position:relative; width:100%; display:flex; align-items:center; justify-content:center; }
.showcase-frame { position:absolute; inset:0; width:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px; opacity:0; transform:scale(0.94) translateY(14px); transition:opacity 0.45s ease, transform 0.45s ease; pointer-events:none; }
.showcase-frame.is-active { opacity:1; transform:scale(1) translateY(0); pointer-events:auto; }
.showcase-label { display:flex; align-items:center; gap:10px; font-size:13px; font-weight:500; color:var(--muted); }
.showcase-label .num { width:22px; height:22px; border-radius:50%; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.1); color:rgba(255,255,255,0.5); font-size:11px; font-weight:600; display:flex; align-items:center; justify-content:center; }
.scale-wrap { width:100%; flex:1; min-height:0; display:flex; align-items:center; justify-content:center; overflow:visible; }
.scale-inner { width:920px; flex-shrink:0; transform-origin:center center; border-radius:14px; overflow:hidden; border:1px solid var(--border-hi); box-shadow:0 24px 64px rgba(0,0,0,0.6); }
.scale-inner img { display:block; width:100%; height:auto; }
.showcase-rail { position:absolute; bottom:24px; left:0; right:0; z-index:20; display:flex; justify-content:center; gap:7px; }
.rail-dot { width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,0.14); transition:background 0.25s, transform 0.25s; }
.rail-dot.active { background:var(--green); transform:scale(1.3); }
.scroll-hint { display:flex; align-items:center; gap:6px; font-size:12px; color:var(--muted); margin-top:-10px; opacity:0.7; }
.scroll-hint svg { animation:bob 1.6s ease-in-out infinite; }
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(4px)} }

/* ── AFFILIATE ── */
.aff { max-width:1100px; margin:0 auto; padding:0 20px 100px; }
.aff-inner { border:1px solid var(--border-hi); border-radius:20px; overflow:hidden; }
.aff-top { padding:56px 52px; display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.aff-eyebrow { font-size:11px; font-weight:500; color:var(--sub); text-transform:uppercase; letter-spacing:1.5px; margin-bottom:14px; }
.aff-h { font-size:clamp(24px,3.5vw,38px); font-weight:500; letter-spacing:-1px; line-height:1.1; margin-bottom:14px; }
.aff-p { font-size:15px; color:var(--muted); line-height:1.7; margin-bottom:28px; }
.aff-perks { display:flex; flex-direction:column; gap:0; }
.aff-perk { display:grid; grid-template-columns:100px 1fr; gap:0; padding:20px 24px; border-bottom:1px solid var(--border); }
.aff-perk:last-child { border-bottom:none; }
.aff-perk-num { font-size:clamp(32px,4vw,48px); font-weight:500; letter-spacing:-2px; color:var(--text); line-height:1; }
.aff-perk-body { display:flex; flex-direction:column; justify-content:center; gap:4px; }
.aff-perk-label { font-size:14px; font-weight:500; color:var(--text); }
.aff-perk-sub { font-size:13px; color:var(--muted); line-height:1.5; }
.aff-bottom { background:var(--surface); border-top:1px solid var(--border); padding:28px 52px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.aff-bottom-text { font-size:14px; color:var(--muted); }
.aff-bottom-text strong { color:var(--text); font-weight:500; }

/* ── FOOTER ── */
footer { border-top:1px solid var(--border); max-width:1200px; margin:0 auto; padding:28px 20px; display:flex; align-items:center; justify-content:space-between; font-size:12.5px; color:var(--muted); }
.flinks { display:flex; gap:18px; }
.flinks a { color:var(--muted); text-decoration:none; transition:color 0.15s; }
.flinks a:hover { color:var(--text); }

/* ── MOBILE-FIRST RESPONSIVE ── */
@media (max-width:1024px) {
  .aff-top { padding:44px 36px; gap:40px; }
  .aff-bottom { padding:24px 36px; }
  .wcard { padding:56px 36px; }
}

@media (max-width:768px) {
  /* Nav */
  nav { top:12px; width:calc(100% - 32px); padding:8px 14px; }
  .nav-links { display:none; }
  .nav-hamburger { display:block; }
  .nav-links.open {
    display:flex; flex-direction:column;
    position:absolute; top:52px; left:0; right:0;
    background:rgba(15,17,23,0.97);
    backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px);
    border-radius:14px; border:1px solid var(--border-hi);
    padding:8px; box-shadow:0 8px 32px rgba(0,0,0,0.5);
  }
  .nav-links.open a { padding:12px 16px; border-radius:10px; font-size:15px; }
  .nav-cta { margin-left:0 !important; }

  /* Hero */
  .hero { padding:100px 20px 48px; }
  .hero-sub { font-size:15px; }
  .hero-actions { gap:8px; }
  .btn-primary, .btn-secondary { padding:12px 20px; font-size:14px; }

  /* Stats bar */
  .stats-bar { grid-template-columns:1fr; gap:8px; padding:0 20px; }
  .sp, .sp:first-child, .sp:last-child { border-radius:12px; }

  /* Features */
  .features-brief { padding:56px 20px; }
  .feat-list { grid-template-columns:1fr; }
  .feat-link { opacity:1; }

  /* Waitlist */
  .ws { padding:0 20px 72px; }
  .wcard { padding:44px 24px; border-radius:16px; }
  .eform { flex-direction:column; }
  .einput { font-size:16px; /* prevent iOS zoom */ }

  /* Showcase */
  .showcase { padding:0 16px; }
  .showcase-stage { padding:16px 0 56px; }
  .showcase-label { font-size:12px; }

  /* Affiliate */
  .aff { padding:0 20px 72px; }
  .aff-top { grid-template-columns:1fr; gap:36px; padding:36px 24px; }
  .aff-bottom { flex-direction:column; align-items:flex-start; padding:24px; gap:16px; }
  .aff-perk { grid-template-columns:64px 1fr; padding:16px 20px; }
  .aff-perk-num { font-size:28px; }

  /* Footer */
  footer { flex-direction:column; gap:14px; text-align:center; padding:24px 20px; }
  .flinks { justify-content:center; }
}

@media (max-width:480px) {
  h1 { letter-spacing:-1.5px; }
  .hero-actions { flex-direction:column; align-items:stretch; width:100%; max-width:280px; }
  .btn-primary, .btn-secondary { justify-content:center; }
  .features-brief, .ws, .aff { padding-left:16px; padding-right:16px; }
  .aff-top { padding:28px 18px; }
  .wcard { padding:36px 18px; }
}

/* ── FEATURE DEEP-DIVE PAGES ── */
.fhero { max-width:900px; margin:0 auto; padding:130px 20px 0; text-align:center; }
.fhero .eyebrow { display:flex; justify-content:center; }
.fh1 { font-size:clamp(28px,5vw,52px); font-weight:500; letter-spacing:-1.5px; line-height:1.1; margin-bottom:18px; }
.fintro { font-size:16px; color:var(--sub); max-width:640px; margin:0 auto 48px; line-height:1.7; }
.fshot { width:100%; max-width:920px; margin:0 auto 64px; border-radius:14px; overflow:hidden; border:1px solid var(--border-hi); }
.fshot img { display:block; width:100%; height:auto; }
.fbullets { max-width:720px; margin:0 auto 72px; border-top:1px solid var(--border); }
.fbullet { display:flex; gap:18px; padding:22px 4px; border-bottom:1px solid var(--border); text-align:left; }
.fbullet-num { font-size:13px; font-weight:600; color:var(--muted); width:22px; flex-shrink:0; padding-top:2px; }
.fbullet-text { font-size:14.5px; color:var(--sub); line-height:1.65; }
.fcta { max-width:680px; margin:0 auto; padding:0 20px 100px; }

@media (max-width:768px) {
  .fhero { padding:100px 20px 0; }
  .fintro { font-size:15px; margin-bottom:36px; }
  .fshot { margin-bottom:44px; }
  .fbullets { margin-bottom:48px; }
  .fbullet { padding:18px 4px; }
}

@media (prefers-reduced-motion:reduce) { *, *::before, *::after { animation:none !important; transition:none !important; } }
