/* ==========================================================================
   YONCA STUDIO V3 — AI MUSIC VIDEO ENGINE (ONE MORE SHOT AI ELEVATED STYLE)
   ========================================================================== */

:root {
  --bg-canvas: #04060a;
  --bg-surface: #0c0f18;
  --bg-surface-elevated: #131724;
  --bg-surface-hover: #1b2133;
  --border-subtle: #1e2538;
  --border-focus: #8b5cf6;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-purple: #8b5cf6;
  --accent-indigo: #6366f1;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  --gradient-brand: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
  --gradient-neon: linear-gradient(135deg, #ec4899 0%, #8b5cf6 50%, #06b6d4 100%);
  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.22) 0%, transparent 60%);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-xl: 26px;

  --shadow-sm: 0 2px 4px rgba(0,0,0,0.4);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.55);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.75);
  --shadow-glow: 0 0 35px rgba(139, 92, 246, 0.3);

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', var(--font-sans);
  --font-mono: 'JetBrains Mono', monospace;
}

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

body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--accent-purple);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--accent-cyan);
}

.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================= TYPOGRAPHY & BUTTONS ================= */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

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

.eyebrow {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 2px 14px rgba(139, 92, 246, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(139, 92, 246, 0.55);
}
.btn-secondary {
  background: var(--bg-surface-elevated);
  border-color: var(--border-subtle);
  color: var(--text-primary);
}
.btn-secondary:hover {
  background: var(--bg-surface-hover);
  border-color: var(--text-muted);
}
.btn-subtle {
  background: rgba(255,255,255,0.04);
  border-color: var(--border-subtle);
  color: var(--text-secondary);
}
.btn-subtle:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.btn-emerald {
  background: var(--accent-emerald);
  color: #000;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(16, 185, 129, 0.35);
}
.btn-emerald:hover {
  background: #34d399;
  transform: translateY(-1px);
}
.btn-danger {
  background: rgba(244, 63, 94, 0.15);
  border-color: rgba(244, 63, 94, 0.3);
  color: var(--accent-rose);
}
.btn-danger:hover {
  background: var(--accent-rose);
  color: #fff;
}
.btn-block { width: 100%; }
.btn-lg { padding: 14px 30px; font-size: 1rem; border-radius: var(--radius-md); }
.btn-sm { padding: 6px 14px; font-size: 0.8125rem; }
.btn-xs { padding: 4px 10px; font-size: 0.75rem; }
.btn-icon { padding: 8px; border-radius: var(--radius-sm); background: transparent; border: none; cursor: pointer; color: var(--text-secondary); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ================= CARDS & GRIDS ================= */

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.card:hover {
  border-color: rgba(139, 92, 246, 0.45);
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ================= EXACT 1:1 REFERENCE NAVBAR ================= */

.yonca-exact-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(4, 6, 16, 0.92);
  border-bottom: 1px solid rgba(0, 245, 255, 0.15);
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand-group {
  display: flex;
  align-items: center;
  gap: 36px;
}
.yonca-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.clover-icon {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.6));
}
.yonca-title-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.yonca-menu-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.yonca-menu-links .menu-item a {
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.yonca-menu-links .menu-item a:hover {
  color: #00f5ff;
}
.yonca-menu-links .caret {
  font-size: 0.65rem;
  opacity: 0.7;
}

.nav-actions-group {
  display: flex;
  align-items: center;
  gap: 14px;
}
.btn-login-pill {
  background: rgba(15, 22, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 8px 24px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-login-pill:hover {
  border-color: #00f5ff;
  color: #00f5ff;
  box-shadow: 0 0 14px rgba(0, 245, 255, 0.25);
}
.btn-trial-pill {
  background: linear-gradient(135deg, #00f5ff 0%, #10e7b2 100%);
  color: #040814;
  font-weight: 800;
  font-size: 0.875rem;
  padding: 9px 24px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.35);
  transition: all 0.2s;
}
.btn-trial-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(0, 245, 255, 0.6);
}

/* ================= EXACT 1:1 HERO SECTION ================= */

.exact-hero-section {
  position: relative;
  padding: 60px 0 30px;
  background: radial-gradient(circle at 75% 20%, rgba(139, 92, 246, 0.25) 0%, transparent 50%),
              radial-gradient(circle at 30% 0%, rgba(0, 245, 255, 0.18) 0%, transparent 45%);
}
.exact-hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 36px;
  align-items: center;
}
.exact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #10e7b2;
  margin-bottom: 18px;
}
.eyebrow-dash {
  width: 26px;
  height: 2px;
  background: #10e7b2;
  border-radius: 2px;
}
.exact-hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.14;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.gradient-cyan-text {
  background: linear-gradient(90deg, #00f5ff 0%, #10e7b2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.exact-hero-desc {
  font-size: 1.05rem;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 28px;
}
.exact-hero-cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
}
.btn-exact-primary {
  background: linear-gradient(135deg, #00f5ff 0%, #10e7b2 100%);
  color: #040814;
  font-weight: 800;
  font-size: 1rem;
  padding: 13px 30px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 25px rgba(0, 245, 255, 0.4);
  transition: all 0.2s;
}
.btn-exact-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 245, 255, 0.65);
}
.btn-play-icon { font-size: 0.85rem; }
.btn-exact-outline {
  background: rgba(12, 17, 34, 0.7);
  border: 1px solid rgba(0, 245, 255, 0.35);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.btn-exact-outline:hover {
  border-color: #00f5ff;
  color: #00f5ff;
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}
.exact-features-trio {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.trio-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: #cbd5e1;
  font-weight: 600;
}
.trio-icon-ai { color: #00f5ff; font-size: 1rem; }
.trio-icon-hd {
  background: rgba(0, 245, 255, 0.15);
  border: 1px solid rgba(0, 245, 255, 0.45);
  color: #00f5ff;
  padding: 1px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
}
.trio-icon-cloud { color: #00f5ff; font-size: 1rem; }

/* Hero Artwork Right Side */
.exact-hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-artwork-canvas {
  position: relative;
  width: 100%;
  max-width: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-portal-ring {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 2px solid rgba(0, 245, 255, 0.6);
  box-shadow: 0 0 50px rgba(0, 245, 255, 0.35), inset 0 0 40px rgba(139, 92, 246, 0.35);
  pointer-events: none;
  animation: pulsePortal 4s ease-in-out infinite alternate;
}
@keyframes pulsePortal {
  from { transform: scale(0.98); opacity: 0.8; }
  to { transform: scale(1.03); opacity: 1; }
}
.hero-artist-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.8));
  mask-image: radial-gradient(circle at 65% 50%, black 60%, transparent 95%);
  -webkit-mask-image: radial-gradient(circle at 65% 50%, black 60%, transparent 95%);
}

/* ================= EXACT 1:1 STUDIO SHOWCASE FRAME ================= */

.exact-studio-showcase-section {
  padding: 40px 0 60px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.exact-studio-frame {
  background: rgba(8, 12, 24, 0.94);
  border: 1px solid rgba(0, 245, 255, 0.45);
  box-shadow: 0 0 45px rgba(0, 245, 255, 0.25), 0 30px 80px rgba(0, 0, 0, 0.9);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

/* Studio Topbar */
.studio-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(12, 17, 34, 0.9);
  border-bottom: 1px solid rgba(0, 245, 255, 0.15);
}
.studio-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
}
.studio-topbar-center {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-purple-pill {
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: #fff;
  font-weight: 700;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.8125rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(168, 85, 247, 0.35);
  transition: all 0.2s;
}
.btn-purple-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.5);
}
.btn-glass-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-weight: 600;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-glass-pill:hover {
  background: rgba(0, 245, 255, 0.12);
  border-color: rgba(0, 245, 255, 0.35);
  color: #fff;
}
.btn-export-pill {
  background: linear-gradient(135deg, #00f5ff, #10e7b2);
  color: #040814;
  font-weight: 800;
  border-radius: 20px;
  padding: 6px 18px;
  font-size: 0.8125rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(0, 245, 255, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.btn-export-pill:hover {
  box-shadow: 0 0 24px rgba(0, 245, 255, 0.6);
}

/* Studio Body Grid */
.studio-body-layout {
  display: grid;
  grid-template-columns: 180px 1fr 310px;
  min-height: 520px;
}

/* Col 1: Left Sidebar */
.studio-sidebar-left {
  background: rgba(10, 14, 28, 0.65);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sidebar-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.snav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.8125rem;
  color: #94a3b8;
  font-weight: 600;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.snav-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}
.snav-item.active {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.35), rgba(99, 102, 241, 0.25));
  color: #fff;
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.25);
}
.snav-icon { font-size: 0.95rem; }

