:root {
    --bg-color: #0a0b0e;
    --accent-color: #10b981;
    --accent-secondary: #3b82f6;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --card-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
}

.rotate-hint {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(16, 185, 129, 0.95);
    color: white;
    text-align: center;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
    z-index: 9999;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) and (orientation: portrait) {
    .rotate-hint {
        display: block;
    }
}

#presentation {
    width: 100%;
}

.slide {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    position: relative;
    page-break-after: always;
    break-after: page;
}

.glass-container {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 60px;
    width: 100%;
    max-width: 1100px;
    height: 100%;
    max-height: 700px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.accent {
    color: var(--accent-color);
    background: linear-gradient(to right, var(--accent-color), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Slide 1: Title */
.title-slide {
    text-align: center;
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.1), transparent),
                radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.1), transparent),
                var(--glass-bg);
}

.badge {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 100px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

h1 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.divider {
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 40px auto;
    border-radius: 2px;
}

/* Slide 2: Overview */
h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 700;
}

.grid-overview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 32px;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.stat-card i {
    width: 32px;
    height: 32px;
    margin-bottom: 16px;
}

.stat-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-card p {
    color: var(--text-secondary);
}

/* Charts */
.chart-header {
    margin-bottom: 30px;
}

.chart-header p {
    color: var(--text-secondary);
}

.chart-container {
    flex-grow: 1;
    position: relative;
    max-height: 450px;
}

/* Insights & Strategy */
.insights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.insight-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.02);
    padding: 24px;
    border-radius: 16px;
}

.insight-item i {
    color: var(--accent-color);
}

.strategy-list {
    list-style: none;
}

.strategy-list li {
    padding: 16px 0;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.dot {
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
    margin-right: 20px;
    box-shadow: 0 0 10px var(--accent-color);
}

/* Final Slide */
.final-slide {
    text-align: center;
}

.final-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 60px 0;
}

.final-point h4 {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.cta {
    font-weight: 600;
    font-size: 1.5rem;
    padding: 20px 40px;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    display: inline-block;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

/* General Mobile Optimization (Portrait & Landscape) */
@media (max-width: 768px) {
    .slide {
        height: auto;
        min-height: 100vh;
        padding: 20px 10px;
        display: block;
    }

    .glass-container {
        padding: 40px 20px;
        max-height: none;
        height: auto;
        border-radius: 20px;
        margin: 0 auto;
    }

    h1 {
        font-size: 2.8rem;
        line-height: 1.1;
    }

    h2 {
        font-size: 2.2rem;
        margin-bottom: 24px;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .grid-overview, .final-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .insights-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-card {
        padding: 25px;
    }

    .chart-container {
        height: 350px;
    }

    .cta {
        width: 100%;
        text-align: center;
        font-size: 1.25rem;
        padding: 18px 20px;
    }
}

/* Specific Landscape Mobile Refinements (Tighter vertical space) */
@media (max-height: 500px) and (orientation: landscape) {
    .slide {
        padding: 15px;
    }

    .glass-container {
        padding: 25px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.7rem;
        margin-bottom: 15px;
    }

    .grid-overview {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .final-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        margin: 20px 0;
    }

    .chart-container {
        height: 240px;
    }

    .stat-card {
        padding: 12px;
    }

    .stat-card h3 {
        font-size: 1.3rem;
    }
}

@media print {
    body {
        width: 100%;
        height: auto;
    }
    .slide {
        width: 100%;
        height: 100vh;
        padding: 0;
        margin: 0;
        display: block;
    }
    .glass-container {
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 40px;
    }
}
