/* ==========================================================================
   SiteBlocker — Professional Brand Promotion Video Engine (Green Edition)
   Aesthetics: Deep Obsidian, Lush Emerald Green Glows, 3D Elastic Physics
   Architecture: 3-Zone Zero-Overlap (Header, Content, Caption) — Zero Sliders
   ========================================================================== */

:root {
  --bg-deep: #070a0e;
  --bg-surface: #0c1219;
  --bg-card: rgba(14, 24, 28, 0.78);
  --bg-card-hover: rgba(18, 32, 38, 0.9);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(16, 185, 129, 0.45);

  /* Primary Emerald Green System */
  --green: #10b981;
  --green-glow: rgba(16, 185, 129, 0.55);
  --green-light: #34d399;
  --green-neon: #00f59b;
  --green-dark: #059669;
  --teal: #0f766e;
  
  --crimson: #f43f5e;
  --crimson-glow: rgba(244, 63, 94, 0.55);
  --amber: #f59e0b;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

*::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

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

/* ==========================================================================
   DIRECTOR HUD / TOOLBAR (Recorder Helper)
   ========================================================================== */
.director-hud {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 52px;
  background: rgba(7, 12, 17, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 9999;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.director-hud.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.hud-left, .hud-center, .hud-right {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hud-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  color: #fff;
}

.hud-brand img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.hud-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.18);
  color: var(--green-light);
  border: 1px solid rgba(16, 185, 129, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hud-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.hud-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.hud-btn.primary {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #031c12;
  border: none;
  font-weight: 800;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.45);
}

.hud-btn.record-btn {
  background: linear-gradient(135deg, #f43f5e, #be123c);
  color: #fff;
  border: none;
  box-shadow: 0 0 16px rgba(244, 63, 94, 0.45);
}

.record-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: pulse-dot 1.2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.7); }
}

.scene-pills {
  display: flex;
  gap: 0.3rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.2rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.scene-pill {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.scene-pill:hover {
  color: #fff;
}

.scene-pill.active {
  background: rgba(255, 255, 255, 0.14);
  color: var(--green-light);
}

.speed-select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-family: var(--font-body);
  outline: none;
  cursor: pointer;
}

.speed-select option {
  background: var(--bg-surface);
  color: var(--text-main);
}

/* ==========================================================================
   VIEWPORT WRAPPER & 3-ZONE ZERO-OVERLAP VIDEO STAGE
   ========================================================================== */
.viewport-wrapper {
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #020406;
  overflow: hidden;
  transition: top 0.35s ease;
  padding: 12px;
}

body.clean-record-mode .director-hud {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

body.clean-record-mode .viewport-wrapper {
  top: 0;
  padding: 0;
}

/* Video Stage - Strict 3-zone Flex Column */
.video-stage {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 177.78vh; /* 16:9 ratio */
  max-height: 56.25vw;
  aspect-ratio: 16 / 9;
  background: var(--bg-deep);
  box-shadow: 0 0 70px rgba(0, 0, 0, 0.95), 0 0 100px rgba(16, 185, 129, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  container-type: inline-size;
  border-radius: 14px;
  transition: transform 0.08s ease-out;
}

/* 9:16 Vertical Preset for Shorts / Reels */
body.mode-vertical .video-stage {
  aspect-ratio: 9 / 16;
  max-width: 56.25vh;
  max-height: 177.78vw;
}

/* Screen Shake Effect for Shield Slam */
.video-stage.stage-shake {
  animation: stage-shake-impact 0.22s ease-out;
}

@keyframes stage-shake-impact {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-4px, 4px) rotate(-0.3deg); }
  50% { transform: translate(4px, -3px) rotate(0.3deg); }
  75% { transform: translate(-2px, 2px); }
  100% { transform: translate(0, 0); }
}

/* Ambient Canvas & Glow Orbs (Emerald Green Theme) */
#ambient-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.stage-glow-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 50%, black 60%, transparent 95%);
  pointer-events: none;
  z-index: 1;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.38;
  z-index: 0;
}

