/* ==========================================================================
   PROJET CONOCO - PRÉSENTATION EXÉCUTIVE HTML5
   Design System Exécutif — LIGHT LUXURY & HIGH-TECH ARCHITECTURE v5.0
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

/* ==========================================================================
   CSS CUSTOM PROPERTIES - THEME TOKENS
   ========================================================================== */

:root {
  /* LIGHT THEME (DEFAULT & PRIMARY) */
  --bg-dark-primary: #f4f7fb;
  --bg-dark-secondary: #e9eef5;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-card-solid: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.75);
  --bg-glass-heavy: rgba(255, 255, 255, 0.96);
  --bg-input: #ffffff;

  /* Text Colors - High Contrast Executive Slate */
  --text-pure: #090e17;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-highlight: #0284c7;
  --text-gold: #b45309;

  /* Vivid Accents */
  --accent-cyan: #0284c7;
  --accent-cyan-glow: rgba(2, 132, 199, 0.28);
  --accent-cyan-light: #e0f2fe;
  --accent-blue: #2563eb;
  --accent-gold: #d97706;
  --accent-gold-glow: rgba(217, 119, 6, 0.28);
  --accent-gold-light: #fef3c7;
  --accent-amber: #f59e0b;
  --accent-emerald: #059669;
  --accent-emerald-glow: rgba(5, 150, 105, 0.25);
  --accent-emerald-light: #d1fae5;
  --accent-rose: #e11d48;
  --accent-rose-light: #ffe4e6;
  --accent-purple: #7c3aed;
  --accent-purple-light: #ede9fe;

  /* Gradients */
  --grad-cyan-blue: linear-gradient(135deg, #0284c7 0%, #1d4ed8 100%);
  --grad-gold-amber: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --grad-emerald-teal: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --grad-dark-card: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 245, 249, 0.9) 100%);
  --grad-hero-title: linear-gradient(135deg, #0f172a 10%, #1e3a8a 50%, #0369a1 90%);
  --grad-title-accent: linear-gradient(90deg, var(--accent-cyan) 0%, var(--accent-blue) 45%, var(--accent-gold) 100%);
  --grad-slide-surface: linear-gradient(160deg, #f8fafc 0%, #eef2f6 50%, #e2e8f0 100%);
  --grad-topbar: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.82) 100%);
  --grad-bottomdock: linear-gradient(0deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.82) 100%);

  /* Borders & Shadows */
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-glass: rgba(15, 23, 42, 0.12);
  --border-glow-cyan: rgba(2, 132, 199, 0.35);
  --border-glow-gold: rgba(217, 119, 6, 0.35);
  --shadow-card: 0 10px 30px -4px rgba(15, 23, 42, 0.07), 0 4px 12px -2px rgba(15, 23, 42, 0.03), inset 0 1px 0 rgba(255, 255, 255, 1);
  --shadow-card-elevated: 0 20px 45px -8px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.05), 0 0 25px rgba(2, 132, 199, 0.1), inset 0 1px 0 rgba(255, 255, 255, 1);
  --shadow-glow-cyan: 0 0 25px rgba(2, 132, 199, 0.22);
  --shadow-glow-gold: 0 0 25px rgba(217, 119, 6, 0.22);
  --shadow-popover: 0 25px 60px -10px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(15, 23, 42, 0.08);

  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Animation Timings */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* DARK THEME OVERRIDE (OPTIONAL TOGGLE) */
