/* ==============================================================================
    CAPTER™ WEB STUDIO 2026 — SUNO-SCALE ULTRA-LUXURY STUDIO DESIGN SYSTEM
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@200;300;400;500;600;700;800&display=swap');

:root {
  /*  Acoustic Indigo-Slate Depth & Studio Lighting */
  --bg-app: #0f1422;
  --bg-sidebar: #131929;
  --bg-main: #0e1320;
  --bg-card: rgba(22, 29, 46, 0.88);
  --bg-card-hover: rgba(28, 38, 60, 0.96);
  --bg-input: #151d30;
  --bg-btn: #182238;
  --bg-btn-hover: #222e4a;

  /* Borders (Refined CNC Chamfer Lines) */
  --border: rgba(56, 189, 248, 0.16);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(56, 189, 248, 0.50);

  /* Accents */
  --gold: #f1d279;
  --gold-glow: rgba(241, 210, 121, 0.20);
  --accent: #38bdf8;
  --accent-glow: rgba(56, 189, 248, 0.20);
  --emerald: #10b981;
  --red: #ef4444;

  /* Typography */
  --text-main: #ffffff;
  --text-muted: #cbd5e1;
  --text-dark: #94a3b8;

  /* Geometry */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

body {
  background: #080b14;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  display: flex;
}

/* ── VECTOR SVG ICONS (PRO HARDWARE LOOK) ── */
.svg-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: inline-block;
  vertical-align: -2px;
  flex-shrink: 0;
}
.svg-icon-sm { width: 13px; height: 13px; fill: currentColor; }
.svg-icon-lg { width: 22px; height: 22px; fill: currentColor; }
.svg-icon-gold { color: var(--gold); fill: var(--gold); }
.svg-icon-cyan { color: var(--accent); fill: var(--accent); }
.svg-icon-emerald { color: var(--emerald); fill: var(--emerald); }
.svg-icon-red { color: var(--red); fill: var(--red); }

/* ──  APP SHELL: LEFT SIDEBAR + MAIN STAGE ── */
.app-shell {
  display: flex;
  width: 100vw;
  height: 100vh;
  position: relative;
}

/* ── LEFT SIDEBAR (SUNO PRO ARCHITECTURE) ── */
.sidebar {
  width: 250px;
  min-width: 250px;
  height: calc(100vh - 72px);
  background: rgba(12, 16, 28, 0.95);
  backdrop-filter: blur(24px);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 14px;
  z-index: 10;
}

.sidebar-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/*  LUXURY CAPTER EMBLEM & LOCKUP (ZERO SQUARE CLIPPING, PRECISION HARDWARE AESTHETIC) */
.living-logo-container {
  position: relative;
  display: flex;
  align-items: center;
  padding: 8px 6px;
  background: transparent;
  border: none;
  box-shadow: none;
  cursor: pointer;
  width: 100%;
  user-select: none;
  transition: opacity 0.2s ease;
}

.living-logo-container:hover {
  opacity: 0.92;
}

.capter-brand-lockup {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 4px 0;
}

.capter-sidebar-brand-img {
  height: 42px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), filter 0.28s ease;
  filter: drop-shadow(0 2px 10px rgba(168, 85, 247, 0.25));
}

.capter-sidebar-brand-img:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 20px rgba(168, 85, 247, 0.5));
}

/*  LUXURY AMBIENT BACKGROUND WATERMARK (MAIN MENU & STAGE BACKDROP) */
.capter-ambient-watermark {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  max-width: 820px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.038;
  filter: drop-shadow(0 0 50px rgba(168, 85, 247, 0.35));
  user-select: none;
  transition: opacity 0.5s ease;
}

.capter-ambient-watermark img {
  width: 100%;
  height: auto;
  display: block;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  background: transparent;
  border: none;
  width: 100%;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}

.nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.nav-item.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  font-weight: 600;
}

.nav-item.active .svg-icon {
  color: var(--gold);
}

.sidebar-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.credit-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text-muted);
}

.btn-sidebar-upgrade {
  background: #1e2638;
  color: #f8fafc;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid #334155;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.15s ease;
}

.btn-sidebar-upgrade:hover {
  background: #28354d;
  border-color: #38bdf8;
  color: #fff;
}

