/* ============================================
   VERTEX AI ACADEMY — SPACECRAFT STYLES
   ============================================ */

/* ------------------------------------------
   1. CSS VARIABLES & DESIGN TOKENS
   ------------------------------------------ */
:root {
    /* Core Colors */
    --deep-space: #0a0a1a;
    --void-black: #050510;
    --nebula-purple: #6366f1;
    --cosmic-violet: #8b5cf6;
    --stellar-blue: #3b82f6;
    --cyan-glow: #06b6d4;
    --silver-chrome: #c0c0c0;
    --platinum: #e5e7eb;
    --star-white: #f8fafc;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e3a5f 100%);
    --gradient-card: linear-gradient(145deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
    --gradient-glow: linear-gradient(90deg, var(--nebula-purple), var(--cosmic-violet), var(--stellar-blue));
    
    /* Glassmorphism */
    --glass-bg: rgba(15, 15, 35, 0.6);
    --glass-border: rgba(139, 92, 246, 0.15);
    --glass-highlight: rgba(255, 255, 255, 0.05);
    
    /* Typography */
    --font-display: 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;
    
    /* Animation */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Shadows */
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--deep-space);
    color: var(--platinum);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Starfield Canvas */
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    position: relative;
    z-index: 1;
}

/* ------------------------------------------
   3. GLASSMORPHISM UTILITIES
   ------------------------------------------ */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

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

/* ------------------------------------------
   4. NAVIGATION
   ------------------------------------------ */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: var(--transition-base);
}

.main-nav.scrolled {
    background: rgba(10, 10, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    text-decoration: none;
    color: var(--star-white);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-glow);
    border-radius: 10px;
    font-size: 1.1rem;
    color: var(--star-white);
}

.logo-text {
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.nav-link {
    color: var(--silver-chrome);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    padding: var(--space-xs) 0;
    transition: var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-glow);
    transition: var(--transition-base);
}

.nav-link:hover {
    color: var(--star-white);
}

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

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--star-white);
    transition: var(--transition-base);
}

/* ------------------------------------------
   5. BUTTONS
   ------------------------------------------ */
.btn-primary, .btn-secondary, .btn-submit {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
}

.btn-primary {
    background: var(--gradient-glow);
    color: var(--star-white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--platinum);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--nebula-purple);
}

.btn-submit {
    width: 100%;
    justify-content: center;
    background: var(--gradient-glow);
    color: var(--star-white);
}

.btn-icon {
    font-size: 0.8em;
}

/* ------------------------------------------
   6. SECTION HEADERS
   ------------------------------------------ */
.section-header {
    margin-bottom: var(--space-xl);
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--cosmic-violet);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--star-white);
    line-height: 1.2;
}

/* ------------------------------------------
   7. HERO SECTION
   ------------------------------------------ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: var(--space-3xl) 0 var(--space-2xl);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    opacity: 0.5;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--cyan-glow);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.6s ease;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--silver-chrome);
    max-width: 500px;
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Hero Visual — Holographic Spacecraft */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50%;
    animation: orbitRotate linear infinite;
}

.orbit-1 {
    width: 100%;
    height: 100%;
    animation-duration: 20s;
}

.orbit-2 {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    animation-duration: 15s;
    animation-direction: reverse;
}

.orbit-3 {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    animation-duration: 10s;
}

.spacecraft-hologram {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
}

.hologram-body {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.3), rgba(6, 182, 212, 0.2));
    border-radius: 20px;
    position: relative;
    animation: hologramPulse 3s ease-in-out infinite;
}

.hologram-body::before,
.hologram-body::after {
    content: '';
    position: absolute;
    border: 2px solid rgba(139, 92, 246, 0.4);
    border-radius: 20px;
}

.hologram-body::before {
    inset: -10px;
    animation: hologramPulse 3s ease-in-out infinite 0.5s;
}

.hologram-body::after {
    inset: -20px;
    animation: hologramPulse 3s ease-in-out infinite 1s;
}

.hologram-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 50%;
    animation: ringExpand 2s ease-out infinite;
}

.hologram-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    animation: glowPulse 3s ease-in-out infinite;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--silver-chrome);
    font-size: 0.8rem;
    z-index: 2;
    animation: fadeInUp 1s ease 1s both;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--silver-chrome);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--cyan-glow);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s ease-in-out infinite;
}

/* ------------------------------------------
   8. ABOUT SECTION
   ------------------------------------------ */
.about {
    padding: var(--space-3xl) 0;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    margin-bottom: var(--space-2xl);
}

