:root {
    --primary: #d4a574;
    --primary-glow: rgba(212, 165, 116, 0.4);
    --bg: #0b0b0f;
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    /* Cursor visible for interactivity */
}

/* Backgrounds */
#app {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    /* Subtle backing for canvas */
    z-index: 0;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg) 90%);
    z-index: 2;
}

/* UI Elements */
.logo-watermark {
    position: absolute;
    top: 40px;
    left: 60px;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    z-index: 100;
    opacity: 0.8;
    text-transform: uppercase;
}

.logo-watermark span {
    font-weight: 800;
    color: var(--primary);
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 100;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px var(--primary-glow);
}

.slide-indicators {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
    transform: scale(1.5);
}

/* Slides */
.slides-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease, transform 1s ease;
    transform: scale(1.05);
    padding: 60px;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

/* Typography & Layouts */
.highlight {
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
}

.content-center {
    text-align: center;
    max-width: 1200px;
}

.content-left {
    text-align: left;
    max-width: 1400px;
    width: 100%;
    padding-left: 100px;
}

.content-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1600px;
    gap: 80px;
}

.text-col {
    flex: 1;
}

.visual-col {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Components */
.hero-title {
    font-size: clamp(3rem, 6vw, 7rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 2rem);
    font-weight: 200;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 800;
    margin-bottom: 40px;
    text-transform: uppercase;
    line-height: 1;
}

.section-desc {
    font-size: 1.8rem;
    color: var(--text-muted);
    margin-bottom: 60px;
    font-weight: 300;
}

.stats-grid {
    display: flex;
    gap: 80px;
}

.stat-item {
    text-align: left;
}

.stat-val {
    font-size: 6rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--text-muted);
    /* Fixed: Defined text-muted color */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
}

/* Glassmorphism Cards */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.program-card {
    padding: 50px;
    width: 100%;
    max-width: 500px;
    transition: transform 0.5s ease;
}

.program-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.program-card.highlight-border {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(212, 165, 116, 0.2);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.card-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-desc {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.card-stat {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.feature-list {
    list-style: none;
    margin-top: 30px;
}

.feature-list li {
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text);
    /* Fixed: Ensure text visibility */
}

.feature-list .icon {
    color: var(--primary);
    font-weight: 800;
}

.program-subtitle {
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 300;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.tag {
    padding: 10px 20px;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.05);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.value-card {
    padding: 40px;
    text-align: center;
}

.value-card h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.value-card p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.qr-wrapper {
    display: inline-block;
    padding: 20px;
    border-radius: 30px;
    margin-top: 40px;
    position: relative;
    background: white;
    /* QR needs white background */
}

.qr-code {
    width: 300px;
    height: 300px;
    display: block;
}

.scan-me {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--bg);
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-text {
    font-size: 2rem;
    margin-top: 40px;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--primary);
}

/* Animations */
.reveal-text {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards ease-out;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    body {
        cursor: default;
    }

    .slide {
        padding: 40px;
        overflow-y: auto;
        /* Enable scroll if needed on mobile */
        align-items: flex-start;
        /* Ensure top content is visible */
        padding-top: 100px;
        /* Space for logo */
    }

    .slide.active {
        /* Ensure pointer events are still auto */
        pointer-events: auto;
    }

    .logo-watermark {
        top: 20px;
        left: 20px;
        font-size: 1rem;
    }

    .content-split {
        flex-direction: column;
        gap: 40px;
    }

    .content-left {
        padding-left: 0;
        text-align: center;
    }

    .text-col,
    .visual-col {
        width: 100%;
    }

    .visual-col {
        order: -1;
        /* Show visuals first on mobile sometimes, or keep as is. Let's keep as is for flow. */
        margin-bottom: 20px;
    }

    .stats-grid {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .stat-item {
        text-align: center;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-desc {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }

    .program-card {
        padding: 30px;
    }

    .card-title {
        font-size: 2rem;
    }

    .feature-list li {
        font-size: 1.1rem;
        justify-content: center;
        /* Center list items on mobile */
    }

    .tags-container {
        justify-content: center;
    }

    .qr-code {
        width: 200px;
        height: 200px;
    }

    .slide-indicators {
        display: none;
        /* Hide dots on mobile to save space */
    }
}