/* CSS Reset & Clean Executive Variables */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-primary: #ffffff;
  --bg-surface: #f8fafc;
  --bg-elevated: #ffffff;
  
  --color-blue: #2563eb;
  --color-blue-dark: #1d4ed8;
  --color-blue-light: #eff6ff;
  --color-blue-badge: #dbeafe;
  
  --color-border: #e2e8f0;
  --color-border-dark: #cbd5e1;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --font-body: 'Inter', -apple-system, sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

/* Three.js Background Canvas */
#three-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* Diagonal Letterhead Watermark Logo Effect on Every Slide */
.slide-letterhead-watermark {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-25deg);
  pointer-events: none;
  z-index: 1;
  opacity: 0.045;
  width: clamp(280px, 45vw, 620px);
  height: auto;
  user-select: none;
  filter: grayscale(20%);
}

/* Official Logo Image Styling (saleslogo.png) */
.brand-logo-img {
  height: clamp(65px, 8.5vw, 92px);
  width: auto;
  max-width: 460px;
  display: block;
  object-fit: contain;
}

.brand-logo-img-lg {
  height: clamp(56px, 8vw, 80px);
  width: auto;
  max-width: 400px;
  display: inline-block;
  object-fit: contain;
  margin-bottom: clamp(12px, 2.5vw, 24px);
}

.footer-logo-img {
  height: clamp(24px, 3.5vw, 32px);
  width: auto;
  max-width: 200px;
  display: inline-block;
  object-fit: contain;
}

/* Header Bar - Responsive */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(84px, 10.5vh, 108px);
  padding: 0 clamp(16px, 3vw, 36px);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
}

.slide-indicator-container {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 16px);
}

.slide-number-display {
  font-weight: 700;
  font-size: clamp(0.8rem, 1.2vw, 0.95rem);
  color: var(--color-blue-dark);
}

.slide-title-mini {
  font-size: clamp(0.75rem, 1.1vw, 0.88rem);
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1vw, 10px);
}

.icon-btn {
  background: rgba(248, 250, 252, 0.8);
  border: 1px solid var(--color-border);
  color: var(--text-primary);
  padding: clamp(6px, 1vh, 8px) clamp(10px, 1.2vw, 14px);
  border-radius: 8px;
  font-size: clamp(0.75rem, 1vw, 0.85rem);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s var(--ease-expo);
}

.icon-btn i {
  width: 16px;
  height: 16px;
}

.icon-btn:hover {
  background: #f1f5f9;
  border-color: var(--color-border-dark);
}