.orb-emerald {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.6) 0%, transparent 70%);
  top: -100px;
  left: -80px;
}

.orb-mint {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.45) 0%, transparent 70%);
  bottom: -120px;
  right: -80px;
}

.orb-teal {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.4) 0%, transparent 70%);
  top: 35%;
  left: 55%;
}

/* Chromatic Glitch Flash Layer */
.screen-glitch-layer {
  position: absolute;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  opacity: 0;
  background: rgba(16, 185, 129, 0.08);
  mix-blend-mode: overlay;
  transition: opacity 0.15s ease-out;
}

.screen-glitch-layer.glitch-flash {
  opacity: 1;
  animation: glitch-burst 0.22s steps(2);
}

@keyframes glitch-burst {
  0% { transform: translate(-2px, 2px); filter: contrast(180%); }
  50% { transform: translate(3px, -2px); filter: hue-rotate(60deg); }
  100% { transform: translate(0, 0); filter: none; }
}

/* ==========================================================================
   ZONE 1: HEADER (Reserved top zone, zero overlap)
   ========================================================================== */
.stage-top-bar {
  flex-shrink: 0;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
  background: linear-gradient(180deg, rgba(5, 9, 13, 0.88) 0%, transparent 100%);
}

.stage-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(5, 150, 105, 0.3));
  border: 1px solid rgba(16, 185, 129, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.4);
}

.brand-icon-box img {
  width: 22px;
  height: 22px;
}

.brand-text-col {
  display: flex;
  flex-direction: column;
}

.brand-domain {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
}

.brand-domain span {
  color: var(--green-light);
}

.brand-subline {
  font-size: 0.62rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.top-pill-free {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #34d399;
  letter-spacing: 0.04em;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
}

.green-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulse-dot 1.5s infinite ease-in-out;
}

/* ==========================================================================
   ZONE 2: MAIN CONTENT AREA (Flex: 1, Zero Overflow, Centered)
   ========================================================================== */
.stage-content-area {
  flex: 1;
  min-height: 0;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 10;
  padding: 0 24px;
}

.scene-container {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s;
}

.scene-container.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ==========================================================================
   MOTION GRAPHICS: EXIT RIGHT & COME FROM RIGHT JUMP IN MIDDLE
   ========================================================================== */

/* Outgoing Scene: All elements move right and disappear */
.scene-container.exiting-right {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  animation: sceneContainerExit 0.4s ease forwards;
}

@keyframes sceneContainerExit {
  0% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

.scene-container.exiting-right > *,
.scene-container.exiting-right .hero-pill-warn,
.scene-container.exiting-right .hero-pill-info,
.scene-container.exiting-right .kinetic-title,
.scene-container.exiting-right .kinetic-desc,
.scene-container.exiting-right .chaotic-browser-mockup,
.scene-container.exiting-right .intercept-hero-card,
.scene-container.exiting-right .modes-showdown-grid,
.scene-container.exiting-right .pomodoro-schedules-grid,
.scene-container.exiting-right .analytics-radar-grid,
.scene-container.exiting-right .privacy-banner-card,
.scene-container.exiting-right .grand-cta-box,
.scene-container.exiting-right .anim-jump-hero,
.scene-container.exiting-right .anim-pop-1,
.scene-container.exiting-right .anim-pop-2,
.scene-container.exiting-right .anim-pop-3,
.scene-container.exiting-right .anim-pop-4 {
  animation: moveRightAndDisappear 0.38s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
}

@keyframes moveRightAndDisappear {
  0% {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0px);
  }
  100% {
    opacity: 0;
    transform: translateX(clamp(160px, 35cqw, 320px)) scale(0.92);
    filter: blur(8px);
  }
}

/* Incoming Scene: Come from right, then elastic jump & land in middle */
@keyframes comeFromRightAndJumpInMiddle {
  0% {
    opacity: 0;
    transform: translateX(clamp(200px, 40cqw, 380px)) scale(0.7) rotate(3deg);
    filter: blur(8px);
  }
  48% {
    opacity: 1;
    transform: translateX(-24px) scale(1.12, 0.92) rotate(-1.5deg);
    filter: blur(0px);
  }
  68% {
    transform: translateX(12px) scale(0.95, 1.04) rotate(0.8deg);
  }
  84% {
    transform: translateX(-5px) scale(1.02, 0.98) rotate(-0.3deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1) rotate(0deg);
  }
}

