/* hierarchy.css - Tactical Hierarchy View */
.org-viewport {
    position: relative;
    padding: 6rem 1rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow-x: hidden;
}

.org-connectors {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 0;
}

.org-path {
    fill: none;
    stroke: rgba(255, 179, 0, 0.1);
    stroke-width: 2;
    stroke-linecap: round;
    transition: all 1s ease;
}

.org-path.active {
    stroke: var(--gold);
    stroke-width: 3;
    filter: drop-shadow(0 0 10px var(--gold));
    opacity: 0.6;
}

.data-pulse {
    stroke-dasharray: 4, 100;
    animation: pulseFlow 4s linear infinite;
    stroke: #FFF;
    stroke-width: 4;
}

@keyframes pulseFlow {
    to { stroke-dashoffset: -104; }
}

.org-card {
    background: rgba(13, 13, 21, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 2rem;
    width: 280px;
    max-width: 90vw;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 10;
}

.org-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--gold);
    background: rgba(20, 20, 30, 0.95);
}

.org-card.ceo {
    width: 360px;
    max-width: 95vw;
    border: 2px solid var(--gold);
    background: radial-gradient(circle at center, rgba(255,179,0,0.1), transparent);
}

.org-avatar {
    width: 72px; height: 72px; border-radius: 20px;
    border: 2px solid var(--gold); background: #000;
    margin-bottom: 1.5rem; padding: 4px;
}

.org-node-container { margin-bottom: 4rem; }

.floor-container {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 3rem; width: 100%; max-width: 1400px;
}

.org-card.department {
    border-bottom: 4px solid var(--floor-color);
    padding: 2rem;
}

.agent-satellites {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.satellite-node {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--floor-color, var(--gold));
    padding: 6px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 20;
}

.satellite-node img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    filter: grayscale(1) brightness(0.8);
    transition: all 0.3s;
}

.satellite-node:hover {
    transform: scale(1.3) translateY(-5px);
    box-shadow: 0 0 20px var(--floor-color, var(--gold));
    border-color: #FFF;
    background: #000;
}

.satellite-node:hover img {
    filter: grayscale(0) brightness(1);
}
