/* ============================================================
   LYRA — Premium AI Music Platform
   Global Stylesheet v1.0
   Brand: Luxury Dark, Cinematic, Futuristic
   ============================================================ */

/* ── Imports ──────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Syne:wght@400;500;600;700;800&display=swap');

/* ── CSS Custom Properties ────────────────────────────────── */
:root {
  /* Brand Colors */
  --lyra-black:      #030507;
  --lyra-deep:       #070b12;
  --lyra-dark:       #0d1421;
  --lyra-card:       #111827;
  --lyra-surface:    #141d2e;
  --lyra-border:     rgba(255,255,255,0.07);
  --lyra-border-md:  rgba(255,255,255,0.12);

  /* Accent Palette */
  --accent-violet:   #7c3aed;
  --accent-violet-l: #9d5cf6;
  --accent-blue:     #1e40af;
  --accent-indigo:   #4f46e5;
  --accent-gold:     #d4a853;
  --accent-gold-l:   #f0c96a;
  --accent-cyan:     #06b6d4;

  /* Gradient Definitions */
  --grad-primary:    linear-gradient(135deg, #7c3aed 0%, #4f46e5 50%, #1e40af 100%);
  --grad-gold:       linear-gradient(135deg, #d4a853 0%, #f0c96a 100%);
  --grad-glow:       linear-gradient(135deg, rgba(124,58,237,0.15) 0%, rgba(79,70,229,0.08) 100%);
  --grad-hero:       radial-gradient(ellipse 120% 80% at 50% -10%, rgba(124,58,237,0.35) 0%, rgba(79,70,229,0.12) 40%, transparent 70%);
  --grad-card:       linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);

  /* Typography */
  --font-display:    'Syne', sans-serif;
  --font-body:       'Inter', sans-serif;

  /* Text Colors */
  --text-primary:    #f8fafc;
  --text-secondary:  #94a3b8;
  --text-muted:      #475569;
  --text-accent:     #a78bfa;

  /* Spacing */
  --nav-h:           72px;
  --radius-sm:       8px;
  --radius-md:       12px;
  --radius-lg:       16px;
  --radius-xl:       24px;
  --radius-2xl:      32px;

  /* Shadows */
  --shadow-sm:       0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:       0 4px 20px rgba(0,0,0,0.5);
  --shadow-lg:       0 8px 40px rgba(0,0,0,0.6);
  --shadow-violet:   0 0 40px rgba(124,58,237,0.25);
  --shadow-gold:     0 0 30px rgba(212,168,83,0.2);

  /* Transitions */
  --t-fast:          150ms ease;
  --t-med:           300ms ease;
  --t-slow:          500ms ease;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--lyra-black);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
ul, ol { list-style: none; }

/* ── Typography Scale ─────────────────────────────────────── */
.font-display { font-family: var(--font-display); }

.text-hero {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.text-h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.text-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.text-h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
}

.text-lg { font-size: 1.125rem; line-height: 1.7; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; letter-spacing: 0.04em; }

.text-primary   { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted     { color: var(--text-muted); }
.text-accent    { color: var(--text-accent); }
.text-gold      { color: var(--accent-gold-l); }

.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout Utilities ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-lg {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

.grid { display: grid; }

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(3,5,7,0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--lyra-border);
  transition: background var(--t-med), border-color var(--t-med);
}

.nav.scrolled {
  background: rgba(3,5,7,0.92);
  border-color: rgba(255,255,255,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-logo-mark {
  width: 34px;
  height: 34px;
  background: var(--grad-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-violet);
}

.nav-logo-mark svg { width: 18px; height: 18px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--t-fast), background var(--t-fast);
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.nav-link.active {
  color: var(--text-primary);
  background: rgba(124,58,237,0.12);
  color: var(--text-accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid rgba(124,58,237,0.4);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.nav-avatar:hover {
  border-color: var(--accent-violet-l);
  box-shadow: 0 0 16px rgba(124,58,237,0.35);
}

/* Mobile Nav */
.nav-mobile-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.nav-mobile-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--t-med);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--t-med);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--t-fast);
  background: rgba(255,255,255,0.1);
}

.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.4), 0 1px 0 rgba(255,255,255,0.1) inset;
}

.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(124,58,237,0.55), 0 1px 0 rgba(255,255,255,0.1) inset;
  transform: translateY(-1px);
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border: 1px solid var(--lyra-border-md);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--lyra-border);
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
  border-color: var(--lyra-border-md);
}

