/* ✈️ BRAND THEME: PREMIUM AVIATION / INGLÉS CON JUANMA */
/* Uniform Brand Tokens & Shared Components */

:root {
    --brand-cyan: #00F0FF;
    --brand-pink: #FF0055;
    --brand-bg: #05050A;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', 'Inter', sans-serif;
    --neon-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    --neon-pink-shadow: 0 0 20px rgba(255, 0, 85, 0.3);
}

/* 🏢 BASE LAYOUT */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--brand-bg);
    color: white;
    font-family: var(--font-main);
    overflow-x: hidden;
    min-height: 100vh;
}

/* 🎥 DYNAMIC BACKGROUNDS (Shared across landing and courses) */
.dynamic-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(circle at 10% 20%, rgba(0, 240, 255, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(255, 0, 85, 0.05) 0%, transparent 40%);
}

/* 📟 HUD SCANLINES */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15) 0px,
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 999;
    opacity: 0.2;
}

/* 🧭 NAVIGATION HUD */
.glass-nav {
    background: rgba(5, 5, 10, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
}

.logo i, .logo svg {
    color: var(--brand-cyan);
    filter: drop-shadow(0 0 5px var(--brand-cyan));
    font-size: 1.5rem;
}

/* 💎 GLASS PANELS */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

/* 🔘 BUTTONS */
.btn-premium {
    background: linear-gradient(45deg, var(--brand-pink), #8A2BE2);
    border: none;
    padding: 1rem 2rem;
    color: white;
    font-weight: 900;
    border-radius: 12px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: var(--neon-pink-shadow);
}

.btn-premium:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 0, 85, 0.5);
}

.btn-cyan {
    background: var(--brand-cyan);
    color: black;
    box-shadow: var(--neon-shadow);
}

.btn-cyan:hover {
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.4);
}

/* 📐 HUD ELEMENTS */
.hud-corner {
    position: fixed;
    width: 30px;
    height: 30px;
    border: 2px solid rgba(0, 240, 255, 0.15);
    z-index: 998;
    pointer-events: none;
}
.top-left { top: 20px; left: 20px; border-right: 0; border-bottom: 0; }
.top-right { top: 20px; right: 20px; border-left: 0; border-bottom: 0; }
.bottom-left { bottom: 20px; left: 20px; border-right: 0; border-top: 0; }
.bottom-right { bottom: 20px; right: 20px; border-left: 0; border-top: 0; }

.hidden { display: none !important; }

/* 🔡 TYPOGRAPHY */
.text-gradient {
    background: linear-gradient(90deg, #fff, var(--brand-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glitch-text {
    font-size: clamp(2rem, 8vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
}

/* 🕒 TOASTS & FEEDBACK */
#toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
}

.toast {
    background: rgba(10, 10, 20, 0.9);
    border: 1px solid var(--brand-cyan);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    margin-bottom: 10px;
    backdrop-filter: blur(10px);
    box-shadow: var(--neon-shadow);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
