/*
Theme Name: AUC Theme
Theme URI: https://example.com/auc-theme
Author: AUC Team
Author URI: https://example.com
Description: Custom Modern WordPress theme for African Undergraduate Challenge (AUC).
Version: 2.0.0
Text Domain: auc-theme
*/

/* ==========================================================================
   1. DESIGN TOKENS & CSS VARIABLES
   ========================================================================== */
:root {
    /* Brand Palette - Deep Obsidian & Cyber Pan-African Neon */
    --navy-bg: #040D21;
    --navy-surface: #071A3D;
    --navy-elevated: #0B2456;
    --navy-card: rgba(7, 26, 61, 0.65);
    
    --neon-green: #00FF87;
    --neon-green-glow: rgba(0, 255, 135, 0.35);
    --neon-cyan: #00E5FF;
    --neon-cyan-glow: rgba(0, 229, 255, 0.3);
    --neon-gold: #FFB800;
    --neon-gold-glow: rgba(255, 184, 0, 0.3);
    --accent-red: #FF3B30;
    
    --text-main: #FFFFFF;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --text-inverse: #040D21;

    /* Glassmorphism & Specular Lighting */
    --glass-bg: rgba(255, 255, 255, 0.035);
    --glass-bg-hover: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(0, 255, 135, 0.4);
    --glass-blur: blur(16px);
    --glass-blur-heavy: blur(24px);

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #00FF87 0%, #00E5FF 100%);
    --grad-primary-hover: linear-gradient(135deg, #00E5FF 0%, #00FF87 100%);
    --grad-gold: linear-gradient(135deg, #FFB800 0%, #FF8A00 100%);
    --grad-surface: linear-gradient(180deg, rgba(7, 26, 61, 0.8) 0%, rgba(4, 13, 33, 0.95) 100%);
    --grad-dark-overlay: linear-gradient(180deg, rgba(4, 13, 33, 0.7) 0%, rgba(4, 13, 33, 0.9) 60%, #040D21 100%);
    --grad-text: linear-gradient(135deg, #FFFFFF 30%, #00FF87 100%);

    /* Shadows & Glows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
    --shadow-neon: 0 0 25px rgba(0, 255, 135, 0.25);
    --shadow-cyan: 0 0 25px rgba(0, 229, 255, 0.25);

    /* Typography */
    --font-head: 'Plus Jakarta Sans', 'Syne', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Layout & Spacing */
    --container-max: 1240px;
    --container-wide: 1400px;
    --radius-sm: 0.5rem;
    --radius-md: 0.875rem;
    --radius-lg: 1.25rem;
    --radius-xl: 1.75rem;
    --radius-full: 9999px;
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Light Mode Customization (High Contrast, Daylight Ivory & Emerald)
   ========================================================================== */
body.light-mode {
    --navy-bg: #F4F7FB;
    --navy-surface: #FFFFFF;
    --navy-elevated: #E8EEF5;
    --navy-card: #FFFFFF;
    
    --text-main: #0B192C;
    --text-secondary: #334155;
    --text-muted: #64748B;
    --text-inverse: #FFFFFF;
    
    --neon-green: #00875A;
    --neon-green-glow: rgba(0, 135, 90, 0.2);
    --neon-cyan: #0284C7;
    --neon-cyan-glow: rgba(2, 132, 199, 0.2);
    --neon-gold: #D97706;
    --neon-gold-glow: rgba(217, 119, 6, 0.2);
    
    --glass-bg: rgba(255, 255, 255, 0.92);
    --glass-bg-hover: #FFFFFF;
    --glass-border: rgba(11, 25, 44, 0.12);
    --glass-border-hover: rgba(0, 135, 90, 0.5);
    
    --grad-primary: linear-gradient(135deg, #00875A 0%, #0284C7 100%);
    --grad-primary-hover: linear-gradient(135deg, #0284C7 0%, #00875A 100%);
    --grad-surface: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%);
    --grad-dark-overlay: linear-gradient(180deg, rgba(244, 247, 251, 0.85) 0%, rgba(244, 247, 251, 0.95) 70%, #F4F7FB 100%);
    --grad-text: linear-gradient(135deg, #0B192C 30%, #00875A 100%);
    
    --shadow-sm: 0 4px 12px rgba(11, 25, 44, 0.04);
    --shadow-md: 0 10px 30px rgba(11, 25, 44, 0.08);
    --shadow-lg: 0 20px 45px rgba(11, 25, 44, 0.12);
    --shadow-neon: 0 0 20px rgba(0, 135, 90, 0.15);
}

body.light-mode header {
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(11, 25, 44, 0.08);
}

body.light-mode header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px rgba(11, 25, 44, 0.08);
}

body.light-mode .nav-links a {
    color: #1E293B;
}

body.light-mode .nav-links a:hover,
body.light-mode .nav-links a.active {
    color: #00875A;
}

body.light-mode .dropdown-content {
    background: #FFFFFF;
    border: 1px solid rgba(11, 25, 44, 0.1);
    box-shadow: 0 15px 35px rgba(11, 25, 44, 0.12);
}

body.light-mode .dropdown-content a {
    color: #1E293B;
}

body.light-mode .dropdown-content a:hover {
    background: #F1F5F9;
    color: #00875A;
}

body.light-mode .glass-card,
body.light-mode .track-card,
body.light-mode .stat-card,
body.light-mode .sponsor-tier-card,
body.light-mode .timeline-item,
body.light-mode .eligibility-box,
body.light-mode .faq-item,
body.light-mode .prize-card,
body.light-mode .countdown-card,
body.light-mode .checker-box {
    background: #FFFFFF;
    border: 1px solid rgba(11, 25, 44, 0.1);
    box-shadow: 0 10px 25px rgba(11, 25, 44, 0.05);
}

body.light-mode .glass-card:hover,
body.light-mode .track-card:hover,
body.light-mode .stat-card:hover,
body.light-mode .prize-card:hover,
body.light-mode .countdown-card:hover {
    border-color: rgba(0, 135, 90, 0.4);
    box-shadow: 0 15px 35px rgba(11, 25, 44, 0.09);
}

body.light-mode .hero-badge {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 135, 90, 0.35);
    color: #00875A;
    box-shadow: 0 4px 12px rgba(11, 25, 44, 0.06);
}

body.light-mode .countdown-title {
    color: #1E293B;
}

body.light-mode .countdown-val {
    color: #00875A;
    background: linear-gradient(135deg, #00875A, #0284C7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .countdown-lbl {
    color: #64748B;
}

body.light-mode .track-pill {
    background: rgba(0, 135, 90, 0.08);
    border-color: rgba(0, 135, 90, 0.25);
    color: #00875A;
}

body.light-mode .checker-btn {
    background: #F8FAFC;
    border: 1.5px solid rgba(11, 25, 44, 0.12);
    color: #1E293B;
}

body.light-mode .checker-btn:hover {
    background: #FFFFFF;
    border-color: #00875A;
    color: #00875A;
}

body.light-mode .checker-btn.active {
    background: rgba(0, 135, 90, 0.12);
    border-color: #00875A;
    color: #00875A;
}

body.light-mode .faq-question {
    color: #0B192C;
}

body.light-mode .faq-answer {
    color: #334155;
    border-top: 1px solid rgba(11, 25, 44, 0.08);
}

body.light-mode .prize-card.featured {
    background: #FFFFFF;
    border-color: rgba(217, 119, 6, 0.4);
    box-shadow: 0 15px 40px rgba(217, 119, 6, 0.12);
}

body.light-mode .prize-card.featured .prize-amount {
    color: #D97706;
}

body.light-mode .form-control {
    background: #FFFFFF;
    border: 1px solid rgba(11, 25, 44, 0.15);
    color: #0B192C;
}

body.light-mode .form-control:focus {
    border-color: #00875A;
    box-shadow: 0 0 15px rgba(0, 135, 90, 0.15);
}

body.light-mode footer {
    background: #0B192C;
    color: #F8FAFC;
}

body.light-mode footer p,
body.light-mode footer .footer-links a {
    color: #94A3B8;
}

body.light-mode footer .footer-links a:hover {
    color: #00FF87;
}

/* ==========================================================================
   High-Performance Cyber Theme Toggle Switch
   ========================================================================== */
.theme-toggle-btn {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.theme-toggle-track {
    width: 52px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    position: relative;
    display: flex;
    align-items: center;
    padding: 3px;
    transition: var(--transition-fast);
}

body.light-mode .theme-toggle-track {
    background: #E2E8F0;
    border-color: rgba(11, 25, 44, 0.15);
}

.theme-toggle-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #030919;
    font-size: 0.72rem;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 255, 135, 0.4);
    transform: translate3d(0, 0, 0);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease;
}

.theme-toggle-thumb .moon-icon {
    display: block;
}

.theme-toggle-thumb .sun-icon {
    display: none;
}

body.light-mode .theme-toggle-thumb {
    transform: translate3d(24px, 0, 0);
    background: linear-gradient(135deg, #FFB800, #FF8A00);
    box-shadow: 0 2px 8px rgba(255, 184, 0, 0.5);
    color: #FFFFFF;
}

body.light-mode .theme-toggle-thumb .moon-icon {
    display: none;
}

body.light-mode .theme-toggle-thumb .sun-icon {
    display: block;
}

/* ==========================================================================
   2. RESET & GLOBAL STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--navy-bg);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
    position: relative;
}

/* Ambient glow spheres behind page */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 135, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
body::after {
    content: '';
    position: fixed;
    bottom: -10%;
    right: 10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul, ol {
    list-style: none;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.container-wide {
    width: 92%;
    max-width: var(--container-wide);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-padding {
    padding: 6.5rem 0;
    position: relative;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 0;
    }
}

/* ==========================================================================
   3. TYPOGRAPHY & UTILITIES
   ========================================================================== */
.text-gradient {
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-accent {
    color: var(--neon-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.text-accent::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-green);
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem auto;
}

.section-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   4. BUTTONS & INTERACTIVE ELEMENTS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.95rem 1.85rem;
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--grad-primary);
    color: var(--text-inverse);
    box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 35px rgba(0, 255, 135, 0.45);
    background: var(--grad-primary-hover);
}

.btn-outline {
    background: var(--glass-bg);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--neon-green);
    color: var(--neon-green);
    transform: translateY(-3px);
    box-shadow: var(--shadow-neon);
}

.btn-gold {
    background: var(--grad-gold);
    color: #040D21;
    box-shadow: var(--shadow-md);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 184, 0, 0.4);
}

.btn-sm {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
}

/* Play button with animated ripple */
.video-play-btn {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--grad-primary);
    color: #040D21;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-neon);
    transition: var(--transition-smooth);
    border: none;
    outline: none;
}

.video-play-btn::before,
.video-play-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid var(--neon-green);
    animation: ripple 2.2s linear infinite;
}

.video-play-btn::after {
    animation-delay: 1.1s;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0; }
}

.video-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 45px rgba(0, 255, 135, 0.6);
}

/* ==========================================================================
   5. GLASS CARDS & EFFECTS
   ========================================================================== */
.glass-card {
    background: var(--navy-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.glass-card:hover {
    transform: translateY(-6px);
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-lg), var(--shadow-neon);
    background: var(--glass-bg-hover);
}

.glass-card-glow-cyan:hover {
    border-color: var(--neon-cyan);
    box-shadow: var(--shadow-lg), var(--shadow-cyan);
}

/* ==========================================================================
   6. HEADER & NAVIGATION
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.1rem 0;
    background: rgba(4, 13, 33, 0.8);
    backdrop-filter: var(--glass-blur-heavy);
    -webkit-backdrop-filter: var(--glass-blur-heavy);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

header.scrolled {
    padding: 0.75rem 0;
    background: rgba(4, 13, 33, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1001;
}

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 255, 135, 0.3));
    transition: var(--transition-smooth);
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-text {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-links a {
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.4rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Portals Dropdown */
.nav-dropdown {
    position: relative;
}

.dropbtn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    background: rgba(0, 255, 135, 0.08);
    border: 1px solid rgba(0, 255, 135, 0.25);
    padding: 0.45rem 1rem !important;
    border-radius: var(--radius-full);
    color: var(--neon-green) !important;
    font-weight: 600 !important;
}

.dropbtn::after {
    display: none !important;
}

.dropbtn:hover {
    background: rgba(0, 255, 135, 0.18);
    box-shadow: 0 0 15px rgba(0, 255, 135, 0.3);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    background: rgba(7, 26, 61, 0.95);
    backdrop-filter: var(--glass-blur-heavy);
    min-width: 220px;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.6rem;
    z-index: 1002;
    animation: fadeInSlide 0.25s ease forwards;
}

.dropdown-content.show {
    display: block;
}

.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.dropdown-content a:hover {
    background: rgba(0, 255, 135, 0.12);
    color: var(--neon-green);
    transform: translateX(4px);
}

.dropdown-content a::after {
    display: none;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hamburger {
    display: none;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    font-size: 1.35rem;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 1001;
}

.hamburger:hover {
    border-color: var(--neon-green);
    color: var(--neon-green);
}

@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
    .hamburger {
        display: inline-flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 380px;
        height: 100vh;
        background: rgba(4, 13, 33, 0.98);
        backdrop-filter: var(--glass-blur-heavy);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2.5rem 3rem 2.5rem;
        gap: 1.35rem;
        border-left: 1px solid var(--glass-border);
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.15rem;
        width: 100%;
    }

    .dropdown-content {
        position: static;
        width: 100%;
        margin-top: 0.5rem;
        background: rgba(255, 255, 255, 0.03);
    }
}

/* ==========================================================================
   7. JAW-DROPPING HERO SECTION WITH VIDEO STYLES
   ========================================================================== */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8.5rem 0 5rem 0;
    overflow: hidden;
    background: #040D21;
}

/* Video Background Layer */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.42;
    transform: scale(1.05);
    filter: contrast(1.1) saturate(1.15) brightness(0.9);
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(4, 13, 33, 0.4) 0%, rgba(4, 13, 33, 0.85) 75%, #040D21 100%);
    z-index: 1;
}

