:root {
  --bg: #07060a;
  --bg-soft: #0e0c14;
  --panel: #131019;
  --panel-2: #181423;
  --border: #221c30;
  --text: #f5f3fa;
  --text-dim: #9c93b0;
  --text-faint: #5d556e;

  --yellow: #ff0;
  --purple: #6c1aba;
  --purple-light: #a855f7;
  --purple-glow: rgba(108, 26, 186, 0.55);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}

/* ---------- Background FX ---------- */
.bg-orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(110px); }
.orb--purple { width: 600px; height: 600px; background: #6c1aba; opacity: 0.5; top: -180px; left: -120px; animation: drift 18s ease-in-out infinite; }
.orb--yellow { width: 420px; height: 420px; background: #b3b300; opacity: 0.16; top: 320px; right: -120px; animation: drift 22s ease-in-out infinite reverse; }
.orb--purple2 { width: 520px; height: 520px; background: #7c3aed; opacity: 0.3; bottom: -220px; left: 35%; animation: drift 26s ease-in-out infinite; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, -30px) scale(1.08); } }

.cursor-glow {
  position: fixed; top: 0; left: 0; width: 600px; height: 600px; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.10) 0%, transparent 60%);
  will-change: transform;
}

.grain {
  position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.nav, .hero, .stats, .problem, .soul, .features, .how, .founder, .waitlist, .footer { position: relative; z-index: 1; }

/* ---------- Nav (BIG logo) ---------- */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 26px 7vw; max-width: 1320px; margin: 0 auto; }
.nav-logo { display: flex; }
.logo { display: block; }
.logo--nav { height: 92px; width: 209px; }
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-link { color: var(--text-dim); text-decoration: none; font-size: 15px; transition: color 0.15s; }
.nav-link:hover { color: var(--text); }

.lg-purple { fill: var(--purple-light); }
.lg-yellow { fill: var(--yellow); }
.lg-white { fill: var(--text); }

/* ---------- Buttons ---------- */
.btn { display: inline-block; font-family: inherit; font-size: 15px; font-weight: 600; border-radius: 12px; padding: 13px 26px; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s; }
.btn--primary { background: var(--yellow); color: #0a0a0a; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(255, 255, 0, 0.25); }
.btn--ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--purple-light); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero { max-width: 1320px; margin: 0 auto; padding: 60px 7vw 90px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.badge { display: inline-block; font-size: 13px; font-weight: 500; letter-spacing: 0.5px; color: var(--purple-light); background: rgba(108, 26, 186, 0.16); border: 1px solid rgba(108, 26, 186, 0.4); padding: 7px 14px; border-radius: 100px; margin-bottom: 26px; }
.hero-title { font-size: clamp(40px, 5.4vw, 74px); font-weight: 700; line-height: 1.02; letter-spacing: -2px; margin-bottom: 22px; }
.grad { background: linear-gradient(100deg, var(--yellow) 0%, var(--purple-light) 70%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 19px; color: var(--text-dim); max-width: 520px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; margin-bottom: 28px; flex-wrap: wrap; }
.hero-meta { display: flex; align-items: center; gap: 9px; color: var(--text-faint); font-size: 14px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 10px #3ddc84; }

/* ---------- App mockup ---------- */
.mock { background: linear-gradient(180deg, var(--panel) 0%, var(--bg-soft) 100%); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; box-shadow: 0 40px 120px -30px var(--purple-glow), 0 0 0 1px rgba(255, 255, 255, 0.02); transform: perspective(1400px) rotateY(-9deg) rotateX(3deg); transition: transform 0.5s ease; }
.mock:hover { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--border); }
.mock-dot { width: 11px; height: 11px; border-radius: 50%; background: #2a2438; }
.mock-hint { margin-left: auto; font-size: 11px; color: var(--text-faint); letter-spacing: 0.3px; }
.mock-body { padding: 18px; }
.mock-search { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.mock-mag { width: 15px; height: 15px; fill: none; stroke: var(--text-faint); stroke-width: 2; position: absolute; margin-left: 13px; }
.mock-input { flex: 1; background: var(--panel-2); border: 1px solid var(--border); border-radius: 9px; padding: 11px 14px 11px 36px; color: var(--text); font-size: 13px; min-height: 39px; display: flex; align-items: center; }
.typed { white-space: pre; }
.caret { display: inline-block; width: 2px; height: 15px; background: var(--purple-light); margin-left: 1px; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mock-btn { background: var(--yellow); color: #0a0a0a; font-weight: 600; font-size: 13px; padding: 11px 18px; border-radius: 9px; }
.mock-filters { display: flex; gap: 8px; margin-bottom: 16px; }
.chip { font-size: 12px; padding: 5px 11px; border-radius: 7px; background: var(--panel-2); border: 1px solid var(--border); color: var(--text-dim); transition: all 0.2s; }
.chip--key { color: var(--purple-light); border-color: rgba(108, 26, 186, 0.5); background: rgba(108, 26, 186, 0.16); }
.chip--muted { color: var(--text-faint); }

.mock-list { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 20px 1fr 52px 38px 42px 46px; align-items: center; gap: 12px; padding: 11px 8px; border-bottom: 1px solid var(--border); font-size: 13px; cursor: pointer; border-radius: 8px; transition: background 0.18s, opacity 0.35s, box-shadow 0.25s; }
.row:last-child { border-bottom: none; }
.row:hover { background: rgba(108, 26, 186, 0.16); }
.row.dim { opacity: 0.28; }
.row.match { background: rgba(255, 255, 0, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 0, 0.25); }
.row.playing { background: rgba(255, 255, 0, 0.07); }
.play { display: flex; align-items: center; justify-content: flex-start; height: 14px; }
.tri { width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--text-faint); }
.row:hover .tri { border-left-color: var(--text); }
.eq { display: none; align-items: flex-end; gap: 2px; height: 13px; }
.eq i { width: 2px; height: 4px; background: var(--yellow); border-radius: 1px; animation: eq 0.6s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: 0.15s; }
.eq i:nth-child(3) { animation-delay: 0.3s; }
.eq i:nth-child(4) { animation-delay: 0.45s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 13px; } }
.row.match .tri, .row.playing .tri { display: none; }
.row.match .eq, .row.playing .eq { display: flex; }
.row.match .r-name, .row.playing .r-name { color: var(--yellow); }
.r-name { color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-key { color: var(--purple-light); font-weight: 600; }
.r-bpm, .r-dur { color: var(--text-dim); text-align: right; font-variant-numeric: tabular-nums; }
.r-ext { font-size: 10px; font-weight: 600; letter-spacing: 0.5px; text-align: center; color: var(--purple-light); background: rgba(108, 26, 186, 0.18); padding: 3px 0; border-radius: 5px; }

/* ---------- Stats strip ---------- */
.stats { max-width: 1180px; margin: 0 auto; padding: 30px 7vw 70px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 22px 14px; background: var(--panel); border: 1px solid var(--border); border-radius: 14px; }
.stat-num { display: block; font-size: 40px; font-weight: 700; letter-spacing: -1px; background: linear-gradient(120deg, var(--yellow), var(--purple-light)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 6px; }
.stat-label { color: var(--text-dim); font-size: 13px; }

/* ---------- Section primitives ---------- */
.section-kicker { font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--purple-light); margin-bottom: 18px; }
.section-title { font-size: clamp(30px, 3.6vw, 48px); font-weight: 700; letter-spacing: -1.4px; text-align: center; margin-bottom: 56px; }

/* ---------- Problem ---------- */
.problem { max-width: 1000px; margin: 0 auto; padding: 50px 7vw 80px; text-align: center; }
.problem-line { font-size: clamp(26px, 3.4vw, 44px); font-weight: 700; letter-spacing: -1px; margin-bottom: 56px; line-height: 1.18; }
.strike { text-decoration: line-through; text-decoration-color: var(--text-faint); color: var(--text-faint); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prob { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 30px 24px; text-align: left; }
.prob-num { display: block; font-size: 38px; font-weight: 700; letter-spacing: -1px; background: linear-gradient(120deg, var(--yellow), var(--purple-light)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 12px; }
.prob p { color: var(--text-dim); font-size: 15px; }

/* ---------- Soul ---------- */
.soul { padding: 70px 7vw; }
.soul-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.soul-line { font-size: clamp(40px, 6vw, 80px); font-weight: 700; letter-spacing: -2px; line-height: 1; margin-bottom: 30px; }
.soul-body { color: var(--text-dim); font-size: 19px; max-width: 620px; margin: 0 auto; }

/* ---------- Features ---------- */
.features { max-width: 1180px; margin: 0 auto; padding: 60px 7vw; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; background: linear-gradient(180deg, var(--panel) 0%, var(--bg-soft) 100%); border: 1px solid var(--border); border-radius: 18px; padding: 30px 26px; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.3s ease; }
.card:hover { transform: translateY(-5px); border-color: rgba(108, 26, 186, 0.6); box-shadow: 0 24px 60px -28px var(--purple-glow); }
.feat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 0, 0.08); border: 1px solid rgba(255, 255, 0, 0.18); margin-bottom: 20px; }
.ic { width: 24px; height: 24px; fill: none; stroke: var(--yellow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 15px; }
.card em { color: var(--purple-light); font-style: normal; }
.soon { position: absolute; top: 22px; right: 22px; font-size: 10px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; color: var(--text-faint); border: 1px solid var(--border); padding: 4px 9px; border-radius: 100px; }

/* ---------- How ---------- */
.how { max-width: 1100px; margin: 0 auto; padding: 70px 7vw; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { padding: 8px; }
.step-num { font-size: 16px; font-weight: 700; color: #0a0a0a; background: var(--yellow); border-radius: 10px; padding: 6px 12px; display: inline-block; margin-bottom: 20px; }
.step h3 { font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.step p { color: var(--text-dim); font-size: 15px; }

/* ---------- Founder ---------- */
.founder { padding: 70px 7vw; }
.founder-inner { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: center; background: linear-gradient(180deg, var(--panel) 0%, var(--bg-soft) 100%); border: 1px solid var(--border); border-radius: 24px; padding: 48px; }
.founder-avatar { position: relative; width: 180px; height: 180px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 30% 30%, var(--purple-light), var(--purple) 70%); box-shadow: 0 0 0 6px rgba(108, 26, 186, 0.2), 0 20px 60px -20px var(--purple-glow); }
.founder-avatar > span:first-child { font-size: 84px; font-weight: 700; color: #fff; }
.founder-vinyl { position: absolute; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); border: 3px solid var(--yellow); bottom: 8px; right: 8px; box-shadow: inset 0 0 0 8px var(--bg), inset 0 0 0 10px var(--yellow); }
.founder-quote { font-size: 21px; font-weight: 500; line-height: 1.45; color: var(--text); margin-bottom: 22px; }
.founder-name { font-size: 19px; font-weight: 700; }
.founder-role { color: var(--purple-light); font-size: 14px; font-weight: 500; }

/* ---------- Pricing ---------- */
.pricing { max-width: 1120px; margin: 0 auto; padding: 70px 7vw; }
.billing-toggle { display: flex; align-items: center; justify-content: center; gap: 16px; margin: -32px 0 48px; }
.bt-label { font-size: 15px; color: var(--text-faint); transition: color 0.2s; display: flex; align-items: center; gap: 8px; }
.bt-label.bt-active { color: var(--text); }
.bt-save { font-size: 11px; font-weight: 600; letter-spacing: 0.4px; color: #0a0a0a; background: var(--yellow); padding: 3px 8px; border-radius: 100px; }
.bt-switch { width: 52px; height: 28px; border-radius: 100px; background: var(--panel-2); border: 1px solid var(--border); cursor: pointer; position: relative; padding: 0; transition: background 0.2s; }
.bt-switch.on { background: var(--purple); border-color: var(--purple-light); }
.bt-knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--text); transition: transform 0.2s ease; }
.bt-switch.on .bt-knob { transform: translateX(24px); }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; background: linear-gradient(180deg, var(--panel) 0%, var(--bg-soft) 100%); border: 1px solid var(--border); border-radius: 20px; padding: 34px 28px; }
.price-card--feature { border-color: var(--yellow); box-shadow: 0 0 0 1px var(--yellow), 0 30px 80px -30px var(--purple-glow); transform: scale(1.04); }
.pc-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: #0a0a0a; background: var(--yellow); padding: 5px 14px; border-radius: 100px; }
.pc-name { font-size: 16px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--purple-light); margin-bottom: 14px; }
.pc-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.pc-amt { font-size: 52px; font-weight: 700; letter-spacing: -2px; }
.pc-per { font-size: 16px; color: var(--text-dim); }
.pc-tag { color: var(--text-dim); font-size: 14px; margin-bottom: 24px; }
.pc-feats { list-style: none; margin-bottom: 28px; flex: 1; }
.pc-feats li { position: relative; padding-left: 26px; margin-bottom: 12px; font-size: 14px; color: var(--text); }
.pc-feats li::before { content: "✓"; position: absolute; left: 0; color: var(--yellow); font-weight: 700; }
.pc-feats strong { color: var(--yellow); font-weight: 600; }
.pc-btn { width: 100%; text-align: center; }

/* ---------- Waitlist ---------- */
.waitlist { padding: 70px 7vw 100px; }
.waitlist-inner { max-width: 720px; margin: 0 auto; text-align: center; background: linear-gradient(180deg, var(--panel-2) 0%, var(--bg-soft) 100%); border: 1px solid var(--border); border-radius: 26px; padding: 56px 40px; box-shadow: 0 40px 120px -40px var(--purple-glow); }
.logo--cta { height: 50px; width: auto; margin: 0 auto 18px; }
.founding-tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: #0a0a0a; background: var(--yellow); padding: 5px 13px; border-radius: 100px; margin-bottom: 18px; }
.waitlist-inner h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; letter-spacing: -1.2px; margin-bottom: 14px; }
.waitlist-inner > p { color: var(--text-dim); font-size: 17px; max-width: 480px; margin: 0 auto 30px; }
.signup { display: flex; gap: 12px; max-width: 480px; margin: 0 auto 14px; }
.signup input { flex: 1; background: var(--bg); border: 1px solid var(--border); color: var(--text); border-radius: 12px; padding: 14px 18px; font-family: inherit; font-size: 15px; outline: none; transition: border-color 0.15s; }
.signup input:focus { border-color: var(--purple-light); }
.signup input::placeholder { color: var(--text-faint); }
.waitlist-fine { color: var(--text-faint); font-size: 13px; }

/* ---------- Footer ---------- */
.footer { text-align: center; padding: 60px 7vw 70px; border-top: 1px solid var(--border); }
.logo--footer { height: 34px; width: auto; margin: 0 auto 18px; opacity: 0.9; }
.footer p { color: var(--text-dim); font-size: 15px; margin-bottom: 12px; }
.footer-fine { color: var(--text-faint); font-size: 13px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; }
  .mock, .mock:hover { transform: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .problem-grid, .feature-grid, .steps, .price-grid { grid-template-columns: 1fr; }
  .price-card--feature { transform: none; }
  .founder-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 28px; padding: 36px 28px; }
  .logo--nav { height: 62px; width: 141px; }
  .nav-right .nav-link { display: none; }
}
