/* ===========================================================
   Music Lab — modern, full-width design system
   =========================================================== */

:root {
  --bg: #07070a;
  --bg-1: #0b0c11;
  --bg-2: #101218;
  --bg-3: #171a22;
  --panel: #1c1f28;
  --panel-2: #242834;
  --border: #262a35;
  --border-bright: #353a48;
  --text: #f2f4f7;
  --text-dim: #a9b0bb;
  --text-muted: #6b7280;

  --accent: #4aa0ff;
  --accent-2: #8a5cff;
  --accent-3: #ff4a8a;
  --accent-hover: #5fb0ff;
  --accent-dim: rgba(74, 160, 255, 0.12);
  --accent-glow: rgba(74, 160, 255, 0.35);

  --gradient-primary: linear-gradient(135deg, #4aa0ff 0%, #8a5cff 50%, #ff4a8a 100%);
  --gradient-soft: linear-gradient(135deg, rgba(74,160,255,0.15), rgba(138,92,255,0.15), rgba(255,74,138,0.15));

  --danger: #ff5c7a;
  --success: #3ddc97;
  --warning: #ffb454;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 60px rgba(74,160,255,0.25);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}
body {
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(74,160,255,0.10), transparent 60%),
    radial-gradient(1000px 500px at 90% 10%, rgba(138,92,255,0.08), transparent 60%),
    radial-gradient(800px 400px at 50% 100%, rgba(255,74,138,0.06), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5 { font-family: 'Inter', sans-serif; letter-spacing: -0.02em; }

/* ===================== TOP UTILITY BAR ===================== */
.top-tabs {
  background: rgba(7, 7, 10, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.top-tabs-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 32px;
  gap: 2px;
  height: 44px;
}
.top-tabs .tab {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  height: 44px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #888e98;
  transition: color 0.2s;
  position: relative;
}
.top-tabs .tab:hover { color: #fff; }
.top-tabs .tab.active {
  color: #fff;
}
.top-tabs .tab.active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}
.top-tabs-right {
  margin-left: auto;
  display: flex;
  gap: 12px;
  align-items: center;
}
.top-tabs .login {
  color: #ccc;
  font-size: 12px;
  padding: 6px 12px;
  transition: color 0.15s;
}
.top-tabs .login:hover { color: #fff; }
.top-tabs .signup-small {
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 7px 16px;
  border: 1px solid var(--border-bright);
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  transition: background 0.15s, border-color 0.15s;
}
.top-tabs .signup-small:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--accent);
}

/* ===================== MAIN NAV ===================== */
.main-nav {
  display: flex;
  align-items: center;
  padding: 18px 48px;
  max-width: 1440px;
  margin: 0 auto;
  gap: 40px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.15s;
}
.logo:hover { opacity: 0.85; }
.logo-text {
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.logo-text strong { font-weight: 800; background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  color: #c8ced8;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  transition: color 0.15s;
}
.nav-link:hover { color: #fff; }
.nav-link.active { color: #fff; }
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}
.nav-cta {
  background: var(--gradient-primary);
  color: #fff !important;
  padding: 11px 22px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 8px 24px rgba(74,160,255,0.3);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(74,160,255,0.45);
}
.nav-cta strong { font-weight: 800; }

/* ===================== HERO (landing) ===================== */
.hero-v2 {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 60px 48px 120px;
  overflow: hidden;
}
.hero-bg-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg-glow::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 1400px; height: 1400px;
  transform: translate(-50%, -60%);
  background: radial-gradient(closest-side, rgba(74,160,255,0.15), transparent 70%);
  filter: blur(40px);
}
.hero-bg-glow::after {
  content: '';
  position: absolute;
  bottom: -200px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(closest-side, rgba(255,74,138,0.12), transparent 70%);
  filter: blur(40px);
}

.hero-grid {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-bright);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  color: #c8ced8;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 800;
  line-height: 1.02;
  margin: 0 0 24px 0;
  letter-spacing: -0.04em;
}
.hero-title .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  margin: 0 0 32px 0;
  max-width: 560px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  padding: 15px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 12px 32px rgba(74,160,255,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(74,160,255,0.5);
}
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: #fff;
  padding: 14px 26px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border-bright);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.15s, border-color 0.15s;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--accent);
}

