/* ================================================================
   UX PSYCHOLOGY — Memory, Learning & Progressive Disclosure (White Mode)
   ================================================================ */

/* ---------- Custom Properties ---------- */
:root {
    --font-heading: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --clr-bg: #f8f9fc;
    --clr-surface: #ffffff;
    --clr-text: #1a1a2e;
    --clr-text-muted: #475569;
    --clr-indigo: #6366f1;
    --clr-indigo-deep: #4338ca;
    --clr-sky: #0ea5e9;
    --clr-emerald: #10b981;
    --clr-amber: #f59e0b;
    --clr-red: #ef4444;
    --clr-pink: #ec4899;
    --clr-purple: #8b5cf6;
    --clr-border: rgba(0,0,0,0.08);
    --clr-border-strong: rgba(0,0,0,0.15);

    --slide-transition: 0.8s cubic-bezier(.4, 0, .15, 1);
    --bubble-bg: rgba(255,255,255,0.85);
    --bubble-border: rgba(0,0,0,0.08);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.12);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hidden { display: none !important; }

html, body {
    height: 100%;
    overflow: hidden;
    font-family: var(--font-body);
    color: var(--clr-text);
    background: var(--clr-bg);
    -webkit-font-smoothing: antialiased;
}

/* ---------- Presentation Container ---------- */
.presentation {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

/* ---------- Progress Bar ---------- */
.progress-bar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0,0,0,0.04);
    z-index: 100;
}
.progress-fill {
    height: 100%;
    width: 8.33%;
    background: linear-gradient(90deg, var(--clr-indigo), var(--clr-sky));
    transition: width 0.7s cubic-bezier(.4,0,.2,1);
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 12px rgba(99,102,241,0.3);
}

/* ---------- Slides Base ---------- */
.slide {
    position: absolute;
    inset: 0 0 90px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--slide-transition), transform var(--slide-transition), filter var(--slide-transition);
    transform: translateX(60px) scale(0.98);
    filter: blur(4px);
    z-index: 1;
}
.slide.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1);
    filter: blur(0);
    z-index: 10;
}
.slide.exit-left {
    opacity: 0;
    transform: translateX(-60px) scale(0.98);
    filter: blur(4px);
}
.slide.exit-right {
    opacity: 0;
    transform: translateX(60px) scale(0.98);
    filter: blur(4px);
}

.slide-content {
    width: 100%;
    height: 100%;
    padding: 48px 5vw 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

/* ---------- Slide Tag / Label ---------- */
.slide-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--clr-indigo);
    background: rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 20px;
    padding: 5px 16px;
    margin-bottom: 14px;
    width: fit-content;
}

/* ---------- Navigation ---------- */
.slide-nav {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 200;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--clr-border);
    border-radius: 50px;
    padding: 8px 12px;
    box-shadow: var(--shadow-lg);
}

.nav-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid var(--clr-border-strong);
    background: var(--clr-surface);
    color: var(--clr-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    flex-shrink: 0;
}
.nav-arrow svg { width: 18px; height: 18px; }
.nav-arrow:hover {
    background: rgba(99,102,241,0.1);
    border-color: var(--clr-indigo);
    transform: scale(1.12);
    box-shadow: 0 0 16px rgba(99,102,241,0.2);
}
.nav-arrow:active { transform: scale(0.92); }
.nav-arrow.disabled { opacity: 0.25; pointer-events: none; }

.slide-dots { display: flex; gap: 6px; }
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,0.15);
    background: transparent;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(.4,0,.2,1);
    position: relative;
}
.dot.active {
    background: var(--clr-indigo);
    border-color: var(--clr-indigo);
    width: 24px;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(99,102,241,0.4);
}
.dot:hover { border-color: var(--clr-sky); }

.dot-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--clr-text);
    color: white;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s, transform 0.25s;
}
.dot:hover .dot-tooltip { opacity: 1; transform: translateX(-50%) translateY(0); }