.icon-btn.primary-btn {
  background: var(--color-blue);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.icon-btn.primary-btn:hover {
  background: var(--color-blue-dark);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* Stage Layout - Responsive Scaling Container for 100%, 125%, 150%, 200% Display Scaling */
.deck-container {
  width: 100vw;
  height: calc(100vh - clamp(100px, 12vh, 124px));
  margin-top: clamp(54px, 7vh, 68px);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  z-index: 10;
}

.slide-stage {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Slides */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-expo), transform 0.5s var(--ease-expo);
  transform: scale(0.985);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(16px, 3vh, 40px) clamp(16px, 4vw, 120px);
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.slide::-webkit-scrollbar {
  display: none;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: scale(1);
}

.slide-content {
  max-width: 1240px;
  margin: auto;
  width: 100%;
  position: relative;
  padding-bottom: 40px;
  z-index: 5;
}

.content-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Typography & Headings - Fluid Clamped Fonts */
.section-tag {
  font-size: clamp(0.7rem, 0.9vw, 0.8rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-blue-dark);
  text-transform: uppercase;
  margin-bottom: clamp(6px, 1vh, 12px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: clamp(14px, 2.2vh, 24px);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: clamp(20px, 3vh, 36px);
}

.slide-headline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: clamp(10px, 1.5vh, 16px);
}

.slide-lead {
  font-size: clamp(0.88rem, 1.2vw, 1.05rem);
  color: var(--text-muted);
  max-width: 650px;
  line-height: 1.6;
  margin-bottom: clamp(16px, 2.5vh, 28px);
}

.cover-footer-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(0.75rem, 1vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-top: 1px solid var(--color-border);
  padding-top: clamp(14px, 2vh, 24px);
}

.meta-sep {
  color: var(--color-border-dark);
}

.slide-footer-brand {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: none !important;
  justify-content: space-between;
  align-items: center;
  font-size: clamp(0.72rem, 1vw, 0.8rem);
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.05em;
  border-top: 1px solid var(--color-border);
  padding-top: 10px;
}

/* Image Frames & 3D Tilt Cards */
.tilt-card {
  transition: transform 0.4s var(--ease-expo), box-shadow 0.4s var(--ease-expo);
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-image-frame, .lifestyle-image-frame, .dashboard-image-frame {
  position: relative;
  border-radius: clamp(14px, 2vw, 24px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(37, 99, 235, 0.1);
}

.hero-img, .lifestyle-img, .dashboard-img {
  width: 100%;
  height: auto;
  max-height: clamp(260px, 45vh, 460px);
  object-fit: cover;
  display: block;
}

.measured-overlay-card {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: clamp(12px, 1.5vw, 20px);
  border-radius: 14px;
  border: 1px solid var(--color-border);
}

.measured-overlay-card h3 {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  font-weight: 800;
  margin-bottom: 4px;
}

.measured-overlay-card p {
  font-size: clamp(0.75rem, 1vw, 0.85rem);
  color: var(--text-muted);
  line-height: 1.45;
}

/* Responsive Grid Layout Splits */
.layout-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

/* =====================================================
   FULL-SLIDE WIDTH ARCHITECTURAL STAIRCASE STORYTELLING
   ===================================================== */
.full-width-staircase-container {
  position: relative;
  width: 100%;
  margin-top: clamp(16px, 3vh, 36px);
  min-height: 380px;
}

/* Full Width 4-Step Row Layout */
.staircase-steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.8vw, 24px);
  align-items: flex-end;
  position: relative;
  min-height: 360px;
  width: 100%;
}

.full-step-card {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border: 1.5px solid var(--color-border);
  border-radius: clamp(12px, 1.5vw, 20px);
  padding: clamp(14px, 1.8vw, 24px) clamp(12px, 1.5vw, 20px);
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vh, 12px);
  transition: transform 0.5s var(--ease-expo), opacity 0.5s var(--ease-expo), border-color 0.5s var(--ease-expo), box-shadow 0.5s var(--ease-expo);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.step-block-1 { transform: translateY(60px); }
.step-block-2 { transform: translateY(40px); }
.step-block-3 { transform: translateY(20px); }
.step-block-4 { transform: translateY(0px); }

/* Dimmed / Muted State for Unreached Steps */
.dimmed-step {
  opacity: 0.45;
  filter: grayscale(40%);
}

.full-step-card.expanded-step {
  opacity: 1 !important;
  filter: none !important;
  transform: translateY(-8px) scale(1.04) !important;
  border-color: var(--color-blue) !important;
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.22) !important;
  background: rgba(239, 246, 255, 0.98) !important;
}

.step-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-num-badge {
  width: clamp(28px, 3vw, 36px);
  height: clamp(28px, 3vw, 36px);
  border-radius: 8px;
  font-size: clamp(0.75rem, 1vw, 0.85rem);
  font-weight: 800;
  background: var(--color-blue-badge);
  color: var(--color-blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-title-text {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  font-weight: 800;
  transition: color 0.3s ease;
}

.full-step-card.expanded-step .step-title-text {
  color: var(--color-blue-dark);
}

.step-desc-text {
  font-size: clamp(0.78rem, 1vw, 0.85rem);
  color: var(--text-muted);
  line-height: 1.5;
}

/* Illustration Popovers */
.step-illustration-popover {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  opacity: 0;
  transition: all 0.5s var(--ease-expo);
  pointer-events: none;
  z-index: 40;
  width: calc(100% - 12px);
}

.step-illustration-popover.popover-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.popover-badge {
  background: #ffffff;
  border: 1px solid var(--color-blue);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
  padding: clamp(6px, 1vh, 10px) clamp(10px, 1.2vw, 16px);
  border-radius: 10px;
  font-size: clamp(0.75rem, 1vw, 0.82rem);
  font-weight: 800;
  color: var(--color-blue-dark);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.popover-badge i {
  color: var(--color-blue);
  width: 16px;
  height: 16px;
}

.popover-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-align: center;
}

.popover-nodes {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.p-node {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-blue);
  display: inline-block;
}

.popover-tags {
  display: flex;
  gap: 4px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.popover-tags span {
  background: #ffffff;
  border: 1px solid var(--color-border);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
}

.dash-popover {
  background: rgba(239, 246, 255, 0.98);
  border: 1.5px solid var(--color-blue-dark);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.3);
  padding: clamp(10px, 1.5vw, 16px) clamp(14px, 2vw, 20px);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.dash-counter-val {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 900;
  color: var(--text-primary);
}

.dash-roas-tag {
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--color-blue);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 999px;
}

/* Waterfall Stairs & Cases Stairs */
.stairs-waterfall {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 16px);
  flex-wrap: wrap;
}

.stairs-waterfall .stair-step-1 { transform: translateY(30px); }
.stairs-waterfall .stair-step-2 { transform: translateY(20px); }
.stairs-waterfall .stair-step-3 { transform: translateY(10px); }
.stairs-waterfall .stair-step-4 { transform: translateY(5px); }
.stairs-waterfall .stair-step-5 { transform: translateY(0px); }

.stairs-layout-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px);
  margin-top: clamp(20px, 3vh, 36px);
  align-items: stretch;
}