@keyframes popBadgeFromRight {
  0% {
    opacity: 0;
    transform: translateX(clamp(120px, 25cqw, 220px)) scale(0.6);
    filter: blur(5px);
  }
  55% {
    opacity: 1;
    transform: translateX(-12px) scale(1.14);
    filter: blur(0px);
  }
  75% {
    transform: translateX(5px) scale(0.96);
  }
  90% {
    transform: translateX(-2px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes popTitleFromRight {
  0% {
    opacity: 0;
    transform: translateX(clamp(160px, 30cqw, 280px)) scale(0.75);
    filter: blur(6px);
  }
  52% {
    opacity: 1;
    transform: translateX(-18px) scale(1.09);
    filter: blur(0px);
  }
  72% {
    transform: translateX(8px) scale(0.97);
  }
  88% {
    transform: translateX(-3px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes popDescFromRight {
  0% {
    opacity: 0;
    transform: translateX(clamp(140px, 28cqw, 240px)) scale(0.85);
    filter: blur(5px);
  }
  55% {
    opacity: 1;
    transform: translateX(-12px) scale(1.04);
    filter: blur(0px);
  }
  75% {
    transform: translateX(5px) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.scene-container.active .anim-pop-1 {
  animation: popBadgeFromRight 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s both;
}

.scene-container.active .anim-pop-2 {
  animation: popTitleFromRight 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.12s both;
}

.scene-container.active .anim-pop-3 {
  animation: popDescFromRight 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) 0.19s both;
}

.scene-container.active .anim-jump-hero {
  animation: comeFromRightAndJumpInMiddle 0.78s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s both;
}

.scene-container.active .anim-pop-4 {
  animation: popDescFromRight 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s both;
}

/* Kinetic Titles & Badges */
.hero-pill-warn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #a7f3d0;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

.hero-pill-info {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #a7f3d0;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

.kinetic-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2cqw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  color: #fff;
  max-width: 820px;
}

.kinetic-title .highlight-red {
  background: linear-gradient(135deg, #10b981, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 25px rgba(16, 185, 129, 0.5);
}

.kinetic-title .highlight-green {
  background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #00f59b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(16, 185, 129, 0.65);
}

.kinetic-desc {
  font-size: clamp(0.78rem, 1.4cqw, 1.05rem);
  color: var(--text-muted);
  max-width: 650px;
  line-height: 1.45;
  margin-bottom: 1rem;
}

/* ==========================================================================
   SCENE 1: THE DISTRACTION TRAP (NO SLIDERS, 100% VISIBLE ON FRONT)
   ========================================================================== */
.chaotic-browser-mockup {
  width: 100%;
  max-width: 740px;
  background: rgba(10, 16, 22, 0.94);
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: 14px;
  overflow: hidden !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 35px rgba(16, 185, 129, 0.25);
}

/* 4-column grid with ZERO horizontal slider/scrollbar */
.browser-tab-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  background: rgba(6, 11, 15, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden !important;
  scrollbar-width: none !important;
}

.browser-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.4rem 0.5rem;
  border-radius: 7px;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.browser-tab.active-trap {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.5);
  color: #a7f3d0;
  font-weight: 700;
  box-shadow: inset 0 0 12px rgba(16, 185, 129, 0.15);
}

.distraction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: 1rem;
}

.distraction-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.75rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.distraction-icon {
  font-size: 1.6rem;
}

.distraction-name {
  font-weight: 800;
  font-size: 0.78rem;
  color: #fff;
}

.distraction-stat {
  font-size: 0.72rem;
  color: var(--green-light);
  font-family: var(--font-mono);
  font-weight: 700;
}

/* ==========================================================================
   SCENE 2: THE INTERVENTION (Shield Block Intercept - Emerald Theme)
   ========================================================================== */
.intercept-hero-card {
  width: 100%;
  max-width: 720px;
  background: linear-gradient(180deg, rgba(16, 28, 28, 0.92) 0%, rgba(8, 14, 18, 0.98) 100%);
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 50px rgba(16, 185, 129, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.giant-shield-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.35), rgba(5, 150, 105, 0.35));
  border: 1px solid rgba(16, 185, 129, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.6);
  margin-bottom: 0.75rem;
}

.giant-shield-icon img {
  width: 40px;
  height: 40px;
}

.block-alert-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #a7f3d0;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  font-family: var(--font-mono);
  margin-bottom: 0.6rem;
}

.intercept-feature-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}

.feature-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.feature-chip.active {
  border-color: var(--green);
  background: rgba(16, 185, 129, 0.18);
  color: #a7f3d0;
}

/* ==========================================================================
   SCENE 3: DUAL PHILOSOPHY (Strict Mode vs Mindful Mode)
   ========================================================================== */
.modes-showdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  width: 100%;
  max-width: 820px;
}

.mode-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.mode-card.strict {
  border-color: rgba(244, 63, 94, 0.4);
}

.mode-card.mindful {
  border-color: rgba(16, 185, 129, 0.45);
}

.mode-tag {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.mode-card.strict {
  border-color: rgba(16, 185, 129, 0.4);
}

.mode-card.strict .mode-tag {
  background: rgba(16, 185, 129, 0.16);
  color: #a7f3d0;
}

.mode-card.mindful .mode-tag {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
}

/* Breathing Visualizer for Mindful Mode */
.breathing-visual-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.4) 0%, transparent 70%);
  border: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 0 20px var(--green-glow);
  margin: 0.6rem 0;
  animation: breathing-pulse 4s infinite ease-in-out;
}

