/* ==========================================================================
   Vercel v0: Generative UI — Exact Launch Promo Stylesheet
   Standards: EaseUI Tactile Depth, 1px Subtle Borders, Geist / Inter Typography,
   GPU Composited Transforms, WCAG 2.2 AA Contrast, 100% Visual Parity.
   ========================================================================== */

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

:root {
  --bg-canvas: #FFFFFF;
  --bg-subtle: #FAFAFA;
  --bg-zinc-50: #F4F4F5;
  --bg-zinc-100: #E4E4E7;
  --bg-zinc-800: #27272A;
  --bg-zinc-900: #18181B;
  --bg-zinc-950: #09090B;
  --text-main: #000000;
  --text-muted: #666666;
  --text-light: #A1A1AA;
  --border-light: #E4E4E7;
  --border-subtle: rgba(0, 0, 0, 0.08);
  --accent-blue: #0070F3;
  --accent-blue-subtle: #EBF5FF;
  --accent-amber: #D97706;
  --accent-amber-bg: #FEF3C7;
  --accent-emerald: #059669;
  --accent-emerald-bg: #D1FAE5;
  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #000000;
  font-family: var(--font-sans);
  color: var(--text-main);
  user-select: none;
}

/* --- Clean Export Full-Bleed Mode (For Headless Video Rendering) --- */
html.clean-export,
body.clean-export {
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  background: #000000 !important;
}

html.clean-export .video-toolbar,
body.clean-export .video-toolbar {
  display: none !important;
}

html.clean-export .video-stage-wrapper,
body.clean-export .video-stage-wrapper {
  margin-top: 0 !important;
  padding: 0 !important;
  background: #000000 !important;
  width: 1920px !important;
  height: 1080px !important;
}

html.clean-export #video-stage,
body.clean-export #video-stage {
  width: 1920px !important;
  height: 1080px !important;
  transform: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  flex: none !important;
}

/* ==========================================================================
   TOP PLAYBACK CONTROLS & TIMELINE TOOLBAR
   ========================================================================== */
.video-toolbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 54px;
  background: #111113;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 100;
  flex-shrink: 0;
  width: 100%;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-logo-svg {
  width: 22px;
  height: 22px;
  color: #FFFFFF;
}

.brand-title {
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.brand-tag {
  font-size: 11px;
  color: #71717A;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: 9999px;
  white-space: nowrap;
}

.playback-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  max-width: 680px;
  margin: 0 18px;
}

.btn-ctrl {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #27272A;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.btn-ctrl svg,
#play-icon svg {
  width: 14px;
  height: 14px;
  display: block;
  fill: currentColor;
}

#play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-ctrl:hover {
  background: #3F3F46;
  transform: scale(1.05);
}

.timeline-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 160px;
}

#video-scrubber {
  width: 100%;
  accent-color: #0070F3;
  cursor: pointer;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.timeline-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-family: var(--font-mono);
  color: #A1A1AA;
  white-space: nowrap;
  gap: 8px;
}

.time-display {
  flex-shrink: 0;
}

.scene-indicator {
  color: #0070F3;
  font-family: var(--font-sans);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.speed-selector {
  display: flex;
  background: #27272A;
  border-radius: 6px;
  padding: 2px;
  gap: 2px;
  flex-shrink: 0;
}

.speed-btn {
  background: none;
  border: none;
  color: #A1A1AA;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
}

.speed-btn.active {
  background: #18181B;
  color: #FFFFFF;
}

.scene-jump-pills {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.pill-btn {
  background: #27272A;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #A1A1AA;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.pill-btn.active, .pill-btn:hover {
  background: #0070F3;
  color: #FFFFFF;
  border-color: #0070F3;
}

@media (max-width: 1400px) {
  .brand-tag {
    display: none;
  }
}

@media (max-width: 1200px) {
  .scene-jump-pills {
    display: none;
  }
}

/* --- Responsive Stage Wrapper --- */
.video-stage-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  overflow: hidden;
  position: relative;
}

#video-stage {
  position: relative;
  width: 1920px;
  height: 1080px;
  background-color: #FFFFFF;
  overflow: hidden;
  transform-origin: center center;
  box-shadow: 0 0 100px rgba(0, 0, 0, 0.9);
  flex: none; /* CRITICAL: prevents flexbox from squishing stage */
}

