/* ============================================
   VERTEX AI RENEWABLE ENERGY ACADEMY
   Main Stylesheet
   ============================================ */

/* ============================================
   1. CSS CUSTOM PROPERTIES & DESIGN TOKENS
   ============================================ */
:root {
    /* Primary Colors - Emerald to Navy Gradient System */
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;

    /* Navy Scale */
    --navy-50: #f8fafc;
    --navy-100: #f1f5f9;
    --navy-200: #e2e8f0;
    --navy-300: #cbd5e1;
    --navy-400: #94a3b8;
    --navy-500: #64748b;
    --navy-600: #475569;
    --navy-700: #334155;
    --navy-800: #1e293b;
    --navy-900: #0f172a;
    --navy-950: #020617;

    /* Semantic Colors */
    --primary: var(--emerald-500);
    --primary-light: var(--emerald-400);
    --primary-dark: var(--emerald-700);
    --secondary: var(--navy-900);
    --accent: var(--emerald-300);

    /* Background Colors */
    --bg-primary: var(--navy-950);
    --bg-secondary: var(--navy-900);
    --bg-tertiary: var(--navy-800);
    --bg-glass: rgba(15, 23, 42, 0.7);
    --bg-glass-light: rgba(255, 255, 255, 0.05);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: var(--navy-300);
    --text-muted: var(--navy-400);

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, var(--navy-950) 0%, #0a1628 50%, var(--navy-900) 100%);
    --gradient-emerald: linear-gradient(135deg, var(--emerald-500) 0%, var(--emerald-700) 100%);
    --gradient-navy: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-950) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    --gradient-shine: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);

    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', var(--font-sans);
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Animation */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --duration-fast: 150ms;
    --duration-normal: 300ms;
    --duration-slow: 500ms;
    --duration-slower: 800ms;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(16, 185, 129, 0.15);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Z-Index Scale */
    --z-base: 0;
    --z-above: 10;
    --z-nav: 100;
    --z-modal: 1000;
}

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

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

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