@keyframes breathing-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 14px var(--green-glow); }
  50% { transform: scale(1.3); box-shadow: 0 0 35px var(--green-glow); }
}

/* PIN Lock Mockup for Strict Mode */
.pin-lock-mockup {
  display: flex;
  gap: 0.4rem;
  margin: 0.75rem 0;
}

.pin-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.pin-dot.filled {
  background: var(--green);
  box-shadow: 0 0 10px var(--green-glow);
}

/* ==========================================================================
   SCENE 4: POMODORO & CUSTOM SCHEDULES (Emerald Highlights)
   ========================================================================== */
.pomodoro-schedules-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 1rem;
  width: 100%;
  max-width: 820px;
}

.pomodoro-timer-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.timer-circle-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid rgba(16, 185, 129, 0.25);
  border-top-color: var(--green);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0.5rem 0;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.35);
}

.timer-time {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

.schedule-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.schedule-row {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.schedule-days {
  font-weight: 800;
  font-size: 0.78rem;
  color: #fff;
}

.schedule-time-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}

/* ==========================================================================
   SCENE 5: TIME SAVED & FOCUS ANALYTICS
   ========================================================================== */
.analytics-radar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  width: 100%;
  max-width: 820px;
  margin-bottom: 0.9rem;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.9rem 0.65rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.metric-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
}

.metric-sub {
  font-size: 0.65rem;
  color: var(--green-light);
  margin-top: 0.15rem;
  font-weight: 700;
}

/* Privacy Guarantee Banner */
.privacy-banner-card {
  width: 100%;
  max-width: 780px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  font-weight: 700;
  color: #a7f3d0;
}

/* ==========================================================================
   SCENE 6: GRAND FINALE / CALL TO ACTION (Green CTA)
   ========================================================================== */
.grand-cta-box {
  background: linear-gradient(180deg, rgba(16, 28, 28, 0.94) 0%, rgba(8, 14, 18, 0.98) 100%);
  border: 1px solid rgba(16, 185, 129, 0.5);
  border-radius: 18px;
  padding: 1.5rem 1.25rem;
  width: 100%;
  max-width: 780px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 60px rgba(16, 185, 129, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.big-brand-glow-logo {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.35), rgba(5, 150, 105, 0.35));
  border: 1px solid rgba(16, 185, 129, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.6);
  margin-bottom: 0.75rem;
}

