/* ═══════════════════════════════════════════════════════════════
   COMPUTER FUNDAMENTALS PRESENTATION — DESIGN SYSTEM
   Palette: Deep Navy + Electric Blue + Module Color-Coding
   Fonts: Bricolage Grotesque (display) + Plus Jakarta Sans (body)
═══════════════════════════════════════════════════════════════ */

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy-900: #0A0F1E;
  --navy-800: #0F1729;
  --navy-700: #141F38;
  --navy-600: #1A2847;
  --navy-500: #243358;
  --navy-400: #2E4070;
  --blue-500: #4F8EF7;
  --blue-400: #6BA3F9;
  --blue-300: #8FBBFB;
  --white: #FFFFFF;
  --off-white: #F0F4FF;
  --text-primary: #E8EEFF;
  --text-secondary: #9AAFD4;
  --text-muted: #5A7099;
  --sidebar-w: 260px;
  --topbar-h: 60px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
  height: 100%;
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--navy-900);
  color: var(--text-primary);
}

/* ── LAYOUT ───────────────────────────────────────────────── */
.sidebar {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: var(--sidebar-w);
  background: var(--navy-800);
  border-right: 1px solid rgba(79,142,247,0.12);
  display: flex;
  flex-direction: column;
  z-index: 100;
  transition: width var(--transition);
  overflow: hidden;
}

.sidebar.collapsed { width: 64px; }

.main-content {
  margin-left: var(--sidebar-w);
  height: 100vh;
  display: flex;
  flex-direction: column;
  transition: margin-left var(--transition);
  overflow: hidden;
}

.sidebar.collapsed ~ .main-content { margin-left: 64px; }

/* ── SIDEBAR HEADER ───────────────────────────────────────── */
.sidebar-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 16px;
  border-bottom: 1px solid rgba(79,142,247,0.1);
  min-height: 72px;
  flex-shrink: 0;
}

.sidebar-logo {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}

.sidebar-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  flex: 1;
}

.sidebar-title span { color: var(--blue-400); }

.sidebar-toggle {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: color var(--transition), background var(--transition);
}
.sidebar-toggle:hover { color: var(--white); background: rgba(79,142,247,0.15); }

/* ── SIDEBAR MODULES ──────────────────────────────────────── */
.sidebar-modules {
  flex: 1;
  overflow-y: auto;
  padding: 10px 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--navy-500) transparent;
}

.sidebar-modules::-webkit-scrollbar { width: 4px; }
.sidebar-modules::-webkit-scrollbar-track { background: transparent; }
.sidebar-modules::-webkit-scrollbar-thumb { background: var(--navy-500); border-radius: 2px; }

.mod-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 10px;
  background: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition);
  position: relative;
  margin-bottom: 2px;
  color: var(--text-secondary);
}

.mod-btn:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
}

