:root {
  --bg-body: #0d131f;
  --bg-stage: #f1f5f9;
  --bg-slide: #ffffff;
  --bg-surface: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #fffaf5;
  --accent-orange: #eb5a21;
  --accent-orange-hover: #d44915;
  --accent-orange-subtle: #fff4ee;
  --accent-orange-border: #fed7c5;
  --accent-orange-glow: rgba(235, 90, 33, 0.2);
  --accent-gold: #d97706;
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-light: #e2e8f0;
  --border-subtle: #edf2f7;
  --card-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.06), 0 4px 14px -2px rgba(15, 23, 42, 0.03);
  --card-shadow-hover: 0 20px 42px -6px rgba(235, 90, 33, 0.15), 0 8px 18px -2px rgba(15, 23, 42, 0.05);
  --font-main: 'Cairo', 'Tajawal', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: var(--bg-body);
  color: var(--text-body);
  font-family: var(--font-main);
  user-select: none;
  -webkit-user-select: none;
}

/* Ambient Stage Glow Elements */
.ambient-glow-top {
  position: fixed;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(235, 90, 33, 0.08) 0%, rgba(13, 19, 31, 0) 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
  top: -200px;
  right: -150px;
}

.ambient-glow-bottom {
  position: fixed;
  width: 750px;
  height: 750px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(235, 90, 33, 0.05) 0%, rgba(13, 19, 31, 0) 70%);
  filter: blur(120px);
  pointer-events: none;
  z-index: 1;
  bottom: -150px;
  left: -120px;
}

/* ========================================================
   MASTER STAGE CANVAS (1920x1080 True 16:9 Google Slides Engine)
   ======================================================== */
#stage-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

#deck-viewport {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1920px;
  height: 1080px;
  transform-origin: center center;
  transform: translate(-50%, -50%) scale(1);
  box-shadow: 0 35px 90px -15px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-slide);
  will-change: transform;
}

/* Base Slide Architecture */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 1920px;
  height: 1080px;
  padding: 48px 64px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.992);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
  background: #ffffff;
}

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

/* Slide Header */
.slide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
  min-height: 76px;
  flex-shrink: 0;
}

.slide-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-orange);
  letter-spacing: 0.4px;
}

.slide-tag::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--accent-orange);
  box-shadow: 0 0 8px var(--accent-orange);
}

.slide-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.slide-title span {
  color: var(--accent-orange);
}

.slide-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  font-weight: 500;
}

.slide-brand-watermark {
  display: flex;
  align-items: center;
  gap: 18px;
}

.slide-brand-watermark img {
  height: 38px;
  object-fit: contain;
}

.slide-client-badge {
  font-size: 14px;
  font-weight: 700;
  background: var(--accent-orange-subtle);
  color: var(--accent-orange);
  border: 1px solid var(--accent-orange-border);
  padding: 6px 16px;
  border-radius: 30px;
}

/* ========================================================
   SLIDE BODY: Optical Vertical Centering
   ======================================================== */
.slide-body {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 18px 0;
}

/* Slide Footer */
.slide-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14.5px;
  color: var(--text-light);
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  min-height: 50px;
  flex-shrink: 0;
}

.slide-footer-meta {
  display: flex;
  align-items: center;
  gap: 24px;
}

.slide-footer-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ========================================================
   EXECUTIVE STAGGERED ENTRANCE ANIMATIONS
   ======================================================== */
.animate-in {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.slide.active .animate-in {
  opacity: 1;
  transform: translateY(0);
}

.slide.active .delay-1 { transition-delay: 0.10s; }
.slide.active .delay-2 { transition-delay: 0.22s; }
.slide.active .delay-3 { transition-delay: 0.34s; }
.slide.active .delay-4 { transition-delay: 0.46s; }
.slide.active .delay-5 { transition-delay: 0.58s; }

/* ========================================================
   SLIDE 1: الغلاف الرئيسي النظيف (Executive Cover)
   ======================================================== */
.cover-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 60px;
  width: 100%;
  height: 100%;
  align-items: center;
}

.cover-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  text-align: right;
}

.cover-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-orange-subtle);
  border: 1px solid var(--accent-orange-border);
  color: var(--accent-orange);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  width: fit-content;
}

