/* ==================== ECOSSISTEMA ==================== */
.ecosystem-section {
    background: var(--bg-deep);
    position: relative;
    overflow: hidden;
}

.ecosystem-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 108, 240, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.ecosystem-container {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#ecosystem-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.ecosystem-nodes {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.eco-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: var(--transition-spring);
    cursor: default;
}

.eco-node:hover {
    transform: scale(1.1);
}

.eco-node-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--glow-secondary);
    transition: var(--transition-smooth);
    backdrop-filter: blur(20px);
}

.eco-node:hover .eco-node-icon {
    border-color: var(--border-glow);
    box-shadow: 0 0 30px rgba(30, 108, 240, 0.3);
    color: #fff;
}

.eco-node-center .eco-node-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-elevated);
    border-color: var(--border-glow);
    box-shadow: 0 0 40px rgba(30, 108, 240, 0.3);
}

.eco-node-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

/* Posições */
.eco-node-center { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.eco-node-1 { top: 15%; left: 25%; }
.eco-node-2 { top: 15%; right: 25%; }
.eco-node-3 { bottom: 15%; right: 20%; }
.eco-node-4 { bottom: 15%; left: 20%; }
.eco-node-5 { top: 50%; right: 8%; transform: translateY(-50%); }