:root {
    --bg-color: #000002;
    --text-main: #ffffff;
    --text-muted: #cbd5e1;
    --accent-cyan: #00f0ff;
    --accent-purple: #a855f7;
    --accent-gold: #fbbf24;
    --glass-bg: rgba(10, 12, 24, 0.75);
    --glass-border: rgba(255, 255, 255, 0.16);
    --glass-glow: rgba(0, 240, 255, 0.2);
}

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

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    position: relative;
    background: #000002;
    color: var(--text-main);
    font-family: 'Outfit', 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    touch-action: manipulation;
}

body {
    overflow: hidden;
}

/* Fixed Background Layer (Pitch Black Cosmic Space) */
.fixed-background {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh; height: 100dvh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: #000002;
}

.parallax-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url('assets/bg.png');
    background-size: cover;
    background-position: center;
    filter: brightness(0.55) contrast(1.3);
    transform: scale(1.02);
}

.cosmic-nebula-glow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(0, 240, 255, 0.12) 0%, transparent 55%),
                radial-gradient(circle at 75% 75%, rgba(168, 85, 247, 0.12) 0%, transparent 55%);
    z-index: 1;
    pointer-events: none;
    animation: nebula-drift 8s ease-in-out infinite alternate;
}

@keyframes nebula-drift {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.5; transform: scale(1.05); }
}

/* Astronaut Layer */
.astronaut-wrapper {
    position: absolute;
    right: 4%;
    top: 50%;
    transform: translateY(-50%);
    width: 44%;
    max-width: 640px;
    z-index: 2;
}

.astronaut-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 85%; height: 85%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.3) 0%, rgba(168, 85, 247, 0.2) 50%, transparent 70%);
    z-index: -1;
    filter: blur(60px);
    animation: pulse-glow 5s ease-in-out infinite alternate;
}

.astronaut {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.9));
    transition: transform 0.1s ease-out; 
}

/* Canvas Stardust */
#stardust {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh; height: 100dvh;
    z-index: 3;
    pointer-events: none;
    mix-blend-mode: screen;
}

/* Snap Scrolling Container */
.scroll-container {
    height: 100vh;
    height: 100dvh;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    position: relative;
    z-index: 10;
}

.scroll-section {
    height: 100vh;
    height: 100dvh;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    position: relative;
}

.content-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 6%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 28px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(3, 3, 8, 0.95), transparent);
    pointer-events: none;
}
.logo, .nav-links { pointer-events: auto; }

.logo {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 0 20px rgba(255,255,255,0.3);
}
.logo-icon { font-size: 20px; }
.logo-accent { font-weight: 400; color: var(--accent-cyan); text-shadow: 0 0 15px rgba(0, 240, 255, 0.5); }

/* Operator Navbar Button */
.nav-operator-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 50px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
    transition: all 0.4s ease;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
}

.nav-operator-btn.highlight-operator {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.22) 0%, rgba(168, 85, 247, 0.3) 100%);
    border: 1.5px solid rgba(0, 240, 255, 0.7);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.5), inset 0 0 15px rgba(168, 85, 247, 0.3);
    font-weight: 600;
    letter-spacing: 1px;
}

.nav-operator-btn.highlight-operator:hover {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.45) 0%, rgba(168, 85, 247, 0.55) 100%);
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.8), inset 0 0 20px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px) scale(1.03);
}

.operator-pulse {
    width: 8px; height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulse-green 2s infinite;
}

.operator-pulse-lg {
    width: 10px; height: 10px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 12px #10b981;
    animation: pulse-green 1.8s infinite;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.btn-operator-hero {
    background: rgba(168, 85, 247, 0.18);
    color: #ffffff;
    border: 1px solid rgba(168, 85, 247, 0.6);
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.3);
    backdrop-filter: blur(15px);
}

.btn-operator-hero:hover {
    background: rgba(168, 85, 247, 0.4);
    border-color: #a855f7;
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.6);
    color: #ffffff;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.2); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.nav-operator-btn:hover {
    background: rgba(0, 240, 255, 0.15);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
    transform: translateY(-2px);
}

/* Slide 1: Hero Content */
.hero-content {
    max-width: 620px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 30px;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 6px; height: 6px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
}

.badge-text {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent-cyan);
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(3rem, 5.5vw, 5.2rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-cyan) 50%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.3));
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 300;
    line-height: 1.7;
    text-shadow: 0 5px 15px rgba(0,0,0,0.8);
}

/* Luxury Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 20px 48px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    color: #030308;
    border: none;
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.25), 0 10px 30px rgba(0,0,0,0.5);
}

.btn-shine {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent 45%, rgba(255,255,255,0.8) 50%, transparent 55%);
    transform: rotate(30deg);
    animation: shine 4s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(30deg); }
    20%, 100% { transform: translateX(100%) rotate(30deg); }
}

.btn-primary:hover {
    background: #ffffff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.5), 0 15px 40px rgba(0,0,0,0.6);
}

.btn .arrow { transition: transform 0.3s ease; }
.btn:hover .arrow { transform: translateX(6px); }

.btn-large {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(0, 240, 255, 0.4);
    padding: 22px 64px;
    backdrop-filter: blur(15px);
}

.btn-large:hover {
    background: #ffffff;
    color: #030308;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.4);
}

/* Slide 2: Features */
.section-tag {
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--accent-cyan);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 24px;
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.store-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    padding: 48px 36px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.card-border-glow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 20px;
    border: 1px solid transparent;
    transition: all 0.4s ease;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-12px);
    background: rgba(18, 22, 45, 0.6);
    box-shadow: 0 25px 60px rgba(0,0,0,0.6), 0 0 40px rgba(0, 240, 255, 0.15);
}

