@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  --bg: #07070f;
  --bg2: #0d0d1a;
  --panel: #12121f;
  --panel2: #191929;
  --line: rgba(255, 255, 255, 0.08);
  --line2: rgba(255, 255, 255, 0.14);
  --text: #f5f4ff;
  --muted: #a9a7c6;
  --dim: #6f6d8c;
  --violet: #7c5cff;
  --pink: #ff4fd8;
  --amber: #ffb443;
  --mint: #3ddcb0;
  --ink: linear-gradient(100deg, #9b85ff 0%, #ff4fd8 55%, #ffb443 100%);
  --grad: linear-gradient(135deg, #7c5cff 0%, #c450ff 50%, #ff4fd8 100%);
  --radius: 22px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: rgba(124, 92, 255, 0.5); }
.grad { background: var(--ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font: 700 16px var(--font);
  text-decoration: none;
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); background: rgba(255, 255, 255, 0.08); }
.btn.primary { background: var(--grad); border: 0; box-shadow: 0 12px 34px rgba(124, 92, 255, 0.45); }
.btn.primary:hover { box-shadow: 0 16px 44px rgba(196, 80, 255, 0.55); }
.btn.big { height: 60px; padding: 0 30px; font-size: 17px; }
.btn.ghost { border-color: transparent; background: transparent; }
.btn svg { width: 22px; height: 22px; flex: none; }
.play-btn-store { gap: 12px; padding: 0 26px 0 20px; text-align: left; line-height: 1.1; }
.play-btn-store small { display: block; font-size: 11px; font-weight: 600; opacity: 0.85; letter-spacing: 0.04em; text-transform: uppercase; }
.play-btn-store b { display: block; font-size: 18px; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.5) blur(16px);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  background: rgba(7, 7, 15, 0.7);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; height: 68px; gap: 26px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; letter-spacing: 0.08em; font-size: 19px; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav-links { display: flex; gap: 22px; margin-left: 12px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--text); }
.nav .sp { flex: 1; }
.nav .btn { height: 42px; padding: 0 18px; font-size: 14.5px; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 40px; }
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 900px;
  background: radial-gradient(40% 50% at 70% 35%, rgba(255, 79, 216, 0.22), transparent 70%),
    radial-gradient(45% 55% at 20% 20%, rgba(124, 92, 255, 0.35), transparent 70%);
  pointer-events: none;
}
#heroWaves { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.14);
  border: 1px solid rgba(124, 92, 255, 0.45);
  color: #cfc4ff;
  font-weight: 700;
  font-size: 13.5px;
}
.hero h1 { font-size: clamp(54px, 8.5vw, 104px); line-height: 0.95; letter-spacing: -0.045em; margin: 18px 0 18px; font-weight: 900; }
.hero .lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 560px; margin: 0 0 30px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; color: var(--dim); font-size: 14px; font-weight: 600; }
.trust span::before { content: "✓ "; color: var(--mint); }
@media (max-width: 920px) {
  .hero { padding-top: 34px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .phone-stack { margin-top: 10px; }
}

/* ---------- phone mockups ---------- */
.phone {
  position: relative;
  width: 300px;
  aspect-ratio: 1080 / 2400;
  border-radius: 46px;
  padding: 11px;
  background: linear-gradient(160deg, #2a2a40, #0d0d18);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 120px rgba(124, 92, 255, 0.25);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; }
.phone-stack { position: relative; height: 640px; display: flex; justify-content: center; }
.phone-stack .phone { position: absolute; }
.phone-stack .p1 { transform: translateX(-90px) rotate(-6deg) scale(0.86); opacity: 0.85; top: 60px; }
.phone-stack .p2 { transform: translateX(80px) rotate(4deg); z-index: 2; top: 10px; }
@media (max-width: 560px) {
  .phone { width: 250px; border-radius: 40px; }
  .phone-stack { height: 540px; }
  .phone-stack .p1 { transform: translateX(-60px) rotate(-6deg) scale(0.84); }
  .phone-stack .p2 { transform: translateX(50px) rotate(4deg); }
}

/* ---------- sections ---------- */
section { padding: 90px 0; position: relative; }
.kicker { color: var(--pink); font-weight: 800; font-size: 13.5px; letter-spacing: 0.14em; text-transform: uppercase; }
h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.04; letter-spacing: -0.035em; margin: 10px 0 16px; font-weight: 900; }
.sec-lead { color: var(--muted); font-size: 19px; max-width: 640px; margin: 0; }
.center { text-align: center; }
.center .sec-lead { margin: 0 auto; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.step { text-align: left; padding: 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.step .n { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-weight: 900; font-size: 20px; background: var(--grad); margin-bottom: 16px; }
.step h3 { font-size: 22px; margin: 0 0 8px; letter-spacing: -0.02em; }
.step p { color: var(--muted); margin: 0; font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* split features */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split .phone { margin: 0 auto; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.flip > :first-child { order: 0; } }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.chip { padding: 9px 14px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-weight: 650; font-size: 14.5px; }
.chip b { color: var(--dim); font-weight: 700; margin-left: 4px; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; color: var(--muted); }
.checks li::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 8px; background: var(--grad) center/14px no-repeat; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"), var(--grad); }
.checks b { color: var(--text); }

/* share mock */
.chat { max-width: 380px; margin: 0 auto; padding: 22px; border-radius: 30px; background: var(--panel); border: 1px solid var(--line2); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.bubble { background: #1f6feb; color: #fff; padding: 10px 14px; border-radius: 18px 18px 6px 18px; margin-left: auto; max-width: 86%; font-size: 15px; }
.bubble.in { background: var(--panel2); border-radius: 18px 18px 18px 6px; margin-left: 0; margin-top: 12px; }
.preview { margin-top: 10px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line2); background: #0e0e1b; margin-left: auto; max-width: 86%; }
.preview img { aspect-ratio: 1200 / 630; object-fit: cover; width: 100%; }
.preview div { padding: 10px 12px; font-size: 13px; }
.preview b { display: block; font-size: 14px; }
.preview span { color: var(--dim); }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; max-width: 920px; margin-left: auto; margin-right: auto; }
.plan { padding: 30px; border-radius: 28px; background: var(--panel); border: 1px solid var(--line); text-align: left; display: flex; flex-direction: column; }
.plan.pro { background: radial-gradient(120% 90% at 100% 0%, rgba(255, 180, 67, 0.18), transparent 55%), radial-gradient(100% 80% at 0% 100%, rgba(124, 92, 255, 0.3), transparent 60%), var(--panel); border-color: rgba(255, 180, 67, 0.45); box-shadow: 0 30px 80px rgba(124, 92, 255, 0.25); }
.plan h3 { margin: 0; font-size: 22px; }
.plan .price { font-size: 48px; font-weight: 900; letter-spacing: -0.03em; margin: 10px 0 0; }
.plan .price small { font-size: 17px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.plan .per { color: var(--dim); font-size: 14px; margin: 2px 0 0; }
.plan .checks { margin-bottom: 26px; flex: 1; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: linear-gradient(135deg, #ffe08f, #ffb443); color: #1b1200; margin-left: 8px; vertical-align: 3px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 780px; margin: 40px auto 0; display: grid; gap: 12px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 4px 22px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17.5px; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--violet); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--muted); margin: 0 0 18px; }

/* final */
.final { text-align: center; padding: 100px 0; background: radial-gradient(50% 70% at 50% 100%, rgba(124, 92, 255, 0.35), transparent 70%); }
.final .cta { justify-content: center; margin-top: 30px; }
.waitlist { display: flex; gap: 10px; max-width: 460px; margin: 18px auto 0; }
.waitlist input { flex: 1; min-width: 0; height: 52px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255, 255, 255, 0.05); color: var(--text); padding: 0 20px; font: 16px var(--font); outline: 0; }
.waitlist input:focus { border-color: var(--violet); }
.ok { color: var(--mint); font-weight: 700; }

footer.site-foot { border-top: 1px solid var(--line); padding: 40px 0 60px; color: var(--dim); font-size: 14.5px; }
.site-foot .wrap { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--text); }
.site-foot .sp { flex: 1; }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- server-rendered pages (song, invite, 404) ---------- */
body.page { min-height: 100vh; display: flex; flex-direction: column; background: radial-gradient(70% 50% at 50% 0%, rgba(124, 92, 255, 0.28), transparent 70%), var(--bg); }
.narrow { max-width: 520px; margin: 0 auto; padding: 28px 20px 30px; flex: 1; width: 100%; }
.page .logo { display: inline-block; font-weight: 900; letter-spacing: 0.14em; text-decoration: none; background: var(--ink); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 20px; margin-bottom: 18px; }
.page h1 { font-size: clamp(30px, 7vw, 40px); line-height: 1.08; letter-spacing: -0.03em; margin: 18px 0 10px; font-weight: 900; }
.page .lead { color: var(--muted); font-size: 17px; margin: 0 0 22px; }
.page .btn { width: 100%; margin-top: 10px; }
.page .note { color: var(--muted); font-size: 15px; }
.page .small { color: var(--dim); font-size: 13.5px; margin-top: 20px; }
.page .small a { color: var(--dim); }
.page .code { display: inline-block; font-weight: 900; letter-spacing: 0.2em; border: 2px dashed var(--line2); border-radius: 12px; padding: 8px 16px; font-size: 20px; }
.hero-art { width: 200px; height: 200px; border-radius: 48px; margin: 6px auto 0; box-shadow: 0 20px 60px rgba(124, 92, 255, 0.45); }
.page .waitlist { margin-top: 10px; }
.page .waitlist .btn { width: auto; margin: 0; }
.mini-foot { text-align: center; color: var(--dim); font-size: 13px; padding: 22px; }
.mini-foot a { color: var(--dim); }
main.song { max-width: 560px; margin: 0 auto; padding: 22px 18px 20px; flex: 1; width: 100%; text-align: center; }
.song .stage { position: relative; aspect-ratio: 1; border-radius: 28px; overflow: hidden; box-shadow: 0 0 0 1px var(--line2), 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 120px rgba(124, 92, 255, 0.28); background: #0b0b18; }
.song .stage img, .song .stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.song .play { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 16px 50px rgba(124, 92, 255, 0.6); transition: opacity 0.3s, transform 0.2s; }
.song .play svg { width: 40px; height: 40px; margin-left: 5px; }
.song .play.on { opacity: 0; transform: scale(0.8); }
.song .stage:hover .play.on { opacity: 0.85; transform: none; }
.song .progress { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); margin: 14px 0 0; overflow: hidden; }
.song .progress i { display: block; height: 100%; width: 0; background: var(--grad); }
.song h1 { margin-top: 22px; }
.song .btn { width: 100%; margin-top: 10px; }
.song .stage.mystery { background: radial-gradient(60% 60% at 50% 50%, rgba(124, 92, 255, 0.35), transparent 70%), #0b0b18; }
.mystery-label { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; display: grid; place-items: center; font-size: 84px; font-weight: 900; color: rgba(255, 255, 255, 0.1); pointer-events: none; transition: transform 0.08s linear; }