/* --- Camera World --- */
#camera-world {
  position: absolute;
  top: 0;
  left: 0;
  width: 1920px;
  height: 1080px;
  transform-origin: 0 0;
  will-change: transform;
}

/* --- Natural Kinematic Virtual Cursor (Exact Tip strictly at 0,0) --- */
.virtual-cursor {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  z-index: 10000;
  pointer-events: none;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.35));
  will-change: transform;
}

.virtual-cursor.pressed .cursor-arrow {
  transform: scale(0.88);
  transition: transform 0.08s ease;
}

.cursor-arrow {
  width: 100%;
  height: 100%;
  transform-origin: 0 0;
  display: block;
}

/* --- Tactile Click Ripple Ring (Centered at Cursor Click Point) --- */
.click-ripple {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  pointer-events: none;
  border: 2.5px solid #0070F3;
  box-shadow: 0 0 16px rgba(0, 112, 243, 0.65), inset 0 0 6px rgba(0, 112, 243, 0.4);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  z-index: 9999;
  will-change: transform, opacity;
}

/* --- Scene Layers --- */
.scene-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 1920px;
  height: 1080px;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: opacity, transform;
}

/* ==========================================================================
   Scene 1: v0 Wireframe Stroke Logo & Radial Guidelines
   ========================================================================== */
#scene-1-logo {
  background: #FFFFFF;
}

.logo-construction-stage {
  position: relative;
  width: 1920px;
  height: 1080px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s1-guidelines-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 1920px;
  height: 1080px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.guide-line {
  stroke: #D4D4D8;
  stroke-width: 1px;
  stroke-dasharray: 4 4;
}

.guide-line.diag-ray {
  stroke: #E4E4E7;
}

.guide-box {
  fill: none;
  stroke: #D4D4D8;
  stroke-width: 1px;
  stroke-dasharray: 4 4;
}

.logo-draw-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.v0-hero-svg {
  width: 280px;
  height: 280px;
}

.v0-wire-stroke {
  fill: none;
  stroke: #000000;
  stroke-width: 0.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
}

.v0-block-fill {
  fill: #000000;
  opacity: 0;
}

/* ==========================================================================
   Scene 2: "What will you ship?" Morph into Capsule Pill
   ========================================================================== */
#scene-2-title {
  background: #FFFFFF;
}

.title-pill-container {
  position: relative;
  padding: 12px 36px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.35s ease, padding 0.35s ease;
}

.title-pill-container.as-pill {
  background: #111111;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.title-text-hero {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-align: center;
  transition: color 0.35s ease;
}

.title-dark {
  color: #000000;
}

.title-muted {
  color: #666666;
}

.title-pill-container.as-pill .title-dark,
.title-pill-container.as-pill .title-muted {
  color: #FFFFFF !important;
}

/* ==========================================================================
   Scene 3: Dark Floating Prompt Bar & Vertical Cylindrical Drum Reel
   ========================================================================== */
#scene-3-prompt {
  background: #FFFFFF;
}

.prompt-scene-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.prompt-drum-item {
  font-size: 24px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.28);
  letter-spacing: -0.02em;
  filter: blur(1.2px);
  pointer-events: none;
  white-space: nowrap;
}

.prompt-drum-item.drum-top {
  transform: translateY(-24px);
  opacity: 0;
}

.prompt-drum-item.drum-bottom {
  transform: translateY(24px);
  opacity: 0.8;
}

.prompt-bar-container {
  position: relative;
  width: 780px;
  height: 74px;
  background: #111111;
  border-radius: 9999px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  padding: 0 16px 0 18px;
  gap: 16px;
  z-index: 10;
}

.guillermo-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #27272A;
}

.guillermo-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prompt-bar-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.16);
  flex-shrink: 0;
}