img, svg, video, canvas {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* ============================================
   3. UTILITY CLASSES
   ============================================ */
.gradient-text {
    background: var(--gradient-emerald);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glassmorphism {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.section-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

@media (min-width: 768px) {
    .section-container {
        padding: 0 var(--space-12);
    }
}

/* ============================================
   4. NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-nav);
    padding: var(--space-4) 0;
    transition: all var(--duration-normal) var(--ease-out-quart);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: var(--space-3) 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

@media (min-width: 768px) {
    .nav-container {
        padding: 0 var(--space-12);
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--text-xl);
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-text {
    color: var(--text-primary);
}

.logo-accent {
    color: var(--emerald-400);
}

.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--text-primary);
    z-index: calc(var(--z-nav) + 1);
}

.hamburger {
    position: relative;
    width: 24px;
    height: 2px;
    background: currentColor;
    transition: all var(--duration-normal) var(--ease-out-quart);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: all var(--duration-normal) var(--ease-out-quart);
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    transition: right var(--duration-slow) var(--ease-out-expo);
}

.nav-menu.active {
    right: 0;
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: none;
        flex-direction: row;
        gap: var(--space-8);
    }
}

.nav-link {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: var(--text-lg);
    color: var(--text-secondary);
    transition: color var(--duration-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-emerald);
    transition: width var(--duration-normal) var(--ease-out-quart);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

@media (min-width: 768px) {
    .nav-link {
        font-size: var(--text-sm);
    }
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: var(--space-3) var(--space-6);
    background: var(--gradient-emerald);
    color: white !important;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    box-shadow: var(--shadow-glow);
}

/* ============================================
   5. BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--text-sm);
    border-radius: var(--radius-full);
    transition: all var(--duration-normal) var(--ease-out-quart);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-emerald);
    color: white;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-primary .btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform var(--duration-normal) var(--ease-out-quart);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(3px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--emerald-400);
    border: 1px solid var(--emerald-500);
}

.btn-outline:hover {
    background: var(--emerald-500);
    color: white;
}

.btn-full {
    width: 100%;
}

/* ============================================
   6. HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-base);
}

#heroCanvas {
    width: 100%;
    height: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 50%, transparent 0%, rgba(2, 6, 23, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: calc(var(--space-24) + 60px) var(--space-6) var(--space-16);
    width: 100%;
}

@media (min-width: 768px) {
    .hero-content {
        padding: calc(var(--space-24) + 60px) var(--space-12) var(--space-16);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--emerald-300);
    margin-bottom: var(--space-6);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--emerald-500);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--text-4xl);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-6);
}

@media (min-width: 640px) {
    .hero-headline {
        font-size: var(--text-5xl);
    }
}

@media (min-width: 1024px) {
    .hero-headline {
        font-size: var(--text-6xl);
    }
}

.headline-line {
    display: block;
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 560px;
    margin-bottom: var(--space-10);
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-16);
}

.hero-stats {
    display: flex;
    gap: var(--space-10);
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.stat-number {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--emerald-400);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    color: var(--text-muted);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid currentColor;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: var(--space-2);
    opacity: 0.6;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: currentColor;
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.3; }
}

/* ============================================
   7. SECTION COMMON STYLES
   ============================================ */
.section-header {
    margin-bottom: var(--space-16);
}

.section-header.centered {
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--emerald-400);
    margin-bottom: var(--space-4);
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
    .section-title {
        font-size: var(--text-4xl);
    }
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   8. ABOUT SECTION
   ============================================ */
.about {
    padding: var(--space-24) 0;
    background: var(--bg-primary);
    position: relative;
}

.about-grid {
    display: grid;
    gap: var(--space-16);
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.about-image-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
}

@media (min-width: 768px) {
    .about-image-wrapper {
        width: 400px;
        height: 400px;
    }
}

.about-image-glass {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.holographic-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--emerald-400), var(--emerald-700), var(--navy-500)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.ring-1 {
    width: 280px;
    height: 280px;
    animation: rotate 20s linear infinite;
}

.ring-2 {
    width: 340px;
    height: 340px;
    animation: rotate 30s linear infinite reverse;
}

.ring-3 {
    width: 400px;
    height: 400px;
    animation: rotate 40s linear infinite;
}

@media (min-width: 768px) {
    .ring-1 { width: 350px; height: 350px; }
    .ring-2 { width: 430px; height: 430px; }
    .ring-3 { width: 510px; height: 510px; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.energy-core {
    position: relative;
    width: 80px;
    height: 80px;
}

.core-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--emerald-500);
    animation: corePulse 3s ease-in-out infinite;
}

.core-glow {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, transparent 70%);
    animation: coreGlow 3s ease-in-out infinite;
}

@keyframes corePulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes coreGlow {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 15%;
    left: -30px;
    animation-delay: -3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.card-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.15);
    border-radius: var(--radius-md);
    color: var(--emerald-400);
}

.card-icon svg {
    width: 18px;
    height: 18px;
}

.card-text {
    display: flex;
    flex-direction: column;
}

.card-value {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--text-primary);
}

.card-desc {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.feature-item {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
    border-radius: var(--radius-lg);
    color: var(--emerald-400);
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-text h4 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--text-base);
    margin-bottom: var(--space-1);
}

.feature-text p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   9. SYSTEMS SECTION
   ============================================ */
.systems {
    padding: var(--space-24) 0;
    background: var(--gradient-navy);
    position: relative;
}

.systems::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
}

.systems-grid {
    display: grid;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .systems-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.system-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out-quart);
}

.system-card:hover {
    transform: translateY(-8px);
    border-color: rgba(16, 185, 129, 0.2);
    box-shadow: var(--shadow-glow);
}

.system-visual {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(15, 23, 42, 0.5));
}

/* Solar Array Animation */
.solar-array {
    position: relative;
    width: 160px;
    height: 100px;
}