body.theme-dark {
  --bg-dark-primary: #050810;
  --bg-dark-secondary: #0a1222;
  --bg-card: rgba(12, 20, 40, 0.82);
  --bg-card-hover: rgba(22, 36, 68, 0.92);
  --bg-card-solid: #0e1a32;
  --bg-glass: rgba(14, 24, 48, 0.65);
  --bg-glass-heavy: rgba(8, 14, 28, 0.94);
  --bg-input: rgba(0, 0, 0, 0.4);

  --text-pure: #ffffff;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-highlight: #38bdf8;
  --text-gold: #fcd34d;

  --accent-cyan: #00e5ff;
  --accent-cyan-glow: rgba(0, 229, 255, 0.4);
  --accent-cyan-light: rgba(0, 229, 255, 0.15);
  --accent-gold: #f59e0b;
  --accent-gold-glow: rgba(245, 158, 11, 0.45);
  --accent-gold-light: rgba(245, 158, 11, 0.15);
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.35);
  --accent-emerald-light: rgba(16, 185, 129, 0.15);
  --accent-rose: #f43f5e;
  --accent-rose-light: rgba(244, 63, 94, 0.15);
  --accent-purple: #8b5cf6;
  --accent-purple-light: rgba(139, 92, 246, 0.15);

  --grad-hero-title: linear-gradient(135deg, #ffffff 20%, #e2e8f0 50%, #cbd5e1 80%);
  --grad-slide-surface: linear-gradient(160deg, rgba(10, 18, 36, 1) 0%, rgba(6, 10, 20, 1) 100%);
  --grad-topbar: linear-gradient(180deg, rgba(10, 18, 36, 0.88) 0%, rgba(10, 18, 36, 0.65) 100%);
  --grad-bottomdock: linear-gradient(0deg, rgba(10, 18, 36, 0.88) 0%, rgba(10, 18, 36, 0.65) 100%);

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-glass: rgba(255, 255, 255, 0.12);
  --shadow-card: 0 8px 32px -4px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --shadow-card-elevated: 0 20px 40px -8px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 30px rgba(0, 229, 255, 0.12);
  --shadow-popover: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   BASE RESET & GLOBAL SETUP
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-dark-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  user-select: none;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* ==========================================================================
   PREMIUM LOADING SCREEN
   ========================================================================== */

.loader-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-slide-surface);
  background-color: var(--bg-dark-primary);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
}

.loader-screen.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.loader-logo {
  position: relative;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.loader-logo-letter {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.4rem;
  color: var(--accent-gold);
  animation: loaderLetterPulse 1.6s ease-in-out infinite;
  text-shadow: 0 0 25px var(--accent-gold-glow);
}

@keyframes loaderLetterPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: 0.75; }
}

.loader-ring {
  position: absolute;
  inset: 0;
  width: 96px;
  height: 96px;
  transform: rotate(-90deg);
}

.loader-ring-track {
  fill: none;
  stroke: var(--border-glass);
  stroke-width: 3;
}

.loader-ring-fill {
  fill: none;
  stroke: url(#none);
  stroke: var(--accent-cyan);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 276.5;
  stroke-dashoffset: 276.5;
  filter: drop-shadow(0 0 6px var(--accent-cyan-glow));
  animation: loaderRingSpin 1.4s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes loaderRingSpin {
  0% { stroke-dashoffset: 276.5; transform-origin: center; }
  50% { stroke-dashoffset: 60; }
  100% { stroke-dashoffset: 276.5; }
}

.loader-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--text-pure);
  animation: slideUpFade 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.loader-title span {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loader-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 1.6rem;
  animation: slideUpFade 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.loader-bar-track {
  width: 260px;
  height: 4px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
  animation: slideUpFade 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
}

.loader-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-gold));
  box-shadow: 0 0 12px var(--accent-cyan-glow);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   CURSOR SPOTLIGHT & FLOATING MESH BLOBS
   ========================================================================== */

.cursor-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 480px;
  height: 480px;
  margin-left: -240px;
  margin-top: -240px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-cyan-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: transform;
  mix-blend-mode: screen;
}

.cursor-spotlight.visible {
  opacity: 0.55;
}

body.theme-dark .cursor-spotlight {
  mix-blend-mode: plus-lighter;
}

.mesh-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.18;
  will-change: transform;
}

.blob-a {
  width: 420px;
  height: 420px;
  top: 20%;
  left: 60%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.5) 0%, transparent 70%);
  animation: blobDrift 22s ease-in-out infinite alternate;
}

.blob-b {
  width: 380px;
  height: 380px;
  top: 55%;
  left: 15%;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.4) 0%, transparent 70%);
  animation: blobDrift 26s ease-in-out infinite alternate-reverse;
}

@keyframes blobDrift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -40px) scale(1.15); }
  100% { transform: translate(-40px, 30px) scale(0.95); }
}

/* Background Dynamic Canvas & Ambient Glows */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
  transition: opacity 0.4s ease;
}

.ambient-glow {
  position: fixed;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.28;
  animation: ambientPulse 10s ease-in-out infinite alternate;
  transition: all 0.5s ease;
}

@keyframes ambientPulse {
  0% { opacity: 0.20; transform: scale(1) translate(var(--mx, 0px), var(--my, 0px)); }
  50% { opacity: 0.35; transform: scale(1.12) translate(calc(20px + var(--mx, 0px)), calc(15px + var(--my, 0px))); }
  100% { opacity: 0.25; transform: scale(1.05) translate(calc(-15px + var(--mx, 0px)), calc(-10px + var(--my, 0px))); }
}