.stairs-layout-3 .step-card-1 { transform: translateY(24px); }
.stairs-layout-3 .step-card-2 { transform: translateY(12px); }
.stairs-layout-3 .step-card-3 { transform: translateY(0px); }

.stairs-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px);
  margin-top: clamp(20px, 3vh, 36px);
  align-items: flex-end;
}

.stairs-cases .case-step-1 { transform: translateY(24px); }
.stairs-cases .case-step-2 { transform: translateY(12px); }
.stairs-cases .case-step-3 { transform: translateY(0px); }

.case-card-clean {
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: clamp(16px, 2vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.highlight-case {
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
  background: rgba(239, 246, 255, 0.95);
}

/* Slide 2 Pillars */
.card-pillar {
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: clamp(20px, 2.5vw, 32px) clamp(16px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.5vh, 16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.highlight-pillar {
  background: rgba(239, 246, 255, 0.95);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.12);
}

.card-icon-wrap {
  width: clamp(36px, 4vw, 44px);
  height: clamp(36px, 4vw, 44px);
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  flex-shrink: 0;
}

.card-icon-wrap.blue {
  background: var(--color-blue);
  color: #fff;
  border: none;
}

.card-pillar h3 {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 800;
  line-height: 1.3;
}

.card-pillar p {
  font-size: clamp(0.82rem, 1vw, 0.9rem);
  color: var(--text-muted);
  line-height: 1.55;
}

/* Slide 3 Stat Cards */
.stat-cards-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.5vh, 16px);
}

.stat-card-row {
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-blue);
  border-radius: 12px;
  padding: clamp(16px, 2vw, 24px) clamp(18px, 2.2vw, 28px);
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.stat-big-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  flex-shrink: 0;
  width: clamp(100px, 12vw, 140px);
}

.stat-label {
  font-size: clamp(0.85rem, 1.1vw, 0.95rem);
  color: var(--text-secondary);
  line-height: 1.5;
  font-weight: 500;
}

