.tw-statistics-reference {
    --st-bg: #03141d;
    --st-bg-2: #041b27;
    --st-cyan: #10d8ff;
    --st-cyan-2: #00bde9;
    --st-gold: #eeb847;
    --st-gold-2: #ffcf67;
    --st-white: #f8fbff;
    --st-muted: rgba(237, 244, 248, .86);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: clamp(39rem, 48vw, 48rem);
    padding: clamp(4.5rem, 5vw, 5.8rem) 0 clamp(7.5rem, 9vw, 9.4rem) !important;
    margin: 0;
    border: 0 !important;
    background:
        radial-gradient(42rem 20rem at 50% 78%, rgba(0, 151, 205, .16), transparent 70%),
        radial-gradient(28rem 18rem at 0% 78%, rgba(234, 184, 71, .13), transparent 68%),
        radial-gradient(28rem 18rem at 100% 78%, rgba(234, 184, 71, .12), transparent 68%),
        linear-gradient(180deg, #031720 0%, #03151e 53%, #02101a 100%) !important;
    color: var(--st-white);
}

.tw-home-sequence .tw-statistics-reference {
    background:
        radial-gradient(42rem 20rem at 50% 78%, rgba(0, 151, 205, .16), transparent 70%),
        radial-gradient(28rem 18rem at 0% 78%, rgba(234, 184, 71, .13), transparent 68%),
        radial-gradient(28rem 18rem at 100% 78%, rgba(234, 184, 71, .12), transparent 68%),
        linear-gradient(180deg, #031720 0%, #03151e 53%, #02101a 100%) !important;
}

.tw-statistics-reference::before,
.tw-statistics-reference::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: -1;
}

.tw-statistics-reference::before {
    inset: 0;
    background:
        radial-gradient(circle at 8% 38%, rgba(10, 190, 235, .08), transparent 12%),
        radial-gradient(circle at 94% 42%, rgba(10, 190, 235, .07), transparent 12%),
        radial-gradient(circle at 50% 38%, rgba(5, 60, 79, .22), transparent 34%);
}

.tw-statistics-reference::after {
    left: 50%;
    bottom: -20rem;
    width: min(110rem, 120vw);
    height: 38rem;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(ellipse at 50% 0%, rgba(7, 130, 170, .17), transparent 56%);
    filter: blur(8px);
}

.tw-statistics-reference__ambient {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 10% 45%, rgba(255, 199, 70, .75) 0 1.3px, transparent 1.5px),
        radial-gradient(circle at 14% 42%, rgba(16, 216, 255, .7) 0 1.1px, transparent 1.3px),
        radial-gradient(circle at 91% 43%, rgba(255, 199, 70, .7) 0 1.2px, transparent 1.5px),
        radial-gradient(circle at 87% 46%, rgba(16, 216, 255, .65) 0 1px, transparent 1.3px);
    background-size: 14px 14px, 20px 20px, 16px 16px, 21px 21px;
    mask-image: linear-gradient(to bottom, transparent 0%, transparent 25%, #000 52%, #000 78%, transparent 100%);
    opacity: .34;
}

.tw-statistics-reference__inner {
    position: relative;
    z-index: 4;
    width: min(calc(100% - 2.5rem), 86rem);
    margin-inline: auto;
}

.tw-statistics-reference__header {
    max-width: 64rem;
    margin: 0 auto clamp(2.6rem, 3.8vw, 3.8rem);
    text-align: center;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .85s ease, transform .85s ease;
}

.tw-statistics-reference__header.is-visible {
    opacity: 1;
    transform: none;
}

.tw-statistics-reference__eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .9rem;
    margin: 0 0 1rem;
    color: var(--st-gold);
    font-size: clamp(.86rem, 1vw, 1rem);
    font-weight: 850;
    line-height: 1;
}

.tw-statistics-reference__eyebrow span {
    width: clamp(2.6rem, 4.5vw, 3.6rem);
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--st-gold));
}

.tw-statistics-reference__eyebrow span:last-child {
    background: linear-gradient(90deg, var(--st-gold), transparent);
}

.tw-statistics-reference__title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: .24em;
    margin: 0;
    color: var(--st-white);
    font-size: clamp(3rem, 4.9vw, 5.2rem);
    font-weight: 950;
    line-height: 1.06;
    letter-spacing: -.045em;
    text-wrap: balance;
}

html[dir="rtl"] .tw-statistics-reference__title {
    letter-spacing: -.025em;
}

.tw-statistics-reference__title em,
.tw-statistics-reference__title span {
    font: inherit;
}

.tw-statistics-reference__title em {
    color: var(--st-cyan);
    font-style: normal;
    text-shadow: 0 0 24px rgba(16, 216, 255, .16);
}