/* ── MAIN STAGE (SUNO / LUXURY STUDIO AMBIENT LIGHTING) ── */
.main-stage {
  flex: 1;
  height: calc(100vh - 72px);
  background: 
    radial-gradient(ellipse 1100px 520px at 50% -70px, rgba(168, 85, 247, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 850px 480px at 92% 14%, rgba(56, 189, 248, 0.13) 0%, transparent 65%),
    radial-gradient(ellipse 900px 600px at 8% 85%, rgba(99, 102, 241, 0.11) 0%, transparent 70%),
    radial-gradient(circle 700px at 70% 95%, rgba(241, 210, 121, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, #111728 0%, #0b0f1a 45%, #070912 100%);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 24px 38px 120px;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* ──  VIEW PANES CONTROLLER ── */
.view-pane {
  display: none;
  width: 100%;
}

.view-pane.active {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  animation: viewFadeIn 0.25s ease forwards;
}

@keyframes viewFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Stage Header Bar */
.stage-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.search-hardware-strip {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stage-search-box {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-main);
  outline: none;
  width: 260px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stage-search-box input {
  background: transparent;
  border: none;
  color: #fff;
  outline: none;
  font-size: 13px;
  width: 100%;
}

.hw-telemetry-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
}

.global-rec-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid #ef4444;
  color: #fca5a5;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  animation: recPulse 1.5s infinite;
}

.rec-pulse-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 8px #ef4444;
}

@keyframes recPulse {
  0% { opacity: 1; }
  50% { opacity: 0.6; }
  100% { opacity: 1; }
}

/* ──  TAB 1: SUNO-STYLE HOME VIEW ── */
.home-hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 36px;
}

/*  EDITORIAL REFINED TYPOGRAPHY (LIGHT, GRACEFUL, NOT BULKY) */
.hero-main-title {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  font-size: 52px;
  font-weight: 250; /* Ultra-crisp editorial lightness */
  letter-spacing: -0.035em;
  color: #f1f5f9;
  margin-bottom: 24px;
  line-height: 1.15;
  overflow: visible;
}

.hero-main-title .transcend-word,
.hero-main-title span {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-weight: 350;
  font-style: italic;
  letter-spacing: -0.015em;
  background: linear-gradient(135deg, #ffffff 15%, #f1d279 65%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding-right: 0.28em; /*  Fixes italic 'd' stem from being clipped by background-clip */
  padding-bottom: 4px;
  overflow: visible;
  text-shadow: 0 0 35px rgba(241, 210, 121, 0.22);
}

/*  CAPTER MANIFESTO & ARTIST PHILOSOPHY SECTION */
.capter-manifesto-card {
  position: relative;
  background: linear-gradient(180deg, rgba(18, 24, 38, 0.72) 0%, rgba(10, 13, 22, 0.9) 100%);
  border: 1px solid rgba(241, 210, 121, 0.18);
  border-radius: 20px;
  padding: 32px 36px;
  margin: 32px auto 40px auto;
  max-width: 1000px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.manifesto-glow-aura {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 180px;
  background: radial-gradient(ellipse, rgba(56, 189, 248, 0.14), rgba(241, 210, 121, 0.08), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.manifesto-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(241, 210, 121, 0.08);
  border: 1px solid rgba(241, 210, 121, 0.25);
  color: var(--gold);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.manifesto-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

.manifesto-title {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.manifesto-title span {
  font-weight: 600;
  background: linear-gradient(135deg, #f1d279 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: 0.1em;
}

.manifesto-lead {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 860px;
  margin-bottom: 28px;
}

.manifesto-lead strong {
  color: #ffffff;
  font-weight: 600;
}

.manifesto-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 10px;
}

.pillar-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.25s ease;
}

.pillar-box:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(56, 189, 248, 0.25);
  transform: translateY(-2px);
}

.pillar-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2px;
}

.pillar-svg {
  width: 18px;
  height: 18px;
  display: block;
}

.pillar-box h4 {
  font-size: 14.5px;
  font-weight: 600;
  color: #f8fafc;
  margin: 0;
  letter-spacing: -0.01em;
}

.pillar-box p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* Suno Floating Central Prompt / Creation Bar */
.suno-creation-dock {
  background: rgba(18, 24, 40, 0.78);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 22px;
  width: 100%;
  max-width: 780px;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.08), 0 20px 50px rgba(0, 0, 0, 0.55);
  transition: all 0.25s ease;
}

.suno-creation-dock:focus-within {
  border-color: rgba(56, 189, 248, 0.50);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.12), 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 30px rgba(56, 189, 248, 0.18);
}

.creation-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.creation-textarea {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  resize: none;
  height: 28px;
}

.creation-textarea::placeholder {
  color: var(--text-muted);
}

.creation-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
}

