/* --- Public Statistics Cards --- */
.public-statistics-section {
    position: relative;
    z-index: 2;
    padding: 48px 0 !important;
}

.public-statistics-shell {
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            rgba(16, 31, 78, 0.82),
            rgba(7, 15, 42, 0.74)
        );

    box-shadow:
        0 30px 80px rgba(2, 8, 30, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.public-statistics-shell::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    top: -230px;
    right: -120px;
    border-radius: 50%;

    background:
        rgba(157, 125, 174, 0.12);

    filter: blur(72px);
    pointer-events: none;
}

.public-statistics-shell::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    bottom: -220px;
    left: -90px;
    border-radius: 50%;

    background:
        rgba(182, 167, 210, 0.14);

    filter: blur(70px);
    pointer-events: none;
}

.public-statistics-heading {
    position: relative;
    z-index: 2;
    margin-bottom: 24px;
}

.public-statistics-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 12px;
    padding: 6px 16px;

    border:
        1px solid rgba(255, 255, 255, 0.14);

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.07);

    color:
        rgba(255, 255, 255, 0.82);

    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.public-statistics-heading h2 {
    margin: 0 0 9px;

    color: #ffffff;

    font-size:
        clamp(1.8rem, 3vw, 2.45rem);

    font-weight: 900;
}

.public-statistics-heading p {
    margin: 0;

    color:
        rgba(255, 255, 255, 0.64);

    font-size: 1rem;
}

.public-stat-card {
    position: relative;
    z-index: 2;

    min-height: 145px;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    padding: 20px 14px;

    border:
        1px solid rgba(255, 255, 255, 0.11);

    border-radius: 24px;

    background:
        linear-gradient(
            150deg,
            rgba(255, 255, 255, 0.10),
            rgba(255, 255, 255, 0.035)
        );

    box-shadow:
        0 18px 42px rgba(1, 7, 27, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);

    transition:
        transform 220ms ease,
        border-color 220ms ease,
        background 220ms ease,
        box-shadow 220ms ease;
}

.public-stat-card::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(157, 125, 174, 0.14),
            transparent 58%
        );

    opacity: 0;

    transition:
        opacity 220ms ease;

    pointer-events: none;
}

.public-stat-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(255, 255, 255, 0.23);

    background:
        linear-gradient(
            150deg,
            rgba(255, 255, 255, 0.14),
            rgba(255, 255, 255, 0.055)
        );

    box-shadow:
        0 26px 52px rgba(1, 7, 27, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.public-stat-card:hover::before {
    opacity: 1;
}

.public-stat-icon {
    position: relative;
    z-index: 2;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 12px;

    border:
        1px solid rgba(255, 255, 255, 0.12);

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.075);

    color:
        rgba(255, 255, 255, 0.78);

    font-size: 1rem;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.public-stat-value {
    position: relative;
    z-index: 2;

    color: #ffffff;

    direction: ltr;
    unicode-bidi: isolate;

    font-variant-numeric:
        tabular-nums;

    font-size:
        clamp(1.85rem, 3.2vw, 2.65rem);

    font-weight: 700;
    line-height: 1;

    letter-spacing: -0.02em;

    text-shadow:
        0 7px 24px rgba(0, 0, 0, 0.20);
}

.public-stat-label {
    position: relative;
    z-index: 2;

    margin-top: 9px;

    color:
        rgba(255, 255, 255, 0.68);

    font-size: 0.92rem;
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .public-statistics-section {
        padding: 46px 0 !important;
    }

    .public-statistics-shell {
        padding: 25px 14px;
        border-radius: 22px;
    }

    .public-statistics-heading {
        margin-bottom: 25px;
    }

    .public-stat-card {
        min-height: 154px;
        padding: 20px 8px;
        border-radius: 19px;
    }

    .public-stat-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 13px;
        border-radius: 11px;
        font-size: 0.86rem;
    }

    .public-stat-value {
        font-size:
            clamp(1.75rem, 8vw, 2.35rem);
    }

    .public-stat-label {
        margin-top: 10px;
        font-size: 0.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .public-stat-card {
        transition: none;
    }
}
