/* ============================================
   AppGrade DSP — Media Kit Styles
   Light theme inspired by marker.io
   ============================================ */

/* --- Variant Switcher (legacy) --- */
.variant-btn { background: #F8F9FA; color: #6B7280; }
.variant-btn:hover { background: #E5E7EB; color: #374151; }
.variant-btn.active { background: #32BA77; color: #fff; }
.cover-variant { position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s ease; pointer-events: none; }
.cover-variant.active { position: relative; opacity: 1; pointer-events: auto; }

/* --- Mascot Blob --- */
.mascot {
  pointer-events: none;
  z-index: 50;
  animation: mascot-hover 3s ease-in-out infinite;
}
@keyframes mascot-hover {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* --- Tooltip --- */
.tooltip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--border, #E2E8F0);
  color: var(--text-muted, #8B95A5);
  font-size: 9px;
  font-weight: 700;
  cursor: help;
  position: relative;
  vertical-align: middle;
  margin-left: 2px;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1;
}
.tooltip-icon:hover,
.tooltip-icon:focus {
  background: var(--primary-green, #32BA77);
  color: #fff;
}
.tooltip-text {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-dark, #1A1A2E);
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  padding: 10px 14px;
  border-radius: 8px;
  width: 220px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  z-index: 100;
  pointer-events: none;
}
.tooltip-text::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--primary-dark, #1A1A2E);
}
.tooltip-icon:hover .tooltip-text,
.tooltip-icon:focus .tooltip-text {
  display: block;
}

/* --- CSS Custom Properties --- */
:root {
  --primary-green: #32BA77;
  --primary-dark: #1A1A2E;
  --text: #1A1A2E;
  --text-secondary: #5A6478;
  --text-muted: #8B95A5;
  --white: #FFFFFF;
  --bg: #F8F9FA;
  --bg-alt: #F8F9FA;
  --bg-green: #F0FBF5;
  --blue: #2F55FF;
  --light-blue: #EBF0FF;
  --purple: #9B59B6;
  --light-purple: #F5EEFA;
  --orange: #FF7E2D;
  --red: #EF4444;
  --border: #E5E7EB;
  --border-light: #F0F1F3;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
  --shadow-green: 0 4px 20px rgba(50,186,119,0.2);
  --card-bg: #FFFFFF;
  --card-border: #E2E5E9;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* --- Slide System --- */
.presentation {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 30px 100px 65px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: translateX(30px);
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
.slide::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  z-index: 10;
}

.slide.prev { transform: translateX(-30px); }


/* --- ALL slides use unified gray background --- */
.slide--dark,
.slide--gradient,
.slide--light,
.slide--purple {
  background: var(--bg) !important;
  color: var(--text) !important;
}

/* --- Typography --- */
.slide-number {
  position: absolute;
  top: 30px; right: 40px;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 2px;
}

h1 {
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  color: var(--text);
}

h2 {
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: var(--text);
}

h3 {
  font-size: clamp(18px, 1.8vw, 28px);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--text);
}

h4 { color: var(--text); }

.subtitle {
  font-size: clamp(16px, 1.5vw, 24px);
  color: var(--text-secondary) !important;
  font-weight: 400;
  line-height: 1.6;
  max-width: 700px;
}

p { color: var(--text-secondary); }

.highlight { color: var(--primary-green) !important; }
.highlight-blue { color: var(--blue) !important; }
.highlight-purple { color: var(--purple) !important; }
.highlight-red { color: var(--red) !important; }
.highlight-orange { color: var(--orange) !important; }

.gradient-text {
  background: linear-gradient(135deg, var(--primary-green), #28a065);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Layout Helpers --- */
.slide-content {
  width: 100%;
  max-width: 1600px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: auto;
  margin-bottom: auto;
}

.row {
  display: flex;
  gap: 30px;
  align-items: stretch;
  width: 100%;
}

.col { flex: 1; }
.col-2 { flex: 2; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }

.text-center { text-align: center; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }

/* --- Cards (marker.io button style) --- */
.card {
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  border-radius: 12px;
  padding: 32px;
  transition: box-shadow 0.2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.04);
  color: var(--text);
}

.card:hover {
  box-shadow: 0 2px 4px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.06);
}

.card--accent {
  border-color: var(--primary-green) !important;
  box-shadow: var(--shadow-green);
}

.card--blue {
  border-color: rgba(47,85,255,0.3) !important;
  background: var(--light-blue) !important;
}

.card--purple {
  border-color: rgba(155,89,182,0.3) !important;
  background: var(--light-purple) !important;
}

.card--green {
  border-color: rgba(50,186,119,0.3) !important;
  background: var(--bg-green) !important;
}

/* Override inline border-top colors — keep them */
.card[style*="border-top"] {
  background: var(--card-bg) !important;
}

/* --- 3D Button-Style Cards (marker.io) --- */
.card-3d {
  background: var(--card-bg) !important;
  border: 2px solid #32BA77 !important;
  border-radius: 14px;
  padding: 32px;
  position: relative;
  color: var(--text);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 4px 4px 0 0 #28a065;
  z-index: 1;
}

.card-3d:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 0 #28a065;
}

.card-3d:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 0 #28a065;
}

/* Green accent border variant */
.card-3d--green {
  border-color: #32BA77 !important;
  box-shadow: 4px 4px 0 0 #28a065;
}

/* Red accent border variant */
.card-3d--red {
  border-color: #FF4444 !important;
  box-shadow: 4px 4px 0 0 #cc3636;
}
.card-3d--red:hover {
  box-shadow: 5px 5px 0 0 #cc3636;
}
.card-3d--red:active {
  box-shadow: 1px 1px 0 0 #cc3636;
}

/* --- Metric Blocks --- */
.metric {
  text-align: center;
  padding: 20px;
}

.metric-value {
  font-size: clamp(40px, 5vw, 80px);
  font-weight: 900;
  color: var(--text) !important;
  line-height: 1;
  margin-bottom: 8px;
}

.metric-label {
  font-size: clamp(12px, 1vw, 16px);
  color: var(--text-muted) !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

/* --- Pillar Cards (marker.io button style) --- */
.pillar {
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s ease;
}

.pillar:hover {
  box-shadow: 0 2px 4px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.06);
}

.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), var(--blue));
}

