/* ====================================================
   ALL NATIONS CHURCH — NOTION ONBOARDING
   Design Language: Notion + #CB5928 accent
   ==================================================== */

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

/* ── CSS Variables ─────────────────────────────────── */
:root {
  --bg:           #F7F7F5;
  --surface:      #FFFFFF;
  --border:       #E9E9E7;
  --border-dark:  #D5D5D3;
  --text-primary: #111111;
  --text-secondary:#666666;
  --text-muted:   #999999;
  --accent:       #CB5928;
  --accent-hover: #B34E22;
  --accent-soft:  rgba(203, 89, 40, 0.08);
  --accent-light: rgba(203, 89, 40, 0.15);
  --shadow-xs:    0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm:    0 1px 4px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  --radius-xs:    4px;
  --radius-sm:    6px;
  --radius-md:    10px;
  --radius-lg:    16px;
  --radius-xl:    24px;
  --t-fast:       0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --t-base:       0.3s  cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow:       0.5s  cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  height: 100vh;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

/* ── Top Bar ────────────────────────────────────────── */
.top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: rgba(247, 247, 245, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.top-bar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.n-logo {
  width: 26px; height: 26px;
  background: var(--text-primary);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 15px;
  font-weight: 900;
  font-style: italic;
  flex-shrink: 0;
}
.brand-label {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-label .brand-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}
.brand-label .brand-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
}
.slide-counter {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.slide-counter .current {
  color: var(--text-primary);
  font-weight: 700;
}

/* ── Progress Bar ───────────────────────────────────── */
.progress-track {
  position: fixed;
  top: 56px; left: 0; right: 0;
  height: 2px;
  background: var(--border);
  z-index: 199;
}
.progress-fill {
  height: 100%;
  background: var(--accent);
  transition: width var(--t-slow);
  border-radius: 0 2px 2px 0;
}

/* ── Slides Wrapper ─────────────────────────────────── */
.slides-wrap {
  position: fixed;
  top: 58px; bottom: 72px; left: 0; right: 0;
  overflow: hidden;
}

/* ── Individual Slide ───────────────────────────────── */
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 48px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--t-slow), transform var(--t-slow);
  pointer-events: none;
  overflow-y: auto;
  background: var(--bg);
}
.slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
  z-index: 2;
}
.slide.slide-exit {
  opacity: 0;
  transform: translateY(-22px);
  pointer-events: none;
  z-index: 1;
}
.slide-inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

/* ── Bottom Nav ─────────────────────────────────────── */
.nav-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 28px;
  background: rgba(247, 247, 245, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
}
.nav-btn {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-primary);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-fast);
  flex-shrink: 0;
}
.nav-btn:hover:not(:disabled) {
  background: var(--text-primary);
  color: white;
  border-color: var(--text-primary);
}
.nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.progress-dots {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  max-width: 320px;
  justify-content: center;
}
.dot {
  width: 6px; height: 6px;
  border-radius: 3px;
  background: var(--border-dark);
  cursor: pointer;
  transition: all var(--t-fast);
  flex-shrink: 0;
}
.dot.active {
  background: var(--accent);
  width: 18px;
}
.dot:hover:not(.active) { background: var(--text-muted); }

/* Keyboard hint */
.keyboard-hint {
  position: absolute;
  right: 28px;
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.key-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  background: var(--surface);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ── Typography Helpers ─────────────────────────────── */
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}
.slide-title {
  font-size: clamp(26px, 3.8vw, 44px);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.slide-subtitle {
  font-size: clamp(14px, 1.8vw, 18px);
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 32px;
}
.section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ── Cards ──────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--t-fast), transform var(--t-fast);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.card-sm { padding: 14px 16px; border-radius: var(--radius-sm); }
.card-accent-left { border-left: 3px solid var(--accent); }
.card-accent-top::before {
  content: '';
  display: block;
  height: 3px;
  background: var(--accent);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  margin: -20px -20px 16px;
}

/* ── Grids ──────────────────────────────────────────── */
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.g3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.g5 { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-fast);
  border: none;
  font-family: inherit;
  text-decoration: none;
}
.btn-dark  { background: var(--text-primary); color: white; }
.btn-dark:hover { background: #333; }
.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--text-primary); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--text-muted); background: var(--surface); }

/* ── Info / Learn More Button ───────────────────────── */
.info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1.5px solid var(--accent-light);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--t-fast);
  flex-shrink: 0;
  vertical-align: middle;
}
.info-btn:hover { background: var(--accent); color: white; border-color: var(--accent); }

