/* ==========================================================================
   Skaizentech Premium Glassmorphic Slides - Core Design System
   ========================================================================== */

:root {
  /* HSL Tailored Color Palette */
  --bg-primary: #060813;
  --bg-secondary: #0d1222;
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-dim: #4b5563;

  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-green: #10b981;
  --accent-red: #ef4444;
  --accent-amber: #f59e0b;
  --accent-pink: #ec4899;
  --accent-emerald: #14b8a6;

  /* 4-Section Accent Rotation */
  --section-problem-a: #ef4444;
  --section-problem-b: #f59e0b;
  --section-solution-a: #06b6d4;
  --section-solution-b: #3b82f6;
  --section-proof-a: #8b5cf6;
  --section-proof-b: #ec4899;
  --section-action-a: #10b981;
  --section-action-b: #14b8a6;

  --section-problem-grad: linear-gradient(135deg, var(--section-problem-a), var(--section-problem-b));
  --section-solution-grad: linear-gradient(135deg, var(--section-solution-a), var(--section-solution-b));
  --section-proof-grad: linear-gradient(135deg, var(--section-proof-a), var(--section-proof-b));
  --section-action-grad: linear-gradient(135deg, var(--section-action-a), var(--section-action-b));

  /* Glassmorphism system */
  --glass-bg: rgba(13, 18, 34, 0.45);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-shadow: rgba(0, 0, 0, 0.5);

  /* Typography Scale */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --h1-size: clamp(3rem, 5.5vw, 4.5rem);
  --h2-size: clamp(2rem, 3.4vw, 2.5rem);
  --h3-size: clamp(1.2rem, 2vw, 1.5rem);
  --body-size: clamp(0.95rem, 1.5vw, 1.1rem);
  --hero-stat-size: clamp(3.5rem, 7vw, 6rem);

  --transition-speed: 0.8s;
  --transition-easing: cubic-bezier(0.25, 1, 0.5, 1);
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  body, html { scroll-snap-type: none; }
}

/* Reset & Setup Constraints */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: 1.6;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Moving Gradient Background Orbs */
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -2;
  opacity: 0.25;
  pointer-events: none;
  animation: drift 25s infinite alternate ease-in-out;
}

.bg-orb--1 {
  top: -15%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 80%);
}

.bg-orb--2 {
  bottom: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--accent-blue) 0%, transparent 80%);
  animation-delay: -5s;
  animation-duration: 30s;
}

.bg-orb--3 {
  top: 35%;
  left: 45%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 80%);
  animation-delay: -10s;
  animation-duration: 20s;
}

/* Section-tinted orb variants */
.bg-orb--problem {
  background: radial-gradient(circle, var(--section-problem-a) 0%, transparent 80%) !important;
  opacity: 0.35 !important;
}
.bg-orb--solution {
  background: radial-gradient(circle, var(--section-solution-a) 0%, transparent 80%) !important;
  opacity: 0.35 !important;
}
.bg-orb--proof {
  background: radial-gradient(circle, var(--section-proof-a) 0%, transparent 80%) !important;
  opacity: 0.35 !important;
}
.bg-orb--action {
  background: radial-gradient(circle, var(--section-action-a) 0%, transparent 80%) !important;
  opacity: 0.35 !important;
}

/* Section accent bar at top of every non-cover slide */
.slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-cyan);
  z-index: 50;
  opacity: 0.85;
}
.slide--section-problem::before { background: var(--section-problem-grad); }
.slide--section-solution::before { background: var(--section-solution-grad); }
.slide--section-proof::before { background: var(--section-proof-grad); }
.slide--section-action::before { background: var(--section-action-grad); }

@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(120px, 60px) scale(1.15); }
}

/* Fixed Global Header */
#global-header {
  position: absolute;
  top: 2rem;
  left: 6rem;
  right: 6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 110;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

#global-header .logo-image {
  height: clamp(72px, 8vw, 104px);
  width: auto;
  display: block;
  filter: drop-shadow(0 0 24px rgba(6, 182, 212, 0.3));
}

#global-header .tagline-text {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

/* Glassmorphism System Utility */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 12px 40px var(--glass-shadow);
  border-radius: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.glass:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transform: translateY(-4px);
}

/* Headings & Text Formatting */
.gradient-text {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 50%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

#deck {
  display: flex;
  width: 800%; /* 100% * 8 slides */
  height: 100%;
  transition: transform var(--transition-speed) var(--transition-easing);
}

.slide {
  width: 12.5%; /* 1/8 */
  height: 100%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 6rem;
  position: relative;
  overflow: hidden;
}

/* Standardized Slide Content Canvas */
.slide__content {
  max-width: 1200px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Align content to top of slide */
  align-items: flex-start;
  position: relative;
  padding-top: 5rem; /* Make room for global fixed header */
  padding-bottom: 5.5rem; /* Leave room for nav controls + breathing room */
}