/* Cyber mesh canvas layer */
.webgl, #hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.65;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
}

/* Floating Live Badges */
.hero-badges-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(7, 26, 61, 0.75);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(0, 255, 135, 0.35);
    padding: 0.45rem 1.15rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.15);
}

.pulse-dot {
    width: 9px;
    height: 9px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-green);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 135, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(0, 255, 135, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 135, 0); }
}

.hero-title {
    font-size: clamp(2.4rem, 5.2vw, 4.4rem);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-title span.highlight {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-sub {
    font-size: clamp(1.05rem, 1.8vw, 1.28rem);
    color: var(--text-secondary);
    max-width: 780px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.hero-video-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--text-main);
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-head);
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
}

.hero-video-cta:hover {
    color: var(--neon-green);
}

/* Interactive Countdown Timer in Hero */
.hero-countdown-wrap {
    background: rgba(7, 26, 61, 0.65);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 1.5rem 2rem;
    max-width: 680px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.countdown-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--neon-green);
    margin-bottom: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.countdown-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 0.85rem 0.5rem;
    text-align: center;
}

.countdown-val {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1;
    margin-bottom: 0.35rem;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.countdown-lbl {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-weight: 600;
}

@media (max-width: 640px) {
    .countdown-grid {
        gap: 0.5rem;
    }
    .countdown-val {
        font-size: 1.45rem;
    }
    .hero-countdown-wrap {
        padding: 1.25rem 1rem;
    }
}

/* ==========================================================================
   8. IMPACT STATS TICKER & COUNTERS
   ========================================================================== */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.75rem;
}

