/**
 * ==============================================================================
 * eBSSL - Cyber Security & Cloud DevOps Service Stylesheet
 * Static Non-Animated Orbit, Interactive Cyber SOC / Server Console Mockup
 * ==============================================================================
 */

:root {
    --orbit-radius: 260px;
}

@media (max-width: 1280px) {
    :root {
        --orbit-radius: 235px;
    }
}

@media (max-width: 1024px) {
    :root {
        --orbit-radius: 210px;
    }
}

@media (max-width: 640px) {
    :root {
        --orbit-radius: 165px;
    }
}

/* -------------------------------------------------------------------------- */
/* Orbital Stage & Static Circular Tracks (NO ROTATION ANIMATION)              */
/* -------------------------------------------------------------------------- */
.ebssl-orbit-stage {
    position: relative;
    width: 100%;
    max-width: 620px;
    height: 620px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 640px) {
    .ebssl-orbit-stage {
        height: 420px;
        max-width: 420px;
    }
}

.ebssl-orbit-track {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 9999px;
    pointer-events: none;
}

.ebssl-orbit-track-outer {
    width: calc(var(--orbit-radius) * 2);
    height: calc(var(--orbit-radius) * 2);
    border: 1.5px dashed rgba(99, 102, 241, 0.4); /* Indigo/cyan cyber accent */
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.1), inset 0 0 25px rgba(6, 182, 212, 0.08);
}

.ebssl-orbit-track-inner {
    width: calc(var(--orbit-radius) * 1.45);
    height: calc(var(--orbit-radius) * 1.45);
    border: 1px solid rgba(0, 132, 255, 0.25);
}

/* -------------------------------------------------------------------------- */
/* Static Angular Positioning for 8 Cloud & Security Badges                   */
/* Pure static geometry without CSS rotation animation                         */
/* -------------------------------------------------------------------------- */
.ebssl-orbit-item-static {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 52px;
    height: 52px;
    margin-top: -26px;
    margin-left: -26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.12), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    z-index: 30;
}

@media (max-width: 640px) {
    .ebssl-orbit-item-static {
        width: 42px;
        height: 42px;
        margin-top: -21px;
        margin-left: -21px;
    }
}

/* 8 Fixed Angles (0deg, 45deg, 90deg, 135deg, 180deg, 225deg, 270deg, 315deg) */
.ebssl-badge-0   { transform: rotate(0deg)   translateY(calc(-1 * var(--orbit-radius))) rotate(0deg); }
.ebssl-badge-45  { transform: rotate(45deg)  translateY(calc(-1 * var(--orbit-radius))) rotate(-45deg); }
.ebssl-badge-90  { transform: rotate(90deg)  translateY(calc(-1 * var(--orbit-radius))) rotate(-90deg); }
.ebssl-badge-135 { transform: rotate(135deg) translateY(calc(-1 * var(--orbit-radius))) rotate(-135deg); }
.ebssl-badge-180 { transform: rotate(180deg) translateY(calc(-1 * var(--orbit-radius))) rotate(-180deg); }
.ebssl-badge-225 { transform: rotate(225deg) translateY(calc(-1 * var(--orbit-radius))) rotate(-225deg); }
.ebssl-badge-270 { transform: rotate(270deg) translateY(calc(-1 * var(--orbit-radius))) rotate(-270deg); }
.ebssl-badge-315 { transform: rotate(315deg) translateY(calc(-1 * var(--orbit-radius))) rotate(-315deg); }

/* Static Hover Scaling */
.ebssl-badge-0:hover   { transform: rotate(0deg)   translateY(calc(-1 * var(--orbit-radius))) rotate(0deg) scale(1.22); z-index: 45; }
.ebssl-badge-45:hover  { transform: rotate(45deg)  translateY(calc(-1 * var(--orbit-radius))) rotate(-45deg) scale(1.22); z-index: 45; }
.ebssl-badge-90:hover  { transform: rotate(90deg)  translateY(calc(-1 * var(--orbit-radius))) rotate(-90deg) scale(1.22); z-index: 45; }
.ebssl-badge-135:hover { transform: rotate(135deg) translateY(calc(-1 * var(--orbit-radius))) rotate(-135deg) scale(1.22); z-index: 45; }
.ebssl-badge-180:hover { transform: rotate(180deg) translateY(calc(-1 * var(--orbit-radius))) rotate(-180deg) scale(1.22); z-index: 45; }
.ebssl-badge-225:hover { transform: rotate(225deg) translateY(calc(-1 * var(--orbit-radius))) rotate(-225deg) scale(1.22); z-index: 45; }
.ebssl-badge-270:hover { transform: rotate(270deg) translateY(calc(-1 * var(--orbit-radius))) rotate(-270deg) scale(1.22); z-index: 45; }
.ebssl-badge-315:hover { transform: rotate(315deg) translateY(calc(-1 * var(--orbit-radius))) rotate(-315deg) scale(1.22); z-index: 45; }

/* -------------------------------------------------------------------------- */
/* Tooltip Popover on Hover                                                   */
/* -------------------------------------------------------------------------- */
.ebssl-badge-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    padding: 0.35rem 0.75rem;
    border-radius: 0.65rem;
    background: #0b1a30;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 10px 25px -4px rgba(11, 26, 48, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 50;
}

.ebssl-badge-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #0b1a30 transparent transparent transparent;
}

.ebssl-orbit-item-static:hover .ebssl-badge-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* -------------------------------------------------------------------------- */
/* Central 3D Cyber Security Shield Emblem                                    */
/* -------------------------------------------------------------------------- */
.ebssl-shield-stage {
    position: relative;
    width: 260px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

@media (max-width: 640px) {
    .ebssl-shield-stage {
        width: 200px;
        height: 235px;
    }
}

.ebssl-shield-stage:hover {
    transform: translateY(-6px) scale(1.05);
}

.ebssl-shield-aura {
    position: absolute;
    inset: -15px;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(0, 132, 255, 0.32) 0%, rgba(6, 182, 212, 0.18) 45%, transparent 70%);
    filter: blur(18px);
    pointer-events: none;
    z-index: 0;
    animation: ebsslAuraPulse 4s ease-in-out infinite;
}

@keyframes ebsslAuraPulse {
    0%, 100% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1.08); opacity: 1; }
}

.ebssl-shield-svg-box {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
    filter: drop-shadow(0 20px 30px rgba(11, 26, 48, 0.4)) drop-shadow(0 0 25px rgba(0, 132, 255, 0.3));
    transition: filter 0.4s ease;
}

.ebssl-shield-stage:hover .ebssl-shield-svg-box {
    filter: drop-shadow(0 25px 45px rgba(0, 132, 255, 0.5)) drop-shadow(0 0 35px rgba(6, 182, 212, 0.6));
}

/* Floor Shadow under Shield */
.ebssl-shield-floor-shadow {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 18px;
    background: radial-gradient(ellipse at center, rgba(0, 132, 255, 0.35) 0%, rgba(11, 26, 48, 0.25) 45%, transparent 70%);
    border-radius: 9999px;
    filter: blur(6px);
    pointer-events: none;
    z-index: 1;
}

/* -------------------------------------------------------------------------- */
/* Capability Cards & Methodology Styles                                      */
/* -------------------------------------------------------------------------- */
.ebssl-card-hover {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ebssl-card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px -8px rgba(0, 132, 255, 0.12), 0 0 0 1px rgba(0, 132, 255, 0.25);
}

.ebssl-step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 1rem;
    font-weight: 900;
    font-size: 1.1rem;
    color: #ffffff;
    box-shadow: 0 8px 16px -4px rgba(0, 132, 255, 0.3);
}
