/* ==========================================
   VIREXIS | HOME STATS V1
   ========================================== */

.vx-stats {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 90px 0 96px;
    background: linear-gradient(
        125deg,
        #071d31 0%,
        #0b2c49 52%,
        #104568 100%
    );
    color: #ffffff;
}

.vx-stats::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 580px;
    height: 580px;
    right: -240px;
    top: -290px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(53, 169, 232, .17),
        transparent 70%
    );
    pointer-events: none;
}

.vx-stats .virexis-container {
    position: relative;
    z-index: 1;
}

.vx-stats__heading {
    max-width: 780px;
    margin: 0 auto 48px;
    text-align: center;
}

.vx-stats__eyebrow {
    display: block;
    margin-bottom: 16px;
    color: #79cfff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.vx-stats__heading h2 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: clamp(30px, 3.4vw, 48px);
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: -.035em;
}

.vx-stats__heading p {
    margin: 0 auto;
    max-width: 600px;
    color: #c2d7e5;
    font-size: 16px;
    line-height: 1.8;
}

.vx-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.vx-stats__item {
    min-width: 0;
    padding: 34px 18px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 18px;
    background: rgba(255, 255, 255, .055);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .09);
    transition:
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.vx-stats__item:hover {
    background: rgba(255, 255, 255, .085);
    border-color: rgba(121, 207, 255, .35);
    transform: translateY(-4px);
}

.vx-stats__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 24px;
    border-radius: 16px;
    background: rgba(77, 178, 235, .12);
    color: #79cfff;
}

.vx-stats__icon svg {
    width: 27px;
    height: 27px;
    stroke: currentColor;
}

.vx-stats__icon .dashicons {
    width: 27px;
    height: 27px;
    font-size: 27px;
    line-height: 27px;
}

.vx-stats__number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px;
    margin-bottom: 15px;
    color: #ffffff;
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -.04em;
    font-variant-numeric: tabular-nums;
}

.vx-stats__prefix,
.vx-stats__suffix {
    font-size: .65em;
    font-weight: 650;
    letter-spacing: -.015em;
}

.vx-stats__label {
    margin: 0;
    color: #d4e5ef;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
}

@media (max-width: 1000px) {
    .vx-stats {
        padding: 76px 0;
    }

    .vx-stats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .vx-stats {
        padding: 64px 0;
    }

    .vx-stats__heading {
        margin-bottom: 32px;
    }

    .vx-stats__heading p {
        font-size: 14px;
    }

    .vx-stats__grid {
        gap: 12px;
    }

    .vx-stats__item {
        padding: 26px 10px;
        border-radius: 14px;
    }

    .vx-stats__number {
        font-size: clamp(25px, 7vw, 35px);
    }

    .vx-stats__label {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vx-stats__item {
        transition: none;
    }

    .vx-stats__item:hover {
        transform: none;
    }
}
