/* ---------- tokens ---------- */
:root {
  --bg: #08080b;
  --bg-soft: #0f0f15;
  --surface: #14141c;
  --surface-2: #1b1b25;
  --line: #262633;
  --line-soft: #1e1e29;

  --text: #f4f4f7;
  --muted: #a1a1b0;
  --faint: #6e6e80;

  --accent: #8b5cff;
  --accent-2: #ff4d8d;
  --accent-soft: rgba(139, 92, 255, 0.14);

  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1120px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 650;
}

p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

section { padding-block: 104px; position: relative; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 17px; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(8, 8, 11, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}
.nav.scrolled { border-bottom-color: var(--line-soft); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 17px; }
.brand img { width: 28px; height: 28px; display: block; }

.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a {
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.18s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  width: 40px; height: 40px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s, background 0.2s, border-color 0.2s, opacity 0.2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(105deg, var(--accent), var(--accent-2));
  color: #fff;
}
.btn-primary:hover { opacity: 0.9; }

.btn-ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { background: var(--surface-2); border-color: #33334a; }

.btn-lg { padding: 14px 26px; font-size: 15.5px; }

/* ---------- hero ---------- */
.hero {
  padding-top: 164px;
  padding-bottom: 72px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -340px; left: 50%;
  transform: translateX(-50%);
  width: 1000px; height: 700px;
  background: radial-gradient(ellipse at center, rgba(139,92,255,0.22), transparent 62%);
  pointer-events: none;
  filter: blur(20px);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(139, 92, 255, 0.28);
  font-size: 13px;
  color: #cbb8ff;
  margin-bottom: 26px;
}
.pill b {
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 999px;
}

.hero h1 {
  font-size: clamp(38px, 5.6vw, 60px);
  letter-spacing: -0.035em;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 22px;
  font-size: 18px;
  color: var(--muted);
  max-width: 500px;
}

.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }

.hero-meta {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--faint);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: #3ddc84; }

/* ---------- phone mock ---------- */
.phone-stage { display: flex; justify-content: center; position: relative; }

.phone {
  width: 290px;
  border-radius: 38px;
  background: linear-gradient(170deg, #1d1d28, #101017);
  border: 1px solid #2c2c3d;
  padding: 10px;
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}
.phone-screen {
  border-radius: 29px;
  background: #0b0b11;
  overflow: hidden;
  padding: 20px 18px 18px;
}

.pm-top {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.pm-art {
  aspect-ratio: 1;
  border-radius: 18px;
  background: linear-gradient(140deg, #6f45ff, #ff4d8d 70%, #ff9f45);
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 40px -16px rgba(139, 92, 255, 0.7);
}
.pm-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 25%, rgba(255,255,255,0.3), transparent 55%);
}

.pm-title { margin-top: 20px; font-weight: 650; font-size: 17px; }
.pm-artist { font-size: 13.5px; color: var(--muted); margin-top: 3px; }

.pm-bar {
  height: 4px;
  border-radius: 999px;
  background: #24243055;
  margin-top: 18px;
  overflow: hidden;
}
.pm-bar i {
  display: block;
  height: 100%;
  width: 42%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.pm-times {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--faint);
  margin-top: 7px;
  font-variant-numeric: tabular-nums;
}

.pm-ctrl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
  color: var(--text);
}
.pm-play {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
}

.pm-lyrics {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  line-height: 1.9;
  color: #41415a;
}
.pm-lyrics .on { color: var(--text); font-weight: 600; }
.pm-lyrics .next { color: #5d5d78; }

/* floating cards */
.float {
  position: absolute;
  background: rgba(20, 20, 28, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 14px;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.8);
  animation: bob 5s ease-in-out infinite;
}
.float-1 { top: 16%; left: -4%; }
.float-2 { bottom: 17%; right: -6%; animation-delay: -2.5s; }
.float em { font-style: normal; color: var(--faint); display: block; font-size: 11px; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- logos strip ---------- */
.strip {
  padding-block: 0 96px;
}
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  align-items: center;
  justify-content: center;
  padding-top: 40px;
  border-top: 1px solid var(--line-soft);
  color: var(--faint);
  font-size: 14px;
}
.strip-inner b { color: var(--muted); font-weight: 600; }

/* ---------- features ---------- */
.grid-feat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.22s, transform 0.22s, background 0.22s;
}
.card:hover {
  border-color: #33334a;
  transform: translateY(-3px);
  background: var(--surface-2);
}
.card .ico {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--accent-soft);
  border: 1px solid rgba(139, 92, 255, 0.22);
  display: grid;
  place-items: center;
  color: #b89cff;
  margin-bottom: 18px;
}
.card h3 { font-size: 16.5px; }
.card p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }

