* { font-family: 'Inter', 'Noto Sans SC', sans-serif; }
body { margin: 0; overflow: hidden; background: #0f172a; color: #f8fafc; }
.slide {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    padding: 3rem 5rem;
    opacity: 0; pointer-events: none;
    transform: translateX(60px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.slide.active { opacity: 1; pointer-events: auto; transform: translateX(0); }
.slide.prev { transform: translateX(-60px); }
.bg-gradient {
    background: radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 40%),
                #0f172a;
}
.glass-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 1.25rem;
}
.progress-bar {
    position: fixed; bottom: 0; left: 0; height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    transition: width 0.4s ease; z-index: 100;
}
.nav-btn {
    position: fixed; top: 50%; transform: translateY(-50%); z-index: 90;
    width: 52px; height: 52px; border-radius: 50%;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #cbd5e1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s; font-size: 20px;
}
.nav-btn:hover { background: rgba(59, 130, 246, 0.3); color: white; }
.nav-btn.prev { left: 1.5rem; }
.nav-btn.next { right: 1.5rem; }
.nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.page-indicator { position: fixed; bottom: 1.5rem; right: 2rem; color: #94a3b8; font-size: 0.875rem; z-index: 90; }
.top-bar {
    position: fixed; top: 0; left: 0; right: 0; height: 64px;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 3rem; z-index: 90;
}
.theme-toggle-btn {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1rem; border-radius: 9999px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(30, 41, 59, 0.8); color: #94a3b8;
    font-size: 0.875rem; cursor: pointer;
    transition: all 0.3s ease; backdrop-filter: blur(10px);
}
.theme-toggle-btn:hover { background: rgba(51, 65, 85, 0.9); color: #e2e8f0; border-color: rgba(148, 163, 184, 0.4); }
.slide-title {
    font-size: 2.5rem; font-weight: 800; margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.slide-subtitle { font-size: 1.125rem; color: #94a3b8; margin-bottom: 2.5rem; }
.slide-number-tag {
    display: inline-block; padding: 0.25rem 0.875rem; border-radius: 9999px;
    font-size: 0.75rem; font-weight: 600;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white; margin-bottom: 1rem; letter-spacing: 0.05em;
}
.cover-title {
    font-size: 3.5rem; font-weight: 800; text-align: center; line-height: 1.2;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 50%, #c4b5fd 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    margin-bottom: 1rem;
}
.cover-subtitle { font-size: 1.25rem; color: #94a3b8; text-align: center; margin-bottom: 3rem; }
.cover-tags { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cover-tag {
    padding: 0.5rem 1.25rem; border-radius: 9999px;
    font-size: 0.875rem; font-weight: 500;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3); color: #a5b4fc;
}
.summary-box {
    padding: 2.5rem; text-align: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3); border-radius: 1.5rem;
}
.summary-title {
    font-size: 2rem; font-weight: 800; margin-bottom: 1rem;
    background: linear-gradient(135deg, #a5b4fc, #c4b5fd);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.summary-text { font-size: 1rem; color: #cbd5e1; line-height: 2; }
.summary-text strong { color: #a5b4fc; font-weight: 700; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td {
    padding: 0.75rem 1rem; text-align: left;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    font-size: 0.8125rem;
}
.compare-table th { color: #94a3b8; font-weight: 500; background: rgba(30, 41, 59, 0.5); }
.compare-table .highlight { color: #4ade80; font-weight: 600; }
.compare-table .strong { font-weight: 700; color: #e2e8f0; }
.highlight-box-green {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.02));
    border-left: 3px solid #22c55e; padding: 1rem 1.25rem; border-radius: 0 0.5rem 0.5rem 0;
}
.highlight-box-purple {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.02));
    border-left: 3px solid #8b5cf6; padding: 1rem 1.25rem; border-radius: 0 0.5rem 0.5rem 0;
}
.highlight-box-red {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.02));
    border-left: 3px solid #ef4444; padding: 1rem 1.25rem; border-radius: 0 0.5rem 0.5rem 0;
}
.highlight-box-amber {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(251, 191, 36, 0.02));
    border-left: 3px solid #f59e0b; padding: 1rem 1.25rem; border-radius: 0 0.5rem 0.5rem 0;
}
.user-bubble {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(99, 102, 241, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.3); border-radius: 1rem;
    padding: 1rem 1.5rem; color: #a5b4fc; margin-bottom: 1rem;
}
.assistant-bubble {
    background: rgba(30, 41, 59, 0.8); border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 1rem; padding: 1.5rem; color: #e2e8f0;
}
.source-tag-kb {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 2px 8px; border-radius: 4px;
    font-size: 10px; font-weight: 600;
    background: rgba(34, 197, 94, 0.15); color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}
.source-tag-llm {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 2px 8px; border-radius: 4px;
    font-size: 10px; font-weight: 600;
    background: rgba(251, 191, 36, 0.15); color: #f59e0b;
    border: 1px solid rgba(251, 191, 36, 0.3);
}
.source-legend {
    position: fixed; bottom: 1.5rem; left: 2rem;
    display: flex; gap: 1.5rem; z-index: 90;
    font-size: 0.7rem;
}

body.light-theme { background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); }
body.light-theme .slide-title {
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
body.light-theme .slide-subtitle { color: #475569; }
body.light-theme .glass-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
body.light-theme .cover-title {
    background: linear-gradient(135deg, #1e293b 0%, #6366f1 50%, #8b5cf6 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
body.light-theme .cover-subtitle { color: #64748b; }
body.light-theme .cover-tag {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2); color: #6366f1;
}
body.light-theme .summary-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
}
body.light-theme .summary-text { color: #475569; }
body.light-theme .summary-text strong { color: #6366f1; }
body.light-theme .nav-btn {
    background: rgba(255, 255, 255, 0.9); color: #475569;
    border: 1px solid rgba(0, 0, 0, 0.1);
}
body.light-theme .nav-btn:hover:not(:disabled) { background: #f1f5f9; color: #1e293b; }
body.light-theme .page-indicator { color: #334155; }
body.light-theme .theme-toggle-btn {
    background: rgba(255, 255, 255, 0.9); border-color: rgba(0, 0, 0, 0.1); color: #475569;
}
body.light-theme .theme-toggle-btn:hover { background: #f1f5f9; color: #1e293b; }
body.light-theme .text-slate-200 { color: #0f172a !important; }
body.light-theme .text-slate-300 { color: #1e293b !important; }
body.light-theme .text-slate-400 { color: #334155 !important; }
body.light-theme .text-slate-500 { color: #475569 !important; }
body.light-theme .text-red-400 { color: #dc2626 !important; }
body.light-theme .text-green-400 { color: #16a34a !important; }
body.light-theme .text-blue-400 { color: #2563eb !important; }
body.light-theme .text-purple-400 { color: #7c3aed !important; }
body.light-theme .text-indigo-400 { color: #4f46e5 !important; }
body.light-theme .compare-table th { background: #f8fafc; color: #334155; }
body.light-theme .compare-table td { color: #475569; border-bottom-color: rgba(0, 0, 0, 0.06); }
body.light-theme .compare-table .strong { color: #1e293b; }
body.light-theme .compare-table .highlight { color: #16a34a; }
body.light-theme .highlight-box-green { background: rgba(34, 197, 94, 0.08); }
body.light-theme .highlight-box-purple { background: rgba(139, 92, 246, 0.08); }
body.light-theme .highlight-box-red { background: rgba(239, 68, 68, 0.08); }
body.light-theme .highlight-box-amber { background: rgba(251, 191, 36, 0.08); }
body.light-theme .user-bubble {
    background: rgba(59, 130, 246, 0.1); border-color: rgba(99, 102, 241, 0.2); color: #2563eb;
}
body.light-theme .assistant-bubble {
    background: #ffffff; border-color: rgba(0, 0, 0, 0.08); color: #334155;
}
body.light-theme .source-tag-kb {
    background: rgba(34, 197, 94, 0.1); color: #16a34a; border-color: rgba(34, 197, 94, 0.2);
}
body.light-theme .source-tag-llm {
    background: rgba(251, 191, 36, 0.1); color: #d97706; border-color: rgba(251, 191, 36, 0.2);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.slide.active .anim-item { animation: fadeInUp 0.5s ease-out backwards; }
.slide.active .anim-item:nth-child(1) { animation-delay: 0.1s; }
.slide.active .anim-item:nth-child(2) { animation-delay: 0.2s; }
.slide.active .anim-item:nth-child(3) { animation-delay: 0.3s; }
.slide.active .anim-item:nth-child(4) { animation-delay: 0.4s; }
.slide.active .anim-item:nth-child(5) { animation-delay: 0.5s; }
.slide.active .anim-item:nth-child(6) { animation-delay: 0.6s; }
.slide.active .anim-item:nth-child(7) { animation-delay: 0.7s; }
.slide.active .anim-item:nth-child(8) { animation-delay: 0.8s; }

@media (max-width: 1024px) {
    .slide { padding: 2rem; }
    .slide-title { font-size: 1.75rem; }
    .cover-title { font-size: 2.5rem; }
}