.solar-panel {
    position: absolute;
    width: 60px;
    height: 40px;
    background: linear-gradient(135deg, #1e3a5f 0%, #0d2137 100%);
    border: 1px solid rgba(52, 211, 153, 0.3);
    border-radius: 4px;
    transform-origin: bottom center;
}

.solar-panel::after {
    content: '';
    position: absolute;
    inset: 4px;
    background: repeating-linear-gradient(
        90deg,
        rgba(52, 211, 153, 0.1) 0px,
        rgba(52, 211, 153, 0.1) 8px,
        transparent 8px,
        transparent 10px
    );
}

.sp-1 { left: 0; bottom: 0; transform: rotate(-15deg); }
.sp-2 { left: 35px; bottom: 0; transform: rotate(-5deg); }
.sp-3 { left: 70px; bottom: 0; transform: rotate(5deg); }
.sp-4 { left: 105px; bottom: 0; transform: rotate(15deg); }

.solar-beam {
    position: absolute;
    top: -30px;
    left: 50%;
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--emerald-400), transparent);
    transform: translateX(-50%);
    animation: beamPulse 3s ease-in-out infinite;
}

@keyframes beamPulse {
    0%, 100% { opacity: 0.5; height: 50px; }
    50% { opacity: 1; height: 70px; }
}

/* Wind Turbine Animation */
.wind-turbine {
    position: relative;
    width: 120px;
    height: 160px;
}

.turbine-tower {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 100px;
    background: linear-gradient(to bottom, #475569, #1e293b);
    border-radius: 3px;
}

.turbine-hub {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: #64748b;
    border-radius: 50%;
    animation: spin 4s linear infinite;
}

.turbine-blade {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 8px;
    background: linear-gradient(to right, #64748b, #94a3b8);
    border-radius: 4px;
    transform-origin: 0 50%;
}

.blade-1 { transform: translate(-50%, -50%) rotate(0deg); }
.blade-2 { transform: translate(-50%, -50%) rotate(120deg); }
.blade-3 { transform: translate(-50%, -50%) rotate(240deg); }

@keyframes spin {
    from { transform: translateX(-50%) rotate(0deg); }
    to { transform: translateX(-50%) rotate(360deg); }
}

.wind-particles {
    position: absolute;
    inset: 0;
}

.wind-particles::before,
.wind-particles::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: rgba(148, 163, 184, 0.3);
    border-radius: 1px;
}

.wind-particles::before {
    top: 40%;
    left: -20px;
    animation: windFlow 2s linear infinite;
}

.wind-particles::after {
    top: 60%;
    left: -40px;
    animation: windFlow 2.5s linear infinite;
}

@keyframes windFlow {
    from { transform: translateX(0); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    to { transform: translateX(160px); opacity: 0; }
}

/* Grid Network Animation */
.grid-network {
    position: relative;
    width: 160px;
    height: 120px;
}

.grid-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--emerald-400);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.node-center { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 20px; height: 20px; }
.node-1 { top: 20%; left: 20%; }
.node-2 { top: 20%; right: 20%; }
.node-3 { bottom: 20%; left: 20%; }
.node-4 { bottom: 20%; right: 20%; }

.grid-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.4), transparent);
    transform-origin: left center;
}

.line-1 { top: 50%; left: 20%; width: 60%; transform: rotate(-26deg); }
.line-2 { top: 50%; left: 20%; width: 60%; transform: rotate(26deg); }
.line-3 { top: 50%; left: 20%; width: 60%; transform: rotate(154deg); }
.line-4 { top: 50%; right: 20%; width: 60%; transform: rotate(206deg); }

.data-packet {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--emerald-300);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--emerald-400);
}

.dp-1 { animation: packetMove1 3s linear infinite; }
.dp-2 { animation: packetMove2 3s linear infinite 1s; }
.dp-3 { animation: packetMove3 3s linear infinite 2s; }

@keyframes packetMove1 {
    0% { top: 50%; left: 20%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 20%; left: 50%; opacity: 0; }
}

@keyframes packetMove2 {
    0% { top: 50%; left: 20%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 80%; left: 50%; opacity: 0; }
}

