/* ====================================================
   DESIGN SYSTEM & VARIABLES
   ==================================================== */
:root {
    --bg-dark: #06080e;
    --bg-card: rgba(11, 17, 32, 0.55);
    --border-light: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(99, 102, 241, 0.18);
    
    --text-primary: #ffffff;
    --text-muted: #94a3b8;
    
    --color-primary: #6366f1;
    --color-primary-glow: rgba(99, 102, 241, 0.45);
    --color-secondary: #a855f7;
    
    --color-success: #10b981;
    --color-success-bg: rgba(16, 185, 129, 0.1);
    --color-success-border: rgba(16, 185, 129, 0.25);
    
    --color-danger: #f43f5e;
    --color-danger-bg: rgba(244, 63, 94, 0.1);
    --color-danger-border: rgba(244, 63, 94, 0.25);
    
    --transition-smooth: all 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease;
    
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

/* ====================================================
   BASE STYLES — iPad Full Lockdown
   ==================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: fixed;
}

/* ====================================================
   NOISE TEXTURE OVERLAY
   ==================================================== */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 100;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ====================================================
   STAGGERED ANIMATIONS & INTERACTIONS
   ==================================================== */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(22px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    0% { opacity: 0; transform: translateX(-30px); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    0% { opacity: 0; transform: translateX(30px); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes subtlePulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}
@keyframes ghostDots {
    0%, 20% { opacity: 0; }
    40% { opacity: 1; }
    60% { opacity: 0; }
}
@keyframes lockNotif {
    0% { opacity: 0; transform: translateY(-10px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.fade-in-up { opacity: 0; }
.fade-in-left { opacity: 0; }
.fade-in-right { opacity: 0; }

.slide.active .fade-in-up { animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.slide.active .fade-in-left { animation: fadeInLeft 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.slide.active .fade-in-right { animation: fadeInRight 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

.delay-100 { animation-delay: 0.1s !important; }
.delay-200 { animation-delay: 0.2s !important; }
.delay-300 { animation-delay: 0.3s !important; }
.delay-400 { animation-delay: 0.4s !important; }
.delay-500 { animation-delay: 0.5s !important; }
.delay-600 { animation-delay: 0.6s !important; }

.hover-lift { transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease; }
@media (hover: hover) {
    .hover-lift:hover { transform: translateY(-3px); }
}
.hover-lift:active { transform: translateY(0) scale(0.98); }

/* ====================================================
   APP LAYOUT
   ==================================================== */
.app-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    position: relative;
    z-index: 1;
}

/* ====================================================
   HEADER
   ==================================================== */
.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 30px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    flex-shrink: 0;
    position: relative;
    z-index: 20;
    background: rgba(6, 8, 14, 0.6);
    backdrop-filter: blur(16px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-dot {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-primary-glow);
}

.logo-text {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.5px;
}

.logo-text span {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.progress-container {
    flex-grow: 1;
    max-width: 400px;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    margin: 0 30px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 8.33%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 3px;
    box-shadow: 0 0 10px var(--color-primary-glow);
    transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-counter {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    background: rgba(255, 255, 255, 0.04);
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid var(--border-light);
}

/* ====================================================
   PRESENTATION STAGE — Full Screen Slides
   ==================================================== */
.presentation-container {
    flex-grow: 1;
    position: relative;
    overflow: hidden;
}

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

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.98) translateY(6px);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    z-index: 10;
}

/* Full-screen background layer */
.slide-bg-layer {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--slide-bg);
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.slide-bg-layer::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 8, 14, 0.78);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    height: 100%;
    padding: 10px 45px 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ====================================================
   SHARED TYPOGRAPHY
   ==================================================== */
.section-tag {
    align-self: flex-start;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid var(--border-glow);
    border-radius: 100px;
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 4px;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.15);
}

.slide-title {
    font-size: 2.4rem;
    font-weight: 850;
    letter-spacing: -1.5px;
    margin-bottom: 10px;
    line-height: 1.08;
    background: linear-gradient(135deg, #ffffff 50%, var(--color-primary) 140%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding-bottom: 14px;
    text-shadow: 0 0 40px rgba(99, 102, 241, 0.15);
}

.left-col .slide-title {
    margin-bottom: 8px;
}

.slide-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 3px;
    box-shadow: 0 0 14px var(--color-primary-glow);
}

.slide-title-compact {
    font-size: 2.4rem;
    font-weight: 850;
    letter-spacing: -1.5px;
    margin-bottom: 14px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 50%, var(--color-primary) 140%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding-bottom: 14px;
}

.slide-title-compact::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 3px;
    box-shadow: 0 0 14px var(--color-primary-glow);
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.depth-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
    color: #f8fafc;
}

.depth-subtitle {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.4;
}

/* ====================================================
   SLIDE 1: COVER
   ==================================================== */
.cover-layout {
    text-align: center;
    align-items: center;
    justify-content: center;
}

.cover-layout .badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.main-title {
    font-size: 3.6rem;
    font-weight: 850;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 18px;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 680px;
    line-height: 1.5;
    margin-bottom: 28px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 700;
    font-family: inherit;
    transition: var(--transition-fast);
}

.btn:active { transform: scale(0.96); opacity: 0.9; }

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border: none;
    color: white;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    color: white;
}

.btn-large {
    padding: 14px 28px;
    font-size: 1rem;
}

/* ====================================================
   SLIDE 2: STATS DASHBOARD
   ==================================================== */
.stats-dashboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    width: 100%;
    margin-bottom: 16px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 22px 18px;
    text-align: center;
    transition: var(--transition-fast);
    backdrop-filter: blur(8px);
}

.stat-card.highlighted {
    background: rgba(99, 102, 241, 0.05);
    border-color: var(--color-primary-glow);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.1);
}

.stat-number {
    font-size: 2.6rem;
    font-weight: 850;
    line-height: 1;
    margin-bottom: 6px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-symbol {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #e2e8f0;
}

.stat-card p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    width: 100%;
}

.grid-card-minimal {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    background: rgba(255, 255, 255, 0.015);
    backdrop-filter: blur(6px);
}

.grid-card-minimal strong { font-weight: 700; }

.red-border {
    border-left: 4px solid var(--color-danger);
    color: #fca5a5;
}

.green-border {
    border-left: 4px solid var(--color-success);
    color: #a7f3d0;
}

/* ====================================================
   SPLIT LAYOUT (Slides 3-10)
   ==================================================== */
.split-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    flex-grow: 1;
    align-items: stretch; /* Дозволяє колонкам розтягуватись на всю висоту */
    overflow: hidden;
}

.left-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    justify-content: flex-start;
    padding-bottom: 10px;
}