.feature-card:hover .card-border-glow {
    border-color: rgba(0, 240, 255, 0.4);
}

.feature-icon-wrapper {
    position: relative;
    width: 60px; height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.icon-bg {
    position: absolute;
    width: 100%; height: 100%;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 16px;
    transform: rotate(45deg);
    transition: transform 0.4s ease, background 0.4s ease;
}

.feature-card:hover .icon-bg {
    transform: rotate(90deg) scale(1.1);
    background: rgba(0, 240, 255, 0.2);
}

.feature-icon {
    font-size: 28px;
    position: relative;
    z-index: 2;
}

.feature-svg-icon {
    width: 28px;
    height: 28px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.5));
    transition: transform 0.4s ease, filter 0.4s ease;
}

.feature-card:hover .feature-svg-icon {
    transform: scale(1.15);
    filter: drop-shadow(0 0 18px rgba(0, 240, 255, 0.9));
}

.feature-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    margin-bottom: 16px;
    letter-spacing: 1px;
    color: #ffffff;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14.5px;
    font-weight: 300;
    line-height: 1.75;
}

/* Slide 3: Stats & Footer */
.footer-section .content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.stats {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-bottom: 60px;
    gap: 20px;
}

.stat-box {
    position: relative;
    text-align: center;
    padding: 30px 40px;
    background: rgba(12, 14, 28, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(15px);
    transition: transform 0.3s ease;
    flex: 1;
    max-width: 320px;
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.3);
}

.stat-box h4 {
    font-family: 'Cinzel', serif;
    font-size: 44px;
    font-weight: 900;
    margin-bottom: 6px;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-box span {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11px;
    font-weight: 500;
}

.footer-card {
    text-align: center;
    padding: 60px 80px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    backdrop-filter: blur(25px);
    position: relative;
    overflow: hidden;
}

.footer-card h2 {
    font-family: 'Cinzel', serif;
    font-size: 38px;
    margin-bottom: 32px;
    letter-spacing: 2px;
}

.copyright {
    margin-top: 50px;
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Animations */
.fade-in { opacity: 0; transition: opacity 1.5s ease-out; }
.fade-in.visible { opacity: 1; }
.fade-in-up {
    opacity: 0; transform: translateY(40px);
    transition: opacity 1.2s ease-out, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

@keyframes pulse-glow {
    0% { opacity: 0.4; transform: translate(-50%, -50%) scale(0.85); }
    100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.15); }
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    position: relative;
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Outfit', 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    touch-action: manipulation;
}

/* Touch active states for iOS & Android */
.btn:active, .nav-operator-btn:active, .feature-card:active {
    transform: scale(0.96) !important;
    opacity: 0.92;
}

/* Responsive & Mobile-First Optimization for iOS & Android */
@media (max-width: 992px) {
    .navbar {
        padding-top: max(20px, env(safe-area-inset-top));
        padding-left: max(5%, env(safe-area-inset-left));
        padding-right: max(5%, env(safe-area-inset-right));
    }
    .astronaut-wrapper {
        right: 50%;
        top: 50%;
        transform: translate(50%, -50%);
        width: 75%;
        max-width: 380px;
        opacity: 0.18;
    }
    .hero-content {
        margin: 0 auto;
        text-align: center;
    }
    .scroll-section {
        padding: 60px 4% max(20px, env(safe-area-inset-bottom));
    }
    .stats {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }
    .stat-box {
        width: 100%;
        max-width: 100%;
        padding: 20px 24px;
    }
    .custom-cursor { display: none !important; }
}

@media (max-width: 600px) {
    .scroll-container {
        scroll-snap-type: y proximity;
        -webkit-overflow-scrolling: touch;
    }
    .navbar {
        padding: 14px 4%;
        padding-top: max(14px, env(safe-area-inset-top));
    }
    .logo {
        font-size: 16px;
        letter-spacing: 1.5px;
    }
    .nav-operator-btn {
        padding: 8px 12px;
        font-size: 11px;
        letter-spacing: 0.5px;
    }
    .hero-title {
        font-size: clamp(1.9rem, 7.5vw, 3rem);
        margin-bottom: 14px;
    }
    .hero-subtitle {
        font-size: 0.92rem;
        margin-bottom: 22px;
        line-height: 1.5;
    }
    .hero-badge {
        padding: 6px 12px;
        margin-bottom: 18px;
    }
    .badge-text {
        font-size: 10px;
    }
    .btn {
        width: 100%;
        padding: 16px 20px;
        font-size: 13.5px;
        border-radius: 10px;
    }
    .store-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .feature-card {
        padding: 22px 18px;
        border-radius: 14px;
    }
    .feature-icon-wrapper {
        width: 48px; height: 48px;
        margin-bottom: 18px;
    }
    .feature-icon {
        font-size: 22px;
    }
    .feature-card h3 {
        font-size: 17px;
        margin-bottom: 6px;
    }
    .feature-card p {
        font-size: 12.5px;
        line-height: 1.45;
    }
    .footer-card {
        padding: 28px 18px;
        border-radius: 16px;
    }
    .footer-card h2 {
        font-size: 22px;
        margin-bottom: 18px;
    }
    .copyright {
        margin-top: 24px;
        font-size: 10px;
    }
}