.slide__eyebrow {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.slide__hero-title {
  font-family: var(--font-heading);
  font-size: var(--h1-size);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

/* Standardized PPT-style Slide Title Header */
.slide__title {
  font-family: var(--font-heading);
  font-size: var(--h2-size);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  width: 100%;
  border-bottom: 1.5px solid var(--glass-border);
  padding-bottom: 0.75rem;
  letter-spacing: -0.01em;
  text-align: left;
}

.slide__title-dim {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  text-align: left;
}

.slide__subtitle {
  font-size: var(--body-size);
  color: var(--text-secondary);
  max-width: 700px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

/* Standardized Content Container below Title */
.slide__body-container {
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.slide__body {
  font-size: var(--body-size);
  color: var(--text-secondary);
  max-width: 800px;
  margin-bottom: 2rem;
  text-align: left;
}

.slide__closing {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-top: 1.5rem;
  font-weight: 400;
  text-align: left;
}

.slide__closing strong {
  color: var(--accent-cyan);
}

.slide__closing--warning {
  color: var(--text-secondary);
  border-left: 4px solid var(--accent-red);
  padding-left: 1.5rem;
}

.slide__closing--success {
  color: var(--text-secondary);
  border-left: 4px solid var(--accent-green);
  padding-left: 1.5rem;
}

.slide__footnote {
  font-size: 0.825rem;
  color: var(--text-dim);
  margin-top: 2rem;
  width: 100%;
  text-align: left;
}

/* Global footer — fixed bottom-center, visible on every slide */
.deck-footer {
  position: fixed;
  bottom: 0.4rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: clamp(0.6rem, 0.9vw, 0.85rem);
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  opacity: 0.75;
  z-index: 50;
  pointer-events: none;
  user-select: none;
}

/* Cover and Transition Overrides: Center Align Everything */
.slide--cover .slide__content,
.slide--transition .slide__content {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 0;
}

.slide--cover .slide__content *,
.slide--transition .slide__content * {
  text-align: center;
  align-self: center;
}

/* Slide 1 - Cover Animation */
.slide__cta-hint {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-top: 1rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(6, 182, 212, 0); }
  100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}

/* Cards grids (Slide 2, 6, 8) */
.cards-grid {
  display: grid;
  gap: 2rem;
  width: 100%;
  margin-bottom: 1.5rem;
}

.cards-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.card__icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 1.25rem;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.card__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Slide 3 - Time Sandbox Stopwatch Layout */
.sandbox-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  width: 100%;
  margin-bottom: 1rem;
}

.sandbox-column {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sandbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 0.75rem;
}

.sandbox-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
}

.sandbox-timer {
  font-family: monospace;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  min-width: 120px;
  text-align: center;
}

.sandbox-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sandbox-item {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid transparent;
  transition: all 0.3s ease;
  color: var(--text-secondary);
  font-size: 1rem;
}

.sandbox-item.active {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.2);
  color: var(--text-primary);
}

.sandbox-item.done {
  background: rgba(16, 185, 129, 0.04);
  border-color: rgba(16, 185, 129, 0.12);
  color: var(--text-dim);
  text-decoration: line-through;
}

.sandbox-item.done .step-time {
  color: var(--accent-green);
  text-decoration: none;
}

.step-time {
  font-weight: 600;
  font-size: 0.9rem;
}

.sandbox-total {
  margin-top: auto;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sandbox-total strong {
  font-size: 1.35rem;
}

/* Slide 4 & 9 - Timelines (Before / After) */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
}

.timeline--red::before {
  background: linear-gradient(to bottom, var(--accent-red), transparent);
}

.timeline--green::before {
  background: linear-gradient(to bottom, var(--accent-green), transparent);
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: baseline;
  padding-left: 1.25rem;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 0.4rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  border-width: 2px;
  border-style: solid;
}

.timeline--red .timeline__item::before {
  border-color: var(--accent-red);
}

.timeline--green .timeline__item::before {
  border-color: var(--accent-green);
}

.timeline__time {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
}

.timeline--red .timeline__time {
  color: var(--accent-red);
}

.timeline--green .timeline__time {
  color: var(--accent-green);
}

.timeline__text {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Slide 5 - Transition Diagram container */
.diagram-container {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.transition-diagram-img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  border-radius: 8px;
}

/* Slide 5 — Manual vs Automated shift container (high contrast) */
.shift-container {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  width: 100%;
  align-items: stretch;
  min-height: 380px;
}

.shift-side {
  padding: 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.shift-side--manual {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(127, 29, 29, 0.18));
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.shift-side--auto {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.10), rgba(6, 182, 212, 0.18));
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.08);
}

.shift-side__header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0.75rem;
}

.shift-side__label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.shift-side--manual .shift-side__label { color: var(--accent-red); }
.shift-side--auto .shift-side__label { color: var(--accent-green); }

.shift-side__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.shift-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex-grow: 1;
}

.shift-step {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
}

.shift-steps--manual .shift-step {
  border-color: rgba(239, 68, 68, 0.12);
  color: var(--text-secondary);
}

.shift-steps--auto .shift-step {
  border-color: rgba(16, 185, 129, 0.15);
  color: var(--text-primary);
}

.shift-step__name {
  font-weight: 500;
}

.shift-step__time {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.shift-steps--manual .shift-step__time { color: var(--accent-red); }
.shift-steps--auto .shift-step__time { color: var(--accent-green); }

.shift-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin-top: 0.5rem;
}

.shift-total--manual {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.shift-total--auto {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.12);
}

.shift-total__label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

.shift-total__value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}
.shift-total--manual .shift-total__value { color: var(--accent-red); }
.shift-total--auto .shift-total__value { color: var(--accent-green); }

.shift-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.shift-divider::before {
  content: "";
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.15), transparent);
}
.shift-arrow {
  font-size: 2.5rem;
  color: var(--accent-cyan);
  background: var(--bg-primary);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.4);
  z-index: 1;
  position: relative;
  font-weight: 700;
  animation: pulseArrow 1.5s infinite alternate ease-in-out;
}

.shift-closing {
  margin-top: 1.5rem !important;
  text-align: center;
  font-size: 1.35rem;
  color: var(--text-secondary);
}
.shift-closing strong {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* Slide 7 - Founder Split Layout */
.split-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  width: 100%;
  align-items: center;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefit-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 1.5rem;
}

.benefit-row__icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.benefit-row__text {
  font-size: 1.05rem;
  color: var(--text-primary);
}

.benefits-visual {
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.benefits-visual-img {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
}

/* Slide 10 - How It Works / Preset Simulator Layout */
.pipeline-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 2rem 3rem;
  margin-bottom: 2rem;
}

.pipeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  transition: transform 0.3s ease;
}

.node-icon-wrapper {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px dashed var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
}

.node-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.pipeline-node.active {
  transform: scale(1.08);
}

.pipeline-node.active .node-icon-wrapper {
  background: rgba(59, 130, 246, 0.15);
  border-color: var(--accent-blue);
  border-style: solid;
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.35);
}

