/* Clever Stat Cards — Frontend */

.csc-cards-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.csc-card {
    flex: 1 1 0;
    min-width: 200px;
    max-width: 300px;
}

.csc-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 25px;
    min-height: 220px;
    border-radius: 12px;
    background: linear-gradient(160deg, #0b3d91 0%, #0a2a5e 50%, #071e44 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    box-sizing: border-box;
}

.csc-card-inner:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.csc-card-headline {
    display: block;
    font-size: 2.6rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.csc-card-desc {
    display: block;
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.45;
    margin-bottom: 6px;
}

.csc-card-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 1rem;
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s ease;
}

.csc-card-link:hover {
    opacity: 0.8;
    color: #ffffff;
}

/* ─── Tablet: 2 across ─── */
@media (max-width: 960px) {
    .csc-card {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 10px);
    }
}

/* ─── Mobile: stacked ─── */
@media (max-width: 600px) {
    .csc-cards-wrap {
        flex-direction: column;
        align-items: center;
    }
    .csc-card {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
    }
    .csc-card-inner {
        min-height: 180px;
        padding: 30px 20px;
    }
    .csc-card-headline {
        font-size: 2.2rem;
    }
}
