/* =========================================================
   Acurate – Home Stats / Counter Section
   Custom redesign for dynamic statistics cards
   ========================================================= */

.acurate-stats {
    --stats-bg: #89c73e;
    --stats-bg-deep: #6f9641;
    --stats-card-bg: #ffffff;
    --stats-number: #1a1a1a;
    --stats-label: #333333;
    --stats-radius: 14px;
    --stats-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    --stats-vector: rgba(255, 255, 255, 0.18);

    background: linear-gradient(115deg, var(--stats-bg) 0%, var(--stats-bg-deep) 48%, #7bb536 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.acurate-stats::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.14) 1.2px, transparent 1.3px);
    background-size: 22px 22px;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

.acurate-stats::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 0% 50%, rgba(255, 255, 255, 0.16) 0%, transparent 42%),
        radial-gradient(ellipse at 100% 40%, rgba(0, 0, 0, 0.1) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

/* Vector decorations layer */
.acurate-stats__decor {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    color: var(--stats-vector);
}

.acurate-stats__svg {
    position: absolute;
    color: inherit;
}

.acurate-stats__svg--gear-l {
    width: 180px;
    height: 180px;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.55;
    animation: stats-spin 28s linear infinite;
}

.acurate-stats__svg--gear-r {
    width: 120px;
    height: 120px;
    right: -10px;
    bottom: -20px;
    opacity: 0.5;
    animation: stats-spin-rev 22s linear infinite;
}

.acurate-stats__svg--hex {
    width: 70px;
    height: 80px;
    right: 12%;
    top: 18px;
    opacity: 0.45;
}

.acurate-stats__svg--dots {
    width: 140px;
    height: 90px;
    left: 14%;
    top: 12px;
    opacity: 0.4;
}

.acurate-stats__svg--wave {
    width: 55%;
    height: 70px;
    left: 22%;
    bottom: 8px;
    opacity: 0.35;
}

.acurate-stats__svg--circle-a {
    width: 140px;
    height: 140px;
    right: 18%;
    bottom: -40px;
    opacity: 0.4;
    animation: stats-pulse 6s ease-in-out infinite;
}

.acurate-stats__svg--circle-b {
    width: 90px;
    height: 90px;
    left: 8%;
    bottom: 10px;
    opacity: 0.35;
}

.acurate-stats__svg--factory {
    width: 150px;
    height: 95px;
    right: 6%;
    top: 50%;
    transform: translateY(-55%);
    opacity: 0.32;
}

.acurate-stats__blob {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    filter: blur(2px);
}

.acurate-stats__blob--1 {
    width: 220px;
    height: 220px;
    left: -60px;
    top: -80px;
}

.acurate-stats__blob--2 {
    width: 160px;
    height: 160px;
    right: -40px;
    top: -30px;
    background: rgba(0, 0, 0, 0.08);
}

.acurate-stats__blob--3 {
    width: 180px;
    height: 180px;
    left: 40%;
    bottom: -90px;
    background: rgba(255, 255, 255, 0.08);
}

@keyframes stats-spin {
    from { transform: translateY(-50%) rotate(0deg); }
    to { transform: translateY(-50%) rotate(360deg); }
}

@keyframes stats-spin-rev {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

@keyframes stats-pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.06); }
}

.acurate-stats .container {
    position: relative;
    z-index: 1;
}

.acurate-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    align-items: stretch;
}

.acurate-stats__card {
    background: var(--stats-card-bg);
    border-radius: var(--stats-radius);
    box-shadow: var(--stats-shadow);
    text-align: center;
    padding: 36px 20px 32px;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    z-index: 1;
}

.acurate-stats__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.acurate-stats__icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(137, 199, 62, 0.14);
    color: #6f9641;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.45rem;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.acurate-stats__card:hover .acurate-stats__icon {
    background: #89c73e;
    color: #ffffff;
    transform: scale(1.08);
}

.acurate-stats__number {
    margin: 0;
    font-family: "Krona One", "Segoe UI", sans-serif;
    font-size: clamp(2.2rem, 3vw, 3rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--stats-number);
    letter-spacing: 0.5px;
}

.acurate-stats__number .suffix {
    font-size: 0.65em;
    margin-left: 2px;
}

.acurate-stats__label {
    margin: 12px 0 0;
    font-family: "Kumbh Sans", "Segoe UI", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--stats-label);
    line-height: 1.35;
}

/* Responsive */
@media (max-width: 991px) {
    .acurate-stats {
        padding: 55px 0;
    }

    .acurate-stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .acurate-stats__card {
        padding: 30px 16px 26px;
        min-height: 170px;
    }

    .acurate-stats__icon {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .acurate-stats__svg--factory,
    .acurate-stats__svg--wave {
        opacity: 0.22;
    }
}

@media (max-width: 575px) {
    .acurate-stats {
        padding: 45px 0;
    }

    .acurate-stats__grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .acurate-stats__card {
        padding: 24px 12px 20px;
        min-height: 150px;
        border-radius: 12px;
    }

    .acurate-stats__icon {
        width: 46px;
        height: 46px;
        font-size: 1.15rem;
        margin-bottom: 10px;
    }

    .acurate-stats__number {
        font-size: 1.85rem;
    }

    .acurate-stats__label {
        font-size: 0.88rem;
        margin-top: 8px;
    }

    .acurate-stats__svg--gear-l,
    .acurate-stats__svg--gear-r,
    .acurate-stats__svg--factory {
        width: 90px;
        height: 90px;
        opacity: 0.28;
    }

    .acurate-stats__svg--dots,
    .acurate-stats__svg--hex {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .acurate-stats__svg--gear-l,
    .acurate-stats__svg--gear-r,
    .acurate-stats__svg--circle-a {
        animation: none;
    }
}
