.stats-section {
    padding: 80px 0 36px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 50px;
    padding-top: 35px;
}

.stat-item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px 15px;
}

.stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: -28px;
    right: -12px;
    width: 1px;
    height: calc(100% + 56px);
    background-color: var(--border-color);
}

.stat-value {
    display: block;
    font-family: var(--font-mono);
    font-size: 2rem;
    line-height: 1;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.03em;
}

.stat-label {
    display: block;
    margin-top: 12px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.stat-sub {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 2px);
    margin-top: 0;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}

.stat-sub strong {
    color: var(--accent-blue);
    font-weight: 700;
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stat-item:nth-child(3)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

    .stat-item {
        padding: 25px 15px;
    }

    .stat-item::after {
        display: none;
    }

    .stat-value {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}