.glow-top-left {
  top: -200px;
  left: -150px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.75) 0%, rgba(56, 189, 248, 0.35) 45%, transparent 70%);
  animation-duration: 12s;
}

.glow-bottom-right {
  bottom: -250px;
  right: -150px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.65) 0%, rgba(245, 158, 11, 0.3) 45%, transparent 70%);
  animation-duration: 14s;
  animation-delay: -5s;
}

/* Master App Container */
.app-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  z-index: 2;
  overflow: hidden;
}

/* ==========================================================================
   TOP NAVIGATION BAR
   ========================================================================== */

.top-nav {
  height: 66px;
  min-height: 66px;
  padding: 0 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--grad-topbar);
  backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 4px 25px -2px rgba(15, 23, 42, 0.05);
  z-index: 50;
  transition: all 0.35s ease;
  position: relative;
}

.top-nav::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-cyan) 20%, var(--accent-gold) 50%, var(--accent-cyan) 80%, transparent 100%);
  opacity: 0.5;
  background-size: 200% 100%;
  animation: topNavScan 8s linear infinite;
}

@keyframes topNavScan {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 12px;
  transition: transform var(--transition-fast);
}

.brand-badge:hover {
  transform: translateY(-1px);
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--grad-gold-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  color: #ffffff;
  box-shadow: 0 4px 15px var(--accent-gold-glow), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--text-pure);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-tag {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--accent-cyan-light);
  color: var(--accent-cyan);
  border: 1px solid rgba(2, 132, 199, 0.25);
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}

.brand-sub {
  font-size: 0.76rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.nav-chapter-indicator {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 7px 18px;
  border-radius: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition: all var(--transition-fast);
}

.nav-chapter-indicator:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-cyan);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px var(--accent-cyan-glow);
}

.chapter-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.icon-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--accent-cyan-glow);
}

.icon-btn:active {
  transform: translateY(0);
}

.icon-btn.active {
  background: var(--accent-cyan-light);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 14px var(--accent-cyan-glow);
}

.icon-btn .tooltip {
  position: absolute;
  bottom: -34px;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--text-pure);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-fast);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  z-index: 100;
}

.icon-btn:hover .tooltip {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* ==========================================================================
   PRESENTATION VIEWPORT & SLIDE STAGE
   ========================================================================== */

.presentation-viewport {
  flex: 1;
  position: relative;
  width: 100%;
  height: calc(100vh - 134px);
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  padding: 0;
  perspective: 2200px;
}

.slide-stage {
  position: relative;
  width: 100%;
  height: 100%;
  background: transparent;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
}

/* Slide Base Styling */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 1.4rem 3.8rem;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(6%) translateZ(-140px) rotateY(-10deg) scale(0.94);
  transform-origin: left center;
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.65s;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: var(--bg-dark-primary);
  background-image:
    radial-gradient(circle at 8% 12%, rgba(2, 132, 199, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 92% 88%, rgba(217, 119, 6, 0.035) 0%, transparent 40%),
    radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 28px 28px;
  z-index: 1;
  backface-visibility: hidden;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0) translateZ(0) rotateY(0deg) scale(1);
  z-index: 10;
}

.slide.prev {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-6%) translateZ(-140px) rotateY(10deg) scale(0.94);
  transform-origin: right center;
  z-index: 1;
}

/* Slide Header */
.slide-header {
  margin-bottom: 0.95rem;
  position: relative;
  flex-shrink: 0;
}

.slide-category {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(0.7rem, 0.8vw, 0.8rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  margin-bottom: 0.25rem;
}

.slide-category::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: categoryPulse 2s ease-in-out infinite;
}

@keyframes categoryPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--accent-cyan); }
  50% { opacity: 0.5; box-shadow: 0 0 4px var(--accent-cyan); }
}

.slide-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.85vw, 2.05rem);
  font-weight: 900;
  background: var(--grad-hero-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-transform: uppercase;
}

.slide-title-bar {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan) 0%, var(--accent-blue) 25%, var(--accent-gold) 50%, transparent 100%);
  margin-top: 0.45rem;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.slide-title-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
  animation: titleBarShimmer 4s ease-in-out infinite;
}