.pillar-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}

.pillar h3 { font-size: 20px; margin-bottom: 12px; }
.pillar p { font-size: 14px; color: var(--text-secondary) !important; line-height: 1.6; }

/* --- Tags / Badges (marker.io style — clean, rounded) --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  background: var(--bg-green);
  color: var(--primary-green);
  border: 1px solid rgba(50,186,119,0.25);
}

.badge--blue { background: var(--light-blue); color: var(--blue); border-color: rgba(47,85,255,0.2); }
.badge--purple { background: var(--light-purple); color: var(--purple); border-color: rgba(155,89,182,0.2); }
.badge--green { background: rgba(50,186,119,0.15); color: #32BA77; border-color: rgba(50,186,119,0.2); }
.badge--orange { background: #FFF4ED; color: var(--orange); border-color: rgba(255,126,45,0.2); }
.badge--white { background: var(--bg-alt); color: var(--text-secondary); border-color: var(--border); }

/* --- Flow Diagrams --- */
.flow {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  min-width: 120px;
}

.flow-step-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-green);
  border: 2px solid var(--primary-green);
}

.flow-arrow {
  font-size: 24px;
  color: var(--text-muted);
  margin: 0 4px;
  flex-shrink: 0;
}

.flow-step-label {
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  max-width: 100px;
  color: var(--text);
}

/* --- Check List --- */
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
}

.check-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--primary-green);
  margin-top: 2px;
}

/* --- Partner Logos Grid --- */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  width: 100%;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 12px;
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  min-height: 70px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary) !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.logo-item:hover {
  border-color: var(--primary-green) !important;
  box-shadow: var(--shadow-md);
}