.creation-tools-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-tool-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.btn-tool-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-transmute-action {
  background: #0284c7;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 6px;
  border: 1px solid #38bdf8;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.btn-transmute-action:hover {
  background: #0369a1;
  border-color: #7dd3fc;
}

/* ── 2 LARGE SUNO FEATURE CARDS (CINEMATIC) ── */
.suno-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

@media (max-width: 900px) {
  .suno-feature-grid { grid-template-columns: 1fr; }
}

.feature-banner-card {
  position: relative;
  height: 240px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background-size: cover;
  background-position: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-banner-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.15);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(6, 7, 10, 0.15) 0%, rgba(6, 7, 10, 0.94) 80%);
  z-index: 1;
}

.card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.banner-pill {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 4px;
}

.card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.card-sub {
  font-size: 12.5px;
  color: var(--text-muted);
  max-width: 92%;
  line-height: 1.4;
  margin-bottom: 10px;
}

.btn-card-action {
  align-self: flex-start;
  background: #ffffff;
  color: #0b0e14;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-card-action:hover {
  background: var(--gold);
}

/* ── TRENDING BIOMETRIC TILES ── */
.trending-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section-headline {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.artist-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .artist-tile-grid { grid-template-columns: repeat(2, 1fr); }
}

.artist-tile {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.artist-tile:hover {
  background: var(--bg-card-hover);
  border-color: rgba(229, 193, 88, 0.2);
  transform: translateY(-2px);
}

.tile-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #161a26;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tile-name {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.tile-genre {
  font-size: 11px;
  color: var(--text-muted);
}

/* ──  STUDIO DAW 2.0 (FULL-WIDTH HARDWARE CONSOLE) ── */
.daw-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.daw-top-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 18px;
}

@media (max-width: 1000px) {
  .daw-top-grid { grid-template-columns: 1fr; }
}

.io-unit {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.io-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.io-select {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  outline: none;
  cursor: pointer;
}

.vu-meter-strip {
  height: 4px;
  background: var(--bg-input);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 4px;
}

.vu-meter-bar {
  width: 0%;
  height: 100%;
  background: var(--accent);
  transition: width 0.05s linear;
}

.target-loaded-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-highlight {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
  color: #fff;
}

.btn-highlight:hover {
  background: rgba(56, 189, 248, 0.25);
  border-color: var(--accent);
}

/* Timeline Strip */
.timeline-container {
  background: #090c13;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  position: relative;
  width: 100%;
}

.timeline-header-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.timeline-canvas {
  width: 100%;
  height: 140px;
  display: block;
}

/* Track Actions Bar */
.track-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(10, 13, 20, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  gap: 10px;
  flex-wrap: wrap;
}

.btn-rack-action {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-rack-action:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(241, 210, 121, 0.35);
  color: #fff;
}

.track-status-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

/* Mixer Container */
.mixer-container {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

@media (max-width: 900px) {
  .mixer-container { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.mixer-strip {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}

.mixer-strip:hover {
  border-color: rgba(255, 255, 255, 0.20);
  background: rgba(255, 255, 255, 0.03);
}

.mixer-strip.active-track-strip {
  border-color: rgba(52, 211, 153, 0.65);
  background: rgba(52, 211, 153, 0.06);
  box-shadow: 0 0 14px rgba(52, 211, 153, 0.15), inset 0 0 8px rgba(52, 211, 153, 0.08);
}

.strip-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 700;
}

.btn-toggle-small {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-dark);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
  cursor: pointer;
}

.btn-toggle-small.active {
  background: var(--gold);
  color: #0b0e14;
}

/* ️ 2C. LIVE STUDIO TELEPROMPTER & LYRICS DISPLAY (FULL-WIDTH HORIZONTAL RACK) */
.studio-prompter-rack {
  background: rgba(10, 13, 20, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.prompter-rack-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.prompter-rack-title {
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.prompter-rec-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.studio-prompter-textarea {
  background: var(--bg-app);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  min-height: 120px;
  max-height: 180px;
  overflow-y: auto;
  color: #f1f5f9;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  white-space: pre-wrap;
  outline: none;
  scroll-behavior: smooth;
  transition: border-color 0.2s ease;
}

.studio-prompter-textarea:focus {
  border-color: rgba(241, 210, 121, 0.35);
}

/* Transport Dock */
.transport-dock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-top: 4px;
}

.btn-record {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid var(--red);
  color: #fca5a5;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
}

.btn-record.recording {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.5);
}

.btn-play {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--emerald);
  color: #6ee7b7;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-play.playing {
  background: var(--emerald);
  color: #000;
}

.btn-ai-master {
  background: #ffffff;
  color: #0b0e14;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-ai-master:hover {
  background: var(--gold);
  box-shadow: 0 0 20px var(--gold-glow);
}

/* ──  GRAMMY ANALOG DSP & MASTERING CONSOLE (ALL 35 HARDWARE SLIDERS!) ── */
.dsp-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 16px;
  gap: 16px;
  flex-wrap: wrap;
}

.dsp-preset-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.preset-row-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-dark);
  min-width: 105px;
}

