/* ═══════════════════════════════════════════════════════════════
   VoiceX Studio — Premium Design System
   ═══════════════════════════════════════════════════════════════ */

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

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  --bg-primary: #06080f;
  --bg-secondary: #0c0f1a;
  --bg-card: rgba(14, 17, 30, 0.75);
  --bg-card-hover: rgba(20, 24, 42, 0.85);
  --bg-input: rgba(12, 15, 28, 0.9);
  --bg-elevated: rgba(22, 26, 48, 0.6);

  --border-subtle: rgba(99, 115, 175, 0.1);
  --border-default: rgba(99, 115, 175, 0.15);
  --border-accent: rgba(110, 86, 255, 0.35);

  --accent-primary: #7c5cfc;
  --accent-primary-hover: #9078ff;
  --accent-secondary: #4ecdc4;
  --accent-gradient: linear-gradient(135deg, #7c5cfc 0%, #4ecdc4 100%);
  --accent-glow: rgba(124, 92, 252, 0.15);
  --accent-glow-strong: rgba(124, 92, 252, 0.3);

  --text-primary: #eaedf6;
  --text-secondary: #8b92ab;
  --text-muted: #565d78;
  --text-accent: #a694ff;

  --success: #4ecdc4;
  --danger: #ff5a6e;
  --warning: #ffb347;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --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 16px 64px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px var(--accent-glow);
  --shadow-glow-strong: 0 0 60px var(--accent-glow-strong);

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-default: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  --nav-height: 64px;
  --max-width: 1200px;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }
img { max-width: 100%; display: block; }

/* ── Typography ─────────────────────────────────────────────── */
.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 600; line-height: 1.4; }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.page {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.page.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ── Navigation ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(6, 8, 15, 0.8);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-default);
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  cursor: pointer;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
}

.nav-link {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  background: transparent;
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-elevated);
}

.nav-link.active {
  color: var(--text-primary);
  background: var(--bg-elevated);
  border-color: var(--border-default);
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124, 92, 252, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(78, 205, 196, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(124, 92, 252, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 252, 0.08) 0%, transparent 70%);
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  animation: pulse-glow 6s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-waveform {
  position: relative;
  margin-top: 80px;
  height: 80px;
  width: 100%;
  max-width: 600px;
  opacity: 0.5;
}

.hero-waveform canvas {
  width: 100%;
  height: 100%;
}

/* ── Feature Cards ──────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 80px;
}

.feature-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  transition: all var(--transition-default);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-default);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 92, 252, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(124, 92, 252, 0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
}

.btn-danger {
  background: rgba(255, 90, 110, 0.1);
  color: var(--danger);
  border: 1px solid rgba(255, 90, 110, 0.2);
}

.btn-danger:hover {
  background: rgba(255, 90, 110, 0.2);
}

.btn-icon {
  padding: 10px;
  border-radius: var(--radius-md);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.8rem;
}

.btn:disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ── Studio Page ────────────────────────────────────────────── */
.studio-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  min-height: calc(100vh - var(--nav-height) - 80px);
  padding-top: calc(var(--nav-height) + 40px);
}

.studio-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.studio-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Card ───────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(12px);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.card-header h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-header-icon {
  font-size: 18px;
}

/* ── Mode Tabs ──────────────────────────────────────────────── */
.mode-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--bg-input);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.mode-tab {
  flex: 1;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: none;
  background: transparent;
  transition: all var(--transition-fast);
}

.mode-tab.active {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
}

.mode-tab:hover:not(.active) {
  color: var(--text-primary);
}

/* ── Record Area ────────────────────────────────────────────── */
.record-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 28px;
  gap: 28px;
}

.record-btn {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid var(--border-default);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-default);
}

.record-btn::before {
  content: '';
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--danger);
  transition: all var(--transition-default);
}

.record-btn:hover {
  border-color: var(--danger);
  box-shadow: 0 0 30px rgba(255, 90, 110, 0.2);
}

.record-btn.recording {
  border-color: var(--danger);
  animation: record-pulse 1.5s ease-in-out infinite;
}

.record-btn.recording::before {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

@keyframes record-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 90, 110, 0.3); }
  50% { box-shadow: 0 0 0 20px rgba(255, 90, 110, 0); }
}

.record-timer {
  font-size: 2rem;
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.record-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Waveform Canvas ────────────────────────────────────────── */
.waveform-container {
  width: 100%;
  height: 80px;
  position: relative;
  border-radius: var(--radius-md);
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.waveform-container canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── Upload Area ────────────────────────────────────────────── */
.upload-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px;
  border: 2px dashed var(--border-default);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-default);
  gap: 16px;
  min-height: 200px;
}

.upload-area:hover, .upload-area.dragover {
  border-color: var(--accent-primary);
  background: var(--accent-glow);
}

.upload-icon {
  font-size: 40px;
  opacity: 0.6;
}

.upload-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.upload-text strong {
  color: var(--text-accent);
}