@keyframes titleBarShimmer {
  0% { left: -100%; }
  50% { left: 200%; }
  100% { left: 200%; }
}

.slide-subtitle {
  font-size: clamp(0.82rem, 0.92vw, 0.95rem);
  color: var(--text-secondary);
  margin-top: 0.25rem;
  font-weight: 500;
  letter-spacing: 0.005em;
}

/* Slide Body Layouts */
.slide-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  justify-content: center;
}

.grid-2-cols {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 1.75rem;
  align-items: center;
  height: 100%;
}

.grid-2-cols.equal {
  grid-template-columns: 1fr 1fr;
}

.grid-3-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.45rem;
  align-items: stretch;
  height: 100%;
}

.grid-4-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  height: 100%;
}

/* ==========================================================================
   GLASSMORPHISM CARDS & CONTAINERS
   ========================================================================== */

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.9) 50%, transparent 100%);
  pointer-events: none;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(2, 132, 199, 0.3);
  transform: translateY(-5px) scale(1.006);
  box-shadow: var(--shadow-card-elevated);
}

.glass-card.highlight-cyan {
  border-left: 5px solid var(--accent-cyan);
}

.glass-card.highlight-cyan::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--accent-cyan);
  box-shadow: 0 0 15px var(--accent-cyan-glow);
  pointer-events: none;
}

.glass-card.highlight-gold {
  border-left: 5px solid var(--accent-gold);
}

.glass-card.highlight-gold::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--accent-gold);
  box-shadow: 0 0 15px var(--accent-gold-glow);
  pointer-events: none;
}

.glass-card.highlight-emerald {
  border-left: 5px solid var(--accent-emerald);
}

.glass-card.highlight-emerald::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--accent-emerald);
  box-shadow: 0 0 15px var(--accent-emerald-glow);
  pointer-events: none;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.95rem;
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--accent-cyan-light);
  border: 1px solid rgba(2, 132, 199, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--accent-cyan);
  flex-shrink: 0;
  transition: transform var(--transition-normal);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12);
}

.glass-card:hover .card-icon {
  transform: scale(1.1) rotate(2deg);
}

.card-icon.gold {
  color: var(--accent-gold);
  background: var(--accent-gold-light);
  border-color: rgba(217, 119, 6, 0.25);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.15);
}

.card-icon.cyan {
  color: var(--accent-cyan);
  background: var(--accent-cyan-light);
  border-color: rgba(2, 132, 199, 0.25);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}

.card-icon.emerald {
  color: var(--accent-emerald);
  background: var(--accent-emerald-light);
  border-color: rgba(5, 150, 105, 0.25);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.15);
}

.card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.22rem;
  color: var(--text-pure);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.card-desc {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 0.95rem;
}

/* Feature Lists */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.93rem;
  color: var(--text-primary);
  line-height: 1.55;
}

.feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-strong {
  font-weight: 800;
  color: var(--text-gold);
}

.feature-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--accent-cyan-light);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.86em;
  margin: 0 4px;
  border: 1px solid rgba(2, 132, 199, 0.25);
}

.feature-badge.gold {
  background: var(--accent-gold-light);
  color: var(--accent-gold);
  border-color: rgba(217, 119, 6, 0.3);
}

/* Stat Box Component */
.stat-box {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.45rem;
  border-radius: 18px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.35s ease;
}

.stat-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-elevated);
}

.stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--accent-cyan);
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  position: relative;
  letter-spacing: -0.03em;
}

.stat-value.gold {
  color: var(--accent-gold);
}

.stat-value.emerald {
  color: var(--accent-emerald);
}

.stat-unit {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.stat-label {
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-top: 0.45rem;
}

/* ==========================================================================
   MEDIA SHOWCASE & CARDS
   ========================================================================== */

.media-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.media-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-card-elevated), 0 0 25px var(--accent-cyan-glow);
}

.media-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  filter: brightness(0.98) contrast(1.02);
}

.media-card:hover .media-card-img {
  transform: scale(1.06);
  filter: brightness(1.02) contrast(1.05);
}

.media-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.35rem 1.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(9, 14, 23, 0.7) 35%, rgba(9, 14, 23, 0.96) 100%);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: padding 0.3s ease;
}

.media-card:hover .media-card-overlay {
  padding-bottom: 1.65rem;
}

.media-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(0, 229, 255, 0.2);
  color: #00e5ff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid rgba(0, 229, 255, 0.4);
  margin-bottom: 0.3rem;
  backdrop-filter: blur(8px);
}

