/* =========================================================================
   ANTIGRAVITY V4 CALIBRATION OVERRIDES
   ========================================================================= */

/* 1. Atmosphere Node */
.navbar::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 150px;
    background: #E63B2E;
    filter: blur(100px);
    opacity: 0.12;
    z-index: -1;
    pointer-events: none;
}

.particle-field-local {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20vh;
    pointer-events: none;
    z-index: -1;
    background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: ambient-drift 40s linear infinite;
}

@keyframes ambient-drift {
    0% {
        background-position: 0px 0px;
    }

    100% {
        background-position: 100px 100px;
    }
}

/* 2. Brand Node SVG Contrast */
.nav-container .logo img {
    filter: brightness(0) invert(1) !important;
}

/* 3. Spatial Nav Routing */
.nav-container {
    justify-content: space-between !important;
    position: relative;
    padding-left: clamp(2rem, 5vw, 4rem) !important;
}

.spatial-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 32px;
}

@media (max-width: 900px) {
    .spatial-nav {
        display: none;
    }
}

.magnetic-zone-cta {
    margin-left: auto;
}

/* 4. Hero Text Shadow Override */
.hero-title,
.hero-subtitle {
    text-shadow: 0px 4px 20px rgba(0, 0, 0, 0.8);
}

/* 6. HolographicViewport Placeholder */
.holographic-viewport {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16/9;
    margin: 40px auto 0 auto;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.4s ease;
}

.holographic-viewport:hover {
    transform: scale(1.02);
    border-color: rgba(230, 59, 46, 0.4);
    /* #E63B2E glow */
}

.pulse-icon {
    width: 64px;
    height: 64px;
    background: #E63B2E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 0 rgba(230, 59, 46, 0.7);
    animation: pulse-red 2s infinite;
    margin-bottom: 16px;
}

.pulse-icon svg {
    fill: white;
    margin-left: 4px;
    /* Optical alignment for play icon */
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 59, 46, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(230, 59, 46, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(230, 59, 46, 0);
    }
}

/* 7. Kinetic Trust Badges */
.badge-array {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
}

.hypercapsule-badge {
    background: #111111;
    border: 1px solid #333333;
    padding: 10px 24px;
    border-radius: 100px;
    color: #FFFFFF;
    font-family: 'Space Mono', 'IBM Plex Mono', monospace;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatY 3s ease-in-out infinite;
}

.hypercapsule-badge:nth-child(2) {
    animation-delay: 0.5s;
}

.hypercapsule-badge:nth-child(3) {
    animation-delay: 1s;
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* 9. Luminance & Scale Override */
h2,
h3 {
    font-size: calc(var(--base-scale, 1) * 1.4) !important;
}

h2 {
    --base-scale: 3rem;
}

h3 {
    --base-scale: 1.5rem;
}

:root {
    --text-primary: #E8E4DD;
    /* Paper */
    --text-secondary: #A0A0A5;
    /* Light Gray */
    --text-heading: #FFFFFF;
}