.tw-statistics-reference__intro {
    max-width: 61rem;
    margin: 1.15rem auto 0;
    color: var(--st-muted);
    font-size: clamp(1rem, 1.25vw, 1.28rem);
    font-weight: 580;
    line-height: 1.85;
}

.tw-statistics-reference__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    direction: rtl;
    position: relative;
    z-index: 5;
}

.tw-statistics-reference__item {
    position: relative;
    min-width: 0;
    text-align: center;
    padding: 0 clamp(.8rem, 2vw, 1.7rem);
    opacity: 0;
    transform: translateY(28px) scale(.975);
    transition: opacity .82s ease, transform .82s cubic-bezier(.2,.75,.2,1);
    transition-delay: var(--tw-delay, 0ms);
}

.tw-statistics-reference__item.is-visible {
    opacity: 1;
    transform: none;
}

.tw-statistics-reference__separator {
    position: absolute;
    top: 2.7rem;
    bottom: 1.6rem;
    inset-inline-start: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, rgba(19, 213, 255, .18) 16%, rgba(233, 184, 71, .48) 50%, rgba(19, 213, 255, .19) 84%, transparent 100%);
}

.tw-statistics-reference__separator i {
    position: absolute;
    top: 48%;
    left: 50%;
    width: 5px;
    height: 5px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--st-gold-2);
    box-shadow: 0 0 10px 3px rgba(255, 199, 73, .5), 0 0 18px rgba(10, 211, 255, .35);
}

.tw-statistics-reference__orb-stage {
    position: relative;
    width: clamp(10.4rem, 13vw, 12rem);
    height: clamp(9.6rem, 12vw, 11.1rem);
    margin: 0 auto .55rem;
}

.tw-statistics-reference__orb-ring,
.tw-statistics-reference__orb,
.tw-statistics-reference__platform {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.tw-statistics-reference__orb-ring {
    top: .25rem;
    width: clamp(8.4rem, 10.8vw, 9.8rem);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(238, 184, 71, .78);
    box-shadow: 0 0 18px rgba(16, 216, 255, .16);
    animation: tw-stat-ring-breathe 4.8s ease-in-out infinite;
}

.tw-statistics-reference__orb {
    top: .72rem;
    width: clamp(7.25rem, 9.4vw, 8.6rem);
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 28% 18%, rgba(255,255,255,.35), transparent 18%),
        radial-gradient(circle at 54% 62%, rgba(9, 126, 164, .22), transparent 58%),
        linear-gradient(145deg, rgba(20, 88, 113, .88), rgba(3, 26, 38, .98) 70%);
    border: 2px solid rgba(9, 207, 248, .9);
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,.18),
        inset 0 -14px 26px rgba(0,0,0,.35),
        0 0 0 5px rgba(5, 77, 99, .46),
        0 0 0 6px rgba(234, 184, 71, .9),
        0 0 23px rgba(15, 207, 248, .38);
    animation: tw-stat-orb-float 5.6s ease-in-out infinite;
}

.tw-statistics-reference__orb::before,
.tw-statistics-reference__orb::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.tw-statistics-reference__orb::before {
    inset: 9%;
    border: 1px solid rgba(255, 215, 108, .3);
}

.tw-statistics-reference__orb::after {
    width: 74%;
    height: 38%;
    left: 13%;
    top: 4%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,.2), transparent 68%);
    filter: blur(3px);
    transform: rotate(-18deg);
}

.tw-statistics-reference__orb-glint {
    position: absolute;
    width: 62%;
    height: 18%;
    top: 10%;
    left: 19%;
    border-radius: 50%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
    filter: blur(2px);
    transform: rotate(-18deg);
}

.tw-statistics-reference__icon {
    position: relative;
    z-index: 2;
    width: clamp(2.65rem, 3.2vw, 3.25rem);
    height: clamp(2.65rem, 3.2vw, 3.25rem);
    color: var(--st-gold-2);
    filter: drop-shadow(0 0 8px rgba(238, 184, 71, .22));
}

.tw-statistics-reference__icon svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 4.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tw-statistics-reference__item:first-child .tw-statistics-reference__icon svg path {
    fill: currentColor;
    stroke-width: 2.4;
}

.tw-statistics-reference__platform {
    border-radius: 50%;
    pointer-events: none;
}

.tw-statistics-reference__platform--outer {
    bottom: .15rem;
    width: clamp(8.7rem, 10.7vw, 10rem);
    height: 1.28rem;
    border: 1px solid rgba(12, 210, 250, .44);
    box-shadow: 0 0 16px rgba(12, 210, 250, .1);
}

