/* ===================================
   Full-Screen Slide Deck CSS
   No Scrolling - Presentation Mode
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --navy-900: #0f172a;
    --navy-800: #1e293b;
    --navy-700: #334155;

    --emerald-500: #10b981;
    --emerald-400: #34d399;

    --gold-500: #fbbf24;
    --gold-400: #fcd34d;

    --blue-500: #3b82f6;
    --red-500: #ef4444;

    --white: #ffffff;
    --gray-100: #f1f5f9;
    --gray-300: #cbd5e1;

    /* Typography */
    --font-family: 'Inter', -apple-system, sans-serif;
}

html,
body {
    height: 100%;
    overflow: hidden;
    /* KEY: No scroll on body */
    font-family: var(--font-family);
    background: linear-gradient(135deg, var(--navy-900) 0%, #0a0f1e 50%, var(--navy-900) 100%);
    color: var(--white);
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(251, 191, 36, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: meshMove 20s ease-in-out infinite alternate;
}

@keyframes meshMove {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 0.6;
    }
}

/* ===================================
   SLIDE CONTAINER - Full Screen
   =================================== */
.slide-viewport {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* KEY: No scroll */
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 6rem;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: translateX(100px);
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 10;
}

.slide.exiting {
    opacity: 0;
    transform: translateX(-100px);
}

/* ===================================
   SLIDE TYPOGRAPHY
   =================================== */
.slide-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 1rem;
    color: var(--gray-300);
    opacity: 0.6;
}

.slide-title {
    font-size: 4rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--emerald-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.slide-subtitle {
    font-size: 2rem;
    color: var(--gray-300);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 400;
}

.slide-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

/* ===================================
   VISUAL ELEMENTS
   =================================== */

/* Big Number Display */
.big-number {
    font-size: 8rem;
    font-weight: 900;
    color: var(--emerald-400);
    text-align: center;
    line-height: 1;
    margin: 2rem 0;
    text-shadow: 0 0 40px rgba(16, 185, 129, 0.5);
}

.big-label {
    font-size: 2rem;
    color: var(--gray-100);
    text-align: center;
}

/* Bullet Points - Large & Spaced */
.slide-bullets {
    list-style: none;
    font-size: 2rem;
    line-height: 2;
    max-width: 900px;
}

.slide-bullets li {
    margin-bottom: 1.5rem;
    padding-left: 3rem;
    position: relative;
}

.slide-bullets li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--emerald-400);
    font-size: 2.5rem;
}

/* Icon Grid */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
    margin: 2rem 0;
}

.icon-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.icon-card-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.icon-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--emerald-400);
    margin-bottom: 0.5rem;
}

.icon-card-desc {
    font-size: 1.125rem;
    color: var(--gray-300);
}

/* Comparison Chart */
.comparison-chart {
    width: 100%;
    max-width: 800px;
    margin: 2rem 0;
}

.chart-row {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.chart-label {
    flex: 0 0 150px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
}

.chart-bar {
    flex: 1;
    height: 60px;
    background: linear-gradient(90deg, var(--emerald-500), var(--emerald-400));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    position: relative;
    overflow: hidden;
}

.chart-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        left: 100%;
    }
}

.chart-bar.small {
    background: linear-gradient(90deg, var(--blue-500), #60a5fa);
}

/* Visual Diagram Box */
.visual-box {
    background: rgba(30, 41, 59, 0.8);
    border: 2px solid var(--emerald-400);
    border-radius: 1rem;
    padding: 3rem;
    margin: 2rem 0;
    max-width: 800px;
}

.visual-formula {
    font-size: 3rem;
    font-family: 'Courier New', monospace;
    text-align: center;
    color: var(--white);
    margin: 1rem 0;
}

.visual-arrow {
    font-size: 3rem;
    text-align: center;
    color: var(--gold-400);
    margin: 1rem 0;
}

.visual-result {
    font-size: 2rem;
    text-align: center;
    color: var(--emerald-400);
    font-weight: 700;
}

/* Flow Diagram */
.flow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.flow-step {
    background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
    padding: 2rem 3rem;
    border-radius: 1rem;
    font-size: 1.75rem;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
    min-width: 200px;
    text-align: center;
}

.flow-arrow {
    font-size: 3rem;
    color: var(--gold-400);
}

/* Highlight Box */
.highlight-box-large {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
    border-left: 6px solid var(--emerald-500);
    padding: 2rem 3rem;
    border-radius: 1rem;
    margin: 2rem 0;
    max-width: 900px;
}

.highlight-box-large p {
    font-size: 1.75rem;
    line-height: 1.6;
    color: var(--emerald-400);
    font-weight: 500;
    margin: 0;
}

/* Image Container */
.slide-image {
    max-width: 700px;
    max-height: 500px;
    margin: 2rem 0;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* SVG Container */
.svg-container {
    width: 100%;
    max-width: 800px;
    margin: 2rem 0;
}

.svg-container svg {
    width: 100%;
    height: auto;
}

/* ===================================
   NAVIGATION CONTROLS
   =================================== */
.nav-controls {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-500));
    color: var(--white);
    border: none;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.5);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-arrow {
    font-size: 1.5rem;
}

.slide-counter {
    font-size: 1.25rem;
    color: var(--gray-300);
}

.slide-counter .current {
    font-size: 2rem;
    color: var(--emerald-400);
    font-weight: 700;
}

/* Progress Bar */
.progress-bar-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 101;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--emerald-500), var(--emerald-400));
    width: 0%;
    transition: width 0.4s ease;
    box-shadow: 0 0 10px var(--emerald-500);
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1366px) {
    .slide-title {
        font-size: 3.5rem;
    }

    .big-number {
        font-size: 6rem;
    }

    .slide-bullets {
        font-size: 1.75rem;
    }
}

@media (max-width: 1024px) {
    .slide {
        padding: 3rem 4rem;
    }

    .slide-title {
        font-size: 3rem;
    }

    .big-number {
        font-size: 5rem;
    }

    .slide-bullets {
        font-size: 1.5rem;
    }

    .icon-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .slide {
        padding: 2rem;
    }

    .slide-title {
        font-size: 2.5rem;
    }

    .big-number {
        font-size: 4rem;
    }

    .slide-bullets {
        font-size: 1.25rem;
    }

    .icon-grid {
        grid-template-columns: 1fr;
    }

    .flow-diagram {
        flex-direction: column;
    }
}