@keyframes packetMove3 {
    0% { top: 20%; left: 50%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 50%; right: 20%; opacity: 0; }
}

.system-content {
    padding: var(--space-6);
}

.system-content h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.system-content p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.system-metrics {
    display: flex;
    gap: var(--space-8);
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.metric {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.metric-value {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--emerald-400);
}

.metric-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   10. PROGRAMS SECTION
   ============================================ */
.programs {
    padding: var(--space-24) 0;
    background: var(--bg-primary);
}

.programs-grid {
    display: grid;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.program-card {
    position: relative;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    transition: all var(--duration-normal) var(--ease-out-quart);
    overflow: hidden;
}

.program-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.15);
}

.program-card.featured {
    border-color: rgba(16, 185, 129, 0.25);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), var(--bg-glass));
}

.program-badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    padding: var(--space-1) var(--space-3);
    background: var(--gradient-emerald);
    color: white;
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.program-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-emerald);
    opacity: 0;
    transition: opacity var(--duration-normal);
}

.program-card:hover .program-accent {
    opacity: 1;
}

.program-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: var(--space-6);
}

.program-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
    border-radius: var(--radius-xl);
    color: var(--emerald-400);
}

.program-icon svg {
    width: 28px;
    height: 28px;
}

.program-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-1);
}

.program-duration,
.program-level {
    font-size: var(--text-xs);
    font-weight: 500;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
}

.program-duration {
    background: rgba(16, 185, 129, 0.1);
    color: var(--emerald-300);
}

.program-level {
    background: rgba(148, 163, 184, 0.1);
    color: var(--navy-400);
}

.program-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.program-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.program-curriculum {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}

.curriculum-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.check {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 50%;
    flex-shrink: 0;
}

.check::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid var(--emerald-400);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-1px, -1px);
}

.program-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.program-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
}

.price-value {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-primary);
}

/* ============================================
   11. ENERGY LAB SECTION
   ============================================ */
.energy-lab {
    padding: var(--space-24) 0;
    background: var(--gradient-navy);
    position: relative;
}

.energy-lab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
}

.lab-grid {
    display: grid;
    gap: var(--space-6);
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .lab-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .lab-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.lab-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out-quart);
}

.lab-card.large {
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .lab-card.large {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .lab-card.large:nth-child(1) {
        grid-column: span 2;
    }
    .lab-card.large:nth-child(6) {
        grid-column: span 2;
    }
}

.lab-card:hover {
    transform: translateY(-6px);
    border-color: rgba(16, 185, 129, 0.2);
    box-shadow: var(--shadow-glow);
}

.lab-image {
    height: 240px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(15, 23, 42, 0.8));
}

.lab-visual {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Solar Forecaster Visual */
.solar-visual {
    position: relative;
}

.forecast-clouds {
    position: absolute;
    inset: 0;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    animation: cloudDrift 8s ease-in-out infinite;
}

.c1 { width: 80px; height: 30px; top: 20%; left: 10%; animation-delay: 0s; }
.c2 { width: 60px; height: 25px; top: 30%; right: 15%; animation-delay: -3s; }
.c3 { width: 100px; height: 35px; top: 15%; left: 50%; animation-delay: -6s; }

@keyframes cloudDrift {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(30px); }
}

.forecast-sun {
    position: absolute;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, #fbbf24, transparent 70%);
    border-radius: 50%;
    animation: sunPulse 4s ease-in-out infinite;
}

.sun-rays {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: repeating-conic-gradient(from 0deg, rgba(251, 191, 36, 0.1) 0deg 10deg, transparent 10deg 20deg);
    animation: raySpin 20s linear infinite;
}

@keyframes sunPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes raySpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.forecast-graph {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 60px;
}

.graph-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(16, 185, 129, 0.3);
}

.graph-points {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 10px;
}

.graph-points span {
    width: 8px;
    border-radius: 4px 4px 0 0;
    background: var(--emerald-400);
    animation: graphGrow 3s ease-in-out infinite;
}