.slide-counter {
    position: fixed;
    bottom: 32px;
    right: 30px;
    font-size: 0.82rem;
    color: var(--clr-text-muted);
    font-family: var(--font-mono);
    z-index: 200;
    letter-spacing: 1px;
}

/* ---------- Animation Primitives ---------- */
.anim {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.4,0,.2,1);
}
.slide.active .anim { opacity: 1; transform: none; }

.anim-fade-down  { transform: translateY(-35px); }
.anim-fade-up    { transform: translateY(35px); }
.anim-fade-left  { transform: translateX(-45px); }
.anim-fade-right { transform: translateX(45px); }
.anim-pop        { transform: scale(0.4); }

/* ---------- Step Items ---------- */
.step-item {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
}
.step-item.step-visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

/* ---------- Owl Mascot ---------- */
.owl-wrap {
    display: inline-block;
    position: relative;
}
.owl-placeholder {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.owl-img {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 6px 20px rgba(99,102,241,0.25));
    animation: owlFloat 3.5s ease-in-out infinite, owlBreath 6s ease-in-out infinite;
    transform-origin: center bottom;
    transition: filter 0.4s ease;
}
.owl-img:hover {
    filter: drop-shadow(0 8px 28px rgba(99,102,241,0.4));
}
.owl-img-sm {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex-shrink: 0;
}
.owl-img-lg {
    width: 100px;
    height: auto;
    filter: drop-shadow(0 6px 20px rgba(99,102,241,0.25));
    transform-origin: center bottom;
    opacity: 0;
    transform: translateY(30px) scale(0.5);
    transition: none;
}
.slide.active .owl-img-lg {
    animation: owlCelebrate 0.9s cubic-bezier(.34,1.56,.64,1) forwards, owlFloat 3s ease-in-out 1s infinite, owlBreath 5s ease-in-out 1s infinite;
}

@keyframes owlFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes owlBreath {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}
@keyframes owlCelebrate {
    0% { opacity: 0; transform: translateY(30px) scale(0.5); }
    50% { opacity: 1; transform: translateY(-12px) scale(1.1); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---- Owl hover speech bubble ---- */
.owl-bubble {
    position: absolute;
    top: 50%;
    left: calc(100% + 18px);
    transform: translateY(-50%) translateX(10px);
    width: 240px;
    background: #fff;
    border: 1.5px solid var(--clr-indigo);
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 8px 32px rgba(99,102,241,0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
    z-index: 100;
    text-align: left;
}
.owl-bubble::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-right-color: var(--clr-indigo);
}
.owl-bubble p {
    font-size: 0.82rem;
    line-height: 1.6;
    margin: 0;
    color: var(--clr-text);
    font-family: var(--font-body);
}
.owl-wrap:hover .owl-bubble {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0);
}

/* ---------- Key Diff Callout ---------- */
.key-diff {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(99,102,241,0.06);
    border: 1px solid rgba(99,102,241,0.18);
    border-left: 3px solid var(--clr-indigo);
    border-radius: 10px;
    padding: 12px 18px;
    margin-top: 12px;
    max-width: 680px;
    flex-shrink: 0;
}
.kd-icon { font-size: 1.3rem; flex-shrink: 0; }
.kd-text {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--clr-text-muted);
}
.kd-text strong { color: var(--clr-indigo); }
.kd-text em { color: var(--clr-sky); font-style: italic; }

/* ---------- Slide Sub/Def ---------- */
.slide-sub {
    font-size: 1rem;
    color: var(--clr-text-muted);
    line-height: 1.55;
}
.slide-sub em { color: var(--clr-indigo); font-style: italic; }
.slide-sub strong { color: var(--clr-text); }

.principle-def {
    font-size: 0.95rem;
    color: var(--clr-text-muted);
    line-height: 1.65;
    max-width: 480px;
}
.principle-def strong { color: var(--clr-text); }

.heading-amp {
    color: var(--clr-text-muted);
    font-weight: 400;
    margin: 0 0.15em;
}

/* ================================================================
   SLIDE 1 — Title
   ================================================================ */