.upload-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Audio Player ───────────────────────────────────────────── */
.audio-player {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-gradient);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 16px rgba(124, 92, 252, 0.3);
}

.play-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 24px rgba(124, 92, 252, 0.4);
}

.player-timeline {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.progress-bar {
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--bg-input);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--accent-gradient);
  width: 0%;
  transition: width 100ms linear;
}

.player-time {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.player-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Comparison Panel ───────────────────────────────────────── */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.comparison-panel {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
}

.comparison-panel.original {
  border-color: rgba(255, 179, 71, 0.15);
}

.comparison-panel.processed {
  border-color: rgba(78, 205, 196, 0.15);
}

/* ── Sidebar Controls ───────────────────────────────────────── */
.control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.control-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.select-field {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition-fast);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b92ab' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.select-field:focus {
  border-color: var(--accent-primary);
}

.select-field option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.input-field {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-fast);
  width: 100%;
}

.input-field:focus {
  border-color: var(--accent-primary);
}

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

/* ── Toggle ─────────────────────────────────────────────────── */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
}

.toggle-row-label {
  font-size: 0.875rem;
  font-weight: 500;
}

.toggle {
  position: relative;
  width: 44px;
  height: 24px;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.toggle-track {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: rgba(86, 93, 120, 0.3);
  border-radius: 24px;
  transition: background var(--transition-fast);
}

.toggle-track::before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: var(--text-primary);
  border-radius: 50%;
  transition: transform var(--transition-fast);
}

.toggle input:checked + .toggle-track {
  background: var(--accent-primary);
}

.toggle input:checked + .toggle-track::before {
  transform: translateX(20px);
}

/* ── Voice Lab ──────────────────────────────────────────────── */
.lab-layout {
  max-width: 720px;
  margin: 0 auto;
  padding-top: calc(var(--nav-height) + 40px);
  min-height: calc(100vh - 80px);
}

.lab-header {
  text-align: center;
  margin-bottom: 48px;
}

.lab-header p {
  color: var(--text-secondary);
  margin-top: 12px;
  font-size: 1.05rem;
}

/* ── Steps ──────────────────────────────────────────────────── */
.steps-indicator {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  transition: all var(--transition-default);
}

.step-dot.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 0 12px rgba(124, 92, 252, 0.4);
}

.step-dot.completed {
  background: var(--success);
  border-color: var(--success);
}

.step-content {
  display: none;
}

.step-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Profile Cards ──────────────────────────────────────────── */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.profile-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-default);
  position: relative;
}

.profile-card:hover {
  border-color: var(--border-default);
  background: var(--bg-card-hover);
}

.profile-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.profile-name {
  font-weight: 600;
  margin-bottom: 4px;
}

.profile-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.profile-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

/* ── Processing State ───────────────────────────────────────── */
.processing-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 8, 15, 0.92);
  backdrop-filter: blur(20px);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 28px;
}

.processing-overlay.active {
  display: flex;
}

.spinner {
  width: 56px;
  height: 56px;
  border: 3px solid var(--border-subtle);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.processing-text {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.processing-subtext {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-brand {
  color: var(--text-accent);
  font-weight: 500;
}

/* ── Status Pill ────────────────────────────────────────────── */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-pill.ready {
  background: rgba(78, 205, 196, 0.1);
  color: var(--success);
  border: 1px solid rgba(78, 205, 196, 0.2);
}

.status-pill.recording {
  background: rgba(255, 90, 110, 0.1);
  color: var(--danger);
  border: 1px solid rgba(255, 90, 110, 0.2);
}

.status-pill.processing {
  background: rgba(124, 92, 252, 0.1);
  color: var(--accent-primary);
  border: 1px solid rgba(124, 92, 252, 0.2);
}

.status-pill.live {
  background: rgba(78, 205, 196, 0.1);
  color: var(--success);
  border: 1px solid rgba(78, 205, 196, 0.2);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ── Empty State ────────────────────────────────────────────── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px;
  color: var(--text-muted);
  gap: 12px;
}

.empty-state-icon {
  font-size: 40px;
  opacity: 0.4;
}

/* ── Live Mode ──────────────────────────────────────────────── */
.live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  background: rgba(78, 205, 196, 0.08);
  border: 1px solid rgba(78, 205, 196, 0.15);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--success);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: blink 1.2s ease-in-out infinite;
}

/* ── Success Card ───────────────────────────────────────────── */
.success-card {
  text-align: center;
  padding: 48px 32px;
}

.success-icon {
  font-size: 56px;
  margin-bottom: 20px;
}

.success-card h3 {
  margin-bottom: 12px;
}

.success-card p {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .studio-layout {
    grid-template-columns: 1fr;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 { font-size: 2rem; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .container { padding: 0 16px; }
  .card { padding: 20px; }
  .record-area { padding: 32px 16px; }
  .section { padding: 60px 0; }
}

/* ── Utility ────────────────────────────────────────────────── */
.hidden { display: none !important; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.gap-12 { gap: 12px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.text-center { text-align: center; }
.w-full { width: 100%; }