.graph-points span:nth-child(1) { height: 30%; animation-delay: 0s; }
.graph-points span:nth-child(2) { height: 50%; animation-delay: 0.3s; }
.graph-points span:nth-child(3) { height: 80%; animation-delay: 0.6s; }
.graph-points span:nth-child(4) { height: 60%; animation-delay: 0.9s; }
.graph-points span:nth-child(5) { height: 90%; animation-delay: 1.2s; }

@keyframes graphGrow {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.2); }
}

/* Digital Twin Visual */
.twin-visual {
    position: relative;
}

.twin-turbine {
    position: relative;
    width: 100px;
    height: 140px;
}

.twin-hub {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    animation: spin 3s linear infinite;
}

.twin-blade {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 6px;
    background: linear-gradient(to right, #64748b, #94a3b8);
    border-radius: 3px;
    transform-origin: 0 50%;
}

.twin-blade.b1 { transform: translate(-50%, -50%) rotate(0deg); }
.twin-blade.b2 { transform: translate(-50%, -50%) rotate(120deg); }
.twin-blade.b3 { transform: translate(-50%, -50%) rotate(240deg); }

.twin-overlay {
    position: absolute;
    inset: 0;
    border: 2px dashed rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-lg);
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--emerald-400);
    box-shadow: 0 0 10px var(--emerald-400);
    animation: scanDown 3s ease-in-out infinite;
}

@keyframes scanDown {
    0%, 100% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.data-points .dp {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--emerald-400);
    border-radius: 50%;
    animation: dataPoint 2s ease-in-out infinite;
}

@keyframes dataPoint {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.5); opacity: 1; }
}

/* Grid Visual */
.grid-visual {
    position: relative;
}

.grid-cells {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
    width: 120px;
}

.cell {
    width: 36px;
    height: 36px;
    background: rgba(148, 163, 184, 0.2);
    border-radius: var(--radius-md);
    transition: all var(--duration-normal);
}

.cell.active {
    background: rgba(16, 185, 129, 0.4);
    animation: cellPulse 2s ease-in-out infinite;
}

.cell.active:nth-child(2n) { animation-delay: 0.3s; }
.cell.active:nth-child(3n) { animation-delay: 0.6s; }

@keyframes cellPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.balance-indicator {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border: 3px solid rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.balance-needle {
    width: 2px;
    height: 24px;
    background: var(--emerald-400);
    transform-origin: bottom center;
    animation: needleSwing 4s ease-in-out infinite;
}

@keyframes needleSwing {
    0%, 100% { transform: rotate(-30deg); }
    50% { transform: rotate(30deg); }
}

/* Battery Visual */
.battery-visual {
    position: relative;
}

.battery-container {
    width: 80px;
    height: 120px;
    border: 3px solid rgba(148, 163, 184, 0.3);
    border-radius: var(--radius-lg);
    padding: 4px;
    position: relative;
}

.battery-container::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 8px;
    background: rgba(148, 163, 184, 0.3);
    border-radius: 4px 4px 0 0;
}

.battery-fill {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(148, 163, 184, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.fill-level {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 75%;
    background: linear-gradient(to top, var(--emerald-700), var(--emerald-400));
    animation: fillWave 3s ease-in-out infinite;
}

@keyframes fillWave {
    0%, 100% { height: 70%; }
    50% { height: 85%; }
}

.fill-bubbles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: bubbleRise 2s ease-in-out infinite;
}

.fill-bubbles span:nth-child(1) { left: 20%; bottom: 10%; animation-delay: 0s; }
.fill-bubbles span:nth-child(2) { left: 50%; bottom: 30%; animation-delay: 0.7s; }
.fill-bubbles span:nth-child(3) { left: 70%; bottom: 50%; animation-delay: 1.4s; }

@keyframes bubbleRise {
    0% { transform: translateY(0) scale(1); opacity: 0.6; }
    100% { transform: translateY(-80px) scale(0.5); opacity: 0; }
}

.efficiency-ring {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
}

.ring-progress {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: var(--emerald-400);
    border-right-color: var(--emerald-400);
    animation: ringProgress 4s linear infinite;
}

@keyframes ringProgress {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Hydrogen Visual */
.hydrogen-visual {
    position: relative;
}

.h2-molecule {
    position: relative;
    width: 80px;
    height: 50px;
    animation: moleculeFloat 4s ease-in-out infinite;
}

.atom {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #60a5fa, #2563eb);
}

.a1 { left: 0; top: 50%; transform: translateY(-50%); }
.a2 { right: 0; top: 50%; transform: translateY(-50%); }

.bond {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 4px;
    background: linear-gradient(to right, #2563eb, #60a5fa);
    border-radius: 2px;
}

@keyframes moleculeFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.electrolyzer {
    position: absolute;
    bottom: 20px;
    width: 100px;
    height: 60px;
}

.ez-chamber {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to bottom, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.05));
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-md);
}