.slide-title {
    background: linear-gradient(135deg, #f0f0ff 0%, #e8f4f8 40%, #faf5ff 100%);
}

.stitle-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 14px;
    text-align: center;
}
.stitle-mascot { margin-bottom: 10px; }
.stitle-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--clr-text);
    display: flex;
    flex-direction: column;
}
.stitle-line1 { color: var(--clr-text); }
.stitle-line2 {
    background: linear-gradient(135deg, var(--clr-indigo), var(--clr-sky));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stitle-sub {
    font-size: 1rem;
    color: var(--clr-text-muted);
    margin-top: 4px;
    letter-spacing: 0.5px;
}
.stitle-author {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--clr-indigo);
    font-weight: 500;
    margin-top: 6px;
}
.stitle-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--clr-text-muted);
    text-decoration: none;
    border: 1px solid var(--clr-border-strong);
    border-radius: 24px;
    padding: 8px 20px;
    transition: all 0.3s ease;
}
.stitle-link:hover {
    color: var(--clr-indigo);
    border-color: var(--clr-indigo);
    background: rgba(99,102,241,0.06);
}

/* ================================================================
   SLIDE 2 — Introduction
   ================================================================ */
.sintro-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
}
.sintro-header { max-width: 720px; }
.sintro-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 12px;
}
.sintro-bigquote {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(99,102,241,0.04);
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: 12px;
    padding: 18px 22px;
    max-width: 720px;
}
.bigquote-mark {
    font-size: 2.5rem;
    color: var(--clr-indigo);
    line-height: 1;
    font-family: Georgia, serif;
    flex-shrink: 0;
}
.sintro-bigquote p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--clr-text-muted);
}
.sintro-bigquote strong { color: var(--clr-indigo); }
.sintro-cards {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    max-width: 720px;
}
.sintro-card {
    flex: 1;
    min-width: 180px;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: 12px;
    padding: 18px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}
.sintro-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.sintro-card-icon { font-size: 1.5rem; display: block; margin-bottom: 8px; }
.sintro-card h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--clr-text);
}
.sintro-card p {
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--clr-text-muted);
}

/* ================================================================
   PRINCIPLE LAYOUT (shared by slides 3–10)
   ================================================================ */
.principle-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
    overflow-y: auto;
}
.principle-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.principle-text h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    font-weight: 700;
    line-height: 1.15;
}
.principle-quote {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(99,102,241,0.04);
    border: 1px solid rgba(99,102,241,0.12);
    border-radius: 12px;
    padding: 14px 18px;
    max-width: 480px;
}
.principle-quote p {
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--clr-text-muted);
    font-style: italic;
}
.principle-quote p strong { color: var(--clr-text); }