/* ── Modal ──────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17,17,17,0.45);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  transform: scale(0.96) translateY(8px);
  transition: transform var(--t-base);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-header {
  padding: 24px 24px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 1;
}
.modal-title { font-size: 18px; font-weight: 700; line-height: 1.3; }
.modal-close {
  width: 28px; height: 28px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-fast);
  flex-shrink: 0;
}
.modal-close:hover { background: var(--text-primary); color: white; border-color: var(--text-primary); }
.modal-body { padding: 20px 24px 28px; }
.modal-preview-img { width: 100%; border-radius: var(--radius-sm); margin-bottom: 18px; display: block; border: 1px solid var(--border); }
.modal-body p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}
.modal-body p:last-child { margin-bottom: 0; }
.modal-body h4 { font-size: 14px; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.modal-tip {
  background: var(--accent-soft);
  border: 1px solid var(--accent-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-top: 18px;
}
.modal-tip p { font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 0; }
.modal-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.modal-list li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.modal-list li::before {
  content: '→';
  position: absolute; left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ── Animations ─────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}
.slide.active .anim-1 { animation: fadeInUp 0.5s ease 0.05s both; }
.slide.active .anim-2 { animation: fadeInUp 0.5s ease 0.15s both; }
.slide.active .anim-3 { animation: fadeInUp 0.5s ease 0.25s both; }
.slide.active .anim-4 { animation: fadeInUp 0.5s ease 0.35s both; }
.slide.active .anim-5 { animation: fadeInUp 0.5s ease 0.45s both; }
.slide.active .anim-6 { animation: fadeInUp 0.5s ease 0.55s both; }

/* ═══════════════════════════════════════════════════════
   SLIDE-SPECIFIC STYLES
   ═══════════════════════════════════════════════════════ */

/* ── Slide 1: Hero ──────────────────────────────────── */
.s1-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.s1-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.s1-badge .badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.s1-hero-title {
  font-size: clamp(44px, 6.5vw, 80px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.s1-hero-title em { color: var(--accent); font-style: normal; }
.s1-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.55;
}
.s1-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.s1-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  justify-content: center;
}
.s1-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.s1-stat strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
}
.s1-stat span {
  font-size: 12px;
  color: var(--text-muted);
}
.s1-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}
.s1-decor {
  position: absolute;
  pointer-events: none;
  opacity: 0.06;
}
.s1-decor-tl { top: -20px; left: -30px; width: 120px; transform: rotate(-15deg); }
.s1-decor-tr { top: -10px; right: -20px; width: 100px; transform: rotate(10deg); }
.s1-decor-bl { bottom: -20px; left: 40px; width: 90px; transform: rotate(8deg); }
.s1-decor-br { bottom: -10px; right: 30px; width: 110px; transform: rotate(-8deg); }

/* ── Slide 2: Agenda ────────────────────────────────── */
.s2-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
}
.s2-heading .slide-title { font-size: clamp(24px, 3vw, 38px); }
.agenda-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.agenda-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  cursor: pointer;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.agenda-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px) scale(1.02);
}
.agenda-card .ag-num {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.agenda-card img { width: 90px; height: 90px; object-fit: contain; align-self: center; }
.agenda-card .ag-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}
.agenda-card .ag-arrow {
  font-size: 11px;
  color: var(--accent);
  font-weight: 700;
  margin-top: auto;
}

/* Staggered agenda card pop-in */
.slide.active .agenda-cards .agenda-card:nth-child(1) { animation: cardPopIn 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) 0.20s both; }
.slide.active .agenda-cards .agenda-card:nth-child(2) { animation: cardPopIn 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) 0.35s both; }
.slide.active .agenda-cards .agenda-card:nth-child(3) { animation: cardPopIn 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) 0.50s both; }
.slide.active .agenda-cards .agenda-card:nth-child(4) { animation: cardPopIn 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) 0.65s both; }
.slide.active .agenda-cards .agenda-card:nth-child(5) { animation: cardPopIn 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) 0.80s both; }

