/* 1. VARIABLES & CORE SETTINGS */
:root {
    --brand-blue: #3b82f6;      
    --brand-cyan: #06b6d4;      
    --brand-dark-blue: #002b5c; 
    --bg-main: #0a0f1c;        
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1; 
    --glass: rgba(255, 255, 255, 0.03);
}

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

body {
    background-color: var(--bg-main);
    background-image: radial-gradient(circle at 50% 50%, #111827 0%, #0a0f1c 100%);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden; /* Important: Prevents horizontal shake on mobile */
}

/* 2. NAVIGATION & PROGRESS BAR */
.progress-container {
    position: fixed;
    top: 0;
    z-index: 1000; /* Stays above everything */
    width: 100%;
    height: 3px;
    background: transparent;
}

.progress-bar {
    height: 3px;
    background: var(--brand-blue);
    width: 0%;
    transition: width 0.1s ease;
}

/* Fix: Ensures the logo and menu button are always perfectly centered */
header .container {
    display: flex;
    align-items: center; 
    justify-content: space-between;
    height: 100%; 
}

/* 3. MOBILE MENU */

/* FINAL MOBILE MENU REPAIR */
#mobileMenu {
    background-color: #050a18 !important; /* Force solid brand color */
    background-image: none !important;
    opacity: 1 !important;
    display: flex !important; /* Always flex so it centers content */
    visibility: visible;
    z-index: 9999 !important; /* Above all hero text and buttons */
    position: fixed !important;
    inset: 0 !important;
    transition: transform 0.4s ease-in-out !important;
}

/* Push the 'X' close button to the very front */
#main-header button {
    position: relative !important;
    z-index: 10000 !important;
}

/* Fix for the Hero text bleeding through */
.fixed.inset-0 {
    backdrop-filter: none !important;
}

/* 4. REUSABLE COMPONENTS */
.glow-text {
    background: linear-gradient(to right, var(--brand-blue), var(--brand-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* 5. UNIFIED MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    header {
        height: 80px !important;
    }
    
    header img {
        height: 40px !important; /* Scaled for mobile screens */
    }

    h1 {
        font-size: 2.5rem !important; 
        line-height: 1.1;
        text-align: left;
    }

    /* Padding-top fix to prevent content from hiding under the fixed header */
    .hero-grid {
        padding-top: 100px !important; 
    }

    /* Fix: Instead of forcing flex, we ensure the grid fills the width */
    [class*="grid-cols-"] {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .status-card {
        width: 100%;
        max-width: 300px;
        margin: 2rem auto;
    }
}




/* 6. ANIMATIONS */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-scroll {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}