/* ---- App Window ---- */
.app-window {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.window-titlebar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(0,0,0,0.02);
    border-bottom: 1px solid var(--clr-border);
}
.window-dots {
    display: flex;
    gap: 6px;
}
.window-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.window-dots span:nth-child(1) { background: #ff5f57; }
.window-dots span:nth-child(2) { background: #febc2e; }
.window-dots span:nth-child(3) { background: #28c840; }
.window-title {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--clr-text-muted);
}
.window-body {
    padding: 18px;
}

/* ================================================================
   SLIDE 3 — Recognition vs Recall
   ================================================================ */
.demo-recognition { display: flex; flex-direction: column; gap: 16px; }

.rr-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.rr-side {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.rr-label {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    width: fit-content;
}
.rr-label-bad {
    background: rgba(239,68,68,0.08);
    color: var(--clr-red);
}
.rr-label-good {
    background: rgba(16,185,129,0.08);
    color: var(--clr-emerald);
}

.rr-mockup {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.rr-terminal {
    background: #1a1a2e;
    color: #a5f3a5;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 10px 12px;
    border-radius: 8px;
    display: flex;
    gap: 6px;
}
.rr-prompt { color: #6ee7b7; }
.rr-cursor {
    color: rgba(255,255,255,0.4);
    font-style: italic;
}

.rr-menu {
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    padding: 6px;
}
.rr-menu-item {
    font-size: 0.75rem;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: default;
}
.rr-menu-active {
    background: rgba(99,102,241,0.08);
    color: var(--clr-indigo);
    font-weight: 500;
}

.rr-effort {
    display: flex;
    align-items: center;
    gap: 8px;
}
.rr-effort-bar {
    height: 4px;
    border-radius: 2px;
    flex: 1;
}
.rr-effort-high {
    background: linear-gradient(90deg, var(--clr-red), var(--clr-amber));
}
.rr-effort-low {
    background: linear-gradient(90deg, var(--clr-emerald), var(--clr-sky));
}
.rr-effort-label {
    font-size: 0.68rem;
    color: var(--clr-text-muted);
    white-space: nowrap;
}

.rr-examples { padding-top: 8px; }
.rr-examples h4 {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--clr-text);
}
.rr-ex-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
.rr-ex {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--clr-text-muted);
    padding: 5px 8px;
    background: rgba(0,0,0,0.02);
    border-radius: 6px;
}
.rr-ex span:first-child { font-size: 0.9rem; }

/* ================================================================
   SLIDE 4 — Progressive Disclosure
   ================================================================ */
.demo-progressive { display: flex; flex-direction: column; gap: 16px; }

.pd-layers {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.pd-layer {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--clr-border);
    background: var(--clr-surface);
}
.pd-layer-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.78rem;
    color: white;
    flex-shrink: 0;
}
.pd-badge-1 { background: var(--clr-indigo); }
.pd-badge-2 { background: var(--clr-sky); }
.pd-badge-3 { background: var(--clr-purple); }

.pd-layer-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.pd-layer-info strong {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    color: var(--clr-text);
}
.pd-layer-info span {
    font-size: 0.7rem;
    color: var(--clr-text-muted);
}
.pd-layer-ex {
    font-size: 0.68rem;
    color: var(--clr-text-muted);
    background: rgba(0,0,0,0.03);
    padding: 4px 10px;
    border-radius: 6px;
    font-style: italic;
}

.pd-layer-1 { border-left: 3px solid var(--clr-indigo); }
.pd-layer-2 { border-left: 3px solid var(--clr-sky); }
.pd-layer-3 { border-left: 3px solid var(--clr-purple); }

.pd-mockup { padding-top: 4px; }
.pd-form {
    background: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.pd-field {
    font-size: 0.72rem;
    padding: 8px 10px;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: 6px;
    color: var(--clr-text-muted);
}
.pd-visible { border-left: 3px solid var(--clr-indigo); }
.pd-hidden {
    border-left: 3px solid var(--clr-purple);
    opacity: 0.4;
    background: repeating-linear-gradient(
        45deg,
        var(--clr-surface),
        var(--clr-surface) 4px,
        rgba(0,0,0,0.02) 4px,
        rgba(0,0,0,0.02) 8px
    );
}
.pd-expand-btn {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--clr-sky);
    text-align: center;
    padding: 6px;
    cursor: default;
}

/* ================================================================
   SLIDE 5 — Zeigarnik Effect
   ================================================================ */
.demo-zeigarnik { display: flex; flex-direction: column; gap: 14px; }

.zg-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--clr-bg);
    border-radius: 10px;
    border: 1px solid var(--clr-border);
}
.zg-avatar {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
    background: rgba(99,102,241,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.zg-profile-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.zg-profile-info strong {
    font-family: var(--font-heading);
    font-size: 0.85rem;
}
.zg-progress-text {
    font-size: 0.72rem;
    color: var(--clr-amber);
    font-weight: 600;
}

.zg-progress-ring {
    position: relative;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}
.zg-ring-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}
.zg-ring-bg {
    fill: none;
    stroke: rgba(0,0,0,0.06);
    stroke-width: 3.5;
}
.zg-ring-fill {
    fill: none;
    stroke: var(--clr-amber);
    stroke-width: 3.5;
    stroke-linecap: round;
}
.zg-ring-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--clr-amber);
}

