/* ================================================================
   Velora Counter — fcard box preset
   ================================================================ */

/* ── Card wrapper ───────────────────────────────────────────── */
.vfc-style-box .elementor-widget-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    isolation: isolate;
    background-color: #0E1012;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 30px 30px 32px;
    min-height: 300px;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    box-sizing: border-box;
}

.vfc-style-box:hover .elementor-widget-container {
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}

/* ── Glow (top-right white radial blur) ─────────────────────── */
.vfc-style-box .elementor-widget-container::before {
    content: '';
    position: absolute;
    z-index: 0;
    pointer-events: none;
    top: -10%;
    right: -5%;
    width: 78%;
    height: 58%;
    background: radial-gradient(
        ellipse 60% 60% at 60% 35%,
        rgba(255,255,255,0.22),
        rgba(255,255,255,0.05) 45%,
        transparent 72%
    );
    filter: blur(22px);
    opacity: 0.35;
    transition: opacity 0.35s;
}

.vfc-style-box:hover .elementor-widget-container::before {
    opacity: 0.7;
}

/* ── Dots pattern (volt dots, top-right corner mask) ────────── */
.vfc-style-box .elementor-widget-container::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image: radial-gradient(#CCFF02 0.7px, transparent 1px);
    background-size: 15px 15px;
    opacity: 0.5;
    -webkit-mask-image: radial-gradient(ellipse 34% 38% at 90% 10%, #000 12%, transparent 68%);
    mask-image:         radial-gradient(ellipse 34% 38% at 90% 10%, #000 12%, transparent 68%);
    transition: opacity 0.55s ease, -webkit-mask-image 0.55s ease, mask-image 0.55s ease;
}

.vfc-style-box:hover .elementor-widget-container::after {
    opacity: 0.8;
    -webkit-mask-image: radial-gradient(ellipse 56% 62% at 90% 10%, #000 14%, transparent 74%);
    mask-image:         radial-gradient(ellipse 56% 62% at 90% 10%, #000 14%, transparent 74%);
}

/* ── Counter layout ─────────────────────────────────────────── */
.vfc-style-box .elementor-counter {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    width: 100%;
    gap: 0;
}

/* Number block before title */
.vfc-style-box .elementor-counter-number-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    order: 1;
}

/* Title acts as description — goes below number */
.vfc-style-box .elementor-counter-title {
    order: 2;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.55;
    color: #A7ADB5 !important;
    margin: 16px 0 0 !important;
    max-width: 30ch;
    display: block;
}

/* ── Prefix = kicker label ──────────────────────────────────── */
.vfc-style-box .elementor-counter-number-prefix {
    flex: 0 0 100%;
    font-size: 12px !important;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #CCFF02 !important;
    margin-bottom: 14px;
    line-height: 1;
}

/* ── Number ─────────────────────────────────────────────────── */
.vfc-style-box .elementor-counter-number {
    font-family: 'Archivo', sans-serif !important;
    font-weight: 800 !important;
    font-stretch: 125%;
    font-size: clamp(56px, 6vw, 86px) !important;
    line-height: 0.9 !important;
    letter-spacing: -0.02em;
    color: #F4F5F2 !important;
}

/* ── Suffix = unit ──────────────────────────────────────────── */
.vfc-style-box .elementor-counter-number-suffix {
    font-family: 'Archivo', sans-serif !important;
    font-weight: 800 !important;
    font-stretch: 125%;
    font-size: clamp(34px, 4vw, 50px) !important;
    line-height: 0.9;
    color: #CCFF02 !important;
    margin-left: 4px;
}

/* ── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 767px) {
    .vfc-style-box .elementor-widget-container {
        min-height: 240px;
        padding: 24px 24px 26px;
    }
}

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .vfc-style-box .elementor-widget-container,
    .vfc-style-box .elementor-widget-container::before,
    .vfc-style-box .elementor-widget-container::after {
        transition: none;
    }
}