.cover-title {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.32;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.cover-title .highlight {
  color: var(--accent-orange);
}

.cover-desc {
  font-size: 18.5px;
  color: var(--text-body);
  line-height: 1.65;
}

.cover-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 4px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.cover-meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cover-meta-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.cover-meta-val {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-desktop-wrap {
  position: relative;
  width: 100%;
}

.mockup-desktop {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 28px 60px -10px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.mockup-browser-header {
  background: #f8fafc;
  padding: 11px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
}

.browser-dots {
  display: flex;
  gap: 8px;
}

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

.browser-dot.red { background: #ff5f56; }
.browser-dot.yellow { background: #ffbd2e; }
.browser-dot.green { background: #27c93f; }

.browser-url-bar {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 5px 22px;
  font-size: 13.5px;
  color: var(--text-muted);
  direction: ltr;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-desktop-img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

/* ========================================================
   SLIDES 2 & 3: دراسة السوق (هاف مليون & كوفي ادرس)
   ======================================================== */
.market-columns-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  width: 100%;
  height: 100%;
  align-items: center;
}

.market-card-clean {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 22px;
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 540px;
  justify-content: space-between;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.market-card-clean:hover {
  border-color: var(--accent-orange);
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

.market-card-badge-clean {
  align-self: flex-start;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent-orange);
  background: var(--accent-orange-subtle);
  border: 1px solid var(--accent-orange-border);
  padding: 5px 14px;
  border-radius: 16px;
  margin-bottom: 12px;
}

.phone-mockup-frame-clean {
  width: 226px;
  height: 395px;
  background: #0f172a;
  border-radius: 34px;
  border: 5px solid #0f172a;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.phone-dynamic-island-clean {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 66px;
  height: 14px;
  background: #0f172a;
  border-radius: 12px;
  z-index: 20;
}

.phone-screen-img-clean {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.market-card-title-clean {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
  text-align: center;
}

.market-card-desc-clean {
  font-size: 14.5px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.55;
}

/* ========================================================
   SLIDES 4 to 8: شرائح صور غلوريا الـ 5 (Mobile Showcase)
   ======================================================== */
.screen-showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  width: 100%;
  height: 100%;
  align-items: center;
}

.screen-content-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: right;
}

.screen-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-orange-subtle);
  border: 1px solid var(--accent-orange-border);
  color: var(--accent-orange);
  padding: 7px 18px;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 700;
  width: fit-content;
}

.screen-heading {
  font-size: 34px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
}

.screen-lead {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
}

.screen-bullets-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}

.screen-bullet-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-right: 5px solid var(--accent-orange);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: all 0.28s ease;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.03);
}

.screen-bullet-card:hover {
  border-color: var(--accent-orange);
  background: var(--bg-card-hover);
  transform: translateX(-4px);
  box-shadow: var(--card-shadow);
}

.bullet-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-orange-subtle);
  border: 1px solid var(--accent-orange-border);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}

.bullet-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bullet-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}

.bullet-desc {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.55;
}

.screen-visual-side {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.iphone-white-frame {
  width: 320px;
  height: 590px;
  background: #ffffff;
  border-radius: 46px;
  border: 7px solid #0f172a;
  box-shadow: 0 30px 65px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.iphone-dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 18px;
  background: #0f172a;
  border-radius: 14px;
  z-index: 20;
}

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

.screen-pill-indicator {
  position: absolute;
  bottom: -12px;
  left: 30px;
  background: #ffffff;
  border: 1px solid var(--accent-orange-border);
  padding: 8px 18px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-orange);
  box-shadow: 0 10px 24px rgba(235, 90, 33, 0.18);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ========================================================
   SLIDE 9: نطاق العمل: 9 صفحات أساسية (Clean Grid)
   ======================================================== */
.pages-grid-9 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  height: 100%;
  align-items: center;
}

.page-tile-clean {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 120px;
  transition: all 0.25s ease;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.02);
}

.page-tile-clean:hover {
  border-color: var(--accent-orange);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: var(--card-shadow);
}

.tile-icon-clean {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--accent-orange-subtle);
  border: 1px solid var(--accent-orange-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  font-size: 22px;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.page-tile-clean:hover .tile-icon-clean {
  background: var(--accent-orange);
  color: #ffffff;
}

.tile-info-clean {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tile-num-clean {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-orange);
}

.tile-title-clean {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-dark);
}