.media-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  color: #ffffff;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

.media-card-desc {
  font-size: 0.82rem;
  color: #cbd5e1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Stakeholders Logos Bar */
.stakeholders-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1.1rem;
  padding: 0.75rem 1.4rem;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border-radius: 18px;
  border: 1px solid var(--border-glass);
  margin-top: 0.85rem;
  margin-bottom: 1.25rem;
  width: 100%;
  box-shadow: var(--shadow-card);
}

.stakeholder-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 1.1rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all var(--transition-fast);
}

.stakeholder-item:hover {
  transform: translateY(-2px);
  border-color: rgba(2, 132, 199, 0.3);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.1);
}

.stakeholder-logo {
  height: 34px;
  max-width: 90px;
  object-fit: contain;
  border-radius: 6px;
}

.stakeholder-info {
  display: flex;
  flex-direction: column;
}

.stakeholder-role {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  text-transform: uppercase;
  color: var(--accent-cyan);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.stakeholder-name {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-pure);
}

/* ==========================================================================
   SLIDE 01: COVER SLIDE
   ========================================================================== */

.slide-cover {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.25rem 2.5rem;
  background: 
    radial-gradient(circle at 50% 35%, rgba(2, 132, 199, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(217, 119, 6, 0.06) 0%, transparent 50%),
    var(--grad-slide-surface);
}

.cover-content {
  max-width: 1400px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cover-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 6px 20px;
  border-radius: 50px;
  background: var(--accent-cyan-light);
  border: 1px solid rgba(2, 132, 199, 0.3);
  color: var(--accent-cyan);
  font-size: clamp(0.7rem, 0.82vw, 0.8rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.15);
  backdrop-filter: blur(12px);
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(2, 132, 199, 0.15); }
  50% { box-shadow: 0 6px 25px rgba(2, 132, 199, 0.28); }
}

.cover-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 0.45rem;
  color: var(--text-pure);
}

.cover-title span {
  background: linear-gradient(110deg, #f59e0b 0%, #d97706 30%, #b45309 50%, #d97706 70%, #f59e0b 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 15px rgba(217, 119, 6, 0.3));
  animation: coverTitleShimmer 6s ease-in-out infinite;
}

@keyframes coverTitleShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.cover-subtitle {
  font-size: clamp(0.96rem, 1.25vw, 1.22rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.cover-context {
  font-size: clamp(0.82rem, 0.95vw, 0.95rem);
  color: var(--text-secondary);
  margin-bottom: 1rem;
  max-width: 820px;
  line-height: 1.5;
  font-weight: 500;
}

.cover-kpi-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  width: 100%;
  margin-bottom: 1.15rem;
}

.cover-kpi-pill {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 1.45rem;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-size: 0.95rem;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast);
}

.cover-kpi-pill:hover {
  transform: translateY(-2px);
  border-color: var(--accent-cyan);
}

.cover-kpi-pill strong {
  color: var(--accent-cyan);
  font-family: var(--font-display);
  font-weight: 800;
}

.cover-kpi-pill .pill-icon {
  font-size: 1.2rem;
}

.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 12px 28px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 60%, #b45309 100%);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(217, 119, 6, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.btn-primary-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.btn-primary-glow:hover::before {
  left: 100%;
}

.btn-primary-glow:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 40px rgba(217, 119, 6, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   GRAND SECTION DIVIDER SLIDES
   ========================================================================== */

.slide-section-divider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  padding: 2.2rem 5rem;
  background-color: var(--bg-dark-primary);
  background-image: 
    radial-gradient(ellipse 70% 50% at 30% 50%, rgba(2, 132, 199, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 75% 60%, rgba(217, 119, 6, 0.06) 0%, transparent 70%),
    radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 28px 28px;
  overflow: hidden;
}

.slide-section-divider::after {
  content: attr(data-section-num);
  position: absolute;
  right: 5%;
  bottom: -30px;
  font-family: var(--font-display);
  font-size: 24vw;
  font-weight: 900;
  line-height: 0.85;
  color: rgba(2, 132, 199, 0.04);
  pointer-events: none;
  z-index: 1;
  user-select: none;
  letter-spacing: -0.05em;
}

.divider-portal-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.8rem;
  align-items: center;
  width: 100%;
  max-width: 1600px;
  height: 100%;
  position: relative;
  z-index: 2;
}