.pipeline-arrow {
  font-size: 1.5rem;
  color: var(--text-dim);
  animation: pulseArrow 1.5s infinite alternate ease-in-out;
}

@keyframes pulseArrow {
  0% { opacity: 0.3; transform: translateX(-5px); }
  100% { opacity: 0.8; transform: translateX(5px); }
}

.presets-row {
  width: 100%;
  text-align: center;
  margin-bottom: 1.5rem;
}

.presets-label {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.preset-buttons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}

.preset-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.preset-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.preset-btn.active {
  background: rgba(6, 182, 212, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.25);
}

.simulator-result-wrapper {
  width: 100%;
  min-height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.result-card {
  width: 100%;
  max-width: 600px;
  padding: 1.5rem 2rem;
  animation: cardReveal 0.5s var(--transition-easing) forwards;
}

@keyframes cardReveal {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.result-card__header h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
}

.result-domain-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.badge {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.20);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.result-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
}

.field-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.field-value {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* Slide 11 - Why Now Urgency Grid */
.urgency-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.urgency-card {
  padding: 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.urgency-card__icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin-bottom: 1.25rem;
}

.urgency-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.urgency-card__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Slide 12 - Booking Form Split Layout */
.cta-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  width: 100%;
  align-items: center;
}

.cta-visual-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.visual-wrapper {
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.cta-visual-img {
  max-width: 100%;
  max-height: 230px;
  object-fit: contain;
}

#booking-form-area {
  width: 100%;
  max-width: 550px;
  margin-top: 1rem;
}

#booking-form {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.06);
}

.btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.25);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.35);
}

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

#booking-success {
  text-align: center;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  animation: fadeIn 0.5s ease forwards;
}

.success-icon {
  width: 54px;
  height: 54px;
  background-color: rgba(16, 185, 129, 0.1);
  border: 2px solid var(--accent-green);
  border-radius: 50%;
  color: var(--accent-green);
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hidden {
  display: none !important;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* Confetti Canvas Container */
#confetti-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99;
  pointer-events: none;
}

/* Slide Deck Controls and Indicators */
#progress-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background-color: rgba(255, 255, 255, 0.04);
  z-index: 100;
}

#progress-fill {
  height: 100%;
  width: 12.5%; /* 1/8 default */
  background: linear-gradient(to right, var(--accent-cyan), var(--accent-purple));
  transition: width 0.6s var(--transition-easing);
}

#controls {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2rem;
  z-index: 100;
}

.nav-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.nav-btn:hover {
  background: var(--bg-secondary);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: scale(1.05);
}

.nav-btn:disabled {
  opacity: 0.2;
  cursor: not-allowed;
  transform: none;
}

#dots {
  display: flex;
  gap: 0.65rem;
}

.dot {
  width: 9px;
  height: 9px;
  background-color: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Right-edge vertical dot strip (portrait mobile only — hidden by default) */
.nav-dots-vertical {
  display: none;
  list-style: none;
  margin: 0;
}
.nav-dot-v {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  padding: 0.5rem;
  margin: -0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
}
.nav-dot-v.is-active {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.6);
  width: 8px;
  height: 24px;
  border-radius: 4px;
}

.dot:hover {
  background-color: rgba(255, 255, 255, 0.35);
}

.dot.active {
  background-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
  transform: scale(1.2);
}

/* Focus-visible rings for keyboard users */
.nav-btn:focus-visible,
.dot:focus-visible,
.nav-dot-v:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

#slide-counter {
  position: absolute;
  bottom: 1.5rem;
  right: 6rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dim);
  z-index: 100;
  letter-spacing: 0.05em;
}

#current-num {
  color: var(--text-primary);
}

/* Staggered Content Reveal Animation System */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--transition-easing), transform 0.6s var(--transition-easing);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Email Draft Box */
.email-draft-box {
  grid-column: span 2;
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px dashed var(--glass-border);
  text-align: left;
}
.email-draft-header {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding-bottom: 0.4rem;
}
.email-draft-subject {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}
.email-draft-body {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  white-space: pre-wrap;
}

/* Responsive projector size adjustments */
@media (max-height: 800px) {
  .slide {
    padding: 2.5rem 4rem;
  }
  .slide__content {
    padding-top: 5.5rem; /* reduce padding slightly on small viewports */
  }
  .slide__hero-title {
    margin-bottom: 1rem;
  }
  .slide__title {
    margin-bottom: 1.25rem;
  }
  .slide__subtitle {
    margin-bottom: 1.5rem;
  }
  .cards-grid, .sandbox-container, .split-layout, .pipeline-row, .urgency-grid, .cta-layout {
    gap: 1.25rem;
  }
  .card, .sandbox-column, .benefit-row, .dept-card, .benefits-visual, .result-card, .urgency-card, #booking-form {
    padding: 1.5rem 1.25rem;
  }
  .pipeline-row {
    padding: 1.25rem 2rem;
    margin-bottom: 1.25rem;
  }
  .node-icon-wrapper {
    width: 60px;
    height: 60px;
  }
  .node-icon {
    width: 28px;
    height: 28px;
  }
  .transition-diagram-img {
    max-height: 320px;
  }
  .benefits-visual-img {
    max-height: 230px;
  }
  .cta-visual-img {
    max-height: 200px;
  }
  #booking-form-area {
    margin-top: 0.5rem;
  }
}

/* ==========================================================================
   NEW COMPONENT LIBRARY — Capabilities, Hero Stats, Case Study, QR, Pricing
   ========================================================================== */

/* Hero Stat — single huge number, eyebrow above, label below */
.hero-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: clamp(0.65rem, 1.2vw, 1rem) clamp(1rem, 2vw, 1.5rem);
  border-left: 4px solid var(--accent-red);
  background: rgba(239, 68, 68, 0.04);
  border-radius: 0 12px 12px 0;
  width: 100%;
  min-height: clamp(190px, 22vw, 260px);
  cursor: help;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}
