/* ================================
   FIXED CENTERED STATS SECTION
================================ */

.stats-section-fix {
    position: relative !important;
    width: 100% !important;
    min-height: auto !important;
    padding: 110px 24px !important;
    margin: 0 !important;
    overflow: hidden !important;
    display: block !important;
    color: #ffffff !important;
    background:
        radial-gradient(circle at 50% 10%, rgba(0, 217, 255, 0.16), transparent 34%),
        radial-gradient(circle at 50% 100%, rgba(105, 231, 111, 0.14), transparent 36%),
        linear-gradient(135deg, #020910 0%, #062332 50%, #020910 100%) !important;
}

.stats-section-fix *,
.stats-section-fix *::before,
.stats-section-fix *::after {
    box-sizing: border-box;
}

/* background motion */

.stats-section-fix .stats-bg-motion {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.stats-section-fix .stats-bg-motion span {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1px solid rgba(118, 243, 255, 0.12);
    background: radial-gradient(circle, rgba(118, 243, 255, 0.16), transparent 66%);
    animation: statsFloatFix 13s ease-in-out infinite;
}

.stats-section-fix .stats-bg-motion span:nth-child(1) {
    top: 8%;
    left: 12%;
}

.stats-section-fix .stats-bg-motion span:nth-child(2) {
    top: 22%;
    right: 12%;
    width: 170px;
    height: 170px;
    animation-duration: 16s;
}

.stats-section-fix .stats-bg-motion span:nth-child(3) {
    left: 50%;
    bottom: -120px;
    width: 320px;
    height: 320px;
    animation-duration: 20s;
}

@keyframes statsFloatFix {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.32;
    }

    50% {
        transform: translateY(-34px) scale(1.08);
        opacity: 0.75;
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 0.32;
    }
}

/* main wrapper — this fixes the left-side problem */

.stats-section-fix .stats-wrapper {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1180px;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
}

/* title */

.stats-section-fix .stats-title {
    width: 100%;
    max-width: 820px;
    margin: 0 auto 58px auto !important;
    text-align: center !important;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.stats-section-fix.in-view .stats-title {
    opacity: 1;
    transform: translateY(0);
}

.stats-section-fix .eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 0 16px;
    color: #76f3ff;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.stats-section-fix .eyebrow::before,
.stats-section-fix .eyebrow::after {
    content: "";
    width: 38px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #76f3ff, #69e76f);
}

.stats-section-fix h2 {
    max-width: 780px;
    margin: 0 auto !important;
    color: #ffffff;
    font-size: clamp(34px, 4.8vw, 64px);
    line-height: 1.04;
    letter-spacing: -0.06em;
    text-align: center !important;
}

.stats-section-fix .stats-title > p:not(.eyebrow) {
    max-width: 650px;
    margin: 22px auto 0 auto !important;
    color: rgba(224, 244, 250, 0.74);
    font-size: 17px;
    line-height: 1.75;
    text-align: center !important;
}

/* grid — centered always */

.stats-section-fix .stats-grid {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    justify-content: center !important;
    align-items: stretch;
    gap: 24px;
}

/* card */

.stats-section-fix .stat-box {
    position: relative;
    min-width: 0;
    min-height: 280px;
    padding: 30px 24px;
    border-radius: 34px;
    display: flex;
    flex-direction: column;
    align-items: center !important;
    justify-content: center;
    text-align: center !important;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.045));
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(22px);
    box-shadow:
        0 32px 90px rgba(0, 0, 0, 0.28),
        inset 0 0 0 1px rgba(255, 255, 255, 0.035);
    opacity: 0;
    transform: translateY(34px);
    transition:
        opacity 0.75s ease,
        transform 0.75s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}

.stats-section-fix.in-view .stat-box {
    opacity: 1;
    transform: translateY(0);
}

.stats-section-fix .stat-box::before {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    right: -70px;
    bottom: -70px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(118, 243, 255, 0.26), transparent 64%);
    transition: transform 0.4s ease;
}

.stats-section-fix .stat-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.09), transparent);
    transform: translateX(-130%);
    transition: transform 0.7s ease;
}

.stats-section-fix .stat-box:hover {
    transform: translateY(-12px);
    border-color: rgba(118, 243, 255, 0.55);
    box-shadow: 0 38px 110px rgba(0, 217, 255, 0.16);
}

.stats-section-fix .stat-box:hover::before {
    transform: scale(1.25);
}

.stats-section-fix .stat-box:hover::after {
    transform: translateX(130%);
}

/* number circle */

.stats-section-fix .stat-number-wrap {
    position: relative;
    z-index: 2;
    width: 156px;
    height: 156px;
    margin: 0 auto 24px auto;
    border-radius: 50%;
    display: grid;
    place-items: center;
    align-content: center;
    background:
        radial-gradient(circle at center, #061f2d 58%, transparent 59%),
        conic-gradient(from 180deg, #76f3ff, #69e76f, #76f3ff);
    box-shadow: 0 0 42px rgba(118, 243, 255, 0.18);
}

.stats-section-fix .stat-number-wrap span {
    color: #76f3ff;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.12em;
    margin-bottom: 6px;
}

.stats-section-fix .stat-number-wrap strong {
    display: block;
    max-width: 125px;
    color: #ffffff;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.055em;
    white-space: nowrap;
    text-align: center;
}

.stats-section-fix .stat-box h3 {
    position: relative;
    z-index: 2;
    max-width: 210px;
    margin: 0 auto !important;
    color: rgba(224, 244, 250, 0.78);
    font-size: 16px;
    line-height: 1.55;
    font-weight: 800;
    text-align: center !important;
}

/* tablet */

@media (max-width: 1100px) {
    .stats-section-fix .stats-grid {
        grid-template-columns: repeat(2, minmax(220px, 340px));
    }
}

/* mobile */

@media (max-width: 680px) {
    .stats-section-fix {
        padding: 76px 16px !important;
    }

    .stats-section-fix .stats-title {
        margin-bottom: 38px !important;
    }

    .stats-section-fix .eyebrow {
        font-size: 11px;
        letter-spacing: 0.15em;
    }

    .stats-section-fix .eyebrow::before,
    .stats-section-fix .eyebrow::after {
        width: 24px;
    }

    .stats-section-fix h2 {
        font-size: 34px;
        line-height: 1.08;
    }

    .stats-section-fix .stats-title > p:not(.eyebrow) {
        font-size: 15px;
        line-height: 1.65;
    }

    .stats-section-fix .stats-grid {
        grid-template-columns: minmax(0, 340px);
        gap: 18px;
    }

    .stats-section-fix .stat-box {
        min-height: 255px;
        padding: 24px 20px;
        border-radius: 28px;
    }

    .stats-section-fix .stat-number-wrap {
        width: 142px;
        height: 142px;
    }

    .stats-section-fix .stat-number-wrap strong {
        font-size: 31px;
    }
}

@media (max-width: 420px) {
    .stats-section-fix {
        padding: 64px 12px !important;
    }

    .stats-section-fix h2 {
        font-size: 30px;
    }

    .stats-section-fix .stat-box {
        min-height: 240px;
    }
}