/* --- Comparison --- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  width: 100%;
}

.compare-bad {
  opacity: 0.5;
  text-decoration: line-through;
  border-color: rgba(239,68,68,0.3) !important;
  background: #FEF2F2 !important;
}

.compare-good {
  border-color: rgba(50,186,119,0.5) !important;
  box-shadow: var(--shadow-green) !important;
  background: var(--bg-green) !important;
}

/* --- Score Bars --- */
.score-bar {
  width: 100%;
  height: 10px;
  background: var(--border-light);
  border-radius: 5px;
  overflow: hidden;
  margin-top: 8px;
}

.score-bar-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 1.5s ease-out;
  width: 0;
}

.slide.active .score-bar-fill { width: var(--fill, 95%); }

/* --- Case Study Card --- */
.case-card {
  background: var(--card-bg) !important;
  border: 2px solid #32BA77 !important;
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 4px 4px 0 0 #28a065;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.case-card:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 0 #28a065;
}

.case-card:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 0 #28a065;
}

.case-card .case-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.case-card .case-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.case-card .case-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.case-result {
  text-align: center;
  padding: 12px 8px;
  border-radius: 10px;
  background: var(--bg-green);
}

.case-result .value {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-green);
}

.case-result .label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* --- CTA Button (marker.io green) --- */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 48px;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--white) !important;
  background: var(--primary-green);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: pulse-cta 2.5s ease-in-out infinite;
}

.cta-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 30px rgba(50,186,119,0.35);
}

/* --- Navigation (light theme) --- */
.nav-progress {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--border-light);
  z-index: 100;
}

.nav-progress-bar {
  height: 100%;
  background: var(--primary-green);
  transition: width 0.4s ease;
}

.nav-dots {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 100;
}

.nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.nav-dot.active {
  background: var(--primary-green);
  transform: scale(1.3);
}

.nav-arrows {
  position: fixed;
  bottom: 20px;
  right: 40px;
  display: flex;
  gap: 8px;
  z-index: 100;
}

.nav-arrow {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 18px;
  box-shadow: var(--shadow-sm);
}

.nav-arrow:hover {
  background: var(--primary-green);
  border-color: var(--primary-green);
  color: var(--white);
}

.slide-counter {
  position: fixed;
  bottom: 24px;
  left: 40px;
  font-size: 14px;
  color: var(--text-muted);
  z-index: 100;
  font-weight: 600;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 0 0 0 rgba(50,186,119,0.3); }
  50% { box-shadow: 0 0 0 12px rgba(50,186,119,0); }
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.6); opacity: 0.4; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes blobFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* --- Language Toggle --- */
.lang-toggle {
  position: absolute;
  top: 28px;
  right: 100px;
  display: flex;
  gap: 4px;
  z-index: 50;
}
.lang-btn {
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.9);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}
.lang-btn:hover {
  background: #E5E7EB;
  color: var(--primary-dark);
}
.lang-btn.active {
  background: var(--primary-green);
  color: white;
  border-color: var(--primary-green);
}
@keyframes draw-line { to { stroke-dashoffset: 0; } }

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Staggered entrance */
.slide.active .anim-item { animation: fadeInUp 0.5s ease forwards; opacity: 0; }
.slide.active .anim-item:nth-child(1) { animation-delay: 0.05s; }
.slide.active .anim-item:nth-child(2) { animation-delay: 0.12s; }
.slide.active .anim-item:nth-child(3) { animation-delay: 0.2s; }
.slide.active .anim-item:nth-child(4) { animation-delay: 0.28s; }
.slide.active .anim-item:nth-child(5) { animation-delay: 0.36s; }
.slide.active .anim-item:nth-child(6) { animation-delay: 0.44s; }
.slide.active .anim-item:nth-child(7) { animation-delay: 0.52s; }
.slide.active .anim-item:nth-child(8) { animation-delay: 0.6s; }

/* --- SVG defaults --- */
svg { display: block; }

.icon-svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sm { width: 24px; height: 24px; }
.icon-md { width: 40px; height: 40px; }
.icon-lg { width: 64px; height: 64px; }
.icon-xl { width: 96px; height: 96px; }

