/* ================================================================
   EduFuture PRMG AI - Unboxed Full-Screen Hero Presentation Platform
   Curriculum: Egyptian Baccalaureate (2nd Secondary - 2026)
   Lesson 1-1: تطور تكنولوجيا المعلومات والتحول الاجتماعي
   Linear/Apple-Grade Immersive Full-Screen Educational Experience
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&family=Fira+Code:wght@400;500;600&display=swap');

/* ================================================================
   1. Design Tokens: LIGHT MODE (Default - Clean Apple/Linear Grade)
   ================================================================ */
:root {
  /* Canvas & Surfaces */
  --bg-deck: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-subtle: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.94);
  --bg-hud: rgba(15, 23, 42, 0.82);
  --bg-hud-light: rgba(255, 255, 255, 0.92);

  /* Primary High-Contrast Accents */
  --primary: #0284c7;           /* Electric Cyan */
  --primary-glow: rgba(2, 132, 199, 0.25);
  --primary-dark: #0369a1;
  --primary-light: #e0f2fe;

  --secondary: #4338ca;         /* Deep Royal Indigo */
  --secondary-glow: rgba(67, 56, 202, 0.25);
  --secondary-light: #eef2ff;

  --accent: #7e22ce;            /* Royal Purple */
  --accent-light: #f3e8ff;

  --warning: #b45309;           /* Amber */
  --warning-light: #fef3c7;
  --danger: #b91c1c;            /* Crimson */
  --danger-light: #fee2e2;
  --success: #047857;           /* Emerald */
  --success-light: #d1fae5;

  /* Typography: High-Contrast Solid Ink */
  --text-main: #090d16;         /* Obsidian Ink */
  --text-muted: #1e293b;        /* Crisp Slate */
  --text-faint: #334155;        /* Deep Slate (Never low-contrast grey!) */
  --text-inverse: #ffffff;

  /* Borders & Shadows */
  --border-subtle: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-glow: rgba(2, 132, 199, 0.35);
  --border-focus: #0284c7;

  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.06);
  --shadow-card: 0 4px 16px -2px rgba(15, 23, 42, 0.07), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-float: 0 16px 40px -6px rgba(15, 23, 42, 0.12), 0 6px 16px -2px rgba(15, 23, 42, 0.05);
  --shadow-hud: 0 20px 48px -10px rgba(0, 0, 0, 0.35);

  /* Fonts */
  --font-arabic: 'Alexandria', system-ui, -apple-system, sans-serif;
  --font-latin: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-mono: 'Fira Code', monospace;

  /* Radii & Timing */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --transition-deck: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ================================================================
   2. Design Tokens: DARK MODE
   ================================================================ */
[data-theme="dark"] {
  --bg-deck: #070a14;
  --bg-card: #0e1526;
  --bg-card-subtle: #141e34;
  --bg-glass: rgba(11, 16, 30, 0.92);
  --bg-hud: rgba(6, 10, 22, 0.88);
  --bg-hud-light: rgba(14, 21, 38, 0.92);

  --primary: #00f5d4;
  --primary-glow: rgba(0, 245, 212, 0.3);
  --primary-dark: #00bfa5;
  --primary-light: rgba(0, 245, 212, 0.12);

  --secondary: #818cf8;
  --secondary-glow: rgba(129, 140, 248, 0.3);
  --secondary-light: rgba(129, 140, 248, 0.15);

  --accent: #f472b6;
  --accent-light: rgba(244, 114, 182, 0.15);

  --warning: #fbbf24;
  --warning-light: rgba(251, 191, 36, 0.12);
  --danger: #f87171;
  --danger-light: rgba(248, 113, 113, 0.12);
  --success: #34d399;
  --success-light: rgba(52, 211, 153, 0.12);

  --text-main: #f8fafc;
  --text-muted: #e2e8f0;
  --text-faint: #94a3b8;
  --text-inverse: #070a14;

  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-medium: rgba(255, 255, 255, 0.18);
  --border-glow: rgba(0, 245, 212, 0.3);
  --border-focus: #00f5d4;

  --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.4);
  --shadow-card: 0 8px 24px -4px rgba(0, 0, 0, 0.5);
  --shadow-float: 0 20px 48px -6px rgba(0, 0, 0, 0.7);
  --shadow-hud: 0 20px 50px -10px rgba(0, 0, 0, 0.8);
}

/* ================================================================
   3. Global Resets & Stage Geometry
   ================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100vw;
  height: 100vh;
  overflow: hidden; /* Full-screen hero container */
  direction: rtl;
  text-align: right;
  background-color: var(--bg-deck);
  color: var(--text-main);
  font-family: var(--font-arabic);
  font-size: 14.5px;
  line-height: 1.5;
  user-select: none;
  -webkit-user-select: none;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--primary);
  color: #fff;
}

/* Ambient Radial Glow */
.ambient-glow-wrap {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.18;
}

.ambient-orb-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  top: -200px;
  right: -200px;
}

.ambient-orb-2 {
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
  bottom: -200px;
  left: -200px;
}

