/* ============================================
   NOVA AI SPACE ACADEMY - STYLES
   ============================================ */

/* 1. GLOBAL VARIABLES & RESETS
   ------------------------------------------- */
:root {
    --clr-bg-dark: #0B1120;
    --clr-glass: rgba(255, 255, 255, 0.03);
    --clr-border-glass: rgba(255, 255, 255, 0.1);
    --clr-violet-neon: #8B5CF6;
    --clr-cyan-neon: #22D3EE;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--clr-bg-dark);
    font-family: 'Outfit', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: default;
}

/* 2. TYPOGRAPHY & UTILITIES
   ------------------------------------------- */
h1, h2, h3, h4, h5 {
    font-family: 'Space Grotesk', sans-serif;
}

.font-mono {
    font-family: 'Courier New', Courier, monospace;
}

/* 3. GLASSMORPHISM CORE
   ------------------------------------------- */
.glass-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

/* 4. ANIMATED BACKGROUNDS & STARS
   ------------------------------------------- */
#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* 5. HOVER EFFECTS & INTERACTIONS
   ------------------------------------------- */
.nav-link {
    position: relative;
    padding-bottom: 4px;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--clr-violet-neon), var(--clr-cyan-neon));
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

#mobileMenu {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease;
}

/* 6. FORM STYLES & INPUT STATES
   ------------------------------------------- */
input, textarea, select {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    appearance: none;
}

select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
}

input:focus, textarea:focus, select:focus {
    background-color: rgba(15, 23, 42, 0.9);
}

/* 7. SCROLLBAR STYLING
   ------------------------------------------- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--clr-bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--clr-violet-neon);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--clr-cyan-neon);
}

/* 8. UTILITY ANIMATIONS
   ------------------------------------------- */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes scanline {
    0% { background-position: 0 0; }
    100% { background-position: 0 100%; }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Scanline Effect for specific sections if needed */
.scanlines::after {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        to bottom,
        rgba(18, 16, 16, 0) 50%,
        rgba(0, 0, 0, 0.1) 50%
    );
    background-size: 100% 4px;
    z-index: 2;
    pointer-events: none;
}

/* 9. RESPONSIVE ADJUSTMENTS
   ------------------------------------------- */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.5rem; /* Conservative mobile heading size */
    }
    /* Adjust hero layout for smaller screens */
    #hero {
        padding-top: 6rem;
    }
}