.btn-gold {
  background: var(--grad-gold);
  color: #0d0d0d;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(212,168,83,0.35);
}

.btn-gold:hover {
  box-shadow: 0 6px 30px rgba(212,168,83,0.5);
  transform: translateY(-1px);
}

.btn-sm { padding: 8px 16px; font-size: 0.85rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-xl { padding: 20px 48px; font-size: 1.15rem; border-radius: var(--radius-lg); }
.btn-icon { padding: 8px; border-radius: var(--radius-sm); }
.btn-icon-round { padding: 10px; border-radius: 50%; }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--grad-card);
  background-color: var(--lyra-card);
  border: 1px solid var(--lyra-border);
  border-radius: var(--radius-xl);
  transition: border-color var(--t-med), box-shadow var(--t-med), transform var(--t-med);
}

.card:hover {
  border-color: rgba(124,58,237,0.25);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 20px rgba(124,58,237,0.1);
}

.card-glass {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
}

/* ── Track Cards ──────────────────────────────────────────── */
.track-card {
  background: var(--lyra-card);
  border: 1px solid var(--lyra-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--t-med);
  position: relative;
}

.track-card:hover {
  border-color: rgba(124,58,237,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 30px rgba(124,58,237,0.12);
}

.track-cover {
  aspect-ratio: 1;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: var(--lyra-surface);
}

.track-cover-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.track-card:hover .track-cover-art { transform: scale(1.06); }

.track-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,11,18,0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--t-med);
}

.track-card:hover .track-cover-overlay { opacity: 1; }

.track-play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(124,58,237,0.5);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.track-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(124,58,237,0.7);
}

.track-info { padding: 16px; }
.track-title { font-weight: 600; font-size: 0.95rem; margin-bottom: 4px; }
.track-meta { font-size: 0.8rem; color: var(--text-muted); display: flex; gap: 8px; align-items: center; }
.track-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: rgba(124,58,237,0.15);
  color: var(--text-accent);
  border: 1px solid rgba(124,58,237,0.2);
}

.tag-gold {
  background: rgba(212,168,83,0.12);
  color: var(--accent-gold-l);
  border-color: rgba(212,168,83,0.2);
}

.tag-cyan {
  background: rgba(6,182,212,0.12);
  color: var(--accent-cyan);
  border-color: rgba(6,182,212,0.2);
}

/* ── Form Elements ────────────────────────────────────────── */
.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.input-field {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--lyra-border-md);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}

.input-field::placeholder { color: var(--text-muted); }

.input-field:focus {
  border-color: var(--accent-violet);
  background: rgba(124,58,237,0.06);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}

.textarea-field {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.select-field {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  cursor: pointer;
}

/* ── Badge ────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-violet {
  background: rgba(124,58,237,0.15);
  color: var(--text-accent);
  border: 1px solid rgba(124,58,237,0.25);
}

.badge-gold {
  background: rgba(212,168,83,0.12);
  color: var(--accent-gold-l);
  border: 1px solid rgba(212,168,83,0.2);
}

.badge-green {
  background: rgba(34,197,94,0.12);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.2);
}

/* ── Waveform Visualizer ──────────────────────────────────── */
.waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 40px;
}

.waveform-bar {
  width: 3px;
  background: var(--accent-violet);
  border-radius: 3px;
  opacity: 0.6;
  animation: none;
  transition: height 0.1s ease;
}

.waveform.playing .waveform-bar {
  animation: waveAnim 1.2s ease-in-out infinite;
  opacity: 1;
}

.waveform-bar:nth-child(odd) { animation-delay: -0.6s; }
.waveform-bar:nth-child(3n) { animation-delay: -0.3s; }

@keyframes waveAnim {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

/* ── Audio Player ─────────────────────────────────────────── */
.player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  height: 80px;
  background: rgba(7,11,18,0.95);
  backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid var(--lyra-border);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 24px;
  transform: translateY(100%);
  transition: transform var(--t-med);
}

.player-bar.visible { transform: translateY(0); }

.player-track-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.player-thumb {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--lyra-surface);
  overflow: hidden;
  flex-shrink: 0;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: center;
}

.player-progress-area {
  flex: 1;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.progress-track {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  position: relative;
  cursor: pointer;
}

.progress-fill {
  height: 100%;
  background: var(--grad-primary);
  border-radius: 3px;
  position: relative;
  transition: width 0.1s linear;
}

.progress-fill::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-violet-l);
  box-shadow: 0 0 8px rgba(157,92,246,0.6);
  opacity: 0;
  transition: opacity var(--t-fast);
}