.prompt-reel-viewport {
  flex: 1;
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 400;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.prompt-input-line {
  white-space: nowrap;
}

.blinking-cursor {
  font-weight: 300;
  color: #FFFFFF;
  margin-left: 2px;
  animation: blink 1s step-start infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.prompt-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.circle-btn-action {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #444446;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.circle-btn-action svg {
  width: 20px;
  height: 20px;
}

.circle-btn-action.btn-enter {
  background: #5A5A5E;
  color: #000000;
}

.circle-btn-action.btn-sm {
  width: 34px;
  height: 34px;
}

.circle-btn-action.btn-sm svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Scene 4 & 5: Acme Inc Dashboard Canvas & Component Edit
   ========================================================================== */
#scene-4-app {
  background: #FFFFFF;
  display: block;
}

.app-workspace-canvas {
  width: 1920px;
  height: 1080px;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  padding: 24px 48px;
  gap: 20px;
}

/* Top Global Breadcrumb */
.top-breadcrumb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
}

.breadcrumb-left {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 500;
}

.v0-brand-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.v0-brand-icon svg {
  width: 24px;
  height: 24px;
}

.bc-slash {
  color: #D4D4D8;
  font-size: 18px;
}

.bc-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.bc-prompt-title {
  color: #000000;
  font-weight: 500;
}

.bc-time-muted {
  color: #71717A;
  font-size: 14px;
}

.badge-stealth-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  color: #92400E;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.badge-stealth-pill.status-public {
  background: #D1FAE5 !important;
  border-color: #A7F3D0 !important;
  color: #065F46 !important;
}

.badge-lock-icon {
  width: 14px;
  height: 14px;
}

.breadcrumb-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.credits-capsule {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #F4F4F5;
  border: 1px solid #E4E4E7;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: #52525B;
}

.menu-hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  cursor: pointer;
}

/* Canvas Header (Speech bubble & actions) */
.canvas-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-bubble-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.chat-speech-bubble {
  background: #F4F4F5;
  border-radius: 9999px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #09090B;
}

.chat-time-label {
  font-size: 13px;
  color: #A1A1AA;
}

.canvas-actions-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.action-btn-clean {
  background: #FFFFFF;
  border: 1px solid #E4E4E7;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #000000;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.action-btn-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid #E4E4E7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #71717A;
  cursor: pointer;
}

.action-btn-dark {
  background: #000000;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

/* Workspace Main Area */
.workspace-main-area {
  display: flex;
  flex: 1;
  gap: 24px;
  position: relative;
  height: calc(1080px - 220px);
}

/* Primary App Card */
.primary-app-card {
  flex: 1;
  border: 1px solid #E4E4E7;
  border-radius: 16px;
  background: #FFFFFF;
  display: flex;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  position: relative;
}

.inner-sidebar {
  width: 220px;
  border-right: 1px solid #E4E4E7;
  background: #FAFAFA;
  display: flex;
  flex-direction: column;
  padding: 20px 16px;
  gap: 20px;
  flex-shrink: 0;
}

.brand-item-row {
  position: relative;
  padding: 6px 8px;
}

.acme-brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.acme-brand-wrap.is-blue {
  color: var(--accent-blue) !important;
}

.acme-brand-svg {
  width: 20px;
  height: 20px;
}

.acme-brand-text {
  font-size: 15px;
  font-weight: 600;
}

.component-inspect-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px dashed var(--accent-blue);
  background: rgba(0, 112, 243, 0.12);
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.component-inspect-tag {
  position: absolute;
  top: -12px;
  left: 6px;
  background: var(--accent-blue);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
  padding: 2px 6px;
  border-radius: 4px;
}

.inner-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #52525B;
}

.nav-row.active {
  background: #E4E4E7;
  color: #000000;
}

/* Inner Canvas Content */
.inner-canvas-content {
  flex: 1;
  background: #FFFFFF;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.inner-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #E4E4E7;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  color: #A1A1AA;
}

.wireframe-stream-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.wire-card-dashed {
  border: 1px dashed #D4D4D8;
  border-radius: 10px;
  background: #FAFAFA;
}

