/* --- Infrastructure & Topography Map Section --- */
.infra-section {
    background-color: #020617; /* Deep tech dark blue */
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.infra-header {
    text-align: center;
    position: relative;
    z-index: 10;
    margin-bottom: 60px;
}

.infra-header h2 {
    font-size: 42px;
    color: var(--white);
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.infra-header h3 {
    font-size: 22px;
    color: var(--bizz-green);
    margin-bottom: 15px;
}

.infra-header p {
    color: #94a3b8;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* The Animated Network Container */
.network-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 500px;
    margin: 0 auto 60px;
    background: radial-gradient(circle at center, rgba(0, 179, 89, 0.05) 0%, transparent 70%);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
}

/* SVG Fiber Lines */
.fiber-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* The physical data streams */
.data-stream {
    fill: none;
    stroke: rgba(0, 179, 89, 0.2);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 10 150;
    animation: flowData 3s linear infinite;
}

/* Staggered timings so data flows independently to each DC */
.delay-1 { animation-delay: 0s; stroke-dasharray: 15 100; animation-duration: 2.5s; }
.delay-2 { animation-delay: 1.2s; stroke-dasharray: 20 200; animation-duration: 4s; }
.delay-3 { animation-delay: 0.5s; stroke-dasharray: 10 120; }
.delay-4 { animation-delay: 2s; stroke-dasharray: 25 180; animation-duration: 3.5s; }
.delay-5 { animation-delay: 0.8s; stroke-dasharray: 15 150; }

@keyframes flowData {
    from { stroke-dashoffset: 1000; }
    to { stroke-dashoffset: 0; }
}

/* General Node Styling */
.node {
    position: absolute;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translate(-50%, -50%);
}

.node i {
    color: var(--bizz-green);
    background: rgba(0, 179, 89, 0.1);
    border: 1px solid rgba(0, 179, 89, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 179, 89, 0.2);
}

.node-label {
    margin-top: 15px;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    background: rgba(0,0,0,0.6);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    white-space: nowrap;
}

/* Center Core Router */
.core-node { top: 50%; left: 50%; }
.core-node i {
    width: 90px;
    height: 90px;
    font-size: 40px;
    background: rgba(0, 68, 204, 0.2);
    border-color: #0044cc;
    color: var(--white);
    box-shadow: 0 0 30px rgba(0, 68, 204, 0.5);
    animation: corePulse 2s infinite;
}
.core-node .node-label strong { display: block; color: #ffd700; font-size: 16px; }
.core-node .node-label span { font-size: 11px; color: #94a3b8; }

/* The 5 City DCs */
.city-node i { width: 50px; height: 50px; font-size: 20px; }
.pos-1 { top: 30%; left: 15%; }
.pos-2 { top: 70%; left: 15%; }
.pos-3 { top: 16%; left: 50%; }
.pos-4 { top: 30%; left: 85%; }
.pos-5 { top: 70%; left: 85%; }

/* Radar Ping Animation for City Nodes */
.ping {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--bizz-green);
    animation: radarPing 3s infinite ease-out;
    pointer-events: none;
}
.pos-2 .ping { animation-delay: 0.5s; }
.pos-4 .ping { animation-delay: 1.5s; }

/* Keyframes */
@keyframes corePulse {
    0% { transform: scale(1); box-shadow: 0 0 30px rgba(0, 68, 204, 0.5); }
    50% { transform: scale(1.05); box-shadow: 0 0 50px rgba(0, 68, 204, 0.8); }
    100% { transform: scale(1); box-shadow: 0 0 30px rgba(0, 68, 204, 0.5); }
}

@keyframes radarPing {
    0% { width: 50px; height: 50px; opacity: 1; }
    100% { width: 120px; height: 120px; opacity: 0; }
}

/* Bottom Text Description Grid */
.infra-text-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 10;
}
.infra-desc {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}
.infra-desc i { font-size: 32px; color: #0044cc; margin-bottom: 20px; }
.infra-desc h4 { color: var(--white); font-size: 20px; margin-bottom: 12px; }
.infra-desc p { color: #94a3b8; line-height: 1.7; font-size: 15px; }

/* Responsive adjustments */
@media (max-width: 900px) {
    .network-container { display: none; }
    .infra-text-grid { grid-template-columns: 1fr; }
}
