/* ==========================================
   Statistics Section Styles
   ========================================== */

.stats-section {
    background: var(--color-primary);
    padding: var(--space-16) 0;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: var(--space-6);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-base);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.4);
}

.stat-number {
    font-size: var(--text-6xl);
    font-weight: var(--font-extrabold);
    line-height: 1;
    margin-bottom: var(--space-3);
    color: var(--color-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-description {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
    margin-top: var(--space-2);
}

/* ==========================================
   Improved Section Headers
   ========================================== */

.section-header-enhanced {
    text-align: center;
    margin-bottom: var(--space-16);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title-enhanced {
    font-size: var(--text-5xl);
    font-weight: var(--font-extrabold);
    color: var(--color-gray-900);
    margin-bottom: var(--space-4);
    position: relative;
    display: inline-block;
}

.section-title-enhanced::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: var(--radius-full);
}

.section-subtitle-enhanced {
    font-size: var(--text-xl);
    color: var(--color-gray-600);
    line-height: 1.7;
    margin-top: var(--space-8);
}

/* ==========================================
   Improved Spacing
   ========================================== */

.section-padding-lg {
    padding-top: var(--space-24);
    padding-bottom: var(--space-24);
}

.section-padding-xl {
    padding-top: 120px;
    padding-bottom: 120px;
}

/* ==========================================
   Enhanced Cards with Better Shadows
   ========================================== */

.card-enhanced {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05),
        0 10px 20px rgba(158, 48, 57, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(158, 48, 57, 0.08);
}

.card-enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05),
        0 20px 40px rgba(158, 48, 57, 0.15);
    border-color: rgba(158, 48, 57, 0.2);
}

/* ==========================================
   Icon Boxes
   ========================================== */

.icon-box {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: var(--radius-2xl);
    color: var(--color-white);
    margin-bottom: var(--space-6);
    box-shadow: 0 8px 20px rgba(158, 48, 57, 0.3);
    transition: all var(--transition-base);
}

.icon-box:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(158, 48, 57, 0.4);
}

/* ==========================================
   Responsive Improvements
   ========================================== */

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }

    .stat-number {
        font-size: var(--text-4xl);
    }

    .section-title-enhanced {
        font-size: var(--text-3xl);
    }

    .section-subtitle-enhanced {
        font-size: var(--text-lg);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}