/* ── Slide 3: What is Notion ────────────────────────── */
.s3-layout { display: flex; flex-direction: column; gap: 20px; }
.notion-quote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px;
  font-size: 17px;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.65;
  display: flex;
  align-items: center;
  gap: 14px;
}
.notion-quote .quote-icon {
  font-size: 32px;
  color: var(--accent);
  opacity: 0.4;
  flex-shrink: 0;
  font-style: normal;
}
.use-case-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.uc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 6px 12px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.uc-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-3px) scale(1.02); }
.uc-card img { width: 90px; height: 90px; object-fit: contain; margin: 0 auto 8px; }
.uc-card span { font-size: 12px; font-weight: 600; color: var(--text-secondary); display: block; line-height: 1.3; }

/* Staggered card pop-in animation */
@keyframes cardPopIn {
  from { opacity: 0; transform: translateY(24px) scale(0.80); }
  to   { opacity: 1; transform: translateY(0)   scale(1);    }
}
.slide.active .use-case-row .uc-card:nth-child(1) { animation: cardPopIn 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) 0.20s both; }
.slide.active .use-case-row .uc-card:nth-child(2) { animation: cardPopIn 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) 0.35s both; }
.slide.active .use-case-row .uc-card:nth-child(3) { animation: cardPopIn 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) 0.50s both; }
.slide.active .use-case-row .uc-card:nth-child(4) { animation: cardPopIn 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) 0.65s both; }
.slide.active .use-case-row .uc-card:nth-child(5) { animation: cardPopIn 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) 0.80s both; }
.s3-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--accent-soft);
  border: 1px solid var(--accent-light);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
}
.s3-bottom p { font-size: 13px; color: var(--accent); font-weight: 600; }

/* ── Slide 4: Analogy ────────────────────────────────── */
.s4-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.tool-list { display: flex; flex-direction: column; gap: 8px; }
.tool-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  cursor: pointer;
  transition: all var(--t-fast);
}
.tool-item:hover { border-color: var(--accent); transform: translateX(4px); }
.tool-item .ti-emoji { font-size: 22px; width: 32px; text-align: center; }
.tool-item .ti-body strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.tool-item .ti-body span { font-size: 12px; color: var(--text-muted); }
.benefit-list { display: flex; flex-direction: column; gap: 10px; }
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.bi-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.benefit-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.45; }

/* ── Slide 5: Why ────────────────────────────────────── */
.s5-layout { display: flex; flex-direction: column; gap: 16px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  transition: all var(--t-fast);
}
.why-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.why-card .wc-icon { width: 40px; height: 40px; margin-bottom: 10px; display: block; }
.why-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.why-card p { font-size: 12px; color: var(--text-muted); line-height: 1.45; }
.goal-banner {
  background: var(--text-primary);
  color: white;
  border-radius: var(--radius-md);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.goal-banner .gb-icon { width: 32px; height: 32px; flex-shrink: 0; }
.goal-banner p { font-size: 14px; font-weight: 500; line-height: 1.5; }
.goal-banner p strong { color: #E8A070; font-weight: 700; }

/* ── Slide 6: Before / After ────────────────────────── */
.s6-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.compare-panel { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); display: flex; flex-direction: column; }
.compare-body { flex: 1; }
.compare-header {
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.compare-header.before { background: #F2F2F0; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.compare-header.after  { background: var(--accent); color: white; border-bottom: none; }
.compare-body { background: var(--surface); padding: 18px 20px; }
.compare-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--bg);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.45;
}
.compare-item:last-child { border-bottom: none; }
.compare-item .ci-marker { flex-shrink: 0; width: 22px; height: 22px; }
.compare-illus {
  padding: 8px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
}
.compare-illus img { height: 150px; object-fit: contain; margin: 0 auto; }

/* ── Slide 7: Blocks ────────────────────────────────── */
.s7-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: center; }
.block-types { display: flex; flex-direction: column; gap: 7px; }
.block-type {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  cursor: pointer;
  transition: all var(--t-fast);
}
.block-type:hover { border-color: var(--accent); transform: translateX(4px); }
.block-type.highlighted { border-color: var(--accent); background: var(--accent-soft); }
.block-type .bt-icon { width: 28px; height: 28px; flex-shrink: 0; }
.block-type .bt-name { font-size: 14px; font-weight: 600; flex: 1; }
.block-type .bt-key {
  font-size: 10px;
  padding: 2px 7px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-muted);
  font-weight: 600;
  font-family: monospace;
}
.lego-canvas {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 20px 18px;
}
.lego-canvas h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.lego-blocks { display: flex; flex-direction: column; gap: 6px; }
.lego-blocks.drag-active { gap: 6px; }

