/**
 * Meridian Vega Labs - Dark Mode Aviation Heritage
 * Sophisticated Labs experience with starfield background
 */

/* Labs Future Colors */
:root {
    /* Labs Cyan Colors */
    --plasma-cyan: #00FFFF;
    --glow-cyan: rgba(0, 255, 255, 0.5);
    --starfield-blue: #1E3A8A;
    --deep-space: #0A0E1A;
}

/* ===== DARK MODE BASE ===== */
html {
    scroll-behavior: smooth;
}

body {
    background: #0A0E1A;
    color: var(--cream-white);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Starfield effect (will be replaced by canvas when not active) */
body.starfield-bg::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 40px 70px, #ddd, transparent),
        radial-gradient(1px 1px at 50px 90px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, #eee, transparent),
        radial-gradient(2px 2px at 80px 10px, #ddd, transparent),
        radial-gradient(1px 1px at 200px 140px, #fff, transparent),
        radial-gradient(2px 2px at 250px 50px, #eee, transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.4;
    animation: starfield 120s linear infinite;
    z-index: -2;
    pointer-events: none;
}

/* Distant nebula effect for starfield */
body.starfield-bg::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 800px 400px at 20% 10%, rgba(53, 79, 88, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 600px 300px at 80% 90%, rgba(178, 34, 34, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 400px 200px at 60% 50%, rgba(0, 48, 135, 0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

@keyframes starfield {
    0% { transform: translateY(0); }
    100% { transform: translateY(-200px); }
}

/* ===== HEADER - LAUNCH STYLE IN DARK MODE ===== */
header {
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 3px solid var(--aviation-blue);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(53, 79, 88, 0.2);
    transition: border-color 0.8s ease, box-shadow 0.8s ease;
}

/* Header theme variations */
.bg-fluid header {
    border-bottom-color: #00FFCC;
    box-shadow: 0 4px 20px rgba(0, 255, 204, 0.2);
}

.bg-gravity header {
    border-bottom-color: #FFD700;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.2);
}

.bg-neural header {
    border-bottom-color: #00D7D7;
    box-shadow: 0 4px 20px rgba(0, 215, 215, 0.2);
}

.bg-quantum header {
    border-bottom-color: #003087;
    box-shadow: 0 4px 20px rgba(0, 48, 135, 0.2);
}

header.scrolled {
    background: rgba(10, 14, 26, 0.98);
    box-shadow: 0 8px 32px rgba(53, 79, 88, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    min-height: 80px;
}

.logo {
    font-family: 'Outfit', 'Futura PT', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--cream-white);
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(181, 166, 66, 0.5);
}

.nav-links {
    display: flex;
    gap: 48px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--cream-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--aviation-blue);
    transition: width 0.3s ease, background 0.8s ease, box-shadow 0.8s ease;
    box-shadow: 0 0 10px rgba(53, 79, 88, 0.5);
}

.nav-links a:hover {
    color: var(--aviation-blue);
    text-shadow: 0 0 10px rgba(53, 79, 88, 0.5);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

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

/* Nav link theme variations */
.bg-starfield .nav-links a:hover {
    color: var(--plasma-cyan);
    text-shadow: 0 0 10px var(--glow-cyan);
}
.bg-starfield .nav-links a::after {
    background: var(--plasma-cyan);
    box-shadow: 0 0 10px var(--glow-cyan);
}

.bg-fluid .nav-links a:hover {
    color: #00FFCC;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
}
.bg-fluid .nav-links a::after {
    background: #00FFCC;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
}

.bg-gravity .nav-links a:hover {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}
.bg-gravity .nav-links a::after {
    background: #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.bg-neural .nav-links a:hover {
    color: #00D7D7;
    text-shadow: 0 0 10px rgba(0, 215, 215, 0.5);
}
.bg-neural .nav-links a::after {
    background: #00D7D7;
    box-shadow: 0 0 10px rgba(0, 215, 215, 0.5);
}

.bg-quantum .nav-links a:hover {
    color: #003087;
    text-shadow: 0 0 10px rgba(0, 48, 135, 0.5);
}
.bg-quantum .nav-links a::after {
    background: #003087;
    box-shadow: 0 0 10px rgba(0, 48, 135, 0.5);
}

.nav-cta {
    background: linear-gradient(135deg, var(--heritage-red) 0%, var(--signal-red) 100%);
    color: var(--white);
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-cta:hover {
    background: linear-gradient(135deg, var(--signal-red) 0%, var(--heritage-red) 100%);
    transform: translateY(-1px);
}

/* ===== MOBILE NAVIGATION ===== */
.hamburger {
    display: none;
    width: 30px;
    height: 24px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--cream-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.98);
    border-bottom: 3px solid var(--aviation-blue);
    box-shadow: 0 8px 32px rgba(53, 79, 88, 0.3);
    z-index: 999;
    padding: 24px 0;
    backdrop-filter: blur(20px);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(53, 79, 88, 0.2);
}

.mobile-menu a {
    color: var(--cream-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== BACKGROUND CANVAS ===== */
#background-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* ===== MAIN CONTENT ===== */
.labs-main {
    position: relative;
    z-index: 2;
}

/* ===== BACKGROUND CONTROLS ===== */
.background-controls {
    position: relative;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 3rem;
}

.bg-controls-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--cream-white);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.8;
    font-family: 'JetBrains Mono', monospace;
    transition: color 0.8s ease, text-shadow 0.8s ease;
}

/* Background control label theme variations */
.bg-starfield .bg-controls-label {
    color: var(--plasma-cyan);
    text-shadow: 0 0 10px var(--glow-cyan);
}

.bg-fluid .bg-controls-label {
    color: #00FFCC;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
}

.bg-gravity .bg-controls-label {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.bg-neural .bg-controls-label {
    color: #00D7D7;
    text-shadow: 0 0 10px rgba(0, 215, 215, 0.5);
}

.bg-quantum .bg-controls-label {
    color: #003087;
    text-shadow: 0 0 10px rgba(0, 48, 135, 0.5);
}

.bg-controls-buttons {
    display: flex;
    gap: 15px;
    background: rgba(10, 14, 26, 0.8);
    padding: 15px 40px;
    border-radius: 50px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(53, 79, 88, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    margin: 0 40px;
}

.bg-control-btn {
    background: rgba(10, 14, 26, 0.8);
    border: 1px solid var(--plasma-cyan);
    color: var(--plasma-cyan);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

/* Button control theme variations */
.bg-fluid .bg-control-btn:not(.active) {
    border-color: #00FFCC;
    color: #00FFCC;
    text-shadow: 0 0 5px rgba(0, 255, 204, 0.3);
}

.bg-gravity .bg-control-btn:not(.active) {
    border-color: #FFD700;
    color: #FFD700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.bg-neural .bg-control-btn:not(.active) {
    border-color: #00D7D7;
    color: #00D7D7;
    text-shadow: 0 0 5px rgba(0, 215, 215, 0.3);
}

.bg-quantum .bg-control-btn:not(.active) {
    border-color: #003087;
    color: #003087;
    text-shadow: 0 0 5px rgba(0, 48, 135, 0.3);
}

.bg-control-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--plasma-cyan);
    transition: left 0.3s ease;
    z-index: -1;
}

.bg-control-btn:hover::before {
    left: 0;
}

.bg-control-btn:hover {
    color: #0A0E1A;
    border-color: var(--plasma-cyan);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--glow-cyan);
    text-shadow: none;
}

.bg-control-btn.active {
    background: var(--plasma-cyan);
    color: #0A0E1A;
    border-color: var(--plasma-cyan);
    box-shadow: 0 5px 20px var(--glow-cyan);
    font-weight: 700;
    text-shadow: none;
}

/* Active button theme variations */
.bg-fluid .bg-control-btn.active {
    background: #00FFCC;
    border-color: #00FFCC;
    box-shadow: 0 5px 20px rgba(0, 255, 204, 0.5);
}

.bg-gravity .bg-control-btn.active {
    background: #FFD700;
    border-color: #FFD700;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.5);
}

.bg-neural .bg-control-btn.active {
    background: #00D7D7;
    border-color: #00D7D7;
    box-shadow: 0 5px 20px rgba(0, 215, 215, 0.5);
}

.bg-quantum .bg-control-btn.active {
    background: #003087;
    border-color: #003087;
    box-shadow: 0 5px 20px rgba(0, 48, 135, 0.5);
    color: #FFFFFF;
}

.bg-control-btn.active::before {
    left: 0;
}

/* View Experiments Button */
.view-experiments-btn {
    display: inline-block;
    margin-top: 3rem;
    background: rgba(10, 14, 26, 0.8);
    border: 1px solid var(--plasma-cyan);
    color: var(--plasma-cyan);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
    text-decoration: none;
    white-space: nowrap;
}

.view-experiments-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--plasma-cyan);
    transition: left 0.3s ease;
    z-index: -1;
}

.view-experiments-btn:hover::before {
    left: 0;
}

.view-experiments-btn:hover {
    color: #0A0E1A;
    border-color: var(--plasma-cyan);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--glow-cyan);
    text-shadow: none;
}

/* View Experiments Button theme variations */
.bg-fluid .view-experiments-btn {
    border-color: #00FFCC;
    color: #00FFCC;
    text-shadow: 0 0 5px rgba(0, 255, 204, 0.3);
}

.bg-fluid .view-experiments-btn::before {
    background: #00FFCC;
}

.bg-fluid .view-experiments-btn:hover {
    box-shadow: 0 5px 15px rgba(0, 255, 204, 0.5);
}

.bg-gravity .view-experiments-btn {
    border-color: #FFD700;
    color: #FFD700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.bg-gravity .view-experiments-btn::before {
    background: #FFD700;
}

.bg-gravity .view-experiments-btn:hover {
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.5);
}

.bg-neural .view-experiments-btn {
    border-color: #00D7D7;
    color: #00D7D7;
    text-shadow: 0 0 5px rgba(0, 215, 215, 0.3);
}

.bg-neural .view-experiments-btn::before {
    background: #00D7D7;
}

.bg-neural .view-experiments-btn:hover {
    box-shadow: 0 5px 15px rgba(0, 215, 215, 0.5);
}

.bg-quantum .view-experiments-btn {
    border-color: #003087;
    color: #003087;
    text-shadow: 0 0 5px rgba(0, 48, 135, 0.3);
}

.bg-quantum .view-experiments-btn::before {
    background: #003087;
}

.bg-quantum .view-experiments-btn:hover {
    box-shadow: 0 5px 15px rgba(0, 48, 135, 0.5);
    color: #FFFFFF;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ===== HERO SECTION ===== */
.hero-minimal {
    padding: 140px 0 120px;
    text-align: center;
    position: relative;
    color: var(--cream-white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Labs Logo Container */
.labs-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: 3rem;
}

.hero-title {
    font-family: 'Outfit', 'Futura PT', sans-serif;
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 0.9;
    margin-bottom: 0.2rem;
    background: linear-gradient(135deg, var(--plasma-cyan) 0%, #00CED1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    text-shadow: 0 0 30px var(--glow-cyan);
    transition: all 0.8s ease;
}

.hero-subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--plasma-cyan);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
    text-shadow: 0 0 20px var(--glow-cyan);
    margin: 0;
    padding: 0;
    text-align: center;
    white-space: nowrap;
    transform: scaleX(0.75);
    transform-origin: center;
    opacity: 0.9;
    transition: color 0.8s ease, text-shadow 0.8s ease;
}

/* Title and subtitle colors for different backgrounds */
/* Fluid Dynamics */
.bg-fluid .hero-title {
    background: linear-gradient(135deg, #00FFCC 0%, #354F58 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 255, 204, 0.5);
}

.bg-fluid .hero-subtitle {
    color: #00FFCC;
    text-shadow: 0 0 20px rgba(0, 255, 204, 0.5);
}

/* Gravity Wells */
.bg-gravity .hero-title {
    background: linear-gradient(135deg, #FFD700 0%, #354F58 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.bg-gravity .hero-subtitle {
    color: #FFD700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

/* Neural Pulse */
.bg-neural .hero-title {
    background: linear-gradient(135deg, #00D7D7 0%, #B22222 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 215, 215, 0.5);
}

.bg-neural .hero-subtitle {
    color: #00D7D7;
    text-shadow: 0 0 20px rgba(0, 215, 215, 0.5);
}

/* Quantum Field */
.bg-quantum .hero-title {
    background: linear-gradient(135deg, #00D7D7 0%, #003087 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 48, 135, 0.5);
}

.bg-quantum .hero-subtitle {
    color: #003087;
    text-shadow: 0 0 20px rgba(0, 48, 135, 0.5);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--cream-white);
    opacity: 0.9;
    max-width: 800px;
    margin: 2rem auto 3rem;
    font-family: 'Inter', sans-serif;
    transition: color 0.8s ease, text-shadow 0.8s ease;
}

/* Hero description theme variations */
.bg-fluid .hero-description {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 5px rgba(0, 255, 204, 0.2);
}

.bg-gravity .hero-description {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.2);
}

.bg-neural .hero-description {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 5px rgba(0, 215, 215, 0.2);
}

.bg-quantum .hero-description {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 5px rgba(0, 48, 135, 0.2);
}

/* Three Eyes Container */
.three-eyes-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 200px;
    margin: 0.5rem auto 0;
    gap: 42px;
}

.eye-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.eye {
    width: 35px;
    height: 35px;
    border: 2px solid var(--plasma-cyan);
    border-radius: 50% 0;
    position: relative;
    transform: rotate(45deg);
    transition: transform 0.3s ease,
                border-color 0.8s ease,
                box-shadow 0.3s ease;
    background: rgba(0, 255, 255, 0.05);
    box-shadow: 0 0 15px var(--glow-cyan);
}

.iris {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--plasma-cyan), #00CED1);
    transition: transform 0.3s ease, background 0.8s ease;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.3);
}

.pupil {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #0A0E1A;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.eye-label {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--plasma-cyan);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-shadow: 0 0 20px var(--glow-cyan);
}

.eye-wrapper:hover .eye-label {
    opacity: 1;
    bottom: -35px;
}

/* Remove blinking animation - eyes just watch */

/* Hover effects - subtle glow */
.eye-wrapper:hover .eye {
    transform: rotate(45deg) scale(1.05);
    box-shadow: 0 0 25px var(--glow-cyan);
}

.eye-wrapper:hover .iris {
    transform: translate(-50%, -50%) scale(1.1);
}


/* Mouse following effect */
.eye:not(:hover) .pupil {
    transition: transform 0.1s ease;
}

/* Eye styles for different backgrounds - matching exact shader colors */
/* Starfield - Default cyan eyes */
.bg-starfield .eye {
    border-color: var(--plasma-cyan);
    background: rgba(0, 255, 255, 0.05);
    box-shadow: 0 0 30px var(--glow-cyan);
}

.bg-starfield .iris {
    background: radial-gradient(circle at 30% 30%, var(--plasma-cyan), #00CED1);
}

/* Fluid Dynamics - Aviation blue tint with cyan mix */
.bg-fluid .eye {
    border-color: #00FFCC;
    background: rgba(0, 255, 204, 0.1);
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.5);
}

.bg-fluid .iris {
    background: radial-gradient(circle at 30% 30%, #00FFCC, #354F58);
}

/* Gravity Wells - Aviation blue with chrome yellow accents */
.bg-gravity .eye {
    border-color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.bg-gravity .iris {
    background: radial-gradient(circle at 30% 30%, #FFD700, #354F58);
}

/* Neural Pulse - Cyan pulse with heritage red nodes */
.bg-neural .eye {
    border-color: #00D7D7;
    background: rgba(0, 215, 215, 0.1);
    box-shadow: 0 0 30px rgba(0, 215, 215, 0.5);
}

.bg-neural .iris {
    background: radial-gradient(circle at 30% 30%, #00D7D7, #B22222);
}

/* Quantum Field - Insignia blue with cyan interference */
.bg-quantum .eye {
    border-color: #003087;
    background: rgba(0, 48, 135, 0.1);
    box-shadow: 0 0 30px rgba(0, 48, 135, 0.5);
}

.bg-quantum .iris {
    background: radial-gradient(circle at 30% 30%, #00D7D7, #003087);
}

/* Update label colors based on background */
.bg-fluid .eye-label {
    color: #00FFCC;
    text-shadow: 0 0 20px rgba(0, 255, 204, 0.8);
}

.bg-gravity .eye-label {
    color: #FFD700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.bg-neural .eye-label {
    color: #00D7D7;
    text-shadow: 0 0 20px rgba(0, 215, 215, 0.8);
}

.bg-quantum .eye-label {
    color: #003087;
    text-shadow: 0 0 20px rgba(0, 48, 135, 0.8);
}


/* ===== CTA SECTION ===== */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--starfield-blue) 0%, var(--deep-space) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: background 0.8s ease;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 204, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Outfit', 'Futura PT', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--plasma-cyan);
    text-shadow: 0 0 40px var(--glow-cyan);
    letter-spacing: -0.02em;
    transition: color 0.8s ease, text-shadow 0.8s ease;
}

.cta-content p {
    font-size: 1.3rem;
    color: var(--cream-white);
    margin-bottom: 3rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* CTA section theme variations */
.bg-fluid .cta-section {
    background: linear-gradient(135deg, #354F58 0%, #0A0E1A 100%);
}

.bg-fluid .cta-content h2 {
    color: #00FFCC;
    text-shadow: 0 0 40px rgba(0, 255, 204, 0.5);
}

.bg-gravity .cta-section {
    background: linear-gradient(135deg, #1A1A0A 0%, #0A0E1A 100%);
}

.bg-gravity .cta-content h2 {
    color: #FFD700;
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.5);
}

.bg-neural .cta-section {
    background: linear-gradient(135deg, #1A0A0A 0%, #0A0E1A 100%);
}

.bg-neural .cta-content h2 {
    color: #00D7D7;
    text-shadow: 0 0 40px rgba(0, 215, 215, 0.5);
}

.bg-quantum .cta-section {
    background: linear-gradient(135deg, #0A0A1A 0%, #0A0E1A 100%);
}

.bg-quantum .cta-content h2 {
    color: #003087;
    text-shadow: 0 0 40px rgba(0, 48, 135, 0.5);
}

.btn-cta {
    background: linear-gradient(135deg, var(--heritage-red) 0%, var(--signal-red) 100%);
    color: var(--white);
    padding: 20px 40px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 6px 30px rgba(178, 34, 34, 0.4);
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    transition: left 0.5s ease;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(178, 34, 34, 0.6);
}

.btn-cta:hover::before {
    left: 100%;
}


/* ===== CONTACT SECTION ===== */
.contact-minimal {
    padding: 6rem 0 4rem;
    position: relative;
    z-index: 2;
    background: transparent;
}

.contact-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--plasma-cyan);
    letter-spacing: -0.01em;
    text-shadow: 0 0 20px var(--glow-cyan);
    font-family: 'Outfit', 'Futura PT', sans-serif;
    transition: color 0.8s ease, text-shadow 0.8s ease;
}

.contact-intro {
    font-size: 1.1rem;
    color: var(--cream-white);
    opacity: 0.8;
    margin-bottom: 3rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* Contact section theme variations */
.bg-fluid .contact-content h2 {
    color: #00FFCC;
    text-shadow: 0 0 20px rgba(0, 255, 204, 0.5);
}

.bg-gravity .contact-content h2 {
    color: #FFD700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.bg-neural .contact-content h2 {
    color: #00D7D7;
    text-shadow: 0 0 20px rgba(0, 215, 215, 0.5);
}

.bg-quantum .contact-content h2 {
    color: #003087;
    text-shadow: 0 0 20px rgba(0, 48, 135, 0.5);
}


/* ===== CONTACT FORM - SOPHISTICATED STYLE ===== */
.labs-contact-form {
    background: rgba(15, 20, 35, 0.95);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 20px;
    padding: 48px;
    margin: 40px auto;
    backdrop-filter: blur(30px);
    text-align: left;
    max-width: 600px;
    box-shadow: 
        0 0 0 1px rgba(0, 255, 255, 0.1),
        0 10px 50px rgba(0, 0, 0, 0.7),
        0 0 80px var(--glow-cyan);
    position: relative;
    transition: border-color 0.8s ease, box-shadow 0.8s ease;
}

/* Form theme variations */
.bg-fluid .labs-contact-form {
    border-color: rgba(0, 255, 204, 0.3);
    box-shadow: 
        0 0 0 1px rgba(0, 255, 204, 0.1),
        0 10px 50px rgba(0, 0, 0, 0.7),
        0 0 80px rgba(0, 255, 204, 0.5);
}

.bg-gravity .labs-contact-form {
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 
        0 0 0 1px rgba(255, 215, 0, 0.1),
        0 10px 50px rgba(0, 0, 0, 0.7),
        0 0 80px rgba(255, 215, 0, 0.5);
}

.bg-neural .labs-contact-form {
    border-color: rgba(0, 215, 215, 0.3);
    box-shadow: 
        0 0 0 1px rgba(0, 215, 215, 0.1),
        0 10px 50px rgba(0, 0, 0, 0.7),
        0 0 80px rgba(0, 215, 215, 0.5);
}

.bg-quantum .labs-contact-form {
    border-color: rgba(0, 48, 135, 0.3);
    box-shadow: 
        0 0 0 1px rgba(0, 48, 135, 0.1),
        0 10px 50px rgba(0, 0, 0, 0.7),
        0 0 80px rgba(0, 48, 135, 0.5);
}


.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 30px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group label {
    color: var(--plasma-cyan);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: 'JetBrains Mono', monospace;
    text-shadow: 0 0 10px var(--glow-cyan);
    transition: color 0.8s ease, text-shadow 0.8s ease;
}

/* Form label theme variations */
.bg-fluid .form-group label {
    color: #00FFCC;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
}

.bg-gravity .form-group label {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.bg-neural .form-group label {
    color: #00D7D7;
    text-shadow: 0 0 10px rgba(0, 215, 215, 0.5);
}

.bg-quantum .form-group label {
    color: #003087;
    text-shadow: 0 0 10px rgba(0, 48, 135, 0.5);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(10, 14, 26, 0.8);
    border: 2px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--cream-white);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--plasma-cyan);
    box-shadow: 0 0 20px var(--glow-cyan);
    background: rgba(10, 14, 26, 0.9);
}

/* Form input theme variations */
.bg-fluid .form-group input,
.bg-fluid .form-group select,
.bg-fluid .form-group textarea {
    border-color: rgba(0, 255, 204, 0.2);
}

.bg-fluid .form-group input:focus,
.bg-fluid .form-group select:focus,
.bg-fluid .form-group textarea:focus {
    border-color: #00FFCC;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.5);
}

.bg-gravity .form-group input,
.bg-gravity .form-group select,
.bg-gravity .form-group textarea {
    border-color: rgba(255, 215, 0, 0.2);
}

.bg-gravity .form-group input:focus,
.bg-gravity .form-group select:focus,
.bg-gravity .form-group textarea:focus {
    border-color: #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.bg-neural .form-group input,
.bg-neural .form-group select,
.bg-neural .form-group textarea {
    border-color: rgba(0, 215, 215, 0.2);
}

.bg-neural .form-group input:focus,
.bg-neural .form-group select:focus,
.bg-neural .form-group textarea:focus {
    border-color: #00D7D7;
    box-shadow: 0 0 20px rgba(0, 215, 215, 0.5);
}

.bg-quantum .form-group input,
.bg-quantum .form-group select,
.bg-quantum .form-group textarea {
    border-color: rgba(0, 48, 135, 0.2);
}

.bg-quantum .form-group input:focus,
.bg-quantum .form-group select:focus,
.bg-quantum .form-group textarea:focus {
    border-color: #003087;
    box-shadow: 0 0 20px rgba(0, 48, 135, 0.5);
}

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

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

.labs-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 24px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--heritage-red) 0%, var(--signal-red) 100%);
    color: var(--cream-white);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 6px 20px rgba(178, 34, 34, 0.4);
}

.labs-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(178, 34, 34, 0.5);
    background: linear-gradient(135deg, var(--signal-red) 0%, var(--heritage-red) 100%);
}

.submit-icon {
    width: 20px;
    height: 20px;
}

.contact-link {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--aviation-blue);
    text-decoration: none;
    letter-spacing: 0.05em;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    margin-top: 2rem;
    text-shadow: 0 0 10px rgba(53, 79, 88, 0.3);
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--aviation-blue);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-link:hover {
    color: var(--insignia-blue);
    text-shadow: 0 0 15px rgba(53, 79, 88, 0.5);
}

.contact-link:hover::after {
    width: 100%;
    background: var(--insignia-blue);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }
    
    .nav-cta {
        display: none !important;
    }
    
    .hamburger {
        display: flex !important;
    }
    
    .hero-title {
        font-size: clamp(3rem, 15vw, 6rem);
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .contact-content h2 {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .zone-content {
        height: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .bg-controls-buttons {
        flex-wrap: wrap;
        justify-content: center;
        max-width: 90vw;
    }
    
    .bg-control-btn {
        font-size: 11px;
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {
    .bg-controls-buttons {
        gap: 10px;
        padding: 10px 15px;
    }
    
    .bg-control-btn {
        font-size: 10px;
        padding: 6px 12px;
    }
    
    .bg-controls-label {
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 18vw, 5rem);
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .contact-content h2 {
        font-size: 1.75rem;
    }
}

/* ===== EXPERIMENTS SHOWCASE ===== */
.experiments-showcase {
    padding: 2rem 0 6rem;
    position: relative;
    z-index: 2;
    background: transparent;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.experiments-showcase .container {
    max-width: none;
    padding: 0;
}

.experiments-container {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 0;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    height: 80vh;
    min-height: 600px;
    padding: 0;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

/* Navigation Sidebar */
.experiments-nav {
    background: rgba(10, 14, 26, 0.95);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 0;
    border-right: none;
    border-left: none;
    padding: 0;
    backdrop-filter: blur(20px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
}

.experiments-header {
    padding: 1rem;
    margin: 0;
    background: transparent;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.experiments-title {
    font-family: 'Outfit', 'Futura PT', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--plasma-cyan);
    text-shadow: 0 0 20px var(--glow-cyan);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.experiments-subtitle {
    font-size: 0.9rem;
    color: var(--cream-white);
    opacity: 0.7;
    margin: 0.5rem 0 0;
    font-family: 'JetBrains Mono', monospace;
}

/* Tree Structure */
.experiments-tree {
    padding: 0;
    overflow-y: auto;
    flex: 1;
}

.tree-category {
    margin-bottom: 0;
}

.tree-category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem 1rem 0;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.3s ease;
    color: var(--cream-white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    margin: 0;
}

.tree-category-header:hover {
    background: rgba(0, 255, 255, 0.1);
}

.tree-category-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.tree-category.collapsed .tree-category-arrow {
    transform: rotate(-90deg);
}

.tree-category-icon {
    opacity: 0.8;
}

.tree-category-items {
    padding: 0;
    margin: 0;
}

.tree-category.collapsed .tree-category-items {
    display: none;
}

/* Tree Items */
.tree-item {
    padding: 1rem 2rem 1rem 0;
    margin: 0;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.3s ease;
    border: none;
    border-left: 0px solid transparent;
}

.tree-item:hover {
    background: rgba(0, 255, 255, 0.1);
    border-left-color: var(--plasma-cyan);
}

.tree-item.active {
    background: rgba(0, 255, 255, 0.15);
    border-left-color: var(--plasma-cyan);
}

.tree-item-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tree-item-icon {
    width: 24px;
    text-align: center;
    opacity: 0.7;
    color: var(--plasma-cyan);
    font-size: 1rem;
}

.tree-item-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.tree-item-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--cream-white);
}

.tree-item-desc {
    font-size: 0.75rem;
    color: var(--cream-white);
    opacity: 0.6;
    font-family: 'JetBrains Mono', monospace;
}

/* Experiment Display Area */
.experiment-display {
    background: rgba(10, 14, 26, 0.95);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 0;
    border-left: none;
    border-right: none;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
}

.experiment-frame {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

.experiment-frame.active {
    display: block;
}

.experiment-frame canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.experiment-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}


/* Welcome Screen */
.welcome-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 3rem;
}


.welcome-title {
    font-family: 'Outfit', 'Futura PT', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--plasma-cyan);
    text-shadow: 0 0 40px var(--glow-cyan);
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.welcome-subtitle {
    font-size: 1.2rem;
    color: var(--cream-white);
    opacity: 0.8;
    max-width: 500px;
}

/* Theme variations for experiments */
.bg-fluid .experiments-header h2 {
    color: #00FFCC;
    text-shadow: 0 0 30px rgba(0, 255, 204, 0.5);
}

.bg-fluid .experiments-tree,
.bg-fluid .experiment-display {
    border-color: rgba(0, 255, 204, 0.2);
}

.bg-fluid .tree-node:hover,
.bg-fluid .tree-item:hover {
    background: rgba(0, 255, 204, 0.1);
    color: #00FFCC;
}

.bg-gravity .experiments-header h2 {
    color: #FFD700;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.bg-gravity .experiments-tree,
.bg-gravity .experiment-display {
    border-color: rgba(255, 215, 0, 0.2);
}

.bg-gravity .tree-node:hover,
.bg-gravity .tree-item:hover {
    background: rgba(255, 215, 0, 0.1);
    color: #FFD700;
}

.bg-neural .experiments-header h2 {
    color: #00D7D7;
    text-shadow: 0 0 30px rgba(0, 215, 215, 0.5);
}

.bg-neural .experiments-tree,
.bg-neural .experiment-display {
    border-color: rgba(0, 215, 215, 0.2);
}

.bg-neural .tree-node:hover,
.bg-neural .tree-item:hover {
    background: rgba(0, 215, 215, 0.1);
    color: #00D7D7;
}

.bg-quantum .experiments-header h2 {
    color: #003087;
    text-shadow: 0 0 30px rgba(0, 48, 135, 0.5);
}

.bg-quantum .experiments-tree,
.bg-quantum .experiment-display {
    border-color: rgba(0, 48, 135, 0.2);
}

.bg-quantum .tree-node:hover,
.bg-quantum .tree-item:hover {
    background: rgba(0, 48, 135, 0.1);
    color: #003087;
}

/* Scrollbar styling for tree */
.experiments-tree::-webkit-scrollbar {
    width: 8px;
}

.experiments-tree::-webkit-scrollbar-track {
    background: rgba(0, 255, 255, 0.05);
    border-radius: 4px;
}

.experiments-tree::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 255, 0.2);
    border-radius: 4px;
}

.experiments-tree::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 968px) {
    .experiments-container {
        grid-template-columns: 1fr;
        height: auto;
        padding: 0 1rem;
    }
    
    .experiments-nav {
        max-height: 300px;
    }
    
    .experiment-display {
        height: 500px;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    body::before {
        animation: none;
    }
    
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* Focus styles for keyboard navigation */
button:focus,
a:focus {
    outline: 3px solid var(--brass-gold);
    outline-offset: 3px;
}

/* ================================================
   FOOTER - DARK MODE
   ================================================ */
footer {
    background: rgba(10, 14, 26, 0.98);
    color: var(--cream-white);
    padding: 80px 0 40px;
    position: relative;
    backdrop-filter: blur(20px);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--heritage-red) 0%, var(--aviation-blue) 50%, var(--heritage-red) 100%);
    transition: background 0.8s ease;
}

/* Footer theme variations */
.bg-starfield footer::before {
    background: linear-gradient(90deg, var(--heritage-red) 0%, var(--plasma-cyan) 50%, var(--heritage-red) 100%);
}

.bg-fluid footer::before {
    background: linear-gradient(90deg, #00FFCC 0%, #354F58 50%, #00FFCC 100%);
}

.bg-gravity footer::before {
    background: linear-gradient(90deg, #FFD700 0%, #354F58 50%, #FFD700 100%);
}

.bg-neural footer::before {
    background: linear-gradient(90deg, #00D7D7 0%, #B22222 50%, #00D7D7 100%);
}

.bg-quantum footer::before {
    background: linear-gradient(90deg, #003087 0%, #00D7D7 50%, #003087 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 48px;
}

.footer-brand h3 {
    font-family: 'Outfit', 'Futura PT', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-brand p {
    line-height: 1.7;
    margin-bottom: 24px;
    color: var(--cream-white);
}

.footer-section h4 {
    font-weight: 700;
    color: var(--aviation-blue);
    margin-bottom: 20px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(53, 79, 88, 0.3);
    transition: color 0.8s ease, text-shadow 0.8s ease;
}

/* Footer section header theme variations */
.bg-starfield .footer-section h4 {
    color: var(--plasma-cyan);
    text-shadow: 0 0 10px var(--glow-cyan);
}

.bg-fluid .footer-section h4 {
    color: #00FFCC;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
}

.bg-gravity .footer-section h4 {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.bg-neural .footer-section h4 {
    color: #00D7D7;
    text-shadow: 0 0 10px rgba(0, 215, 215, 0.5);
}

.bg-quantum .footer-section h4 {
    color: #003087;
    text-shadow: 0 0 10px rgba(0, 48, 135, 0.5);
}

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

.footer-section ul li {
    margin-bottom: 16px;
}

.footer-section ul li a {
    color: var(--cream-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--aviation-blue);
    text-shadow: 0 0 10px rgba(53, 79, 88, 0.5);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 2px solid var(--brass-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brass-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--brass-gold);
    color: var(--deep-space);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(181, 166, 66, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(53, 79, 88, 0.3);
    padding-top: 32px;
    text-align: center;
    font-size: 14px;
    color: var(--cream-white);
}