.stat-card {
    text-align: center;
    padding: 2.75rem 1.75rem;
    background: var(--navy-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    transition: var(--transition-smooth);
    position: relative;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: var(--grad-primary);
    opacity: 0;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: var(--neon-green);
    box-shadow: var(--shadow-lg), var(--shadow-neon);
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-icon {
    font-size: 2.2rem;
    color: var(--neon-green);
    margin-bottom: 1rem;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(0, 255, 135, 0.4));
}

.stat-num {
    font-family: var(--font-head);
    font-size: 3.2rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ==========================================================================
   9. AU AGENDA 2063 7-ASPIRATIONS TRACKS
   ========================================================================== */
.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.75rem;
}

.track-card {
    background: var(--navy-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    backdrop-filter: var(--glass-blur);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.track-card:hover {
    transform: translateY(-6px);
    border-color: var(--neon-green);
    box-shadow: var(--shadow-lg), var(--shadow-neon);
}

.track-pill {
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    background: rgba(0, 255, 135, 0.12);
    color: var(--neon-green);
    border: 1px solid rgba(0, 255, 135, 0.25);
    margin-bottom: 1.25rem;
}

.track-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.track-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.track-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--neon-green);
}

.track-link:hover {
    gap: 0.75rem;
    color: var(--neon-cyan);
}

/* ==========================================================================
   10. 4-STAGE INTERACTIVE JOURNEY TIMELINE
   ========================================================================== */
.timeline-wrap {
    position: relative;
    max-width: 960px;
    margin: 3rem auto 0 auto;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: linear-gradient(180deg, var(--neon-green), var(--neon-cyan), transparent);
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(0, 255, 135, 0.4);
}

.timeline-step {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-content {
    flex: 1;
    width: 45%;
}

.timeline-step:nth-child(odd) .timeline-content {
    text-align: right;
    padding-right: 3rem;
}

.timeline-step:nth-child(even) .timeline-content {
    text-align: left;
    padding-left: 3rem;
    order: 2;
}

.timeline-marker {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #040D21;
    border: 2px solid var(--neon-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--neon-green);
    z-index: 2;
    flex-shrink: 0;
    box-shadow: 0 0 25px rgba(0, 255, 135, 0.5);
    transition: var(--transition-smooth);
}

.timeline-step:hover .timeline-marker {
    transform: scale(1.2);
    background: var(--neon-green);
    color: #040D21;
}

.timeline-empty {
    flex: 1;
    width: 45%;
}

@media (max-width: 768px) {
    .timeline-line {
        left: 28px;
    }
    .timeline-step {
        flex-direction: row !important;
        align-items: flex-start;
        margin-bottom: 2.5rem;
    }
    .timeline-step:nth-child(odd) .timeline-content,
    .timeline-step:nth-child(even) .timeline-content {
        text-align: left !important;
        padding-left: 2rem !important;
        padding-right: 0 !important;
        order: 2 !important;
        width: calc(100% - 60px);
    }
    .timeline-empty {
        display: none;
    }
}

/* ==========================================================================
   11. PRIZE POOL & INNOVATION SHOWCASE
   ========================================================================== */
.prize-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: center;
}

.prize-card {
    background: var(--navy-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    text-align: center;
    backdrop-filter: var(--glass-blur);
    transition: var(--transition-smooth);
    position: relative;
}

.prize-card.featured {
    background: linear-gradient(180deg, rgba(7, 26, 61, 0.9) 0%, rgba(11, 36, 86, 0.95) 100%);
    border: 2px solid var(--neon-gold);
    box-shadow: 0 0 40px rgba(255, 184, 0, 0.25);
    transform: scale(1.05);
}

.prize-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--grad-gold);
    color: #040D21;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 1.25rem;
    border-radius: var(--radius-full);
}