.divider-portal-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.divider-num-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 7px 20px;
  border-radius: 50px;
  background: var(--accent-cyan-light);
  border: 1px solid rgba(2, 132, 199, 0.3);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.35rem;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.12);
}

.divider-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 900;
  background: var(--grad-hero-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.1rem;
}

.divider-line {
  width: 180px;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-gold));
  border-radius: 5px;
  margin-bottom: 1.35rem;
  box-shadow: 0 2px 10px var(--accent-gold-glow);
  position: relative;
}

.divider-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -20%;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
  animation: dividerLineShimmer 3s ease-in-out infinite;
}

.divider-desc {
  font-size: clamp(1.02rem, 1.25vw, 1.25rem);
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.65;
}

.divider-highlights-card {
  background: var(--bg-card);
  backdrop-filter: blur(28px) saturate(1.8);
  border: 1px solid var(--border-glass);
  border-radius: 22px;
  padding: 2.2rem 2.4rem;
  box-shadow: var(--shadow-card-elevated);
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  position: relative;
  overflow: hidden;
}

.divider-highlights-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-gold), transparent);
}

.divider-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.divider-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
}

.divider-highlight-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-cyan-light);
  border: 1px solid rgba(2, 132, 199, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.12);
}

.divider-highlight-text {
  font-size: 0.96rem;
  color: var(--text-primary);
  line-height: 1.5;
}

.divider-highlight-text strong {
  color: var(--accent-cyan);
  font-weight: 800;
}

/* ==========================================================================
   DATA TABLES & FINANCIAL SIMULATOR
   ========================================================================== */

.data-table-container {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th {
  background: rgba(15, 23, 42, 0.05);
  padding: 0.95rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  border-bottom: 1px solid var(--border-glass);
}

.data-table td {
  padding: 0.9rem 1.25rem;
  font-size: 0.92rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.data-table tr:nth-child(even) td {
  background: rgba(15, 23, 42, 0.015);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: var(--accent-cyan-light);
}

.badge-qty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--accent-gold-light);
  border: 1px solid rgba(217, 119, 6, 0.3);
  color: var(--accent-gold);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.94rem;
}

/* Finance Table */
.finance-table {
  width: 100%;
  border-collapse: collapse;
}

.finance-table th {
  background: rgba(15, 23, 42, 0.05);
  padding: 0.95rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-cyan);
  border-bottom: 1px solid var(--border-glass);
}

.finance-table td {
  padding: 0.85rem 1.25rem;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border-subtle);
}

.finance-input {
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 7px 14px;
  color: var(--accent-gold);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  width: 100%;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.finance-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px var(--accent-cyan-glow);
}

.total-row td {
  background: var(--accent-cyan-light) !important;
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--text-pure);
  border-top: 2px solid var(--accent-cyan);
}

/* Finance Tabs */
.finance-tab-nav {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.finance-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 8px 16px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.finance-tab-btn:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.finance-tab-btn.active {
  background: var(--accent-cyan-light);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 14px var(--accent-cyan-glow);
}

.badge-fam {
  display: inline-block;
  min-width: 24px;
  text-align: center;
}

/* ==========================================================================
   COMPARISON CARDS (BASE vs VARIANTE PORTEO BTP)
   ========================================================================== */

.comparison-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  height: 100%;
}

.comp-card {
  border-radius: 20px;
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.35s ease;
}

.comp-card.base {
  background: var(--bg-card);
  border: 1px solid rgba(225, 29, 72, 0.25);
}

.comp-card.variant {
  background: var(--bg-card);
  border: 2px solid var(--accent-emerald);
  box-shadow: 0 15px 40px -6px rgba(5, 150, 105, 0.18), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.comp-card:hover {
  transform: translateY(-4px);
}

.comp-tag {
  display: inline-flex;
  padding: 5px 14px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.comp-card.base .comp-tag {
  background: var(--accent-rose-light);
  color: var(--accent-rose);
  border: 1px solid rgba(225, 29, 72, 0.3);
}

.comp-card.variant .comp-tag {
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  border: 1px solid rgba(5, 150, 105, 0.35);
}

.comp-title {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 0.95rem;
}

/* ==========================================================================
   STEPPER & TIMELINES
   ========================================================================== */

.stepper-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.65rem;
  position: relative;
  margin-top: 0.5rem;
}

.stepper-container::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan) 0%, var(--accent-gold) 50%, var(--accent-emerald) 100%);
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 1.65rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-card-elevated);
}

