/* ============================================================
   MSB CIO Immersive Scroll-Story — Cinematic Dark Theme
   ============================================================ */

/* --- CSS Custom Properties --------------------------------- */
:root {
  --bg: #08080d;
  --bg2: #0f0f18;
  --bg3: #161625;
  --primary: #F96618;
  --accent: #FFAB40;
  --success: #10B981;
  --danger: #EF4444;
  --purple: #8B5CF6;
  --cyan: #00AEC7;
  --text: #F1F5F9;
  --muted: #94A3B8;
  --dim: #64748B;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.06);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, iframe {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

/* --- Progress Bar ------------------------------------------ */
#immersive-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--cyan), var(--accent));
  z-index: 9999;
  transition: width 0.15s ease-out;
  box-shadow: 0 0 12px rgba(249, 102, 24, 0.4);
}

/* --- Section Indicator ------------------------------------- */
#section-indicator {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9998;
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  opacity: 0.5;
  transition: opacity var(--transition);
  pointer-events: none;
}

#section-indicator:hover {
  opacity: 1;
}

.indicator-current {
  font-size: 2rem;
  color: var(--primary);
  line-height: 1;
}

.indicator-sep {
  font-size: 1rem;
  color: var(--dim);
  margin: 0 2px;
}

.indicator-total {
  font-size: 1rem;
  color: var(--dim);
}

/* --- Nav Hint ---------------------------------------------- */
#nav-hint {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--dim);
  opacity: 0.7;
  animation: nav-hint-fade 4s ease-in-out infinite;
  pointer-events: none;
}

.nav-hint-icon {
  font-size: 18px;
  animation: nav-hint-bounce 2s ease-in-out infinite;
}

@keyframes nav-hint-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@keyframes nav-hint-fade {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 0.3; }
}

/* --- Sections ---------------------------------------------- */
.section {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

.section-inner {
  max-width: 1200px;
  width: 100%;
  z-index: 2;
  position: relative;
}

.section-full {
  max-width: none;
  padding: 0;
}

/* --- Video Background -------------------------------------- */
.video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 8, 13, 0.6) 0%,
    rgba(8, 8, 13, 0.3) 40%,
    rgba(8, 8, 13, 0.5) 70%,
    rgba(8, 8, 13, 0.85) 100%
  );
  z-index: 1;
}

.video-bg iframe,
.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
}

/* --- Video Card (Embedded) --------------------------------- */
.video-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--bg2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.video-card iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: absolute;
  inset: 0;
}

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

.video-caption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
  line-height: 1.5;
}

/* --- Cinematic Typography ---------------------------------- */
.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  text-shadow: 0 4px 40px rgba(249, 102, 24, 0.15);
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.01em;
  line-height: 1.5;
  margin-top: 24px;
}

.section-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 4px;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 16px;
}

.section-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  background: linear-gradient(135deg, var(--text) 0%, var(--muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

.section-heading .em {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-huge {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-top: 8px;
}

.body-lg {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.8;
  color: var(--muted);
}

.body-lg strong {
  color: var(--text);
  font-weight: 600;
}

/* --- Glass Cards ------------------------------------------- */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.glass-card-hover {
  transition: transform var(--transition), box-shadow var(--transition);
}

.glass-card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(249, 102, 24, 0.1), 0 0 0 1px rgba(249, 102, 24, 0.08);
}

/* --- Metric Card ------------------------------------------- */
.metric-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 32px 24px;
}

.metric-card .metric-icon {
  font-size: 32px;
  margin-bottom: 8px;
  opacity: 0.8;
}

.metric-card .metric-number {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.metric-card .metric-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  max-width: 200px;
}

/* --- Fact Card --------------------------------------------- */
.fact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
}

.fact-card .fact-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(249, 102, 24, 0.1);
  border-radius: var(--radius-sm);
}

.fact-card .fact-content {
  flex: 1;
}

.fact-card .fact-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--text);
}

