/* ============================================================
   HERO BANNER
   ============================================================ */
.hero-banner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px 16px 0;
}

.hero-banner-inner {
    background: linear-gradient(135deg, #1a6dd4 0%, #3b8ef5 50%, #5ca8ff 100%);
    border-radius: var(--r-lg);
    padding: 28px 28px 28px;
    position: relative;
    overflow: hidden;
}

.hero-banner-inner::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-banner-inner::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 10%;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

body.dark-mode .hero-banner-inner {
    background: linear-gradient(135deg, #1a2744 0%, #1e3a5f 50%, #1a4a7a 100%);
}

.hero-banner-title {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 20px 0;
    padding: 0 4px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.3px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.hero-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    position: relative;
    z-index: 1;
}

/* Individual Hero Card */
.hero-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--r-md);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body.dark-mode .hero-card {
    background: rgba(28, 31, 40, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-card-body {
    flex: 1;
    min-width: 0;
}

.hero-card-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.hero-card-metrics {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.hero-card-value {
    font-size: 48px;
    font-weight: 800;
    color: var(--sky-dark);
    line-height: 1;
    letter-spacing: -1px;
}

.hero-card-value span {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-faint);
}

.hero-card-value--teal {
    color: #059669;
}

body.dark-mode .hero-card-value {
    color: #60a5fa;
}

body.dark-mode .hero-card-value--teal {
    color: #34d399;
}

.hero-card-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
}

.hero-card-badge.green {
    background: var(--green-bg);
    color: var(--green-dark);
}

/* Hero Ring Visual */
.hero-card-visual {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-ring {
    width: 72px;
    height: 72px;
    transform: rotate(-90deg);
    transition: stroke-dashoffset 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-trend-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-trend-icon svg {
    width: 72px;
    height: 72px;
    transform: rotate(-90deg);
    transition: stroke-dashoffset 2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
    max-width: 1080px;
    margin: 0 auto;
    padding: 16px 16px 0;
}

.stats-strip-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.stat-box {
    background: var(--bg-white);
    border-radius: var(--r-md);
    padding: 16px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-light);
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-box-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-box-icon.blue {
    background: var(--sky-bg);
    color: var(--sky);
}

.stat-box-icon.violet {
    background: var(--violet-bg);
    color: var(--violet);
}

body.dark-mode .stat-box-icon.violet {
    color: #a5b4fc;
}

.stat-box-icon.green {
    background: var(--green-bg);
    color: var(--green);
}

.stat-box-icon.amber {
    background: var(--amber-bg);
    color: var(--amber);
}

.stat-box-icon.teal {
    background: var(--teal-bg);
    color: var(--teal);
}

.stat-box-icon.rose {
    background: rgba(244, 63, 94, 0.1);
    color: #F43F5E;
}

body.dark-mode .stat-box-icon.rose {
    background: rgba(244, 63, 94, 0.15);
    color: #fb7185;
}

.stat-box-text {
    min-width: 0;
}

.stat-box-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-box-value {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    color: var(--text-dark);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .hero-cards-row {
        grid-template-columns: 1fr;
    }

    .stats-strip-inner {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .hero-banner-inner {
        padding: 20px;
    }

    .hero-card {
        flex-direction: column;
        text-align: center;
    }

    .hero-card-metrics {
        justify-content: center;
    }

    .stats-strip-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-card-value {
        font-size: 36px;
    }
}
