@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800;900&display=swap');

/* ==========================================================================
   Global Reset & Luxury Clean White Theme
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --brand-primary: #059669;
  --brand-secondary: #10B981;
  --brand-light: #ECFDF5;
  --brand-border: #A7F3D0;
  --brand-glow: rgba(5, 150, 105, 0.15);
  
  --bg-page: #FFFFFF;
  --bg-stage: #FFFFFF;
  --card-bg: #FFFFFF;
  --card-border: #E2E8F0;
  --card-hover-border: #CBD5E1;
  --card-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --card-hover-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.08);

  --text-main: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-dim: #94A3B8;
  
  --font-arabic: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-latin: 'Plus Jakarta Sans', sans-serif;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-arabic);
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Viewport & Slide Stage (16:9 Clean Presentation Frame)
   ========================================================================== */
.viewport-wrapper {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.slide-stage {
  width: min(95vw, 1720px);
  height: min(92vh, 960px);
  aspect-ratio: 16 / 9;
  position: relative;
  background: var(--bg-stage);
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  box-shadow: 
    0 20px 50px -10px rgba(15, 23, 42, 0.06),
    0 0 1px 1px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Subtle ambient corner accents */
.stage-glow-tl, .stage-glow-br {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 1;
}

.stage-glow-tl {
  top: -180px;
  right: -180px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
}

.stage-glow-br {
  bottom: -180px;
  left: -180px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.06) 0%, transparent 70%);
}

/* ==========================================================================
   Deck & Slide Transitions
   ========================================================================== */
.deck {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 40px 52px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.98) translateY(8px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
  z-index: 5;
}

/* Slide Header */
.slide-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  flex-shrink: 0;
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 14px;
}

.header-with-logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.channel-header-logo-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.channel-header-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-title-group h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.slide-title-group p {
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 400;
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-primary);
  background: var(--brand-light);
  border: 1px solid var(--brand-border);
  white-space: nowrap;
}

.slide-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

/* ==========================================================================
   Clean Card Core Component
   ========================================================================== */
.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--card-shadow);
}

.glass-card:hover {
  border-color: var(--card-hover-border);
  box-shadow: var(--card-hover-shadow);
}

/* ==========================================================================
   SLIDE 1: Minimalist Clean Cover
   ========================================================================== */
.slide-cover {
  justify-content: center;
  align-items: center;
  text-align: center;
  background: radial-gradient(circle at center, #F0FDF4 0%, #FFFFFF 70%);
}

.cover-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 800px;
}

.cover-subtitle-pill {
  display: inline-flex;
  padding: 8px 24px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-primary);
  background: var(--brand-light);
  border: 1px solid var(--brand-border);
  letter-spacing: 0.01em;
}

.cover-title {
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.cover-logo-box {
  width: 140px;
  height: 140px;
  border-radius: 24px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
}

.cover-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ==========================================================================
   SLIDE 2: Table of Contents (TOC)
   ========================================================================== */
.toc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  height: 100%;
}

.toc-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 20px;
}

.toc-num {
  font-family: var(--font-latin);
  font-size: 38px;
  font-weight: 900;
  color: var(--brand-primary);
  display: block;
  margin-bottom: 10px;
  line-height: 1;
}

.toc-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.toc-card p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.toc-card ul {
  list-style: none;
  border-top: 1px solid #F1F5F9;
  padding-top: 14px;
}

.toc-card li {
  font-size: 12.5px;
  color: var(--text-body);
  margin-bottom: 8px;
  position: relative;
  padding-right: 14px;
}

.toc-card li::before {
  content: '•';
  position: absolute;
  right: 0;
  color: var(--brand-primary);
  font-weight: bold;
}

/* ==========================================================================
   SLIDE 3: Four Pillars (Framing)
   ========================================================================== */
.four-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  height: 100%;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  padding: 22px 18px;
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-light);
  border: 1px solid var(--brand-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.pillar-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.pillar-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
}

.pillar-list {
  list-style: none;
  margin-top: auto;
  border-top: 1px solid #F1F5F9;
  padding-top: 12px;
}

.pillar-list li {
  font-size: 12px;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 7px;
  position: relative;
  padding-right: 14px;
}

.pillar-list li::before {
  content: '›';
  position: absolute;
  right: 0;
  color: var(--brand-primary);
  font-weight: bold;
  font-size: 14px;
}

/* ==========================================================================
   SLIDE 4: Opportunities Grid
   ========================================================================== */
.opportunities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
  height: 100%;
}

.opp-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px;
}

.opp-badge {
  font-family: var(--font-latin);
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-primary);
  background: var(--brand-light);
  border: 1px solid var(--brand-border);
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.opp-text h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.opp-text p {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.6;
}

