:root {
  --bg: #0f0f17;
  --surface: #161622;
  --surface2: #1e1e2e;
  --fg: #e8e8f0;
  --fg-muted: #8888a0;
  --accent: #ff5c38;
  --accent-dim: rgba(255, 92, 56, 0.12);
  --border: rgba(255,255,255,0.07);
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(255,92,56,0.06) 0%, transparent 60%),
    linear-gradient(180deg, #0f0f17 0%, #12121c 100%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 79px,
    rgba(255,255,255,0.015) 79px,
    rgba(255,255,255,0.015) 80px
  );
}
.hero-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 140px 32px 80px;
  width: 100%;
}
.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 500;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--fg);
}
.hero-accent { color: var(--accent); }
.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-track-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.track-pill {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.85rem;
  color: var(--fg-muted);
  font-weight: 500;
}

/* ── SECTION LABEL ── */
.section-label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 40px;
  font-weight: 700;
}

/* ── HOW IT WORKS ── */
.hiw {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.hiw-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.hiw-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.hiw-step { position: relative; }
.step-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-dim);
  line-height: 1;
  margin-bottom: 16px;
}
.hiw-step h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.hiw-step p { color: var(--fg-muted); font-size: 0.95rem; line-height: 1.65; }

/* ── FEATURES ── */
.features {
  padding: 100px 0;
  background: var(--surface);
}
.features-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}
.feature-card {
  background: var(--surface);
  padding: 40px 36px;
}
.feature-icon {
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
}
.feature-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-card p { color: var(--fg-muted); font-size: 0.9rem; line-height: 1.65; }

/* ── OUTCOMES ── */
.outcomes {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.outcomes-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.outcomes-headline h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 60px;
  max-width: 620px;
}
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
.outcome {}
.outcome-metric {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}
.outcome-desc {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.5;
}
.outcomes-note {
  font-size: 0.9rem;
  color: var(--fg-muted);
  border-top: 1px solid var(--border);
  padding-top: 32px;
  max-width: 520px;
}

/* ── CLOSING ── */
.closing {
  padding: 100px 0 120px;
  border-top: 1px solid var(--border);
}
.closing-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.closing h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 28px;
  max-width: 600px;
}
.closing p {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.75;
}
.closing p + p { margin-top: 16px; }

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-left: 16px;
}
.footer-note {
  font-size: 0.8rem;
  color: #444455;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-inner { padding-top: 100px; }
  .hiw-steps { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { flex-direction: column; gap: 12px; align-items: flex-start; }
  .hero-track-row { gap: 8px; }
  .track-pill { font-size: 0.78rem; }
}

/* ── DEMO SECTION ── */
.demo-section {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.demo-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.demo-header {
  text-align: center;
  margin-bottom: 48px;
}
.demo-header h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.demo-header p {
  color: var(--fg-muted);
  font-size: 1rem;
}
.demo-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px;
  max-width: 680px;
  margin: 0 auto;
}
.demo-prompt-row {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.demo-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.95rem;
  color: var(--fg);
  font-family: var(--font-body);
  transition: border-color 0.2s;
  outline: none;
}
.demo-input:focus { border-color: var(--accent); }
.demo-input::placeholder { color: var(--fg-muted); }
.demo-generate-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  white-space: nowrap;
  min-width: 130px;
}
.demo-generate-btn:hover { opacity: 0.9; }
.demo-generate-btn:active { transform: scale(0.97); }
.demo-generate-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.demo-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.demo-preset {
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--fg-muted);
  font-size: 0.82rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  font-family: var(--font-body);
}
.demo-preset:hover, .demo-preset.active {
  border-color: var(--accent);
  color: var(--fg);
}
.demo-visuals {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 24px;
  min-height: 80px;
}
.demo-track-info {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.track-meta { flex: 1; }
.track-meta-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.track-meta-details {
  font-size: 0.8rem;
  color: var(--fg-muted);
}
.track-tags {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.track-tag {
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 500;
}
.player-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.player-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.player-btn:hover { opacity: 0.85; }
.player-progress-wrap { flex: 1; }
.player-progress-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-bottom: 6px;
  font-weight: 500;
}
.progress-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
}
.progress-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.3s linear;
}
.demo-status {
  text-align: center;
  padding: 20px;
  color: var(--fg-muted);
  font-size: 0.9rem;
}
.demo-status.error {
  color: #ff6b6b;
}
.demo-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  color: var(--fg-muted);
  gap: 12px;
}
.demo-empty-icon {
  font-size: 2rem;
  opacity: 0.4;
}
.demo-empty-text {
  font-size: 0.9rem;
  color: var(--fg-muted);
}
@keyframes spin { to { transform: rotate(360deg); } }
.demo-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}