.btn-preset-pill {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-preset-pill:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(241, 210, 121, 0.35);
}

.btn-preset-pill.active {
  background: rgba(241, 210, 121, 0.12);
  border-color: var(--gold);
  color: #fff;
}

.loudness-target-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
}

/* 4 Hardware Bays Grid */
.hardware-rack-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 1100px) {
  .hardware-rack-grid { grid-template-columns: 1fr; }
}

.rack-bay-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rack-bay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
}

.rack-bay-title {
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
}

.dsp-led-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--emerald);
}

.rack-sliders-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rack-slider-row {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr 48px;
  align-items: center;
  gap: 10px;
}

.rack-slider-label {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.numeric-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  text-align: right;
}

/* Parametric EQ Horizontal Grid */
.eq-horizontal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin-top: 6px;
}

@media (max-width: 1000px) {
  .eq-horizontal-grid { grid-template-columns: repeat(4, 1fr); }
}

.eq-fader-unit {
  background: rgba(10, 13, 20, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.eq-band-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-dark);
}

/* ──  PRICING CARDS ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

.price-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-card:hover {
  transform: translateY(-2px);
}

.price-card.featured {
  position: relative;
  background: linear-gradient(180deg, rgba(229, 193, 88, 0.06) 0%, rgba(18, 24, 38, 0.95) 100%);
  border-color: rgba(229, 193, 88, 0.45);
  box-shadow: 0 8px 40px rgba(229, 193, 88, 0.16);
}

.tier-name {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.tier-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 20px;
}

.tier-price span {
  font-size: 14px;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--text-muted);
}

.tier-features {
  list-style: none;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  flex: 1;
}

.btn-select-tier {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  background: var(--bg-btn);
  color: var(--text-main);
  transition: all 0.15s ease;
}

.btn-select-tier.tier-gold {
  background: #ffffff;
  color: #0b0e14;
  border: none;
}

.btn-select-tier.tier-gold:hover {
  background: var(--gold);
}

/* ──  BOTTOM GLOBAL STICKY PLAYER DOCK (SUNO STYLE) ── */
.bottom-player-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 72px;
  background: #08090d;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 100;
}

.player-left {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 260px;
}

.player-artwork {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #141724;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-track-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.player-track-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.player-track-artist {
  font-size: 11px;
  color: var(--text-muted);
}

.player-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  max-width: 540px;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-player-icon {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-player-icon:hover { color: #fff; }

.btn-player-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  color: #0b0e14;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-player-circle:hover { transform: scale(1.05); }

.player-progress-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.player-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--text-dark);
}

.player-progress-bar {
  flex: 1;
  height: 4px;
  background: #191c28;
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}

.player-progress-fill {
  width: 25%;
  height: 100%;
  background: #ffffff;
  border-radius: 2px;
}

.player-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: 260px;
}

/* ──  INTEGRATED DAW DSP CONSOLE SECTION ── */
.daw-integrated-dsp-section {
  background: rgba(14, 18, 28, 0.75);
  border: 1px solid rgba(241, 210, 121, 0.22);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.daw-integrated-dsp-section.highlight-glow {
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(241, 210, 121, 0.35);
}

.integrated-dsp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 16px;
}

.integrated-dsp-body {
  transition: max-height 0.4s ease, opacity 0.3s ease;
  overflow: hidden;
}

.integrated-dsp-body.collapsed {
  max-height: 0;
  opacity: 0;
  padding: 0;
  margin: 0;
  pointer-events: none;
}