/* ==========================================================================
   SLIDE 5: Competitors Split Grid
   ========================================================================== */
.competitors-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  height: 100%;
}

.comp-box {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.comp-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #F1F5F9;
}

.comp-box-header h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-main);
}

.comp-tier-badge {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 6px;
  background: #F8FAFC;
  color: var(--text-muted);
  border: 1px solid #E2E8F0;
}

.comp-points-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}

.points-subgroup h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.points-subgroup.strengths h4 {
  color: #059669;
}

.points-subgroup.weaknesses h4 {
  color: #DC2626;
}

.points-subgroup ul {
  list-style: none;
}

.points-subgroup li {
  font-size: 12.5px;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 8px;
  position: relative;
  padding-right: 16px;
}

.points-subgroup.strengths li::before {
  content: '✓';
  position: absolute;
  right: 0;
  color: #059669;
  font-weight: bold;
}

.points-subgroup.weaknesses li::before {
  content: '✕';
  position: absolute;
  right: 0;
  color: #DC2626;
  font-weight: bold;
}

/* ==========================================================================
   SLIDE 6: Mac Frame Desktop (Full Area Showcase)
   ========================================================================== */
#slide-6 {
  padding: 24px 36px 20px;
}

#slide-6 .slide-header {
  margin-bottom: 12px;
  padding-bottom: 8px;
}

.mac-stage-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.mac-window {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid #CBD5E1;
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mac-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  flex-shrink: 0;
}

.mac-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.mac-dot.red { background: #EF4444; }
.mac-dot.yellow { background: #F59E0B; }
.mac-dot.green { background: #10B981; }

.mac-address-bar {
  flex: 1;
  margin-right: 14px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 4px 14px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: monospace;
  direction: ltr;
  text-align: left;
}

.mac-viewport {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  background: #070A0A;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.mac-viewport img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* ==========================================================================
   SLIDES 7, 9, 11, 13: 3-Way Mobile Comparison (iPhones)
   ========================================================================== */
.comparison-3way-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  height: 100%;
  align-items: center;
  justify-items: center;
}

.device-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.device-tag {
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 9999px;
  background: #F8FAFC;
  color: var(--text-muted);
  border: 1px solid #E2E8F0;
  white-space: nowrap;
}

.device-column.brand-hero .device-tag {
  background: var(--brand-light);
  color: var(--brand-primary);
  border-color: var(--brand-border);
  font-weight: 700;
}

.iphone-frame {
  width: 230px;
  height: 460px;
  background: #0F172A;
  border: 4px solid #CBD5E1;
  border-radius: 38px;
  padding: 6px;
  position: relative;
  box-shadow: 0 15px 35px -8px rgba(15, 23, 42, 0.15);
}

.iphone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 65px;
  height: 16px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}

.iphone-screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iphone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.website-gap-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 16px;
  color: var(--text-muted);
}

.gap-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.website-gap-box h3 {
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 6px;
}

.website-gap-box p {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-body);
}

/* ==========================================================================
   SLIDES 8, 10, 12, 14: 5-Cards Analysis Grid
   ========================================================================== */
.analysis-5cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  height: 100%;
}

.analysis-card {
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.analysis-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.analysis-card-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

.analysis-bullets {
  list-style: none;
}

.analysis-bullets li {
  font-size: 12.5px;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 7px;
  position: relative;
  padding-right: 16px;
}

.analysis-bullets li::before {
  content: '›';
  position: absolute;
  right: 0;
  color: var(--brand-primary);
  font-weight: 800;
  font-size: 14px;
}

/* ==========================================================================
   SLIDE 15: Proposed Contract Packages
   ========================================================================== */
.packages-2split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  height: 100%;
}

.package-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 24px;
  position: relative;
}

.package-card.highlight {
  border: 2px solid var(--brand-primary);
  box-shadow: 0 10px 30px -5px rgba(5, 150, 105, 0.12);
}

.package-top-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-primary);
  background: var(--brand-light);
  border: 1px solid var(--brand-border);
  margin-bottom: 12px;
}

.package-card h3 {
  font-size: 21px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.pkg-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.package-deliverables {
  list-style: none;
  margin-bottom: 18px;
}

.package-deliverables li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 9px;
  font-size: 12.5px;
  color: var(--text-body);
  line-height: 1.5;
}

.package-deliverables svg {
  color: var(--brand-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.package-labels-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.pkg-label-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  background: #F8FAFC;
  color: var(--text-body);
  border: 1px solid #E2E8F0;
}

.pkg-label-tag.active {
  background: var(--brand-light);
  color: var(--brand-primary);
  border-color: var(--brand-border);
}

.package-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #F1F5F9;
  padding-top: 16px;
  margin-top: auto;
}