.sidebar-pro-card {
  background: linear-gradient(135deg, rgba(30, 20, 60, 0.7), rgba(15, 25, 45, 0.85));
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.sidebar-pro-card:hover {
  border-color: #00f5ff;
  box-shadow: 0 0 16px rgba(0, 245, 255, 0.25);
}
.pro-crown { font-size: 1.3rem; }
.pro-info strong { display: block; font-size: 0.8125rem; color: #fff; }
.pro-info p { font-size: 0.65rem; color: #94a3b8; line-height: 1.25; margin-top: 2px; }
.pro-arrow-btn {
  background: #00f5ff;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #000;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  flex-shrink: 0;
}

/* Col 2: Center Workspace */
.studio-workspace-center {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.workspace-project-title {
  font-size: 0.875rem;
  color: #94a3b8;
  font-family: var(--font-mono);
}
.workspace-project-title strong { color: #fff; }
.proj-folder-ico { margin-right: 4px; }

.workspace-player-row {
  display: grid;
  grid-template-columns: 200px 1fr 42px;
  gap: 14px;
  align-items: stretch;
}
.workspace-modes-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mode-stack-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(16, 22, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
  position: relative;
}
.mode-stack-btn:hover {
  background: rgba(22, 30, 56, 0.8);
  border-color: rgba(0, 245, 255, 0.3);
}
.mode-stack-btn.picked {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.4), rgba(99, 102, 241, 0.3));
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.3);
}
.msb-icon { font-size: 1rem; }
.msb-text strong { display: block; font-size: 0.75rem; color: #fff; font-weight: 700; }
.msb-text small { font-size: 0.66rem; color: #94a3b8; line-height: 1.2; display: block; margin-top: 2px; }
.msb-chevron { margin-left: auto; color: #c084fc; font-weight: 800; font-size: 1rem; }

/* Player Frame */
.workspace-player-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 245, 255, 0.25);
  background: #000;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 20px rgba(0,0,0,0.8);
}
.player-screen {
  width: 100%;
  height: 230px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.player-center-play-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(0, 245, 255, 0.25);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(0, 245, 255, 0.8);
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}
.player-center-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 45px rgba(0, 245, 255, 0.8);
}
.play-triangle {
  font-size: 1.4rem;
  color: #fff;
  margin-left: 4px;
}
.player-bottom-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(6, 10, 20, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.pbc-left, .pbc-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pbc-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.pbc-btn:hover { color: #00f5ff; }
.pbc-time {
  font-size: 0.75rem;
  color: #94a3b8;
  font-family: var(--font-mono);
}

.workspace-vertical-tools {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vtool-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(16, 22, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.2s;
}
.vtool-btn:hover {
  background: rgba(0, 245, 255, 0.15);
  border-color: rgba(0, 245, 255, 0.4);
  color: #00f5ff;
}

/* Timeline Dual Track */
.workspace-timeline-area {
  background: rgba(12, 17, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.timeline-track {
  display: flex;
  align-items: center;
  gap: 10px;
}
.track-head {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #94a3b8;
  width: 24px;
  text-align: center;
}
.track-wave-body {
  flex: 1;
  position: relative;
}
.timeline-time-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: #64748b;
  margin-bottom: 2px;
}
.waveform-graphic {
  height: 28px;
  background: rgba(0, 245, 255, 0.04);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.waveform-bars {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(90deg, #00f5ff 0px, #00f5ff 2px, transparent 2px, transparent 5px);
  opacity: 0.85;
}
.waveform-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #fff;
  box-shadow: 0 0 10px #00f5ff;
}
.track-thumbs-body {
  display: flex;
  gap: 2px;
  height: 26px;
  width: 100%;
}
.filmstrip-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

/* Storyboard Area */
.workspace-storyboard-section {
  display: flex;
  flex-direction: column;
}
.storyboard-heading {
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.storyboard-cards-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.sb-card {
  background: rgba(16, 22, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s;
}
.sb-card:hover {
  border-color: rgba(0, 245, 255, 0.45);
  box-shadow: 0 0 10px rgba(0, 245, 255, 0.15);
  transform: translateY(-1px);
}
.sb-num {
  font-weight: 800;
  font-size: 0.8125rem;
  color: #fff;
  display: block;
}
.sb-time {
  font-size: 0.625rem;
  color: #94a3b8;
  font-family: var(--font-mono);
  display: block;
  white-space: nowrap;
}
.sb-card-thumb img {
  width: 34px;
  height: 24px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

/* Col 3: Right Sidebar */
.studio-sidebar-right {
  background: rgba(10, 14, 28, 0.65);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
}
.sidebar-right-header .srh-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.spark { color: #00f5ff; }
.srh-desc {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.35;
  margin-bottom: 14px;
}
.mode-action-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mode-action-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(16, 22, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.mode-action-card:hover {
  background: rgba(22, 30, 56, 0.85);
  border-color: rgba(0, 245, 255, 0.35);
}
.mode-action-card.picked {
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.16), rgba(16, 231, 178, 0.08));
  border-color: rgba(0, 245, 255, 0.55);
  box-shadow: 0 0 16px rgba(0, 245, 255, 0.2);
}
.mac-left { flex: 1; }
.mac-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 2px;
}
.mac-icon { color: #00f5ff; }
.mac-desc {
  font-size: 0.6875rem;
  color: #94a3b8;
  line-height: 1.3;
}
.mac-thumb img {
  width: 44px;
  height: 38px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  border: 1px solid rgba(0, 245, 255, 0.3);
}

/* ================= EXACT 1:1 METRICS & MOUNTAINS ================= */

.exact-metrics-section {
  position: relative;
  padding: 40px 0 60px;
  overflow: hidden;
}
.exact-metrics-mountains {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background-size: cover;
  background-position: bottom center;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}
.exact-metrics-bar {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding: 20px 28px;
  background: rgba(8, 12, 24, 0.88);
  border: 1px solid rgba(0, 245, 255, 0.25);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}
.metric-bar-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mbi-icon {
  font-size: 1.6rem;
  color: #00f5ff;
}
.mbi-content strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}
.mbi-content span {
  font-size: 0.72rem;
  color: #94a3b8;
  line-height: 1.25;
  display: block;
}

@media (max-width: 1024px) {
  .exact-hero-container { grid-template-columns: 1fr; }
  .studio-body-layout { grid-template-columns: 1fr; }
  .studio-sidebar-left, .studio-sidebar-right { border: none; }
  .exact-metrics-bar { grid-template-columns: repeat(2, 1fr); }
}
.credit-icon { color: var(--accent-amber); }
.credit-plus {
  background: var(--accent-purple);
  color: #fff;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  line-height: 1;
}
.user-profile-menu { display: flex; align-items: center; gap: 8px; margin-left: 6px; }
.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
}

/* ================= ONEMORESHOT STYLE HERO ================= */

.hero-section {
  position: relative;
  padding: 80px 24px 60px;
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-glow {
  position: absolute;
  top: -120px;
  left: 20%;
  width: 650px;
  height: 650px;
  background: var(--gradient-glow);
  pointer-events: none;
  z-index: 0;
}
.hero-glow-secondary {
  position: absolute;
  top: 150px;
  right: -50px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; }
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #cbd5e1;
  margin-bottom: 22px;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-emerald); box-shadow: 0 0 10px var(--accent-emerald); }
.hero-title { font-size: 3.35rem; line-height: 1.12; margin-bottom: 20px; }
.hero-lead { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 28px; max-width: 580px; line-height: 1.6; }

/* AI Director Bar */
.ai-director-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  margin-bottom: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  transition: border-color 0.2s;
}
.ai-director-bar:focus-within {
  border-color: var(--accent-purple);
}
.director-icon { font-size: 0.75rem; font-family: var(--font-mono); font-weight: 700; color: #a78bfa; white-space: nowrap; }
.director-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  outline: none;
}
.hero-cta-group { display: flex; gap: 16px; margin-bottom: 36px; }

/* Ecosystem Badges */
.ecosystem-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}
.ecosystem-row span { font-size: 0.75rem; font-family: var(--font-mono); color: var(--text-muted); }
.ecosystem-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.eco-tag {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: 20px;
  color: #94a3b8;
}

/* Hero Showcase Card */
.video-showcase-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
  z-index: 1;
}
.showcase-header {
  background: rgba(0,0,0,0.5);
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
}
.live-dot-wrap { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; color: #fff; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; animation: pulseLive 1.5s infinite; }
@keyframes pulseLive { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.showcase-genre { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-muted); }

.showcase-viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.showcase-canvas-art {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #2e1065 0%, #030712 85%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.cinematic-backdrop {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(139, 92, 246, 0.25) 1px, transparent 1px);
  background-size: 20px 20px;
}
.performer-silhouette {
  position: relative;
  z-index: 2;
  text-align: center;
}
.pulsing-disc {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #8b5cf6, #06b6d4, #10b981, #8b5cf6);
  margin: 0 auto 16px;
  animation: rotateDisc 10s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
}
.pulsing-disc div {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #04060a;
}
@keyframes rotateDisc {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.performer-badge {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 700;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.12);
  color: #c4b5fd;
}
.showcase-floating-tags {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  z-index: 3;
}
.float-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.1);
  color: #e2e8f0;
}
.tag-beat { color: var(--accent-amber); }
.tag-motion { color: var(--accent-cyan); }

.showcase-audio-bar {
  background: rgba(0,0,0,0.4);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  border-top: 1px solid var(--border-subtle);
}
.waveform-mini { display: flex; align-items: center; gap: 3px; height: 16px; }
.waveform-mini span {
  width: 3px;
  background: var(--accent-cyan);
  border-radius: 2px;
  animation: waveBar 1.2s ease-in-out infinite alternate;
}
.waveform-mini span:nth-child(2) { animation-delay: 0.2s; }
.waveform-mini span:nth-child(3) { animation-delay: 0.4s; }
.waveform-mini span:nth-child(4) { animation-delay: 0.1s; }
.waveform-mini span:nth-child(5) { animation-delay: 0.5s; }
@keyframes waveBar {
  from { height: 4px; }
  to { height: 16px; }
}
.audio-time { color: #fff; }
.audio-status { margin-left: auto; color: var(--accent-emerald); }

/* ================= SECTION STYLES ================= */

.section { padding: 90px 0; }
.section-header { margin-bottom: 52px; }
.section-header h2 { font-size: 2.35rem; margin-bottom: 12px; }
.section-header p { font-size: 1.05rem; color: var(--text-secondary); max-width: 660px; margin: 0 auto; }
.text-center { text-align: center; }

/* Workflow Cards */
.workflow-card { padding: 32px 28px; }
.workflow-step-badge {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent-purple);
  margin-bottom: 14px;
}
.workflow-icon { font-size: 2.2rem; margin-bottom: 16px; color: var(--accent-cyan); }
.workflow-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.workflow-card p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.6; }

/* Visual Styles Grid */
.style-card {
  height: 280px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-end;
}
.style-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-purple);
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}
.style-cyberpunk { background: linear-gradient(180deg, #3b0764 0%, #030712 100%); }
.style-vintage { background: linear-gradient(180deg, #451a03 0%, #030712 100%); }
.style-dark { background: linear-gradient(180deg, #1e1b4b 0%, #030712 100%); }
.style-studio { background: linear-gradient(180deg, #134e4a 0%, #030712 100%); }

.style-overlay {
  background: linear-gradient(0deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
  padding: 24px;
  width: 100%;
}
.style-tag {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 6px;
  display: block;
}
.style-overlay h4 { font-size: 1.2rem; margin-bottom: 8px; color: #fff; }
.style-overlay p { font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.5; }

/* Modes Grid */
.mode-display-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.25s ease;
}
.mode-display-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-purple);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}
.mode-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.mode-display-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.mode-display-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
.mode-tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.mode-tag {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  background: var(--bg-surface-elevated);
  padding: 3px 8px;
  border-radius: 4px;
  color: #a5b4fc;
}

/* Spotify Canvas Banner */
.spotify-canvas-banner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, #091e17 0%, #0c0f18 100%);
  border-color: rgba(16, 185, 129, 0.3);
  padding: 44px;
}
.canvas-aspect-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.aspect-pill {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 600;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  color: #6ee7b7;
}

/* Phone Mockup */
.phone-mockup {
  width: 200px;
  height: 380px;
  margin: 0 auto;
  border: 4px solid #23293e;
  border-radius: 32px;
  padding: 6px;
  background: #000;
  box-shadow: 0 16px 40px rgba(0,0,0,0.8), 0 0 30px rgba(16, 185, 129, 0.25);
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 26px;
  background: radial-gradient(circle at center, #064e3b 0%, #022c22 80%);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-canvas-loop { text-align: center; }
.pulsing-disc-small {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #10b981, #06b6d4, #10b981);
  margin: 0 auto 12px;
  animation: rotateDisc 8s linear infinite;
}
.spotify-badge {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  background: rgba(0,0,0,0.6);
  padding: 4px 10px;
  border-radius: 20px;
  color: #10b981;
}

/* Template Cards */
.template-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: border-color 0.2s;
}
.template-card:hover { border-color: var(--accent-cyan); }
.template-cat {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 6px;
}
.template-card h4 { font-size: 1.05rem; margin-bottom: 8px; }
.template-card p { font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 14px; }
.template-meta { font-size: 0.75rem; font-family: var(--font-mono); color: var(--text-muted); display: flex; justify-content: space-between; }

/* Pricing Grid (5 Tiers) */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.25s;
}
.pricing-card.featured {
  border-color: var(--accent-purple);
  background: linear-gradient(180deg, #161828 0%, #0c0f18 100%);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.25);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pricing-title { font-size: 1.3rem; margin-bottom: 6px; }
.pricing-desc { font-size: 0.8125rem; color: var(--text-muted); min-height: 40px; margin-bottom: 18px; }
.pricing-price { font-size: 2.1rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.pricing-price span { font-size: 0.875rem; font-weight: 500; color: var(--text-muted); }
.pricing-credits {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--accent-amber);
  margin-bottom: 24px;
}
.pricing-features {
  list-style: none;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
  margin-bottom: 24px;
}
.pricing-features li {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-features li::before {
  content: "✓";
  color: var(--accent-emerald);
  font-weight: 800;
}

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 26px;
}
.faq-card h4 { font-size: 1.05rem; margin-bottom: 8px; color: #fff; }
.faq-card p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.6; }

/* Global Footer */
.global-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  background: #020306;
}
.footer-content { display: flex; justify-content: space-between; margin-bottom: 40px; }
.footer-brand p { font-size: 0.875rem; color: var(--text-secondary); margin-top: 8px; max-width: 360px; }
.footer-links h4 { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; margin-bottom: 14px; }
.footer-links a { display: block; font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 24px; }

/* ================= DASHBOARD STYLES ================= */

.dashboard-container { padding: 40px 24px 80px; }
.dashboard-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; }
.dash-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card { display: flex; flex-direction: column; gap: 6px; }
.stat-card .stat-label { font-size: 0.8125rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; }
.stat-card .stat-value { font-size: 2rem; font-weight: 800; color: #fff; }

.project-list-grid { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.project-row-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 0.2s;
}
.project-row-card:hover { border-color: rgba(139, 92, 246, 0.4); }
.project-meta-left h3 { font-size: 1.1rem; margin-bottom: 4px; }
.project-meta-left p { font-size: 0.8125rem; color: var(--text-muted); }
.project-status-group { display: flex; align-items: center; gap: 16px; }
.status-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}
.status-badge.queued { background: rgba(245, 158, 11, 0.15); color: var(--accent-amber); }
.status-badge.running { background: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); }
.status-badge.done { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); }
.status-badge.failed { background: rgba(244, 63, 94, 0.15); color: var(--accent-rose); }

/* ================= VIDEO STUDIO WORKSPACE ================= */

.editor-workspace {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 65px);
  background: #04060a;
  overflow: hidden;
}

/* Editor Top Bar */
.editor-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  height: 52px;
}
.editor-title-area { display: flex; align-items: center; gap: 14px; }
.editor-title-input {
  background: transparent;
  border: 1px solid transparent;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  outline: none;
}
.editor-title-input:hover, .editor-title-input:focus {
  background: var(--bg-surface-elevated);
  border-color: var(--border-subtle);
}
.status-pill {
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  color: var(--text-secondary);
}
.editor-actions { display: flex; align-items: center; gap: 10px; }

/* Editor 3-Column Layout */
.editor-main-body {
  display: grid;
  grid-template-columns: 320px 1fr 310px;
  flex: 1;
  overflow: hidden;
  background: #020306;
}

/* Left Column */
.editor-col-left {
  background: var(--bg-surface);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.col-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(0,0,0,0.2);
}
.col-tab {
  flex: 1;
  padding: 12px;
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.col-tab.active { color: #fff; border-bottom-color: var(--accent-purple); }
.col-pane { padding: 18px; }

.upload-dropzone {
  border: 2px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: rgba(255,255,255,0.015);
}
.upload-dropzone:hover {
  border-color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.05);
}
.drop-icon { font-size: 1.8rem; margin-bottom: 8px; color: var(--accent-purple); }
.drop-text { font-size: 0.8125rem; color: var(--text-secondary); margin-bottom: 4px; }

.audio-upload-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}
.audio-status-row { display: flex; align-items: center; gap: 10px; }
.audio-icon { font-size: 1.2rem; color: var(--accent-cyan); }
.audio-meta { flex: 1; overflow: hidden; }
.audio-meta strong { display: block; font-size: 0.8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.audio-meta small { font-size: 0.75rem; color: var(--text-muted); }

.media-thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.thumb-card {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-subtle);
  background: #000;
  cursor: pointer;
}
.thumb-card img, .thumb-card video { width: 100%; height: 100%; object-fit: cover; }
.thumb-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  font-size: 0.625rem;
  background: rgba(0,0,0,0.7);
  padding: 1px 4px;
  border-radius: 2px;
  font-family: var(--font-mono);
  color: #fff;
}

/* Mode Selection Stack */
.mode-select-stack { display: flex; flex-direction: column; gap: 10px; }
.mode-card {
  display: block;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.mode-card:hover { border-color: var(--accent-purple); }
.mode-card.picked {
  border-color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.1);
}
.mode-card .mode-title { font-size: 0.9375rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.mode-card p { font-size: 0.75rem; color: var(--text-secondary); line-height: 1.4; }

/* Center Stage */
.editor-col-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: #000;
  position: relative;
}
.preview-stage-wrap {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.preview-monitor {
  width: 100%;
  max-height: 52vh;
  background: #000;
  border: 1px solid #1a1e2d;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}
.preview-monitor.ratio-16-9 { aspect-ratio: 16 / 9; }
.preview-monitor.ratio-9-16 { aspect-ratio: 9 / 16; max-width: 320px; }

.stage-video { width: 100%; height: 100%; object-fit: contain; }
.stage-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: none;
}
.stage-empty-placeholder {
  position: absolute;
  text-align: center;
  color: var(--text-muted);
  padding: 24px;
}
.placeholder-icon { font-size: 2.5rem; margin-bottom: 12px; color: var(--accent-purple); }
.stage-safe-guides {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  padding: 10%;
}
.guide-box {
  width: 100%;
  height: 100%;
  border: 1px dashed rgba(6, 182, 212, 0.4);
}

.transport-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  width: 100%;
  justify-content: center;
  background: var(--bg-surface);
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid var(--border-subtle);
}
.timecode-display {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  margin: 0 10px;
}
.transport-toggles { margin-left: auto; display: flex; gap: 8px; }

/* Right Column (Inspector) */
.editor-col-right {
  background: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 20px;
}
.inspector-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}
.inspector-header h3 { font-size: 1.05rem; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form-select, .form-input, textarea {
  width: 100%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 8px 12px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  outline: none;
}
.form-select:focus, .form-input:focus, textarea:focus {
  border-color: var(--accent-purple);
}
.duration-slider-row { display: flex; align-items: center; gap: 12px; }
.duration-slider-row input[type="range"] { flex: 1; accent-color: var(--accent-purple); }
.duration-slider-row span { font-family: var(--font-mono); font-size: 0.8125rem; color: #a5b4fc; }

/* ================= BOTTOM TIMELINE ================= */

.editor-bottom-timeline {
  height: 210px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  user-select: none;
}
.timeline-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 18px;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.75rem;
}
.timeline-title { font-weight: 700; letter-spacing: 0.08em; color: var(--text-muted); margin-right: 14px; }
.timeline-tools { display: flex; align-items: center; gap: 8px; }
.timeline-zoom { display: flex; align-items: center; gap: 8px; color: var(--text-muted); }
.timeline-zoom input { width: 90px; accent-color: var(--accent-purple); }

.timeline-tracks-scroll {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.track-row {
  display: flex;
  align-items: center;
  min-height: 48px;
}
.track-label {
  width: 72px;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}
.track-content {
  flex: 1;
  height: 48px;
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(0,0,0,0.25);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.04);
}
.waveform-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Scene Blocks */
.timeline-scene-block {
  height: 44px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
  transition: all 0.15s;
  overflow: hidden;
  flex-shrink: 0;
}
.timeline-scene-block:hover {
  border-color: var(--text-muted);
}
.timeline-scene-block.active {
  border-color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.2);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}