/* --- Cover Slide --- */
.cover-logo {
  width: 200px;
  height: 200px;
  margin-bottom: 30px;
  animation: float 4s ease-in-out infinite;
}

.cover-particles {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.cover-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--primary-green);
  border-radius: 50%;
  opacity: 0.15;
  animation: pulse-dot 3s ease-in-out infinite;
}

/* --- Phone Mockup (light) --- */
.phone-mockup {
  width: 180px;
  height: 320px;
  border: 2px solid var(--border) !important;
  border-radius: 24px;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt) !important;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.phone-notch {
  position: absolute;
  top: 8px;
  width: 60px;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
}

.phone-content {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

/* --- Timeline (light) --- */
.timeline {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 20px 0;
  width: 100%;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 2px;
  background: var(--border);
  transform: translateY(-50%);
}

.timeline-node {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid var(--primary-green);
  background: var(--bg);
}

.timeline-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  max-width: 80px;
}

/* --- Architecture node --- */
.arch-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  border-radius: 12px;
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  min-width: 100px;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

/* --- Contact Slide --- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  color: var(--text-secondary);
}

.contact-item a {
  color: var(--text) !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover { color: var(--primary-green) !important; }

/* --- Misc Utility --- */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--primary-green);
  border-radius: 2px;
  margin: 8px 0;
}

.spacer { height: 20px; }

.section-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary-green) !important;
  font-weight: 700;
  margin-bottom: 8px;
}

/* --- Funnel --- */
.funnel { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; max-width: 600px; }
.funnel-level { display: flex; align-items: center; justify-content: center; padding: 18px 24px; border-radius: 12px; font-weight: 700; font-size: 16px; text-align: center; position: relative; gap: 12px; }
.funnel-level--wide { width: 100%; }
.funnel-level--mid { width: 80%; }
.funnel-level--narrow { width: 60%; }

/* --- Radar Chart --- */
.radar-wrap { position: relative; width: 400px; height: 400px; margin: 0 auto; }

/* --- Force light text for inline color overrides --- */
.slide [style*="color:#fff"],
.slide [style*="color: #fff"],
.slide [style*="color:#FFF"],
.slide [style*="color: #FFF"],
.slide [style*="color: var(--white)"],
.slide [style*="color:var(--white)"] {
  color: var(--text) !important;
}

.slide [style*="color:#A1A1A1"],
.slide [style*="color: #A1A1A1"] {
  color: var(--text-secondary) !important;
}

/* Keep branded accent colors */
.slide [style*="color:#32BA77"] { color: #32BA77 !important; }
.slide [style*="color:#2F55FF"] { color: #2F55FF !important; }
.slide [style*="color:#9B59B6"] { color: #9B59B6 !important; }
.slide [style*="color:#FF7E2D"] { color: #FF7E2D !important; }
.slide [style*="color:#FF4444"] { color: #EF4444 !important; }

/* Force light backgrounds on inline dark styles */
.slide [style*="background:var(--primary-dark)"],
.slide [style*="background: var(--primary-dark)"],
.slide [style*="background:#111"],
.slide [style*="background: #111"] {
  background: var(--bg-alt) !important;
}

/* SVG text color overrides for light theme */
.slide svg text[fill="#fff"],
.slide svg text[fill="#FFFFFF"],
.slide svg text[fill="#FFF"],
.slide svg text[fill="white"] {
  fill: var(--text) !important;
}

.slide svg text[fill="#A1A1A1"] {
  fill: var(--text-muted) !important;
}

/* SVG stroke overrides for cover grid */
.slide svg [stroke="#fff"] {
  stroke: var(--border) !important;
}

/* Background SVG patterns — make subtle on white */
.slide > svg[style*="opacity:0.04"],
.slide > svg[style*="opacity:0.06"] {
  opacity: 0.03 !important;
}

/* --- Print --- */
@media print {
  .slide {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: none;
    page-break-after: always;
    min-height: 100vh;
  }
  .nav-progress, .nav-dots, .nav-arrows, .slide-counter, .cover-particles { display: none; }
}