.hero-social-proof {
  margin-top: 42px;
  display: flex;
  gap: 32px;
  align-items: center;
}
.hero-avatars {
  display: flex;
}
.hero-avatars .av {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -10px;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.hero-avatars .av:first-child { margin-left: 0; }
.hero-social-text {
  font-size: 13px;
  color: var(--text-dim);
}
.hero-social-text strong { color: #fff; }

/* ===== Hero visual (right side — fake studio preview) ===== */
.hero-visual {
  position: relative;
  perspective: 1200px;
}
.studio-preview {
  background: var(--panel);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-lg), 0 0 100px rgba(74,160,255,0.2);
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 0.4s;
}
.studio-preview:hover {
  transform: rotateY(-2deg) rotateX(1deg);
}
.sp-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.sp-dots { display: flex; gap: 6px; }
.sp-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #2a2d35;
}
.sp-dots span:nth-child(1) { background: #ff5f57; }
.sp-dots span:nth-child(2) { background: #febc2e; }
.sp-dots span:nth-child(3) { background: #28c840; }
.sp-title {
  margin-left: 12px;
  font-size: 12px;
  color: var(--text-dim);
}
.sp-live {
  margin-left: auto;
  font-size: 10px;
  color: var(--danger);
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.sp-live::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--danger);
  animation: pulse-dot 1.2s infinite;
}
.sp-track {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 10px;
  margin-bottom: 8px;
  align-items: center;
}
.sp-track-label {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 500;
}
.sp-track-wave {
  height: 28px;
  background: var(--bg-2);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.sp-track-clip {
  position: absolute;
  top: 3px; bottom: 3px;
  border-radius: 3px;
}
.sp-track:nth-child(2) .sp-track-clip { left: 0; width: 60%; background: linear-gradient(90deg, #ff5c7a, #c73258); }
.sp-track:nth-child(3) .sp-track-clip { left: 8%; width: 78%; background: linear-gradient(90deg, #3ddc97, #2a9b6b); }
.sp-track:nth-child(4) .sp-track-clip { left: 18%; width: 65%; background: linear-gradient(90deg, #ffb454, #c78935); }
.sp-track:nth-child(5) .sp-track-clip { left: 22%; width: 55%; background: linear-gradient(90deg, #4aa0ff, #2d6bb3); }
.sp-track-clip::after {
  content: '';
  position: absolute; inset: 4px 6px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'><path d='M0,5 L5,3 L10,7 L15,2 L20,8 L25,4 L30,6 L35,2 L40,8 L45,5 L50,3 L55,7 L60,2 L65,8 L70,4 L75,6 L80,3 L85,7 L90,2 L95,8 L100,5' stroke='white' stroke-width='0.4' fill='none' opacity='0.7'/></svg>");
  background-size: 100% 100%;
}
.sp-playhead {
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
  left: 40%;
  box-shadow: 0 0 8px var(--accent);
  animation: sp-move 6s linear infinite;
}
@keyframes sp-move {
  0% { left: 0%; }
  100% { left: 95%; }
}
.sp-cursors {
  position: absolute;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  animation: sp-cursor-float 5s ease-in-out infinite;
}
@keyframes sp-cursor-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.sp-bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.sp-play {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  border: none;
}
.sp-play svg { fill: #fff; margin-left: 2px; }
.sp-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #fff;
}
.sp-users {
  margin-left: auto;
  display: flex;
}
.sp-users .av {
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid var(--panel);
  margin-left: -6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: #fff;
}

.hero-float-card {
  position: absolute;
  background: rgba(28, 31, 40, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  font-size: 12px;
  animation: float 4s ease-in-out infinite;
}
.hero-float-card.fc1 { top: -20px; left: -30px; animation-delay: 0s; }
.hero-float-card.fc2 { bottom: 30px; right: -40px; animation-delay: 1s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.fc-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.fc-text strong { display: block; color: #fff; font-size: 12px; }
.fc-text span { color: var(--text-dim); font-size: 11px; }

/* ===================== STATS STRIP ===================== */
.stats-strip {
  max-width: 1440px;
  margin: -40px auto 80px;
  padding: 32px 48px;
  background: rgba(16, 18, 24, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 5;
}
.stat-num {
  font-size: 38px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 6px;
}

/* ===================== SECTION SHELL ===================== */
.section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 48px;
}
.section-head { text-align: center; margin-bottom: 60px; }
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 14px 0;
}
.section-sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto;
}

/* ===================== FEATURE GRID (cards) ===================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: linear-gradient(180deg, rgba(28,31,40,0.6), rgba(16,18,24,0.6));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card h3 { margin: 0 0 10px 0; font-size: 20px; font-weight: 700; }
.feature-card p { margin: 0; color: var(--text-dim); font-size: 14px; line-height: 1.6; }

/* ===================== BIG PRODUCT PREVIEW ===================== */
.product-showcase {
  background:
    radial-gradient(ellipse at top, rgba(74,160,255,0.12), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg));
  padding: 100px 48px;
  position: relative;
  overflow: hidden;
}
.showcase-inner {
  max-width: 1440px;
  margin: 0 auto;
}
.showcase-media {
  margin-top: 60px;
  background: var(--panel);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg), 0 0 120px rgba(74,160,255,0.15);
  position: relative;
}
.showcase-media::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, rgba(74,160,255,0.5), transparent 40%, rgba(255,74,138,0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.showcase-tracks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.showcase-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px 14px;
  background: var(--bg-2);
  border-radius: 8px;
  position: relative;
}
.showcase-row .sr-label {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.showcase-row .sr-label .d {
  width: 8px; height: 8px; border-radius: 2px;
}
.showcase-row .sr-lane {
  position: relative;
  height: 46px;
  background: rgba(255,255,255,0.02);
  border-radius: 6px;
  overflow: hidden;
}
.showcase-row .sr-clip {
  position: absolute;
  top: 4px; bottom: 4px;
  border-radius: 4px;
}
.showcase-row .sr-clip::after {
  content: '';
  position: absolute; inset: 4px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'><path d='M0,10 L3,5 L6,15 L9,3 L12,17 L15,8 L18,13 L21,5 L24,15 L27,10 L30,6 L33,14 L36,4 L39,16 L42,8 L45,12 L48,5 L51,15 L54,10 L57,7 L60,13 L63,4 L66,16 L69,9 L72,11 L75,5 L78,15 L81,10 L84,7 L87,13 L90,4 L93,16 L96,9 L99,11' stroke='white' stroke-width='0.4' fill='none' opacity='0.7'/></svg>");
  background-size: 100% 100%;
}

/* ===================== HOW IT WORKS (modern) ===================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step {
  background: var(--panel);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(74,160,255,0.3);
}
.step h4 { margin: 0 0 8px 0; font-size: 17px; font-weight: 700; }
.step p { margin: 0; color: var(--text-dim); font-size: 14px; }

/* ===================== TESTIMONIALS ===================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial {
  background: linear-gradient(180deg, rgba(28,31,40,0.6), rgba(16,18,24,0.6));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.testimonial .quote {
  font-size: 15px;
  color: #e2e6ec;
  line-height: 1.6;
  margin: 0 0 20px 0;
}
.testimonial .author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial .author .av {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 14px;
}
.testimonial .author strong { display: block; color: #fff; font-size: 13px; }
.testimonial .author span { color: var(--text-dim); font-size: 12px; }

/* ===================== CTA BANNER ===================== */
.cta-banner {
  max-width: 1440px;
  margin: 80px auto;
  padding: 80px 48px;
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(74,160,255,0.25), transparent 70%),
    linear-gradient(135deg, #141932, #0d1020);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-bright);
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, var(--accent), transparent 40%, var(--accent-3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.cta-banner h2 {
  margin: 0 0 14px 0;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.cta-banner p { margin: 0 0 32px 0; color: #cbd5e1; font-size: 17px; }

/* ===================== FOOTER ===================== */
.site-footer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 48px 40px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-grid h5 {
  margin: 0 0 16px 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  font-weight: 700;
}
.footer-grid a {
  display: block;
  color: var(--text-dim);
  font-size: 13px;
  padding: 5px 0;
  transition: color 0.15s;
}
.footer-grid a:hover { color: var(--accent); }
.footer-tag {
  color: var(--text-muted);
  font-size: 13px;
  margin: 16px 0 20px 0;
  max-width: 280px;
  line-height: 1.6;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--panel);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  transition: background 0.15s, border-color 0.15s;
}
.footer-socials a:hover { background: var(--accent-dim); border-color: var(--accent); }
.footer-bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
}

/* ===========================================================
   SECONDARY PAGES (search hero, radio, musicians, etc.)
   =========================================================== */

.page-hero {
  position: relative;
  padding: 80px 48px 60px;
  overflow: hidden;
  text-align: center;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(74,160,255,0.18), transparent 60%);
  pointer-events: none;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  z-index: -1;
}
.page-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,7,10,0.5), rgba(7,7,10,0.95));
}
.page-hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 14px 0;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-hero .subtitle {
  color: var(--text-dim);
  font-size: 17px;
  margin: 0 0 28px 0;
  max-width: 640px;
}

.search-bar {
  display: flex;
  background: rgba(28, 31, 40, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-bright);
  border-radius: 30px;
  overflow: hidden;
  max-width: 620px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-bar:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74,160,255,0.15);
}
.search-bar input {
  flex: 1;
  border: none;
  padding: 16px 20px;
  font-size: 14px;
  outline: none;
  background: transparent;
  color: #fff;
}
.search-bar input::placeholder { color: var(--text-muted); }
.search-bar .search-icon {
  padding: 0 0 0 18px;
  display: flex; align-items: center;
  color: var(--text-muted);
}
.search-bar button {
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  padding: 0 32px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}
.search-bar button:hover { opacity: 0.9; }
.search-bar select {
  border: none;
  border-left: 1px solid var(--border);
  padding: 0 16px;
  background: transparent;
  color: #ddd;
  font-size: 13px;
  outline: none;
  cursor: pointer;
}
.search-bar select option { background: var(--panel); color: #fff; }

/* ===================== RADIO LAYOUT ===================== */
.radio-layout {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 48px 80px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
}
.radio-nav {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  height: fit-content;
  position: sticky;
  top: 64px;
}
.radio-nav .nav-header {
  background: var(--gradient-primary);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 14px 20px;
}
.radio-nav .station {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  font-size: 13px;
  color: #d0d6df;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.radio-nav .station::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border-bright);
}
.radio-nav .station.active::before { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.radio-nav .station:hover { background: rgba(255,255,255,0.04); color: #fff; }
.radio-nav .station.active { background: var(--accent-dim); color: #fff; }
.radio-nav .create-station {
  padding: 14px 20px;
  color: var(--accent);
  font-size: 13px;
  cursor: pointer;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.radio-content h3 {
  margin: 0 0 6px 0;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.radio-content .radio-sub {
  color: var(--text-dim);
  margin: 0 0 24px 0;
  font-size: 14px;
}
.track-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin: 0 0 40px;
}
.track-card { cursor: pointer; }
.track-art {
  aspect-ratio: 1 / 1;
  background: #2a2d33;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: transform 0.2s;
}
.track-card:hover .track-art { transform: scale(1.03); box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 40px rgba(74,160,255,0.2); }
.track-art .play-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.6));
  display: flex; align-items: flex-end; justify-content: flex-end;
  padding: 14px;
  opacity: 0;
  transition: opacity 0.2s;
}
.track-card:hover .play-overlay { opacity: 1; }
.play-circle {
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(74,160,255,0.4);
}
.play-circle svg { margin-left: 2px; fill: #fff; }
.track-meta { padding: 12px 0 0 0; }
.track-status {
  color: var(--success);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  display: flex; align-items: center; gap: 4px;
}
.track-status::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 6px var(--success);
  animation: pulse-dot 1.5s infinite;
}
.track-title { color: #fff; font-size: 14px; font-weight: 600; margin: 4px 0 2px; }
.track-artist { color: var(--text-dim); font-size: 12px; }

.genre-label {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin: 40px 0 20px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}
.genre-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
}

/* ===================== MUSICIAN GRID ===================== */
.musician-grid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 48px 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.musician-card {
  background: var(--panel);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.musician-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 40px rgba(74,160,255,0.15);
}
.musician-cover {
  height: 110px;
  background: linear-gradient(135deg, #3a5c8a, #1a3a5c);
  position: relative;
}
.musician-cover::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, rgba(28,31,40,0.6));
}
.musician-body { padding: 0 20px 20px; position: relative; }
.musician-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: 4px solid var(--panel);
  margin-top: -36px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.musician-body h4 { margin: 12px 0 2px; font-size: 17px; font-weight: 700; }
.musician-role { color: var(--text-dim); font-size: 13px; margin-bottom: 14px; }
.musician-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tag {
  background: rgba(74,160,255,0.1);
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid rgba(74,160,255,0.2);
}
.musician-stats {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.musician-stats strong { color: #fff; display: block; font-size: 14px; font-weight: 700; }
.btn-collab {
  display: block;
  padding: 10px 0;
  background: var(--gradient-primary);
  color: #fff;
  text-align: center;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 6px 16px rgba(74,160,255,0.25);
}
.btn-collab:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(74,160,255,0.4);
}

/* ===================== COMPETITIONS ===================== */
.comp-grid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 48px 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.comp-card {
  background: var(--panel);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.comp-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
}
.comp-art {
  height: 160px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.comp-art::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(28,31,40,0.9));
}
.comp-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--success);
  color: #000;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  z-index: 2;
}
.comp-body { padding: 24px; }
.comp-body h3 { margin: 0 0 6px 0; font-size: 19px; font-weight: 700; }
.comp-body .prize {
  color: var(--warning);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.comp-body p { color: var(--text-dim); font-size: 13px; margin: 0 0 16px 0; line-height: 1.6; }
.comp-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ===================== CONCERTS ===================== */
.concert-grid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 48px 80px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.concert-card {
  background: var(--panel);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 160px 1fr;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.concert-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.concert-date {
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}
.concert-date .month { font-size: 13px; letter-spacing: 1.5px; font-weight: 700; opacity: 0.9; }
.concert-date .day { font-size: 48px; font-weight: 800; line-height: 1; margin: 4px 0; }
.concert-date .time { font-size: 12px; opacity: 0.9; }
.concert-body { padding: 24px; }
.concert-body h3 { margin: 0 0 6px 0; font-size: 19px; font-weight: 700; }
.concert-body .venue { color: var(--text-dim); font-size: 13px; }
.concert-body p { color: var(--text-dim); font-size: 13px; margin: 12px 0 0 0; line-height: 1.6; }
.concert-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.concert-price .price { color: #fff; font-weight: 700; font-size: 20px; }
.btn-tickets {
  background: var(--gradient-primary);
  color: #fff;
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(74,160,255,0.25);
  transition: transform 0.15s;
}
.btn-tickets:hover { transform: translateY(-1px); }

/* ===================== BACKSTAGE ===================== */
.backstage-layout {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 48px 80px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}
.feed-column h2 { margin: 0 0 24px 0; font-size: 26px; font-weight: 800; }
.post-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}
.post-card:hover { border-color: var(--border-bright); }
.post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.post-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  color: #fff;
}
.post-name { font-weight: 600; font-size: 14px; }
.post-meta { color: var(--text-muted); font-size: 12px; }
.post-body { color: #d7dbe2; font-size: 14px; line-height: 1.7; }
.post-actions {
  display: flex;
  gap: 22px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 13px;
}
.post-actions span { cursor: pointer; transition: color 0.15s; }
.post-actions span:hover { color: var(--accent); }

.sidebar-widget {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 16px;
}
.sidebar-widget h4 {
  margin: 0 0 16px 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #fff;
  font-weight: 700;
}
.pro-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.pro-row:last-child { border-bottom: none; }
.pro-row .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
}
.pro-row .info { flex: 1; font-size: 13px; }
.pro-row .info strong { display: block; color: #fff; }
.pro-row .info span { color: var(--text-muted); font-size: 12px; }
.pro-row .follow {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 5px 14px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.pro-row .follow:hover { background: var(--accent); color: #fff; }

/* Clickable "Following" row — link to that user's profile */
.pro-row.pro-link { transition: background 0.12s; padding-left: 6px; padding-right: 6px; border-radius: 8px; margin: 2px -6px; }
.pro-row.pro-link:hover { background: rgba(255,255,255,0.04); }
.pro-row.pro-link:hover .follow { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ===========================================================
   BETA NOTICE BANNER — fixed to the bottom of the viewport,
   dismissible per-session. Injected by js/beta-notice.js on every page.
   The floating Beta Feedback widget is lifted above this banner via the
   `html.has-beta-notice .feedback-fab` rule below.
   =========================================================== */
.beta-notice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: linear-gradient(90deg, rgba(166,74,255,0.92), rgba(74,160,255,0.92));
  border-top: 1px solid rgba(166,74,255,0.4);
  box-shadow: 0 -10px 30px rgba(0,0,0,0.35);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 13px;
  padding: 10px 0;
  animation: bn-slide-in 0.32s ease-out;
}
.beta-notice.bn-leaving {
  animation: bn-slide-out 0.22s ease-in forwards;
}
@keyframes bn-slide-in {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@keyframes bn-slide-out {
  from { transform: translateY(0); opacity: 1; }
  to   { transform: translateY(100%); opacity: 0; }
}
.beta-notice .bn-version {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  flex: 0 0 auto;
}
.beta-notice .bn-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.beta-notice .bn-icon {
  width: 32px; height: 32px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: #fff;
}
.beta-notice .bn-text {
  flex: 1;
  min-width: 0;
  line-height: 1.4;
}
.beta-notice .bn-text strong {
  display: inline;
  color: #fff;
  font-weight: 700;
  margin-right: 6px;
}
.beta-notice .bn-text span {
  color: rgba(255,255,255,0.92);
}
.beta-notice .bn-cta {
  background: #fff;
  color: #6b2db3;
  border: none;
  padding: 8px 16px;
  border-radius: 18px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.3px;
  flex: 0 0 auto;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
}
.beta-notice .bn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  background: #f7f0ff;
}
.beta-notice .bn-close {
  background: transparent;
  border: 1px solid transparent;
  color: rgba(255,255,255,0.7);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
  transition: background 0.15s, color 0.15s;
}
.beta-notice .bn-close:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
@media (max-width: 720px) {
  .beta-notice .bn-inner { flex-wrap: wrap; padding: 0 14px; gap: 10px; }
  .beta-notice .bn-text { flex: 1 1 100%; order: 2; font-size: 12px; }
  .beta-notice .bn-icon { order: 1; }
  .beta-notice .bn-cta { order: 3; }
  .beta-notice .bn-close { order: 4; }
}
/* Studio uses a full-viewport (100vh) layout — when the banner is fixed at the
   bottom, shrink the shell so the in-studio transport stays in view. */
html.has-beta-notice .studio-shell {
  height: calc(100vh - 56px);
}
@media (max-width: 720px) {
  html.has-beta-notice .studio-shell {
    height: calc(100vh - 92px);
  }
}

/* ===========================================================
   AUDIT — real DSP measurements panel
   =========================================================== */
.hidden-legit { display: none !important; }
.measurements-panel {
  max-width: 1200px;
  margin: 28px auto 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 26px;
}
.measurements-panel .mp-head { margin-bottom: 18px; }
.measurements-panel .mp-head h3 { margin: 0 0 4px; font-size: 18px; font-weight: 700; }
.measurements-panel .mp-head span { color: var(--text-dim); font-size: 13px; }
.mp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.mp-cell {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mp-cell span {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}
.mp-cell strong {
  font-size: 17px;
  color: #fff;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}
.mp-cell em {
  font-size: 11px;
  color: var(--text-muted);
  font-style: normal;
  margin-top: 2px;
}
.mp-spectrum h4 {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
}
.mp-bands { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.mp-band {
  display: grid;
  grid-template-columns: 160px 1fr 60px;
  gap: 12px;
  align-items: center;
  font-size: 12px;
}
.mp-band > span { color: var(--text-dim); font-size: 12px; }
.mp-band-bar {
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  height: 8px;
  overflow: hidden;
}
.mp-band-bar > div {
  height: 100%;
  background: linear-gradient(90deg, #4aa0ff, #8a5cff);
  border-radius: 4px;
  transition: width 0.6s ease-out;
}
.mp-band > strong {
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-align: right;
}
.mp-disclaimer {
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(255,180,84,0.06);
  border: 1px solid rgba(255,180,84,0.18);
  border-radius: 8px;
  color: var(--text-dim);
  font-size: 12.5px;
  line-height: 1.5;
}
.mp-disclaimer strong { color: #ffb454; margin-right: 6px; }

/* "Coming soon" LLM-powered category list inside the measurements panel */
.mp-coming-soon {
  margin-top: 18px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(166,74,255,0.06), rgba(74,160,255,0.04));
  border: 1px solid rgba(166,74,255,0.22);
  border-radius: 12px;
}
.mp-coming-soon .mcs-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.mp-coming-soon .mcs-head strong {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.mp-coming-soon .mcs-pill {
  background: rgba(166,74,255,0.18);
  color: #c79bff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 9px;
  border-radius: 10px;
  text-transform: uppercase;
}
.mp-coming-soon .mcs-sub {
  margin: 0 0 14px;
  color: var(--text-dim);
  font-size: 12.5px;
  line-height: 1.55;
}
.mp-coming-soon .mcs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}
.mp-coming-soon .mcs-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  transition: transform 0.15s, border-color 0.15s;
  position: relative;
}
.mp-coming-soon .mcs-card:hover {
  border-color: rgba(166,74,255,0.35);
  transform: translateY(-1px);
}
.mp-coming-soon .mcs-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(166,74,255,0.1);
  border: 1px solid rgba(166,74,255,0.18);
  border-radius: 9px;
  flex: 0 0 auto;
  color: #c79bff;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.mp-coming-soon .mcs-card:hover .mcs-icon {
  background: rgba(166,74,255,0.2);
  color: #fff;
  transform: scale(1.05);
}
.mp-coming-soon .mcs-icon svg { display: block; }
.mp-coming-soon .mcs-text { flex: 1; min-width: 0; }
.mp-coming-soon .mcs-text strong {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 2px;
}
.mp-coming-soon .mcs-text span {
  color: var(--text-muted);
  font-size: 11.5px;
  line-height: 1.4;
}
.mp-coming-soon .mcs-tag {
  background: linear-gradient(135deg, #a64aff, #6b2db3);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  flex: 0 0 auto;
}

/* ===========================================================
   IN-APP SHELL — logged-in users see the clean in-app experience,
   not the public marketing chrome (Login / Sign Up / Premium upsell).
   The is-logged-in class is set by js/in-app-shell.js before body renders.
   =========================================================== */
html.is-logged-in .top-tabs-right .login,
html.is-logged-in .top-tabs-right .signup-small,
html.is-logged-in .nav-cta {
  display: none !important;
}
html.is-logged-in .nav-link[href="premium.html"] { display: none; }
/* The Logout button on these pages opts in via id="navLogoutBtn" or the audit page's
   id="auditLogoutBtn" — show it whenever logged in. */
html.is-logged-in #navLogoutBtn,
html.is-logged-in #auditLogoutBtn {
  display: inline-block !important;
}

/* ===========================================================
   STUDIO (unchanged layout but modernized tokens)
   =========================================================== */
.studio-shell {
  display: grid;
  grid-template-columns: 280px 1fr 340px;
  grid-template-rows: 60px 1fr 124px;
  grid-template-areas:
    "header header header"
    "left   main   right"
    "bottom bottom bottom";
  height: 100vh;
  background: var(--bg);
  color: #e8ebf0;
  overflow: hidden;
}
.studio-header {
  grid-area: header;
  background: rgba(16, 18, 24, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 16px;
}
.studio-header .brand {
  display: flex; align-items: center; gap: 10px;
  padding-right: 16px;
  border-right: 1px solid var(--border);
}
.studio-header .brand .logo-text { font-size: 16px; }
.studio-header .session-info { flex: 1; }
.studio-header .session-info .title {
  font-size: 14px; font-weight: 600; color: #fff;
}
.studio-header .session-info .meta {
  font-size: 11px; color: var(--text-muted);
}
.collab-pile {
  display: flex;
  margin-right: 12px;
}
.collab-pile .chip {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  color: #fff;
  border: 2px solid var(--bg-2);
  margin-left: -8px;
  cursor: pointer;
  transition: transform 0.15s;
}
.collab-pile .chip:hover { transform: scale(1.1); z-index: 2; }
.collab-pile .chip:first-child { margin-left: 0; }
.btn-small {
  padding: 8px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-bright);
  border-radius: 20px;
  color: #ddd;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.btn-small:hover { background: rgba(255,255,255,0.08); color: #fff; }
.btn-small.primary {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
}
.btn-record {
  padding: 8px 18px;
  background: var(--danger);
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  box-shadow: 0 0 20px rgba(255,92,122,0.4);
}
.btn-record::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: #fff; display: inline-block;
  animation: recpulse 1.2s infinite;
}
@keyframes recpulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.studio-left {
  grid-area: left;
  background: var(--bg-1);
  border-right: 1px solid var(--border);
  overflow-y: auto;
}
.panel-section { padding: 18px 20px; border-bottom: 1px solid var(--border); }
.panel-section h5 {
  margin: 0 0 12px 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: var(--text-muted);
  font-weight: 700;
}
.instrument-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 8px;
  cursor: pointer;
  color: #d0d6df;
  font-size: 13px;
  transition: background 0.12s, color 0.12s;
}
.instrument-btn:hover { background: rgba(255,255,255,0.04); color: #fff; }
.instrument-btn .ico {
  width: 30px; height: 30px;
  background: var(--bg-3);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.library-item {
  padding: 10px 12px;
  font-size: 12px;
  color: var(--text-dim);
  cursor: grab;
  border-radius: 6px;
  transition: background 0.12s, color 0.12s;
}
.library-item:hover { background: rgba(255,255,255,0.04); color: #fff; }
.library-item.playing {
  background: rgba(166,74,255,0.12);
  color: #fff;
  border-left: 2px solid #a64aff;
  padding-left: 10px;
}
.library-item.playing .wave-mini {
  opacity: 1;
  animation: wave-pulse 1.2s infinite ease-in-out;
}
.library-item .ai-play-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  margin-right: 8px;
  vertical-align: 1px;
  transition: background 0.15s, box-shadow 0.15s;
}
.library-item.playing .ai-play-dot {
  background: #a64aff;
  box-shadow: 0 0 8px #a64aff;
  animation: ai-dot-pulse 0.9s infinite;
}
@keyframes ai-dot-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.4); }
}
@keyframes wave-pulse {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.6); }
}
.library-item .wave-mini {
  height: 16px;
  margin-top: 4px;
  background: linear-gradient(90deg,
    transparent 0%, var(--accent) 20%, transparent 22%,
    var(--accent) 30%, transparent 32%, var(--accent) 45%, transparent 47%,
    var(--accent) 60%, transparent 62%, var(--accent) 75%, transparent 77%,
    var(--accent) 90%, transparent 92%);
  opacity: 0.4;
}

.studio-main {
  grid-area: main;
  background: var(--bg);
  overflow: auto;
  position: relative;
  display: flex;
  flex-direction: column;
}
.timeline-header {
  display: grid;
  grid-template-columns: 200px 1fr;
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 5;
}
.track-header-label {
  padding: 12px 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  border-right: 1px solid var(--border);
  font-weight: 700;
}
.timeline-ruler {
  position: relative;
  padding: 12px 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 79px,
    rgba(255,255,255,0.06) 79px,
    rgba(255,255,255,0.06) 80px
  );
}
.timeline-ruler .bar-num {
  position: absolute;
  top: 6px;
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
}

.track {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 110px;
  flex: 1 1 110px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.track-controls {
  background: var(--bg-1);
  padding: 12px 14px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.track-title-row {
  display: flex; align-items: center; gap: 8px;
}
.track-color-dot {
  width: 10px; height: 10px; border-radius: 3px; flex: 0 0 auto;
}
.track-name { font-size: 13px; font-weight: 600; color: #fff; flex: 1; }
.track-buttons { display: flex; gap: 5px; }
.track-btn {
  width: 24px; height: 24px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 5px;
  color: #aaa;
  font-size: 10px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.track-btn.active-m { background: var(--warning); color: #000; border-color: var(--warning); }
.track-btn.active-s { background: var(--success); color: #000; border-color: var(--success); }
.track-btn.active-r { background: var(--danger); color: #fff; border-color: var(--danger); }
.track-fader {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; color: var(--text-muted);
}
.track-fader input[type=range] {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  outline: none;
}
.track-fader input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
}
.track-lane {
  position: relative;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 79px,
      rgba(255,255,255,0.04) 79px,
      rgba(255,255,255,0.04) 80px
    );
}
.clip {
  position: absolute;
  top: 8px; bottom: 8px;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 11px;
  color: #fff;
  overflow: hidden;
  cursor: grab;
  transition: box-shadow 0.15s, transform 0.1s;
}
.clip:hover { box-shadow: 0 0 0 2px rgba(255,255,255,0.3); }
.clip .clip-label {
  font-weight: 600;
  margin-bottom: 3px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  position: relative;
  z-index: 1;
}
.clip .wave {
  position: absolute;
  left: 10px; right: 10px;
  bottom: 6px; top: 22px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 30' preserveAspectRatio='none'><path d='M0,15 L2,10 L4,18 L6,8 L8,20 L10,12 L12,18 L14,6 L16,22 L18,10 L20,16 L22,4 L24,24 L26,8 L28,20 L30,14 L32,16 L34,6 L36,22 L38,10 L40,18 L42,4 L44,24 L46,12 L48,16 L50,8 L52,20 L54,14 L56,18 L58,6 L60,22 L62,10 L64,16 L66,4 L68,24 L70,12 L72,18 L74,8 L76,20 L78,14 L80,16 L82,6 L84,22 L86,10 L88,18 L90,4 L92,24 L94,12 L96,18 L98,8 L100,15' stroke='white' stroke-width='0.5' fill='none' opacity='0.7'/></svg>");
  background-size: 100% 100%;
}
.clip.midi .wave { background: none; }
.clip.midi .midi-notes {
  position: absolute;
  left: 10px; right: 10px; top: 22px; bottom: 6px;
}
.clip.midi .midi-notes span {
  position: absolute;
  height: 3px;
  background: rgba(255,255,255,0.85);
  border-radius: 1px;
}

.playhead {
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 0 8px var(--accent);
  transition: left 0.05s linear;
}

/* ===== Drum pad / keyboard floating panels ===== */
.instrument-panel {
  position: fixed;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20, 22, 30, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-bright);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  padding: 14px 16px 16px;
  z-index: 60;
  min-width: 480px;
  animation: panel-in 0.18s ease-out;
}
.instrument-panel.hidden { display: none; }
@keyframes panel-in {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
.ip-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.ip-title { font-size: 14px; font-weight: 700; color: #fff; }
.ip-hint { flex: 1; font-size: 11px; color: var(--text-muted); }
.ip-hint kbd {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  padding: 1px 5px;
  border-radius: 3px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-dim);
  margin: 0 1px;
}
.ip-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
  padding: 0 6px;
  line-height: 1;
  border-radius: 4px;
}
.ip-close:hover { color: #fff; background: rgba(255,255,255,0.06); }

.drum-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.drum-pad {
  background: linear-gradient(180deg, #2a2e3a, #1a1d26);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 18px 10px;
  color: #fff;
  cursor: pointer;
  transition: transform 0.06s, background 0.12s, border-color 0.12s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  position: relative;
}
.drum-pad:hover { border-color: rgba(74,160,255,0.4); }
.drum-pad.active,
.drum-pad:active {
  background: linear-gradient(180deg, #4aa0ff, #2d6bb3);
  transform: scale(0.96);
  border-color: var(--accent);
  box-shadow: 0 0 18px rgba(74,160,255,0.5);
}
.drum-pad .dp-key {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1px;
}
.drum-pad .dp-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
}

/* Piano keyboard */
.piano {
  display: flex;
  height: 160px;
  position: relative;
  user-select: none;
}
.piano-key {
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: 1px solid #000;
  font-family: inherit;
  transition: background 0.06s;
}
.piano-key.white {
  flex: 1;
  background: linear-gradient(180deg, #f5f6f8, #d8dadf);
  color: #4a5160;
  border-radius: 0 0 5px 5px;
  z-index: 1;
}
.piano-key.white:hover { background: linear-gradient(180deg, #fff, #e3e5ea); }
.piano-key.white.active { background: linear-gradient(180deg, #4aa0ff, #2d6bb3); color: #fff; }
.piano-key.black {
  position: absolute;
  top: 0;
  width: 6%;
  height: 64%;
  background: linear-gradient(180deg, #222, #0a0a0a);
  color: #888;
  border-radius: 0 0 4px 4px;
  z-index: 2;
}
.piano-key.black:hover { background: linear-gradient(180deg, #333, #111); }
.piano-key.black.active { background: linear-gradient(180deg, #4aa0ff, #2d6bb3); color: #fff; }

/* Track-lane drag-over highlight */
.track-lane.drag-target {
  background: rgba(74,160,255,0.08) !important;
  outline: 2px dashed rgba(74,160,255,0.6);
  outline-offset: -2px;
}
.track.dragging { opacity: 0.4; }
.track.drag-over-track { box-shadow: inset 0 3px 0 var(--accent); }

/* Editable track-name */
.track-name[contenteditable="true"] {
  outline: 1px solid var(--accent);
  background: rgba(74,160,255,0.1);
  border-radius: 3px;
  padding: 1px 4px;
  cursor: text;
}
.track-name { cursor: text; transition: color 0.12s; }
.track-name:hover { color: var(--accent); }

/* Drag handle on track-controls */
.track-drag-handle {
  position: absolute;
  left: 2px; top: 50%;
  transform: translateY(-50%);
  width: 10px; height: 24px;
  cursor: grab;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  opacity: 0;
  transition: opacity 0.15s;
}
.track-controls:hover .track-drag-handle { opacity: 1; }
.track-drag-handle::before,
.track-drag-handle::after,
.track-drag-handle span {
  content: '';
  display: block;
  width: 10px; height: 2px;
  background: var(--text-muted);
  border-radius: 1px;
}
.track-drag-handle:active { cursor: grabbing; }
.playhead::before {
  content: '';
  position: absolute;
  top: 0; left: -5px;
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--accent);
}

.collab-cursor {
  position: absolute;
  pointer-events: none;
  z-index: 20;
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1), top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.collab-cursor .cursor-arrow {
  width: 0; height: 0;
  border-left: 8px solid var(--c, var(--accent));
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  transform: rotate(-45deg);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}
.collab-cursor .cursor-label {
  background: var(--c, var(--accent));
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  margin-top: 2px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.studio-right {
  grid-area: right;
  background: var(--bg-1);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.right-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
}
.right-tab {
  flex: 1;
  padding: 14px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.right-tab.active { color: #fff; border-bottom-color: var(--accent); }
.right-tab:hover { color: #fff; }
.right-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
}
.right-body.hidden { display: none; }

.ai-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.ai-avatar {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  box-shadow: 0 8px 24px rgba(74,160,255,0.3);
}
.ai-header strong { color: #fff; font-size: 14px; display: block; }
.ai-header .ai-status {
  font-size: 11px;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 4px;
}
.ai-header .ai-status::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 6px var(--success);
  animation: pulse-dot 1.5s infinite;
}

.ai-suggestion {
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.6;
}
.ai-suggestion strong { color: #fff; display: block; margin-bottom: 6px; font-size: 13px; }
.ai-suggestion .ai-actions { margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.ai-pill {
  padding: 5px 12px;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 14px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.ai-pill:hover { background: var(--accent); color: #fff; }
.ai-pill.filled { background: var(--accent); color: #fff; }

.ai-input-wrap {
  padding: 14px;
  border-top: 1px solid var(--border);
  background: var(--bg-1);
}
.ai-input-wrap input {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--border-bright);
  border-radius: 20px;
  padding: 12px 16px;
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s;
}
.ai-input-wrap input:focus { border-color: var(--accent); }
.ai-hint {
  font-size: 10.5px;
  color: var(--text-muted);
  margin-top: 8px;
  padding: 0 4px;
}

.chat-message {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.chat-message .avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.chat-message .content { flex: 1; }
.chat-message .content .name {
  font-size: 12px;
  color: #fff;
  font-weight: 600;
}
.chat-message .content .name .time { color: var(--text-muted); font-weight: 400; margin-left: 6px; font-size: 10px; }
.chat-message .content .msg {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 2px;
  line-height: 1.5;
}

.studio-bottom {
  grid-area: bottom;
  background: rgba(16, 18, 24, 0.85);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 280px 1fr 340px;
  align-items: center;
}
.transport-left {
  padding: 0 24px;
  border-right: 1px solid var(--border);
  height: 100%;
  display: flex; align-items: center;
  gap: 10px;
}
.transport-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px;
}
.transport-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 30px;
  color: #fff;
  font-weight: 300;
  letter-spacing: 2px;
}
.transport-time .beat { color: var(--accent); }
.transport-buttons { display: flex; gap: 12px; align-items: center; }
.transport-btn {
  width: 42px; height: 42px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.12s, transform 0.08s;
}
.transport-btn:hover { background: var(--panel); }
.transport-btn:active { transform: scale(0.92); }
.transport-btn.play {
  width: 54px; height: 54px;
  background: var(--gradient-primary);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(74,160,255,0.4);
}
.transport-btn.record-toggle.on {
  background: var(--danger);
  border-color: var(--danger);
  box-shadow: 0 0 20px rgba(255,92,122,0.5);
}
.transport-meta {
  display: flex; gap: 22px;
  font-size: 11px;
  color: var(--text-muted);
}
.transport-meta span strong {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: block;
  margin-top: 2px;
}
.transport-right {
  padding: 0 24px;
  border-left: 1px solid var(--border);
  height: 100%;
  display: flex; align-items: center;
  gap: 14px;
}
.vu-meter {
  flex: 1;
  height: 10px;
  background: var(--bg);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.vu-bar {
  height: 100%;
  width: 60%;
  background: linear-gradient(90deg, var(--success), var(--warning) 70%, var(--danger));
  transition: width 0.1s;
}
.vu-label { font-size: 10px; color: var(--text-muted); width: 14px; font-weight: 600; }

.toast {
  position: fixed;
  bottom: 144px;
  right: 24px;
  background: rgba(28,31,40,0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--accent);
  border-radius: 10px;
  padding: 14px 20px;
  color: #fff;
  font-size: 13px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6), 0 0 40px rgba(74,160,255,0.2);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.25s, transform 0.25s;
  z-index: 100;
  pointer-events: none;
  max-width: 320px;
}
.toast.show { opacity: 1; transform: translateX(0); }
.toast .tlabel {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  display: block;
  margin-bottom: 3px;
}

/* ===================== PRICING / PREMIUM ===================== */
.pricing {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 20px 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pricing .plan {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex; flex-direction: column;
  transition: transform 0.3s;
}
.pricing .plan:hover { transform: translateY(-4px); }
.pricing .plan.featured {
  border-color: var(--accent);
  transform: scale(1.04);
  box-shadow: 0 20px 60px rgba(74,160,255,0.25);
  position: relative;
}
.pricing .plan.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: #fff;
  padding: 5px 14px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}
.plan h3 { margin: 0 0 6px 0; font-size: 22px; font-weight: 700; }
.plan .price { font-size: 44px; font-weight: 800; margin: 16px 0; letter-spacing: -0.03em; }
.plan .price small { font-size: 14px; color: var(--text-muted); font-weight: 400; }
.plan ul { list-style: none; padding: 0; margin: 10px 0 24px 0; flex: 1; }
.plan ul li {
  padding: 10px 0;
  color: var(--text-dim);
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.plan ul li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  width: 18px; height: 18px;
  background: var(--accent-dim);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}
.plan .btn {
  display: block; text-align: center; padding: 14px;
  border-radius: 24px;
  background: var(--panel-2);
  color: #fff;
  border: 1px solid var(--border-bright);
  font-weight: 600;
  transition: background 0.15s;
}
.plan .btn:hover { background: var(--bg-3); }
.plan.featured .btn {
  background: var(--gradient-primary);
  border-color: transparent;
  box-shadow: 0 12px 32px rgba(74,160,255,0.35);
}

/* ===========================================================
   EQ MODAL (per-track parametric EQ)
   =========================================================== */
.eq-modal { position: fixed; inset: 0; z-index: 200; }
.eq-modal.hidden { display: none; }
.eq-backdrop {
  position: absolute; inset: 0;
  background: rgba(5,6,9,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: eqFadeIn 0.2s ease-out;
}
@keyframes eqFadeIn { from { opacity: 0; } to { opacity: 1; } }

.eq-window {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 920px;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 40px);
  background: linear-gradient(180deg, #1a1d24, #131519);
  border: 1px solid var(--border-bright);
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 80px rgba(74,160,255,0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: eqPop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes eqPop {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.95); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.eq-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0,0,0,0.2);
}
.eq-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.eq-track-dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  flex-shrink: 0;
}
.eq-title strong { display: block; color: #fff; font-size: 14px; font-weight: 600; }
.eq-title span { color: var(--text-dim); font-size: 12px; }

.eq-header-controls { display: flex; align-items: center; gap: 12px; }
.eq-preset {
  background: var(--bg-3);
  border: 1px solid var(--border-bright);
  color: #fff;
  padding: 7px 12px;
  border-radius: 18px;
  font-size: 12px;
  outline: none;
  cursor: pointer;
}
.eq-preset:focus { border-color: var(--accent); }
.eq-preset option { background: var(--panel); }
.eq-bypass {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-dim);
  cursor: pointer;
  padding: 6px 12px;
  border: 1px solid var(--border-bright);
  border-radius: 18px;
  background: var(--bg-3);
  user-select: none;
}
.eq-bypass input { accent-color: var(--accent); cursor: pointer; }
.eq-close {
  width: 32px; height: 32px;
  background: transparent;
  border: 1px solid var(--border-bright);
  border-radius: 50%;
  color: #c8ced8;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.eq-close:hover { background: var(--bg-3); color: #fff; }

.eq-viz {
  position: relative;
  height: 320px;
  background:
    radial-gradient(ellipse at center bottom, rgba(74,160,255,0.06), transparent 70%),
    #0a0c10;
  border-bottom: 1px solid var(--border);
  user-select: none;
}
#eqSvg {
  width: 100%; height: 100%;
  display: block;
  cursor: crosshair;
}
.eq-grid-line { stroke: rgba(255,255,255,0.06); stroke-width: 1; }
.eq-grid-label { fill: rgba(255,255,255,0.3); font-size: 9px; font-family: 'JetBrains Mono', monospace; }

.eq-spectrum-bar {
  fill: url(#eqSpecGrad);
}

.eq-band-curve { stroke-width: 1.2; fill: none; opacity: 0.55; }
.eq-band-fill  { opacity: 0.10; }

.eq-point {
  cursor: grab;
  transition: r 0.12s;
}
.eq-point:hover { r: 11; filter: drop-shadow(0 0 8px currentColor); }
.eq-point.dragging { cursor: grabbing; r: 12; }
.eq-point-label {
  fill: #fff;
  font-size: 9px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  pointer-events: none;
  text-anchor: middle;
}

.eq-freq-labels {
  position: absolute;
  bottom: 4px; left: 36px; right: 8px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  font-size: 10px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}
.eq-db-labels {
  position: absolute;
  top: 8px; bottom: 22px; left: 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  font-size: 9.5px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  text-align: right;
  width: 30px;
}

.eq-bands {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--border);
}
.eq-band {
  padding: 14px 16px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  transition: background 0.12s;
}
.eq-band:last-child { border-right: none; }
.eq-band:hover { background: rgba(255,255,255,0.02); }
.eq-band-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border);
}
.eq-band-color {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.eq-band-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  text-transform: uppercase;
}
.eq-band-active-toggle {
  margin-left: auto;
  width: 26px; height: 14px;
  border-radius: 7px;
  background: var(--bg-3);
  cursor: pointer;
  position: relative;
  transition: background 0.15s;
  flex-shrink: 0;
}
.eq-band-active-toggle::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s;
}
.eq-band-active-toggle.on { background: var(--accent); }
.eq-band-active-toggle.on::after { transform: translateX(12px); }

.eq-knob-row {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 8px;
  align-items: center;
  font-size: 11px;
}
.eq-knob-label { color: var(--text-muted); font-size: 10px; text-transform: uppercase; letter-spacing: 0.8px; }
.eq-knob-value {
  font-family: 'JetBrains Mono', monospace;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 8px;
  text-align: center;
  cursor: ns-resize;
  user-select: none;
  transition: border-color 0.12s;
}
.eq-knob-value:hover { border-color: var(--accent); }
.eq-knob-value.dragging { border-color: var(--accent); background: rgba(74,160,255,0.1); }

.eq-footer {
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0,0,0,0.2);
}
.eq-input-meter {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  max-width: 280px;
}
.eq-input-meter-label {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 700;
  margin-right: 4px;
}
.eq-input-meter .vu-meter {
  flex: 1;
  height: 6px;
}
.eq-actions { display: flex; gap: 8px; }

@media (max-width: 700px) {
  .eq-window { width: calc(100vw - 16px); }
  .eq-bands { grid-template-columns: 1fr 1fr; }
  .eq-band { border-right: none; border-bottom: 1px solid var(--border); }
}

/* ===========================================================
   AUTH (login / signup)
   =========================================================== */
body.auth-body { overflow-x: hidden; }
.auth-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.auth-form-side {
  padding: 40px 60px 60px;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  position: relative;
}
.auth-form-wrap {
  flex: 1;
  display: flex;
  align-items: center;
}
.auth-pane {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  display: none;
}
.auth-pane.active { display: block; }
.auth-pane h1 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  line-height: 1.1;
}
.auth-sub {
  color: var(--text-dim);
  margin: 0 0 32px;
  font-size: 15px;
  line-height: 1.6;
}

.auth-socials {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.social-btn {
  background: var(--panel);
  border: 1px solid var(--border-bright);
  border-radius: 30px;
  color: #fff;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.social-btn:hover {
  background: var(--panel-2);
  border-color: var(--accent);
}
.social-btn:active { transform: scale(0.98); }
.social-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.social-row .social-btn { padding: 10px 12px; font-size: 13px; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
  color: var(--text-muted);
  font-size: 12px;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: block; }
.field-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 6px;
}
.field-label .forgot { color: var(--accent); font-size: 12px; font-weight: 500; }
.field input, .field select {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--border-bright);
  border-radius: 10px;
  padding: 13px 16px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74,160,255,0.15);
}
.field select option { background: var(--panel); color: #fff; }
.field input::placeholder { color: var(--text-muted); }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dim);
  cursor: pointer;
  user-select: none;
}
.checkbox-row input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  background: var(--panel);
  border: 1px solid var(--border-bright);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
}
.checkbox-row input[type=checkbox]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.checkbox-row input[type=checkbox]:checked::after {
  content: '';
  position: absolute;
  top: 2px; left: 5px;
  width: 4px; height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.checkbox-row a { color: var(--accent); }

.auth-submit {
  margin-top: 6px;
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 14px;
}
.auth-toggle {
  margin-top: 24px;
  text-align: center;
  color: var(--text-dim);
  font-size: 13.5px;
}
.auth-toggle a { color: var(--accent); font-weight: 600; }

.auth-footer {
  margin-top: 32px;
  font-size: 12.5px;
  color: var(--text-muted);
}
.auth-footer a:hover { color: #fff; }

/* Right side */
.auth-visual-side {
  position: relative;
  background:
    radial-gradient(ellipse at top right, rgba(138,92,255,0.25), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(74,160,255,0.18), transparent 60%),
    linear-gradient(135deg, #0d0f17, #050609);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-visual-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.auth-visual-inner {
  position: relative;
  padding: 60px;
  width: 100%;
  max-width: 540px;
}
.auth-quote {
  background: rgba(28, 31, 40, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  margin-bottom: 32px;
}
.auth-quote-mark {
  font-size: 80px;
  line-height: 0.5;
  color: var(--accent);
  opacity: 0.4;
  font-family: Georgia, serif;
  margin-bottom: 4px;
}
.auth-quote p {
  font-size: 17px;
  line-height: 1.6;
  color: #f2f4f7;
  margin: 0 0 20px;
  font-style: italic;
}
.auth-quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.aqa-av {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 13px;
  flex-shrink: 0;
}
.auth-quote-author strong { display: block; color: #fff; font-size: 14px; }
.auth-quote-author span { color: var(--text-muted); font-size: 12px; }

.auth-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.auth-stats > div { text-align: left; }
.auth-stats .stat-num {
  font-size: 30px;
}
.auth-stats .stat-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.auth-floating { position: relative; }
.afc {
  background: rgba(28, 31, 40, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  margin-bottom: 12px;
  animation: float 4s ease-in-out infinite;
  box-shadow: var(--shadow-md);
}
.afc1 { animation-delay: 0s; margin-left: -16px; }
.afc2 { animation-delay: 0.7s; margin-left: 60px; }
.afc3 { animation-delay: 1.4s; margin-left: 0; }
.afc-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.afc-text strong { display: block; color: #fff; font-size: 13px; }
.afc-text span { color: var(--text-dim); font-size: 11.5px; }

@media (max-width: 960px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-visual-side { display: none; }
  .auth-form-side { padding: 30px 24px 50px; min-height: 100vh; }
}

/* ===========================================================
   PROFILE
   =========================================================== */
.profile-cover {
  position: relative;
  height: 240px;
  background:
    radial-gradient(ellipse at top, rgba(138,92,255,0.3), transparent 70%),
    radial-gradient(ellipse at bottom right, rgba(74,160,255,0.2), transparent 60%),
    linear-gradient(135deg, #2d1a5c, #1a3a5c, #0d1020);
  overflow: hidden;
}
.profile-cover-bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.04) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.04) 0%, transparent 40%);
}
.cover-edit {
  position: absolute;
  bottom: 16px; right: 24px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 18px;
  padding: 7px 14px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.15s;
}
.cover-edit:hover { background: rgba(0,0,0,0.7); }

.profile-header {
  max-width: 1200px;
  margin: -80px auto 0;
  padding: 0 48px;
  position: relative;
  z-index: 2;
}
.profile-header-inner {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 28px;
  align-items: flex-end;
}
.avatar-large {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: 6px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.profile-meta { padding-bottom: 18px; }
.profile-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.profile-name-row h1 {
  margin: 0;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.profile-verified {
  display: inline-flex;
}
.profile-beta-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  padding: 4px 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #c79bff;
  background: rgba(166, 74, 255, 0.12);
  border: 1px solid rgba(166, 74, 255, 0.4);
  border-radius: 4px;
  text-transform: uppercase;
}
.beta-strip {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #c79bff;
  background: linear-gradient(90deg, rgba(166,74,255,0.12), rgba(74,160,255,0.10), rgba(166,74,255,0.12));
  border-bottom: 1px solid rgba(166, 74, 255, 0.3);
  pointer-events: none;
}
.beta-strip strong { color: #fff; margin-right: 6px; letter-spacing: 2px; }
.studio-shell.has-beta-strip { padding-top: 26px; }
.upload-btn-track {
  font-size: 9px;
  letter-spacing: 0.8px;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  color: var(--text-dim);
  cursor: pointer;
  transition: background 0.15s;
}
.upload-btn-track:hover { background: rgba(74, 160, 255, 0.15); color: #fff; border-color: rgba(74,160,255,0.4); }
.studio-import-btn {
  margin-left: 6px;
  font-size: 11px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(74,160,255,0.10);
  color: #aecbff;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.4px;
}
.studio-import-btn:hover { background: rgba(74,160,255,0.22); color: #fff; }
.recording-indicator {
  position: fixed;
  top: 32px; right: 24px;
  z-index: 99;
  background: rgba(255, 60, 80, 0.92);
  color: #fff;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  display: none;
  align-items: center;
  gap: 6px;
  box-shadow: 0 8px 24px rgba(255,60,80,0.4);
}
.recording-indicator.active { display: inline-flex; }
.recording-indicator::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
  animation: rec-pulse 1s infinite;
}
@keyframes rec-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ===== Beta feedback widget ===== */
.feedback-fab {
  position: fixed;
  right: 22px;
  bottom: 110px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(166, 74, 255, 0.45);
  background: linear-gradient(135deg, rgba(166, 74, 255, 0.22), rgba(74, 160, 255, 0.18));
  color: #f0e5ff;
  border-radius: 24px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(166, 74, 255, 0.25), 0 2px 8px rgba(0,0,0,0.4);
  transition: transform 0.18s, box-shadow 0.18s, background 0.2s;
}
.feedback-fab:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(166, 74, 255, 0.35), rgba(74, 160, 255, 0.28));
  box-shadow: 0 14px 32px rgba(166, 74, 255, 0.4), 0 4px 12px rgba(0,0,0,0.5);
}
.feedback-fab .ff-icon { font-size: 16px; line-height: 1; }
.feedback-fab .ff-label { white-space: nowrap; }

.feedback-panel {
  position: fixed;
  right: 22px;
  bottom: 165px;
  z-index: 1000;
  width: 380px;
  max-width: calc(100vw - 44px);
  background: #16181f;
  border: 1px solid rgba(166, 74, 255, 0.3);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.02);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  overflow: hidden;
}
.feedback-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.fp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(90deg, rgba(166,74,255,0.10), rgba(74,160,255,0.06));
}
.fp-head-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}
.fp-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #c79bff;
  box-shadow: 0 0 8px rgba(199, 155, 255, 0.7);
  animation: rec-pulse 1.6s infinite;
}
.fp-close {
  background: none;
  border: none;
  color: #aaa;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
.fp-close:hover { color: #fff; }
.fp-body { padding: 14px; }
.fp-sub {
  margin: 0 0 12px;
  font-size: 12.5px;
  color: var(--text-dim, #a8a8b3);
  line-height: 1.5;
}
.fp-label {
  display: block;
  margin: 8px 0 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--text-muted, #888);
}
.fp-select, .fp-textarea {
  width: 100%;
  background: #0e0f14;
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  border-radius: 6px;
  padding: 8px 10px;
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}
.fp-select:focus, .fp-textarea:focus { border-color: rgba(166,74,255,0.55); }
.fp-textarea { resize: vertical; min-height: 90px; line-height: 1.5; }
.fp-meta-row { margin: 8px 0 0; }
.fp-meta-chip {
  display: inline-block;
  font-size: 10.5px;
  color: var(--text-muted, #888);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 3px 7px;
  border-radius: 10px;
}
.fp-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 12px;
}
.fp-btn {
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: var(--text-dim, #ccc);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.fp-btn:hover { background: rgba(255,255,255,0.08); color: #fff; }
.fp-btn.primary {
  background: linear-gradient(135deg, #a64aff, #6b2db3);
  border-color: rgba(166,74,255,0.6);
  color: #fff;
  position: relative;
  min-width: 84px;
}
.fp-btn.primary:hover { background: linear-gradient(135deg, #b358ff, #7b34c7); }
.fp-btn.primary:disabled { opacity: 0.7; cursor: progress; }
.fp-send-spinner {
  display: none;
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: fp-spin 0.7s linear infinite;
}
.fp-btn.primary.sending .fp-send-label { visibility: hidden; }
.fp-btn.primary.sending .fp-send-spinner { display: inline-block; }
@keyframes fp-spin { to { transform: rotate(360deg); } }
.fp-status {
  margin-top: 10px;
  font-size: 12px;
  min-height: 16px;
  line-height: 1.4;
}
.fp-status.sending { color: #c79bff; }
.fp-status.ok { color: #3ddc97; }
.fp-status.warn { color: #ffb454; }
.fp-status.err { color: #ff5c7a; }
.profile-handle {
  color: var(--text-dim);
  font-size: 16px;
  margin: 4px 0 14px;
}
.profile-tags-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.profile-tags-row .tag {
  font-size: 12px;
  padding: 5px 12px;
}
.profile-bio {
  font-size: 14.5px;
  color: var(--text-dim);
  margin: 0;
  max-width: 600px;
  line-height: 1.6;
  min-height: 1.6em;
  cursor: text;
  border-radius: 6px;
  padding: 4px 8px;
  margin-left: -8px;
  transition: background 0.15s;
}
.profile-bio.is-empty {
  color: var(--text-muted);
  font-style: italic;
}
.profile-bio:hover {
  background: rgba(255,255,255,0.03);
}
.profile-bio.is-editing {
  background: rgba(74,160,255,0.06);
  outline: 1px solid rgba(74,160,255,0.35);
  cursor: text;
  white-space: pre-wrap;
}
.bio-wrap {
  position: relative;
  max-width: 620px;
}
.bio-edit-btn {
  position: absolute;
  top: -2px;
  right: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-dim);
  font-family: inherit;
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  opacity: 0;
  transition: opacity 0.15s, color 0.15s, background 0.15s;
}
.bio-wrap:hover .bio-edit-btn { opacity: 1; }
.bio-edit-btn:hover { color: #fff; background: rgba(74,160,255,0.16); border-color: rgba(74,160,255,0.45); }
.bio-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.bio-actions button {
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.1);
}
.bio-actions .bio-save {
  background: linear-gradient(135deg,#4aa0ff,#8a5cff);
  color: #fff;
  border-color: rgba(74,160,255,0.5);
}
.bio-actions .bio-save:hover { filter: brightness(1.1); }
.bio-actions .bio-cancel {
  background: rgba(255,255,255,0.04);
  color: var(--text-dim);
}
.bio-actions .bio-cancel:hover { background: rgba(255,255,255,0.08); color: #fff; }
#coverRemoveBtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.profile-actions {
  display: flex;
  gap: 10px;
  padding-bottom: 18px;
}

/* Stats row */
.profile-stats {
  max-width: 1200px;
  margin: 36px auto 0;
  padding: 24px 32px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.pf-stat {
  text-align: center;
  padding: 0 8px;
  border-right: 1px solid var(--border);
}
.pf-stat:last-child { border-right: none; }
.pf-stat-num {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.pf-stat-label {
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Tabs */
.profile-tabs {
  max-width: 1200px;
  margin: 32px auto 0;
  padding: 0 48px;
  border-bottom: 1px solid var(--border);
}
.profile-tabs-inner {
  display: flex;
  gap: 4px;
}
.ptab {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 18px;
  cursor: pointer;
  position: relative;
  transition: color 0.15s;
}
.ptab:hover { color: #fff; }
.ptab.active { color: #fff; }
.ptab.active::after {
  content: '';
  position: absolute;
  left: 18px; right: 18px; bottom: -1px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.profile-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 48px 80px;
}
.ptab-pane { display: none; }
.ptab-pane.active { display: block; }

/* Overview */
.overview-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}
.overview-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 18px;
}
.overview-card.highlight {
  background:
    radial-gradient(ellipse at top right, rgba(74,160,255,0.1), transparent 60%),
    var(--panel);
  border-color: rgba(74,160,255,0.3);
}
.oc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.oc-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}
.oc-meta {
  font-size: 12px;
  color: var(--text-muted);
}

/* Continue session card */
.continue-card {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  align-items: center;
}
.cc-art {
  width: 100px; height: 100px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.cc-wave {
  display: flex;
  gap: 2px;
  align-items: center;
}
.cc-wave span {
  width: 3px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  animation: wave-bounce 1.1s ease-in-out infinite;
}
.cc-wave span:nth-child(1) { animation-delay: 0s; }
.cc-wave span:nth-child(2) { animation-delay: 0.08s; }
.cc-wave span:nth-child(3) { animation-delay: 0.16s; }
.cc-wave span:nth-child(4) { animation-delay: 0.24s; }
.cc-wave span:nth-child(5) { animation-delay: 0.32s; }
.cc-wave span:nth-child(6) { animation-delay: 0.4s; }
.cc-wave span:nth-child(7) { animation-delay: 0.48s; }
.cc-wave span:nth-child(8) { animation-delay: 0.56s; }
.cc-info h4 { margin: 4px 0 8px; font-size: 18px; font-weight: 700; }
.cc-collabs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.cc-pile { display: flex; }
.cc-pile .chip {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid var(--panel);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: #fff;
  margin-left: -6px;
}
.cc-pile .chip:first-child { margin-left: 0; }
.cc-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}
.cc-progress-bar {
  flex: 1;
  height: 4px;
  background: var(--bg-1);
  border-radius: 2px;
  overflow: hidden;
}
.cc-progress-bar > div {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 2px;
}
.cc-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Activity list */
.activity-list { display: flex; flex-direction: column; gap: 14px; }
.activity-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  background: var(--bg-1);
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: border-color 0.15s, transform 0.15s;
}
.activity-row:hover { border-color: var(--border-bright); transform: translateX(2px); }
.ar-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.ar-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ar-text strong { color: #fff; font-size: 13.5px; font-weight: 600; }
.ar-text span { color: var(--text-dim); font-size: 12px; }
.ar-action {
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.ar-action:hover { color: var(--accent-hover); }

/* Insights */
.insight-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.insight-row:last-child { border-bottom: none; padding-bottom: 0; }
.insight-label { font-size: 12.5px; color: var(--text-dim); }
.insight-val {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-align: right;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Top tracks */
.top-track {
  display: grid;
  grid-template-columns: 18px 38px 1fr 28px;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.top-track:last-child { border-bottom: none; }
.tt-rank {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}
.tt-art {
  width: 38px; height: 38px;
  border-radius: 6px;
}
.tt-info { display: flex; flex-direction: column; min-width: 0; }
.tt-info strong { color: #fff; font-size: 13px; font-weight: 600; }
.tt-info span { color: var(--text-muted); font-size: 11.5px; }
.tt-play {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border-bright);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.tt-play:hover { background: var(--accent); border-color: var(--accent); }

/* Upgrade card */
.upgrade-card {
  background:
    radial-gradient(ellipse at top, rgba(138,92,255,0.15), transparent 70%),
    var(--panel);
  border: 1px solid rgba(138,92,255,0.3);
}

/* Tracks pane */
.tracks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tcard {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.15s, transform 0.15s;
}
.tcard:hover { border-color: var(--accent); transform: translateY(-3px); }
.tcard-art {
  height: 180px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.tcard-play {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: none;
  font-size: 18px;
  color: #111;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.tcard:hover .tcard-play {
  opacity: 1;
  transform: scale(1);
}
.tcard-info {
  padding: 16px 18px;
}
.tcard-info strong { display: block; color: #fff; font-size: 16px; font-weight: 700; }
.tcard-info span { display: block; color: var(--text-dim); font-size: 12.5px; margin-top: 2px; }
.tcard-stats { color: var(--text-muted) !important; font-size: 11.5px !important; }

/* Sessions pane */
.sessions-list { display: flex; flex-direction: column; gap: 12px; }
.session-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 110px 1fr auto auto;
  gap: 18px;
  align-items: center;
  transition: border-color 0.15s;
}
.session-item:hover { border-color: var(--border-bright); }
.session-state {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  padding: 6px 12px;
  border-radius: 14px;
  text-align: center;
  background: var(--bg-3);
  color: var(--text-muted);
}
.session-state.active { background: rgba(74,160,255,0.15); color: var(--accent); }
.session-state.done { background: rgba(61,220,151,0.1); color: var(--success); }
.session-info h4 { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.session-info span { color: var(--text-dim); font-size: 12.5px; }
.session-pile { display: flex; }
.session-pile .chip {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--panel);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff;
  margin-left: -6px;
}
.session-pile .chip:first-child { margin-left: 0; }

/* Audits pane */
.audit-history { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.ah-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 18px;
  align-items: center;
  transition: border-color 0.15s;
}
.ah-item:hover { border-color: var(--border-bright); }
.ah-score-mini {
  position: relative;
  width: 56px; height: 56px;
}
.ah-score-mini span {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ah-info { display: flex; flex-direction: column; gap: 4px; }
.ah-info strong { color: #fff; font-size: 15px; font-weight: 600; }
.ah-info > span { color: var(--text-dim); font-size: 12.5px; }
.ah-tags { display: flex; gap: 6px; margin-top: 4px; flex-wrap: wrap; }
.ah-tag {
  font-size: 10.5px;
  padding: 3px 9px;
  border-radius: 10px;
  font-weight: 600;
}
.ah-tag.good { background: rgba(61,220,151,0.12); color: var(--success); }
.ah-tag.warn { background: rgba(255,180,84,0.12); color: var(--warning); }
.ah-tag.bad { background: rgba(255,92,122,0.12); color: var(--danger); }

.audit-cta {
  background: linear-gradient(135deg, rgba(74,160,255,0.1), rgba(138,92,255,0.1));
  border: 1px solid rgba(74,160,255,0.3);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* Network pane */
.net-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.net-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.net-card .chip {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
  margin-bottom: 6px;
}
.net-card strong { color: #fff; font-size: 13.5px; }
.net-card span { color: var(--text-dim); font-size: 12px; margin-bottom: 8px; }
.net-card .btn-ghost {
  padding: 6px 12px;
  font-size: 12px;
  width: 100%;
}

/* Settings pane */
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.settings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
}
.settings-row:last-child { border-bottom: none; }
.settings-val { color: #fff; font-weight: 500; }

.settings-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text-dim);
}
.settings-toggle:last-child { border-bottom: none; }
.toggle {
  width: 40px; height: 22px;
  background: var(--bg-3);
  border-radius: 11px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.toggle::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.toggle.on { background: var(--accent); }
.toggle.on::after { transform: translateX(18px); }

/* ===========================================================
   AUDIT PROMO (on landing)
   =========================================================== */
.audit-promo-card {
  background:
    radial-gradient(ellipse at top right, rgba(138,92,255,0.18), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(74,160,255,0.12), transparent 60%),
    linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.audit-promo-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, var(--accent), transparent 40%, var(--accent-2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.audit-promo-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin: 0 0 28px;
  padding: 0 0 28px;
  border-bottom: 1px solid var(--border);
}
.audit-promo-features > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.audit-promo-features strong {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.audit-promo-features strong::before {
  content: '✓';
  color: var(--accent);
  font-weight: 800;
}
.audit-promo-features span {
  color: var(--text-muted);
  font-size: 12px;
  padding-left: 16px;
}

.promo-report {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
  transition: transform 0.3s;
}
.promo-report:hover { transform: rotate(0deg) translateY(-4px); }
.pr-top {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.pr-score-mini {
  position: relative;
  width: 64px; height: 64px;
  flex-shrink: 0;
}
.pr-num {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pr-cats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.pr-cat {
  display: grid;
  grid-template-columns: 80px 1fr 28px;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: var(--text-dim);
}
.pr-cat span { font-weight: 500; }
.pr-cat strong { font-weight: 700; color: #fff; font-size: 13px; text-align: right; }
.pr-bar {
  height: 6px;
  background: var(--bg);
  border-radius: 3px;
  overflow: hidden;
}
.pr-bar > div {
  height: 100%;
  border-radius: 3px;
}
.pr-note {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 14px 16px;
  position: relative;
}
.pr-note-icon {
  position: absolute;
  top: -8px; right: 10px;
  font-size: 40px;
  color: var(--accent);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}
.pr-note p {
  margin: 0 0 10px;
  font-size: 12.5px;
  color: #e2e6ec;
  font-style: italic;
  line-height: 1.5;
}
.pr-note-attr {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-muted);
}

/* ===========================================================
   AUDIT TOOL
   =========================================================== */
.audit-hero {
  position: relative;
  padding: 80px 48px 60px;
  text-align: center;
  overflow: hidden;
}
.audit-hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.audit-hero-glow::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 1400px; height: 800px;
  transform: translate(-50%, -20%);
  background: radial-gradient(closest-side, rgba(138,92,255,0.18), transparent 70%);
  filter: blur(40px);
}
.audit-hero-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.audit-title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 20px 0;
  line-height: 1.08;
}
.audit-sub {
  font-size: 17px;
  color: var(--text-dim);
  margin: 0 auto 40px;
  max-width: 720px;
  line-height: 1.65;
}

.exec-trust { margin-top: 40px; }
.exec-trust-label {
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}
.exec-trust-logos {
  display: flex;
  gap: 36px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.exec-trust-logos span {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #5a6170;
  transition: color 0.2s;
}
.exec-trust-logos span:hover { color: #c8ced8; }

.audit-app {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px 80px;
}
.audit-state.hidden { display: none; }

/* ---- UPLOAD ---- */
.dropzone {
  background: linear-gradient(180deg, rgba(28,31,40,0.5), rgba(16,18,24,0.7));
  border: 2px dashed var(--border-bright);
  border-radius: var(--radius-xl);
  padding: 80px 40px 50px;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.dropzone.dragging {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(74,160,255,0.08), rgba(16,18,24,0.7));
}
.dropzone-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 20px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 12px 32px rgba(74,160,255,0.3);
}
.dropzone h2 {
  margin: 0 0 8px 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.dz-sub {
  color: var(--text-dim);
  margin: 0 0 28px;
  font-size: 14px;
}
.dropzone .btn-primary {
  cursor: pointer;
  display: inline-flex;
}
.or-divider {
  color: var(--text-muted);
  margin: 20px 0;
  font-size: 12px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.or-divider::before, .or-divider::after {
  content: '';
  display: inline-block;
  width: 40px; height: 1px;
  background: var(--border);
}
.dropzone .btn-ghost { display: inline-flex; }
.dz-meta {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.dz-meta-item {
  font-size: 13px;
  color: var(--text-dim);
}
.dz-meta-item strong { color: var(--accent); font-weight: 700; }

/* ---- ANALYZING ---- */
.analyzing-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.analyzing-visual {
  margin: 0 auto 30px;
  display: flex;
  justify-content: center;
}
.wave-pulse {
  display: flex;
  gap: 4px;
  align-items: center;
  height: 80px;
}
.wave-pulse span {
  width: 5px;
  background: var(--gradient-primary);
  border-radius: 3px;
  animation: wave-bounce 1.1s ease-in-out infinite;
}
@keyframes wave-bounce {
  0%, 100% { height: 10px; opacity: 0.4; }
  50% { height: 60px; opacity: 1; }
}
.wave-pulse span:nth-child(1) { animation-delay: 0s; }
.wave-pulse span:nth-child(2) { animation-delay: 0.05s; }
.wave-pulse span:nth-child(3) { animation-delay: 0.1s; }
.wave-pulse span:nth-child(4) { animation-delay: 0.15s; }
.wave-pulse span:nth-child(5) { animation-delay: 0.2s; }
.wave-pulse span:nth-child(6) { animation-delay: 0.25s; }
.wave-pulse span:nth-child(7) { animation-delay: 0.3s; }
.wave-pulse span:nth-child(8) { animation-delay: 0.35s; }
.wave-pulse span:nth-child(9) { animation-delay: 0.4s; }
.wave-pulse span:nth-child(10) { animation-delay: 0.45s; }
.wave-pulse span:nth-child(11) { animation-delay: 0.5s; }
.wave-pulse span:nth-child(12) { animation-delay: 0.55s; }
.wave-pulse span:nth-child(13) { animation-delay: 0.6s; }
.wave-pulse span:nth-child(14) { animation-delay: 0.65s; }
.wave-pulse span:nth-child(15) { animation-delay: 0.7s; }

.analyzing-card h2 {
  margin: 0 0 6px 0;
  font-size: 26px;
  font-weight: 700;
}
.analyzing-card > p {
  color: var(--text-dim);
  font-size: 14px;
  margin: 0 0 32px;
}

.analyze-steps {
  text-align: left;
  background: var(--bg-1);
  border-radius: var(--radius-lg);
  padding: 12px 18px;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.analyze-step {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0.4;
  transition: opacity 0.3s;
}
.analyze-step:last-child { border-bottom: none; }
.analyze-step.active {
  opacity: 1;
}
.analyze-step.done {
  opacity: 0.7;
}
.analyze-step .step-icon {
  font-size: 20px;
  text-align: center;
}
.analyze-step .step-text {
  font-size: 13.5px;
  color: #d7dbe2;
}
.analyze-step .step-status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 10px;
  background: var(--bg-3);
}
.analyze-step.active .step-status { background: var(--accent-dim); color: var(--accent); }
.analyze-step.done .step-status { background: rgba(61,220,151,0.1); color: var(--success); }

.progress-bar {
  height: 6px;
  background: var(--bg-1);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  width: 0;
  transition: width 0.6s ease-out;
  box-shadow: 0 0 12px rgba(74,160,255,0.5);
}

/* ---- RESULTS ---- */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  gap: 20px;
  flex-wrap: wrap;
}
.result-eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}
.results-header h2 {
  margin: 0 0 6px 0;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.results-meta {
  color: var(--text-dim);
  font-size: 14px;
  margin: 0;
}
.result-actions {
  display: flex;
  gap: 10px;
}

.score-hero {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.score-hero::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, rgba(74,160,255,0.4), transparent 50%, rgba(138,92,255,0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.score-circle {
  position: relative;
  width: 220px; height: 220px;
  margin: 0 auto;
}
#scoreCircle {
  transition: stroke-dashoffset 1.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.score-num {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.score-num .n {
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.score-num .lbl {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}
.verdict-pill {
  display: inline-block;
  background: rgba(61,220,151,0.1);
  color: var(--success);
  border: 1px solid rgba(61,220,151,0.3);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.verdict-pill.warn {
  background: rgba(255,180,84,0.1);
  color: var(--warning);
  border-color: rgba(255,180,84,0.3);
}
.verdict-pill.bad {
  background: rgba(255,92,122,0.12);
  color: var(--danger);
  border-color: rgba(255,92,122,0.35);
}
.score-num.bad .n {
  background: linear-gradient(135deg, #ffb454, #ff5c7a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.score-verdict h3 {
  margin: 0 0 20px 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  color: #e8ebf0;
  letter-spacing: -0.01em;
}
.exec-attribution {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.exec-av {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 14px;
  flex-shrink: 0;
}
.exec-attribution strong {
  display: block;
  color: #fff;
  font-size: 13px;
  margin-bottom: 2px;
}
.exec-attribution span {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.4;
}

/* ---- Category grid ---- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.cat-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color 0.2s, transform 0.2s;
}
.cat-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-2px);
}
.cat-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.cat-head > span:first-child {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
}
.cat-score {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.cat-bar {
  height: 6px;
  background: var(--bg-1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}
.cat-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}
.cat-note {
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0;
}

/* ---- Timeline issues ---- */
.timeline-issues {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 32px;
}
.ti-head h3 { margin: 0 0 4px; font-size: 22px; font-weight: 700; }
.ti-head p { margin: 0 0 28px; color: var(--text-dim); font-size: 14px; }
.ti-wave {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 120px;
  margin-bottom: 20px;
}
.ti-wave-bg {
  position: absolute; inset: 0;
  padding: 10px;
}
.ti-marker {
  position: absolute;
  top: -6px;
  bottom: -6px;
  cursor: pointer;
  z-index: 5;
}
.ti-pin {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid var(--bg);
  transform: translateX(-50%);
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.ti-pin::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 118px;
  background: currentColor;
  opacity: 0.35;
}
.ti-marker[style*="var(--success)"] .ti-pin::after,
.ti-marker .ti-pin[style*="success"] { color: var(--success); }
.ti-pop {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--panel-2);
  border: 1px solid var(--border-bright);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--text-dim);
  min-width: 220px;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: var(--shadow-md);
  z-index: 10;
}
.ti-pop strong {
  display: block;
  color: #fff;
  font-size: 13px;
  margin-bottom: 4px;
}
.ti-marker:hover .ti-pop {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.ti-legend {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: var(--text-dim);
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.ti-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ti-legend i {
  width: 10px; height: 10px; border-radius: 50%; display: inline-block;
}

/* ---- Benchmark ---- */
.benchmark {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 32px;
}
.bench-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.bench-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  align-items: center;
}
.bench-label {
  font-size: 13px;
  color: var(--text-dim);
}
.bench-bar {
  height: 28px;
  background: var(--bg-1);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.bench-fill {
  height: 100%;
  background: var(--panel-2);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 10px;
  border-radius: 6px;
  transition: width 1s cubic-bezier(0.25, 1, 0.5, 1);
}
.bench-fill.you { background: var(--gradient-primary); }
.bench-fill.top { background: var(--success); }
.bench-fill.mid { background: var(--warning); color: #000; }

.similar-to {
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.similar-to strong {
  color: #fff;
  margin-right: 6px;
  font-weight: 600;
}

/* ---- Next steps ---- */
.next-steps { margin-bottom: 32px; }
.next-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.next-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.next-card:hover { border-color: var(--border-bright); transform: translateY(-2px); }
.next-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.next-card h4 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}
.next-card p {
  margin: 0 0 20px;
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ---- Exec quotes ---- */
.exec-quotes { margin-bottom: 20px; }
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.quote-card {
  background: linear-gradient(180deg, rgba(28,31,40,0.6), rgba(16,18,24,0.8));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}
.quote-mark {
  font-size: 60px;
  line-height: 0.5;
  color: var(--accent);
  opacity: 0.4;
  font-family: Georgia, serif;
  margin-bottom: 10px;
}
.quote-card p {
  font-size: 14.5px;
  color: #e2e6ec;
  line-height: 1.7;
  margin: 0 0 20px;
  font-style: italic;
}
.quote-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.qa-av {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 12px;
  flex-shrink: 0;
}
.quote-author strong {
  display: block;
  color: #fff;
  font-size: 13px;
}
.quote-author span {
  color: var(--text-muted);
  font-size: 12px;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 40px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); margin: 0 16px 40px; }
  .feature-grid, .testimonial-grid, .comp-grid, .pricing { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .musician-grid { grid-template-columns: repeat(2, 1fr); }
  .concert-grid, .backstage-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .radio-layout { grid-template-columns: 1fr; }
  .radio-nav { position: static; }
  .track-row { grid-template-columns: repeat(3, 1fr); }
  .score-hero { grid-template-columns: 1fr; gap: 24px; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .next-grid, .quote-grid { grid-template-columns: 1fr; }
  .bench-row { grid-template-columns: 1fr; gap: 6px; }
  .audit-promo-card { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
  .overview-grid { grid-template-columns: 1fr; }
  .profile-stats { grid-template-columns: repeat(3, 1fr); }
  .profile-stats .pf-stat:nth-child(3n) { border-right: none; }
  .profile-header-inner { grid-template-columns: 120px 1fr; }
  .profile-header-inner .avatar-large { width: 120px; height: 120px; font-size: 38px; }
  .profile-actions { grid-column: 1 / -1; padding-bottom: 0; }
  .tracks-grid { grid-template-columns: 1fr 1fr; }
  .session-item { grid-template-columns: 1fr; }
  .net-grid { grid-template-columns: 1fr 1fr; }
  .settings-grid { grid-template-columns: 1fr; }
  .continue-card { grid-template-columns: 1fr; }
  .ah-item { grid-template-columns: 56px 1fr; }
  .ah-item .btn-primary, .ah-item .btn-ghost { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .main-nav { padding: 14px 20px; gap: 16px; }
  .nav-links { gap: 16px; }
  .section, .hero-v2, .product-showcase { padding-left: 20px; padding-right: 20px; }
  .feature-grid, .testimonial-grid, .comp-grid, .musician-grid, .pricing, .steps, .stats-strip { grid-template-columns: 1fr; }
  .track-row { grid-template-columns: 1fr 1fr; }
  .studio-shell { grid-template-columns: 0 1fr 0; }
  .studio-left, .studio-right { display: none; }
}
