/* Official Intherion Branding */
:root {
    --bg-dark: #0B0E14;
    --obsidian: #05070A;
    --gold: #B0976A;
    --cyan: #00e5ff;
    --magenta: #ff2d78;
    --text-main: #F8FAFC;
    --text-muted: #8b949e;
    
    /* Highly readable, professional typography */
    --font-heading: 'Rajdhani', sans-serif;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography Utilities */
h1, h2, h3, h4, .brand-text, .hud-value, .stat-value { 
    font-family: var(--font-heading); 
    font-weight: 700;
}

.text-gold { color: var(--gold); }
.text-cyan { color: var(--cyan); }
.text-magenta { color: var(--magenta); text-shadow: 0 0 10px rgba(255,45,120,0.4); }

/* Ambient Glows */
.ambient-glow { position: fixed; border-radius: 50%; filter: blur(150px); opacity: 0.1; z-index: -1; pointer-events: none; }
.bg-cyan { width: 600px; height: 600px; background: var(--cyan); top: -100px; left: -100px; }
.bg-magenta { width: 800px; height: 800px; background: var(--magenta); bottom: -200px; right: -200px; }

/* Navigation */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    background: rgba(5, 7, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(176, 151, 106, 0.2);
    z-index: 100;
}
.nav-container { max-width: 1300px; margin: 0 auto; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; }
.logo-container { display: flex; align-items: center; gap: 1rem; }
.nav-logo { height: 45px; }
.brand-text { font-size: 1.8rem; }

.badge { padding: 0.3rem 1rem; border-radius: 4px; font-weight: 700; font-size: 0.8rem; font-family: var(--font-heading); letter-spacing: 1px;}
.gold-badge { border: 1px solid var(--gold); color: var(--gold); background: rgba(176, 151, 106, 0.1); }

/* Layout */
.deck-container { max-width: 1300px; margin: 0 auto; padding: 100px 2rem 5rem; }
.slide { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; padding: 5rem 0; }
.glass-panel { background: var(--obsidian); border: 1px solid rgba(255,255,255,0.05); border-radius: 8px; padding: 2rem; }

/* Slide 1: Hero & Funding */
.hero-slide { text-align: center; }
.slide-title { font-size: 5rem; line-height: 1.1; margin-bottom: 1.5rem; text-transform: uppercase;}
.slide-subtitle { font-size: 1.2rem; color: var(--text-muted); max-width: 800px; margin: 0 auto 3rem; font-weight: 400;}

.funding-panel { max-width: 800px; margin: 0 auto 4rem; border-color: rgba(176, 151, 106, 0.3); text-align: left;}
.funding-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 1rem; margin-bottom: 1rem;}
.funding-header h2 { font-size: 1.8rem; color: #fff;}
.funding-total { font-size: 2.5rem; font-family: var(--font-heading); font-weight: 700;}
.funding-breakdown { display: flex; justify-content: space-between; margin-bottom: 1rem; flex-wrap: wrap; gap: 1rem;}
.f-item { background: rgba(255,255,255,0.05); padding: 0.8rem 1.5rem; border-radius: 4px; font-size: 1.1rem;}
.f-item span { color: var(--text-muted); margin-right: 0.5rem;}
.funding-desc { color: var(--text-muted); font-size: 0.9rem; margin-top: 1rem;}

.stats-row { display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.stat-box { padding: 2rem; width: 280px; text-align: center; background: var(--obsidian); border: 1px solid rgba(255,255,255,0.05); border-radius: 8px; }
.stat-box h3 { font-size: 1.5rem; color: #fff; }
.stat-box p { font-size: 0.9rem; color: var(--text-muted); }
.stat-value { font-size: 3rem; margin: 0.5rem 0; }

/* Distribution Slide */
.distribution-slide .section-title { font-size: 3.5rem; text-align: center; margin-bottom: 3rem; }
.dist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.dist-grid.three-col { grid-template-columns: 1fr 1fr 1fr; }
.tech-card { background: var(--obsidian); padding: 3rem; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); }
.border-magenta { border-top: 4px solid var(--magenta); }
.border-cyan { border-top: 4px solid var(--cyan); }
.border-gold { border-top: 4px solid var(--gold); }
.tech-icon { font-size: 2.5rem; margin-bottom: 1rem; font-family: var(--font-heading); font-weight: 700;}
.tech-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }

/* ROI Visual Chart */
.roi-slide { text-align: center; }
.roi-chart-container { 
    display: flex; flex-direction: column; height: auto; min-height: 450px; margin-top: 3rem; position: relative;
    background: var(--obsidian); border: 1px solid rgba(255,255,255,0.05); border-radius: 8px; padding: 2rem;
}
.roi-y-axis {
    display: flex; flex-direction: column; justify-content: space-between;
    width: 120px; font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600;
    text-align: right; padding-right: 1.5rem; border-right: 1px solid rgba(255,255,255,0.1);
}
.roi-graph-area {
    flex: 1; position: relative; width: 100%;
}
.zero-line {
    position: absolute; top: 50%; left: 0; right: 0; height: 1px;
    background: rgba(255,255,255,0.2); border-top: 1px dashed rgba(255,255,255,0.4);
}
.roi-svg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1;
}
.roi-marker {
    position: absolute; font-family: var(--font-main); font-size: 0.8rem; color: #fff;
    background: rgba(0,0,0,0.8); padding: 0.5rem; border-radius: 4px; border: 1px solid rgba(255,255,255,0.1);
    z-index: 2; transform: translateX(-50%); text-align: center; line-height: 1.3;
}
.m-start { left: 0%; top: calc(50% - 50px); }
.m-hit { left: 75%; top: calc(87% + 15px); }
.m-profit { left: 100%; top: calc(12% - 45px); }

