/* Preloader Enhancements */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    animation: logoFloat 2s ease-in-out infinite;
    margin-bottom: 40px;
}

.preloader-logo img {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(237, 28, 36, 0.2));
    opacity: 1 !important;
    animation: none !important;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto 20px;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #ED1C24, #FF4444);
    border-radius: 10px;
    animation: loadingProgress 2s ease-out forwards;
}

@keyframes loadingProgress {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

.loading-text {
    font-size: 14px;
    color: #4a4a4a;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Enhanced Feature Cards */
.feature-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.feature-icon {
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.feature-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #ED1C24, #FF4444);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(237, 28, 36, 0.3);
}

.feature-stats {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f8f9fa;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #ED1C24;
}

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

/* Enhanced Stats Section */
.stats-header {
    text-align: center;
    margin-bottom: 60px;
}

.stat-icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(237, 28, 36, 0.1), rgba(255, 68, 68, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #ED1C24;
    transition: all 0.3s;
}

.stat-card:hover .stat-icon-circle {
    transform: scale(1.1) rotate(360deg);
    background: linear-gradient(135deg, #ED1C24, #FF4444);
    color: white;
}

.stat-growth {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.05));
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #10b981;
    margin-top: 8px;
}

.stat-growth i {
    font-size: 12px;
}

/* Stars Animation */
.stars {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.stars i {
    animation: starPop 0.6s ease-out backwards;
}

.stars i:nth-child(1) { animation-delay: 0.1s; }
.stars i:nth-child(2) { animation-delay: 0.2s; }
.stars i:nth-child(3) { animation-delay: 0.3s; }
.stars i:nth-child(4) { animation-delay: 0.4s; }
.stars i:nth-child(5) { animation-delay: 0.5s; }

@keyframes starPop {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