.tile-desc-clean {
  font-size: 14px;
  color: var(--text-muted);
}

/* ========================================================
   SLIDE 10: نطاق العمل: المزايا التقنية
   ======================================================== */
.features-grid-clean {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 28px;
  width: 100%;
  height: 100%;
  align-items: center;
}

.feature-card-clean {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 28px 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  min-height: 170px;
  transition: all 0.28s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.feature-card-clean:hover {
  border-color: var(--accent-orange);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
}

.feature-icon-clean {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--accent-orange-subtle);
  border: 1px solid var(--accent-orange-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  font-size: 26px;
  flex-shrink: 0;
  transition: all 0.28s ease;
}

.feature-card-clean:hover .feature-icon-clean {
  background: var(--accent-orange);
  color: #ffffff;
}

.feature-content-clean {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature-title-clean {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
}

.feature-desc-clean {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.65;
}

/* ========================================================
   SLIDE 11: خدمات ما بعد البيع (Support & SLA)
   ======================================================== */
.support-box-clean {
  width: 100%;
  max-width: 1100px;
  background: #ffffff;
  border: 2px solid var(--accent-orange);
  border-radius: 26px;
  padding: 46px 56px;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 55px -6px rgba(235, 90, 33, 0.14), 0 0 0 1px rgba(235, 90, 33, 0.08);
  margin: 0 auto;
}

.support-badge-clean {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-orange);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  padding: 7px 28px;
  border-radius: 35px;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.support-headline-clean {
  font-size: 42px;
  font-weight: 900;
  color: var(--text-dark);
  margin-top: 8px;
  margin-bottom: 12px;
}

.support-headline-clean span {
  color: var(--accent-orange);
}

.support-desc-clean {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.65;
}

.support-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.support-pillar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.support-pillar-icon {
  font-size: 26px;
  color: var(--accent-orange);
  margin-bottom: 4px;
}

.support-pillar-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}

.support-pillar-desc {
  font-size: 15px;
  color: var(--text-muted);
}

.support-subtext-clean {
  max-width: 960px;
  background: var(--bg-surface);
  border: 1px dashed var(--border-light);
  border-radius: 14px;
  padding: 16px 28px;
  margin: 26px auto 0;
  color: var(--text-muted);
  font-size: 16.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.support-subtext-clean i {
  color: var(--accent-orange);
  font-size: 19px;
}

/* ========================================================
   SLIDE 12: متطلبات إضافية (فريق غلوريا)
   ======================================================== */
.req-grid-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  height: 100%;
  justify-content: center;
}

.req-cards-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: 100%;
}

.req-card-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-height: 120px;
  transition: all 0.25s ease;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.02);
}

.req-card-item:hover {
  border-color: var(--accent-orange);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: var(--card-shadow);
}

.req-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: var(--accent-orange-subtle);
  border: 1px solid var(--accent-orange-border);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  flex-shrink: 0;
}

.req-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.req-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
}

.req-desc {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.5;
}

.loyalty-banner {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 2px solid var(--accent-orange);
  border-radius: 18px;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 8px 22px rgba(235, 90, 33, 0.1);
}

.loyalty-banner-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.loyalty-icon-gold {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--accent-orange);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  box-shadow: 0 5px 14px rgba(235, 90, 33, 0.35);
}

.loyalty-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.loyalty-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.loyalty-desc {
  font-size: 16px;
  color: var(--text-body);
}

.loyalty-equation-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid var(--accent-orange-border);
  padding: 10px 22px;
  border-radius: 35px;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.05);
  flex-shrink: 0;
}

.equation-item {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--accent-orange);
}

.equation-divider {
  width: 1px;
  height: 20px;
  background: #cbd5e1;
}

/* ========================================================
   SLIDE 13: الختام النظيف (Executive Closing)
   ======================================================== */
.closing-wrap-clean {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 28px;
  width: 100%;
}