.prize-amount {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 1rem 0;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   12. INTERACTIVE TOOLS & COMPONENTS (Eligibility, FAQ, Rubrics)
   ========================================================================== */
/* Eligibility Checker Tool */
.checker-box {
    background: var(--navy-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 3rem;
    max-width: 820px;
    margin: 0 auto;
    backdrop-filter: var(--glass-blur-heavy);
    box-shadow: var(--shadow-lg);
}

.checker-step {
    margin-bottom: 2rem;
}

.checker-step-title {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checker-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.checker-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    color: var(--text-secondary);
    font-family: var(--font-head);
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.checker-btn:hover {
    border-color: var(--neon-green);
    color: var(--text-main);
    background: rgba(0, 255, 135, 0.08);
}

.checker-btn.active {
    border-color: var(--neon-green);
    background: rgba(0, 255, 135, 0.15);
    color: var(--neon-green);
    box-shadow: 0 0 15px rgba(0, 255, 135, 0.2);
}

.checker-result {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    background: rgba(0, 255, 135, 0.1);
    border: 1px solid rgba(0, 255, 135, 0.3);
    text-align: center;
    display: none;
}

.checker-result.show {
    display: block;
    animation: fadeInSlide 0.4s ease;
}

/* FAQ Accordion */
.faq-list {
    max-width: 840px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    background: var(--navy-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    backdrop-filter: var(--glass-blur);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-question {
    padding: 1.5rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-main);
}

.faq-icon {
    font-size: 1rem;
    color: var(--neon-green);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.75rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item.active {
    border-color: rgba(0, 255, 135, 0.4);
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.1);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    padding: 0 1.75rem 1.5rem 1.75rem;
    max-height: 300px;
}

/* ==========================================================================
   13. FORM CONTROLS & CONTACT INPUTS
   ========================================================================== */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    outline: none;
}

.form-control:focus {
    border-color: var(--neon-green);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

/* ==========================================================================
   14. VIDEO MODAL POPUP
   ========================================================================== */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 13, 33, 0.92);
    backdrop-filter: var(--glass-blur-heavy);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.video-modal-overlay.active {
    display: flex;
    animation: fadeInModal 0.3s ease;
}

.video-modal-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg), var(--shadow-neon);
}

.video-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    z-index: 10;
    border: none;
    transition: var(--transition-smooth);
}

.video-modal-close:hover {
    background: var(--neon-green);
    color: #040D21;
}

.video-modal-ratio {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.video-modal-ratio iframe,
.video-modal-ratio video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@keyframes fadeInModal {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   15. FOOTER
   ========================================================================== */
footer {
    background: #020712;
    border-top: 1px solid var(--glass-border);
    padding: 5.5rem 0 2.5rem 0;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3.5rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 1.25rem 0;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--neon-green);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.92rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--neon-green);
    transform: translateX(4px);
}

.social-links {
    display: flex;
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: var(--transition-smooth);
}

.social-btn:hover {
    background: var(--neon-green);
    color: #040D21;
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(0, 255, 135, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   16. SCROLL REVEALS & ANIMATIONS
   ========================================================================== */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}