:root {
    --font-primary: 'Outfit', sans-serif;
    --font-mono: 'Space Mono', monospace;
    --white: #FFFFFF;
    --off-white: #FBFBFD;
    --gray-50: #F5F5F7;
    --gray-100: #E8E8ED;
    --gray-200: #D2D2D7;
    --gray-400: #86868B;
    --gray-600: #6E6E73;
    --gray-800: #1D1D1F;
    --black: #000000;
    --green: #1B8A5A;
    --green-bright: #30D158;
    --blue: #0071E3;
    --blue-bright: #2997FF;
    --yellow: #E5A800;
    --red: #FF3B30;
}

/* Fonts loaded locally via src/vendor/fonts/google-fonts-local.css */

*, *::before, *::after { box-sizing: border-box; }

body {
    background: var(--off-white);
    color: var(--gray-800);
    font-family: var(--font-primary);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#presentation-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* ═══════ SLIDES ═══════ */

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
    padding: 80px 120px;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    will-change: opacity, transform;
    overflow: hidden;
    background: var(--off-white);
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    z-index: 10;
}

.slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 1400px;
    position: relative;
    z-index: 1;
}

.slide-content > * {
    margin-left: auto;
    margin-right: auto;
}

/* Dark slide */
.slide-dark {
    background: var(--black) !important;
    color: var(--white);
}

.slide-dark .slide-content { color: var(--white); }

/* Photo bg slides */
.slide.has-bg-photo {
    background-size: cover;
    background-position: center;
}

.slide.has-bg-photo .bg-overlay-dark {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.slide.has-bg-photo .slide-content {
    position: relative;
    z-index: 2;
    color: white;
}

/* ═══════ APPLE TYPOGRAPHY ═══════ */

.hero-title {
    font-size: clamp(4rem, 8vw, 7.5rem);
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: -0.04em;
    color: var(--gray-800);
}

.hero-subtitle {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 400;
    color: var(--gray-600);
    line-height: 1.5;
    max-width: 800px;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: var(--green);
}

.mega-number {
    font-size: clamp(6rem, 14vw, 12rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.05em;
}

.mega-number.green { color: var(--green); }
.mega-number.blue { color: var(--blue); }
.mega-number.yellow { color: var(--yellow); }

.big-number {
    font-size: clamp(4rem, 9vw, 7rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.04em;
}

.big-number.green { color: var(--green); }
.big-number.blue { color: var(--blue); }
.big-number.yellow { color: var(--yellow); }

.big-quote {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 600;
    line-height: 1.35;
    font-style: italic;
    max-width: 900px;
    letter-spacing: -0.02em;
}

.body-large {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--gray-600);
    line-height: 1.6;
}

.body-medium {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--gray-600);
    line-height: 1.5;
}

.caption {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    text-transform: uppercase;
}

/* ═══════ BADGE (minimal) ═══════ */

.badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 6px;
}

.badge-green { background: #E6F7EE; color: var(--green); }
.badge-blue { background: #EBF0FF; color: var(--blue); }
.badge-yellow { background: #FFF9E6; color: #B38600; }

/* ═══════ DIVIDER ═══════ */

.divider {
    width: 40px;
    height: 3px;
    background: var(--green);
    border-radius: 2px;
    margin: 20px auto;
}

/* ═══════ PHOTO PLACEHOLDERS ═══════ */

.photo-placeholder {
    background: var(--gray-100);
    border: 2px dashed var(--gray-200);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 0.8rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    overflow: hidden;
    position: relative;
}

.photo-placeholder img {
    width: 100%; height: 100%;
    object-fit: cover;
    position: absolute; inset: 0;
}

.photo-placeholder.round { border-radius: 50%; }

.photo-placeholder-icon {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}

.photo-placeholder-icon i { font-size: 2rem; color: var(--gray-200); }

/* ═══════ SLIDE IMAGE ═══════ */

.slide-image {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* ═══════ ICON CIRCLE (Apple-style, subtle) ═══════ */

.icon-dot {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 1.4rem; color: white;
}

.icon-dot-green { background: var(--green); }
.icon-dot-blue { background: var(--blue); }
.icon-dot-yellow { background: var(--yellow); }
.icon-dot-red { background: var(--red); }
.icon-dot-gray { background: var(--gray-400); }

/* ═══════ BAR CHART INLINE ═══════ */

.bar-track {
    width: 100%;
    height: 8px;
    background: var(--gray-100);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 4px;
}

.bar-fill-green { background: var(--green); }
.bar-fill-blue { background: var(--blue); }
.bar-fill-yellow { background: var(--yellow); }

/* ═══════ RING CHART ═══════ */

.ring-stat {
    width: 180px; height: 180px;
    position: relative;
    display: flex; align-items: center; justify-content: center;
}

.ring-stat svg {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    transform: rotate(-90deg);
}

.ring-stat .ring-bg { fill: none; stroke: var(--gray-100); stroke-width: 8; }
.ring-stat .ring-fill { fill: none; stroke-width: 8; stroke-linecap: round; }
.ring-stat .ring-value {
    position: relative; z-index: 1;
    font-size: 2.8rem; font-weight: 800;
    letter-spacing: -0.03em;
}

/* ═══════ UI CONTROLS ═══════ */

#ui-controls {
    position: fixed;
    bottom: 28px; right: 28px;
    display: flex; gap: 8px;
    z-index: 100;
    font-family: var(--font-mono);
    align-items: center;
}

.nav-btn {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gray-200);
    color: var(--gray-800);
    width: 40px; height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
    font-size: 1rem;
}

.nav-btn:hover {
    background: var(--gray-800);
    border-color: var(--gray-800);
    color: white;
}

.slide-counter {
    display: none;
    color: var(--gray-400);
    font-size: 0.8rem;
}

/* ═══════ LOGO ═══════ */

.brand-logo {
    position: fixed;
    top: 24px; left: 32px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--gray-400);
    z-index: 100;
    letter-spacing: 0.15em;
}

.module-indicator {
    position: fixed;
    top: 28px; right: 40px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--gray-400);
    z-index: 100;
    text-align: right;
}

.module-indicator .module-name { color: var(--green); font-weight: 700; font-size: 0.85rem; }
.module-indicator .lesson-name { opacity: 0.7; font-size: 0.75rem; }