.closing-logo-clean {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 26px;
  padding: 24px 52px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.closing-logo-clean img {
  height: 80px;
  object-fit: contain;
}

.closing-title-clean {
  font-size: 54px;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.22;
}

.closing-title-clean span {
  color: var(--accent-orange);
}

.closing-desc-clean {
  font-size: 19.5px;
  color: var(--text-muted);
  max-width: 760px;
  line-height: 1.65;
  margin-top: 6px;
}

.closing-pills-clean {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}

.contact-pill-clean {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 30px;
  padding: 12px 26px;
  font-size: 16.5px;
  color: var(--text-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.03);
}

.contact-pill-clean:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  transform: translateY(-3px);
}

.contact-pill-clean i {
  color: var(--accent-orange);
}

/* ========================================================
   DECK CONTROLLER (Executive Floating Navigation Dock)
   ======================================================== */
.deck-controls-floating {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 40px;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 100;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.deck-nav-btn,
.nav-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.22s ease;
}

.deck-nav-btn:hover:not(:disabled),
.nav-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.16);
  color: var(--accent-orange);
  transform: scale(1.05);
}

.nav-btn.primary {
  background: rgba(235, 90, 33, 0.2);
  color: var(--accent-orange);
  border: 1px solid rgba(235, 90, 33, 0.35);
}

.nav-btn.primary:hover:not(:disabled) {
  background: var(--accent-orange);
  color: #ffffff;
}

.deck-nav-btn:disabled,
.nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.utility-divider {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.15);
}

.slide-counter {
  font-size: 15.5px;
  font-weight: 700;
  color: #ffffff;
  min-width: 72px;
  text-align: center;
  letter-spacing: 0.5px;
}

.slide-counter span {
  color: var(--accent-orange);
}

.deck-dots-track,
.dots-indicator {
  display: flex;
  align-items: center;
  gap: 7px;
}

.deck-dot,
.dot-item {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.deck-dot:hover,
.dot-item:hover {
  background: rgba(255, 255, 255, 0.5);
}

.deck-dot.active,
.dot-item.active {
  width: 26px;
  border-radius: 10px;
  background: var(--accent-orange);
  box-shadow: 0 0 10px rgba(235, 90, 33, 0.6);
}

.deck-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 999;
}

#progressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-orange) 0%, #ff8533 100%);
  transition: width 0.35s ease;
  box-shadow: 0 0 12px var(--accent-orange);
  z-index: 999;
}

.deck-progress-fill {
  height: 100%;
  width: 7.7%;
  background: linear-gradient(90deg, var(--accent-orange) 0%, #ff8533 100%);
  transition: width 0.35s ease;
  box-shadow: 0 0 10px var(--accent-orange);
}

/* ========================================================
   STRICT MOBILE LANDSCAPE MODAL (#mobile-orientation-modal)
   ======================================================== */
#mobile-orientation-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(10, 15, 26, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
  color: #ffffff;
}

@media (max-width: 920px) and (orientation: portrait) {
  #mobile-orientation-modal {
    display: flex;
  }
}

.orientation-modal-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  padding: 38px 30px;
  max-width: 440px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
}

.phone-rotate-icon-wrap {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(235, 90, 33, 0.16);
  border: 1px solid rgba(235, 90, 33, 0.4);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  margin-bottom: 22px;
  animation: phoneRotatePulse 2.5s ease-in-out infinite;
}

@keyframes phoneRotatePulse {
  0% { transform: rotate(0deg) scale(1); }
  35% { transform: rotate(-90deg) scale(1.08); }
  65% { transform: rotate(-90deg) scale(1.08); }
  100% { transform: rotate(0deg) scale(1); }
}

.orientation-modal-title {
  font-size: 25px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.orientation-modal-desc {
  font-size: 15.5px;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 26px;
}

.btn-fullscreen-landscape {
  background: linear-gradient(135deg, #eb5a21 0%, #d44915 100%);
  color: #ffffff;
  border: none;
  border-radius: 35px;
  padding: 14px 30px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(235, 90, 33, 0.35);
  transition: all 0.25s ease;
}

.btn-fullscreen-landscape:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(235, 90, 33, 0.45);
}

/* ========================================================
   SLIDES 13, 14, 15: شرائح مراحل التنفيذ (Project Phases Engine)
   ======================================================== */
.phase-layout {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  gap: 18px;
}

/* Phase Progress Stepper (Executive 3-Step Timeline) */
.phase-stepper-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 12px 30px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
  width: 100%;
}