/* ──  STUDIO PROMPTER TEXTAREA (CONTENTEDITABLE WITH PLACEHOLDER) ── */
.studio-prompter-textarea,
.prompter-box {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-main);
  background: transparent;
  outline: none;
  min-height: 120px;
  padding: 4px 0;
  white-space: pre-wrap;
  word-break: break-word;
  caret-color: var(--gold);
}

.studio-prompter-textarea:empty::before {
  content: attr(placeholder);
  color: var(--text-dark);
  pointer-events: none;
  font-style: normal;
}

[data-placeholder]:empty::before {
  content: attr(data-placeholder);
  color: var(--text-dark);
  pointer-events: none;
  font-style: normal;
}

/* ═══════════════════════════════════════════════════════════════════════════
    5. AUTHENTIC V8 MASTER TRANSPORT & MASTERING SUITE (TACTILE HARDWARE CONTROLS)
   ═══════════════════════════════════════════════════════════════════════════ */
.v8-transport-master-suite {
  background: linear-gradient(180deg, #10141f 0%, #0a0d14 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin: 14px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 20;
}

.v8-transport-row-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.v8-transport-row-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/*  TACTILE RECORD BUTTON */
/*  HARDWARE RECORD BUTTON (ABLETON / LOGIC STYLE) */
.btn-v8-record {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: #1e1315;
  border: 1px solid #7f1d1d;
  border-radius: 6px;
  color: #fca5a5;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
  cursor: pointer;
  user-select: none;
  transition: all 0.12s ease;
}

.btn-v8-record:hover {
  background: #2c161a;
  border-color: #ef4444;
  color: #fff;
}

.btn-v8-record:active {
  transform: translateY(1px);
}

.btn-v8-record.recording {
  background: #b91c1c;
  border-color: #ef4444;
  color: #ffffff;
}

.v8-rec-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
}

.btn-v8-record.recording .v8-rec-led {
  background: #ffffff;
}

/*  HARDWARE PLAY BUTTON (ABLETON / LOGIC STYLE) */
.btn-v8-play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: #0f1f1a;
  border: 1px solid #065f46;
  border-radius: 6px;
  color: #6ee7b7;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
  cursor: pointer;
  user-select: none;
  transition: all 0.12s ease;
}

.btn-v8-play:hover {
  background: #132e26;
  border-color: #10b981;
  color: #fff;
}

.btn-v8-play:active {
  transform: translateY(1px);
}

.btn-v8-play.playing {
  background: #059669;
  border-color: #34d399;
  color: #ffffff;
}

/*  PROCESS MASTER BUTTON (SOLID CNC HARDWARE AESTHETIC) */
.btn-v8-master {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 18px;
  background: #0284c7;
  border: 1px solid #38bdf8;
  border-radius: 6px;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  cursor: pointer;
  user-select: none;
  transition: all 0.12s ease;
}

.btn-v8-master:hover {
  background: #0369a1;
  border-color: #7dd3fc;
}

.btn-v8-master:active {
  transform: translateY(1px);
}

/*  V8 GLUE TOGGLE */
.btn-v8-glue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  background: #182030;
  border: 1px solid #28354d;
  border-radius: 6px;
  color: #94a3b8;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: all 0.12s ease;
}

.btn-v8-glue:hover {
  border-color: #64748b;
  color: #fff;
}

.btn-v8-glue.glue-active {
  background: #1e2a42;
  border-color: #38bdf8;
  color: #38bdf8;
}

/*  A / B COMPARE TOGGLE */
.btn-v8-ab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #1c1828;
  border: 1px solid #4a3869;
  border-radius: 6px;
  color: #d8b4fe;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  user-select: none;
  transition: all 0.12s ease;
}

.btn-v8-ab:hover {
  background: #281f3d;
  border-color: #a855f7;
  color: #fff;
}

.btn-v8-ab.mode-b {
  background: #7e22ce;
  color: #ffffff;
  border-color: #c084fc;
}

/*  V8 STUDIO CLOCK DISPLAY */
.v8-clock-display {
  font-family: 'JetBrains Mono', monospace;
  font-size: 19px;
  font-weight: 800;
  color: #34d399;
  letter-spacing: 1.5px;
  background: rgba(0, 0, 0, 0.6);
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid rgba(52, 211, 153, 0.3);
  box-shadow: inset 0 0 8px rgba(52, 211, 153, 0.15);
}