.right-col {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(8px);
}

/* ====================================================
   CHAT EXAMPLES
   ==================================================== */
.chat-example {
    background: rgba(10, 15, 30, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(6px);
}

.chat-example.bad { border-color: var(--color-danger-border); }
.chat-example.good { border-color: var(--color-success-border); }

.chat-header-mini {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.badge-status-red {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--color-danger);
    background: var(--color-danger-bg);
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid var(--color-danger-border);
}

.badge-status-green {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--color-success);
    background: var(--color-success-bg);
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid var(--color-success-border);
}

.chat-bubbles {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-box-scroll-mini {
    overflow-y: auto;
    max-height: 130px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-right: 4px;
}

.bubble {
    align-self: flex-start;
    position: relative;
    max-width: 90%;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    line-height: 1.35;
    color: #e2e8f0;
}

.bubble-bad {
    background: rgba(244, 63, 94, 0.08);
    border: 1px solid rgba(244, 63, 94, 0.16);
    border-bottom-left-radius: 4px;
}

.bubble-good {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.16);
    border-bottom-left-radius: 4px;
}

.font-sm { font-size: 0.8rem; font-weight: 500; }

.bubble-time {
    display: block;
    font-size: 0.68rem;
    color: var(--text-muted);
    text-align: right;
    margin-top: 4px;
}

/* ====================================================
   GREETING MATRIX (Slide 3)
   ==================================================== */
.matrix-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.matrix-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 9px 12px;
    border-radius: var(--radius-sm);
}