.lego-block {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid;
  cursor: grab;
  transition: all var(--t-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}
.lego-block:hover { transform: scale(1.02); box-shadow: var(--shadow-sm); }
.lego-block:hover .drag-handle { opacity: 1; }
.lego-block.lb-text    { background: #F5F0FF; border-color: #D8C8FF; color: #5B3F8A; }
.lego-block.lb-image   { background: #FFF5E8; border-color: #FFD8A8; color: #8A4A00; }
.lego-block.lb-check   { background: #EFFFEE; border-color: #B8F0BB; color: #1A6E1E; }
.lego-block.lb-table   { background: #EAF4FF; border-color: #AACEFF; color: #0A4A8A; }
.lego-block.lb-video   { background: #FFF0F5; border-color: #FFAAC5; color: #8A0033; }

/* Drag handle */
.drag-handle {
  font-size: 14px;
  opacity: 0;
  cursor: grab;
  color: currentColor;
  user-select: none;
  flex-shrink: 0;
  transition: opacity 0.15s ease;
  line-height: 1;
  letter-spacing: -1px;
}
.drag-handle:active { cursor: grabbing; }
.lb-icon { flex-shrink: 0; width: 20px; height: 20px; }

/* Dragging states */
.lego-block.is-dragging {
  opacity: 0.35;
  transform: scale(0.97);
  box-shadow: none;
}
.lego-block.drop-above {
  box-shadow: 0 -3px 0 0 var(--accent);
  transform: translateY(2px);
}
.lego-block.drop-below {
  box-shadow: 0 3px 0 0 var(--accent);
  transform: translateY(-2px);
}

.lego-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.lego-note strong { color: var(--accent); }

/* ── Slide 8: Pages ─────────────────────────────────── */
.s8-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
.page-tree {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.tree-title {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 14px;
}
.tree-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 1px solid var(--bg);
  cursor: pointer;
  transition: color var(--t-fast);
}
.tree-item:last-child { border-bottom: none; }
.tree-item:hover { color: var(--accent); }
.tree-item .t-icon { width: 18px; height: 18px; flex-shrink: 0; vertical-align: middle; }
.tree-item.l1 { padding-left: 20px; font-size: 13px; color: var(--text-secondary); font-weight: 400; }
.tree-item.l2 { padding-left: 40px; font-size: 12px; color: var(--text-muted); font-weight: 400; }
.pages-benefits { display: flex; flex-direction: column; gap: 12px; }
.pb-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: all var(--t-fast);
}
.pb-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.pb-card img { width: 42px; height: 42px; object-fit: contain; flex-shrink: 0; }
.pb-card .pb-text strong { font-size: 14px; font-weight: 700; display: block; margin-bottom: 3px; }
.pb-card .pb-text p { font-size: 12px; color: var(--text-muted); line-height: 1.4; }

/* ── Slide 9: Real Life ─────────────────────────────── */
.s9-layout { display: flex; flex-direction: column; gap: 20px; }
.scenario-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
}
.scenario-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.workflow {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: wrap;
}
.wf-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 110px;
  position: relative;
  padding-right: 24px;
}
.wf-step:last-child { padding-right: 0; }
.wf-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: 4px;
  top: 18px;
  color: var(--text-muted);
  font-size: 16px;
}
.wf-bubble {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 2px solid var(--accent-light);
  color: var(--accent);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: all var(--t-fast);
}
.wf-step:hover .wf-bubble { background: var(--accent); color: white; }
.wf-label { font-size: 11px; font-weight: 600; color: var(--text-secondary); text-align: center; line-height: 1.3; }
.s9-truth {
  background: var(--text-primary);
  color: white;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
}
.s9-truth strong { color: #E8A070; }

/* ── Slide 10: Views ────────────────────────────────── */
.s10-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 20px; align-items: start; }
.view-tabs { display: flex; flex-direction: column; gap: 6px; }
.view-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--t-fast);
  border: 1px solid transparent;
}
.view-tab:hover { background: var(--surface); border-color: var(--border); }
.view-tab.active { background: var(--surface); border-color: var(--accent); box-shadow: var(--shadow-sm); }
.view-tab .vt-icon { width: 24px; height: 24px; flex-shrink: 0; }
.view-tab .vt-info .vt-name { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.view-tab .vt-info .vt-desc { font-size: 11px; color: var(--text-muted); }
.view-tab.active .vt-name { color: var(--accent); }
.view-preview {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  min-height: 240px;
}
.view-pane { display: none; }
.view-pane.active { display: block; }
.view-pane h5 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 12px; }
/* Table view mock */
.mock-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.mock-table th { text-align: left; padding: 7px 10px; background: var(--bg); font-weight: 700; color: var(--text-muted); border-bottom: 1px solid var(--border); font-size: 11px; letter-spacing: 0.04em; }
.mock-table td { padding: 8px 10px; border-bottom: 1px solid var(--bg); color: var(--text-secondary); }
.mock-table tr:hover td { background: var(--bg); }
.badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 100px; font-size: 10px; font-weight: 700; }
.badge-green { background: #E6F5EC; color: #1A6E1E; }
.badge-orange { background: #FFF3E0; color: #E65100; }
.badge-grey  { background: #F0F0EE; color: #666; }
/* Board view mock */
.board-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.board-col h6 { font-size: 10px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.board-item { background: var(--bg); border: 1px solid var(--border); border-radius: 5px; padding: 8px 10px; font-size: 12px; color: var(--text-secondary); margin-bottom: 6px; cursor: grab; user-select: none; }
.board-item.board-item--done { background: #E6F5EC; border-color: #A8D5B5; color: #1A6E1E; }
.board-item.is-dragging { opacity: 0.4; }
.board-col.drag-over { background: var(--accent-soft); border-radius: var(--radius-sm); }
/* Calendar view mock */
.cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; }
.cal-label { font-size: 9px; font-weight: 700; text-align: center; color: var(--text-muted); text-transform: uppercase; padding: 3px 0; }
.cal-day { text-align: center; padding: 5px 3px; font-size: 11px; border-radius: 4px; color: var(--text-muted); }
.cal-day.today { color: var(--text-primary); }
.cal-day.weekend { font-weight: 700; color: var(--text-primary); }
.cal-day.weekend.has-event { font-weight: 700; color: var(--text-primary); }
.cal-day.has-event { background: transparent; color: var(--text-muted); font-weight: 600; }
.cal-day.has-event::after { content: ''; display: block; width: 5px; height: 5px; border-radius: 50%; background: #4CAF50; box-shadow: 7px 0 0 #B39DDB; margin: 2px auto 0; }
/* List view mock */
.list-items { display: flex; flex-direction: column; gap: 4px; }
.list-item { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: var(--radius-xs); border: 1px solid var(--border); font-size: 13px; }
.list-item.toggleable { cursor: pointer; }
.list-item:hover { background: var(--bg); }
.list-item .li-check { width: 14px; height: 14px; border-radius: 3px; border: 1.5px solid var(--border); flex-shrink: 0; }
.list-item .li-check.done { background: #E65100; border-color: #E65100; }
.list-item.done span { text-decoration: line-through; color: var(--text-muted); }
/* Gallery view mock */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.gallery-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.gallery-card .gc-img { height: 60px; background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent-light) 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gallery-card .gc-img img { width: 100%; height: 100%; object-fit: cover; padding: 0; }
.gallery-card .gc-label { padding: 6px 8px; font-size: 11px; font-weight: 600; color: var(--text-secondary); }

/* ── Slide 11: Search ───────────────────────────────── */
.s11-layout { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.search-demo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 520px;
  overflow: hidden;
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.search-bar .si { font-size: 18px; color: var(--text-muted); }
.search-bar input {
  border: none; outline: none;
  font-size: 15px; font-family: inherit;
  color: var(--text-primary);
  background: transparent;
  flex: 1;
}
.search-bar .sk { font-size: 10px; padding: 2px 6px; border: 1px solid var(--border); border-radius: 4px; color: var(--text-muted); font-weight: 600; }
.search-results { padding: 6px 0; }
.sr-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  cursor: pointer;
  transition: background var(--t-fast);
}
.sr-item:hover { background: var(--bg); }
.sr-item .sr-icon { font-size: 16px; }
.sr-item .sr-text .sr-name { font-size: 14px; font-weight: 500; color: var(--text-primary); }
.sr-item .sr-text .sr-path { font-size: 11px; color: var(--text-muted); }
.search-benefits { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; width: 100%; max-width: 520px; }
.sb-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.sb-card .sbc-icon { width: 26px; height: 26px; flex-shrink: 0; }
.sb-card strong { font-size: 13px; font-weight: 700; display: block; margin-bottom: 3px; }
.sb-card p { font-size: 12px; color: var(--text-muted); line-height: 1.4; }

/* ── Slide 12: Collaboration ────────────────────────── */
.s12-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.collab-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  transition: all var(--t-fast);
}
.collab-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.collab-card .cc-illus { width: 110px; flex-shrink: 0; object-fit: cover; background: white; }
.collab-card .cc-content { padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.collab-card h4 { font-size: 14px; font-weight: 700; margin: 0; }
.collab-card p { font-size: 12px; color: var(--text-secondary); line-height: 1.5; margin: 0; }
.collab-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  padding: 3px 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-light);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
}

/* ── Slide 13: What We're Building ─────────────────── */
.s13-layout { display: flex; flex-direction: column; gap: 16px; }
.build-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.build-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  transition: all var(--t-fast);
  overflow: hidden;
  position: relative;
}
.build-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
}
.build-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.build-card .bc-icon { width: 36px; height: 36px; margin-bottom: 8px; display: block; }
.build-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.build-card p { font-size: 12px; color: var(--text-muted); line-height: 1.45; }
.build-footer {
  background: var(--text-primary);
  color: white;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.build-footer strong { color: #E8A070; }

/* ── Slide 14: Don't Need to Master ────────────────── */
.s14-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.step-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
}
.step-timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 36px;
  bottom: 20px;
  width: 1.5px;
  background: linear-gradient(to bottom, var(--accent), var(--border));
}
.st-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  position: relative;
}
.st-num {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-muted);
  flex-shrink: 0;
  z-index: 1;
  transition: background 0.9s ease, border-color 0.9s ease, color 0.9s ease;
}
.st-item.now .st-num { background: var(--accent); border-color: var(--accent); color: white; }
.st-content { transition: opacity 0.9s ease; }
.st-item:not(.now) .st-content { opacity: 0.45; }
.st-item.now .st-content { opacity: 1; }
.st-content h4 { font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.st-content p { font-size: 13px; color: var(--text-muted); line-height: 1.45; }
.reassure-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}
.reassure-box img { width: 140px; height: 140px; object-fit: contain; margin: 0 auto 16px; }
.reassure-box h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.reassure-box p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ── Slide 15: Three Things ─────────────────────────── */
.s15-layout { display: flex; flex-direction: column; gap: 18px; }
.actions-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.action-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 18px 18px;
  text-align: center;
  position: relative;
  transition: all var(--t-fast);
}
.action-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.action-num {
  position: absolute;
  top: 12px; left: 12px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.action-card img { width: 130px; height: 130px; object-fit: contain; margin: 0 auto 14px; }
.action-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.action-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.action-card a { color: var(--accent); font-weight: 600; }
.slash-hint {
  background: var(--accent-soft);
  border: 1px solid var(--accent-light);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
}
.slash-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: var(--accent);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}
.slash-hint p { color: var(--text-secondary); font-size: 14px; }
.slash-hint p strong { color: var(--text-primary); }