/* ──  STUDIO SLIDER LUXURY HARDWARE STYLING ── */
.studio-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.studio-slider:hover {
  background: rgba(255, 255, 255, 0.16);
}

.studio-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f1d279 0%, #c59b27 100%);
  border: 2px solid #080a0f;
  box-shadow: 0 0 8px rgba(241, 210, 121, 0.4);
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.studio-slider::-webkit-slider-thumb:hover {
  transform: scale(1.18);
  box-shadow: 0 0 14px rgba(241, 210, 121, 0.8);
}

.studio-slider::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f1d279 0%, #c59b27 100%);
  border: 2px solid #080a0f;
  box-shadow: 0 0 8px rgba(241, 210, 121, 0.4);
  cursor: pointer;
}

.timeline-canvas {
  cursor: crosshair;
  user-select: none;
}

/* ==============================================================================
   PRO DAW MASTER TRANSPORT & STEREO VU METERS
   ============================================================================== */
.transport-metering-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.master-vu-unit {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #080b11;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #1e2433;
}

.vu-channel-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.vu-ch-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8.5px;
  font-weight: 700;
  color: #64748b;
}

.vu-bar-trough {
  width: 7px;
  height: 38px;
  background: #111622;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.vu-bar-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(0deg, #10b981 0%, #10b981 65%, #f59e0b 80%, #ef4444 100%);
  border-radius: 1px;
  transition: height 0.04s ease-out;
}

.vu-scale-labels {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 38px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 7.5px;
  color: #475569;
  line-height: 1;
  padding-top: 1px;
}

.v8-timecode-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.v8-clock-display {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  font-weight: 800;
  color: #10b981;
  letter-spacing: 1.2px;
  background: #080a0f;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  box-shadow: inset 0 0 6px rgba(16, 185, 129, 0.12);
  line-height: 1.1;
}

.v8-bars-display {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 700;
  color: #e5a93b;
  letter-spacing: 1px;
  line-height: 1;
  padding-left: 2px;
}

.v8-telemetry-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
}

/* PEQ Canvas & Visualizer */
.peq-canvas-container {
  background: #080a0f;
  border: 1px solid #1a202c;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.peq-canvas {
  width: 100%;
  height: 180px;
  display: block;
}



/* ==============================================================================
   CAPTER™ HARDWARE FINISH & FL STUDIO ARRANGEMENT PLAYLIST EXTENSIONS (2026)
   ============================================================================== */

/* FL Studio Track Arming LED & Button */
.btn-arm-rec {
  color: #94a3b8 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  font-weight: 700;
  transition: all 0.15s ease;
}

.btn-arm-rec.active {
  background: #ef4444 !important;
  color: #ffffff !important;
  border-color: #f87171 !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

/* GPU Queue Floating Telemetry Pill */
.gpu-queue-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  letter-spacing: 0.2px;
  animation: fadeInQueue 0.25s ease-out;
}

.queue-pulse-dot {
  width: 7px;
  height: 7px;
  background: #f59e0b;
  border-radius: 50%;
  box-shadow: 0 0 6px #f59e0b;
  animation: queuePulse 1.2s infinite ease-in-out;
}

@keyframes queuePulse {
  0%, 100% { opacity: 0.3; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); box-shadow: 0 0 10px #f59e0b; }
}

@keyframes fadeInQueue {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Glassmorphic Hardware Modals (Auth & Checkout) */
.capter-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 12, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: modalFadeIn 0.2s ease-out;
}

.capter-modal-box {
  background: #0f131d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  width: 90%;
  max-width: 440px;
  padding: 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.capter-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.btn-modal-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.15s ease;
}

.btn-modal-close:hover {
  color: #ffffff;
}