.wire-top-banner {
  height: 60px;
}

.wire-large-canvas {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.wire-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.wire-metric-box {
  background: #FFFFFF;
  border: 1px solid #E4E4E7;
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.w-label {
  font-size: 12px;
  color: #71717A;
}

.w-val {
  font-size: 22px;
  font-weight: 700;
  color: #000000;
}

.wire-chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 180px;
  padding: 0 10px;
}

.w-bar {
  width: 48px;
  background: #18181B;
  border-radius: 4px 4px 0 0;
  transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.w-bar.accent-blue {
  background: var(--accent-blue);
}

/* Floating Popover (Scene 5) */
.component-edit-popover {
  position: absolute;
  top: 100px;
  left: 20px;
  width: 440px;
  background: #FFFFFF;
  border: 1px solid #E4E4E7;
  border-radius: 12px;
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.25);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 500;
  opacity: 0;
  transform: scale(0.92) translateY(10px);
  pointer-events: none;
  will-change: opacity, transform;
}

.popover-input-wrap {
  flex: 1;
}

.popover-text-input {
  font-size: 15px;
  font-weight: 500;
  color: #000000;
}

.btn-popover-blue {
  background: var(--accent-blue);
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
}

.btn-popover-blue.is-loading svg {
  animation: spin 0.8s linear infinite;
}

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

/* 3D Tilted Code Card (Scene 6) */
.code-inspector-card {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 160px);
  height: 100%;
  background: #111113;
  border: 1px solid #27272A;
  border-radius: 16px;
  padding: 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #FFFFFF;
  z-index: 400;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}

.code-header-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.code-card-title {
  font-size: 18px;
  font-weight: 700;
}

.code-card-note {
  font-size: 13px;
  color: #71717A;
}

.cli-terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #18181B;
  border: 1px solid #27272A;
  border-radius: 8px;
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 14px;
}

.cli-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cli-prompt {
  color: #A1A1AA;
}

.cli-learn-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #27272A;
  border: none;
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-family: var(--font-sans);
  cursor: pointer;
}

.code-tabs-row {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #27272A;
  padding-bottom: 12px;
  position: relative;
}

.code-tab-pill {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #71717A;
  cursor: pointer;
}

.code-tab-pill.active {
  background: #27272A;
  color: #FFFFFF;
}

.code-copy-action {
  margin-left: auto;
  color: #71717A;
  cursor: pointer;
}

.code-snippet-body {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  color: #E4E4E7;
  overflow: hidden;
}

.c-line {
  white-space: pre;
}