.pkg-term {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.pkg-vat-note {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

/* ==========================================================================
   SLIDE 16: Ad Channels & Budget Distribution
   ========================================================================== */
.budgets-split-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
  height: 100%;
  align-items: center;
}

.donut-visual-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 20px;
}

.donut-svg-wrapper {
  position: relative;
  width: 240px;
  height: 240px;
}

.donut-center-info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.center-val {
  font-family: var(--font-latin);
  font-size: 36px;
  font-weight: 900;
  color: var(--text-main);
}

.center-lbl {
  font-size: 12px;
  color: var(--text-muted);
}

.budget-breakdown-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.budget-channel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
}

.channel-info-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.channel-logo-indicator {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.channel-logo-indicator img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.channel-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.channel-role {
  font-size: 12px;
  color: var(--text-muted);
}

.channel-percent {
  font-family: var(--font-latin);
  font-size: 17px;
  font-weight: 800;
  color: var(--brand-primary);
}

.cpc-formula-box {
  background: var(--brand-light);
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.cpc-formula-text {
  font-size: 12.5px;
  color: var(--brand-primary);
  font-weight: 700;
}

.cpc-formula-calc {
  font-family: var(--font-latin);
  font-size: 14px;
  font-weight: 800;
  color: var(--brand-primary);
  direction: ltr;
}

/* ==========================================================================
   SLIDE 17: Google Search Volume (Keyword Planner Showcase)
   ========================================================================== */
.planner-showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  height: 100%;
  align-items: center;
}

.planner-screenshot-card {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 12px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.planner-screenshot-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.planner-strategic-insights {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.insight-metric-box {
  padding: 18px;
}

.insight-metric-box .metric-num {
  font-family: var(--font-latin);
  font-size: 30px;
  font-weight: 900;
  color: var(--brand-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.insight-metric-box h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.insight-metric-box p {
  font-size: 12.5px;
  color: var(--text-body);
  line-height: 1.5;
}

/* ==========================================================================
   SLIDE 18: Horizontal Stepper Timeline (Execution Roadmap)
   ========================================================================== */
.timeline-stepper-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  height: 100%;
}

.step-card {
  display: flex;
  flex-direction: column;
  padding: 20px 18px;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #F1F5F9;
}

.step-number {
  font-family: var(--font-latin);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-light);
  color: var(--brand-primary);
  border: 1px solid var(--brand-border);
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-title-box h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.step-title-box span {
  font-size: 11px;
  color: var(--text-muted);
}

.step-tasks {
  list-style: none;
}

.step-tasks li {
  font-size: 12px;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 8px;
  position: relative;
  padding-right: 14px;
}

.step-tasks li::before {
  content: '•';
  position: absolute;
  right: 0;
  color: var(--brand-primary);
  font-weight: bold;
}

/* ==========================================================================
   SLIDE 19: Minimalist Clean Closing
   ========================================================================== */
.slide-closing {
  justify-content: center;
  align-items: center;
  text-align: center;
  background: radial-gradient(circle at center, #F0FDF4 0%, #FFFFFF 70%);
}

.closing-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 650px;
}

.closing-title {
  font-size: clamp(64px, 8vw, 96px);
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
}

.closing-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

.closing-logo-box {
  width: min(340px, 90%);
  height: 100px;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  margin-top: 10px;
}

.closing-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ==========================================================================
   Minimal Floating Frosted HUD (Clean Light)
   ========================================================================== */
.floating-hud {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  padding: 6px 12px;
  box-shadow: 0 10px 25px -3px rgba(15, 23, 42, 0.1);
  z-index: 1000;
  user-select: none;
}

.hud-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #F8FAFC;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hud-btn svg {
  width: 17px;
  height: 17px;
}

.hud-btn:hover {
  background: var(--brand-primary);
  color: #FFFFFF;
  transform: scale(1.08);
}

.hud-counter {
  font-family: var(--font-latin);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  padding: 0 10px;
  min-width: 70px;
  text-align: center;
  direction: ltr;
}

/* ==========================================================================
   Responsive Scaling for Smaller Laptops & Screens
   ========================================================================== */
@media (max-height: 800px) {
  .slide {
    padding: 28px 38px;
  }
  .slide-header {
    margin-bottom: 14px;
    padding-bottom: 10px;
  }
  .slide-title-group h2 {
    font-size: 22px;
  }
  .toc-card, .pillar-card, .comp-box, .step-card {
    padding: 16px 14px;
  }
  .iphone-frame {
    width: 190px;
    height: 380px;
  }
  .mac-viewport {
    height: 330px;
  }
}