.progress-track:hover .progress-fill::after { opacity: 1; }

/* ── Hero Background Effects ──────────────────────────────── */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--accent-violet);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-indigo);
  top: 100px;
  right: -100px;
  animation: orbFloat 10s ease-in-out infinite reverse;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: var(--accent-blue);
  bottom: -50px;
  left: -50px;
  animation: orbFloat 12s ease-in-out infinite;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.97); }
}

/* ── Noise Texture Overlay ────────────────────────────────── */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ── Section Dividers ─────────────────────────────────────── */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lyra-border-md), transparent);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-accent);
  margin-bottom: 16px;
}

.section-label::before, .section-label::after {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--accent-violet);
  opacity: 0.5;
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(124,58,237,0.3); }
  50% { box-shadow: 0 0 40px rgba(124,58,237,0.6); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.animate-fade-up { animation: fadeInUp 0.7s ease forwards; }
.animate-fade-in { animation: fadeIn 0.5s ease forwards; }
.animate-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-delay-3 { animation-delay: 0.3s; opacity: 0; }
.animate-delay-4 { animation-delay: 0.4s; opacity: 0; }

/* ── Skeleton Loading ─────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--lyra-card) 25%, var(--lyra-surface) 50%, var(--lyra-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.8s infinite;
  border-radius: var(--radius-sm);
}

/* ── Generation Progress ──────────────────────────────────── */
.gen-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 48px;
  text-align: center;
}

.gen-spinner {
  width: 72px;
  height: 72px;
  position: relative;
}

.gen-spinner-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
}

.gen-spinner-ring-1 {
  border-top-color: var(--accent-violet);
  animation: spin 1.2s linear infinite;
}

.gen-spinner-ring-2 {
  border-right-color: var(--accent-indigo);
  animation: spin 1.8s linear infinite reverse;
  inset: 8px;
}

.gen-spinner-ring-3 {
  border-bottom-color: var(--accent-cyan);
  animation: spin 2.4s linear infinite;
  inset: 16px;
}

.gen-step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--t-med);
}

.gen-step-item.active { color: var(--text-primary); }
.gen-step-item.done { color: #4ade80; }

.gen-step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* ── Stats Display ────────────────────────────────────────── */
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Pricing Cards ────────────────────────────────────────── */
.pricing-card {
  border-radius: var(--radius-2xl);
  padding: 40px;
  border: 1px solid var(--lyra-border);
  background: var(--lyra-card);
  position: relative;
  transition: all var(--t-med);
}

.pricing-card:hover {
  border-color: rgba(124,58,237,0.25);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: rgba(124,58,237,0.5);
  background: linear-gradient(145deg, rgba(124,58,237,0.1), var(--lyra-card));
  box-shadow: 0 0 60px rgba(124,58,237,0.2), 0 20px 60px rgba(0,0,0,0.5);
}

.pricing-card.featured:hover {
  box-shadow: 0 0 80px rgba(124,58,237,0.3), 0 30px 80px rgba(0,0,0,0.6);
}

.pricing-featured-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricing-price sup {
  font-size: 1.5rem;
  vertical-align: top;
  margin-top: 0.5rem;
  font-weight: 600;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--lyra-border);
}

.pricing-feature:last-child { border-bottom: none; }

.pricing-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(124,58,237,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── FAQ Accordion ────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--lyra-border);
  padding: 0;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: color var(--t-fast);
}

.faq-question:hover { color: var(--text-accent); }

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--lyra-border-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-med);
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  background: rgba(124,58,237,0.2);
  border-color: var(--accent-violet);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-med), padding var(--t-med);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--lyra-black); }
::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(124,58,237,0.4); }

/* ── Selection ────────────────────────────────────────────── */
::selection {
  background: rgba(124,58,237,0.35);
  color: var(--text-primary);
}

/* ── Page Layout ──────────────────────────────────────────── */
.page-wrapper {
  min-height: 100vh;
  padding-top: var(--nav-h);
}

.main-content {
  padding-bottom: 100px; /* player bar space */
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--lyra-deep);
  border-top: 1px solid var(--lyra-border);
  padding: 60px 0 40px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.footer-links-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-link {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 5px 0;
  transition: color var(--t-fast);
}

.footer-link:hover { color: var(--text-primary); }