.btn-google-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  border-radius: 6px;
  background: #ffffff;
  color: #1f2937;
  font-weight: 600;
  font-size: 13px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-google-auth:hover {
  background: #f3f4f6;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

/* FL Studio Playlist Canvas Height */
.timeline-canvas {
  height: 400px !important;
  background: #090b10 !important;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Active Razor Tool State */
#btnRazorTool.active {
  background: rgba(245, 158, 11, 0.22) !important;
  border-color: #f59e0b !important;
  color: #f59e0b !important;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.3) !important;
}

/* Tier Badge Pro */
.tier-badge-pro {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f1d279 0%, #e5c158 100%);
  color: #0b0e14;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 14px;
  border-radius: 999px;
  letter-spacing: 1px;
  box-shadow: 0 4px 16px rgba(241, 210, 121, 0.45);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── MODAL SYSTEM (Auth, Upgrade, Credits) ── */
.capter-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 7, 15, 0.88);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeInBackdrop 0.18s ease;
}
@keyframes fadeInBackdrop {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.capter-modal-box {
  background: linear-gradient(145deg, #141b2e 0%, #0f1520 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 28px 28px 24px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(56, 189, 248, 0.06);
  animation: slideUpModal 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}
@keyframes slideUpModal {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.capter-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.btn-modal-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-dark);
  font-size: 18px;
  line-height: 1;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.btn-modal-close:hover {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.35);
  color: #ef4444;
}

/* Google Sign-In Button */
.btn-google-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 20px;
  background: #fff;
  border: none;
  border-radius: 10px;
  color: #1a1a2e;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.btn-google-auth:hover {
  background: #f1f3f4;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transform: translateY(-1px);
}

/* GPU Queue Pill */
.gpu-queue-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-full);
  padding: 4px 12px 4px 8px;
  font-size: 11px;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  color: #fca5a5;
  animation: gpuPulse 2s ease infinite;
}
@keyframes gpuPulse {
  0%, 100% { border-color: rgba(239, 68, 68, 0.3); }
  50%       { border-color: rgba(239, 68, 68, 0.7); box-shadow: 0 0 10px rgba(239, 68, 68, 0.2); }
}
.queue-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.8);
  animation: dotBlink 1s ease infinite;
}
@keyframes dotBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ARM for REC Buttons */
.btn-arm-rec {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: rgba(239, 68, 68, 0.7);
  border-radius: 4px;
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  padding: 2px 5px;
  letter-spacing: 0.03em;
  transition: all 0.15s ease;
}
.btn-arm-rec:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.6);
  color: #ef4444;
}
.btn-arm-rec.active {
  background: rgba(239, 68, 68, 0.25) !important;
  border-color: #ef4444 !important;
  color: #ef4444 !important;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.4) !important;
  animation: recBlink 1.2s ease infinite !important;
}
@keyframes recBlink {
  0%, 100% { box-shadow: 0 0 8px rgba(239,68,68,0.4); }
  50%       { box-shadow: 0 0 16px rgba(239,68,68,0.8); }
}

/* REC Pulse dot */
.rec-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  display: inline-block;
  box-shadow: 0 0 6px #ef4444;
  animation: dotBlink 0.8s ease infinite;
}

/* Global REC Pill */
.global-rec-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-full);
  padding: 4px 12px 4px 8px;
  font-size: 11.5px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  color: #fca5a5;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FL STUDIO 24 / 25 PLAYLIST TOOLBAR & ACTION STYLES
   ═══════════════════════════════════════════════════════════════════════════════ */