.timeline-scene-thumb {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  object-fit: cover;
  background: #000;
}
.timeline-scene-info { overflow: hidden; font-size: 0.75rem; }
.timeline-scene-info strong { display: block; white-space: nowrap; text-overflow: ellipsis; color: #fff; }
.timeline-scene-info small { color: var(--text-muted); font-family: var(--font-mono); }

/* ================= ADMIN STYLES & TABLES ================= */

.admin-container { padding: 40px 24px 80px; }
.admin-metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.metric-card { display: flex; flex-direction: column; gap: 6px; }
.metric-card span { font-size: 0.8125rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; }
.metric-card strong { font-size: 2.2rem; font-weight: 800; color: #fff; }
.price-highlight { color: var(--accent-emerald) !important; }

.table-card { padding: 0; overflow: hidden; }
.table-header { padding: 20px 24px; border-bottom: 1px solid var(--border-subtle); }
.data-table { width: 100%; border-collapse: collapse; text-align: left; }
.data-table th {
  background: rgba(0,0,0,0.3);
  padding: 12px 24px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-subtle);
}
.data-table td {
  padding: 14px 24px;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  color: var(--text-secondary);
}
.data-table tr:hover td { background: rgba(255,255,255,0.02); color: #fff; }

/* ================= MODAL & TOASTS (STRICT HIDDEN RULE) ================= */

[hidden], [hidden="true"], .modal-backdrop[hidden], div[hidden] {
  display: none !important;
}

.modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(4, 6, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop[hidden] {
  display: none !important;
}
.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 440px;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0,0,0,0.8);
}
.modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}
.modal-close:hover { color: #fff; }
.modal-header { text-align: center; margin-bottom: 24px; }
.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent-purple);
  margin-bottom: 8px;
}
.auth-tabs { display: flex; border-bottom: 1px solid var(--border-subtle); margin-bottom: 22px; }
.auth-tab {
  flex: 1;
  padding: 10px;
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.auth-tab.active { color: #fff; border-bottom-color: var(--accent-purple); }
.auth-helper { text-align: center; margin-top: 14px; font-size: 0.8125rem; }

.checkout-summary {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 20px;
}
.summary-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.9375rem; }
.badge-soft {
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Toast notifications */
.toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--accent-purple);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.875rem;
  box-shadow: var(--shadow-md);
  animation: slideInToast 0.25s ease;
  min-width: 280px;
}
.toast.success { border-left-color: var(--accent-emerald); }
.toast.error { border-left-color: var(--accent-rose); }
@keyframes slideInToast {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Utilities */
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mb-3 { margin-bottom: 12px; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-muted { color: var(--text-muted); }
.p-2 { padding: 8px; }

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-section { grid-template-columns: 1fr; padding-top: 40px; }
  .spotify-canvas-banner { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .editor-main-body { grid-template-columns: 1fr; overflow-y: auto; }
  .editor-col-left, .editor-col-right { border: none; }
}
