/* =======================
   STATISTICS SECTION STYLES
   ======================= */

.stats-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
    opacity: 0.5;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--text-white);
    transition: all 0.4s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(-5deg);
    background: rgba(255, 255, 255, 0.3);
}

.stat-number {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    line-height: 1;
}

.stat-label {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 20px;
    font-weight: 500;
}

.stat-trend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.stat-trend.positive {
    color: var(--success-light);
}

.stat-trend i {
    font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
    .stats-section {
        padding: 80px 20px;
    }

    .stats-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }

    .stat-item {
        padding: 30px 20px;
    }

    .stat-number {
        font-size: 48px;
    }

    .stat-label {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .stats-section {
        padding: 60px 15px;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .stat-item {
        padding: 30px 25px;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .stat-number {
        font-size: 42px;
    }

    .stat-label {
        font-size: 16px;
    }

    .stat-trend {
        font-size: 14px;
    }
}
