:root {
    --bg: #ffffff;
    --card: #f9fbfd;
    --border: #e2e8f0;
    --text: #171923;
    --dim: #444b5a;
    --muted: #8a94a6;
    --pri: #6c5ce7;
    --pri-g: linear-gradient(135deg, #6c5ce7 0%, #8578eb 100%);
    --sec: #00b894;
    --sec-g: linear-gradient(135deg, #00b894 0%, #00d2d3 100%);
    --accent: #d63384;
    --warn: #f59e0b;
    --green: #10b981;
    --r: 24px;
    --rs: 14px;
    --t: .4s cubic-bezier(0.22, 1, 0.36, 1);
}


body.dark {
    --bg: #0d0d12;
    --card: #18181f;
    --border: rgba(255, 255, 255, 0.08);
    --text: #ffffff;
    --dim: #b0b0bc;
    --muted: #6b6b7a;
}

.c {
    box-shadow: 0 10px 25px rgba(108, 92, 231, 0.04);
}

.c:hover {
    box-shadow: 0 20px 45px rgba(108, 92, 231, 0.1);
}

.hero {
    background: radial-gradient(circle at 80% 20%, rgba(108, 92, 231, 0.08) 0%, transparent 40%), radial-gradient(circle at 20% 80%, rgba(0, 206, 201, 0.06) 0%, transparent 40%);
}

.zia-orb {
    opacity: 0.25;
    filter: blur(60px);
}

.theme-toggle, .tbtn {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background var(--t), color var(--t);
    cursor: none !important;
}

a, button, .c, .ic, .nav-dot, .tbtn, .img-c img, .mac-mock img, .phone-mock img { cursor: none !important; }

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    transition: color var(--t);
}

/* SCROLL SYSTEM */
.s {
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
}

html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.si {
    max-width: 1100px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.sn {
    font-size: 12px;
    font-weight: 800;
    color: var(--pri);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

h2 {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.sd {
    font-size: 18px;
    color: var(--dim);
    max-width: 700px;
    margin-bottom: 40px;
}

/* GRID & CARDS */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.c {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 32px;
    transition: var(--t);
    position: relative;
    overflow: hidden;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.c:hover {
    transform: translateY(-5px) rotateX(4deg) rotateY(2deg);
    border-color: var(--pri);
    box-shadow: 0 40px 80px rgba(108, 92, 231, 0.2);
}

.c::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.c:hover::after {
    transform: translateX(100%);
}

.ic {
    width: 48px;
    height: 48px;
    border-radius: var(--rs);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.c h4 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text);
    letter-spacing: -0.5px;
}

.c p {
    font-size: 15px;
    color: var(--dim);
}

/* HERO SPECIAL */
.hero { background: radial-gradient(circle at 80% 20%, rgba(108, 92, 231, 0.1) 0%, transparent 40%), radial-gradient(circle at 20% 80%, rgba(0, 206, 201, 0.08) 0%, transparent 40%); }
.hero h1 { font-size: clamp(60px, 10vw, 120px); font-weight: 900; line-height: 0.9; margin-bottom: 24px; letter-spacing: -4px; color: var(--text); }
.hero-sub { font-size: 22px; color: var(--dim); max-width: 600px; margin-bottom: 48px; }
.badge { background: rgba(108, 92, 231, 0.1); color: var(--pri); padding: 6px 16px; border-radius: 100px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border: 1px solid rgba(108, 92, 231, 0.2); margin-bottom: 24px; display: inline-block; }

/* REVEAL SYSTEM */
.reveal {
    opacity: 0;
    transform: perspective(1000px) rotateX(15deg) translateY(60px) scale(0.9);
    filter: blur(5px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.on {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) translateY(0) scale(1);
    filter: blur(0);
}

.grid2 > *, .grid3 > *, .grid4 > * { transition-delay: calc(var(--i, 0) * 0.1s); }

/* TOOLBAR (TOP BTNS) */
.top-btns { position: fixed; top: 24px; right: 24px; z-index: 1000; display: flex; gap: 12px; }
.tbtn {
    width: 40px; height: 40px; background: var(--card); border: 1px solid var(--border);
    border-radius: 10px; color: var(--text); display: flex; align-items: center;
    justify-content: center; cursor: pointer; transition: var(--t);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.tbtn:hover { border-color: var(--pri); transform: scale(1.1); }
.tbtn svg { width: 18px; height: 18px; }

/* DOT NAV */
#nav { position: fixed; right: 30px; top: 50%; transform: translateY(-50%); z-index: 100; display: flex; flex-direction: column; gap: 12px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); border: none; cursor: pointer; transition: var(--t); }
.dot.on { background: var(--pri); transform: scale(1.5); box-shadow: 0 0 10px var(--pri); }

/* PROGRESS BAR */
.prog { position: fixed; top: 0; left: 0; height: 4px; background: var(--pri-g); z-index: 2000; width: 0%; transition: width 0.2s; }

/* MOCKUPS */
.img-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.img-c { border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); transition: var(--t); background: var(--card); }
.img-c img { width: 100%; height: 100%; object-fit: cover; display: block; transition: var(--t); }
.img-c:hover { transform: translateY(-8px); border-color: var(--pri); }

.phone-mock { width: 280px; height: 560px; background: #000; border: 12px solid #1a1a1a; border-radius: 44px; position: relative; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 0 2px rgba(255, 255, 255, 0.05); transition: var(--t); display: flex; flex-direction: column; }
.phone-mock::after { content: ''; position: absolute; inset: 0; background: linear-gradient(125deg, rgba(255, 255, 255, 0.1) 0%, transparent 40%, rgba(255, 255, 255, 0.05) 60%, transparent 100%); pointer-events: none; z-index: 5; }
.phone-mock img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.phone-mock:hover { transform: translateY(-20px) rotateY(10deg) scale(1.05); }
.phone-label { text-align: center; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--muted); margin-top: 16px; letter-spacing: 1px; }

.mac-mock { width: 450px; height: 280px; background: #1a1a1a; border: 12px solid #0a0a0a; border-radius: 18px 18px 0 0; position: relative; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); perspective: 1000px; }
.mac-mock::after { content: ''; position: absolute; inset: 0; background: linear-gradient(125deg, rgba(255, 255, 255, 0.08) 0%, transparent 40%, rgba(255, 255, 255, 0.03) 60%, transparent 100%); pointer-events: none; z-index: 5; }
.mac-mock img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mac-base { width: 520px; height: 10px; background: #333; border-radius: 0 0 12px 12px; margin: 0 auto; position: relative; }
.mac-base::after { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background: #000; border-radius: 0 0 4px 4px; }
.mac-wrap { display: flex; flex-direction: column; align-items: center; transition: var(--t); }
.mac-wrap:hover { transform: translateY(-10px) scale(1.02); }

.mac-mock img, .phone-mock img, .img-c img { cursor: crosshair !important; transition: opacity 0.3s; }
.mac-mock img:hover, .phone-mock img:hover, .img-c img:hover { opacity: 0.8 !important; }
.img-swap-hint { position: absolute; bottom: 10px; right: 10px; background: rgba(0, 0, 0, 0.5); padding: 4px 8px; border-radius: 4px; font-size: 10px; color: #fff; opacity: 0; pointer-events: none; transition: 0.3s; z-index: 100; }
.c:hover .img-swap-hint, .mac-wrap:hover .img-swap-hint, .phone-mock:hover + .img-swap-hint { opacity: 1; }

/* REAL RED LASER CURSOR (THREE.JS VERSION) */
#cursor-wrap { position: fixed; inset: 0; pointer-events: none; z-index: 9999; }
#cursor-wrap { position: fixed; inset: 0; pointer-events: none; z-index: 9999; }
#laser-canvas { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; pointer-events: none; transition: opacity 0.3s; mix-blend-mode: screen; }

/* RESPONSIVE */
@media (max-width: 900px) {
    #cursor-wrap { display: none !important; }
    .s { height: auto; min-height: 100vh; padding: 100px 20px; }
    .grid2, .grid3, .grid4 { grid-template-columns: 1fr; gap: 16px; }
    .top-btns { top: 15px; right: 15px; scale: 0.9; }
    h2 { font-size: 32px; color: #ffffff !important; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
    .sd { font-size: 16px; color: #ffffff !important; opacity: 1; }
    .hero h1 { font-size: 48px; color: #ffffff !important; text-shadow: 0 4px 20px rgba(108, 92, 231, 0.4); }
    .hero-sub { font-size: 18px; color: #ffffff !important; opacity: 1; }
    .sn { font-size: 40px; top: -10px; opacity: 0.2; color: #fff !important; }
}

/* PRINT STYLES */
@media print {
    .top-btns, #nav, .prog, #cursor-wrap { display: none !important; }
    .s { height: 100vh !important; page-break-after: always !important; break-after: page !important; display: flex !important; align-items: center !important; justify-content: center !important; padding: 0 !important; }
    body { background: #fff !important; color: #000 !important; cursor: default !important; }
    .c { border: 1px solid #eee !important; box-shadow: none !important; }
    .zia-orb { display: none !important; }
}

#pdf-loading { position: fixed; inset: 0; background: var(--bg); z-index: 10000; display: none; flex-direction: column; align-items: center; justify-content: center; color: var(--text); }
body.printing #pdf-loading { display: flex !important; }

/* DANGEROUSLY INJECTED DASHBOARD CORE STYLES */
/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a28;
    --surface: #16161f;
    --border: rgba(255,255,255,0.06);
    --text: #e8e8f0;
    --text-dim: #8888a0;
    --text-muted: #555568;

    --zypher: #6c5ce7;
    --zypher-glow: rgba(108,92,231,0.3);
    --qab: #00cec9;
    --qab-glow: rgba(0,206,201,0.3);
    --accent: #fd79a8;
    --peak: #fdcb6e;

    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    --font: 'Inter', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; scroll-snap-type: y mandatory; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: none !important;
}



/* PRINT STYLES */
body.printing { cursor: default !important; overflow: visible !important; }
body.printing .top-btns, 
body.printing #slide-nav, 
body.printing .scroll-indicator,
body.printing #cursor-wrap { display: none !important; }
body.printing .slide { scroll-snap-align: none !important; }
body.printing .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
body.printing * { animation: none !important; transition: none !important; }


body.printing .hero-bg-grid { mask-image: none !important; opacity: 0.1 !important; }
body.printing .hero-content h1 { 
    background: none !important; 
    -webkit-text-fill-color: white !important; 
    color: white !important;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
body.printing .slide-number { color: rgba(255,255,255,0.1) !important; }
body.printing .badge { background: #6c5ce7 !important; color: white !important; border: none !important; }

@media print {
    * { transition: none !important; animation: none !important; }
    .slide { 
        height: 100vh !important; 
        page-break-after: always !important; 
        break-after: page !important;
        display: flex !important;
        padding: 0 !important;
    }
    body { background: white !important; color: black !important; cursor: default !important; }
    .top-btns, #slide-nav, .scroll-indicator, #cursor-wrap { display: none !important; }
}

/* ===== NAV DOTS ===== */
#slide-nav {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}
.nav-dot:hover { background: var(--text-dim); transform: scale(1.3); }
.nav-dot.active { background: var(--zypher); box-shadow: 0 0 12px var(--zypher-glow); transform: scale(1.4); }

/* ===== SLIDES ===== */
.slide {
    min-height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}
.slide-inner {
    max-width: 1100px;
    width: 100%;
    position: relative;
}
.slide-number {
    font-size: 72px;
    font-weight: 900;
    color: rgba(255,255,255,0.03);
    position: absolute;
    top: -30px;
    right: 0;
    line-height: 1;
    user-select: none;
}
.slide h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}
.slide-desc {
    color: var(--text-dim);
    font-size: 15px;
    margin-bottom: 48px;
    max-width: 500px;
}

/* ===== HERO ===== */
.slide-hero {
    flex-direction: column;
    text-align: center;
    background: radial-gradient(ellipse at 50% 30%, rgba(108,92,231,0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 80%, rgba(0,206,201,0.08) 0%, transparent 50%),
                var(--bg);
}
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.badge {
    display: inline-block;
    background: rgba(108,92,231,0.15);
    color: var(--zypher);
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    border: 1px solid rgba(108,92,231,0.2);
}
.hero-content h1 {
    display: block; /* Fix for iOS background-clip */
    font-size: clamp(48px, 7vw, 80px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.05;
    background: linear-gradient(135deg, #fff 0%, var(--text-dim) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: clamp(24px, 4vw, 42px);
    font-weight: 300;
    color: var(--text-dim);
    margin-top: 8px;
    margin-bottom: 56px;
}
.hero-stats {
    display: flex;
    gap: 64px;
    justify-content: center;
    margin-bottom: 64px;
}
.hero-stat { text-align: center; }
.hero-stat-value {
    display: inline-block; /* Fix for iOS background-clip */
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -2px;
    background: linear-gradient(135deg, var(--zypher), var(--qab));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-dim);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 13px;
    animation: bobble 2s ease-in-out infinite;
}
@keyframes bobble {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ===== CHART ===== */
.chart-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 32px;
    height: 320px;
    padding: 20px 0;
    margin-bottom: 32px;
}
.bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
}
.bar-wrapper {
    display: flex;
    gap: 6px;
    align-items: flex-end;
    height: 260px;
}
.bar {
    width: 36px;
    height: 0;
    border-radius: 6px 6px 0 0;
    position: relative;
    transition: height 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.bar.animated { height: calc(var(--target-height) * 1px); }
.bar-zypher {
    background: linear-gradient(180deg, var(--zypher), rgba(108,92,231,0.4));
    box-shadow: 0 0 20px var(--zypher-glow);
}
.bar-qab {
    background: linear-gradient(180deg, var(--qab), rgba(0,206,201,0.4));
    box-shadow: 0 0 20px var(--qab-glow);
}
.bar-label {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dim);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.4s;
}
.bar.animated .bar-label { opacity: 1; }
.bar-month {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
    text-align: center;
    line-height: 1.3;
}
.bar-month small { font-weight: 400; font-size: 11px; color: var(--text-muted); }
.peak-tag {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--peak);
    color: #1a1a28;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 100px;
    letter-spacing: 1px;
    opacity: 0;
    transition: opacity 0.6s 1.2s;
}
.bar-group.peak .peak-tag { opacity: 0; }
.bar-group.peak.visible .peak-tag { opacity: 1; }
.legend {
    display: flex;
    justify-content: center;
    gap: 32px;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-dim);
    font-weight: 500;
}
.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 4px;
}
.legend-dot.zypher { background: var(--zypher); }
.legend-dot.qab { background: var(--qab); }

/* ===== SPLIT / DONUT ===== */
.split-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}
.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    flex: 1;
    max-width: 360px;
    text-align: center;
    transition: var(--transition);
}
.project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.1);
}
.zypher-card:hover { box-shadow: 0 12px 40px var(--zypher-glow); }
.qab-card:hover { box-shadow: 0 12px 40px var(--qab-glow); }
.project-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}
.project-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
}
.zypher-card .project-icon {
    background: linear-gradient(135deg, var(--zypher), #a29bfe);
    color: white;
}
.qab-card .project-icon {
    background: linear-gradient(135deg, var(--qab), #81ecec);
    color: #1a1a28;
}
.qab-card .project-icon::after { content: 'A'; }
.project-card h3 {
    font-size: 22px;
    font-weight: 700;
}
.donut-container {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 24px;
}
.donut { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut-bg {
    fill: none;
    stroke: var(--surface);
    stroke-width: 8;
}
.donut-fill {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dasharray 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.zypher-fill { stroke: var(--zypher); filter: drop-shadow(0 0 6px var(--zypher-glow)); }
.qab-fill { stroke: var(--qab); filter: drop-shadow(0 0 6px var(--qab-glow)); }
.donut-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.donut-value {
    display: block;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
}
.donut-unit { font-size: 13px; color: var(--text-dim); font-weight: 500; }
.vs-divider {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-muted);
    padding: 0 8px;
}
.project-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.project-details li {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}
.project-details li span { color: var(--text-dim); }
.project-details li strong { color: var(--text); }

/* ===== TIMELINE ===== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--zypher), var(--qab));
    opacity: 0.3;
    transform: translateX(-50%);
}
.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 32px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.timeline-item.visible { opacity: 1; transform: translateY(0); }
.timeline-item.left { padding-right: calc(50% + 32px); justify-content: flex-end; }
.timeline-item.right { padding-left: calc(50% + 32px); }
.timeline-dot {
    position: absolute;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg);
    border: 3px solid var(--zypher);
    z-index: 2;
    transition: var(--transition);
}
.timeline-item.visible .timeline-dot { box-shadow: 0 0 16px var(--zypher-glow); }
.peak-dot { border-color: var(--peak) !important; }
.timeline-item.visible .peak-dot { box-shadow: 0 0 16px rgba(253,203,110,0.4) !important; }
.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    max-width: 320px;
    transition: var(--transition);
}
.timeline-card:hover { border-color: rgba(255,255,255,0.1); background: var(--bg-card-hover); }
.peak-card { border-color: rgba(253,203,110,0.2) !important; }
.peak-card:hover { box-shadow: 0 8px 30px rgba(253,203,110,0.1); }
.timeline-date {
    font-size: 12px;
    font-weight: 700;
    color: var(--zypher);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.peak-card .timeline-date { color: var(--peak); }
.timeline-card h4 { font-size: 1.1rem; margin-bottom: 12px; color: var(--accent); }
.timeline-list { list-style: none; padding: 0; margin-bottom: 15px; text-align: left; }
.timeline-list li { font-size: 0.9rem; color: var(--text-dim); margin-bottom: 6px; position: relative; padding-left: 15px; }
.timeline-list li::before { content: '•'; position: absolute; left: 0; color: var(--zypher); }
.timeline-effort { font-size: 0.75rem; font-weight: 700; color: var(--qab); text-transform: uppercase; letter-spacing: 1px; background: rgba(0, 206, 201, 0.1); padding: 4px 10px; border-radius: 6px; display: inline-block; }
.peak-card .timeline-effort { background: rgba(108, 92, 231, 0.2); color: #fff; }
.timeline-card p { font-size: 13px; color: var(--text-dim); line-height: 1.5; }

/* ===== STORAGE ===== */
.storage-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
    gap: 24px;
}
.storage-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
}
.storage-card:hover { border-color: rgba(255,255,255,0.1); }
.storage-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--text);
}
.storage-header h4 { font-size: 16px; font-weight: 700; }
.storage-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.storage-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--surface);
    border-radius: var(--radius-sm);
    font-size: 12px;
    transition: var(--transition);
}
.storage-list li:hover { background: var(--bg-card-hover); }
.storage-path { color: var(--text-dim); font-family: 'SF Mono', monospace; font-size: 11px; }
.storage-tag {
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.storage-tag.active { background: rgba(0,206,201,0.15); color: var(--qab); }
.storage-tag.deployed { background: rgba(108,92,231,0.15); color: var(--zypher); }
.storage-tag.archived { background: rgba(255,255,255,0.05); color: var(--text-muted); }

/* ===== FINANCE / BALANZA ===== */
.slide-finance {
    background: radial-gradient(ellipse at 30% 50%, rgba(253,121,168,0.06) 0%, transparent 50%),
                var(--bg);
}
.finance-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}
.kpi-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}
.kpi-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.1); }
.kpi-label {
    display: block;
    font-size: 12px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 8px;
}
.kpi-value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
}
.kpi-value.invest { color: var(--zypher); }
.kpi-value.income { color: var(--qab); }
.kpi-value.deficit { color: var(--accent); }
.deficit-card { border-color: rgba(253,121,168,0.2); }
.deficit-card:hover { box-shadow: 0 8px 30px rgba(253,121,168,0.1); }

.finance-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.finance-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.finance-table thead {
    background: var(--surface);
}
.finance-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-dim);
    border-bottom: 1px solid var(--border);
}
.finance-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    font-variant-numeric: tabular-nums;
}
.finance-table tbody tr {
    transition: background 0.2s;
}
.finance-table tbody tr:hover {
    background: var(--bg-card-hover);
}
.cell-month { font-weight: 700; color: var(--text); }
.cell-positive { color: #00b894; font-weight: 600; }
.cell-negative { color: var(--accent); font-weight: 700; }
.cell-muted { color: var(--text-muted); }
.col-balance { text-align: right; }
.row-warning {
    background: rgba(253,121,168,0.04);
}
.row-warning td { border-bottom-color: rgba(253,121,168,0.15); }

/* ===== PROJECTION ===== */
.slide-projection {
    background: radial-gradient(ellipse at 60% 40%, rgba(253,203,110,0.06) 0%, transparent 50%),
                var(--bg);
}
.projection-chart {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    height: 380px;
}
.projection-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    padding: 0 8px 30px 0;
    min-width: 56px;
    text-align: right;
}
.projection-area {
    flex: 1;
    position: relative;
    border-left: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.projection-svg {
    width: 100%;
    height: calc(100% - 30px);
}
.projection-fill {
    fill: url(#projGrad);
    opacity: 0;
    animation: fadeInArea 1.5s 0.5s forwards;
}
.projection-line {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2.5;
    stroke-linejoin: round;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: drawLine 2s 0.3s forwards;
}
.breakeven-dot, .current-dot {
    opacity: 0;
    animation: popDot 0.4s 2s forwards;
}
.current-dot { animation-delay: 2.2s; }

@keyframes fadeInArea { to { opacity: 0.25; } }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes popDot {
    0% { opacity: 0; r: 0; }
    50% { r: 8; }
    100% { opacity: 1; r: 6; }
}

.projection-labels {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}
.annotation {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    opacity: 0;
    animation: fadeIn 0.6s 2.4s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }
.annotation-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.annotation-text {
    font-size: 11px;
    color: var(--text-dim);
    line-height: 1.4;
    white-space: nowrap;
}
.annotation-text strong { color: var(--text); }

.projection-footer { margin-top: 8px; }
.projection-insight {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(253,121,168,0.06);
    border: 1px solid rgba(253,121,168,0.15);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.5;
}
.projection-insight strong { color: var(--accent); }
.projection-insight svg { flex-shrink: 0; }

/* ===== SUMMARY ===== */
.slide-summary {
    background: radial-gradient(ellipse at 50% 60%, rgba(108,92,231,0.08) 0%, transparent 50%),
                var(--bg);
}
.summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
}
.summary-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.1); }
.summary-icon {
    margin-bottom: 16px;
    color: var(--zypher);
}
.summary-value {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--zypher), var(--qab));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.summary-label {
    font-size: 13px;
    color: var(--text-dim);
    font-weight: 500;
    margin-top: 4px;
}
.conclusion-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--zypher);
    border-radius: var(--radius-sm);
    padding: 24px 28px;
    margin-bottom: 32px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-dim);
}
.conclusion-box strong { color: var(--text); }
.footer-badge {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .slide { padding: 40px 20px; }
    .hero-stats { flex-direction: column; gap: 24px; }
    .hero-stat-value { font-size: 40px; }
    .chart-container { gap: 12px; }
    .bar { width: 24px; }
    .split-container { flex-direction: column; }
    .vs-divider { transform: rotate(90deg); }
    .timeline-item.left, .timeline-item.right { padding: 0 0 0 40px; }
    .timeline-line { left: 16px; }
    .timeline-dot { left: 16px; }
    .storage-grid { grid-template-columns: 1fr; }
    .summary-grid { grid-template-columns: repeat(2, 1fr); }
    .finance-kpis { grid-template-columns: 1fr; }
    .finance-table { font-size: 11px; }
    .finance-table th, .finance-table td { padding: 8px 10px; }
    .projection-y-axis { display: none; }
    #slide-nav { display: none; }
}


/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 900px) {
    .slide { padding: 80px 20px; height: auto; min-height: 100vh; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr !important; gap: 20px !important; }
    .top-btns { top: 15px; right: 15px; transform: scale(0.9); }
    h1 { font-size: 36px !important; color: #fff !important; }
    h2 { font-size: 28px !important; color: #fff !important; }
    .kpi-val { font-size: 42px !important; color: #fff !important; }
    .chart-container { height: 300px !important; }
    .split-layout { flex-direction: column !important; gap: 40px !important; }
    .split-col { width: 100% !important; }
    .timeline-card { font-size: 14px; }
    .slide-number { font-size: 40px; top: -10px; opacity: 0.1; }
    #slide-nav { display: none; }
}