/* Slide 3: HUD & Calculator */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-title { font-size: 3.5rem; margin-bottom: 0.5rem; }
.section-desc { color: var(--text-muted); font-size: 1.1rem; }

.hud-container { 
    display: flex; gap: 2rem; justify-content: center; margin-bottom: 3rem;
    background: var(--obsidian); padding: 1.5rem; border-radius: 8px;
    border: 1px solid rgba(176, 151, 106, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.hud-panel { display: flex; flex-direction: column; align-items: center; padding: 0 3rem; border-right: 1px solid rgba(255,255,255,0.1); position: relative;}
.hud-panel:last-child { border-right: none; }
.hud-label { font-size: 0.85rem; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 0.5rem; font-family: var(--font-heading); font-weight: 600;}
.hud-value { font-size: 3rem; line-height: 1; }

.aws-breakdown {
    margin-top: 1rem; width: 100%; border-top: 1px dashed rgba(255,255,255,0.1); padding-top: 0.5rem;
    font-size: 0.85rem; color: var(--text-muted); font-family: var(--font-main);
}
.aws-line { display: flex; justify-content: space-between; margin-bottom: 0.2rem;}

.games-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 1.5rem; }

/* Interactive Game Cards */
.game-card { 
    background: var(--obsidian); padding: 1.5rem; border-radius: 8px; 
    border: 1px solid rgba(255,255,255,0.05); transition: var(--transition);
    position: relative; overflow: hidden; cursor: pointer;
    display: flex; flex-direction: column;
}
.game-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.2); }
.game-card.active { border-color: var(--gold); background: rgba(176, 151, 106, 0.05); }

.card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.5rem; }
.game-card h3 { font-size: 1.5rem; color: #fff; display: flex; align-items: center; gap: 0.5rem;}
.platform-tag { font-size: 0.75rem; padding: 0.2rem 0.6rem; border-radius: 4px; background: rgba(255,255,255,0.05); color: var(--text-muted); font-weight: 600;}

.badge-investment { background: rgba(176, 151, 106, 0.15); color: var(--gold); font-size: 0.65rem; padding: 0.2rem 0.5rem; border-radius: 4px; border: 1px solid var(--gold); font-family: var(--font-heading); white-space: nowrap;}

.card-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; }

.card-details { background: rgba(255,255,255,0.02); border-radius: 6px; padding: 1rem; margin-bottom: 1.5rem; flex: 1; border: 1px solid rgba(255,255,255,0.02); }
.detail-row { display: flex; flex-direction: column; margin-bottom: 0.8rem; font-size: 0.85rem;}
.detail-row:last-child { margin-bottom: 0; }
.detail-label { color: var(--text-muted); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; margin-bottom: 0.2rem;}
.detail-value { color: #fff; font-weight: 500;}

.metrics-row { display: flex; justify-content: space-between; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.05); }
.metric { display: flex; flex-direction: column; }
.metric-label { font-size: 0.7rem; color: var(--text-muted); letter-spacing: 1px; font-weight: 600; font-family: var(--font-heading);}
.metric-val { font-family: var(--font-heading); font-size: 1.2rem; }

/* Toggle Switch */
.toggle-switch {
    width: 44px; height: 24px; background: rgba(255,255,255,0.1); border-radius: 12px;
    position: relative; transition: var(--transition); flex-shrink: 0;
}
.toggle-switch::after {
    content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px;
    background: #fff; border-radius: 50%; transition: var(--transition);
}
.game-card.active .toggle-switch { background: var(--gold); }
.game-card.active .toggle-switch::after { transform: translateX(20px); }


/* Slide 4: Execution Timeline & Kanban */
.execution-slide { padding-top: 2rem; }
.execution-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }

.glass-panel h3 { font-size: 2rem; margin-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 0.5rem; color: var(--text-main);}