/* Slide 4 Waterfall */
.flow-step-card {
  flex: 1;
  min-width: 140px;
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: clamp(14px, 1.5vw, 20px) clamp(12px, 1.2vw, 16px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}

.flow-step-card.highlight {
  background: rgba(239, 246, 255, 0.95);
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
}

.step-metric {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 900;
  color: var(--text-primary);
}

.step-metric.blue {
  color: var(--color-blue-dark);
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
}

.step-desc {
  font-size: clamp(0.72rem, 0.9vw, 0.78rem);
  color: var(--text-muted);
  line-height: 1.4;
}

.flow-arrow {
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 700;
}

.summary-banner-box {
  background: rgba(239, 246, 255, 0.95);
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: var(--color-blue-dark);
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  font-weight: 700;
  padding: clamp(12px, 1.5vh, 16px) clamp(16px, 2vw, 24px);
  border-radius: 12px;
  margin-top: clamp(16px, 2.5vh, 24px);
  text-align: center;
}

.slide-footnote {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 10px;
}

/* Slide 6 Event Tracking */
.signals-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(8px, 1.2vw, 12px);
  margin-top: 16px;
}

.signal-pill {
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid var(--color-border);
  padding: clamp(10px, 1.2vh, 12px) clamp(12px, 1.4vw, 16px);
  border-radius: 10px;
  font-size: clamp(0.78rem, 1vw, 0.85rem);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}

.signal-pill i {
  color: var(--color-blue);
  width: 16px;
  height: 16px;
}

.live-feed-card {
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
}

.feed-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-border);
  background: #ffffff;
}

.feed-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--color-blue-dark);
  letter-spacing: 0.08em;
}

.feed-items {
  padding: 10px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feed-item {
  padding: 8px 0;
  border-bottom: 1px dashed var(--color-border);
}

.feed-item:last-child {
  border-bottom: none;
}

.item-title {
  font-size: clamp(0.8rem, 1vw, 0.88rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.item-meta {
  font-size: 0.72rem;
  color: var(--color-blue-dark);
  font-weight: 600;
}

/* Slide 7 Audience Funnel */
.sub-card-box {
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: clamp(16px, 2vw, 20px) clamp(18px, 2.2vw, 24px);
  margin-top: 16px;
}

.sub-card-box h4 {
  font-size: clamp(0.88rem, 1.1vw, 0.95rem);
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.sub-card-box p {
  font-size: clamp(0.78rem, 1vw, 0.85rem);
  color: var(--text-muted);
  line-height: 1.5;
}

.funnel-diagram-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.funnel-box {
  width: 100%;
  padding: clamp(16px, 2vw, 24px);
  border-radius: 14px;
  text-align: center;
  border: 1px solid var(--color-border);
}

.funnel-box.muted {
  background: rgba(248, 250, 252, 0.85);
}

.funnel-box.blue-active {
  background: rgba(239, 246, 255, 0.95);
  border-color: rgba(37, 99, 235, 0.4);
}

.fb-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.fb-stat {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.2rem);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.fb-stat.blue {
  color: var(--color-blue-dark);
}

.fb-desc {
  font-size: clamp(0.78rem, 1vw, 0.85rem);
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.fb-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--color-blue-badge);
  color: var(--color-blue-dark);
}

.funnel-arrow {
  font-size: 1.1rem;
  color: var(--text-light);
}

/* Slide 8 Partners & Props */
.partners-box {
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid var(--color-border);
  padding: clamp(16px, 2vw, 20px) clamp(18px, 2.2vw, 24px);
  border-radius: 14px;
  margin-top: 20px;
}

.partners-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 10px;
}

.partner-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.partner-pills span {
  background: #ffffff;
  border: 1px solid var(--color-border);
  padding: 12px;
  border-radius: 8px;
  height: 64px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.ssp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.ssp-pills span {
  background: #ffffff;
  border: 1px solid var(--color-border);
  padding: 6px;
  border-radius: 8px;
  height: 48px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 calc(33.33% - 8px);
  min-width: 60px;
}

.ssp-pills span img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}

.brand-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(25% - 20px);
  min-width: 180px;
  height: 135px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.brand-card img {
  max-height: 94%;
  max-width: 94%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.social-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.social-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 160px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.social-card img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.value-props-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.5vh, 16px);
}

.prop-card {
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: clamp(16px, 2vw, 24px);
}

.prop-card h3 {
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  font-weight: 800;
  margin-bottom: 4px;
}

.prop-card p {
  font-size: clamp(0.78rem, 1vw, 0.85rem);
  color: var(--text-muted);
  line-height: 1.5;
}

/* Slide 9 Day Timeline Layout */
.day-timeline-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(10px, 1.4vw, 16px);
  margin-top: 16px;
}