/* ================================================================
   4. Floating Glass Header (54px)
   ================================================================ */
.deck-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 54px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 1000;
  transition: var(--transition-deck);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-badge {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.brand-info h1 {
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-info p {
  font-size: 0.74rem;
  color: var(--text-faint);
  font-weight: 600;
}

.header-center-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.slide-counter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-latin);
  box-shadow: var(--shadow-sm);
}

.slide-title-indicator {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--text-main);
  max-width: 480px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.deck-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-deck);
  box-shadow: var(--shadow-sm);
}

.deck-icon-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--border-glow);
  transform: scale(1.08);
}

.deck-icon-btn.active {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

/* ================================================================
   5. Floating Navigation Arrows (Left & Right)
   ================================================================ */
.deck-arrow-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  box-shadow: var(--shadow-float);
  transition: var(--transition-deck);
}

.deck-arrow-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 24px var(--primary-glow);
}

.deck-arrow-prev {
  right: 1.25rem;
}

.deck-arrow-next {
  left: 1.25rem;
}

.deck-arrow-btn:disabled {
  opacity: 0.2;
  cursor: not-allowed;
  pointer-events: none;
}

/* ================================================================
   6. Bottom Navigation Dock (54px)
   ================================================================ */
.deck-bottom-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 54px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 1000;
}

.dock-dots-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dock-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-medium);
  border: none;
  cursor: pointer;
  transition: var(--transition-deck);
  outline: none;
}

.dock-dot:hover {
  background: var(--primary);
  transform: scale(1.3);
}

.dock-dot.active {
  width: 28px;
  border-radius: 6px;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
}

.dock-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dock-nav-text-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-family: var(--font-arabic);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition-deck);
  box-shadow: var(--shadow-sm);
}

.dock-nav-text-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

.dock-nav-text-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
}

/* ================================================================
   7. FULL-SCREEN UNBOXED HERO VIEWPORT & SLIDES
   ================================================================ */
.deck-container {
  position: fixed;
  top: 54px;
  bottom: 54px;
  left: 0;
  right: 0;
  width: 100vw;
  height: calc(100vh - 108px);
  overflow: hidden;
  z-index: 10;
}

.deck-slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Strict Inactive / Active Display Rule (Zero Ghosting/Bleed) */
.deck-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 1rem 3.5rem; /* Room for navigation arrows */
  display: none !important;
  opacity: 0;
  pointer-events: none;
  direction: rtl;
}

.deck-slide.active {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  animation: slideFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.995);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Master Slide Stage Shell */
.slide-stage-shell {
  width: 100%;
  max-width: 1680px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Slide Header Bar */
.slide-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.4rem;
  margin-bottom: 0.8rem;
  flex-shrink: 0;
}

.slide-badge-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.slide-tag {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid var(--border-glow);
  padding: 3px 12px;
  border-radius: 14px;
}

.slide-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.25;
}

/* ================================================================
   8. HERO SPLIT GRID & FULL-WIDTH GRID
   ================================================================ */
/* Split Grid: 40% Editorial & Interactive Controls, 60% Visual Learning Arena */
.hero-split-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.45fr;
  gap: 1.5rem;
  height: calc(100% - 54px);
  align-items: stretch;
}

/* Full Width Grid (for 5 Eras, Matrix, Exam) */
.hero-full-grid {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(100% - 54px);
  gap: 1rem;
}

/* Editorial Content Column */
.editorial-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  padding-left: 0.5rem;
}

.editorial-column::-webkit-scrollbar {
  width: 5px;
}
.editorial-column::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 4px;
}

/* ================================================================
   9. VISUAL LEARNING ARENA (MASSIVE, RICH, IMMERSIVE)
   ================================================================ */
.visual-learning-arena {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-float);
  border: 1px solid var(--border-subtle);
  background: #0f172a;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Visual Surface / Image Layer */
.visual-surface {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.visual-surface-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.4) 60%, rgba(15, 23, 42, 0.85) 100%);
  pointer-events: none;
}

/* Interactive Floating Hotspots */
.visual-hotspot {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid #ffffff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  box-shadow: 0 0 20px var(--primary);
  transition: transform 0.2s ease, background 0.2s ease;
}

.visual-hotspot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  animation: pulseRadar 2s infinite ease-out;
}

@keyframes pulseRadar {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.9); opacity: 0; }
}

.visual-hotspot:hover, .visual-hotspot.active {
  transform: scale(1.25);
  background: #ffffff;
  color: var(--primary);
}

/* Glassmorphic Visual HUD Top Bar */
.visual-hud-top {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;        /* anchor to right in RTL */
  gap: 12px;
  padding: 12px 18px;
  background: linear-gradient(180deg, rgba(9, 13, 22, 0.88) 0%, transparent 100%);
  color: #ffffff;
  direction: rtl;
}

.visual-hud-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.visual-hud-tag {
  font-family: var(--font-latin);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(2, 132, 199, 0.25);
  border: 1px solid var(--primary);
  color: #38bdf8;
}

