/* ==========================================================================
   eBSSL Mobile App Development Dedicated Stylesheet
   Features: Static Orbital Stage (Without Rotation Animation),
   Precision Smartphone Device Frame, Brand Tooltips, Methodology Cards
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Orbit Geometry & Responsive Radius (Static Orbit)
   -------------------------------------------------------------------------- */
:root {
    --orbit-radius: 260px;
}

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

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

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

/* --------------------------------------------------------------------------
   2. Circular Orbit Track Lines (Subtle High-Tech Rings)
   -------------------------------------------------------------------------- */
.ebssl-orbit-track {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(var(--orbit-radius) * 2);
    height: calc(var(--orbit-radius) * 2);
    border-radius: 50%;
    border: 1.5px solid rgba(0, 132, 255, 0.22);
    box-shadow: 0 0 28px rgba(0, 132, 255, 0.08), inset 0 0 28px rgba(0, 132, 255, 0.05);
    pointer-events: none;
    z-index: 5;
}

.ebssl-orbit-track-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(var(--orbit-radius) * 1.85);
    height: calc(var(--orbit-radius) * 1.85);
    border-radius: 50%;
    border: 1.5px dashed rgba(16, 185, 129, 0.25);
    pointer-events: none;
    z-index: 4;
}

/* --------------------------------------------------------------------------
   3. Static Orbital Badges (Fixed Angular Positions - NO ROTATION ANIMATION)
   -------------------------------------------------------------------------- */
.ebssl-static-orbit-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    z-index: 25;
}

/* 8 Symmetrical Static Positions (45° apart) */
.ebssl-static-orbit-item-1 { transform: rotate(0deg) translateY(calc(-1 * var(--orbit-radius))) rotate(0deg); }
.ebssl-static-orbit-item-2 { transform: rotate(45deg) translateY(calc(-1 * var(--orbit-radius))) rotate(-45deg); }
.ebssl-static-orbit-item-3 { transform: rotate(90deg) translateY(calc(-1 * var(--orbit-radius))) rotate(-90deg); }
.ebssl-static-orbit-item-4 { transform: rotate(135deg) translateY(calc(-1 * var(--orbit-radius))) rotate(-135deg); }
.ebssl-static-orbit-item-5 { transform: rotate(180deg) translateY(calc(-1 * var(--orbit-radius))) rotate(-180deg); }
.ebssl-static-orbit-item-6 { transform: rotate(225deg) translateY(calc(-1 * var(--orbit-radius))) rotate(-225deg); }
.ebssl-static-orbit-item-7 { transform: rotate(270deg) translateY(calc(-1 * var(--orbit-radius))) rotate(-270deg); }
.ebssl-static-orbit-item-8 { transform: rotate(315deg) translateY(calc(-1 * var(--orbit-radius))) rotate(-315deg); }

.ebssl-badge-box {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.ebssl-badge-box:hover {
    transform: translate(-50%, -50%) scale(1.22);
    z-index: 40;
}

.ebssl-badge-tooltip {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(11, 26, 48, 0.92);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 50;
}

.ebssl-badge-box:hover .ebssl-badge-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(2px);
}

/* --------------------------------------------------------------------------
   4. Ambient Backdrop Lighting Disks
   -------------------------------------------------------------------------- */
.ebssl-phone-backdrop-shade {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(500px, 92vw);
    height: min(500px, 92vw);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.28) 0%, rgba(56, 189, 248, 0.22) 45%, transparent 70%);
    filter: blur(48px);
    pointer-events: none;
    z-index: 1;
}

.ebssl-phone-dome-disk {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(420px, 82vw);
    height: min(420px, 82vw);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(240, 253, 250, 0.85) 0%, rgba(238, 242, 255, 0.85) 100%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 15px 35px rgba(0, 132, 255, 0.08);
    pointer-events: none;
    z-index: 2;
}

/* --------------------------------------------------------------------------
   5. Smartphone Showcase Chassis Frame
   -------------------------------------------------------------------------- */
.ebssl-phone-wrapper {
    position: relative;
    z-index: 10;
    width: 250px;
    height: 490px;
    background: #090e17;
    border-radius: 44px;
    border: 5px solid #1e293b;
    box-shadow: 0 25px 60px -15px rgba(11, 26, 48, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
    padding: 10px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.ebssl-phone-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 75px -15px rgba(0, 132, 255, 0.25), 0 0 0 1.5px rgba(0, 132, 255, 0.4);
}

@media (min-width: 640px) {
    .ebssl-phone-wrapper {
        width: 265px;
        height: 520px;
        border-radius: 48px;
        border-width: 6px;
    }
}

.ebssl-phone-notch {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 78px;
    height: 18px;
    background: #000000;
    border-radius: 12px;
    z-index: 30;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.ebssl-phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 36px;
    background: linear-gradient(180deg, #0f172a 0%, #0b1324 100%);
    overflow: hidden;
    position: relative;
}

.ebssl-phone-shadow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 24px;
    background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.32) 0%, transparent 70%);
    filter: blur(8px);
    pointer-events: none;
    z-index: 0;
}

/* --------------------------------------------------------------------------
   6. Feature & Capability Cards
   -------------------------------------------------------------------------- */
.mad-feature-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.mad-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -12px rgba(0, 132, 255, 0.12);
    border-color: rgba(0, 132, 255, 0.35);
}

.mad-tech-pill {
    transition: all 0.2s ease;
}

.mad-tech-pill:hover {
    background: #0084ff;
    color: #ffffff;
    border-color: #0084ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 132, 255, 0.25);
}
