/* ==========================================================================
   COMPONENT: STATISTICS — Premium Dark Count-Up Band
   ========================================================================== */

.comp-stats {
    background: var(--bg-dark, #1C1C1E);
    padding: clamp(40px, 5vw, 60px) 0;
    position: relative;
    overflow: hidden;
}

/* Subtle purple gradient glow in bg */
.comp-stats::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 30%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(75,46,131,0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.comp-stats .container { position: relative; z-index: 1; }

.comp-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

/* Divider between items */
.comp-stats__item {
    text-align: center;
    padding: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 32px);
    position: relative;
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0s, transform 0s;
}

.comp-stats__item::after {
    content: '';
    position: absolute;
    right: 0; top: 20%; bottom: 20%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(201,169,110,0.25), transparent);
}
.comp-stats__item:last-child::after { display: none; }

/* Icon */
.comp-stats__icon-wrapper {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--purple), var(--purple-mid));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    box-shadow: var(--shadow-purple, 0 8px 24px rgba(75,46,131,0.3));
}
.comp-stats__icon-wrapper svg { width: 24px; height: 24px; color: #fff; }

/* Large Number */
.comp-stats__number {
    display: block;
    font-family: var(--font-display, 'Outfit', 'Inter', sans-serif);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold, #C9A96E) 0%, #FFF5D6 50%, var(--gold, #C9A96E) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
    filter: drop-shadow(0px 4px 10px rgba(201,169,110,0.2));
}

.comp-stats__title {
    font-family: var(--font-display, 'Outfit', 'DM Sans', sans-serif);
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comp-stats__desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
    line-height: 1.5;
    letter-spacing: 0.02em;
    font-weight: 400;
}

/* GSAP state reset done via JS */
.gsap-stat { opacity: 0; transform: translateY(32px); }

/* Responsive */
@media (max-width: 991px) {
    .comp-stats__grid { grid-template-columns: repeat(2, 1fr); }
    .comp-stats__item::after {
        right: 0; top: auto; left: 20%; bottom: 0;
        width: 60%; height: 1px;
        background: linear-gradient(to right, transparent, rgba(201,169,110,0.2), transparent);
    }
    .comp-stats__item:nth-child(2)::after { display: none; }
    .comp-stats__item:last-child::after { display: none; }
}

@media (max-width: 575px) {
    .comp-stats__grid { grid-template-columns: 1fr; }
    .comp-stats__item::after { left: 20%; right: 20%; width: auto; }
    .comp-stats__item:last-child::after { display: none; }
}