.matrix-tag {
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    flex-shrink: 0;
    margin-top: 2px;
}

.matrix-tag.client { background: rgba(99, 102, 241, 0.12); color: #818cf8; border: 1px solid rgba(99, 102, 241, 0.2); }
.matrix-tag.colleague { background: rgba(16, 185, 129, 0.12); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.2); }
.matrix-tag.director { background: rgba(168, 85, 247, 0.12); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.2); }

.matrix-text {
    font-size: 0.78rem;
    line-height: 1.4;
    color: #e2e8f0;
    font-style: italic;
}

/* ====================================================
   VOICE (Slide 4)
   ==================================================== */
.voice-bubble { width: 220px; }

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

.voice-play-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: var(--color-danger);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.voice-wave {
    display: flex;
    align-items: center;
    gap: 3px;
    flex-grow: 1;
}

.wave-bar {
    width: 3px;
    height: 12px;
    background: var(--color-danger);
    border-radius: 2px;
    opacity: 0.6;
}

.voice-duration { font-size: 0.72rem; font-weight: 700; }

.voice-annotation {
    font-size: 0.72rem;
    color: #fca5a5;
    margin-top: 8px;
    font-weight: 600;
}

/* TRAFFIC LIGHT (Slide 4 right) */
.traffic-light-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.traffic-light-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    border-left: 4px solid transparent;
}