.c-comment { color: #71717A; }
.c-kwd     { color: #F43F5E; }
.c-id      { color: #38BDF8; }
.c-str     { color: #34D399; }
.c-fn      { color: #F59E0B; }
.c-tag     { color: #38BDF8; }
.c-attr    { color: #A78BFA; }

/* Right Version History Stack */
.right-version-stack {
  width: 140px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}

.version-thumbnail-card {
  width: 100%;
  height: 90px;
  border: 1px solid #E4E4E7;
  border-radius: 10px;
  background: #FFFFFF;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.version-thumbnail-card.active-v1 {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 1px var(--accent-blue);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ver-thumb-preview {
  width: 100%;
  height: 50px;
  background: #FAFAFA;
  border-radius: 6px;
}

.ver-thumb-preview.preview-blue {
  background: var(--accent-blue-subtle);
}

.ver-tag-pill {
  font-size: 12px;
  font-weight: 600;
  color: #71717A;
}

.ver-tag-pill.tag-blue {
  color: var(--accent-blue);
}

/* Bottom Floating Prompt Bar */
.bottom-floating-prompt {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 620px;
  height: 56px;
  background: #111111;
  border-radius: 9999px;
  padding: 0 14px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
  z-index: 100;
}

.bf-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bf-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.bf-placeholder {
  font-size: 15px;
  color: #71717A;
}

.bf-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.edit-btn-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tooltip-click-edit {
  position: absolute;
  bottom: 46px;
  left: 50%;
  transform: translateX(-50%);
  background: #000000;
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* Stealth Mode Popover Dialog (Scene 7) */
.stealth-popover-dialog {
  position: absolute;
  top: 70px;
  left: 360px;
  width: 380px;
  background: #FFFFFF;
  border: 1px solid #E4E4E7;
  border-radius: 16px;
  box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.25);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 600;
  opacity: 0;
  transform: scale(0.94) translateY(-10px);
  pointer-events: none;
  will-change: opacity, transform;
}

.stealth-dialog-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stealth-main-title {
  font-size: 16px;
  font-weight: 700;
  color: #000000;
}

.stealth-sub-title {
  font-size: 13px;
  color: #71717A;
}

.stealth-choice-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stealth-choice-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid #E4E4E7;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.stealth-choice-row.selected {
  border-color: #000000;
  background: #F4F4F5;
}

.sc-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sc-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-icon-circle svg {
  width: 16px;
  height: 16px;
}

.icon-public {
  background: #E0F2FE;
  color: var(--accent-blue);
}

.icon-private {
  background: #FEF3C7;
  color: var(--accent-amber);
}

.sc-meta {
  display: flex;
  flex-direction: column;
}

.sc-name {
  font-size: 14px;
  font-weight: 600;
  color: #000000;
}

.sc-desc {
  font-size: 12px;
  color: #71717A;
}

.sc-radio-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #A1A1AA;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radio-check-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.stealth-choice-row.selected .sc-radio-circle {
  border-color: #000000;
  background: #000000;
}

.stealth-choice-row.selected .radio-check-inner {
  opacity: 1;
}

.check-svg-icon {
  width: 12px;
  height: 12px;
  color: #FFFFFF;
}

/* ==========================================================================
   Scene 8: 12-Card Expansive Generative Grid Wall & "v0.dev"
   ========================================================================== */
#scene-8-v0dev {
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.grid-wall-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  grid-template-columns: repeat(4, 380px);
  grid-template-rows: repeat(3, 230px);
  gap: 20px;
  opacity: 0.9;
  transition: opacity 0.5s ease;
}

.grid-card-mock {
  background: #FFFFFF;
  border: 1px solid #E4E4E7;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.gm-speech {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #52525B;
  background: #F4F4F5;
  padding: 4px 10px;
  border-radius: 9999px;
  width: fit-content;
}

.gm-av {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.gm-canvas {
  flex: 1;
  background: #FAFAFA;
  border-radius: 8px;
  border: 1px solid #E4E4E7;
  position: relative;
  overflow: hidden;
}

/* Specific card mini-mock styles */
.gm-dashboard-canvas { display: flex; }
.gm-side { width: 40px; background: #F4F4F5; border-right: 1px solid #E4E4E7; }
.gm-main { flex: 1; background: #FFFFFF; }

.gm-pricing-canvas { display: flex; gap: 8px; padding: 12px; }
.gm-tier { flex: 1; background: #FFFFFF; border: 1px solid #E4E4E7; border-radius: 6px; }
.gm-tier.active { border-color: #0070F3; box-shadow: 0 2px 8px rgba(0, 112, 243, 0.15); }

.gm-dark-hero-canvas { background: #000000; display: flex; align-items: center; justify-content: center; }
.gm-notes-canvas { display: flex; }
.gm-yellow-side { width: 36px; background: #FEF08A; }
.gm-notes-body { flex: 1; background: #FEF9C3; }

.v0dev-center-lockup {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.v0dev-title-text {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #000000;
}

/* ==========================================================================
   Scene 9: Vercel Outro (Center to Horizontal Lockup)
   ========================================================================== */
#scene-9-vercel {
  background: #FFFFFF;
}

.vercel-lockup-horizontal {
  display: flex;
  align-items: center;
  gap: 36px;
  position: relative;
}

.vercel-triangle-large {
  width: 140px;
  height: 120px;
  transform: translateX(0);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.vercel-brand-text {
  font-size: 130px;
  font-weight: 700;
  letter-spacing: -0.045em;
  color: #000000;
  line-height: 1;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}


