/* ================================================
   TRICORE PARTNERS - ORBITAL LOGO
   Concept O: Fusion (F + L) - Cosmic/Space Theme
   ================================================ */

/* Logo Mark Container */
.logo-mark {
    width: 40px;
    height: 40px;
    position: relative;
    flex-shrink: 0;
}

/* Central core */
.logo-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--color-white, #FFFFFF);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--color-white, #FFFFFF);
    z-index: 10;
}

/* Orbital rings */
.logo-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid;
    border-radius: 50%;
    animation: orbit-spin 6s linear infinite;
}

.logo-orbit:nth-child(1) {
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    border-color: rgba(99, 102, 241, 0.5);
    animation-duration: 4s;
}

.logo-orbit:nth-child(2) {
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
    border-color: rgba(139, 92, 246, 0.4);
    animation-duration: 6s;
    animation-direction: reverse;
}

.logo-orbit:nth-child(3) {
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border-color: rgba(236, 72, 153, 0.3);
    animation-duration: 8s;
}

/* Orbiting particles */
.logo-orbit::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    background: currentColor;
    border-radius: 50%;
    box-shadow: 0 0 6px currentColor;
}

.logo-orbit:nth-child(1)::after {
    top: -2.5px;
    left: 50%;
    transform: translateX(-50%);
    background: #6366F1;
    box-shadow: 0 0 6px #6366F1;
}

.logo-orbit:nth-child(2)::after {
    top: 50%;
    right: -2.5px;
    transform: translateY(-50%);
    background: #8B5CF6;
    box-shadow: 0 0 6px #8B5CF6;
}

.logo-orbit:nth-child(3)::after {
    bottom: -2.5px;
    left: 50%;
    transform: translateX(-50%);
    background: #EC4899;
    box-shadow: 0 0 6px #EC4899;
}

@keyframes orbit-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ================================================
   LARGE ORBITAL LOGO (for Hero sections)
   ================================================ */

.hero-orbital {
    width: 350px;
    height: 350px;
    position: relative;
    margin: 0 auto 4rem;
}

/* Large central core */
.hero-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, #FFFFFF 0%, rgba(255,255,255,0.5) 50%, transparent 70%);
    border-radius: 50%;
    box-shadow: 0 0 60px #FFFFFF, 0 0 100px rgba(255,255,255,0.5);
    animation: core-glow 3s ease-in-out infinite;
}

@keyframes core-glow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

/* Hero orbit rings */
.hero-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 2px solid;
    border-radius: 50%;
    animation: orbit-spin linear infinite;
}

.hero-orbit:nth-child(1) {
    width: 120px;
    height: 120px;
    margin: -60px 0 0 -60px;
    border-color: rgba(99, 102, 241, 0.4);
    animation-duration: 8s;
}

.hero-orbit:nth-child(2) {
    width: 200px;
    height: 200px;
    margin: -100px 0 0 -100px;
    border-color: rgba(139, 92, 246, 0.3);
    animation-duration: 12s;
    animation-direction: reverse;
}

.hero-orbit:nth-child(3) {
    width: 300px;
    height: 300px;
    margin: -150px 0 0 -150px;
    border-color: rgba(236, 72, 153, 0.2);
    animation-duration: 16s;
}

/* Orbiting planets */
.hero-orbit::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    box-shadow: 0 0 20px currentColor;
}

.hero-orbit:nth-child(1)::after {
    width: 16px;
    height: 16px;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #6366F1;
    box-shadow: 0 0 20px #6366F1;
}

.hero-orbit:nth-child(2)::after {
    width: 20px;
    height: 20px;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    background: #8B5CF6;
    box-shadow: 0 0 20px #8B5CF6;
}

.hero-orbit:nth-child(3)::after {
    width: 14px;
    height: 14px;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    background: #EC4899;
    box-shadow: 0 0 20px #EC4899;
}

/* ================================================
   FOOTER LOGO VARIANT
   ================================================ */

.footer .logo-mark {
    width: 40px;
    height: 40px;
}

.footer .logo-core {
    width: 8px;
    height: 8px;
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

@media (max-width: 768px) {
    .logo-mark {
        width: 36px;
        height: 36px;
    }

    .logo-orbit:nth-child(1) {
        width: 20px;
        height: 20px;
        margin: -10px 0 0 -10px;
    }

    .logo-orbit:nth-child(2) {
        width: 28px;
        height: 28px;
        margin: -14px 0 0 -14px;
    }

    .logo-orbit:nth-child(3) {
        width: 36px;
        height: 36px;
        margin: -18px 0 0 -18px;
    }

    .logo-orbit::after {
        width: 4px;
        height: 4px;
    }

    .logo-orbit:nth-child(1)::after {
        top: -2px;
    }

    .logo-orbit:nth-child(2)::after {
        right: -2px;
    }

    .logo-orbit:nth-child(3)::after {
        bottom: -2px;
    }

    .hero-orbital {
        width: 250px;
        height: 250px;
    }

    .hero-core {
        width: 30px;
        height: 30px;
    }

    .hero-orbit:nth-child(1) {
        width: 80px;
        height: 80px;
        margin: -40px 0 0 -40px;
    }

    .hero-orbit:nth-child(2) {
        width: 140px;
        height: 140px;
        margin: -70px 0 0 -70px;
    }

    .hero-orbit:nth-child(3) {
        width: 200px;
        height: 200px;
        margin: -100px 0 0 -100px;
    }
}