.hero-stat__eyebrow {
  font-family: var(--font-heading);
  font-size: clamp(0.65rem, 0.95vw, 0.85rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-red);
}
.hero-stat__number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Default + hover layer (slide 2 stats row) */
.hero-stat__layers {
  position: relative;
  flex-grow: 1;
  min-height: 70px;
  display: block;
  margin-top: 0.1rem;
}
.hero-stat__layer {
  transition: opacity 0.25s ease, transform 0.25s ease;
  display: flex;
  align-items: center;
}
/* Both layers absolutely positioned in the layers container so they crossfade cleanly */
.hero-stat__layer--default,
.hero-stat__layer--hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}
.hero-stat__layer--default {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.hero-stat__layer--hover {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}
.hero-stat__narrative {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-primary);
  font-weight: 400;
}
.hero-stat__bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.3rem, 0.6vw, 0.5rem);
  font-size: clamp(0.72rem, 1.1vw, 0.95rem);
  line-height: 1.4;
  color: var(--text-primary);
}
.hero-stat__bullets li {
  position: relative;
  padding-left: clamp(0.75rem, 1.4vw, 1rem);
}
.hero-stat__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: clamp(4px, 0.7vw, 6px);
  height: clamp(4px, 0.7vw, 6px);
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}
.hero-stat__narrative strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* Per-color hover glow */
.hero-stat--red:hover,
.hero-stat--red:focus-within,
.hero-stat--red.is-tapped {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--accent-red), 0 12px 30px rgba(239, 68, 68, 0.2);
}
.hero-stat--amber:hover,
.hero-stat--amber:focus-within,
.hero-stat--amber.is-tapped {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--accent-amber), 0 12px 30px rgba(245, 158, 11, 0.2);
}
.hero-stat--green:hover,
.hero-stat--green:focus-within,
.hero-stat--green.is-tapped {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--accent-green), 0 12px 30px rgba(16, 185, 129, 0.2);
}

/* Swap layers on hover/focus/tap */
.hero-stat:hover .hero-stat__layer--default,
.hero-stat:focus-within .hero-stat__layer--default,
.hero-stat.is-tapped .hero-stat__layer--default {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}
.hero-stat:hover .hero-stat__layer--hover,
.hero-stat:focus-within .hero-stat__layer--hover,
.hero-stat.is-tapped .hero-stat__layer--hover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Hide focus outline (we use the box-shadow as focus indicator) */
.hero-stat:focus { outline: none; }
.hero-stat:focus-visible { outline: 2px dashed rgba(255,255,255,0.3); outline-offset: 2px; }
.hero-stat__label {
  font-size: clamp(0.78rem, 1.2vw, 0.95rem);
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.3;
}
.hero-stat--amber { border-left-color: var(--accent-amber); background: rgba(245, 158, 11, 0.04); }
.hero-stat--amber .hero-stat__eyebrow { color: var(--accent-amber); }
.hero-stat--amber .hero-stat__number {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-amber) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stat--green { border-left-color: var(--accent-green); background: rgba(16, 185, 129, 0.04); }
.hero-stat--green .hero-stat__eyebrow { color: var(--accent-green); }
.hero-stat--green .hero-stat__number {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stat--cyan { border-left-color: var(--accent-cyan); background: rgba(6, 182, 212, 0.04); }
.hero-stat--cyan .hero-stat__eyebrow { color: var(--accent-cyan); }
.hero-stat--cyan .hero-stat__number {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stat--purple { border-left-color: var(--accent-purple); background: rgba(139, 92, 246, 0.04); }
.hero-stat--purple .hero-stat__eyebrow { color: var(--accent-purple); }
.hero-stat--purple .hero-stat__number {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Stat row container — 3-card row on slide 2 */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  width: 100%;
  margin-bottom: 1rem;
}

/* Legacy vertical stack — kept for backwards compat */
.stats-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  margin-bottom: 0.5rem;
}
.stat-progress {
  height: 3px;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.2rem;
}
.stat-progress__fill {
  height: 100%;
  background: var(--accent-red);
  border-radius: 4px;
  width: 0;
  transition: width 1.2s var(--transition-easing);
}
.stat-progress__fill--amber { background: var(--accent-amber); }
.stat-progress__fill--green { background: var(--accent-green); }

/* Wake-up number callout */
.wakeup {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  font-weight: 500;
  color: var(--text-primary);
  margin-top: 0.75rem;
  padding: 0.9rem 1.5rem;
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--accent-amber);
  border-radius: 0 12px 12px 0;
  background: rgba(245, 158, 11, 0.05);
  line-height: 1.4;
  width: 100%;
}
.wakeup strong { color: var(--accent-amber); font-weight: 700; }

/* Bar Chart */
.bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 2rem;
  height: 380px;
  width: 100%;
  padding: 3rem 1rem 0 1rem;
  border-bottom: 1px solid var(--glass-border);
  position: relative;
}
.bar-chart__bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  height: 100%;
  justify-content: flex-end;
  position: relative;
}
.bar-chart__bar {
  width: 100%;
  max-width: 110px;
  background: var(--accent-red);
  border-radius: 8px 8px 0 0;
  height: 0;
  transition: height 1.2s var(--transition-easing);
  position: relative;
}
.bar-chart__bar--hybrid { background: var(--accent-amber); }
.bar-chart__bar--auto { background: var(--accent-green); }
.bar-chart__value {
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  white-space: nowrap;
}
.bar-chart__label {
  position: absolute;
  bottom: -1.75rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  width: 100%;
  white-space: nowrap;
}
.bar-chart__caption {
  position: absolute;
  top: -1.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

/* Source citation */
.source-cite {
  font-size: 0.65rem;
  color: var(--text-dim);
  text-align: center;
  width: 100%;
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

/* Pattern Loop — 4 step columns + 3 swimlane rows */
.pattern-loop {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 0.5rem;
  width: 100%;
  align-items: stretch;
}
.pattern-loop__header {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  padding: 0.75rem 0.5rem;
  display: flex;
  align-items: center;
}
.pattern-loop__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  border-radius: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  text-align: center;
}
.pattern-loop__step-num {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.1em;
}
.pattern-loop__step-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}
.pattern-loop__lane {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  background: rgba(255,255,255,0.015);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.pattern-loop__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent-cyan);
}
.pattern-loop__cell-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
  padding: 0 0.25rem;
}