/* ══════════════════════════════════════════════
   LYRA — Extended Design System v2.0
   Aliases, missing vars, nav, forms, sections
   ══════════════════════════════════════════════ */

/* ── CSS variable aliases (bridge between old and new naming) ── */
:root {
  --lyra-violet:   #7c3aed;
  --lyra-indigo:   #4f46e5;
  --lyra-gold:     #d4a853;
  --lyra-cyan:     #06b6d4;
  --lyra-text:     #f8fafc;
  --lyra-muted:    #64748b;
  --lyra-subtle:   #334155;
}

/* ── Navigation (lyra-nav variant) ── */
.lyra-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(3,5,7,0.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--lyra-border);
}
.lyra-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--lyra-text);
  text-decoration: none;
}
.nav-brand-icon {
  width: 30px; height: 30px;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.nav-brand-name { color: var(--lyra-text); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--lyra-muted);
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--lyra-text); background: rgba(255,255,255,0.05); }
.nav-links a[aria-current="page"] { color: var(--lyra-text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-credits-badge { font-size: 0.78rem; color: var(--lyra-muted); }
.nav-user-menu { display: flex; align-items: center; gap: 10px; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--lyra-muted); border-radius: 2px; }
.nav-links-open { display: flex !important; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--lyra-deep); border-bottom: 1px solid var(--lyra-border); padding: 12px 24px; z-index: 99; }
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .lyra-nav .nav-links { display: none; }
  .lyra-nav .nav-links.nav-links-open { display: flex; }
}

/* ── Section layout helpers ── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--lyra-violet);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--lyra-muted);
  line-height: 1.65;
  max-width: 600px;
}
.section-header.text-center .section-subtitle { margin: 0 auto; }

/* ── Fade-up scroll animation ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Visually hidden (screen-reader only) ── */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Form elements ── */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--lyra-muted);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}
.form-input {
  width: 100%;
  background: var(--lyra-deep);
  border: 1px solid var(--lyra-border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  color: var(--lyra-text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus {
  border-color: rgba(124,58,237,0.5);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}
.form-input::placeholder { color: var(--lyra-subtle); }
.form-input:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-icon-sm {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--lyra-muted);
  transition: color 0.2s;
  padding: 4px;
}
.btn-icon-sm:hover { color: var(--lyra-text); }

/* ── Tag chips (genre/mood pills) ── */
.tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--lyra-border);
  color: var(--lyra-muted);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.tag-chip:hover { border-color: rgba(124,58,237,0.4); color: var(--lyra-text); }
.tag-chip-active {
  background: rgba(124,58,237,0.15);
  border-color: var(--lyra-violet);
  color: var(--lyra-violet);
}

/* ── Sort select ── */
.sort-select {
  background: var(--lyra-card);
  border: 1px solid var(--lyra-border);
  border-radius: var(--radius-sm);
  color: var(--lyra-text);
  font-family: 'Inter', sans-serif;
  font-size: 0.87rem;
  padding: 8px 14px;
  outline: none;
  cursor: pointer;
}
.sort-select:focus { border-color: rgba(124,58,237,0.4); }

/* ── Skeleton loading card ── */
.skeleton-card {
  background: linear-gradient(90deg, var(--lyra-card) 25%, rgba(255,255,255,0.04) 50%, var(--lyra-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-xl);
  border: 1px solid var(--lyra-border);
}

/* ── btn-full ── */
.btn-full { width: 100% !important; justify-content: center !important; }

/* ── Nav credits display ── */
.nav-credits {
  font-size: 0.78rem;
  color: var(--lyra-violet);
  font-weight: 600;
  padding: 3px 10px;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 100px;
  white-space: nowrap;
}

.footer-bottom {
  border-top: 1px solid var(--lyra-border);
  padding-top: 24px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ── Utility Classes ──────────────────────────────────────── */
.hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mt-16 { margin-top: 64px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.py-section { padding-top: 100px; padding-bottom: 100px; }
.py-section-sm { padding-top: 60px; padding-bottom: 60px; }

.w-full { width: 100%; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }

.cursor-pointer { cursor: pointer; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-mobile-btn { display: flex; }
  .container-lg { padding: 0 24px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .py-section { padding-top: 64px; padding-bottom: 64px; }
  .py-section-sm { padding-top: 40px; padding-bottom: 40px; }
  .pricing-card { padding: 28px 24px; }
  .player-bar { padding: 0 16px; gap: 12px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .btn-xl { padding: 16px 32px; font-size: 1rem; }
  .stat-value { font-size: 2rem; }
}
