/* =========================================
   ECOSYSTEM ORBIT - FUTURISTIC LIGHT THEME
   ========================================= */

.ecosystem-orbit-section {
    position: relative;
    padding: 120px 0;
    background: #ffffff;
    overflow: hidden;
    color: #0f172a;
}

/* Futuristic Background Pattern - Light Version */
.ecosystem-orbit-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 2px 2px, rgba(13, 148, 136, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

.ecosystem-orbit-section .section-title {
    color: #0f172a;
}

.ecosystem-orbit-section .section-desc {
    color: #64748b !important;
}

.ecosystem-orbit-section .section-line {
    background-color: #0f172a;
    opacity: 0.1;
}

.partners-circle-container {
    position: relative;
    width: 100%;
    height: 80vh;
    /* Increased from 70vh */
    min-height: 850px;
    /* Increased from 650px to fit full 750px orbit */
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    margin-bottom: 3rem;
}

.partners-circle {
    position: relative;
    width: 750px;
    height: 750px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Central Hub - Light Glassmorphism */
.center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
    /* Reduced from 160px */
    height: 130px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    box-shadow:
        0 15px 50px rgba(13, 148, 136, 0.15),
        inset 0 0 20px rgba(13, 148, 136, 0.05);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(13, 148, 136, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse-hub-light 4s infinite ease-in-out;
}

@keyframes pulse-hub-light {

    0%,
    100% {
        box-shadow: 0 15px 50px rgba(13, 148, 136, 0.15);
    }

    50% {
        box-shadow: 0 15px 70px rgba(13, 148, 136, 0.25);
        border-color: rgba(13, 148, 136, 0.4);
    }
}

.center-logo:hover {
    transform: translate(-50%, -50%) scale(1.05);
    background: #ffffff;
    border-color: #0d9488;
}

.center-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    /* Reduced gap */
    text-decoration: none;
    width: 100%;
    height: 100%;
    padding: 15px;
    /* Reduced padding */
}

.center-content img {
    width: 35px;
    /* Reduced from 45px */
    height: 35px;
    object-fit: contain;
    border-radius: 12px;
}

.center-content h4 {
    font-size: 0.85rem;
    /* Reduced from 1rem */
    font-weight: 800;
    margin: 0;
    color: #0f172a;
    letter-spacing: 0.02em;
}

.center-content p {
    font-size: 0.5rem;
    /* Reduced from 0.6rem */
    margin: 0;
    color: #000000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Orbit Rings - Balanced Radii */
.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 3px solid rgba(226, 232, 240, 0.8);
    pointer-events: none;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.02);
}

/* Moving Light Segment Animation - Deeper Teal for Contrast */
.orbit-ring::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #0d9488;
    animation: rotate-orbit linear infinite;
}

@keyframes rotate-orbit {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.ring-1 {
    width: 320px;
    height: 320px;
    /* Radius 160px */
}

.ring-1::before {
    animation-duration: 25s;
}

.ring-2 {
    width: 560px;
    height: 560px;
    /* Radius 280px */
    border-style: dashed;
    border-width: 1.5px;
    border-color: rgba(13, 148, 136, 0.15);
}

.ring-2::before {
    animation-duration: 40s;
    border-top-color: #14b8a6;
    animation-direction: reverse;
}

.ring-3 {
    width: 720px;
    height: 720px;
    /* Radius 360px */
    border-style: solid;
    border-width: 1px;
    opacity: 0.4;
}

.ring-3::before {
    animation-duration: 60s;
    opacity: 0.2;
}

/* Glowing Data Particles in Light */
.orbit-ring::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #0d9488;
    border-radius: 50%;
    top: -5.5px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(13, 148, 136, 0.5);
}

/* Partner Logo Upgrades */
.partner-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    transition: z-index 0.3s;
}

.partner-orbit:hover {
    z-index: 2000;
    /* Ensure the entire container sits above others when hovered */
}

/* Base style for circling app logos */
.partner-logo {
    position: absolute;
    /* Restoring position */
    width: 125px;
    /* Increased for better fit */
    height: 125px;
    background: #ffffff;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: translate(-50%, -50%);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    padding: 6px;
    /* overflow: hidden; Removed to allow tooltips to show */
}

.partner-logo img {
    width: auto;
    /* flexible width */
    max-width: 110%;
    /* don't overflow horizontally */
    height: 25px;
    /* Increased height to show full logo */
    object-fit: contain;
    border-radius: 6px;
    /* subtle radius */
    margin: 0 0 4px 0;
    display: block;
}

.partner-logo .app-name {
    font-size: 0.75rem;
    /* Slight adjust for 125px */
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
}

.partner-logo .app-tagline {
    font-size: 0.6rem;
    /* Larger tagline */
    font-weight: 600;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

.partner-logo:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: #ffffff;
    border-color: #0d9488;
    box-shadow: 0 15px 35px rgba(13, 148, 136, 0.15);
}

/* Positioning radii - Balanced Spacing */
.partner-orbit.item-1 {
    transform: rotate(calc(0deg + var(--orbit-angle, 0deg))) translate(160px) rotate(calc(0deg - var(--orbit-angle, 0deg)));
}

.partner-orbit.item-3 {
    transform: rotate(calc(180deg + var(--orbit-angle, 0deg))) translate(160px) rotate(calc(-180deg - var(--orbit-angle, 0deg)));
}