.about-lead {
    font-size: 1.15rem;
    color: var(--platinum);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.feature-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--gradient-card);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: var(--transition-base);
}

.feature-item:hover {
    transform: translateX(8px);
    border-color: var(--nebula-purple);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-glow);
    border-radius: 12px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text h4 {
    color: var(--star-white);
    font-size: 1rem;
    margin-bottom: 4px;
}

.feature-text p {
    color: var(--silver-chrome);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* About Image */
.about-image {
    position: relative;
}

.image-frame {
    padding: 20px;
    border-radius: 20px;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: var(--space-md);
    position: relative;
    overflow: hidden;
}

.campus-image {
    background: linear-gradient(145deg, #1e3a5f 0%, #312e81 50%, #1e1b4b 100%);
}

.image-label {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: var(--space-xs) var(--space-md);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--cyan-glow);
    border: 1px solid var(--glass-border);
}

.frame-decoration {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--cosmic-violet);
}

.frame-decoration.tl { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.frame-decoration.tr { top: 8px; right: 8px; border-left: none; border-bottom: none; }
.frame-decoration.bl { bottom: 8px; left: 8px; border-right: none; border-top: none; }
.frame-decoration.br { bottom: 8px; right: 8px; border-left: none; border-top: none; }

/* Stats */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.stat-item {
    text-align: center;
    padding: var(--space-lg);
    background: var(--gradient-card);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--silver-chrome);
}

/* ------------------------------------------
   9. SYSTEMS SECTION
   ------------------------------------------ */
.systems {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(30, 27, 75, 0.3) 50%, transparent 100%);
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.system-card {
    padding: var(--space-lg);
    transition: var(--transition-base);
}

.system-card:hover {
    transform: translateY(-8px);
    border-color: var(--nebula-purple);
    box-shadow: var(--shadow-glow);
}

.system-visual {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    margin-bottom: var(--space-md);
    position: relative;
    overflow: hidden;
}

.ai-visual {
    background: linear-gradient(145deg, #4c1d95 0%, #6366f1 100%);
}

.nav-visual {
    background: linear-gradient(145deg, #1e3a5f 0%, #06b6d4 100%);
}

.comm-visual {
    background: linear-gradient(145deg, #312e81 0%, #8b5cf6 100%);
}

.prop-visual {
    background: linear-gradient(145deg, #1e1b4b 0%, #3b82f6 100%);
}

.system-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(255,255,255,0.05) 50%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255,255,255,0.05) 50%, transparent 52%);
    background-size: 20px 20px;
}

.system-card h3 {
    color: var(--star-white);
    font-size: 1.2rem;
    margin-bottom: var(--space-xs);
}

.system-card p {
    color: var(--silver-chrome);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.system-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gradient-glow);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--star-white);
}

/* ------------------------------------------
   10. PROGRAMS SECTION
   ------------------------------------------ */
.programs {
    padding: var(--space-3xl) 0;
}

.programs-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.program-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.program-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-glow);
    transform: scaleY(0);
    transition: var(--transition-base);
}

.program-item:hover {
    border-color: var(--nebula-purple);
    transform: translateX(8px);
}

.program-item:hover::before {
    transform: scaleY(1);
}

.program-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--cosmic-violet);
    opacity: 0.5;
    line-height: 1;
}

.program-info h3 {
    color: var(--star-white);
    font-size: 1.3rem;
    margin-bottom: var(--space-xs);
}

.program-info p {
    color: var(--silver-chrome);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--space-xs);
}

.program-meta {
    display: flex;
    gap: var(--space-xs);
    font-size: 0.8rem;
    color: var(--cyan-glow);
}

.program-arrow {
    font-size: 1.5rem;
    color: var(--cosmic-violet);
    transition: var(--transition-base);
}

.program-item:hover .program-arrow {
    transform: translateX(8px);
}

.program-image {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%) scale(0.8);
    width: 200px;
    height: 140px;
    border-radius: 12px;
    opacity: 0;
    transition: var(--transition-slow);
    pointer-events: none;
}

.program-item:hover .program-image {
    opacity: 0.3;
    transform: translateY(-50%) scale(1);
}