/* Capabilities Matrix (slide 6) */
.cap-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
}
.cap-cell {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}
.cap-cell::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.cap-cell--sales::before { background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue)); }
.cap-cell--content::before { background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink)); }
.cap-cell--ops::before { background: linear-gradient(90deg, var(--accent-amber), var(--accent-red)); }
.cap-cell--infra::before { background: linear-gradient(90deg, var(--accent-green), var(--accent-emerald)); }
.cap-cell__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
}
.cap-cell__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}
.cap-cell__projects {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 0.5rem;
}
.cap-chip {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
}
.cap-cell__stat {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-top: auto;
  padding-top: 0.5rem;
}
.cap-cell__stat--purple { color: var(--accent-purple); }
.cap-cell__stat--amber { color: var(--accent-amber); }
.cap-cell__stat--green { color: var(--accent-green); }

/* Build Process Flow (slide 7) */
.process-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  width: 100%;
}
.process-step {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}
.process-step__week {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
}
.process-step__name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
}
.process-step__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.process-step__num {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(6, 182, 212, 0.15);
  line-height: 1;
}

/* Engagement Models (slide 8) */
.engagement-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
}
.engagement-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
  position: relative;
  border-top: 3px solid var(--accent-cyan);
}
.engagement-card:nth-child(2) { border-top-color: var(--accent-blue); }
.engagement-card:nth-child(3) { border-top-color: var(--accent-purple); }
.engagement-card__name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}
.engagement-card__duration {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.engagement-card__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 0.5rem;
}
.engagement-card__list {
  list-style: none;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.engagement-card__list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
}
.engagement-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 700;
}
.engagement-footnote {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 1.5rem;
  font-style: italic;
  text-align: center;
  width: 100%;
}

/* Case Study Quadrant (slide 9) */
.case-study {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
  width: 100%;
}
.case-study__profile {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.case-study__speed {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.case-study__chart {
  padding: 1.75rem;
  grid-column: span 1;
  min-height: 240px;
}
.case-study__payback {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(236,72,153,0.08));
  border: 1px solid rgba(139,92,246,0.2);
}
.case-study__payback-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.case-study__payback-label {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}
.case-study__profile-logo {
  width: 140px;
  height: auto;
  max-height: 60px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-bottom: 0.5rem;
}
.case-study__profile-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.case-study__profile-meta strong {
  color: var(--text-primary);
  font-weight: 600;
}
.case-study__input-strip {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}
.case-study__subhead {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}
.case-study__subhead--muted {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}
.input-chip {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.25);
  color: var(--accent-purple);
}
.speed-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
}
.speed-row__label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
}
.speed-row__time {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--accent-cyan);
}
.kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.kpi-tile {
  padding: 0.75rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  text-align: center;
}
.kpi-tile__from {
  font-size: 0.95rem;
  color: var(--accent-red);
  text-decoration: line-through;
  font-weight: 500;
}
.kpi-tile__to {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-green);
  line-height: 1.1;
}
.kpi-tile__label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* Line chart container */
.line-chart {
  width: 100%;
  height: 100%;
  min-height: 180px;
  position: relative;
}
.line-chart svg { width: 100%; height: 100%; display: block; }
.line-chart__caption {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Portfolio Wall (slide 10) */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  width: 100%;
}
.portfolio-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}
.portfolio-card__logo {
  height: 36px;
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.portfolio-card__logo img {
  height: 32px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}
.portfolio-card__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
  min-height: 2.4em;
}
.portfolio-card__stat {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-top: 0.5rem;
}
.portfolio-card__stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
}

/* Trust Signals (slide 11) */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  margin-bottom: 1.5rem;
}
.trust-tile {
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.trust-tile__num {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  background: var(--section-proof-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.trust-tile__label {
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
  margin-top: 0.5rem;
}
.testimonial {
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}
.testimonial__quote {
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.55;
  font-style: italic;
}
.testimonial__quote::before {
  content: "\201C";
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--accent-pink);
  line-height: 0;
  vertical-align: -0.2em;
  margin-right: 0.25rem;
}
.testimonial__attr {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 600;
}

/* 3-block "what you'll leave with" (slide 12) */
.leave-with {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
}
.leave-with__step {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}
.leave-with__num {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-emerald));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.leave-with__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
}
.leave-with__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Pricing Tiers (slide 13) */
.pricing-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
}
.pricing-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  border-top: 3px solid var(--accent-green);
}
.pricing-card:nth-child(2) { border-top-color: var(--accent-emerald); }
.pricing-card:nth-child(3) { border-top-color: var(--accent-cyan); }
.pricing-card__name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}
.pricing-card__duration {
  font-size: 0.8rem;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.pricing-card__price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0.5rem 0;
}
.pricing-card__price--big {
  font-size: 3.25rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin: 0.5rem 0 0.25rem 0;
}
.pricing-card__subprice {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.pricing-card__headline {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.4;
  margin: 0.5rem 0 0.75rem;
}
.pricing-card--featured {
  border-top: 3px solid var(--accent-cyan);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.06), rgba(59, 130, 246, 0.04));
  box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.15), 0 12px 40px rgba(6, 182, 212, 0.1);
}
.pricing-card--featured:hover {
  border-top-color: var(--accent-cyan);
  box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.3), 0 20px 50px rgba(6, 182, 212, 0.18);
}
.pricing-card__list {
  list-style: none;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.pricing-card__list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
}
.pricing-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 700;
}

