:root {
  --bg: #09090f;
  --bg-2: #0f0f1a;
  --accent: #8b5cf6;
  --accent-2: #a78bfa;
  --accent-3: #c084fc;
  --text: #ecebf5;
  --muted: #9a98b0;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-strong: rgba(20, 18, 34, 0.72);
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(139, 92, 246, 0.35);
  --radius: 20px;
  --font: "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.accent { color: var(--accent-2); }
.container { width: min(1160px, 100% - 40px); margin-inline: auto; }

.gradient-text {
  background: linear-gradient(100deg, #a78bfa 0%, #8b5cf6 40%, #d946ef 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Background ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.5; }
.orb-1 { width: 620px; height: 620px; background: #6d28d9; top: -220px; left: -160px; animation: float 18s ease-in-out infinite; }
.orb-2 { width: 520px; height: 520px; background: #8b5cf6; top: 30%; right: -220px; opacity: 0.32; animation: float 22s ease-in-out infinite reverse; }
.orb-3 { width: 460px; height: 460px; background: #a21caf; bottom: -200px; left: 25%; opacity: 0.22; animation: float 26s ease-in-out infinite; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
}
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, 50px); }
}

/* ---------- Glass ---------- */
.glass {
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255,255,255,0.05);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 15px/1 var(--font);
  padding: 13px 22px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 16px 28px; font-size: 16px; border-radius: 14px; }
.btn-primary { background: linear-gradient(135deg, #8b5cf6, #7c3aed); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); background: linear-gradient(135deg, #9d74f8, #8b5cf6); }
.btn-glow { box-shadow: 0 0 0 1px rgba(167,139,250,0.4), 0 8px 30px rgba(139, 92, 246, 0.55), 0 0 60px rgba(139, 92, 246, 0.25); }
.btn-glow:hover { box-shadow: 0 0 0 1px rgba(167,139,250,0.6), 0 10px 40px rgba(139, 92, 246, 0.75), 0 0 90px rgba(139, 92, 246, 0.4); }
.btn-outline { background: rgba(139,92,246,0.08); border-color: var(--border-accent); color: var(--text); }
.btn-outline:hover { transform: translateY(-2px); background: rgba(139,92,246,0.18); border-color: var(--accent); }
.btn-ghost { background: rgba(255,255,255,0.04); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,0.09); }

/* ---------- Nav ---------- */
.nav-wrap { position: sticky; top: 14px; z-index: 40; padding-inline: 20px; }
.nav {
  max-width: 1160px; margin: 14px auto 0; padding: 10px 12px 10px 18px;
  border-radius: 16px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: rgba(14, 13, 24, 0.6);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 28px; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero { padding: 90px 0 70px; }
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 60px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 13px var(--mono); color: var(--accent-2);
  padding: 7px 14px; border-radius: 999px;
  background: rgba(139,92,246,0.1); border: 1px solid var(--border-accent);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 10px var(--accent); }
h1 {
  font-size: clamp(44px, 7vw, 82px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700;
  margin: 22px 0 18px;
}
.subtitle { font-size: clamp(18px, 2vw, 22px); color: var(--muted); max-width: 540px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.stat-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 999px; font-size: 14px;
}
.stat-label { color: var(--muted); }
.stat-value { font: 600 15px var(--mono); color: var(--text); min-width: 2ch; transition: color .3s; }
.stat-value.bump { color: var(--accent-2); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,0.6); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.55); }
  70% { box-shadow: 0 0 0 9px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

/* Hero mock */
.hero-visual { position: relative; perspective: 1200px; }
.hero-gui-frame {
  width: 115%; max-width: 620px;
  margin-left: -15%;
  overflow: hidden;
  border-radius: 18px; border: 1px solid rgba(139, 92, 246, 0.45);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.75), 0 0 40px rgba(139, 92, 246, 0.25);
  transform: perspective(1100px) rotateY(-6deg) rotateX(2deg);
}
.hero-gui-frame img { display: block; width: 100%; transform: scale(1.18); }
.mock {
  border-radius: 18px; padding: 16px; background: var(--glass-strong);
  transform: rotateY(-12deg) rotateX(6deg); transform-style: preserve-3d;
  border-color: var(--border-accent);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 80px rgba(139,92,246,0.18);
  animation: hover 7s ease-in-out infinite;
}
@keyframes hover {
  0%, 100% { transform: rotateY(-12deg) rotateX(6deg) translateY(0); }
  50% { transform: rotateY(-8deg) rotateX(4deg) translateY(-10px); }
}
.mock-bar { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.12); }
.mock-dots i:first-child { background: var(--accent); }
.mock-tabs { display: flex; gap: 6px; margin: 14px 0 10px; font-size: 13px; }
.mock-tabs span { padding: 6px 12px; border-radius: 8px; color: var(--muted); }
.mock-tabs .active { background: rgba(139,92,246,0.2); color: #fff; border: 1px solid var(--border-accent); }
.mock-list { list-style: none; display: grid; gap: 6px; }
.mock-list li { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,0.03); font-size: 14px; }
.toggle { width: 34px; height: 18px; border-radius: 999px; background: rgba(255,255,255,0.12); position: relative; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; border-radius: 50%; background: #c9c6dc; transition: .2s; }
.toggle.on { background: var(--accent); box-shadow: 0 0 12px rgba(139,92,246,0.6); }
.toggle.on::after { left: 19px; background: #fff; }
.mock-slider { margin-top: 14px; font-size: 12px; color: var(--muted); }
.track { height: 6px; border-radius: 999px; background: rgba(255,255,255,0.08); margin-top: 8px; overflow: hidden; }
.fill { width: 62%; height: 100%; background: linear-gradient(90deg, #7c3aed, #c084fc); }

.spotify-pill {
  position: absolute; left: -36px; bottom: -34px;
  display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 999px;
  background: rgba(14, 13, 24, 0.78);
  animation: hover2 6s ease-in-out infinite;
}
@keyframes hover2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.album { width: 38px; height: 38px; border-radius: 50%; background: conic-gradient(from 0deg, #8b5cf6, #d946ef, #6d28d9, #8b5cf6); animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.song { font-weight: 600; font-size: 14px; line-height: 1.2; }
.artist { font-size: 11px; color: var(--muted); }
.eq { display: flex; align-items: flex-end; gap: 3px; height: 18px; margin-left: 6px; }
.eq i { width: 3px; background: var(--accent-2); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: .2s; } .eq i:nth-child(3) { animation-delay: .4s; } .eq i:nth-child(4) { animation-delay: .1s; }
@keyframes eq { 0%,100% { height: 4px; } 50% { height: 18px; } }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.eyebrow { font-size: 13px; color: var(--accent-2); letter-spacing: 0.04em; }
.section-head h2 { font-size: clamp(32px, 4.5vw, 48px); line-height: 1.1; letter-spacing: -0.03em; margin: 10px 0 14px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  border-radius: var(--radius); padding: 28px; position: relative; overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(139,92,246,0.16), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-accent); box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 40px rgba(139,92,246,0.12); }
.card:hover::before { opacity: 1; }
.feature-wide { grid-column: span 2; }
.icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(139,92,246,0.14); border: 1px solid var(--border-accent); color: var(--accent-2);
}
.icon svg { width: 22px; height: 22px; }
.card h3, .trust-item h3 { font-size: 20px; letter-spacing: -0.01em; margin-bottom: 8px; }
.card p, .trust-item p { color: var(--muted); font-size: 15px; }
.chips { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 20px; }
.chips li {
  padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 500;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); flex: none; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shot { border-radius: var(--radius); padding: 10px; transition: transform .3s, border-color .3s; }
.shot:hover { transform: translateY(-4px); border-color: var(--border-accent); }
.frame { position: relative; aspect-ratio: 16 / 9; border-radius: 13px; overflow: hidden; background: #0c0b14; }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.frame img.missing { display: none; }
.placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(139,92,246,0.18), transparent 55%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 10px, transparent 10px 20px),
    #0c0b14;
  border: 1px dashed rgba(139,92,246,0.3); border-radius: 13px;
}
.placeholder span { font-size: 12px; color: var(--muted); padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,0.35); border: 1px solid var(--border); }
.soon-badge {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: #f7f5ff; background: rgba(139,92,246,0.85);
  border: 1px solid rgba(255,255,255,0.28); border-radius: 999px;
  padding: 6px 12px; backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 18px rgba(139,92,246,0.45);
}
.shot figcaption { padding: 14px 8px 6px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.shot figcaption::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

/* Trust */
.trust { border-radius: 28px; padding: 64px 48px; text-align: center; border-color: var(--border-accent); background: linear-gradient(160deg, rgba(139,92,246,0.12), rgba(255,255,255,0.015) 60%); }
.trust .section-head { margin-bottom: 40px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 44px; text-align: left; }
.trust-item { padding: 26px; border-radius: 18px; background: rgba(9,9,15,0.5); border: 1px solid var(--border); }

/* Footer */
.footer { padding: 40px 0 50px; border-top: 1px solid var(--border); margin-top: 40px; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px;
  background: rgba(5, 5, 10, 0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  animation: fade .3s ease;
}
.modal-backdrop[hidden] { display: none; }
.modal-backdrop.closing { animation: fadeOut .25s ease forwards; }
.modal {
  position: relative; width: min(480px, 100%); padding: 40px 34px 32px; border-radius: 24px; text-align: center; overflow: hidden;
  background: rgba(16, 14, 28, 0.78); border-color: var(--border-accent);
  box-shadow: 0 30px 90px rgba(0,0,0,0.6), 0 0 80px rgba(139,92,246,0.22);
  animation: pop .4s cubic-bezier(.2,.9,.3,1.2);
}
.modal-glow { position: absolute; top: -120px; left: 50%; width: 320px; height: 220px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(139,92,246,0.55), transparent); pointer-events: none; }
.modal-icon {
  position: relative; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: #fff; box-shadow: 0 10px 30px rgba(139,92,246,0.5);
}
.modal h2 { position: relative; font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 12px; }
.modal p { position: relative; color: var(--muted); font-size: 16px; margin-bottom: 28px; }
.modal-actions { position: relative; display: grid; gap: 10px; }
.modal-actions .btn { width: 100%; }
@keyframes fade { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.96); } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; translate: 0 24px; transition: opacity .7s ease, translate .7s ease, transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.reveal.in { opacity: 1; translate: 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 20px auto 30px; }
  .hero-gui-frame { width: 100%; margin-left: 0; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .trust-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 56px 0 40px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-wide { grid-column: auto; }
  .chips { grid-template-columns: 1fr; }
  .cta-row .btn { flex: 1 1 100%; }
  .spotify-pill { left: 0; }
  .trust { padding: 44px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; translate: 0 0; }
}