.mod-btn.active {
  background: rgba(var(--mc, 79,142,247), 0.15);
  color: var(--white);
  box-shadow: inset 3px 0 0 var(--mc, #4F8EF7);
}

.mod-btn.active .mod-icon { filter: none; }

.mod-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.mod-label {
  font-size: 0.75rem;
  font-weight: 600;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mod-num {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  font-family: 'Bricolage Grotesque', sans-serif;
  flex-shrink: 0;
}

.mod-btn.active .mod-num { color: var(--mc, #4F8EF7); }

.sidebar.collapsed .mod-label,
.sidebar.collapsed .mod-num,
.sidebar.collapsed .sidebar-title,
.sidebar.collapsed .sidebar-progress { display: none; }

/* ── SIDEBAR PROGRESS ─────────────────────────────────────── */
.sidebar-progress {
  padding: 14px 16px;
  border-top: 1px solid rgba(79,142,247,0.1);
  flex-shrink: 0;
}

.progress-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.progress-bar-wrap {
  height: 4px;
  background: var(--navy-600);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 6px;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-500), #A259FF);
  border-radius: 2px;
  transition: width 0.5s ease;
  width: 2%;
}

.progress-text {
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* ── TOPBAR ───────────────────────────────────────────────── */
.topbar {
  height: var(--topbar-h);
  background: var(--navy-800);
  border-bottom: 1px solid rgba(79,142,247,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  flex-shrink: 0;
  gap: 16px;
}

.topbar-breadcrumb {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ctrl-btn {
  padding: 7px 16px;
  background: var(--navy-600);
  border: 1px solid rgba(79,142,247,0.2);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.ctrl-btn:hover {
  background: var(--navy-500);
  color: var(--white);
  border-color: rgba(79,142,247,0.4);
}

.ctrl-btn.primary {
  background: var(--blue-500);
  border-color: var(--blue-500);
  color: var(--white);
}

.ctrl-btn.primary:hover {
  background: var(--blue-400);
  border-color: var(--blue-400);
}

.ctrl-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.slide-counter {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  font-family: 'Bricolage Grotesque', sans-serif;
  min-width: 60px;
  text-align: center;
}

/* ── SLIDES VIEWPORT ──────────────────────────────────────── */
.slides-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
}

/* ── BASE SLIDE ───────────────────────────────────────────── */
.slide {
  position: absolute;
  inset: 0;
  padding: 28px 32px;
  overflow-y: auto;
  opacity: 0;
  transform: translateX(40px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  scrollbar-width: thin;
  scrollbar-color: var(--navy-500) transparent;
}

.slide::-webkit-scrollbar { width: 4px; }
.slide::-webkit-scrollbar-track { background: transparent; }
.slide::-webkit-scrollbar-thumb { background: var(--navy-500); border-radius: 2px; }

.slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.slide.exit-left {
  opacity: 0;
  transform: translateX(-40px);
}

/* ── MODULE TITLE SLIDE ───────────────────────────────────── */
.module-title-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}

.module-title-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(var(--slide-color-rgb, 79,142,247), 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.module-title-slide::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(var(--slide-color-rgb, 79,142,247), 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.module-badge {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-400);
  background: rgba(79,142,247,0.12);
  border: 1px solid rgba(79,142,247,0.25);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.module-hero-icon {
  font-size: 5rem;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 30px rgba(79,142,247,0.4));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.module-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 14px;
}

.module-title span { color: var(--blue-400); }

.module-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.module-topics-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 600px;
}

.module-topics-preview span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  color: var(--text-secondary);
}

/* ── CONTENT SLIDE ────────────────────────────────────────── */
.content-slide {
  background: var(--navy-900);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.slide-header {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(255,255,255,0.06);
  position: relative;
}

.slide-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--sc, #4F8EF7);
  border-radius: 1px;
}

.slide-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sc, #4F8EF7);
  margin-bottom: 6px;
}

.slide-header h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

/* ── SLIDE BODY LAYOUTS ───────────────────────────────────── */
.slide-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
}

.slide-body.two-col {
  flex-direction: row;
  gap: 24px;
  align-items: flex-start;
}

.slide-body.two-col-equal {
  flex-direction: row;
  gap: 24px;
  align-items: flex-start;
}

.slide-body.two-col-equal > * { flex: 1; min-width: 0; }

.slide-body.three-panel {
  flex-direction: row;
  gap: 16px;
  align-items: flex-start;
}

.slide-body.centered-content {
  align-items: center;
  justify-content: center;
}

.col-main { flex: 1.4; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.col-side { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; }

/* ── DEFINITION BOX ───────────────────────────────────────── */
.definition-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--sc, #4F8EF7);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.def-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 1px; }

.definition-box p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.definition-box strong { color: var(--white); }

/* ── KEY POINTS ───────────────────────────────────────────── */
.key-points { display: flex; flex-direction: column; gap: 8px; }
.key-points.compact { gap: 6px; }

.kp-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.05);
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.kp-item strong { color: var(--white); }
.kp-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }

/* ── IPO DIAGRAM ──────────────────────────────────────────── */
.ipo-diagram {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.06);
}

.ipo-box {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.4;
}

.ipo-box small { font-weight: 400; display: block; color: rgba(255,255,255,0.6); font-size: 0.65rem; }
.ipo-box.input { background: rgba(79,142,247,0.2); border: 1px solid rgba(79,142,247,0.3); color: #8FBBFB; }
.ipo-box.process { background: rgba(162,89,255,0.2); border: 1px solid rgba(162,89,255,0.3); color: #C49BFF; }
.ipo-box.output { background: rgba(46,196,182,0.2); border: 1px solid rgba(46,196,182,0.3); color: #7EEEE8; }
.ipo-arrow { color: var(--text-muted); font-size: 1.2rem; flex-shrink: 0; }

/* ── FUN FACT ─────────────────────────────────────────────── */
.fun-fact {
  background: rgba(255,159,28,0.1);
  border: 1px solid rgba(255,159,28,0.2);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.ff-label {
  display: block;
  font-weight: 700;
  color: #FF9F1C;
  font-size: 0.7rem;
  margin-bottom: 4px;
}

/* ── CARD GRID ────────────────────────────────────────────── */
.card-grid { display: grid; gap: 14px; }
.card-grid.four-col { grid-template-columns: repeat(4, 1fr); }
.card-grid.three-col { grid-template-columns: repeat(3, 1fr); }

.type-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 3px solid var(--tc, #4F8EF7);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.type-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.tc-icon { font-size: 2rem; margin-bottom: 8px; }
.type-card h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.type-card p { font-size: 0.72rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 10px; }
.tc-tag { font-size: 0.62rem; font-weight: 700; padding: 3px 8px; background: rgba(255,255,255,0.08); border-radius: 100px; color: var(--tc, #4F8EF7); display: inline-block; }

/* ── ALSO INCLUDES ────────────────────────────────────────── */
.also-includes {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.06);
}

.ai-label { font-size: 0.72rem; font-weight: 700; color: var(--text-muted); }
.ai-chip { font-size: 0.72rem; padding: 3px 10px; background: rgba(255,255,255,0.06); border-radius: 100px; color: var(--text-secondary); }

/* ── PARTS LAYOUT ─────────────────────────────────────────── */
.parts-layout { display: flex; gap: 24px; align-items: flex-start; }

.parts-diagram {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  flex: 1;
}

.pc-part {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 12px 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  font-size: 1.8rem;
  cursor: default;
  transition: all var(--transition);
}

.pc-part:hover { background: rgba(79,142,247,0.1); border-color: rgba(79,142,247,0.3); transform: scale(1.04); }
.pc-part span { font-size: 0.65rem; font-weight: 600; color: var(--text-secondary); text-align: center; }

.parts-details { flex: 1.2; display: flex; flex-direction: column; gap: 8px; }

.part-detail {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 12px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.pd-icon { font-size: 1rem; flex-shrink: 0; }
.part-detail strong { color: var(--white); }

/* ── IO SECTION ───────────────────────────────────────────── */
.io-section { flex: 1; display: flex; flex-direction: column; gap: 10px; }

.io-header {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.input-h { background: rgba(79,142,247,0.15); color: #8FBBFB; border: 1px solid rgba(79,142,247,0.25); }
.output-h { background: rgba(46,196,182,0.15); color: #7EEEE8; border: 1px solid rgba(46,196,182,0.25); }

.io-desc { font-size: 0.75rem; color: var(--text-muted); text-align: center; }
.io-desc strong { color: var(--text-secondary); }

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

.io-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-secondary);
  border: 1px solid rgba(255,255,255,0.05);
}

.io-item span { font-size: 1rem; }

.io-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-muted);
  flex-shrink: 0;
  padding: 0 4px;
  margin-top: 40px;
}

/* ── VS CARDS ─────────────────────────────────────────────── */
.vs-card {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.vs-card.hardware { border-top: 3px solid #4F8EF7; }
.vs-card.software { border-top: 3px solid #A259FF; }

.vs-icon { font-size: 2.5rem; }
.vs-card h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.1rem; font-weight: 800; color: var(--white); }
.vs-def { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; }
.vs-def strong { color: var(--white); }

.vs-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.vs-examples span {
  font-size: 0.68rem;
  padding: 3px 9px;
  background: rgba(255,255,255,0.07);
  border-radius: 100px;
  color: var(--text-secondary);
}

.vs-analogy {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  width: 100%;
}

.vs-analogy strong { color: var(--text-secondary); }

.vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text-muted);
  flex-shrink: 0;
  padding: 0 8px;
}

/* ── USES GRID ────────────────────────────────────────────── */
.uses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.use-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  text-align: center;
  transition: all var(--transition);
  border-top: 2px solid var(--uc, #4F8EF7);
}

.use-item:hover { transform: translateY(-3px); background: rgba(255,255,255,0.07); }
.use-icon { font-size: 1.8rem; display: block; margin-bottom: 6px; }
.use-item strong { display: block; font-size: 0.8rem; color: var(--white); margin-bottom: 4px; }
.use-item p { font-size: 0.68rem; color: var(--text-muted); line-height: 1.4; }

/* ── OS EXAMPLES ──────────────────────────────────────────── */
.os-examples { display: flex; flex-direction: column; gap: 8px; }

.os-ex {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
}

.os-ex.active-os {
  background: rgba(162,89,255,0.12);
  border-color: rgba(162,89,255,0.3);
}

.os-ex span { font-size: 1.2rem; }
.os-ex strong { color: var(--white); display: block; font-size: 0.82rem; }
.os-ex small { color: var(--text-muted); font-size: 0.68rem; }

/* ── WIN7 LAYOUT ──────────────────────────────────────────── */
.win7-layout { display: flex; gap: 24px; align-items: flex-start; }

.win7-screen {
  flex: 1;
  background: var(--navy-700);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-md);
}

.win7-desktop {
  background: linear-gradient(135deg, #1a3a6b 0%, #0d2040 100%);
  min-height: 200px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
}

.win7-icons { display: flex; gap: 16px; }

.w7-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 1.6rem;
  cursor: pointer;
}

.w7-icon span { font-size: 0.6rem; color: rgba(255,255,255,0.8); text-shadow: 0 1px 3px rgba(0,0,0,0.8); }

.win7-taskbar {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.w7-start {
  background: linear-gradient(135deg, #2a7a2a, #1a5a1a);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  cursor: pointer;
}

.w7-tasks { display: flex; gap: 4px; font-size: 1rem; }
.w7-clock { font-size: 0.6rem; color: rgba(255,255,255,0.8); }

.win7-features { flex: 1.2; }
.win7-features h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }

.feature-list { display: flex; flex-direction: column; gap: 7px; }

.feat-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.78rem;
  color: var(--text-secondary);
  padding: 7px 10px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
}

.feat-item span { font-size: 1rem; flex-shrink: 0; }
.feat-item strong { color: var(--white); }

/* ── THREE PANEL ──────────────────────────────────────────── */
.three-panel { display: flex; gap: 14px; align-items: flex-start; }

.panel {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-top: 3px solid var(--pc, #4F8EF7);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.panel-icon {
  font-size: 1.8rem;
  text-align: center;
}

.panel h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
}

.panel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.panel-list li {
  font-size: 0.75rem;
  color: var(--text-secondary);
  padding: 5px 8px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  line-height: 1.4;
}

.panel-list li strong { color: var(--white); }

/* ── FOLDER TREE ──────────────────────────────────────────── */
.folder-tree {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.ft-root { color: var(--white); font-weight: 700; }
.ft-child { padding-left: 16px; }
.ft-grandchild { padding-left: 32px; color: var(--text-muted); font-size: 0.72rem; }

.file-types { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ft-chip { font-size: 0.65rem; padding: 3px 8px; background: rgba(79,142,247,0.12); border: 1px solid rgba(79,142,247,0.2); border-radius: 100px; color: var(--blue-300); }

/* ── RECYCLE BIN ──────────────────────────────────────────── */
.recycle-visual { display: flex; gap: 20px; align-items: flex-start; width: 100%; max-width: 700px; }
.rb-icon { font-size: 4rem; flex-shrink: 0; }
.rb-flow { flex: 1; display: flex; flex-direction: column; gap: 8px; }

.rb-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.rb-step span {
  width: 24px;
  height: 24px;
  background: rgba(162,89,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #C49BFF;
  flex-shrink: 0;
}

.rb-arrow { text-align: center; color: var(--text-muted); font-size: 1.2rem; }

.rb-choice { display: flex; gap: 12px; }

.rb-option {
  flex: 1;
  padding: 12px;
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 0.75rem;
}

.rb-option.restore { background: rgba(46,196,182,0.1); border: 1px solid rgba(46,196,182,0.25); }
.rb-option.delete { background: rgba(255,107,107,0.1); border: 1px solid rgba(255,107,107,0.25); }
.rb-option span { font-size: 1.3rem; display: block; margin-bottom: 4px; }
.rb-option strong { display: block; color: var(--white); margin-bottom: 3px; font-size: 0.78rem; }
.rb-option p { color: var(--text-muted); font-size: 0.68rem; }

/* ── TIP BOX ──────────────────────────────────────────────── */
.tip-box {
  background: rgba(255,159,28,0.08);
  border: 1px solid rgba(255,159,28,0.2);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.tip-box.small { font-size: 0.72rem; padding: 8px 12px; }
.tip-box span { font-weight: 700; color: #FF9F1C; margin-right: 4px; }
.tip-box strong { color: var(--white); }

/* ── SHORTCUTS GRID ───────────────────────────────────────── */
.shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.sc-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition);
}

.sc-item:hover { background: rgba(162,89,255,0.1); border-color: rgba(162,89,255,0.3); }

.sc-item span {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

kbd {
  display: inline-block;
  padding: 2px 6px;
  background: var(--navy-600);
  border: 1px solid rgba(255,255,255,0.15);
  border-bottom: 2px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* ── MAINTENANCE GRID ─────────────────────────────────────── */
.maintenance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.maint-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  text-align: center;
  transition: all var(--transition);
}

.maint-item:hover { transform: translateY(-3px); background: rgba(255,255,255,0.07); }
.mi-icon { font-size: 2rem; display: block; margin-bottom: 8px; }
.maint-item h4 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.85rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.maint-item p { font-size: 0.72rem; color: var(--text-secondary); line-height: 1.5; }

/* ── PAINT UI MOCK ────────────────────────────────────────── */
.paint-ui-mock {
  background: #f0f0f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1);
}

.paint-ribbon {
  background: #d4d0c8;
  padding: 6px 10px;
  display: flex;
  gap: 8px;
  font-size: 1.1rem;
  border-bottom: 1px solid #a0a0a0;
}

.paint-canvas {
  background: white;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.paint-drawing { font-size: 3rem; }

.paint-colors {
  background: #d4d0c8;
  padding: 6px 10px;
  display: flex;
  gap: 4px;
  border-top: 1px solid #a0a0a0;
}

.pc-swatch {
  width: 18px;
  height: 18px;
  border-radius: 2px;
  cursor: pointer;
}

/* ── TOOLS GRID ───────────────────────────────────────────── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.tool-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  text-align: center;
  transition: all var(--transition);
}

.tool-card:hover { background: rgba(255,107,107,0.08); border-color: rgba(255,107,107,0.25); transform: translateY(-2px); }
.tool-icon { font-size: 1.8rem; display: block; margin-bottom: 6px; }
.tool-card h4 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.82rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.tool-card p { font-size: 0.68rem; color: var(--text-secondary); line-height: 1.4; }

/* ── SHAPES DEMO ──────────────────────────────────────────── */
.shapes-section, .colors-section { flex: 1; }
.shapes-section h3, .colors-section h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }

.shapes-demo { display: flex; gap: 16px; margin-bottom: 14px; }

.shape-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.shape-item span { font-size: 0.65rem; color: var(--text-muted); }

.shape-rect { width: 50px; height: 35px; background: rgba(255,107,107,0.3); border: 2px solid #FF6B6B; border-radius: 3px; }
.shape-circle { width: 40px; height: 40px; background: rgba(79,142,247,0.3); border: 2px solid #4F8EF7; border-radius: 50%; }
.shape-triangle { width: 0; height: 0; border-left: 22px solid transparent; border-right: 22px solid transparent; border-bottom: 38px solid rgba(46,196,182,0.6); }
.shape-star { font-size: 2rem; }

.shape-tips { display: flex; flex-direction: column; gap: 6px; }
.st-tip { font-size: 0.72rem; color: var(--text-secondary); padding: 6px 10px; background: rgba(255,255,255,0.03); border-radius: var(--radius-sm); }

.color-tips { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.ct-item { font-size: 0.75rem; color: var(--text-secondary); display: flex; align-items: center; gap: 8px; }
.ct-item span { font-weight: 700; color: var(--white); }

.color-wheel-demo { display: flex; flex-direction: column; gap: 4px; }
.cw-row { display: flex; gap: 4px; }
.cw-cell { width: 32px; height: 32px; border-radius: 4px; cursor: pointer; transition: transform var(--transition); }
.cw-cell:hover { transform: scale(1.2); }

/* ── STEPS LIST ───────────────────────────────────────────── */
.steps-list { display: flex; flex-direction: column; gap: 8px; }
.steps-list.compact { gap: 6px; }

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.step-num {
  width: 22px;
  height: 22px;
  background: rgba(79,142,247,0.2);
  border: 1px solid rgba(79,142,247,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--blue-300);
  flex-shrink: 0;
}

.step-item strong { color: var(--white); }

/* ── FORMAT INFO ──────────────────────────────────────────── */
.format-info { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.fi-chip { font-size: 0.68rem; padding: 3px 9px; background: rgba(255,107,107,0.1); border: 1px solid rgba(255,107,107,0.2); border-radius: 100px; color: #FF9B9B; }

/* ── ACTIVITY SLIDE ───────────────────────────────────────── */
.activity-slide {
  background: var(--navy-900);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.activity-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255,107,107,0.08) 0%, transparent 70%);
}

.activity-badge {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FF6B6B;
  background: rgba(255,107,107,0.12);
  border: 1px solid rgba(255,107,107,0.25);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.activity-badge.small { font-size: 0.62rem; padding: 3px 10px; margin-bottom: 8px; }

.activity-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}

.activity-content {
  display: flex;
  gap: 24px;
  width: 100%;
  max-width: 800px;
  text-align: left;
}

.activity-task, .activity-tips {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.activity-task h3, .activity-tips h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.task-steps { display: flex; flex-direction: column; gap: 7px; }
.task-steps.compact { gap: 5px; }

.ts-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.ts-item span {
  width: 20px;
  height: 20px;
  background: rgba(255,107,107,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: #FF9B9B;
  flex-shrink: 0;
}

.activity-tips p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  padding: 6px 10px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
}

/* ── WORD UI PARTS ────────────────────────────────────────── */
.word-ui-parts { display: flex; flex-direction: column; gap: 8px; }

.ui-part {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.ui-part span { font-size: 1rem; }
.ui-part strong { color: var(--white); }

/* ── LAYOUT OPTIONS ───────────────────────────────────────── */
.layout-options { display: flex; flex-direction: column; gap: 8px; }

.lo-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.lo-item span { font-size: 1rem; flex-shrink: 0; }
.lo-item strong { color: var(--white); }

/* ── FORMATTING DEMO ──────────────────────────────────────── */
.formatting-demo { display: flex; gap: 20px; }
.fmt-section { flex: 1; }
.fmt-section h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }

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

.fmt-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 6px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  text-align: center;
}

.fmt-item span { font-size: 0.65rem; color: var(--text-muted); }

.text-format-examples { display: flex; flex-direction: column; gap: 8px; }

.tfe-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--white);
}

.tfe-item span { font-size: 0.7rem; color: var(--text-muted); }

/* ── MAIL MERGE ───────────────────────────────────────────── */
.mail-merge-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0;
  flex-wrap: wrap;
}

.mm-step {
  flex: 1;
  min-width: 140px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.mm-num {
  width: 26px;
  height: 26px;
  background: rgba(0,180,216,0.2);
  border: 1px solid rgba(0,180,216,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #7EEEF8;
  flex-shrink: 0;
}

.mm-content strong { display: block; font-size: 0.78rem; color: var(--white); margin-bottom: 3px; }
.mm-content p { font-size: 0.68rem; color: var(--text-muted); line-height: 1.4; }
.mm-arrow { color: var(--text-muted); font-size: 1.2rem; flex-shrink: 0; }

/* ── EXCEL GRID DEMO ──────────────────────────────────────── */
.excel-grid-demo {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1);
  font-size: 0.72rem;
}

.eg-header { display: flex; background: #e8e8e8; }
.eg-corner { width: 36px; height: 24px; border-right: 1px solid #ccc; border-bottom: 1px solid #ccc; }
.eg-col-h { flex: 1; text-align: center; padding: 4px; border-right: 1px solid #ccc; border-bottom: 1px solid #ccc; font-weight: 700; color: #333; background: #d4d4d4; }

.eg-row { display: flex; }
.eg-row-h { width: 36px; text-align: center; padding: 6px 4px; border-right: 1px solid #ccc; border-bottom: 1px solid #ccc; font-weight: 700; color: #333; background: #d4d4d4; font-size: 0.65rem; }
.eg-cell { flex: 1; padding: 6px 8px; border-right: 1px solid #e0e0e0; border-bottom: 1px solid #e0e0e0; color: #333; }
.eg-cell.active-cell { background: rgba(46,196,182,0.15); border: 2px solid #2EC4B6; font-weight: 700; color: #1a8a80; }

.cell-ref-note {
  margin-top: 10px;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  padding: 8px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
}

.cell-ref-note strong { color: var(--text-secondary); }

/* ── FORMULA GRID ─────────────────────────────────────────── */
.formula-intro { margin-bottom: 12px; }

.fi-rule {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(46,196,182,0.12);
  border: 1px solid rgba(46,196,182,0.25);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: #7EEEE8;
}

.fi-rule strong { color: #2EC4B6; font-size: 1.1em; }

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

.formula-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 10px;
  text-align: center;
  transition: all var(--transition);
}

.formula-card:hover { background: rgba(46,196,182,0.08); border-color: rgba(46,196,182,0.25); }

.fc-formula {
  font-family: 'Courier New', monospace;
  font-size: 0.68rem;
  color: #7EEEE8;
  background: rgba(46,196,182,0.1);
  padding: 4px 6px;
  border-radius: 4px;
  margin-bottom: 5px;
  word-break: break-all;
}

.fc-name { font-size: 0.75rem; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.fc-desc { font-size: 0.65rem; color: var(--text-muted); line-height: 1.3; }

/* ── LOGIC CARDS ──────────────────────────────────────────── */
.logic-section, .lookup-section { flex: 1; }
.logic-section h3, .lookup-section h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }

.logic-card, .lookup-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin-bottom: 8px;
}

.lc-formula {
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  color: #7EEEE8;
  background: rgba(46,196,182,0.1);
  padding: 5px 8px;
  border-radius: 4px;
  margin-bottom: 5px;
}

.logic-card p, .lookup-card p { font-size: 0.72rem; color: var(--text-muted); line-height: 1.4; }
.lk-title { font-size: 0.75rem; font-weight: 700; color: var(--white); margin-bottom: 5px; }

/* ── CHART TYPES ──────────────────────────────────────────── */
.chart-types { display: flex; flex-direction: column; gap: 7px; margin-bottom: 12px; }

.ct-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.ct-item span { font-size: 1rem; }
.ct-item strong { color: var(--white); }

.chart-steps {
  padding: 10px 14px;
  background: rgba(46,196,182,0.08);
  border: 1px solid rgba(46,196,182,0.2);
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── MARKSHEET ────────────────────────────────────────────── */
.marksheet-demo { display: flex; flex-direction: column; gap: 14px; }

.ms-table-wrap { overflow-x: auto; }

.ms-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.72rem;
}

.ms-table th {
  background: rgba(46,196,182,0.2);
  color: #7EEEE8;
  padding: 8px 10px;
  text-align: center;
  font-weight: 700;
  border: 1px solid rgba(46,196,182,0.2);
  white-space: nowrap;
}

.ms-table td {
  padding: 7px 10px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text-secondary);
}

.ms-table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }
.formula-cell { color: #7EEEE8; font-family: 'Courier New', monospace; font-size: 0.65rem; }
.pass-cell { color: #2EC4B6; font-weight: 700; }
.fail-cell { color: #FF6B6B; font-weight: 700; }

.ms-formulas { display: flex; flex-wrap: wrap; gap: 10px; }

.msf-item {
  padding: 6px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.msf-item strong { color: var(--white); }
.msf-item code { font-family: 'Courier New', monospace; color: #7EEEE8; font-size: 0.68rem; }

/* ── PPT SECTIONS ─────────────────────────────────────────── */
.ppt-section, .theme-section { flex: 1; }
.ppt-section h3, .theme-section h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }

.layout-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.layout-chips span { font-size: 0.65rem; padding: 3px 9px; background: rgba(255,159,28,0.1); border: 1px solid rgba(255,159,28,0.2); border-radius: 100px; color: #FFB84D; }

.theme-demo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 12px; }

.theme-card {
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: white;
  border: 1px solid rgba(255,255,255,0.1);
}

/* ── ANIMATION TYPES ──────────────────────────────────────── */
.anim-section { flex: 1; }
.anim-section h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }

.anim-types { display: flex; flex-direction: column; gap: 12px; }
.at-group { display: flex; flex-direction: column; gap: 6px; }
.at-label { font-size: 0.75rem; font-weight: 600; color: var(--text-secondary); }
.at-chips { display: flex; flex-wrap: wrap; gap: 6px; }

.at-chip {
  font-size: 0.68rem;
  padding: 3px 9px;
  border-radius: 100px;
}

.at-chip.entrance { background: rgba(46,196,182,0.12); border: 1px solid rgba(46,196,182,0.25); color: #7EEEE8; }
.at-chip.emphasis { background: rgba(255,159,28,0.12); border: 1px solid rgba(255,159,28,0.25); color: #FFB84D; }
.at-chip.exit { background: rgba(255,107,107,0.12); border: 1px solid rgba(255,107,107,0.25); color: #FF9B9B; }
.at-chip.trans { background: rgba(162,89,255,0.12); border: 1px solid rgba(162,89,255,0.25); color: #C49BFF; }

/* ── SLIDESHOW SECTION ────────────────────────────────────── */
.slideshow-section, .activity-mini { flex: 1; }
.slideshow-section h3, .activity-mini h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }

.slideshow-tips { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.sst-item { font-size: 0.72rem; color: var(--text-muted); padding: 6px 10px; background: rgba(255,255,255,0.03); border-radius: var(--radius-sm); }

/* ── BROWSER LIST ─────────────────────────────────────────── */
.browser-list { display: flex; flex-direction: column; gap: 7px; margin-bottom: 12px; }

.browser-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
}

.browser-item.popular-se { background: rgba(6,214,160,0.08); border: 1px solid rgba(6,214,160,0.2); }
.browser-item span { font-size: 1.1rem; }
.browser-item strong { color: var(--white); display: block; font-size: 0.78rem; }
.browser-item small { color: var(--text-muted); font-size: 0.65rem; }

.browser-parts { display: flex; flex-direction: column; gap: 6px; }
.bp-item { font-size: 0.72rem; color: var(--text-secondary); display: flex; align-items: center; gap: 6px; }

/* ── SEARCH ENGINES ───────────────────────────────────────── */
.search-engines { display: flex; flex-direction: column; gap: 7px; margin-bottom: 12px; }

.se-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
}

.se-item.top-se { background: rgba(6,214,160,0.08); border: 1px solid rgba(6,214,160,0.2); }
.se-item span { font-size: 1.1rem; }
.se-item strong { color: var(--white); display: block; }
.se-item small { color: var(--text-muted); font-size: 0.65rem; }

.search-tips h4 { font-size: 0.78rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.search-tips .st-tip { font-size: 0.7rem; color: var(--text-muted); padding: 5px 8px; background: rgba(255,255,255,0.03); border-radius: 4px; margin-bottom: 4px; }

/* ── SAFETY RULES ─────────────────────────────────────────── */
.safety-rules { display: flex; flex-direction: column; gap: 7px; }

.sr-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.sr-item.safe { background: rgba(46,196,182,0.06); border: 1px solid rgba(46,196,182,0.15); }
.sr-item.danger { background: rgba(255,107,107,0.06); border: 1px solid rgba(255,107,107,0.15); }
.sr-item span { font-size: 0.9rem; flex-shrink: 0; }
.sr-item strong { color: var(--white); }

/* ── BOOKING TYPES ────────────────────────────────────────── */
.booking-types { display: flex; flex-direction: column; gap: 7px; }

.bt-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.bt-item span { font-size: 1rem; }
.bt-item strong { color: var(--white); }

/* ── DOWNLOAD TYPES ───────────────────────────────────────── */
.download-types { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.dt-chip { font-size: 0.68rem; padding: 3px 9px; background: rgba(6,214,160,0.1); border: 1px solid rgba(6,214,160,0.2); border-radius: 100px; color: #7EEEE8; }

/* ── EMAIL PARTS ──────────────────────────────────────────── */
.email-parts { display: flex; flex-direction: column; gap: 7px; margin-bottom: 12px; }

.ep-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.ep-item span { font-size: 1rem; }
.ep-item strong { color: var(--white); }

/* ── ATTACH TIPS ──────────────────────────────────────────── */
.attach-tips { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.at-tip { font-size: 0.72rem; color: var(--text-muted); padding: 6px 10px; background: rgba(255,255,255,0.03); border-radius: var(--radius-sm); }

/* ── OUTLOOK FEATURES ─────────────────────────────────────── */
.outlook-features { display: flex; flex-direction: column; gap: 7px; }

.of-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.of-item span { font-size: 1rem; }
.of-item strong { color: var(--white); }

/* ── SKYPE SETUP ──────────────────────────────────────────── */
.skype-setup { margin-bottom: 14px; }
.skype-setup h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.85rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }

.requirements-box {
  background: rgba(247,37,133,0.08);
  border: 1px solid rgba(247,37,133,0.2);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.requirements-box h4 { font-size: 0.78rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }

.req-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--text-secondary);
  padding: 4px 0;
}

/* ── FINAL SLIDE ──────────────────────────────────────────── */
.final-slide {
  background: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.final-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(79,142,247,0.1) 0%, transparent 70%);
}

.final-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.final-icon {
  font-size: 5rem;
  margin-bottom: 16px;
  animation: float 3s ease-in-out infinite;
}

.final-content h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.final-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}

.final-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}

.fm-item {
  padding: 7px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.fm-item:hover {
  background: rgba(var(--mc, 79,142,247), 0.15);
  border-color: rgba(var(--mc, 79,142,247), 0.3);
  color: var(--white);
}

.final-quote {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  padding: 12px 20px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--blue-500);
  text-align: left;
  line-height: 1.6;
}

/* ── PIVOT SECTION ────────────────────────────────────────── */
.pivot-section, .charts-section { flex: 1; }
.pivot-section h3, .charts-section h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }

/* ── INTERNET SECTION ─────────────────────────────────────── */
.internet-section, .browser-section { flex: 1; }
.browser-section h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }

/* ── BROWSE/SEARCH SECTIONS ───────────────────────────────── */
.browse-section, .search-section { flex: 1; }
.browse-section h3, .search-section h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }

/* ── SAFETY/BOOKING SECTIONS ──────────────────────────────── */
.safety-section, .booking-section { flex: 1; }
.safety-section h3, .booking-section h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }

/* ── RAILWAY/DOWNLOAD SECTIONS ────────────────────────────── */
.railway-section, .download-section { flex: 1; }
.railway-section h3, .download-section h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }

/* ── EMAIL CREATE/SEND SECTIONS ───────────────────────────── */
.email-create, .email-send { flex: 1; }
.email-create h3, .email-send h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }

/* ── ATTACH/OUTLOOK SECTIONS ──────────────────────────────── */
.attach-section, .outlook-section { flex: 1; }
.attach-section h3, .outlook-section h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }

/* ── DOC/LAYOUT SECTIONS ──────────────────────────────────── */
.doc-section, .layout-section { flex: 1; }
.doc-section h3, .layout-section h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }

/* ── EDIT/FORMAT SECTIONS ─────────────────────────────────── */
.edit-section, .format-section { flex: 1; }
.edit-section h3, .format-section h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }

.format-options { display: flex; flex-direction: column; gap: 7px; }

.fo-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.fo-item span { font-size: 1rem; flex-shrink: 0; }
.fo-item strong { color: var(--white); }

/* ── SAVE/OPEN SECTIONS ───────────────────────────────────── */
.save-section, .open-section { flex: 1; }
.save-section h3, .open-section h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }

/* ── INSERT/ANIM SECTIONS ─────────────────────────────────── */
.insert-section { flex: 1; }
.insert-section h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }

/* ── SHAPES/COLORS SECTIONS ───────────────────────────────── */
.shapes-section h3, .colors-section h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }

/* ── BROWSER ITEM POPULAR ─────────────────────────────────── */
.browser-item.popular {
  background: rgba(6,214,160,0.08);
  border: 1px solid rgba(6,214,160,0.2);
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --sidebar-w: 220px; }
  .card-grid.four-col { grid-template-columns: repeat(2, 1fr); }
  .uses-grid { grid-template-columns: repeat(2, 1fr); }
  .shortcuts-grid { grid-template-columns: repeat(3, 1fr); }
  .formula-grid { grid-template-columns: repeat(3, 1fr); }
  .maintenance-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .sidebar { width: 64px; }
  .main-content { margin-left: 64px; }
  .slide-body.two-col,
  .slide-body.two-col-equal,
  .slide-body.three-panel { flex-direction: column; }
  .three-panel { flex-direction: column; }
  .slide { padding: 16px; }
}

/* ── SCROLLBAR GLOBAL ─────────────────────────────────────── */
* { scrollbar-width: thin; scrollbar-color: var(--navy-500) transparent; }
*::-webkit-scrollbar { width: 4px; height: 4px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: var(--navy-500); border-radius: 2px; }

/* ── SELECTION ────────────────────────────────────────────── */
::selection { background: rgba(79,142,247,0.3); color: var(--white); }