/* Glassmorphic Visual HUD Bottom Telemetry Bar */
.visual-hud-bottom {
  position: relative;
  z-index: 20;
  padding: 14px 20px;
  background: rgba(9, 13, 22, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
}

.hud-telemetry-item {
  display: flex;
  flex-direction: column;
}

.hud-label {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
}

.hud-val {
  font-size: 1.05rem;
  font-weight: 900;
  color: #38bdf8;
  direction: ltr;
  text-align: right;
}

/* Floating Hotspot Tooltip Popup */
.hotspot-callout-card {
  position: absolute;
  z-index: 40;
  width: 300px;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(2, 132, 199, 0.45);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: #ffffff;
  box-shadow: var(--shadow-hud);
  animation: calloutIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
  direction: rtl;
  text-align: right;
}

@keyframes calloutIn {
  from { opacity: 0; transform: scale(0.94) translateY(-4px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.hotspot-callout-card h5 {
  font-size: 0.92rem;
  font-weight: 800;
  color: #38bdf8;
  margin-bottom: 4px;
}

.hotspot-callout-card p {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.5;
}

/* ================================================================
   10. SPECIFIC SLIDE COMPONENTS
   ================================================================ */

/* Slide 1: Portal & Objectives */
.driving-question-card {
  background: linear-gradient(135deg, var(--secondary-light) 0%, var(--primary-light) 100%);
  border: 1px solid var(--secondary);
  border-right: 5px solid var(--secondary);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.4rem;
  margin-bottom: 0.9rem;
  box-shadow: var(--shadow-card);
}

.driving-question-card h4 {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 4px;
}

.driving-question-card p {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.55;
}

.objective-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.obj-num-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 900;
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Slide 2: 5 Eras Full-Width Timeline Grid */
.eras-hero-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  flex: 1;
}

.era-hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: var(--transition-deck);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.era-hero-card:hover, .era-hero-card.highlight {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 12px 30px -4px var(--primary-glow);
}

.era-hero-year {
  font-family: var(--font-latin);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 8px;
}

.era-hero-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.era-hero-title {
  font-size: 1rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 6px;
  line-height: 1.35;
}

.era-hero-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 10px;
}

.era-hero-impact {
  background: var(--bg-card-subtle);
  border-right: 3px solid var(--primary);
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.5;
}

/* Slide 3: Moore's Law Range & Telemetry */
.custom-range {
  -webkit-appearance: none;
  width: 100%;
  height: 10px;
  background: var(--border-medium);
  border-radius: 6px;
  outline: none;
}
.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #ffffff;
  cursor: pointer;
  box-shadow: 0 0 12px var(--primary);
  transition: transform 0.15s ease;
}
.custom-range::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.telemetry-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.telemetry-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.telemetry-label {
  font-size: 0.72rem;
  color: var(--text-faint);
  margin-bottom: 2px;
  font-weight: 600;
}

.telemetry-val {
  font-family: var(--font-latin);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--primary);
}

/* Slide 4: 5 Societal Shifts Tabs & Theater */
.shifts-tabs-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.shift-tab-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  cursor: pointer;
  transition: var(--transition-deck);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.shift-tab-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.shift-tab-card.active {
  background: var(--primary-light) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 16px var(--primary-glow);
}

.shift-theater-stage {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 10px;
  box-shadow: var(--shadow-card);
}

/* Slide 8: Think Like an Engineer Table */
.matrix-full-table {
  width: 100%;
  border-collapse: collapse;
  flex: 1;
}

.matrix-full-table th, .matrix-full-table td {
  padding: 12px 16px;
  border: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  line-height: 1.55;
}

.matrix-full-table th {
  background: var(--bg-card-subtle);
  font-weight: 900;
  color: var(--text-main);
}

/* Slide 10: Quiz & Exam Hub */
.question-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}

.q-title {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.45;
}

.options-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.option-btn {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-family: var(--font-arabic);
  font-size: 0.85rem;
  text-align: right;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-deck);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.option-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateX(-3px);
}

.option-btn.correct {
  background: var(--success-light) !important;
  border-color: var(--success) !important;
  color: var(--success) !important;
  font-weight: 800;
}

.option-btn.wrong {
  background: var(--danger-light) !important;
  border-color: var(--danger) !important;
  color: var(--danger) !important;
}

.q-feedback {
  display: none;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  line-height: 1.5;
}

.q-feedback.show.correct {
  display: block;
  background: var(--success-light);
  border: 1px solid rgba(4, 120, 87, 0.3);
  color: var(--success);
  font-weight: 700;
}

.q-feedback.show.wrong {
  display: block;
  background: var(--danger-light);
  border: 1px solid rgba(185, 28, 28, 0.3);
  color: var(--danger);
  font-weight: 700;
}

/* Primary Interactive Action Button */
.interactive-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #fff;
  border: none;
  font-family: var(--font-arabic);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition-deck);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.interactive-action-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--primary-glow);
}

/* Responsive Rules */
@media (max-width: 1200px) {
  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .eras-hero-grid, .shifts-tabs-bar {
    grid-template-columns: repeat(3, 1fr);
  }
}