/* QR Card (slide 14) */
.cta-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  width: 100%;
  align-items: center;
}
.qr-card {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  border: 2px solid rgba(6, 182, 212, 0.25);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.06), rgba(59, 130, 246, 0.04));
  position: relative;
}
.qr-card__img {
  width: 240px;
  height: 240px;
  background: #fff;
  border-radius: 8px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.qr-card__caption {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.cta-right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}
.cta-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}
.cta-subtext {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.cta-email {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 10px;
  background: rgba(6, 182, 212, 0.05);
  transition: all 0.25s ease;
  align-self: flex-start;
}
.cta-email:hover {
  background: rgba(6, 182, 212, 0.12);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}
.cta-email svg { width: 18px; height: 18px; }
.trust-chips {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding: 0.4rem 0.85rem;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 20px;
  font-weight: 500;
}
.trust-chip::before {
  content: "✓";
  color: var(--accent-green);
  font-weight: 700;
}

/* Cover badge row */
.cover-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.7rem;
  margin-bottom: 2rem;
}
.cover-logo {
  display: block;
  height: clamp(96px, 12vw, 140px);
  width: auto;
  filter: drop-shadow(0 0 24px rgba(6, 182, 212, 0.4));
}
.cover-eyebrow {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
  margin: 0;
}
.cover-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.cover-badge {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.cover-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

/* Count-up animation */
.count-up { display: inline-block; }

/* Verify tag */
.verify-tag {
  display: inline-block;
  font-size: 0.65rem;
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Section header pill (small label per slide indicating section) */
.section-pill {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 0.6rem;
}
.section-pill--problem { background: rgba(239, 68, 68, 0.1); color: var(--accent-red); border: 1px solid rgba(239, 68, 68, 0.3); }
.section-pill--solution { background: rgba(6, 182, 212, 0.1); color: var(--accent-cyan); border: 1px solid rgba(6, 182, 212, 0.3); }
.section-pill--proof { background: rgba(139, 92, 246, 0.1); color: var(--accent-purple); border: 1px solid rgba(139, 92, 246, 0.3); }
.section-pill--action { background: rgba(16, 185, 129, 0.1); color: var(--accent-green); border: 1px solid rgba(16, 185, 129, 0.3); }

/* ==========================================================================
   PORTRAIT MOBILE & TABLET — Vertical scroll, 1-col stacks
   Replaces the previous "force rotation" overlay with real responsive
   behavior: each slide is a full-viewport section, content scrolls inside,
   and a right-edge dot strip replaces the bottom-center nav.
   ========================================================================== */

@media (orientation: portrait) and (max-width: 768px) {

  /* Reset body overflow so vertical scroll works (body is the scroll container) */
  body {
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
    scroll-snap-type: y mandatory;
  }

  /* Fluid type scale tuned for narrow viewports */
  :root {
    --h1-size: clamp(1.6rem, 7vw, 2.4rem);
    --h2-size: clamp(1.3rem, 5vw, 1.8rem);
    --h3-size: clamp(1rem, 3.5vw, 1.3rem);
    --body-size: clamp(0.85rem, 2.8vw, 1rem);
    --hero-stat-size: clamp(1.8rem, 7vw, 2.6rem);
  }

  /* Slider flips: each slide becomes a full-viewport snap section */
  #deck {
    display: block;
    width: 100%;
    height: auto;
    transform: none !important;
    transition: none;
  }
  .slide {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    flex-shrink: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 4.5rem 1.25rem 6rem;
    align-items: flex-start;
  }
  .slide__content {
    max-width: 100%;
    padding: 0;
  }

  /* All multi-col grids stack to a single column */
  .stats-row,
  .shift-container,
  .pattern-loop,
  .cap-matrix,
  .process-flow,
  .engagement-row,
  .case-study,
  .kpi-grid,
  .portfolio-grid,
  .trust-grid,
  .testimonials,
  .leave-with,
  .pricing-row,
  .cta-layout {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  /* The shift comparison's middle divider column disappears on phone */
  .shift-divider {
    display: none;
  }

  /* Bar chart stacks vertically (its labels sit below each bar) */
  .bar-chart {
    flex-direction: column;
    align-items: center;
    height: auto;
    gap: 0.5rem;
  }
  .bar-chart__bar-wrap {
    width: 100%;
    max-width: 220px;
  }

  /* Fluid media */
  .qr-card__img {
    width: min(220px, 70%);
    aspect-ratio: 1 / 1;
    margin: 0 auto;
  }
  .case-study__chart {
    min-height: 160px;
    padding: 0.75rem;
  }
  .visual-wrapper img,
  .transition-diagram-img,
  .benefits-visual-img,
  .cta-visual-img {
    max-width: 100%;
    height: auto;
  }

  /* Header & progress strip */
  .global-header {
    padding: 0.6rem 1rem;
    font-size: 0.7rem;
  }
  #progress { height: 3px; }
  #slide-counter {
    top: 0.6rem;
    right: 1rem;
    font-size: 0.75rem;
  }

  /* Background orbs: smaller, less blur (mobile GPU) */
  .bg-orb {
    transform: scale(0.5);
    transform-origin: top left;
    filter: blur(80px);
  }

  /* Tap targets: bump nav buttons to 44px, dots to 10px */
  .nav-btn {
    width: 44px;
    height: 44px;
  }
  .dot {
    width: 10px;
    height: 10px;
  }

  /* Hide the bottom-center nav, show the right-edge dot strip */
  #dots,
  #btn-prev,
  #btn-next { display: none; }
  .nav-dots-vertical {
    position: fixed;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 100;
    padding: 0.5rem 0.4rem;
  }

  /* CTA slide stacks the QR below the copy, centers everything */
  .cta-layout {
    text-align: center;
  }
  .cta-qr {
    margin: 1.5rem auto 0;
  }

  /* Process flow connector arrows lose their left/right offsets */
  .process-arrow { display: none; }
}

/* Slightly denser on larger portrait tablets (481-768px) */
@media (orientation: portrait) and (min-width: 481px) and (max-width: 768px) {
  .portfolio-grid,
  .engagement-row,
  .leave-with,
  .testimonials {
    grid-template-columns: 1fr 1fr !important;
  }
  .stats-row { grid-template-columns: 1fr 1fr 1fr !important; }
}

/* ==========================================================================
   MOBILE LANDSCAPE — Scaled slide deck (keeps horizontal navigation)
   Targets landscape phones & small tablets (max-height ≤ 500px keeps it
   phone-only; tablets in landscape are tall enough to use desktop layout).
   ========================================================================== */

@media (max-width: 1024px) and (orientation: landscape) {

  /* --- Root scale-down --- */
  :root {
    --h1-size: clamp(1.4rem, 4vw, 2rem);
    --h2-size: clamp(1.1rem, 3vw, 1.4rem);
    --h3-size: clamp(0.85rem, 2vw, 1rem);
    --body-size: clamp(0.7rem, 1.4vw, 0.85rem);
    --hero-stat-size: clamp(1.8rem, 5vw, 2.8rem);
  }

  /* --- Layout --- */
  .slide {
    padding: 1rem 1.5rem;
  }

  .slide__content {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    max-width: 100%;
  }

  /* --- Header --- */
  #global-header {
    top: 0.5rem;
    left: 1.5rem;
    right: 1.5rem;
  }

  #global-header .logo-image {
    height: 60px;
  }

  #global-header .tagline-text {
    font-size: 0.6rem;
  }

  /* --- Slide titles --- */
  .slide__eyebrow {
    font-size: 0.7rem;
    margin-bottom: 0.3rem;
    letter-spacing: 0.1em;
  }

  .slide__hero-title {
    margin-bottom: 0.6rem;
    line-height: 1.2;
  }

  .slide__title {
    font-size: var(--h2-size);
    margin-bottom: 0.6rem;
    padding-bottom: 0.4rem;
  }

  .slide__title-dim {
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
  }

  .slide__subtitle {
    margin-bottom: 1rem;
    max-width: 100%;
  }

  /* --- Section pills --- */
  .section-pill {
    font-size: 0.55rem;
    padding: 0.2rem 0.6rem;
    margin-bottom: 0.3rem;
  }

  /* --- Glass cards --- */
  .glass {
    border-radius: 10px;
    padding: 0.75rem;
  }

  .glass:hover {
    transform: none;
  }

  /* --- Cover badges --- */
  .cover-badges {
    gap: 0.4rem;
    margin-bottom: 0.75rem;
  }

  .cover-badge {
    font-size: 0.6rem;
    padding: 0.25rem 0.6rem;
  }

  /* --- Hero stats --- */
  .hero-stat {
    padding: 0.6rem 0.75rem;
  }

  .hero-stat__number {
    font-size: var(--hero-stat-size);
  }

  .hero-stat__label {
    font-size: 0.65rem;
  }

  /* --- Grids: collapse to fewer columns --- */
  .cap-matrix,
  .process-flow,
  .engagement-row,
  .trust-grid,
  .pricing-row,
  .portfolio-grid,
  .pattern-loop,
  .leave-with {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.6rem !important;
  }

  .testimonials,
  .cta-layout,
  .case-study {
    grid-template-columns: 1fr !important;
    gap: 0.6rem !important;
  }

  /* --- Card content --- */
  .card,
  .dept-card,
  .result-card,
  .urgency-card,
  .sandbox-column {
    padding: 0.6rem 0.75rem !important;
  }

  .card__title,
  .dept-card h4 {
    font-size: 0.8rem;
  }

  .card__body,
  .dept-card p {
    font-size: 0.7rem;
  }

  .card__icon {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
  }

  /* --- Pipeline row (slide 10 simulator) --- */
  .pipeline-row {
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
  }

  .node-icon-wrapper {
    width: 36px;
    height: 36px;
  }

  .node-icon {
    width: 18px;
    height: 18px;
  }

  .node-label {
    font-size: 0.6rem;
  }

  /* --- Images --- */
  .transition-diagram-img,
  .benefits-visual-img,
  .cta-visual-img {
    max-height: 120px;
  }

  /* --- Timeline (slide 5) --- */
  .timeline__item {
    grid-template-columns: 70px 1fr;
    padding-left: 0.75rem;
  }

  .timeline__item::before {
    left: -12px;
    width: 8px;
    height: 8px;
  }

  /* --- Bar charts --- */
  .bar-chart {
    height: 120px;
    gap: 0.5rem;
  }

  .bar-chart__label {
    font-size: 0.55rem;
  }

  /* --- Stat progress bars --- */
  .stat-progress {
    height: 6px;
  }

  /* --- Split layouts --- */
  .split-layout {
    gap: 0.75rem;
  }

  /* --- Email draft box --- */
  .email-draft-box {
    grid-column: span 1;
    padding: 0.6rem 0.75rem;
    margin-top: 0.5rem;
  }

  .email-draft-header {
    font-size: 0.6rem;
    margin-bottom: 0.3rem;
    padding-bottom: 0.2rem;
  }

  .email-draft-subject {
    font-size: 0.7rem;
    margin-bottom: 0.25rem;
  }

  .email-draft-body {
    font-size: 0.65rem;
    line-height: 1.4;
  }

  /* --- Navigation controls --- */
  #controls {
    bottom: 0.4rem;
    gap: 0.5rem;
  }

  .nav-btn {
    width: 32px;
    height: 32px;
  }

  .nav-btn svg {
    width: 16px;
    height: 16px;
  }

  .dot {
    width: 6px;
    height: 6px;
  }

  /* --- Slide counter: hide on small landscape --- */
  #slide-counter {
    display: none;
  }

  /* --- Progress bar --- */
  #progress-track {
    height: 2px;
  }

  /* --- Booking form (CTA slide) --- */
  #booking-form input,
  #booking-form select {
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
  }

  #booking-form .btn--primary {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }

  /* --- Case study chart --- */
  .case-study__chart {
    min-height: 140px;
  }

  /* --- Accent bar at top of slide --- */
  .slide::before {
    height: 2px;
  }

  /* --- Background orbs: reduce for perf --- */
  .bg-orb {
    filter: blur(80px);
    opacity: 0.15;
  }

  .bg-orb--1 { width: 300px; height: 300px; }
  .bg-orb--2 { width: 350px; height: 350px; }
  .bg-orb--3 { width: 250px; height: 250px; }

  /* --- Comparison table --- */
  .comparison-table th,
  .comparison-table td {
    padding: 0.3rem 0.5rem;
    font-size: 0.65rem;
  }

  /* --- Visual wrapper images --- */
  .visual-wrapper img {
    max-height: 100px;
  }
}

