/* ============================================
   SECTORS PAGE - 2026 CIRCULAR ORBIT LAYOUT
   Rotating Bubbles, Central Hub, Interactive
   ============================================ */

/* Hero Section */
.sectors-hero-orbit {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    overflow: hidden;
}

.hero-stars-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent);
    background-size: 200px 200px;
    background-position: 0 0, 40px 60px, 130px 270px;
    animation: starsFloat 60s linear infinite;
}

@keyframes starsFloat {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-200px);
    }
}

.hero-content-orbit {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge-orbit {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 9999px;
    color: #60a5fa;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.hero-title-orbit {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.gradient-text-orbit {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle-orbit {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-stats-orbit {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.stat-orbit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number-orbit {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label-orbit {
    font-size: 0.875rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Orbit Section */
.orbit-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #f8fafc 0%, #f1f5f9 100%);
    min-height: 100vh;
}

.container-orbit {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.orbit-instructions {
    text-align: center;
    margin-bottom: 3rem;
}

.orbit-instructions p {
    font-size: 1.125rem;
    color: #64748b;
    font-weight: 600;
}

.orbit-instructions i {
    color: #3b82f6;
    margin-right: 0.5rem;
}

/* Orbit Container */
.orbit-container {
    position: relative;
    width: 800px;
    height: 800px;
    margin: 0 auto;
}

/* Central Hub */
.central-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    z-index: 10;
}

.hub-pulse {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 3px solid #3b82f6;
    opacity: 0.5;
    animation: hubPulse 3s ease infinite;
}

@keyframes hubPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.hub-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 20px 60px -20px rgba(59, 130, 246, 0.6);
}

.hub-inner i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.hub-inner span {
    font-size: 1.25rem;
    font-weight: 800;
}

/* Orbit Ring */
.orbit-ring {
    position: absolute;
    inset: 0;
    animation: rotateOrbit 60s linear infinite;
}

@keyframes rotateOrbit {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Sector Bubbles */
.sector-bubble {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;
    transform:
        translate(-50%, -50%) rotate(var(--orbit-angle)) translateY(-300px) rotate(calc(-1 * var(--orbit-angle)));
    cursor: pointer;
    transition: all 0.4s ease;
}

.sector-bubble:hover {
    transform:
        translate(-50%, -50%) rotate(var(--orbit-angle)) translateY(-320px) rotate(calc(-1 * var(--orbit-angle))) scale(1.1);
}

.sector-bubble.active {
    transform:
        translate(-50%, -50%) rotate(var(--orbit-angle)) translateY(-320px) rotate(calc(-1 * var(--orbit-angle))) scale(1.2);
    z-index: 20;
}

.bubble-glow-orbit {
    position: absolute;
    inset: -15px;
    background: radial-gradient(circle, var(--sector-color) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(20px);
}

.sector-bubble:hover .bubble-glow-orbit,
.sector-bubble.active .bubble-glow-orbit {
    opacity: 0.6;
}

.bubble-content-orbit {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.bubble-content-orbit i {
    font-size: 2.5rem;
    color: var(--sector-color);
    margin-bottom: 0.5rem;
}

.bubble-content-orbit span {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

/* Connection SVG */
.connection-svg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.connection-line {
    transition: opacity 0.3s ease;
}

/* Sector Details Panel */
.sector-details-panel {
    position: fixed;
    right: -500px;
    top: 0;
    width: 500px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: right 0.4s ease;
    overflow-y: auto;
}

.sector-details-panel.active {
    right: 0;
}

.close-panel {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background: #ef4444;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.close-panel:hover {
    transform: rotate(90deg);
    background: #dc2626;
}

.panel-content {
    padding: 4rem 2rem 2rem;
}

.panel-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
}

.sector-summary {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.panel-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 2rem 0 1rem;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.detail-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #475569;
}

.detail-list i {
    color: #3b82f6;
    margin-top: 0.25rem;
}

.roles-list,
.locations-list {
    color: #64748b;
    line-height: 1.6;
}

.panel-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
}

.btn-panel-primary,
.btn-panel-secondary {
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-panel-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 10px 25px -10px rgba(59, 130, 246, 0.4);
}

.btn-panel-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -10px rgba(59, 130, 246, 0.6);
}

.btn-panel-secondary {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.btn-panel-secondary:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.5);
}

/* Compliance Section */
.compliance-section-orbit {
    padding: 6rem 0;
    background: #fff;
}

.compliance-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.compliance-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
}

.compliance-content>p {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 3rem;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.compliance-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 1rem;
    border: 2px solid #e2e8f0;
}

.compliance-item i {
    font-size: 1.5rem;
    color: #10b981;
}

.compliance-item span {
    font-weight: 600;
    color: #0f172a;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .orbit-container {
        width: 600px;
        height: 600px;
    }

    .sector-bubble {
        transform:
            translate(-50%, -50%) rotate(var(--orbit-angle)) translateY(-220px) rotate(calc(-1 * var(--orbit-angle)));
    }
}

@media (max-width: 768px) {
    .hero-title-orbit {
        font-size: 2.5rem;
    }

    .hero-stats-orbit {
        flex-direction: column;
        gap: 1.5rem;
    }

    .orbit-container {
        width: 400px;
        height: 400px;
    }

    .sector-bubble {
        width: 100px;
        height: 100px;
        transform:
            translate(-50%, -50%) rotate(var(--orbit-angle)) translateY(-150px) rotate(calc(-1 * var(--orbit-angle)));
    }

    .bubble-content-orbit i {
        font-size: 1.5rem;
    }

    .bubble-content-orbit span {
        font-size: 0.75rem;
    }

    .sector-details-panel {
        width: 100%;
        right: -100%;
    }

    .compliance-grid {
        grid-template-columns: 1fr;
    }
}