.tw-statistics-reference__platform--inner {
    bottom: .4rem;
    width: clamp(7.2rem, 9.2vw, 8.6rem);
    height: .82rem;
    border: 1px solid rgba(238, 184, 71, .82);
    background: radial-gradient(ellipse, rgba(238, 184, 71, .16), transparent 70%);
    box-shadow: 0 0 16px rgba(238, 184, 71, .12);
}

.tw-statistics-reference__value {
    display: block;
    margin: 0;
    color: var(--st-white);
    font-size: clamp(2.7rem, 4.1vw, 4.3rem);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -.055em;
    direction: ltr;
    unicode-bidi: isolate;
    text-shadow: 0 4px 12px rgba(0,0,0,.18);
}

.tw-statistics-reference__label {
    display: block;
    margin-top: .75rem;
    color: rgba(248, 251, 253, .98);
    font-size: clamp(1rem, 1.2vw, 1.34rem);
    font-weight: 820;
    line-height: 1.5;
}

.tw-statistics-reference__waves {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: -1rem;
    width: 100%;
    height: clamp(13rem, 19vw, 20rem);
    pointer-events: none;
    overflow: visible;
}

.tw-stat-wave {
    stroke-dasharray: 1700;
    stroke-dashoffset: 0;
    animation: tw-stat-wave-drift 16s linear infinite;
    filter: drop-shadow(0 0 8px rgba(8, 209, 250, .18));
}

.tw-stat-wave--gold-a,
.tw-stat-wave--gold-b {
    animation-duration: 19s;
    animation-direction: reverse;
    filter: drop-shadow(0 0 8px rgba(238, 184, 71, .18));
}

.tw-statistics-reference__wave-dots {
    animation: tw-stat-dot-pulse 3.8s ease-in-out infinite;
}

.tw-statistics-reference__floor {
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: -9.4rem;
    width: min(96rem, 110vw);
    height: 19rem;
    transform: translateX(-50%) perspective(480px) rotateX(64deg);
    transform-origin: 50% 0;
    background-image:
        linear-gradient(rgba(13, 160, 198, .16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 160, 198, .16) 1px, transparent 1px),
        radial-gradient(ellipse at center, rgba(13, 186, 229, .12), transparent 64%);
    background-size: 4rem 2.4rem, 4rem 2.4rem, 100% 100%;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.95), transparent 88%);
    opacity: .58;
}

@keyframes tw-stat-orb-float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes tw-stat-ring-breathe {
    0%, 100% { opacity: .82; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.018); }
}

@keyframes tw-stat-wave-drift {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: -3400; }
}

@keyframes tw-stat-dot-pulse {
    0%, 100% { opacity: .42; }
    50% { opacity: .95; }
}

@media (hover: hover) {
    .tw-statistics-reference__item:hover .tw-statistics-reference__orb {
        box-shadow:
            inset 0 2px 0 rgba(255,255,255,.2),
            inset 0 -14px 26px rgba(0,0,0,.32),
            0 0 0 5px rgba(5, 77, 99, .5),
            0 0 0 6px rgba(234, 184, 71, .95),
            0 0 32px rgba(15, 207, 248, .48);
    }
}

@media (max-width: 1024px) {
    .tw-statistics-reference {
        padding-bottom: 8rem !important;
    }

    .tw-statistics-reference__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.8rem 0;
    }

    .tw-statistics-reference__item:nth-child(3) .tw-statistics-reference__separator {
        display: none;
    }
}

@media (max-width: 640px) {
    .tw-statistics-reference {
        min-height: auto;
        padding: 4rem 0 7rem !important;
    }

    .tw-statistics-reference__inner {
        width: min(calc(100% - 1.5rem), 86rem);
    }

    .tw-statistics-reference__title {
        font-size: clamp(2.35rem, 10.8vw, 3.4rem);
    }

    .tw-statistics-reference__intro {
        font-size: .98rem;
    }

    .tw-statistics-reference__grid {
        grid-template-columns: 1fr;
        gap: 2.2rem;
    }

    .tw-statistics-reference__separator {
        display: none;
    }

    .tw-statistics-reference__item {
        max-width: 22rem;
        margin-inline: auto;
        width: 100%;
    }

    .tw-statistics-reference__waves {
        height: 11rem;
    }

    .tw-statistics-reference__floor {
        bottom: -11rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tw-statistics-reference__header,
    .tw-statistics-reference__item {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .tw-statistics-reference__orb,
    .tw-statistics-reference__orb-ring,
    .tw-stat-wave,
    .tw-statistics-reference__wave-dots {
        animation: none !important;
    }
}
