/* ===== CLIENT-TECHSTACK SPECIFIC STYLES ===== */

/* ===== ORBIT DISPLAY ===== */
.orbit-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1;
    margin: 0 auto;
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(0, 212, 170, 0.12);
    border: 2px solid rgba(0, 212, 170, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: 0 0 40px rgba(0, 212, 170, 0.15);
}

.orbit-center img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

/* Orbit rings */
.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.orbit-ring.ring-1 {
    width: 40%;
    height: 40%;
}

.orbit-ring.ring-2 {
    width: 65%;
    height: 65%;
}

.orbit-ring.ring-3 {
    width: 90%;
    height: 90%;
}

/* Client bubbles */
.client-bubble {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 4;
}

.client-bubble span {
    font-size: 0.6rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.bubble-inner {
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    cursor: pointer;
}

.bubble-inner:hover {
    background: rgba(0, 212, 170, 0.15);
    border-color: rgba(0, 212, 170, 0.3);
    color: var(--primary);
    transform: scale(1.1);
}

/* Bubble sizes — bigger closer to center */
.client-bubble.size-lg .bubble-inner {
    width: 80px;
    height: 80px;
    font-size: 1.6rem;
    animation: bubblePulse 4s ease-in-out infinite;
}

.client-bubble.size-md .bubble-inner {
    width: 65px;
    height: 65px;
    font-size: 1.2rem;
    animation: bubblePulse 5s ease-in-out infinite 0.5s;
}

.client-bubble.size-sm .bubble-inner {
    width: 52px;
    height: 52px;
    font-size: 1rem;
    animation: bubblePulse 3.5s ease-in-out infinite 1s;
}

@keyframes bubblePulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.06);
        opacity: 0.85;
    }
}

/* ===== TECH STACK CATEGORIES ===== */
.tech-category {
    display: flex;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 14px;
}

.tech-label {
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-lr;
    text-orientation: mixed;
    transform: rotate(180deg);
    padding: 16px 10px;
    min-width: 42px;
    background: linear-gradient(180deg, rgba(0, 212, 170, 0.2), rgba(56, 189, 248, 0.12));
    border-right: 1px solid var(--glass-border);
    flex-shrink: 0;
}

/* Alternate: even categories have label on the RIGHT */
.tech-category:nth-child(even) {
    flex-direction: row-reverse;
}

.tech-category:nth-child(even) .tech-label {
    border-right: none;
    border-left: 1px solid var(--glass-border);
}

.tech-label span {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--primary);
}

.tech-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 20px 28px;
    flex: 1;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 72px;
    flex: 1;
    padding: 12px 4px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.tech-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.tech-item:hover .tech-icon {
    background: rgba(0, 212, 170, 0.12);
    border-color: rgba(0, 212, 170, 0.3);
    color: var(--primary);
}

.tech-item span {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
    white-space: nowrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .orbit-container {
        max-width: 340px;
    }

    .orbit-center {
        width: 52px;
        height: 52px;
    }

    .orbit-center img {
        width: 32px;
        height: 32px;
    }

    .client-bubble.size-lg .bubble-inner {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }

    .client-bubble.size-md .bubble-inner {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .client-bubble.size-sm .bubble-inner {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }

    .tech-row {
        padding: 12px 16px;
        gap: 4px;
    }

    .tech-item {
        min-width: 56px;
    }

    .tech-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .tech-item span {
        font-size: 0.6rem;
    }

    .tech-label {
        padding: 10px 6px;
        min-width: 32px;
    }

    .tech-label span {
        font-size: 0.55rem;
        letter-spacing: 1.5px;
    }
}