.ez-bubbles span {
    position: absolute;
    bottom: 10px;
    width: 8px;
    height: 8px;
    background: rgba(16, 185, 129, 0.5);
    border-radius: 50%;
    animation: ezBubble 2s ease-in-out infinite;
}

.ez-bubbles span:nth-child(1) { left: 20%; animation-delay: 0s; }
.ez-bubbles span:nth-child(2) { left: 40%; animation-delay: 0.5s; }
.ez-bubbles span:nth-child(3) { left: 60%; animation-delay: 1s; }
.ez-bubbles span:nth-child(4) { left: 80%; animation-delay: 1.5s; }

@keyframes ezBubble {
    0% { transform: translateY(0) scale(1); opacity: 0.8; }
    100% { transform: translateY(-50px) scale(0.3); opacity: 0; }
}

/* Carbon Capture Visual */
.carbon-visual {
    position: relative;
}

.capture-tower {
    position: relative;
    width: 60px;
    height: 140px;
}

.tower-section {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
    background: linear-gradient(to bottom, rgba(148, 163, 184, 0.3), rgba(148, 163, 184, 0.1));
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.ts-1 { bottom: 0; width: 50px; height: 50px; }
.ts-2 { bottom: 55px; width: 40px; height: 45px; }
.ts-3 { bottom: 105px; width: 30px; height: 35px; }

.co2-particles .co2 {
    position: absolute;
    font-size: var(--text-xs);
    color: var(--navy-400);
    animation: co2Rise 3s ease-in-out infinite;
}

.co2::before {
    content: 'CO₂';
}

.co2:nth-child(1) { left: 20%; bottom: 0; animation-delay: 0s; }
.co2:nth-child(2) { left: 40%; bottom: 10px; animation-delay: 0.6s; }
.co2:nth-child(3) { left: 60%; bottom: 5px; animation-delay: 1.2s; }
.co2:nth-child(4) { left: 80%; bottom: 15px; animation-delay: 1.8s; }
.co2:nth-child(5) { left: 30%; bottom: 20px; animation-delay: 2.4s; }

@keyframes co2Rise {
    0% { transform: translateY(0); opacity: 0.8; }
    100% { transform: translateY(-120px); opacity: 0; }
}

.capture-readout {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: var(--space-3) var(--space-4);
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-lg);
    text-align: center;
}

.readout-value {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--emerald-400);
}

.readout-unit {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.lab-content {
    padding: var(--space-6);
}

.lab-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.tag {
    padding: var(--space-1) var(--space-3);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--emerald-300);
}

.lab-content h3 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.lab-content p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.lab-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.author-avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-emerald);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 600;
    color: white;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: var(--text-sm);
    font-weight: 500;
}

.author-cohort {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* ============================================
   12. CONTACT SECTION
   ============================================ */
.contact {
    padding: var(--space-24) 0;
    background: var(--bg-primary);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
}

.contact-grid {
    display: grid;
    gap: var(--space-16);
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.contact-desc {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-10);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--bg-glass-light);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    transition: all var(--duration-normal) var(--ease-out-quart);
}