.zg-checklist {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.zg-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    padding: 6px 10px;
    border-radius: 6px;
}
.zg-check-icon { flex-shrink: 0; }
.zg-done {
    color: var(--clr-text-muted);
    text-decoration: line-through;
    opacity: 0.6;
}
.zg-pending {
    background: rgba(245,158,11,0.06);
    border: 1px solid rgba(245,158,11,0.2);
    color: var(--clr-text);
    font-weight: 500;
}
.zg-nudge {
    font-size: 0.68rem;
    color: var(--clr-amber);
    font-weight: 600;
    margin-left: auto;
}

.zg-tension {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(99,102,241,0.04);
    border: 1px solid rgba(99,102,241,0.12);
    border-radius: 8px;
}
.zg-tension-icon { font-size: 1.1rem; }
.zg-tension-text {
    font-size: 0.75rem;
    color: var(--clr-text-muted);
    line-height: 1.4;
}
.zg-tension-text strong { color: var(--clr-indigo); }

/* ================================================================
   SLIDE 6 — Spacing Effect
   ================================================================ */
.demo-spacing { display: flex; flex-direction: column; gap: 16px; }

.sp-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.sp-side {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sp-label {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    width: fit-content;
}
.sp-label-bad {
    background: rgba(239,68,68,0.08);
    color: var(--clr-red);
}
.sp-label-good {
    background: rgba(16,185,129,0.08);
    color: var(--clr-emerald);
}
.sp-timeline {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sp-day {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.72rem;
    padding: 5px 8px;
    border-radius: 4px;
    color: var(--clr-text-muted);
    background: rgba(0,0,0,0.02);
}
.sp-load {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: -1px;
}
.sp-day-heavy { background: rgba(239,68,68,0.06); }
.sp-day-heavy .sp-load { color: var(--clr-red); }
.sp-day-empty { opacity: 0.5; }
.sp-day-medium { background: rgba(16,185,129,0.06); }
.sp-day-medium .sp-load { color: var(--clr-emerald); }
.sp-day-light { background: rgba(14,165,233,0.06); }
.sp-day-light .sp-load { color: var(--clr-sky); }

.sp-result {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--clr-red);
    text-align: center;
    padding: 4px;
}
.sp-result-good { color: var(--clr-emerald); }

.sp-apps { padding-top: 4px; }
.sp-apps h4 {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--clr-text);
}
.sp-app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
.sp-app {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--clr-text-muted);
    padding: 5px 8px;
    background: rgba(0,0,0,0.02);
    border-radius: 6px;
}
.sp-app span:first-child { font-size: 0.9rem; }

/* ================================================================
   SLIDE 7 — Dual Coding Theory
   ================================================================ */
.demo-dualcoding { display: flex; flex-direction: column; gap: 18px; }

.dc-channels {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.dc-channel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: 10px;
    min-width: 100px;
}
.dc-ch-header {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
}
.dc-ch-items {
    display: flex;
    gap: 4px;
}
.dc-ch-item {
    font-size: 0.68rem;
    padding: 3px 8px;
    background: rgba(99,102,241,0.06);
    border-radius: 4px;
    color: var(--clr-text-muted);
}
.dc-plus, .dc-equals {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--clr-indigo);
}
.dc-result {
    padding: 10px 16px;
    background: rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 10px;
    font-size: 0.9rem;
}

.dc-verbal { border-top: 3px solid var(--clr-sky); }
.dc-visual { border-top: 3px solid var(--clr-purple); }

.dc-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.dc-ex {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--clr-border);
    background: var(--clr-surface);
}
.dc-ex-label {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    width: fit-content;
}
.dc-ex-bad {
    background: rgba(239,68,68,0.08);
    color: var(--clr-red);
}
.dc-ex-good {
    background: rgba(16,185,129,0.08);
    color: var(--clr-emerald);
}
.dc-ex-demo {
    display: flex;
    gap: 10px;
    justify-content: center;
}
.dc-icon-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: 8px;
}
.dc-labeled {
    width: auto;
    height: auto;
    flex-direction: column;
    gap: 2px;
    padding: 6px 12px;
}
.dc-labeled small {
    font-size: 0.62rem;
    color: var(--clr-text-muted);
}
.dc-ex-verdict {
    font-size: 0.72rem;
    font-weight: 600;
    text-align: center;
    color: var(--clr-red);
}
.dc-verdict-good { color: var(--clr-emerald); }

