/* Hero Card Design */
.hero-section {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    background-color: transparent;
    /* Let body background show through */
}

.hero-card {
    width: 100%;
    max-width: 1000px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 1. Header Section - Purple Gradient */
.hero-card-header {
    background: linear-gradient(135deg, #5B54A3 0%, #534C96 100%);
    /* Approximate purple from image */
    padding: 60px 20px;
    text-align: center;
    color: white !important;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 10px;
    opacity: 0.9;
    font-weight: 400;
    color: white !important;
}

.hero-title {
    font-size: 36px;
    font-weight: 500;
    margin: 0 0 40px 0;
    letter-spacing: 1px;
    color: white !important;
}

.hero-description {
    font-size: 18px;
    max-width: 90%;
    margin: 0 auto;
    line-height: 1.5;
    opacity: 0.95;
    color: white !important;
}

/* 2. Stats Section - White Background */
.hero-card-stats {
    background-color: #F5F6FA;
    /* Light gray/white */
    padding: 30px 20px;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    border-bottom: 1px solid #E0E0E0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

/* Icon wrapper removed */

.stat-value {
    font-size: 18px;
    color: #555;
    margin-bottom: 6px;
    font-weight: 500;
}

.stat-label {
    font-size: 14px;
    color: #888;
}

/* 3. Footer Section - Light Background */
.hero-card-footer {
    background-color: #F0F0F7;
    /* Very light purple/gray */
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.btn-hero {
    padding: 12px 40px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    min-width: 160px;
    text-align: center;
    display: inline-block;
}

.btn-hero-primary {
    background-color: #5B54A3;
    color: white;
    border: none;
    box-shadow: 0 4px 6px rgba(91, 84, 163, 0.2);
}

.btn-hero-primary:hover {
    background-color: #4A4485;
}

.btn-hero-secondary {
    background-color: white;
    color: #333;
    border: 1px solid #DDD;
}

.btn-hero-secondary:hover {
    background-color: #F9F9F9;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .hero-section {
        padding: 20px 16px;
    }

    .hero-card-header {
        padding: 30px 20px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .hero-title {
        font-size: 24px;
        margin: 0 0 20px 0;
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.4;
    }

    .hero-card-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 20px 16px;
    }

    .stat-item {
        margin-bottom: 0;
    }

    .stat-icon-wrapper {
        width: 36px;
        height: 36px;
        font-size: 24px;
        margin-bottom: 4px;
    }

    .stat-value {
        font-size: 14px;
    }

    .stat-label {
        font-size: 12px;
    }

    .hero-card-footer {
        padding: 20px 16px;
        flex-direction: column;
        gap: 12px;
    }

    .btn-hero {
        width: 100%;
        max-width: 100%;
        padding: 12px 0;
        font-size: 15px;
    }
}

/* ============================================
   DARK MODE SUPPORT
   ============================================ */
@media (prefers-color-scheme: dark) {
    .hero-card {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .hero-card-header {
        background: linear-gradient(135deg, #6D28D9 0%, #5B21B6 100%);
    }

    .hero-card-stats {
        background-color: #1F2937;
        border-bottom: 1px solid #374151;
    }

    .stat-value {
        color: #F9FAFB;
    }

    .stat-label {
        color: #9CA3AF;
    }

    .hero-card-footer {
        background-color: #111827;
    }

    .btn-hero-primary {
        background-color: #8B5CF6;
        box-shadow: 0 4px 6px rgba(139, 92, 246, 0.3);
    }

    .btn-hero-primary:hover {
        background-color: #7C3AED;
    }

    .btn-hero-secondary {
        background-color: #374151;
        color: #F9FAFB;
        border: 1px solid #4B5563;
    }

    .btn-hero-secondary:hover {
        background-color: #4B5563;
    }
}