.btn-fl-tool {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-fl-tool:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.btn-fl-tool.active {
  background: rgba(14, 165, 233, 0.2) !important;
  color: #38bdf8 !important;
  box-shadow: 0 0 8px rgba(14, 165, 233, 0.25);
}

.btn-fl-icon-tool {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-fl-icon-tool:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-fl-zoom {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-fl-zoom:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-fl-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-fl-action:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-fl-nudge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.12s ease;
}
.btn-fl-nudge:hover {
  background: rgba(241, 210, 121, 0.2);
  color: var(--gold);
  border-color: var(--gold);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   GOOGLE ACCOUNT SELECTOR & STRIPE CARD MODAL HOVER EFFECTS
   ═══════════════════════════════════════════════════════════════════════════════ */
.google-acc-row:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   TOAST NOTIFICATION ENGINE (ZERO BROWSER ALERT)
   ═══════════════════════════════════════════════════════════════════════════════ */
.capter-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(18, 22, 33, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 1px rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  max-width: 380px;
  animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.25s ease;
}
.capter-toast.toast-success {
  border-color: rgba(52, 211, 153, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 20px rgba(52, 211, 153, 0.15);
}
.capter-toast.toast-error {
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 20px rgba(239, 68, 68, 0.2);
}
.capter-toast.toast-pro {
  border-color: rgba(241, 210, 121, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 24px rgba(241, 210, 121, 0.25);
}
.capter-toast.fade-out {
  opacity: 0;
  transform: translateX(40px);
}
@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateY(-16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE MOBILE ARCHITECTURE (SUNO / FL STUDIO MOBILE PRO DESIGN)
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Mobile Backdrop & Drawer Controls */
.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 15, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.sidebar-backdrop.active {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.btn-close-sidebar-mobile {
  display: none;
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-size: 28px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  border-radius: 6px;
  transition: color 0.15s ease;
}
.btn-close-sidebar-mobile:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-mobile-hamburger {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #fff;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.btn-mobile-hamburger:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent);
}

.mobile-bottom-nav {
  display: none;
}

/* ── TABLETS & SMARTPHONES (<= 868px) ── */
@media (max-width: 868px) {
  body {
    overflow-x: hidden;
  }

  body.mobile-drawer-locked {
    overflow: hidden;
  }

  .app-shell {
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
  }

  /* 1. Sidebar becomes an off-canvas slide drawer */
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 290px;
    max-width: 85vw;
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.9);
    background: rgba(12, 16, 28, 0.98);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    overflow-y: auto;
  }

  .sidebar.mobile-open {
    transform: translateX(0);
  }

  .btn-close-sidebar-mobile {
    display: block;
  }

  .btn-mobile-hamburger {
    display: inline-flex;
  }

  /* 2. Main stage takes 100% full width */
  .main-stage {
    width: 100vw;
    height: calc(100vh - 60px);
    padding: 12px 14px 130px;
    overflow-x: hidden;
    overflow-y: auto;
  }

  /* 3. Top bar responsive layout */
  .stage-top-bar {
    margin-bottom: 14px;
    gap: 8px;
    flex-wrap: wrap;
  }

  .search-hardware-strip {
    flex: 1;
    min-width: 0;
  }

  .stage-search-box {
    display: none; /* Hide bulky search input on mobile */
  }

  .hw-telemetry-badge {
    font-size: 9.5px;
    padding: 4px 8px;
    white-space: nowrap;
  }

  .btn-tool-chip {
    padding: 5px 8px;
    font-size: 11px;
    gap: 4px;
  }

  /* 4. Sleek App Bottom Nav Bar */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 58px;
    background: rgba(10, 14, 24, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    align-items: center;
    justify-content: space-around;
    padding: 0 4px;
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 600;
    gap: 3px;
    padding: 5px 8px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.15s ease;
    flex: 1;
  }

  .mobile-nav-item svg {
    width: 18px;
    height: 18px;
  }

  .mobile-nav-item.active {
    color: var(--accent);
  }

  .mobile-nav-item:hover {
    color: #fff;
  }

  /* 5. Sticky Bottom Player Dock floating above mobile nav */
  .bottom-player-dock {
    bottom: 58px;
    height: 56px;
    padding: 0 12px;
    background: rgba(15, 20, 34, 0.97);
  }

  .player-left {
    width: auto;
    flex: 1;
    min-width: 0;
    gap: 8px;
  }

  .player-artwork {
    width: 36px;
    height: 36px;
  }

  .player-track-title {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .player-track-artist {
    font-size: 9.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hw-telemetry-badge {
    display: none !important;
  }

  .player-right {
    display: none !important; /* Force hide volume slider on mobile */
  }

  #capterAdBanner {
    padding: 6px 10px !important;
    gap: 8px !important;
  }

  #capterAdBanner .ad-network-label {
    display: none !important;
  }

  /* 6. DAW Studio responsive components */
  .daw-card {
    padding: 14px 12px;
  }

  .daw-top-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .v8-transport-master-suite {
    padding: 10px 12px;
    gap: 10px;
  }

  .v8-transport-row-main,
  .v8-transport-row-sub {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .v8-transport-row-main > div,
  .v8-transport-row-sub > div {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* 7. Home & Showcase Grids */
  .hero-main-title {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }

  .suno-feature-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .feature-banner-card {
    min-height: 260px;
  }

  .manifesto-pillars-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .pricing-grid {
    grid-template-columns: 1fr !important;
  }

  .rack-slots-grid {
    grid-template-columns: 1fr !important;
  }

  .capter-toast {
    max-width: calc(100vw - 32px);
  }
}

/* ── SMALL SCREENS (<= 480px) ── */
@media (max-width: 480px) {
  .hero-main-title {
    font-size: 26px !important;
  }

  .btn-v8-record {
    padding: 6px 10px;
    font-size: 11px;
  }

  .stage-top-bar {
    gap: 6px;
  }
}