/* ================================================================
   SLIDE 8 — Expertise Reversal
   ================================================================ */
.demo-expertise { display: flex; flex-direction: column; gap: 16px; }

.ex-spectrum {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
}
.ex-end {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px;
    background: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: 10px;
    text-align: center;
}
.ex-end-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.ex-badge-green {
    background: rgba(16,185,129,0.12);
}
.ex-badge-purple {
    background: rgba(139,92,246,0.12);
}
.ex-end strong {
    font-family: var(--font-heading);
    font-size: 0.85rem;
}
.ex-end > span {
    font-size: 0.72rem;
    color: var(--clr-text-muted);
}
.ex-features {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    margin-top: 4px;
}
.ex-feat {
    font-size: 0.65rem;
    padding: 3px 8px;
    background: rgba(99,102,241,0.06);
    border-radius: 4px;
    color: var(--clr-text-muted);
}

.ex-arrow-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.ex-arrow-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-emerald), var(--clr-purple));
    border-radius: 2px;
    position: relative;
}
.ex-arrow-line::after {
    content: '→';
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: var(--clr-purple);
}
.ex-arrow-label {
    font-size: 0.65rem;
    color: var(--clr-text-muted);
    font-style: italic;
    white-space: nowrap;
}

.ex-solutions { padding-top: 4px; }
.ex-solutions h4 {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--clr-text);
}
.ex-sol-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
.ex-sol {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--clr-text-muted);
    padding: 5px 8px;
    background: rgba(0,0,0,0.02);
    border-radius: 6px;
}
.ex-sol span:first-child { font-size: 0.9rem; }

/* ================================================================
   SLIDE 9 — Chunking
   ================================================================ */
.demo-chunking { display: flex; flex-direction: column; gap: 14px; }

.ck-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.ck-side {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ck-label {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    width: fit-content;
}
.ck-label-bad {
    background: rgba(239,68,68,0.08);
    color: var(--clr-red);
}
.ck-label-good {
    background: rgba(16,185,129,0.08);
    color: var(--clr-emerald);
}

.ck-mockup {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ck-field {
    font-size: 0.72rem;
    padding: 6px 10px;
    background: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: 4px;
    color: var(--clr-text-muted);
}
.ck-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    background: rgba(99,102,241,0.03);
    border: 1px solid rgba(99,102,241,0.1);
    border-radius: 8px;
}
.ck-group + .ck-group { margin-top: 4px; }
.ck-group-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--clr-indigo);
    margin-bottom: 2px;
}
.ck-group .ck-field {
    border-left: 2px solid var(--clr-indigo);
}

.ck-verdict {
    font-size: 0.72rem;
    font-weight: 600;
    text-align: center;
    color: var(--clr-red);
    padding-top: 4px;
}
.ck-verdict-good { color: var(--clr-emerald); }

/* ================================================================
   SLIDE 10 — Ebbinghaus Forgetting Curve
   ================================================================ */
.demo-ebbinghaus { display: flex; flex-direction: column; gap: 16px; }

.eb-curve {
    display: flex;
    gap: 10px;
    padding: 12px;
    background: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: 10px;
}
.eb-axis-y {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px 0;
}
.eb-axis-y span {
    font-size: 0.6rem;
    color: var(--clr-text-muted);
    font-family: var(--font-mono);
}
.eb-chart {
    display: flex;
    gap: 8px;
    flex: 1;
    align-items: flex-end;
    height: 120px;
}
.eb-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    height: 100%;
    justify-content: flex-end;
}
.eb-bar-fill {
    width: 100%;
    border-radius: 4px 4px 0 0;
    transition: height 0.6s ease;
}
.eb-bar-1 .eb-bar-fill { background: var(--clr-indigo); }
.eb-bar-2 .eb-bar-fill { background: var(--clr-sky); }
.eb-bar-3 .eb-bar-fill { background: var(--clr-amber); }
.eb-bar-4 .eb-bar-fill { background: var(--clr-red); }
.eb-bar-5 .eb-bar-fill { background: var(--clr-pink); }
.eb-bar-6 .eb-bar-fill { background: var(--clr-red); opacity: 0.7; }