/* ── Slide 16: Departments ──────────────────────────── */
.s16-layout { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.s16-intro { text-align: center; }
.dept-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  width: 100%;
}
.dept-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 12px 16px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all var(--t-fast);
  cursor: pointer;
}
.dept-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.dept-card img { width: 60px; height: 60px; object-fit: contain; }
.dept-card .dc-name { font-size: 13px; font-weight: 800; color: var(--text-primary); display: block; }
.dept-card .dc-role { font-size: 10px; color: var(--text-muted); display: block; line-height: 1.3; }
.dept-card .dc-cta {
  margin-top: 4px;
  font-size: 11px;
  color: var(--accent);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 3px;
}

/* ── Scrollbar ──────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 860px) {
  .slide { padding: 20px 20px; }
  .s2-layout, .s4-layout, .s7-layout, .s8-layout,
  .s10-layout, .s14-layout { grid-template-columns: 1fr; }
  .s6-layout, .s12-layout { grid-template-columns: 1fr; }
  .agenda-cards { grid-template-columns: repeat(3, 1fr); }
  .use-case-row { grid-template-columns: repeat(3, 1fr); }
  .why-grid, .build-grid, .actions-row { grid-template-columns: repeat(2, 1fr); }
  .dept-grid { grid-template-columns: repeat(3, 1fr); }
  .workflow { flex-direction: column; gap: 10px; }
  .wf-step::after { display: none; }
  .wf-step { flex-direction: row; min-width: auto; padding-right: 0; }
}
@media (max-width: 560px) {
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .build-grid, .actions-row { grid-template-columns: 1fr; }
  .progress-dots { max-width: 220px; }
  .keyboard-hint { display: none; }
}