.time-card {
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: clamp(14px, 1.6vw, 20px);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.time-stamp {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-blue-dark);
  background: var(--color-blue-badge);
  padding: 2px 7px;
  border-radius: 5px;
  align-self: flex-start;
}

.time-stamp.blue {
  background: var(--color-blue);
  color: #ffffff;
}

.highlight-time-card {
  border-color: rgba(37, 99, 235, 0.4);
  background: rgba(239, 246, 255, 0.95);
}

.time-card h3 {
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
  font-weight: 800;
}

.time-card p {
  font-size: clamp(0.75rem, 0.9vw, 0.82rem);
  color: var(--text-muted);
  line-height: 1.45;
}

.result-callout-banner {
  background: rgba(239, 246, 255, 0.95);
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: var(--color-blue-dark);
  font-size: clamp(0.82rem, 1vw, 0.92rem);
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 10px;
  margin-top: 16px;
}

/* Slide 10 Chart & Measured */
.chart-box-card {
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: clamp(18px, 2vw, 28px);
  margin-top: 12px;
}

.indexed-note {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.pie-chart-sim {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 20px;
}

.pie-visual {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: conic-gradient(
    var(--color-blue) 0% 75%, 
    var(--color-border-dark) 75% 100%
  );
  box-shadow: 0 4px 16px rgba(0,0,0,0.08), inset 0 2px 6px rgba(255,255,255,0.4);
  position: relative;
  transition: transform 0.4s var(--ease-expo), box-shadow 0.4s ease;
}

.pie-visual:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(37,99,235,0.15), inset 0 2px 6px rgba(255,255,255,0.4);
}

.pie-visual::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 50%; height: 50%;
  background: #f8fafc;
  border-radius: 50%;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.06);
}

.pie-legend {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.legend-color {
  width: 14px;
  height: 14px;
  border-radius: 4px;
}

.legend-color.active-blue {
  background: var(--color-blue);
  box-shadow: 0 2px 8px rgba(37,99,235,0.3);
}

.legend-color.base {
  background: var(--color-border-dark);
}

.bar-col span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

.chart-disclaimer {
  font-size: 0.72rem;
  color: var(--text-light);
}

/* Slide 11 Cases */
.client-name {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  font-weight: 800;
}

.client-cat {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-top: -6px;
}

.metric-block {
  display: flex;
  flex-direction: column;
}

.m-val {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.6vw, 2.2rem);
  font-weight: 900;
  color: var(--color-blue-dark);
  line-height: 1;
}

.m-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Slide 12 & 13 Quads */
.quad-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(12px, 1.8vw, 20px);
  margin-top: clamp(18px, 2.5vh, 28px);
}