.fact-card .fact-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* --- Evidence Card ----------------------------------------- */
.evidence-card {
  border-left: 3px solid var(--primary);
  padding: 24px 24px 24px 28px;
  background: var(--glass);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.evidence-card.evidence-success {
  border-left-color: var(--success);
}

.evidence-card.evidence-purple {
  border-left-color: var(--purple);
}

.evidence-card.evidence-cyan {
  border-left-color: var(--cyan);
}

.evidence-card .evidence-source {
  font-size: 12px;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 8px;
}

.evidence-card .evidence-text {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
}

.evidence-card .evidence-metric {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

/* --- Scroll Animations ------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.30s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.60s; }
.delay-5 { transition-delay: 0.75s; }
.delay-6 { transition-delay: 0.90s; }
.delay-7 { transition-delay: 1.05s; }
.delay-8 { transition-delay: 1.20s; }

/* Parallax placeholder — controlled by JS */
.parallax-slow {
  will-change: transform;
}

/* --- Counter Row ------------------------------------------- */
.counter-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.counter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 160px;
}

.counter-value {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.counter-value.color-cyan {
  background: linear-gradient(135deg, var(--cyan), #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
}

.counter-value.color-success {
  background: linear-gradient(135deg, var(--success), #34d399);
  -webkit-background-clip: text;
  background-clip: text;
}

.counter-value.color-purple {
  background: linear-gradient(135deg, var(--purple), #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
}

.counter-unit {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 700;
  color: var(--muted);
  margin-left: 4px;
}

.counter-label {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
  max-width: 180px;
  line-height: 1.5;
}

/* --- Split Layout ------------------------------------------ */
.split-screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
}

.split-screen .left-pane,
.split-screen .right-pane {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px;
}

.split-screen .left-pane {
  background: var(--bg);
}

.split-screen .right-pane {
  background: var(--bg2);
}

/* --- Evolution Flow (Timeline horizontal) ------------------ */
.evolution-flow {
  display: flex;
  align-items: stretch;
  gap: 16px;
  overflow-x: auto;
  padding: 16px 0;
}

.evo-stage {
  flex: 1;
  min-width: 280px;
  position: relative;
  padding: 32px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.evo-stage::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 12px solid var(--primary);
  opacity: 0.5;
}

.evo-stage:last-child::after {
  display: none;
}

.evo-stage-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 3px;
}

.evo-stage-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.evo-stage-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.evo-stage-visual {
  margin-top: auto;
  font-size: 48px;
  text-align: center;
  opacity: 0.6;
}

/* --- CTA Section ------------------------------------------- */
.cta-section {
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg2) 40%, var(--bg3) 100%);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(249, 102, 24, 0.06) 0%, transparent 60%);
  animation: cta-glow 8s ease-in-out infinite alternate;
}

@keyframes cta-glow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(5%, 3%) scale(1.1); }
}

.cta-box {
  border: 2px solid rgba(249, 102, 24, 0.3);
  border-radius: var(--radius);
  padding: 64px;
  max-width: 800px;
  text-align: center;
  position: relative;
  background: rgba(8, 8, 13, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(249, 102, 24, 0.2), transparent, rgba(0, 174, 199, 0.2));
  z-index: -1;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 2px;
}

/* --- Pulse Badge ------------------------------------------- */
.pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(249, 102, 24, 0.12);
  border: 1px solid rgba(249, 102, 24, 0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

.pulse-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(249, 102, 24, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(249, 102, 24, 0); }
}

/* --- Gradient Background ----------------------------------- */
.gradient-bg {
  background: linear-gradient(
    135deg,
    var(--bg) 0%,
    var(--bg2) 30%,
    rgba(139, 92, 246, 0.05) 60%,
    var(--bg3) 100%
  );
  background-size: 200% 200%;
  animation: gradient-shift 12s ease-in-out infinite;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Overlays & Effects ------------------------------------ */
.overlay-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.overlay-gradient-top {
  background: linear-gradient(180deg, var(--bg) 0%, transparent 40%);
}

.overlay-gradient-bottom {
  background: linear-gradient(0deg, var(--bg) 0%, transparent 40%);
}

.overlay-gradient-radial {
  background: radial-gradient(ellipse at center, transparent 30%, var(--bg) 80%);
}

/* Film grain */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* Vignette */
.vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(8, 8, 13, 0.6) 100%);
}

/* --- Grid Layouts ------------------------------------------ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

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

/* --- Utility Classes --------------------------------------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-purple { color: var(--purple); }
.text-cyan { color: var(--cyan); }
.text-muted { color: var(--muted); }
.text-dim { color: var(--dim); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mt-6 { margin-top: 64px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.gap-sm { gap: 16px; }
.gap-md { gap: 24px; }
.gap-lg { gap: 40px; }

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.w-full { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-800 { max-width: 800px; }
.max-w-900 { max-width: 900px; }
.max-w-1000 { max-width: 1000px; }

/* --- Dividers & Decorative --------------------------------- */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
  margin: 48px 0;
}

.divider-vertical {
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--glass-border), transparent);
  align-self: stretch;
}