/* Very small landscape phones (height ≤ 400px, e.g. iPhone SE landscape) */
@media (max-height: 400px) and (orientation: landscape) {
  .slide {
    padding: 0.5rem 1rem;
  }

  .slide__content {
    padding-top: 2rem;
    padding-bottom: 1.5rem;
  }

  .slide__hero-title {
    font-size: clamp(1.1rem, 3.5vw, 1.6rem);
  }

  .cap-matrix,
  .process-flow,
  .engagement-row,
  .trust-grid,
  .pricing-row,
  .portfolio-grid,
  .pattern-loop,
  .leave-with {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.4rem !important;
  }
}

/* --- Redesigned Slide 2 Stats (Always Visible Details) --- */
.stats-row--redesigned {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
}

.hero-stat__details {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-dim);
  text-align: left;
}

.hero-stat__bullets {
  margin-top: 0.75rem;
  padding-left: 1.2rem;
  list-style-type: disc;
}

.hero-stat__bullets li {
  margin-bottom: 0.5rem;
  line-height: 1.4;
  color: var(--text-dim);
}

/* --- Compact Loop for Slide 4 --- */
.pattern-loop--compact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  gap: 1.5rem;
}

.pattern-loop--compact .pattern-loop__header {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-right: 1rem;
}

.pattern-loop--compact .pattern-loop__step {
  flex: 1;
}