.quad-card {
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: clamp(18px, 2vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quad-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--color-blue-badge);
  color: var(--color-blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quad-card h3 {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 800;
}

.quad-card p {
  font-size: clamp(0.82rem, 1vw, 0.88rem);
  color: var(--text-muted);
  line-height: 1.55;
}

.trial-banner {
  background: rgba(239, 246, 255, 0.95);
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: var(--color-blue-dark);
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  font-weight: 700;
  padding: clamp(14px, 2vh, 20px) clamp(18px, 2vw, 28px);
  border-radius: 14px;
  margin-top: clamp(16px, 2.5vh, 24px);
  text-align: center;
}

/* Slide 14 Closing */
.closing-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: clamp(14px, 2vh, 20px);
  max-width: 800px;
}

.closing-lead {
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 700px;
  line-height: 1.6;
  margin-bottom: clamp(24px, 3.5vh, 36px);
}

.contact-details-card {
  background: rgba(239, 246, 255, 0.95);
  border: 1px solid rgba(37, 99, 235, 0.3);
  padding: clamp(16px, 2vw, 24px) clamp(24px, 3vw, 40px);
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
  flex-wrap: wrap;
  justify-content: center;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(0.85rem, 1.1vw, 0.95rem);
  font-weight: 700;
  color: var(--color-blue-dark);
}

.contact-row i {
  width: 18px;
  height: 18px;
}

/* Drawer Modals */
.notes-drawer {
  position: fixed;
  top: 68px;
  right: -420px;
  width: clamp(300px, 80vw, 400px);
  height: calc(100vh - 124px);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--color-border);
  z-index: 200;
  transition: right 0.4s var(--ease-expo);
  display: flex;
  flex-direction: column;
}

.notes-drawer.open { right: 0; }

.drawer-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-title {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.drawer-body {
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.note-section h4 {
  font-size: 0.85rem;
  color: var(--color-blue-dark);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.note-section p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.grid-modal {
  position: fixed;
  inset: 68px 0 56px 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 24px;
  overflow-y: auto;
}

.grid-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.grid-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.grid-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.thumb-card {
  aspect-ratio: 16/9;
  border-radius: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--color-border);
  padding: 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.thumb-card:hover {
  border-color: var(--color-blue);
  transform: translateY(-2px);
}

.thumb-card.active {
  border-color: var(--color-blue-dark);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.3);
}

.thumb-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-blue-dark);
}

.thumb-title {
  font-weight: 700;
  font-size: 0.82rem;
}

/* Bottom Nav */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  padding: 0 clamp(16px, 3vw, 32px);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 100;
}

.nav-arrow-btn {
  background: var(--bg-surface);
  border: 1px solid var(--color-border);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.nav-arrow-btn:hover {
  background: #f1f5f9;
}

.progress-bar-track {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--color-border);
}

.progress-bar-fill {
  height: 100%;
  width: 7.14%;
  background: var(--color-blue);
  transition: width 0.3s ease;
}

/* =====================================================
   RESPONSIVE BREAKPOINTS (FOR ALL DISPLAY SCALES & MOBILE)
   ===================================================== */

/* Windows Display Scale 125%-150% or Laptops (< 1200px) */
@media (max-width: 1200px) {
  .staircase-steps-row {
    min-height: 320px;
  }

  .full-step-card {
    padding: 16px 14px;
  }

  .popover-badge {
    font-size: 0.75rem;
    padding: 6px 10px;
  }

  .hero-img, .lifestyle-img, .dashboard-img {
    max-height: 340px;
  }
}

