@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes networkPulse {
    0% {
        r: 5;
        opacity: 1;
    }
    100% {
        r: 15;
        opacity: 0;
    }
}

.hero-content {
    animation: fadeIn 1s ease-out;
}

.service-card {
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.trust-item {
    animation: fadeIn 0.8s ease-out;
    animation-fill-mode: both;
}

.trust-item:nth-child(1) { animation-delay: 0.1s; }
.trust-item:nth-child(2) { animation-delay: 0.2s; }
.trust-item:nth-child(3) { animation-delay: 0.3s; }
.trust-item:nth-child(4) { animation-delay: 0.4s; }

.network-node {
    animation: pulse 2s infinite;
}

.local-link {
    /* Solid lines, no animation */
}

.backhaul-link {
    stroke-dasharray: 8, 4;
    animation: backhaulPulse 3s ease-in-out infinite, dash 15s linear infinite;
    filter: drop-shadow(0 0 3px rgba(245, 166, 35, 0.5));
}

@keyframes dash {
    to {
        stroke-dashoffset: -100;
    }
}

@keyframes backhaulPulse {
    0%, 100% {
        stroke-width: 2.5;
        opacity: 0.6;
    }
    50% {
        stroke-width: 3.5;
        opacity: 1;
    }
}

.scroll-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-background .network-animation {
    position: relative;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}