/* Timeline Chart */
.timeline-chart { display: flex; flex-direction: column; gap: 0.5rem; position: relative; padding-top: 2rem; padding-bottom: 2rem;}
.timeline-grid-lines { position: absolute; top: 0; left: 150px; right: 0; bottom: 0; z-index: 0; pointer-events: none;}
.t-line { width: 1px; background: rgba(255,255,255,0.05); position: absolute; top: 0; bottom: 0;}
.t-line span { position: absolute; top: -20px; transform: translateX(-50%); font-size: 0.75rem; color: var(--text-muted); font-weight: 600;}

.timeline-row { display: flex; align-items: center; position: relative; z-index: 1; height: 30px;}
.timeline-label { width: 140px; font-size: 0.85rem; font-weight: 500; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 10px; text-align: right;}
.timeline-track { flex: 1; background: rgba(255,255,255,0.02); height: 100%; position: relative; border-radius: 4px;}
.timeline-bar { position: absolute; height: 100%; border-radius: 4px; background: var(--gold); display: flex; align-items: center; padding: 0 0.5rem; font-size: 0.7rem; font-weight: 600; color: #000; box-shadow: 0 0 10px rgba(176,151,106,0.3);}
.timeline-bar.anchor { background: var(--text-muted); box-shadow: none; }
.timeline-bar.web { background: var(--cyan); box-shadow: 0 0 10px rgba(0,229,255,0.3); }
.timeline-bar.mmo { background: var(--magenta); box-shadow: 0 0 10px rgba(255,45,120,0.3); color: #fff; }

.milestone-flag {
    position: absolute; top: -10px; width: 2px; height: calc(100% + 20px);
    background: var(--cyan); z-index: 10;
    box-shadow: 0 0 10px var(--cyan);
}
.milestone-flag::before {
    content: '$5k MRR Target';
    position: absolute; top: -25px; left: -50%; transform: translateX(-50%);
    background: var(--cyan); color: #000; font-family: var(--font-heading); font-weight: 700;
    padding: 0.2rem 0.5rem; border-radius: 4px; font-size: 0.8rem; white-space: nowrap;
}

/* Kanban Board */
.kanban-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.kanban-col { background: rgba(255,255,255,0.02); border-radius: 8px; padding: 1rem; border: 1px solid rgba(255,255,255,0.05);}
.kanban-col h4 { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 1rem; text-align: center; letter-spacing: 1px;}
.kanban-items { display: flex; flex-direction: column; gap: 0.75rem; min-height: 100px;}
.k-item { background: var(--bg-dark); padding: 1rem; border-radius: 6px; border-left: 3px solid var(--gold); font-size: 0.9rem; font-weight: 500;}
.k-item.released { border-left-color: var(--cyan); opacity: 0.7;}
.k-item.indev { border-left-color: var(--magenta); }

/* Spreadsheet View */
.spreadsheet-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; font-family: var(--font-main); min-width: 800px; margin-top: 1rem;}
.spreadsheet-table th, .spreadsheet-table td { border: 1px solid rgba(255,255,255,0.05); padding: 0.6rem 0.5rem; text-align: right; }
.spreadsheet-table th { background: rgba(255,255,255,0.02); color: var(--text-muted); font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 1px; font-size: 0.75rem;}
.spreadsheet-table th:first-child, .spreadsheet-table td:first-child { text-align: left; font-weight: bold; position: sticky; left: 0; background: var(--obsidian); z-index: 10; border-right: 1px solid rgba(255,255,255,0.1); width: 200px;}
.spreadsheet-table .total-row { background: rgba(176,151,106,0.1); font-weight: bold; font-family: var(--font-heading); font-size: 0.9rem;}
.spreadsheet-table .total-row td { color: var(--gold); border-top: 2px solid var(--gold); background: rgba(176,151,106,0.05);}
.spreadsheet-table .total-row td:first-child { background: rgba(176,151,106,0.15);}
.spreadsheet-table .val-neg { color: var(--magenta); }
.spreadsheet-table .val-pos { color: var(--cyan); }

/* Graph Hover Tooltip */
.graph-tooltip {
    position: fixed;
    background: rgba(10, 10, 15, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.1s;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    font-family: var(--font-main);
    color: #fff;
    min-width: 150px;
    backdrop-filter: blur(5px);
}
.graph-tooltip-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.3rem;
}
.graph-tooltip-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    gap: 1rem;
}
.hover-line-indicator {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255,255,255,0.3);
    pointer-events: none;
    opacity: 0;
    z-index: 5;
    transition: opacity 0.1s;
}

@media (max-width: 900px) {
    .hud-container { flex-direction: column; gap: 1rem; }
    .hud-panel { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 1rem 0; }
    .kanban-board { grid-template-columns: 1fr; }
    .funding-breakdown { flex-direction: column; }
    .dist-grid { grid-template-columns: 1fr; }
}