.phase-step-item {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 2;
  flex: 1;
}

.phase-step-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.phase-step-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.phase-step-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
}

.phase-step-name {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text-dark);
}

.phase-step-duration {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
}

/* Active Step State */
.phase-step-item.active .phase-step-badge {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(235, 90, 33, 0.4);
  transform: scale(1.08);
}

.phase-step-item.active .phase-step-name {
  color: var(--accent-orange);
}

.phase-step-item.active .phase-step-label {
  color: var(--accent-orange);
}

/* Completed Step State */
.phase-step-item.completed .phase-step-badge {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.phase-step-item.completed .phase-step-name {
  color: #0f172a;
}

/* Stepper Connector Arrow */
.phase-step-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border-light);
  font-size: 18px;
  padding: 0 16px;
}

.phase-step-item.completed + .phase-step-divider {
  color: #10b981;
}

/* 4-Pillar Strategic Cards Grid */
.phase-cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: 100%;
  flex: 1;
}

.phase-card-pillar {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.phase-card-pillar::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: transparent;
  transition: background 0.3s ease;
}

.phase-card-pillar:hover {
  border-color: var(--accent-orange-border);
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  background: var(--bg-card-hover);
}

.phase-card-pillar:hover::before {
  background: linear-gradient(90deg, var(--accent-orange), #f59e0b);
}

.pillar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-orange-subtle);
  border: 1px solid var(--accent-orange-border);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(235, 90, 33, 0.12);
  flex-shrink: 0;
}

.pillar-num-badge {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-light);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 3px 10px;
  border-radius: 20px;
}

.pillar-main-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.pillar-title {
  font-size: 18.5px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.35;
}

.pillar-desc {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.55;
}

.pillar-points-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pillar-points-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.45;
}

.pillar-points-list li i {
  color: var(--accent-orange);
  font-size: 13px;
  margin-top: 3px;
  flex-shrink: 0;
}

.pillar-tag-badge {
  align-self: flex-start;
  background: var(--accent-orange-subtle);
  color: var(--accent-orange);
  border: 1px solid var(--accent-orange-border);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

/* Executive Milestone Output Banner */
.phase-milestone-banner {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 2px solid var(--accent-orange);
  border-radius: 18px;
  padding: 16px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 8px 22px rgba(235, 90, 33, 0.1);
  flex-shrink: 0;
}

.phase-milestone-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.phase-milestone-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: var(--accent-orange);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 6px 16px rgba(235, 90, 33, 0.35);
  flex-shrink: 0;
}

.phase-milestone-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.phase-milestone-title {
  font-size: 18.5px;
  font-weight: 900;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.phase-milestone-desc {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.45;
}

.phase-milestone-metrics {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid var(--accent-orange-border);
  padding: 10px 20px;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  flex-shrink: 0;
}

.phase-metric-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 800;
  color: var(--accent-orange);
}

.phase-metric-divider {
  width: 1px;
  height: 20px;
  background: #cbd5e1;
}


/* ========================================================
   RESPONSIVE MOBILE DOCK & ORIENTATION OPTIMIZATIONS
   ======================================================== */
@media (max-width: 768px) {
  .deck-controls-floating {
    bottom: 12px !important;
    padding: 6px 14px !important;
    gap: 10px !important;
    max-width: 96vw !important;
    border-radius: 30px !important;
  }
  .dots-indicator {
    gap: 4px !important;
  }
  .dot-item, .deck-dot {
    width: 5px !important;
    height: 5px !important;
  }
  .dot-item.active, .deck-dot.active {
    width: 14px !important;
  }
  .nav-btn, .deck-nav-btn {
    width: 34px !important;
    height: 34px !important;
    font-size: 13px !important;
  }
  .slide-counter {
    font-size: 13px !important;
    min-width: 50px !important;
  }
  .utility-divider {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .deck-controls-floating {
    bottom: 8px !important;
    padding: 4px 10px !important;
    gap: 6px !important;
  }
  .dots-indicator {
    gap: 3px !important;
  }
  .dot-item, .deck-dot {
    width: 4px !important;
    height: 4px !important;
  }
  .dot-item.active, .deck-dot.active {
    width: 10px !important;
  }
}