.big-brand-glow-logo img {
  width: 38px;
  height: 38px;
}

.giant-domain {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.2cqw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 0 40px rgba(16, 185, 129, 0.6);
  margin-bottom: 0.35rem;
  line-height: 1.1;
  white-space: nowrap;
}

.giant-domain span {
  color: var(--green-light);
}

.finale-tagline {
  font-size: clamp(0.82rem, 1.6cqw, 1.1rem);
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.45;
  margin-bottom: 1.1rem;
}

.value-bullets-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.value-bullet {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  color: #fff;
}

.value-bullet svg {
  color: var(--green-light);
}

.cta-glow-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
  color: #031c12;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  padding: 0.75rem 1.8rem;
  border-radius: 999px;
  border: none;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.65);
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
}

.cta-glow-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 45px rgba(16, 185, 129, 0.9);
}

/* Chrome Web Store Rating Badge */
.cws-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fde047;
  margin-top: 0.75rem;
}

/* ==========================================================================
   ZONE 3: SUBTITLE / CAPTION ZONE (Dedicated reserved row, ZERO OVERLAP)
   ========================================================================== */
.stage-caption-zone {
  flex-shrink: 0;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 24px 12px 24px;
  z-index: 20;
  pointer-events: none;
}

.caption-pill {
  background: rgba(6, 9, 16, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.45rem 1.25rem;
  border-radius: 999px;
  font-size: clamp(0.78rem, 1.4cqw, 0.95rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.85);
  max-width: 90%;
  text-align: center;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.caption-pill .caption-highlight {
  color: #34d399;
  text-shadow: 0 0 14px rgba(16, 185, 129, 0.6);
}

/* Scrubber Timeline track */
.stage-timeline-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  cursor: pointer;
}

.stage-timeline-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #34d399, #00f59b);
  width: 0%;
  box-shadow: 0 0 8px #10b981;
  transition: width 0.1s linear;
}

/* ==========================================================================
   3-2-1 COUNTDOWN OVERLAY
   ========================================================================== */
.countdown-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 9, 0.94);
  backdrop-filter: blur(25px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.countdown-overlay.active {
  opacity: 1;
  visibility: visible;
}

.countdown-number {
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 60px rgba(16, 185, 129, 0.9);
  animation: countdown-zoom 1s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes countdown-zoom {
  0% { transform: scale(1.4); opacity: 0; }
  30% { transform: scale(1); opacity: 1; }
  80% { transform: scale(0.95); opacity: 1; }
  100% { transform: scale(0.85); opacity: 0; }
}

.countdown-hint {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   STRICT 9:16 VERTICAL MODE PRESET (SHORTS / REELS / TIKTOK)
   ========================================================================== */
body.mode-vertical .stage-top-bar {
  padding: 10px 14px;
  flex-wrap: wrap;
  gap: 0.5rem;
}

body.mode-vertical .brand-domain {
  font-size: 0.88rem;
}

body.mode-vertical .brand-subline {
  display: none;
}

body.mode-vertical .top-pill-free {
  font-size: 0.64rem;
  padding: 0.25rem 0.55rem;
}

body.mode-vertical .kinetic-title {
  font-size: clamp(1.25rem, 5.5cqw, 2rem);
  line-height: 1.2;
}

body.mode-vertical .browser-tab-bar {
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem;
}

body.mode-vertical .modes-showdown-grid {
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

body.mode-vertical .pomodoro-schedules-grid {
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

body.mode-vertical .analytics-radar-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

body.mode-vertical .giant-domain {
  font-size: clamp(1.6rem, 8cqw, 2.4rem);
  white-space: normal;
}

body.mode-vertical .value-bullets-row {
  flex-direction: column;
  gap: 0.4rem;
}

body.mode-vertical .caption-pill {
  font-size: 0.75rem;
  padding: 0.35rem 0.9rem;
}
