/* ============================================
   STATS SECTION - PREMIUM REDESIGN
   ============================================ */

.stats-section {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: transparent;
    padding: 100px 0;
    margin: 0;
    box-sizing: border-box;
    isolation: isolate;
    transform: translateZ(0);
    z-index: 1;
}

/* ============================================
   STATS GRID - 2x4 LAYOUT
   ============================================ */

.stats-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

/* ============================================
   STAT CARDS
   ============================================ */

.stat-card-new {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    padding: 35px 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #7c3aed);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-card-new:hover::before {
    transform: scaleX(1);
}

.stat-card-new:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

/* Primary Stats - Larger */
.stat-primary {
    background: rgba(255, 255, 255, 0.06);
}

.stat-primary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Secondary Stats - Slightly Smaller */
.stat-secondary {
    background: rgba(255, 255, 255, 0.04);
}

.stat-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
}

/* ============================================
   STAT ICON
   ============================================ */

.stat-icon-new {
    width: 75px;
    height: 75px;
    min-width: 75px;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Different gradient for secondary stats */
.stat-secondary .stat-icon-new {
    background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
}

.stat-card-new:hover .stat-icon-new {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
}

.stat-icon-new i {
    font-size: 32px;
    color: #ffffff;
}

/* ============================================
   STAT INFO
   ============================================ */

.stat-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-number-new {
    font-size: 30px;
    font-weight: 900;
    color: #00d4ff;
    line-height: 1.1;
    font-family: 'Saira', sans-serif;
    transition: all 0.3s ease;
}

.stat-card-new:hover .stat-number-new {
    color: #ffffff;
    transform: scale(1.05);
}

.stat-label-new {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Saira', sans-serif;
    margin-top: 3px;
}

.stat-description {
    font-size: 13px;
    color: #9ca3af;
    font-weight: 500;
    line-height: 1.5;
    margin-top: 2px;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card-new {
    animation: fadeInUp 0.6s ease-out;
}

.stat-card-new:nth-child(1) { animation-delay: 0.1s; }
.stat-card-new:nth-child(2) { animation-delay: 0.15s; }
.stat-card-new:nth-child(3) { animation-delay: 0.2s; }
.stat-card-new:nth-child(4) { animation-delay: 0.25s; }
.stat-card-new:nth-child(5) { animation-delay: 0.3s; }
.stat-card-new:nth-child(6) { animation-delay: 0.35s; }
.stat-card-new:nth-child(7) { animation-delay: 0.4s; }
.stat-card-new:nth-child(8) { animation-delay: 0.45s; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media screen and (max-width: 1200px) {
    .stats-grid-new {
        gap: 18px;
    }
    
    .stat-number-new {
        font-size: 22px;
    }
}

@media screen and (max-width: 1024px) {
    .stats-section {
        height: auto;
        min-height: 600px;
        padding: 60px 0;
    }
    
    .stats-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-card-new {
        padding: 25px 20px;
    }
}

@media screen and (max-width: 768px) {
    .stats-section {
        padding: 50px 0;
    }
    
    .stats-grid-new {
        gap: 15px;
    }
    
    .stat-card-new {
        padding: 20px 18px;
    }
    
    .stat-icon-new {
        width: 55px;
        height: 55px;
        min-width: 55px;
    }
    
    .stat-icon-new i {
        font-size: 24px;
    }
    
    .stat-number-new {
        font-size: 20px;
    }
    
    .stat-label-new {
        font-size: 13px;
    }
    
    .stat-description {
        font-size: 10px;
    }
}

@media screen and (max-width: 480px) {
    .stats-section {
        padding: 40px 0;
    }
    
    .stats-grid-new {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card-new {
        padding: 20px;
    }
    
    .stat-icon-new {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }
    
    .stat-icon-new i {
        font-size: 22px;
    }
    
    .stat-number-new {
        font-size: 22px;
    }
}