.glow-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--cyan), transparent);
  margin: 32px auto;
  max-width: 300px;
  border-radius: 2px;
}

/* --- Tags / Badges ----------------------------------------- */
.tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
  letter-spacing: 0.5px;
}

.tag-primary {
  background: rgba(249, 102, 24, 0.12);
  color: var(--primary);
  border: 1px solid rgba(249, 102, 24, 0.2);
}

.tag-cyan {
  background: rgba(0, 174, 199, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(0, 174, 199, 0.2);
}

.tag-success {
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.tag-purple {
  background: rgba(139, 92, 246, 0.12);
  color: var(--purple);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

/* --- Buttons ----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #d4540f);
  color: #fff;
  box-shadow: 0 4px 24px rgba(249, 102, 24, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(249, 102, 24, 0.5);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--glass-border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(249, 102, 24, 0.05);
}

/* --- Score Bar (CSS data visualization) -------------------- */
.score-bar-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.score-bar-label {
  font-size: 14px;
  color: var(--muted);
  min-width: 140px;
  text-align: right;
}

.score-bar-track {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  width: 0%;
  transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.score-bar-fill.fill-cyan {
  background: linear-gradient(90deg, var(--cyan), #38bdf8);
}

.score-bar-fill.fill-success {
  background: linear-gradient(90deg, var(--success), #34d399);
}

.score-bar-fill.fill-purple {
  background: linear-gradient(90deg, var(--purple), #a78bfa);
}

.score-bar-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  min-width: 48px;
}

/* --- Responsive -------------------------------------------- */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-screen {
    grid-template-columns: 1fr;
  }

  .split-screen .left-pane,
  .split-screen .right-pane {
    padding: 60px 40px;
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .evolution-flow {
    flex-direction: column;
  }

  .evo-stage::after {
    right: 50%;
    top: auto;
    bottom: -16px;
    transform: translateX(50%) rotate(90deg);
  }

  .counter-row {
    gap: 32px;
  }

  .cta-box {
    padding: 48px 32px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 20px;
  }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .section-heading {
    font-size: clamp(1.6rem, 5vw, 2.5rem);
  }

  .stat-huge {
    font-size: clamp(3rem, 10vw, 5rem);
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .counter-row {
    flex-direction: column;
    gap: 24px;
  }

  .counter-item {
    min-width: auto;
  }

  .glass-card {
    padding: 24px;
  }

  .cta-box {
    padding: 32px 20px;
  }

  #section-indicator {
    bottom: 20px;
    right: 20px;
  }

  .indicator-current {
    font-size: 1.5rem;
  }

  #nav-hint {
    bottom: 20px;
    font-size: 11px;
  }

  .split-screen .left-pane,
  .split-screen .right-pane {
    padding: 40px 20px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 13px;
  }

  .evolution-flow {
    gap: 12px;
  }

  .evo-stage {
    min-width: auto;
    padding: 24px;
  }

  .score-bar-label {
    min-width: 100px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 48px 16px;
  }

  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }

  .hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.3rem);
  }

  .counter-value {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .glass-card {
    padding: 20px;
    border-radius: var(--radius-sm);
  }
}

/* --- Print ------------------------------------------------- */
@media print {
  body {
    background: #fff;
    color: #1a1a2e;
  }

  .grain,
  .vignette,
  #immersive-progress,
  #section-indicator,
  #nav-hint,
  .video-bg,
  .overlay-gradient {
    display: none !important;
  }

  .section {
    min-height: auto;
    page-break-inside: avoid;
    page-break-after: always;
    padding: 40px 20px;
    border-bottom: 1px solid #ddd;
  }

  .glass-card {
    background: #f8f9fa;
    backdrop-filter: none;
    border: 1px solid #ddd;
    box-shadow: none;
  }

  .hero-title,
  .section-heading,
  .stat-huge,
  .counter-value,
  .metric-card .metric-number {
    -webkit-text-fill-color: initial;
    background: none;
    color: #1a1a2e;
  }

  .section-eyebrow,
  .evidence-card .evidence-metric,
  .pulse-badge {
    color: var(--primary);
    -webkit-text-fill-color: initial;
    background: none;
  }

  .hero-title .highlight {
    -webkit-text-fill-color: initial;
    background: none;
    color: var(--primary);
  }

  .fade-in,
  .fade-in-left,
  .fade-in-right,
  .scale-in {
    opacity: 1 !important;
    transform: none !important;
  }

  .btn {
    border: 1px solid #333;
    box-shadow: none;
    background: #fff;
    color: #333;
  }
}