/* ---------- lyrics split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.lyric-demo {
  background: linear-gradient(165deg, #16101f, #0d0d13);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  font-size: 19px;
  line-height: 2.1;
  color: #3d3d55;
}
.lyric-demo .on {
  color: var(--text);
  font-weight: 650;
  position: relative;
}
.lyric-demo .on::before {
  content: "";
  position: absolute;
  left: -16px; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 22px;
  border-radius: 2px;
  background: linear-gradient(var(--accent), var(--accent-2));
}
.lyric-demo .tl {
  display: block;
  font-size: 13.5px;
  color: var(--accent);
  font-weight: 500;
  line-height: 1.4;
  margin-top: 2px;
}

.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; color: var(--muted); font-size: 15.5px; }
.checks svg { flex: none; margin-top: 3px; color: var(--accent); }
.checks b { color: var(--text); font-weight: 600; }

/* ---------- platforms / install ---------- */
.install { background: var(--bg-soft); border-block: 1px solid var(--line-soft); }

.plats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.plat {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.plat-head { display: flex; align-items: center; gap: 13px; margin-bottom: 6px; }
.plat-head h3 { font-size: 18px; }
.plat-head .ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--muted);
}
.plat .req { color: var(--faint); font-size: 13.5px; }
.plat .files {
  margin: 20px 0 22px;
  display: grid;
  gap: 8px;
  font-size: 13.5px;
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
}
.plat .files a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #0f0f16;
  border: 1px solid var(--line-soft);
  color: var(--muted);
  transition: border-color 0.18s, color 0.18s;
}
.plat .files a:hover { border-color: var(--accent); color: var(--text); }
.plat .files span { color: var(--faint); }
.plat .foot { margin-top: auto; }

.note {
  margin-top: 28px;
  background: rgba(255, 184, 77, 0.06);
  border: 1px solid rgba(255, 184, 77, 0.22);
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 14px;
  color: #d8bc8e;
}
.note b { color: #ffd79a; }
.note code {
  background: #1d1a14;
  border: 1px solid #332d20;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 12.5px;
  color: #ffd79a;
}

/* ---------- faq ---------- */
.faq-list { display: grid; gap: 10px; max-width: 820px; }
details {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 0 22px;
  transition: border-color 0.2s;
}
details[open] { border-color: #33334a; }
summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-weight: 600;
  font-size: 15.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  flex: none;
  width: 9px; height: 9px;
  border-right: 2px solid var(--faint);
  border-bottom: 2px solid var(--faint);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s;
}
details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
details .body {
  padding: 0 0 22px;
  color: var(--muted);
  font-size: 14.8px;
  max-width: 64ch;
}
details .body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- cta ---------- */
.cta { text-align: center; }
.cta-box {
  background: linear-gradient(150deg, #1a1226, #0e0e14);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 64px 32px;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: "";
  position: absolute;
  top: -140px; left: 50%;
  transform: translateX(-50%);
  width: 620px; height: 320px;
  background: radial-gradient(ellipse, rgba(255,77,141,0.2), transparent 65%);
}
.cta-box h2 { font-size: clamp(28px, 4vw, 38px); position: relative; }
.cta-box p { color: var(--muted); margin-top: 14px; position: relative; }
.cta-box .hero-actions { justify-content: center; position: relative; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line-soft);
  padding-block: 48px 56px;
  font-size: 14px;
  color: var(--muted);
}
.foot-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-soft);
}
.foot-links { display: flex; gap: 28px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); transition: color 0.18s; }
.foot-links a:hover { color: var(--text); }

.foot-legal { padding-top: 28px; display: grid; gap: 10px; font-size: 13.5px; color: var(--faint); text-align: center; }
.foot-legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

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

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .hero-inner, .split { grid-template-columns: 1fr; }
  .split { gap: 40px; }
  .hero { padding-top: 132px; text-align: left; }
  .phone-stage { order: -1; margin-bottom: 8px; }
  .float-1 { left: 2%; }
  .float-2 { right: 2%; }
  .grid-feat { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  section { padding-block: 76px; }
  .nav-links, .nav-cta { display: none; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 10, 14, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
  }
  .nav.open .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-toggle { display: inline-flex; }
  .grid-feat, .plats { grid-template-columns: 1fr; }
  .lyric-demo { font-size: 17px; padding: 26px; }
  .foot-top { flex-direction: column; gap: 22px; }
}
