/* ===================================
   AysimaPOS Landing Page - Stats Section
   Modern SaaS Design - Variables Based
   =================================== */

.stats-section {
    background: #ffffff;
    padding: var(--spacing-8) 0;
}

.stats-section .section-content-wrapper {
    background: linear-gradient(135deg, #0d9488 0%, #0891b2 50%, #6366f1 100%);
    padding: var(--spacing-8);
    border-radius: 16px;
    max-width: 1280px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-10) var(--spacing-6);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-duration-300) var(--transition-timing-function-out);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    display: none;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}
    background: #ffffff;
}

.stat-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-full);
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-6);
    transition: all var(--transition-duration-300) var(--transition-timing-function-out);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.stat-card:hover .stat-icon {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.35);
}

.stat-icon i {
    font-size: var(--font-size-4xl);
    color: #ffffff;
}

.stat-number {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-extrabold);
    color: #ffffff;
    margin-bottom: var(--spacing-2);
    display: block;
    line-height: var(--line-height-none);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* SEO: Plus sign now in HTML for Google indexing */
.stat-number .stat-plus {
    color: rgba(255, 255, 255, 0.9);
    margin-left: 2px;
}

.stat-label {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.95);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 0;
    line-height: var(--line-height-tight);
}

/* Counter Animation */
.stat-number.counting {
    animation: countPulse 0.3s ease-out;
}

@keyframes countPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .stats-section {
        padding: var(--spacing-12) 0;
    }
}

@media (max-width: 767.98px) {
    .stats-section {
        padding: var(--spacing-8) 0;
    }
    
    .stat-card {
        padding: var(--spacing-8) var(--spacing-4);
    }
    
    .stat-icon {
        width: 70px;
        height: 70px;
    }
    
    .stat-icon i {
        font-size: var(--font-size-3xl);
    }
    
    .stat-number {
        font-size: var(--font-size-4xl);
    }
    
    .stat-label {
        font-size: var(--font-size-base);
    }
}