.red-light { background: rgba(244, 63, 94, 0.03); border-left-color: var(--color-danger); }
.yellow-light { background: rgba(245, 158, 11, 0.03); border-left-color: #f59e0b; }
.green-light { background: rgba(16, 185, 129, 0.03); border-left-color: var(--color-success); }

.light-dot { font-size: 0.85rem; }
.light-text { font-size: 0.78rem; line-height: 1.4; color: #cbd5e1; }
.light-text strong { color: #f8fafc; font-weight: 700; }

/* ====================================================
   TIMELINE (Slide 5)
   ==================================================== */
.timeline-visual {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.timeline-segment {
    border-left: 3px solid rgba(255, 255, 255, 0.1);
    padding-left: 14px;
    transition: var(--transition-fast);
}

.active-time { border-left-color: var(--color-success); }
.warning-time { border-left-color: #f59e0b; }
.silent-time { border-left-color: var(--color-primary); }

.segment-hours { font-size: 0.82rem; font-weight: 800; margin-bottom: 2px; }
.active-time .segment-hours { color: #a7f3d0; }
.warning-time .segment-hours { color: #fde047; }
.silent-time .segment-hours { color: #c7d2fe; }

.segment-desc { font-size: 0.73rem; color: var(--text-muted); line-height: 1.35; }

.scheduled-tag {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: #34d399;
    font-weight: 700;
    margin-bottom: 6px;
}

/* ====================================================
   EMOJI RADAR (Slide 6)
   ==================================================== */
.emoji-radar-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.radar-box {
    border-radius: var(--radius-sm);
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.radar-box.safe { background: rgba(16, 185, 129, 0.03); border-color: rgba(16, 185, 129, 0.1); }
.radar-box.neutral { background: rgba(99, 102, 241, 0.03); border-color: rgba(99, 102, 241, 0.1); }
.radar-box.danger { background: rgba(244, 63, 94, 0.03); border-color: rgba(244, 63, 94, 0.1); }

.radar-header { font-size: 0.72rem; font-weight: 800; margin-bottom: 3px; }
.safe .radar-header { color: #34d399; }
.neutral .radar-header { color: #818cf8; }
.danger .radar-header { color: #f87171; }

.radar-emojis { font-size: 1.2rem; font-weight: 700; letter-spacing: 4px; margin-bottom: 3px; }
.radar-box p { font-size: 0.72rem; color: var(--text-muted); line-height: 1.3; }

/* ====================================================
   PHONE SIMULATOR (Slide 7)
   ==================================================== */
.phone-lock-screen {
    width: 210px;
    height: 280px;
    background: rgba(15, 22, 42, 0.6);
    border: 3px solid #1e293b;
    border-radius: 34px;
    align-self: center;
    position: relative;
    padding: 12px 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.phone-notch {
    width: 85px;
    height: 15px;
    background: #1e293b;
    border-radius: 0 0 12px 12px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.phone-time {
    font-size: 1.7rem;
    font-weight: 800;
    text-align: center;
    margin-top: 10px;
    color: #e2e8f0;
    line-height: 1;
}

.notification-stack {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 12px;
    flex-grow: 1;
}

.phone-notification {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 7px 9px;
    backdrop-filter: blur(8px);
    transition: var(--transition-fast);
}

.slide.active .lock-anim {
    animation: lockNotif 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(0.3s + (var(--anim-order) * 0.12s));
    opacity: 0;
}

.notif-header { font-size: 0.62rem; font-weight: 700; color: #94a3b8; margin-bottom: 1px; }
.notif-body { font-size: 0.72rem; color: #f1f5f9; font-weight: 500; }

/* ====================================================
   SLIDE 8: WALL OF TEXT — Formula Stack
   ==================================================== */
.wall-of-text-bubble {
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
    max-width: 95% !important;
}

.formula-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.formula-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-light);
}

.formula-num {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.82rem;
    flex-shrink: 0;
}

.formula-body strong {
    font-size: 0.82rem;
    font-weight: 700;
    color: #f8fafc;
    display: block;
    margin-bottom: 2px;
}

.formula-body p {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.35;
}

/* ====================================================
   SLIDE 9: REPLY / CONTEXT
   ==================================================== */
.context-lost-label {
    background: rgba(244, 63, 94, 0.04) !important;
    border: 1px dashed rgba(244, 63, 94, 0.3) !important;
    border-radius: var(--radius-sm) !important;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.context-question {
    font-size: 0.75rem;
    color: #fca5a5;
    font-weight: 600;
}

.reply-quote {
    background: rgba(99, 102, 241, 0.08);
    border-left: 3px solid var(--color-primary);
    padding: 5px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.reply-author {
    display: block;
    font-weight: 800;
    color: var(--color-primary);
    font-size: 0.68rem;
    margin-bottom: 2px;
}

.reply-rules {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reply-rule {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-light);
}

.rule-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.rule-body strong { font-size: 0.82rem; font-weight: 700; color: #f8fafc; display: block; margin-bottom: 2px; }
.rule-body p { font-size: 0.72rem; color: var(--text-muted); line-height: 1.35; }

/* ====================================================
   SLIDE 10: GHOST SYNDROME
   ==================================================== */
.ghost-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 4px;
    padding-left: 4px;
}

.read-ticks {
    color: #60a5fa;
    font-weight: 700;
    font-size: 0.8rem;
}

.ghost-silence {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(244, 63, 94, 0.04);
    border: 1px dashed rgba(244, 63, 94, 0.2);
    border-radius: var(--radius-sm);
}

.ghost-dots {
    display: flex;
    gap: 2px;
}

.ghost-dots span {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-danger);
    animation: ghostDots 1.5s infinite;
}

.ghost-dots span:nth-child(2) { animation-delay: 0.2s; }
.ghost-dots span:nth-child(3) { animation-delay: 0.4s; }

.ghost-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #fca5a5;
}

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

.reaction-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 10px 6px;
}

.reaction-emoji { font-size: 1.6rem; margin-bottom: 4px; }
.reaction-meaning { font-size: 0.68rem; color: var(--text-muted); font-weight: 600; }

.quick-responses h4 {
    font-size: 0.78rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 8px;
}

.quick-resp-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.quick-resp {
    padding: 5px 10px;
    background: rgba(99, 102, 241, 0.06);
    border: 1px solid var(--border-glow);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #c7d2fe;
    cursor: default;
}

/* ====================================================
   SLIDE 11: CHECKLIST ACCORDIONS
   ==================================================== */
.checklist-desc {
    color: var(--text-muted);
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.checklist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    flex-grow: 1;
    align-content: center;
}

.checklist-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    height: auto;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(6px);
}

.checklist-card.expanded {
    background: rgba(99, 102, 241, 0.04);
    border-color: var(--color-primary-glow);
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    height: 26px;
    flex-shrink: 0;
}

.accordion-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.checklist-card.checked .accordion-checkbox {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-color: transparent;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

.checklist-card.checked .accordion-checkbox::after {
    content: '✓';
    color: white;
    font-size: 0.72rem;
    font-weight: 800;
}

.accordion-header h3 {
    font-size: 0.88rem;
    font-weight: 700;
    color: #e2e8f0;
    flex-grow: 1;
}

/* .checklist-card.checked h3 removed based on user feedback */

.accordion-arrow {
    font-size: 0.7rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.checklist-card.expanded .accordion-arrow {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.accordion-body {
    margin-top: 8px;
    font-size: 0.73rem;
    color: var(--text-muted);
    line-height: 1.4;
    opacity: 1;
    transform: translateY(0);
}

/* ====================================================
   SLIDE 12: CONCLUSION
   ==================================================== */
.conclusion-layout {
    text-align: center;
    align-items: center;
    justify-content: center;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    width: 100%;
    margin: 22px 0;
}

.m-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 22px 14px;
    transition: var(--transition-fast);
    backdrop-filter: blur(6px);
}

.m-card.highlighted-glow {
    background: rgba(168, 85, 247, 0.05);
    border-color: rgba(168, 85, 247, 0.25);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.1);
}

.m-icon { font-size: 2rem; margin-bottom: 10px; }

.m-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #f8fafc;
}

.m-card p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.final-actions {
    display: flex;
    gap: 18px;
}

/* ====================================================
   FOOTER NAV
   ==================================================== */
.app-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 58px;
    padding: 0 30px;
    border-top: 1px solid rgba(255,255,255,0.04);
    flex-shrink: 0;
    position: relative;
    z-index: 20;
    background: rgba(6, 8, 14, 0.6);
    backdrop-filter: blur(16px);
}

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

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background: var(--color-primary);
    transform: scale(1.35);
    box-shadow: 0 0 8px var(--color-primary-glow);
}

.nav-buttons {
    display: flex;
    gap: 14px;
}

.nav-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.03);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.nav-btn:active:not(:disabled) {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(0.92);
}

.nav-btn:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

/* ====================================================
   PRINT STYLES
   ==================================================== */
@media print {
    body {
        background: white !important;
        color: black !important;
        overflow: visible !important;
        position: relative !important;
        width: auto !important;
        height: auto !important;
    }
    
    .noise-overlay,
    .app-header,
    .app-footer,
    .final-actions,
    .section-tag,
    .badge-status-red,
    .badge-status-green,
    .slide-bg-layer { display: none !important; }
    
    .app-container {
        padding: 0 !important;
        height: auto !important;
    }
    
    .presentation-container {
        display: block !important;
        height: auto !important;
    }
    
    .slides-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
        height: auto !important;
    }
    
    .slide {
        position: relative !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        height: auto !important;
        page-break-after: always;
        display: block !important;
    }
    
    .slide-content {
        background: white !important;
        color: black !important;
        border: 2px solid #ccc !important;
        padding: 30px !important;
        max-height: none !important;
        overflow: visible !important;
    }
    
    .slide-title, .slide-title-compact {
        background: none !important;
        -webkit-text-fill-color: black !important;
        color: black !important;
        border-bottom: 2px solid black;
        padding-bottom: 8px;
    }
    
    .split-layout,
    .stats-dashboard,
    .intro-grid,
    .checklist-grid,
    .manifesto-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
        max-height: none !important;
    }
    
    .chat-example, .stat-card, .matrix-item, .radar-box, .timeline-segment, .checklist-card, .m-card, .right-col {
        background: #f8fafc !important;
        border: 1px solid #ddd !important;
        color: black !important;
        height: auto !important;
        backdrop-filter: none !important;
    }
    
    .bubble { color: black !important; background: #f1f5f9 !important; border: 1px solid #cbd5e1 !important; }
    .bubble-bad { border-left: 5px solid #ef4444 !important; }
    .bubble-good { border-left: 5px solid #10b981 !important; }
    .phone-lock-screen { display: none !important; }
}