/* Tablets & Windows Display Scale 175%-200% (< 992px) */
@media (max-width: 992px) {
  .layout-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stairs-layout-3, .stairs-cases {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stairs-layout-3 .step-card-1,
  .stairs-layout-3 .step-card-2,
  .stairs-layout-3 .step-card-3,
  .stairs-cases .case-step-1,
  .stairs-cases .case-step-2,
  .stairs-cases .case-step-3 {
    transform: none;
  }

  .staircase-steps-row {
    grid-template-columns: repeat(2, 1fr);
    min-height: auto;
    gap: 16px;
  }

  .step-block-1, .step-block-2, .step-block-3, .step-block-4 {
    transform: none;
  }

  .step-illustration-popover {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    margin-bottom: 10px;
    opacity: 1;
  }

  .hero-img, .lifestyle-img, .dashboard-img {
    max-height: 300px;
  }
}

/* Mobile Screens (< 640px) */
@media (max-width: 640px) {
  .slide {
    padding: 16px;
  }

  .top-nav {
    padding: 0 16px;
  }

  .slide-title-mini {
    display: none;
  }

  .icon-btn span {
    display: none;
  }

  .icon-btn {
    padding: 8px;
  }

  .staircase-steps-row {
    grid-template-columns: 1fr;
  }

  .quad-grid-2x2, .day-timeline-2x2, .signals-pill-grid {
    grid-template-columns: 1fr;
  }

  .stat-card-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .stat-big-num {
    width: auto;
  }

  .stairs-waterfall {
    flex-direction: column;
    align-items: stretch;
  }

  .stairs-waterfall .flow-arrow {
    text-align: center;
    transform: rotate(90deg);
  }

  .contact-details-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
/* Slide 12 - Premium Geo Grid */
.geo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.geo-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 32px;
  height: 170px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.geo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  border: 1px solid rgba(37, 99, 235, 0);
  transition: border-color 0.35s ease;
  pointer-events: none;
}

.geo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12);
}

.geo-card:hover::before {
  border-color: rgba(37, 99, 235, 0.4);
}

.geo-flag {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), inset 0 0 0 1px var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  flex-shrink: 0;
  transition: transform 0.35s ease;
}

.geo-card:hover .geo-flag {
  transform: scale(1.08);
}

.geo-text-wrap {
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease;
}

.geo-card:hover .geo-text-wrap {
  transform: translateY(-2px);
}

.geo-name {
  font-size: 30px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}

.geo-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Reduced opacity for wireframe */
.slide[data-slide="12"] .slide-letterhead-watermark {
  opacity: 0.08;
}

@media (max-width: 992px) {
  .geo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .geo-grid {
    grid-template-columns: 1fr;
  }
}

/* Premium CSS Funnel */
.premium-funnel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.funnel-step {
  background: linear-gradient(145deg, #ffffff, rgba(255,255,255,0.6));
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: 12px;
  padding: 12px 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transition: transform 0.3s ease;
  position: relative;
}

.funnel-step:hover {
  transform: scale(1.02);
  border-color: rgba(37,99,235,0.5);
  box-shadow: 0 6px 20px rgba(37,99,235,0.1);
}

.funnel-step.highlight-step {
  background: linear-gradient(145deg, #eff6ff, #dbeafe);
  border-color: #2563eb;
  box-shadow: 0 8px 24px rgba(37,99,235,0.2);
}

.funnel-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2px;
  letter-spacing: -0.5px;
}

.highlight-step .funnel-val {
  color: #2563eb;
}

.funnel-lbl {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.highlight-step .funnel-lbl {
  color: #1d4ed8;
}

.funnel-arrow {
  color: #cbd5e1;
  font-size: 1.2rem;
  font-weight: 800;
  margin: -4px 0;
}

/* Fullscreen Presentation Fallback Mode */
body.fullscreen-fallback {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 999999 !important;
}

/* Fullscreen Presentation Mode (body.is-presenting) */
body.is-presenting .top-nav {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

body.is-presenting .top-nav:hover {
  transform: translateY(0);
}

body.is-presenting .bottom-nav {
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

body.is-presenting .bottom-nav:hover {
  transform: translateY(0);
}

body.is-presenting .deck-container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  height: 100vh !important;
  width: 100vw !important;
}

body.is-presenting .slide-stage {
  max-width: 100% !important;
  max-height: 100% !important;
  height: 100vh !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
}

/* Floating Exit Button for Presentation Mode */
.exit-present-floating-btn {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 100000;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: none;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

body.is-presenting .exit-present-floating-btn {
  display: flex;
}

.exit-present-floating-btn:hover {
  background: rgba(15, 23, 42, 0.98);
  transform: scale(1.05);
}
