:root {
  --bg: #09080E;
  --bg-alt: #0E0C17;
  --surface: rgba(24, 21, 36, 0.72);
  --surface-strong: rgba(30, 26, 46, 0.9);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(139, 92, 246, 0.35);
  --text: #F6F5FA;
  --text-dim: rgba(235, 232, 248, 0.72);
  --text-muted: rgba(235, 232, 248, 0.48);
  --accent: #8B5CF6;
  --accent-deep: #6D28D9;
  --accent-soft: rgba(139, 92, 246, 0.18);
  --gold: #F5B841;
  --green: #34D399;
  --radius: 20px;
  --radius-sm: 12px;
  --max-w: 1140px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: #C4B5FD; text-decoration: none; }
a:hover { color: #EDE9FE; }

code, pre {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

/* Ambient Background */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.42;
}
.orb-1 {
  width: 560px;
  height: 560px;
  top: -160px;
  left: -120px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.55), transparent 70%);
}
.orb-2 {
  width: 520px;
  height: 520px;
  top: 260px;
  right: -160px;
  background: radial-gradient(circle, rgba(245, 184, 65, 0.22), rgba(109, 40, 217, 0.3) 50%, transparent 72%);
}
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 25%, transparent 75%);
}

.container {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 8, 14, 0.72);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(109, 40, 217, 0.45);
}
.brand-meta { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.brand-tag { font-size: 11px; color: var(--text-muted); font-weight: 500; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a { color: var(--text-dim); transition: color 0.16s; }
.nav-links a:hover { color: #fff; }
.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  color: #EDE9FE !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: rgba(139, 92, 246, 0.32); }

/* Hero */
.hero {
  padding: 76px 0 84px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.32);
  font-size: 12.5px;
  font-weight: 600;
  color: #DDD6FE;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.grad-text {
  background: linear-gradient(135deg, #C4B5FD 0%, #8B5CF6 48%, #F5B841 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 0 28px;
  font-size: 16.5px;
  color: var(--text-dim);
  max-width: 540px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 14px;
  font-size: 14.5px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 10px 30px rgba(109, 40, 217, 0.42);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(139, 92, 246, 0.55);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.stat strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}
.stat span {
  font-size: 12px;
  color: var(--text-muted);
}

/* Mockup Window */
.mockup-window {
  background: rgba(16, 13, 27, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(139, 92, 246, 0.14);
}

.mockup-titlebar {
  height: 36px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
  font-size: 11.5px;
  color: var(--text-muted);
}

.traffic-lights { display: flex; gap: 7px; }
.tl { width: 10px; height: 10px; border-radius: 50%; }
.tl-r { background: #FF5F56; }
.tl-y { background: #FFBD2E; }
.tl-g { background: #27C93F; }

.mockup-badge {
  color: var(--green);
  font-weight: 600;
  font-size: 11px;
}

.mockup-body {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 350px;
}

.mockup-side {
  padding: 14px 10px;
  background: rgba(10, 8, 18, 0.72);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ms-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 4px 6px;
}
.ms-brand img { width: 26px; height: 26px; border-radius: 7px; }
.ms-title { font-size: 13px; font-weight: 700; line-height: 1.1; }
.ms-sub { font-size: 10px; color: var(--text-muted); }

.ms-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 11px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
}
.ms-pill.active {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.34), rgba(109, 40, 217, 0.25));
  color: #fff;
}
.dot-green, .dot-orange { width: 6px; height: 6px; border-radius: 50%; }
.dot-green { background: var(--green); box-shadow: 0 0 8px var(--green); }
.dot-orange { background: #FF9500; }

.ms-nav { display: flex; flex-direction: column; gap: 3px; margin-top: 6px; }
.ms-item {
  display: flex;
  justify-content: space-between;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 11.5px;
  color: var(--text-muted);
}
.ms-item.active { background: rgba(255, 255, 255, 0.08); color: #fff; font-weight: 600; }
.ms-cnt {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}

.mockup-stage {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: radial-gradient(circle at 50% 25%, rgba(139, 92, 246, 0.22), transparent 68%);
}

.mock-art-wrap {
  position: relative;
  width: 138px;
  height: 138px;
  display: grid;
  place-items: center;
}
.mock-aura {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.55), rgba(245, 184, 65, 0.16) 55%, transparent 72%);
  filter: blur(16px);
  animation: pulseAura 4s ease-in-out infinite;
}
.mock-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px dashed rgba(196, 181, 253, 0.35);
  animation: spinSlow 24s linear infinite;
}
.mock-art {
  position: relative;
  width: 118px;
  height: 118px;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
}

@keyframes pulseAura {
  0%, 100% { transform: scale(0.95); opacity: 0.72; }
  50% { transform: scale(1.06); opacity: 1; }
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.mock-info { width: 100%; max-width: 310px; text-align: center; }
.mock-pills { display: flex; justify-content: center; gap: 6px; margin-bottom: 8px; }
.pill-flac, .pill-out {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
}
.pill-flac {
  background: rgba(245, 184, 65, 0.16);
  color: var(--gold);
  border: 1px solid rgba(245, 184, 65, 0.32);
}
.pill-out {
  background: rgba(139, 92, 246, 0.2);
  color: #DDD6FE;
  border: 1px solid rgba(139, 92, 246, 0.38);
}

.mock-track { font-size: 15px; font-weight: 700; color: #fff; }
.mock-artist { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }

.mock-bar {
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.mock-bar-fill {
  width: 36%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #C4B5FD);
  border-radius: 99px;
}
.mock-times {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-muted);
  margin: 4px 0 12px;
}

.mock-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.mc-btn { font-size: 14px; color: var(--text-dim); }
.mc-play {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #09080E;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.45);
}

/* Sections */
.section { padding: 80px 0; }
.section-alt {
  background: linear-gradient(180deg, rgba(18, 15, 30, 0.65), rgba(14, 12, 23, 0.85));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 660px;
  margin-bottom: 42px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #A78BFA;
  margin-bottom: 8px;
}
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.section-head p {
  margin: 0;
  color: var(--text-dim);
  font-size: 15.5px;
}

/* Feature Cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}
.card h3 {
  margin: 16px 0 8px;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-dim);
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.card-icon svg { width: 22px; height: 22px; fill: currentColor; }
.card-icon.purple { background: rgba(139, 92, 246, 0.18); color: #C4B5FD; }
.card-icon.gold { background: rgba(245, 184, 65, 0.16); color: var(--gold); }
.card-icon.green { background: rgba(52, 211, 153, 0.15); color: var(--green); }
.card-icon.blue { background: rgba(56, 189, 248, 0.15); color: #7DD3FC; }
.card-icon.rose { background: rgba(248, 113, 113, 0.15); color: #FCA5A5; }

/* Tabs */
.tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  margin-bottom: 28px;
}

.tab-btn {
  border: none;
  background: none;
  color: var(--text-dim);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.tab-btn:hover { color: #fff; }
.tab-btn.active {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.38), rgba(109, 40, 217, 0.34));
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.45);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Steps */
.steps-list { display: flex; flex-direction: column; gap: 20px; }
.step-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  background: var(--accent-soft);
  color: #DDD6FE;
  border: 1px solid var(--border-strong);
}
.step-body h3 { margin: 0 0 6px; font-size: 17px; }
.step-body p { margin: 0 0 12px; font-size: 14.5px; color: var(--text-dim); }
.hint { font-size: 13px !important; color: var(--text-muted) !important; margin-top: 10px !important; margin-bottom: 0 !important; }

/* Code Box */
.code-box {
  position: relative;
  background: #07060B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 86px 14px 16px;
  overflow-x: auto;
}
.code-box pre { margin: 0; font-size: 13px; line-height: 1.55; color: #E9E4FA; }

.copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 11px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.copy-btn:hover { background: rgba(139, 92, 246, 0.25); color: #fff; }
.copy-btn.copied { background: rgba(52, 211, 153, 0.2); color: var(--green); border-color: rgba(52, 211, 153, 0.4); }

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.info-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.info-card h3 { margin: 0 0 10px; font-size: 17px; }
.info-card p, .info-card li { font-size: 14.5px; color: var(--text-dim); }
.info-card ol, .info-card ul { padding-left: 20px; margin: 10px 0 14px; }
.info-card li { margin-bottom: 6px; }

/* Table */
.table-wrap {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
th, td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
tr:last-child td { border-bottom: none; }
th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
}
td code {
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(139, 92, 246, 0.14);
  color: #DDD6FE;
  font-size: 13px;
}

/* Download Box */
.download-box {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 32px;
  align-items: center;
  padding: 36px;
  border-radius: 24px;
  background: radial-gradient(circle at 0% 0%, rgba(139, 92, 246, 0.22), rgba(20, 17, 32, 0.92) 60%);
  border: 1px solid var(--border-strong);
}
.dl-copy h2 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; }
.dl-copy p { margin: 0 0 22px; color: var(--text-dim); font-size: 15px; }
.dl-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.dl-meta {
  display: grid;
  gap: 10px;
}
.dl-pill {
  padding: 11px 16px;
  border-radius: 12px;
  background: rgba(9, 8, 14, 0.6);
  border: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text-dim);
}
.dl-pill strong { color: #fff; margin-right: 6px; }

/* Footer */
.footer {
  padding: 28px 0 42px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text-muted);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-left { display: flex; align-items: center; gap: 10px; }
.footer-icon { width: 22px; height: 22px; border-radius: 6px; }
.footer-right { display: flex; gap: 10px; align-items: center; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .download-box, .two-col { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .mockup-body { grid-template-columns: 1fr; }
  .mockup-side { display: none; }
  .step-item { grid-template-columns: 1fr; }
  .download-box { padding: 24px; }
}