.contact-method:hover {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.15);
    transform: translateX(4px);
}

.method-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
    border-radius: var(--radius-lg);
    color: var(--emerald-400);
    flex-shrink: 0;
}

.method-icon svg {
    width: 22px;
    height: 22px;
}

.method-details {
    display: flex;
    flex-direction: column;
}

.method-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.method-value {
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--text-primary);
}

.contact-hours h4 {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-3) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: var(--text-sm);
}

.hours-row span:first-child {
    color: var(--text-secondary);
}

.hours-row span:last-child {
    color: var(--text-primary);
    font-weight: 500;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
}

.form-row {
    display: grid;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: var(--space-4);
}

.form-group label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-family: inherit;
    font-size: var(--text-sm);
    transition: all var(--duration-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-group select option {
    background: var(--navy-800);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-top: var(--space-6);
    padding: var(--space-4);
    background: rgba(16, 185, 129, 0.05);
    border-radius: var(--radius-lg);
}

.form-disclaimer svg {
    width: 18px;
    height: 18px;
    color: var(--emerald-400);
    flex-shrink: 0;
    margin-top: 2px;
}

.form-disclaimer span {
    font-size: var(--text-xs);
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   13. FOOTER
   ============================================ */
.footer {
    padding: var(--space-16) 0 var(--space-8);
    background: var(--navy-950);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

@media (min-width: 768px) {
    .footer-container {
        padding: 0 var(--space-12);
    }
}

.footer-grid {
    display: grid;
    gap: var(--space-12);
    margin-bottom: var(--space-16);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
}

.footer-logo .logo-icon {
    width: 36px;
    height: 36px;
}

.footer-tagline {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 320px;
    margin-bottom: var(--space-6);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    transition: all var(--duration-normal);
}

.social-link:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    color: var(--emerald-400);
    transform: translateY(-2px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: var(--space-6);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-links a {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    transition: color var(--duration-fast);
}

.footer-links a:hover {
    color: var(--emerald-400);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-bottom p {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: var(--space-6);
}

.footer-legal a {
    font-size: var(--text-sm);
    color: var(--text-muted);
    transition: color var(--duration-fast);
}

.footer-legal a:hover {
    color: var(--text-secondary);
}

/* ============================================
   14. MODAL
   ============================================ */
.modal {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-normal) var(--ease-out-quart);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 420px;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    transform: translateY(20px) scale(0.95);
    transition: transform var(--duration-slow) var(--ease-out-expo);
}

.modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: var(--text-2xl);
    line-height: 1;
    border-radius: var(--radius-full);
    transition: all var(--duration-fast);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.modal-body {
    text-align: center;
}

.modal-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    color: var(--emerald-400);
}

.modal-icon svg {
    width: 32px;
    height: 32px;
}

.modal-body h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.modal-body p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-8);
}

/* ============================================
   15. ANIMATIONS & KEYFRAMES
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll-triggered animations handled in JS */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--duration-slower) var(--ease-out-quart),
                transform var(--duration-slower) var(--ease-out-quart);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ============================================
   16. RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 767px) {
    .hero-stats {
        gap: var(--space-6);
    }

    .stat-number {
        font-size: var(--text-2xl);
    }

    .about-image-wrapper {
        transform: scale(0.85);
    }

    .floating-card {
        display: none;
    }

    .system-metrics {
        gap: var(--space-6);
    }

    .program-footer {
        flex-direction: column;
        gap: var(--space-4);
        align-items: stretch;
    }

    .program-footer .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ============================================
   17. PRINT STYLES
   ============================================ */
@media print {
    .navbar,
    .hero-canvas-container,
    .hero-scroll,
    .hero-overlay,
    .about-visual,
    .system-visual,
    .lab-visual,
    .holographic-ring,
    .energy-core,
    .floating-card,
    .btn,
    .footer-social,
    .modal {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero-headline {
        font-size: 2rem;
    }

    section {
        padding: 2rem 0 !important;
        page-break-inside: avoid;
    }
}