.eb-bar-label {
    font-size: 0.6rem;
    color: var(--clr-text-muted);
    font-family: var(--font-mono);
    white-space: nowrap;
}

.eb-solution {
    padding: 12px 14px;
    background: rgba(16,185,129,0.04);
    border: 1px solid rgba(16,185,129,0.15);
    border-radius: 10px;
}
.eb-sol-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}
.eb-sol-header strong {
    font-family: var(--font-heading);
    font-size: 0.82rem;
}
.eb-sol-items {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.eb-sol-chip {
    font-size: 0.7rem;
    padding: 4px 10px;
    background: rgba(16,185,129,0.08);
    color: var(--clr-emerald);
    border-radius: 20px;
    font-weight: 500;
}

/* ================================================================
   SLIDE 11 — Ethics (Dual Panel)
   ================================================================ */
.principle-layout-stacked {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
}
.principle-header-wide {
    max-width: 720px;
}
.principle-header-wide h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 8px;
}

.dual-demo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.dual-panel {
    padding: 20px;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}
.dual-panel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.dual-num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.dual-panel-header h2 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
}
.dual-def {
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--clr-text-muted);
    margin-bottom: 12px;
}
.dual-def strong { color: var(--clr-text); }
.dual-def em { color: var(--clr-sky); }

.ethics-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ethics-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    padding: 8px 12px;
    border-radius: 8px;
}
.ethics-good {
    background: rgba(16,185,129,0.04);
    border: 1px solid rgba(16,185,129,0.15);
    color: var(--clr-text);
}
.ethics-good span:first-child { color: var(--clr-emerald); font-weight: 700; }
.ethics-bad {
    background: rgba(239,68,68,0.04);
    border: 1px solid rgba(239,68,68,0.15);
    color: var(--clr-text);
}
.ethics-bad span:first-child { color: var(--clr-red); font-weight: 700; }

/* ================================================================
   SLIDE 12 — Summary
   ================================================================ */
.ssummary-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 14px;
    text-align: center;
}
.ssummary-mascot { margin-bottom: 8px; }
.ssummary-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.4rem);
    font-weight: 700;
    line-height: 1.2;
}
.ssummary-sub {
    font-size: 0.95rem;
    color: var(--clr-text-muted);
    max-width: 560px;
    line-height: 1.6;
}
.ssummary-sub strong { color: var(--clr-indigo); }

.ssummary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 680px;
    margin-top: 8px;
}
.ssummary-item {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: 12px;
    padding: 16px 14px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}
.ssummary-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.ssummary-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--clr-indigo), var(--clr-sky));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}
.ssummary-item h3 {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.ssummary-item p {
    font-size: 0.72rem;
    color: var(--clr-text-muted);
    line-height: 1.45;
}
.ssummary-cta { margin-top: 12px; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
    .slide-content { padding: 32px 4vw 16px; }

    .principle-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .dual-demo {
        grid-template-columns: 1fr;
    }
    .ssummary-grid {
        grid-template-columns: 1fr 1fr;
    }
    .rr-comparison,
    .sp-comparison,
    .ck-comparison,
    .dc-comparison {
        grid-template-columns: 1fr;
    }
    .ex-spectrum {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .ex-arrow-zone {
        transform: rotate(90deg);
    }
    .dc-channels {
        flex-direction: column;
    }
    .owl-bubble { display: none; }
    .owl-img { width: 80px; }
    .owl-img-lg { width: 70px; }
}

@media (max-width: 480px) {
    .ssummary-grid {
        grid-template-columns: 1fr;
    }
    .sintro-cards {
        flex-direction: column;
    }
    .stitle-heading {
        font-size: clamp(1.3rem, 7vw, 2rem);
    }
}
