/**
 * ETF Hero Components CSS
 * Path: assets/css/etf-hero-components.css
 * 
 * Styles for hero statistics and callout components
 */

/* Hero Statistics Cards */
.hero-statistics {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
    padding: 20px 0;
}

.hero-stat-card {
    background: linear-gradient(135deg, var(--primary-color), #cc0000);
    color: white;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    min-width: 200px;
    max-width: 250px;
    box-shadow: 0 10px 25px rgba(230, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.hero-stat-card:hover::before {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out;
}

.hero-stat-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(230, 0, 0, 0.4);
}

.hero-stat-number {
    font-size: 2.8rem;
    font-weight: bold;
    color: #ffd700;
    display: block;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Arial Black', Arial, sans-serif;
}

.hero-stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.3;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Callout Box Enhanced */
.callout-box {
    background: linear-gradient(135deg, #fff5f5, #ffe6e6);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(230, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.callout-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #ff6b6b, var(--primary-color));
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

.callout-box h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.callout-box h4 i {
    font-size: 1.3rem;
    color: #ff6b6b;
}

.callout-box p {
    color: #444;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Section Title Styling */
.section-title-red {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: bold;
    margin: 40px 0 30px 0;
    position: relative;
    padding-bottom: 15px;
}

.section-title-red::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #ff6b6b);
    border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-statistics {
        flex-direction: column;
        gap: 20px;
        padding: 10px;
    }
    
    .hero-stat-card {
        min-width: auto;
        max-width: 100%;
        margin: 0 auto;
        padding: 25px 20px;
    }
    
    .hero-stat-number {
        font-size: 2.4rem;
    }
    
    .hero-stat-label {
        font-size: 0.9rem;
    }
    
    .callout-box {
        margin: 1.5rem 0;
        padding: 1.2rem;
    }
    
    .callout-box h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-stat-number {
        font-size: 2rem;
    }
    
    .hero-stat-label {
        font-size: 0.85rem;
    }
    
    .section-title-red {
        font-size: 1.8rem;
    }
}

/* Animations */
@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Count up number styling */
.count-up {
    display: inline-block;
    font-variant-numeric: tabular-nums;
}