.stats-counter {
    position: relative;
    width: 100%;
    padding: 70px 0;
    overflow: hidden;
    background: radial-gradient(ellipse at center, #1a1a1a 0%, #0d0d0d 100%);
    border-top: 1px solid rgba(249, 115, 22, 0.08);
    border-bottom: 1px solid rgba(249, 115, 22, 0.08);
}

.stats-counter::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 45%, rgba(249, 115, 22, 0.08), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 35%, rgba(255, 255, 255, 0.01));
    pointer-events: none;
}

.stats-counter__inner {
    position: relative;
    z-index: 1;
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

.stats-counter__item {
    position: relative;
    min-width: 0;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.8rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.stats-counter__item::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 0;
    width: 1px;
    height: calc(100% - 20px);
    background: rgba(249, 115, 22, 0.2);
}

.stats-counter__item:last-child::after {
    display: none;
}

.stats-counter__top-line {
    width: 60px;
    height: 3px;
    border-radius: 999px;
    background: #f97316;
    box-shadow: 0 0 18px rgba(249, 115, 22, 0.28);
    margin-bottom: 0.45rem;
}

.stats-counter__icon {
    width: 28px;
    height: 28px;
    color: #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-counter__icon svg {
    width: 28px;
    height: 28px;
}

.stats-counter__value {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 0;
    white-space: nowrap;
    line-height: 0.95;
    font-variant-numeric: tabular-nums lining-nums;
}

.stats-counter__number,
.stats-counter__suffix {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    color: #f97316;
    text-shadow: 0 0 20px rgba(249, 115, 22, 0.12);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.stats-counter__label {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7280;
}

.stats-counter__subtext {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #e5e7eb;
}

.stats-counter__item:hover {
    transform: translateY(-4px);
}

.stats-counter__item:hover .stats-counter__number,
.stats-counter__item:hover .stats-counter__suffix {
    color: #fb923c;
    text-shadow: 0 0 24px rgba(251, 146, 60, 0.16);
}

.stats-counter__suffix--pulse {
    animation: statsCounterPulse 2s ease-in-out infinite;
}

@keyframes statsCounterPulse {
    0%,
    100% {
        text-shadow: 0 0 0 rgba(249, 115, 22, 0);
        opacity: 0.92;
    }
    50% {
        text-shadow: 0 0 16px rgba(249, 115, 22, 0.45);
        opacity: 1;
    }
}

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

    .stats-counter__inner {
        width: min(720px, calc(100% - 32px));
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-counter__item {
        padding: 0 1.1rem;
        min-height: 220px;
    }

    .stats-counter__item::after {
        display: none;
    }

    .stats-counter__item:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(249, 115, 22, 0.2);
    }
}