.partner-orbit.item-4 {
    transform: rotate(calc(45deg + var(--orbit-angle, 0deg))) translate(280px) rotate(calc(-45deg - var(--orbit-angle, 0deg)));
}

.partner-orbit.item-5 {
    transform: rotate(calc(135deg + var(--orbit-angle, 0deg))) translate(280px) rotate(calc(-135deg - var(--orbit-angle, 0deg)));
}

.partner-orbit.item-6 {
    transform: rotate(calc(225deg + var(--orbit-angle, 0deg))) translate(280px) rotate(calc(-225deg - var(--orbit-angle, 0deg)));
}

.partner-orbit.item-7 {
    transform: rotate(calc(315deg + var(--orbit-angle, 0deg))) translate(280px) rotate(calc(-315deg - var(--orbit-angle, 0deg)));
}

/* Tooltips */
.partner-logo .tooltip,
.center-logo .tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #0f172a;
    color: white;
    padding: 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    width: 260px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 2000;
}

.partner-logo:hover .tooltip,
.center-logo:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Technical Badge & HUD Elements - Light Version */
.technical-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(13, 148, 136, 0.05);
    border: 1px solid rgba(13, 148, 136, 0.2);
    border-radius: 4px;
    color: #000000;
    /* Black text */
    font-family: monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.technical-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(13, 148, 136, 0.1), transparent);
    animation: scan-light 3s infinite linear;
}

@keyframes scan-light {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.hud-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid rgba(13, 148, 136, 0.15);
    z-index: 5;
    pointer-events: none;
}

.hud-corner.tl {
    top: 40px;
    left: 40px;
    border-right: none;
    border-bottom: none;
}

.hud-corner.tr {
    top: 40px;
    right: 40px;
    border-left: none;
    border-bottom: none;
}

.hud-corner.bl {
    bottom: 20px;
    /* Moved up to be visible */
    left: 40px;
    border-right: none;
    border-top: none;
}

.hud-corner.br {
    bottom: 20px;
    /* Moved up to be visible */
    right: 40px;
    border-left: none;
    border-top: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .partners-circle-container {
        height: 60vh;
        min-height: 500px;
    }

    .partners-circle {
        width: 500px;
        height: 500px;
    }

    .ring-3 {
        width: 500px;
        height: 500px;
    }

    .ring-2 {
        width: 380px;
        height: 380px;
    }

    .ring-1 {
        width: 220px;
        height: 220px;
    }

    .center-logo {
        width: 140px;
        height: 140px;
    }

    .partner-logo {
        width: 100px;
        height: 100px;
    }

    .partner-orbit.item-1 {
        transform: rotate(0deg) translate(110px) rotate(0deg);
    }

    .partner-orbit.item-3 {
        transform: rotate(180deg) translate(110px) rotate(-180deg);
    }

    .partner-orbit.item-4 {
        transform: rotate(45deg) translate(190px) rotate(-45deg);
    }

    .partner-orbit.item-5 {
        transform: rotate(135deg) translate(190px) rotate(-135deg);
    }

    .partner-orbit.item-6 {
        transform: rotate(225deg) translate(190px) rotate(-225deg);
    }

    .partner-orbit.item-7 {
        transform: rotate(315deg) translate(190px) rotate(-315deg);
    }
}

@media (max-width: 768px) {
    .partners-circle-container {
        height: 450px;
        min-height: 450px;
    }

    .partners-circle {
        width: 340px;
        height: 340px;
    }

    .ring-3 {
        width: 340px;
        height: 340px;
        opacity: 0.1;
    }

    .ring-2 {
        display: none;
    }

    .ring-1 {
        width: 200px;
        height: 200px;
    }

    .center-logo {
        width: 120px;
        height: 120px;
    }

    .partner-logo {
        width: 80px;
        height: 80px;
    }

    .partner-logo img {
        width: 22px;
        height: 22px;
    }

    .partner-logo .app-name {
        font-size: 0.55rem;
    }

    .partner-orbit.item-1 {
        transform: rotate(0deg) translate(100px) rotate(0deg);
    }

    .partner-orbit.item-3 {
        transform: rotate(180deg) translate(100px) rotate(-180deg);
    }

    /* Put outer items on same ring for mobile to save space */
    .partner-orbit.item-4 {
        transform: rotate(45deg) translate(100px) rotate(-45deg);
    }

    .partner-orbit.item-5 {
        transform: rotate(135deg) translate(100px) rotate(-135deg);
    }

    .partner-orbit.item-6 {
        transform: rotate(225deg) translate(100px) rotate(-225deg);
    }

    .partner-orbit.item-7 {
        transform: rotate(315deg) translate(100px) rotate(-315deg);
    }

    .hud-corner {
        width: 15px;
        height: 15px;
    }

    .hud-corner.tl {
        top: 15px;
        left: 15px;
    }

    .hud-corner.tr {
        top: 15px;
        right: 15px;
    }

    .hud-corner.bl {
        bottom: 15px;
        left: 15px;
    }

    .hud-corner.br {
        bottom: 15px;
        right: 15px;
    }
}

/* Descriptions Grid Revert to Light */
.values-grid .value-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    padding: 2.5rem;
    /* Better padding */
}

.values-grid .value-card h3 {
    color: #000000;
    /* Use black color as requested */
    margin-bottom: 1rem;
}

.values-grid .value-card p {
    color: #64748b;
}

.values-grid .value-card:hover {
    background: #ffffff;
    border-color: #0d9488;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}