.step-number {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--accent-cyan-light);
  border: 2px solid var(--accent-cyan);
  color: var(--accent-cyan);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  box-shadow: 0 4px 15px var(--accent-cyan-glow);
  transition: transform var(--transition-fast);
}

.step-card:hover .step-number {
  transform: scale(1.15);
}

.step-card:nth-child(2) .step-number {
  background: var(--accent-gold-light);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  box-shadow: 0 4px 15px var(--accent-gold-glow);
}

.step-card:nth-child(3) .step-number {
  background: var(--accent-emerald-light);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  box-shadow: 0 4px 15px var(--accent-emerald-glow);
}

.step-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--text-pure);
  margin-bottom: 0.65rem;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Gantt Chart */
.gantt-chart {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  width: 100%;
  margin-top: 0.35rem;
}

.gantt-row {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: var(--bg-card);
  padding: 0.95rem 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-card);
}

.gantt-row-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gantt-phase-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-pure);
}

.gantt-duration {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-gold);
  background: var(--accent-gold-light);
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid rgba(217, 119, 6, 0.25);
}

.gantt-bar-wrapper {
  height: 12px;
  background: rgba(15, 23, 42, 0.06);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.gantt-bar-progress {
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
}

.gantt-bar-progress.gold {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

.gantt-bar-progress.emerald {
  background: linear-gradient(90deg, #10b981, #059669);
}

.gantt-bar-progress.purple {
  background: linear-gradient(90deg, #8b5cf6, #6366f1);
}

.gantt-details {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   QUOTE & CONCLUSION SLIDES
   ========================================================================== */

.slide-quote {
  justify-content: center;
  align-items: center;
  text-align: center;
}

.quote-box {
  max-width: 980px;
  padding: 3rem 3.5rem;
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  border: 2px solid rgba(217, 119, 6, 0.35);
  border-radius: 26px;
  box-shadow: 0 25px 60px -10px rgba(217, 119, 6, 0.15), var(--shadow-card);
  position: relative;
}

.quote-icon {
  font-size: 3.8rem;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 0.95rem;
  opacity: 0.85;
}

.quote-text {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-pure);
  line-height: 1.38;
  margin-bottom: 1.6rem;
  letter-spacing: -0.02em;
}

.quote-author {
  font-size: 0.98rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
}

.slide-conclusion {
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* ==========================================================================
   VIADUCT SELECTOR & SCHEMATIC VIEWER
   ========================================================================== */

.viaduct-select-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer;
  padding: 0.95rem 1.25rem !important;
  border-left: 4px solid transparent !important;
}

.viaduct-select-card:hover {
  background: var(--bg-card-hover) !important;
  border-left-color: var(--accent-cyan) !important;
  transform: translateX(4px);
}

.viaduct-select-card.active {
  border-left-color: var(--accent-gold) !important;
  background: var(--accent-gold-light) !important;
  box-shadow: 0 4px 18px rgba(217, 119, 6, 0.15) !important;
}

.schematic-wrapper {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.schematic-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: rgba(15, 23, 42, 0.04);
  border-bottom: 1px solid var(--border-subtle);
}

.schematic-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.schematic-interactive-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--accent-cyan-light);
  color: var(--accent-cyan);
  border: 1px solid rgba(2, 132, 199, 0.3);
  letter-spacing: 0.05em;
}

.schematic-canvas {
  padding: 1.1rem;
}

/* ==========================================================================
   BOTTOM NAVIGATION DOCK
   ========================================================================== */

.bottom-dock {
  height: 68px;
  min-height: 68px;
  padding: 0 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--grad-bottomdock);
  backdrop-filter: blur(24px) saturate(1.6);
  border-top: 1px solid var(--border-glass);
  box-shadow: 0 -4px 25px -2px rgba(15, 23, 42, 0.05);
  z-index: 50;
  transition: all 0.35s ease;
}

.dock-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 220px;
}