/* --- Combined Slide 8 Layout --- */
.pricing-cta-layout {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.pricing-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
}

.pricing-row .pricing-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 1.25rem 1.25rem 1.1rem;
  gap: 0.35rem;
}

.pricing-row .pricing-card__name {
  font-size: 1.2rem;
}

.pricing-row .pricing-card__headline {
  font-size: 0.85rem;
  margin: 0.25rem 0 0.5rem;
  line-height: 1.35;
}

.pricing-row .pricing-card__list {
  font-size: 0.78rem;
  margin-top: 0.4rem;
  gap: 0.35rem;
}

.pricing-row .pricing-card__list li {
  line-height: 1.35;
}

.cta-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem 2rem;
  border: 2px solid var(--accent-green) !important;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.15);
}

.cta-row .qr-card {
  border: none;
  background: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

.cta-row .qr-card__img {
  width: 140px;
  height: 140px;
}

.cta-details .cta-headline {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.cta-details .cta-subtext {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.cta-details .cta-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-green);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.cta-details .cta-email:hover {
  border-bottom-color: var(--accent-green);
  filter: brightness(1.2);
}

.cta-details .cta-email svg {
  width: 20px;
  height: 20px;
}.amvc-logo-wrapper {
  display: inline-block;
  width: 100px;
  height: 36px;
  overflow: hidden;
  position: relative;
  vertical-align: middle;
  background: #ffffff;
  border-radius: 6px;
  box-sizing: border-box;
}

.amvc-logo-wrapper img {
  position: absolute;
  left: 4px;
  top: 4px;
  height: calc(100% - 8px) !important;
  width: auto !important;
  max-width: none !important;
}

@media (max-width: 1024px) {
  .pricing-cta-layout {
    flex-direction: column;
  }
  .pricing-row {
    grid-template-columns: 1fr;
  }
  .cta-row {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cta-row .qr-card {
    margin: 0 auto;
  }
}


/* --- Slide 1 Target Audience Cards --- */
.target-audiences {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 960px;
  margin: 2rem 0;
}

.audience-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.audience-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 25px rgba(6, 182, 212, 0.1);
}

.audience-card__icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.audience-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.audience-card__desc {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-dim);
}

@media (max-width: 768px) {
  .target-audiences {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
  }
}


/* ==========================================================================
   Print Styles for PDF Export
   ========================================================================== */
@media print {
  @page {
    size: landscape;
    margin: 0;
  }

  /* Reset document flow and colors */
  html, body {
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    background: #0b0f19 !important;
    color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Hide navigation controls, scroll tracks, and UI buttons */
  #controls,
  #slide-counter,
  #dots-vertical,
  #progress-track,
  .bg-orb,
  #confetti-canvas,
  .slide__cta-hint {
    display: none !important;
  }

  /* Reset deck styles for block layout instead of side-by-side flex layout */
  #deck {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
  }

  /* Print each slide on a new page */
  .slide {
    width: 100% !important;
    height: 100vh !important;
    page-break-after: always !important;
    break-after: page !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 2.5rem !important;
    position: relative !important;
    overflow: visible !important;
    background-color: #0b0f19 !important;
  }

  .slide__content {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    height: auto !important;
    max-height: none !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 1100px !important;
  }

  .slide__hero-title {
    font-size: 2.8rem !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
  }

  .slide__title {
    font-size: 2.2rem !important;
    margin-bottom: 1rem !important;
  }

  .slide__subtitle {
    font-size: 1.1rem !important;
    margin-bottom: 1.5rem !important;
  }

  /* Prevent page breaks inside flex/grid containers and cards */
  .hero-stat,
  .bar-chart__bar-wrap,
  .shift-side,
  .case-study,
  .portfolio-card,
  .process-step,
  .pricing-card,
  .cta-row,
  .cta-card,
  .audience-card {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  /* Ensure grids scale nicely in landscape print */
  .target-audiences,
  .stats-row--redesigned,
  .portfolio-grid,
  .process-flow {
    gap: 1.5rem !important;
  }
}

