:root {
  --bg: #09111f;
  --bg-soft: #10192b;
  --panel: rgba(16, 25, 43, 0.75);
  --panel-border: rgba(255,255,255,0.08);
  --text: #eaf1ff;
  --muted: #97a5c4;
  --primary: #7c5cff;
  --primary-2: #20d0ff;
  --success: #32d296;
  --danger: #ff6b81;
  --shadow: 0 20px 60px rgba(0,0,0,0.35);
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(124,92,255,0.25), transparent 30%),
    radial-gradient(circle at top right, rgba(32,208,255,0.16), transparent 28%),
    linear-gradient(180deg, #08101d, #0b1322 50%, #09111f);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(9, 17, 31, 0.75);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 1rem; }
.nav nav { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: .8rem; font-weight: 700; }
.logo-mark {
  width: 40px; height: 40px; display: inline-grid; place-items: center;
  border-radius: 14px; background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white; box-shadow: var(--shadow);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.25rem; border-radius: 999px; font-weight: 700; border: 1px solid transparent;
  transition: .25s ease; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: white; }
.btn-secondary, .btn-outline { border-color: rgba(255,255,255,0.12); background: rgba(255,255,255,0.03); }
.hero { padding: 5rem 0 3rem; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem; align-items: center; }
.eyebrow {
  display: inline-block; padding: .45rem .8rem; border-radius: 999px; margin-bottom: 1rem;
  background: rgba(124,92,255,0.14); color: #d7d1ff; border: 1px solid rgba(124,92,255,0.28);
  font-size: .9rem;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); line-height: 1.02; margin: 0 0 1rem; letter-spacing: -0.04em; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.1; margin: 0; letter-spacing: -0.03em; }
h3 { margin-top: 0; }
.lead, p, li, td, th, summary, input, textarea { color: var(--muted); line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.75rem 0 1.25rem; }
.trust-row { display: flex; gap: 1rem; flex-wrap: wrap; color: #cfd7ef; font-size: .95rem; }
.trust-row span { padding: .45rem .7rem; background: rgba(255,255,255,0.035); border-radius: 999px; }
.glass, .card, .auth-card, .feature-card, .price-card, .step, .demo-box {
  background: var(--panel); border: 1px solid var(--panel-border); box-shadow: var(--shadow);
  border-radius: var(--radius); backdrop-filter: blur(14px);
}
.hero-card { padding: 1.4rem; }
.mockup-header { display: flex; gap: .4rem; margin-bottom: 1rem; }
.mockup-header span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.22); }
.mockup-song {
  display: flex; justify-content: space-between; align-items: start; gap: 1rem;
  padding: 1rem; border-radius: 18px; background: rgba(255,255,255,0.03); margin-bottom: 1rem;
}
.pill { padding: .45rem .7rem; border-radius: 999px; background: rgba(32,208,255,0.12); color: #b6f1ff; font-size: .85rem; }
.wave-bars { display: grid; grid-template-columns: repeat(8, 1fr); gap: .5rem; align-items: end; height: 130px; margin: 1.25rem 0; }
.wave-bars span { display: block; border-radius: 999px; background: linear-gradient(180deg, var(--primary-2), var(--primary)); animation: pulse 1.8s infinite ease-in-out; }
.wave-bars span:nth-child(1){height:25%}.wave-bars span:nth-child(2){height:80%}.wave-bars span:nth-child(3){height:55%}.wave-bars span:nth-child(4){height:95%}.wave-bars span:nth-child(5){height:45%}.wave-bars span:nth-child(6){height:72%}.wave-bars span:nth-child(7){height:38%}.wave-bars span:nth-child(8){height:88%}
@keyframes pulse { 50% { opacity: .55; transform: scaleY(.9);} }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .85rem; }
.stats-grid div, .admin-stats div { padding: 1rem; border-radius: 18px; background: rgba(255,255,255,0.03); }
.stats-grid strong, .admin-stats strong, .price { display: block; font-size: 1.75rem; color: white; }
.section { padding: 4.5rem 0; }
.muted { background: rgba(255,255,255,0.02); border-top: 1px solid rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.04); }
.section-heading { display: flex; flex-direction: column; gap: .85rem; margin-bottom: 2rem; max-width: 780px; }
.section-heading.center, .narrow { margin-inline: auto; text-align: center; }
.card-grid.three, .pricing-grid, .footer-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(3, 1fr); }
.feature-card, .price-card, .step { padding: 1.4rem; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.step span {
  width: 52px; height: 52px; border-radius: 16px; display: inline-grid; place-items: center;
  background: linear-gradient(135deg, rgba(124,92,255,0.25), rgba(32,208,255,0.2));
  margin-bottom: 1rem; color: white; font-weight: 700;
}
.price-card.featured { transform: translateY(-8px); border-color: rgba(124,92,255,0.35); }
ul { padding-left: 1rem; }
.faq-list { display: grid; gap: .9rem; }
details {
  text-align: left; padding: 1.1rem 1.25rem; border-radius: 18px;
  background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.06);
}
summary { cursor: pointer; color: white; font-weight: 700; }
.site-footer { padding: 3rem 0 2rem; }
.footer-grid a { display: block; color: var(--muted); margin-bottom: .55rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,0.06); margin-top: 2rem; padding-top: 1rem; color: var(--muted); }
.auth-wrap { min-height: calc(100vh - 190px); display: grid; place-items: center; padding: 2rem 1rem 4rem; }
.auth-card { width: min(520px, 100%); padding: 2rem; }
.form-stack { display: grid; gap: 1rem; }
label { display: grid; gap: .45rem; color: white; font-weight: 600; }
input, textarea {
  width: 100%; padding: 1rem 1rem; border-radius: 16px; border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04); color: white; outline: none;
}
textarea { min-height: 120px; resize: vertical; }
.auth-switch { margin-top: 1rem; }
.dashboard-wrap { display: grid; grid-template-columns: 320px 1fr; gap: 1.25rem; padding: 2rem 0 4rem; }
.dashboard-sidebar, .section-card { padding: 1.5rem; }
.meta-list { display: grid; gap: .65rem; margin-top: 1rem; }
.project-form { display: grid; gap: 1rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .9rem .6rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.flash {
  margin-top: 1rem; padding: 1rem 1.25rem; border-radius: 16px; font-weight: 700;
  border: 1px solid rgba(255,255,255,0.08);
}
.flash-success { background: rgba(50,210,150,0.14); color: #aef0d4; }
.flash-error { background: rgba(255,107,129,0.14); color: #ffd0d8; }
.demo-box { margin-top: 1rem; padding: 1rem; }
.full-width { grid-column: 1 / -1; }
@media (max-width: 980px) {
  .hero-grid, .dashboard-wrap, .card-grid.three, .pricing-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .nav { flex-direction: column; align-items: flex-start; padding: .8rem 0; }
  .nav nav { width: 100%; }
}
