/* =============================================================================
   STATS SECTION STYLES
   ============================================================================= */

/* Stats Section */
.stats {
    background: linear-gradient(135deg, 
        rgba(248, 250, 252, 0.9) 0%, 
        rgba(240, 253, 244, 0.7) 50%, 
        rgba(249, 250, 251, 0.9) 100%);
    backdrop-filter: blur(10px);
}

.stats-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.1s forwards;
}

.stats-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    box-shadow: 0 10px 40px var(--shadow-light);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.stat-card:nth-child(1) { animation-delay: 0.2s; }
.stat-card:nth-child(2) { animation-delay: 0.3s; }
.stat-card:nth-child(3) { animation-delay: 0.4s; }
.stat-card:nth-child(4) { animation-delay: 0.5s; }

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 60px var(--shadow-medium);
}

.stat-icon {
    font-size: 48px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 15px rgba(16, 185, 129, 0.4));
    animation: pulse 2s ease-in-out infinite;
}

.stat-card:nth-child(2) .stat-icon { animation-delay: 0.5s; }
.stat-card:nth-child(3) .stat-icon { animation-delay: 1s; }
.stat-card:nth-child(4) .stat-icon { animation-delay: 1.5s; }

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.stat-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
}

/* Modernization Benefits */
.modernization-benefits {
    max-width: 1000px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.modernization-benefits h3 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 50px;
    font-family: 'Montserrat', sans-serif;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.7);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.benefit-item:nth-child(1) { animation-delay: 0.7s; }
.benefit-item:nth-child(2) { animation-delay: 0.8s; }
.benefit-item:nth-child(3) { animation-delay: 0.9s; }
.benefit-item:nth-child(4) { animation-delay: 1s; }

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-light);
}

.benefit-icon {
    font-size: 36px;
    margin-bottom: 15px;
    display: block;
    filter: drop-shadow(0 2px 10px rgba(16, 185, 129, 0.3));
    animation: bounce 2s ease-in-out infinite;
}

.benefit-item:nth-child(2) .benefit-icon { animation-delay: 0.5s; }
.benefit-item:nth-child(3) .benefit-icon { animation-delay: 1s; }
.benefit-item:nth-child(4) .benefit-icon { animation-delay: 1.5s; }

.benefit-item h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.benefit-item p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

/* Animations */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .stats-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stat-card,
    .benefit-item {
        padding: 30px 20px;
    }
    
    .modernization-benefits h3 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .stat-number {
        font-size: 36px;
    }
    
    .stat-icon,
    .benefit-icon {
        font-size: 32px;
    }
    
    .stat-card h3 {
        font-size: 20px;
    }
    
    .benefit-item h4 {
        font-size: 18px;
    }
}