.ai-program-img { background: linear-gradient(145deg, #4c1d95, #6366f1); }
.craft-program-img { background: linear-gradient(145deg, #1e3a5f, #06b6d4); }
.nav-program-img { background: linear-gradient(145deg, #312e81, #8b5cf6); }
.aero-program-img { background: linear-gradient(145deg, #1e1b4b, #3b82f6); }

/* ------------------------------------------
   11. LABORATORY SECTION
   ------------------------------------------ */
.lab {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(30, 27, 75, 0.2) 50%, transparent 100%);
}

.lab-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.project-card {
    transition: var(--transition-base);
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-12px);
    border-color: var(--nebula-purple);
    box-shadow: var(--shadow-glow);
}

.project-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.project-1 { background: linear-gradient(145deg, #7c2d12 0%, #ea580c 100%); }
.project-2 { background: linear-gradient(145deg, #1e3a5f 0%, #06b6d4 100%); }
.project-3 { background: linear-gradient(145deg, #312e81 0%, #8b5cf6 100%); }
.project-4 { background: linear-gradient(145deg, #1e1b4b 0%, #6366f1 100%); }
.project-5 { background: linear-gradient(145deg, #064e3b 0%, #10b981 100%); }
.project-6 { background: linear-gradient(145deg, #4c1d95 0%, #a855f7 100%); }

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.project-content {
    padding: var(--space-md);
}

.project-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--cyan-glow);
    margin-bottom: var(--space-xs);
}

.project-content h4 {
    color: var(--star-white);
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
}

.project-content p {
    color: var(--silver-chrome);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.project-team {
    font-size: 0.8rem;
    color: var(--cosmic-violet);
}

/* ------------------------------------------
   12. CONTACTS SECTION
   ------------------------------------------ */
.contacts {
    padding: var(--space-3xl) 0;
}

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

.contact-info {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

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

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-glow);
    border-radius: 12px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    color: var(--silver-chrome);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.contact-item a, .contact-item address {
    color: var(--star-white);
    text-decoration: none;
    font-style: normal;
    font-size: 1rem;
}

.contact-item a:hover {
    color: var(--cyan-glow);
}

.contact-map {
    margin-top: auto;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #1e3a5f 0%, #312e81 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    color: var(--silver-chrome);
    font-size: 0.9rem;
    position: relative;
}

.map-pin {
    font-size: 2rem;
    animation: bounce 2s ease-in-out infinite;
}

/* Contact Form */
.contact-form-wrapper {
    padding: var(--space-lg);
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--silver-chrome);
    margin-bottom: var(--space-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-sm);
    background: var(--void-black);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--star-white);
    font-size: 0.95rem;
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--nebula-purple);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(192, 192, 192, 0.5);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--deep-space);
}

/* ------------------------------------------
   13. FOOTER
   ------------------------------------------ */
.footer {
    padding: var(--space-2xl) 0 var(--space-lg);
    border-top: 1px solid var(--glass-border);
    background: linear-gradient(180deg, transparent 0%, rgba(5, 5, 16, 0.8) 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand .logo-icon,
.footer-brand .logo-text {
    font-size: 1.5rem;
}

.footer-brand p {
    color: var(--silver-chrome);
    font-size: 0.9rem;
    margin-top: var(--space-sm);
    line-height: 1.7;
}

.footer-links h4,
.footer-social h4 {
    color: var(--star-white);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-xs);
}

.footer-links a {
    color: var(--silver-chrome);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--cyan-glow);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--silver-chrome);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition-base);
}

.social-links a:hover {
    border-color: var(--nebula-purple);
    color: var(--star-white);
    transform: translateY(-4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--glass-border);
}

.footer-bottom p {
    color: var(--silver-chrome);
    font-size: 0.85rem;
}

/* ------------------------------------------
   14. ANIMATIONS
   ------------------------------------------ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes ringExpand {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes scrollWheel {
    0% { top: 8px; opacity: 1; }
    100% { top: 24px; opacity: 0; }
}

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

@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------------------------------
   15. RESPONSIVE DESIGN
   ------------------------------------------ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition-base);
        border-bottom: 1px solid var(--glass-border);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .systems-grid {
        grid-template-columns: 1fr;
    }
    
    .lab-grid {
        grid-template-columns: 1fr;
    }
    
    .program-item {
        grid-template-columns: auto 1fr;
    }
    
    .program-arrow,
    .program-image {
        display: none;
    }
    
    .stats-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        --space-md: 1rem;
        --space-lg: 1.5rem;
        --space-xl: 2rem;
        --space-2xl: 3rem;
        --space-3xl: 4rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .stat-item {
        padding: var(--space-md);
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* ------------------------------------------
   16. ACCESSIBILITY
   ------------------------------------------ */
@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;
    }
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--nebula-purple);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: rgba(99, 102, 241, 0.3);
    color: var(--star-white);
}