.slide-counter {
  font-family: var(--font-mono);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.slide-counter .current {
  color: var(--accent-cyan);
  font-size: 1.25rem;
}

.slide-counter .total {
  color: var(--text-muted);
}

.dock-middle {
  flex: 1;
  max-width: 680px;
  padding: 0 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.progress-track {
  flex: 1;
  height: 6px;
  background: rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: height var(--transition-fast);
}

.progress-track:hover {
  height: 9px;
  background: rgba(15, 23, 42, 0.14);
}

.progress-fill {
  height: 100%;
  width: 3.33%;
  background: linear-gradient(90deg, var(--accent-cyan) 0%, var(--accent-blue) 50%, var(--accent-gold) 100%);
  border-radius: 10px;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px var(--accent-cyan-glow);
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold-glow);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.progress-track:hover .progress-fill::after {
  opacity: 1;
}

.dock-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 220px;
  justify-content: flex-end;
}

.nav-arrow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.nav-arrow-btn:hover:not(:disabled) {
  background: var(--bg-card-hover);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--accent-cyan-glow);
}

.nav-arrow-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.nav-arrow-btn.primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 60%, #b45309 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 18px var(--accent-gold-glow);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.nav-arrow-btn.primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.5);
}

/* ==========================================================================
   MODALS (OVERVIEW MOSAÏQUE & LIGHTBOX)
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(28px);
  z-index: 200;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-normal);
  padding: 2.5rem 3.8rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.65rem;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--text-pure);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.search-input {
  width: 340px;
  padding: 11px 20px;
  border-radius: 14px;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-glass);
  color: var(--text-pure);
  font-family: var(--font-body);
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.06);
  transition: all var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px var(--accent-cyan-glow);
}

.overview-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.35rem;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.thumb-card {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-glass);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
}

.thumb-card:hover {
  transform: translateY(-5px) scale(1.03);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-card-elevated), 0 0 15px var(--accent-cyan-glow);
}

.thumb-card.active {
  border-color: var(--accent-gold);
  box-shadow: 0 0 20px var(--accent-gold-glow);
  background: var(--accent-gold-light);
}

.thumb-num {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.76rem;
  color: var(--accent-cyan);
}

.thumb-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--text-pure);
  line-height: 1.25;
  margin-top: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.thumb-chapter {
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(30px);
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-normal);
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 92vw;
  max-height: 86vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 76vh;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 35px var(--accent-cyan-glow);
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 1.1rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(225, 29, 72, 0.8);
  border-color: #e11d48;
}

/* Presenter Overlay */
.presenter-overlay {
  position: fixed;
  bottom: 80px;
  right: 30px;
  width: 430px;
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  box-shadow: var(--shadow-popover);
  z-index: 150;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-normal);
}

.presenter-overlay.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.presenter-header {
  padding: 0.95rem 1.35rem;
  background: rgba(15, 23, 42, 0.04);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.presenter-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.presenter-timer {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--accent-gold);
}

.presenter-body {
  padding: 1.35rem;
  max-height: 270px;
  overflow-y: auto;
}

.presenter-note-text {
  font-size: 0.94rem;
  color: var(--text-primary);
  line-height: 1.65;
}

.presenter-next-preview {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
}

.next-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}

.next-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
}

/* ==========================================================================
   INTERACTIVE MICRO-INTERACTIONS (TILT & MAGNETIC HOVER)
   ========================================================================== */

.tilt-target {
  will-change: transform;
}

.tilt-instant {
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .tilt-target,
  .cursor-spotlight,
  .mesh-blob,
  .ambient-glow,
  .loader-ring-fill,
  .cover-title span,
  .top-nav::after {
    animation: none !important;
  }
}

/* ==========================================================================
   ANIMATIONS & ENTRANCE EFFECTS
   ========================================================================== */

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.slide.active .anim-stagger-1 {
  animation: slideUpFade 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}
.slide.active .anim-stagger-2 {
  animation: slideUpFade 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}
.slide.active .anim-stagger-3 {
  animation: slideUpFade 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.30s both;
}
.slide.active .anim-stagger-4 {
  animation: slideUpFade 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.42s both;
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
  html, body {
    width: 100%;
    height: auto;
    overflow: visible;
    background: #ffffff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .top-nav, .bottom-dock, #bg-canvas, .ambient-glow, .icon-btn, .modal-overlay, .presenter-overlay, .lightbox-modal {
    display: none !important;
  }

  .app-container, .presentation-viewport {
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    overflow: visible !important;
    display: block !important;
  }

  .slide-stage {
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
    display: block !important;
  }

  .slide {
    position: relative !important;
    page-break-after: always;
    break-after: page;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    height: 100vh !important;
    min-height: 700px !important;
    display: flex !important;
    padding: 2.5rem !important;
    border-bottom: 2px solid #e2e8f0;
    background: #ffffff !important;
  }
}
