/* ============================================================
   Stats Bar Pro — gfstats-bar.css
   ============================================================ */

.gfstats-wrapper {
    background-color: #060b13; /* Default bg, changeable in Elementor */
    display: flex;
    flex-direction: column;
    font-family: inherit;
    width: 100%;
}

/* ── Stats Row ─────────────────────────────────────────────── */
.gfstats-stats {
    display: flex;
    flex-wrap: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.gfstats-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.gfstats-stat:last-child {
    border-right: none;
}

.gfstats-stat-number {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: 15px;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.gfstats-stat-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

/* ── Features Row ──────────────────────────────────────────── */
.gfstats-features {
    display: flex;
    flex-wrap: nowrap;
}

.gfstats-feature {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.gfstats-feature:last-child {
    border-right: none;
}

.gfstats-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #EF4444; /* Default color, overridden by inline styles */
}

.gfstats-feature-icon svg, .gfstats-feature-icon i {
    width: 24px !important;
    height: 24px !important;
    font-size: 24px !important;
    flex-shrink: 0;
    fill: currentColor;
}

.gfstats-feature-text {
    font-size: 13px;
    color: #a1a1aa;
    line-height: 1.4;
}

.gfstats-feature-text strong {
    color: #ffffff;
    font-weight: 700;
}

/* ── Responsive ────────────────────────────────────────────── */

/* Tablet */
@media (max-width: 992px) {
    .gfstats-stats {
        flex-wrap: wrap;
    }
    .gfstats-stat {
        flex: 1 1 50%;
        padding: 40px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .gfstats-stat:nth-child(even) {
        border-right: none;
    }
    .gfstats-stat:nth-last-child(-n+2) {
        border-bottom: none;
    }
    
    .gfstats-features {
        flex-wrap: wrap;
    }
    .gfstats-feature {
        flex: 1 1 50%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        border-right: 1px solid rgba(255, 255, 255, 0.05);
    }
    .gfstats-feature:nth-child(even) {
        border-right: none;
    }
    .gfstats-feature:last-child {
        border-bottom: none;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .gfstats-stat {
        flex: 1 1 100%;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 30px 20px;
    }
    .gfstats-stat:last-child {
        border-bottom: none;
    }
    
    .gfstats-feature {
        flex: 1 1 100%;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        justify-content: flex-start;
        padding-left: 30px;
    }
    .gfstats-feature:last-child {
        border-bottom: none;
    }
}
