/* ==================== AI HERO ANIMATION (RESTORED FROM BACKUP) ==================== */
/* Container Fixes */
.nova-hud-interface {
    width: 498px;
    height: 300px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.hud-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
    background-image: linear-gradient(rgba(0, 198, 255, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 198, 255, 0.3) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Original Backup Styles */
.ai-orbit-system {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* CENTERED, NO SCALE */
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.ai-core-center {
    position: absolute;
    width: 130px;
    height: 130px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    animation: float-logo 4s ease-in-out infinite;
}

.core-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
    z-index: 11;
}

.core-logo-glow {
    position: absolute;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.2) 0%, rgba(0, 242, 254, 0.1) 50%, transparent 70%);
    filter: blur(20px);
    z-index: 9;
    animation: pulse-glow 3s ease-in-out infinite;
}

.orbit-track {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    transform-style: preserve-3d;
}

.track-1 {
    width: 170px;
    height: 170px;
    border-color: rgba(79, 172, 254, 0.15);
    animation: spin-slow 20s linear infinite;
}

.track-2 {
    width: 230px;
    height: 230px;
    border-color: rgba(16, 163, 127, 0.15);
    animation: spin-reverse 25s linear infinite;
}

.track-3 {
    width: 290px;
    height: 290px;
    border-color: rgba(245, 158, 11, 0.15);
    animation: spin-slow 30s linear infinite;
}

.ai-node {
    position: absolute;
    width: 36px;
    height: 36px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.ai-node:hover {
    transform: scale(1.3);
    z-index: 20;
    border-color: #fff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
}

.ai-node svg {
    width: 20px;
    height: 20px;
    margin-bottom: 0;
}

.ai-label {
    font-size: 9px;
    color: #fff;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.3s ease;
    position: absolute;
    bottom: -20px;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.8);
    padding: 3px 6px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-node:hover .ai-label {
    opacity: 1;
}

/* Animations */
@keyframes spin-slow {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin-reverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

@keyframes float-logo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Node Orbits (Radii from Backup) */
@keyframes orbit-gemini {
    0% {
        transform: rotate(0deg) translateY(-85px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateY(-85px) rotate(-360deg);
    }
}

@keyframes orbit-gpt {
    0% {
        transform: rotate(120deg) translateY(-115px) rotate(-120deg);
    }

    100% {
        transform: rotate(480deg) translateY(-115px) rotate(-480deg);
    }
}

@keyframes orbit-grok {
    0% {
        transform: rotate(240deg) translateY(-145px) rotate(-240deg);
    }

    100% {
        transform: rotate(600deg) translateY(-145px) rotate(-600deg);
    }
}

@keyframes orbit-zai {
    0% {
        transform: rotate(180deg) translateY(-115px) rotate(-180deg);
    }

    100% {
        transform: rotate(540deg) translateY(-115px) rotate(-540deg);
    }
}

@keyframes orbit-claude {
    0% {
        transform: rotate(60deg) translateY(-145px) rotate(-60deg);
    }

    100% {
        transform: rotate(420deg) translateY(-145px) rotate(-420deg);
    }
}

@keyframes orbit-llama {
    0% {
        transform: rotate(300deg) translateY(-85px) rotate(-300deg);
    }

    100% {
        transform: rotate(660deg) translateY(-85px) rotate(-660deg);
    }
}

@keyframes orbit-brain {
    0% {
        transform: rotate(0deg) translateY(-115px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateY(-115px) rotate(-360deg);
    }
}

/* Assign Animations to Nodes */
.node-gemini {
    animation: orbit-gemini 15s linear infinite;
    box-shadow: 0 0 10px rgba(79, 172, 254, 0.3);
    border-color: rgba(79, 172, 254, 0.4);
}

.node-gpt {
    animation: orbit-gpt 20s linear infinite;
    box-shadow: 0 0 10px rgba(16, 163, 127, 0.3);
    border-color: rgba(16, 163, 127, 0.4);
}

.node-grok {
    animation: orbit-grok 25s linear infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.node-zai {
    animation: orbit-zai 18s linear infinite reverse;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
    border-color: rgba(245, 158, 11, 0.4);
}

.node-claude {
    animation: orbit-claude 22s linear infinite;
    box-shadow: 0 0 10px rgba(217, 119, 87, 0.3);
    border-color: rgba(217, 119, 87, 0.4);
}

.node-llama {
    animation: orbit-llama 28s linear infinite reverse;
    box-shadow: 0 0 10px rgba(6, 104, 225, 0.3);
    border-color: rgba(6, 104, 225, 0.4);
}

.node-brain {
    animation: orbit-brain 35s linear infinite;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
    border-color: rgba(168, 85, 247, 0.5);
}