/* Cro Stats Carousel Module
 * Block 6 - Fully Customizable with Admin-Uploadable Icons
 * ------------------------------------------------------------------------------------------------------------------ */

/* Block-specific styles - Brand colors inherited from global.css */

.cro-stats-carousel {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* =================================================================== */
/* MAIN CONTAINER - Solid Theme Background Color */
/* =================================================================== */
.cro-stats-carousel {
    background: var(--color-secondary-normal-bg) !important;
    padding: 2.5rem 0 3rem;
    overflow: hidden;
    position: relative;
}

/* =================================================================== */
/* HEIGHT VARIATIONS (Admin Configurable) */
/* =================================================================== */
.cro-stats-carousel .stats-carousel-wrapper.height-compact {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.cro-stats-carousel .stats-carousel-wrapper.height-normal {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.cro-stats-carousel .stats-carousel-wrapper.height-spacious {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.cro-stats-carousel .stats-carousel-wrapper.height-spacious .stat-card-inner {
    padding: 1.25rem 0.75rem !important;
}

.cro-stats-carousel .stats-carousel-wrapper.height-extra {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.cro-stats-carousel .stats-carousel-wrapper.height-extra .stat-card-inner {
    padding: 1.75rem 1rem 1.5rem !important;
    min-height: 320px;
}

/* =================================================================== */
/* CUSTOM ICON SUPPORT (Uploaded SVG/PNG) */
/* =================================================================== */
.cro-stats-carousel .stat-icon-custom {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cro-stats-carousel .stat-icon-custom .stat-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    /* Use CSS filter to apply color - works with SVG */
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

.cro-stats-carousel .stat-icon-custom.icon-size-normal .stat-icon-img {
    width: 24px;
    height: 24px;
}

.cro-stats-carousel .stat-icon-custom.icon-size-large .stat-icon-img {
    width: 32px;
    height: 32px;
}

/* Icon size variations */
.cro-stats-carousel .stat-icon-svg.icon-size-normal {
    width: 28px;
    height: 28px;
}

.cro-stats-carousel .stat-icon-svg.icon-size-normal svg {
    width: 22px;
    height: 22px;
}

.cro-stats-carousel .stat-icon-svg.icon-size-large {
    width: 48px;
    height: 48px;
}

.cro-stats-carousel .stat-icon-svg.icon-size-large svg {
    width: 32px;
    height: 32px;
}

/* Placeholder when no icon */
.cro-stats-carousel .stat-icon-placeholder {
    width: 24px;
    height: 24px;
}

/* Hide all background elements - solid color only */
.stats-bg-elements,
.bg-shape,
.bg-shape-1,
.bg-shape-2,
.bg-shape-3,
.bg-dots {
    display: none !important;
}

/* Remove any pseudo-elements */
.cro-stats-carousel::before,
.cro-stats-carousel::after {
    display: none !important;
}

.cro-stats-carousel .section-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles - Light text for dark theme background */
.cro-stats-carousel .section-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.25rem;
    text-align: center;
}

.cro-stats-carousel .section-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-align: center;
}

/* Carousel Wrapper */
.cro-stats-carousel .stats-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 1rem;
}

.cro-stats-carousel .stats-carousel {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 1rem 0 1.5rem;
    cursor: grab;
}

.cro-stats-carousel .stats-carousel:active {
    cursor: grabbing;
}

.cro-stats-carousel .stats-carousel::-webkit-scrollbar {
    display: none;
}

/* =================================================================== */
/* STAT CARDS - Compact Vivid Design */
/* =================================================================== */
.cro-stats-carousel .stat-card-v2 {
    min-width: 260px;
    max-width: 260px;
    scroll-snap-align: center;
    flex-shrink: 0;
    transform: scale(0.95);
    transform-origin: center center;
}

.cro-stats-carousel .stat-card-inner {
    background: white;
    padding: 0;
    border-radius: 18px;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.15),
        0 4px 8px rgba(0, 0, 0, 0.1);
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
/* ===== HORIZONTAL PROGRESS BAR AT TOP ===== */
.cro-stats-carousel .card-progress-bar {
    padding-left: 0px;
    padding-right: 0px;
    height: 5px;
    background: rgba(0, 0, 0, 0.08);
    position: relative;
    flex-shrink: 0;
    overflow: visible;
}

.cro-stats-carousel .card-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        var(--color-primary-normal-bg, #3B82F6) 0%,
        #60A5FA 50%,
        var(--color-primary-normal-bg, #3B82F6) 100%);
    background-size: 200% 100%;
    width: 0%;
    position: relative;
    transition: width 0.1s linear;
}

/* Glow effect on progress fill */
.cro-stats-carousel .card-progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--color-primary-normal-bg, #3B82F6);
    border-radius: 50%;
    box-shadow: 
        0 0 8px var(--color-primary-normal-bg, #3B82F6),
        0 0 16px rgba(59, 130, 246, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show glow dot when active */
.cro-stats-carousel .stat-card-v2.active .card-progress-fill::after {
    opacity: 1;
    animation: pulse-glow 1.5s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 
            0 0 8px var(--color-primary-normal-bg, #3B82F6),
            0 0 16px rgba(59, 130, 246, 0.5);
        transform: translateY(-50%) scale(1);
    }
    50% { 
        box-shadow: 
            0 0 12px var(--color-primary-normal-bg, #3B82F6),
            0 0 24px rgba(59, 130, 246, 0.7);
        transform: translateY(-50%) scale(1.2);
    }
}

/* Active card gets animated progress */
/* Animation controlled by JS for timing sync */
.cro-stats-carousel .stat-card-v2.active .card-progress-fill {
    /* animation controlled by JS */
}

@keyframes card-progress {
    /* Smooth progress that reaches 100% at end */
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes shimmer-bg {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
    100% { background-position: -200% 0; }
    0% { width: 0%; }
    100% { width: 100%; }
}


/* Color accent bar at top - HIDDEN (user preference) */
.cro-stats-carousel .card-accent-bar {
    display: none !important;
}

/* Disabled - was conflicting with progress bar */
/* .cro-stats-carousel .stat-card-inner > *:not(.card-accent-bar):not(.urgency-overlay):not(.verification-badge) { */
.cro-stats-carousel .stat-card-inner-padding-disabled {
    padding-left: 1rem;
    padding-right: 1rem;
}

.cro-stats-carousel .stat-card-inner > .stat-icon-v2 {
    padding-top: 1rem;
}

.cro-stats-carousel .stat-card-inner > .stat-ticker {
    padding-bottom: 0.75rem;
    margin-top: auto;
}

/* Non-active card outline - 4px black 25% opacity outward */
.cro-stats-carousel .stat-card-v2:not(.active) {
    position: relative;
}

.cro-stats-carousel .stat-card-v2:not(.active)::before {
    content: '';
    position: absolute;
    inset: -6px;
    border: 4px solid rgba(0, 0, 0, 0.25);
    border-radius: 22px;
    pointer-events: none;
    z-index: 5;
}

/* Card hover effect - NO vertical movement */
.cro-stats-carousel .stat-card-v2:hover .stat-card-inner {
    box-shadow: 
        0 16px 32px rgba(0, 0, 0, 0.2),
        0 8px 16px rgba(0, 0, 0, 0.15);
}

.cro-stats-carousel .stat-card-v2:not(.active):hover::before {
    border-color: rgba(0, 0, 0, 0.35);
}

/* Active card - Simple border glow (progress shown in horizontal bar) */
.cro-stats-carousel .stat-card-v2.active {
    position: relative;
}

.cro-stats-carousel .stat-card-v2.active::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 3px solid var(--color-primary-normal-bg, #3B82F6);
    border-radius: 22px;
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.35);
}

.cro-stats-carousel .stat-card-v2.active .stat-card-inner {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}
}

/* =================================================================== */
/* ICON + NUMBER ROW - Professional Horizontal Layout */
/* =================================================================== */
.cro-stats-carousel .stat-header-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 0.35rem;
}

.cro-stats-carousel .stat-icon-v2 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Icon container styles - supports icon-preset, icon-svg, icon-custom from icons.html.twig macro */
.cro-stats-carousel .stat-icon-v2 .icon-preset,
.cro-stats-carousel .stat-icon-v2 .icon-svg,
.cro-stats-carousel .stat-icon-v2 .icon-custom,
.cro-stats-carousel .stat-icon-svg {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.12);
    border: 1.5px solid rgba(16, 185, 129, 0.25);
    transition: all 0.3s ease;
}

.cro-stats-carousel .stat-icon-v2 .icon-preset svg,
.cro-stats-carousel .stat-icon-v2 .icon-svg svg,
.cro-stats-carousel .stat-icon-v2 .icon-custom .icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.cro-stats-carousel .stat-icon-svg {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    /* NO backdrop - clean icon only */
    background: transparent !important;
    border: none !important;
}

.cro-stats-carousel .stat-card-v2:hover .stat-icon-v2 .icon-preset,
.cro-stats-carousel .stat-card-v2:hover .stat-icon-v2 .icon-svg,
.cro-stats-carousel .stat-card-v2:hover .stat-icon-v2 .icon-custom,
.cro-stats-carousel .stat-card-v2:hover .stat-icon-svg {
    transform: scale(1.05);
}

.cro-stats-carousel .stat-icon-svg svg {
    width: 22px;
    height: 22px;
}

/* Force ALL icons to use success green */
.cro-stats-carousel .stat-icon-svg svg,
.cro-stats-carousel .stat-icon-svg svg * {
    stroke: var(--success, #10B981) !important;
}

.cro-stats-carousel .stat-icon-svg svg[fill]:not([fill="none"]),
.cro-stats-carousel .stat-icon-svg svg *[fill]:not([fill="none"]) {
    fill: var(--success, #10B981) !important;
}

.cro-stats-carousel .stat-icon-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.cro-stats-carousel .icon-fallback {
    font-size: 1.75rem;
}

/* =================================================================== */
/* STAT NUMBER STYLES - HERO NUMBER EMPHASIS */
/* =================================================================== */
.cro-stats-carousel .stat-number-v2 {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.6rem 1rem;
    border-radius: 14px;
    /* Prominent backdrop */
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.18) 0%, rgba(16, 185, 129, 0.06) 100%);
    border: 2px solid rgba(16, 185, 129, 0.3);
    box-shadow: 
        0 6px 16px rgba(16, 185, 129, 0.18),
        inset 0 2px 0 rgba(255, 255, 255, 0.25);
}

.cro-stats-carousel .stat-prefix {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(16, 185, 129, 0.7) !important;
    line-height: 1;
}

/* THE MAIN NUMBER - Maximum Emphasis */
.cro-stats-carousel .stat-count {
    font-size: 3.25rem;
    font-weight: 900;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
    color: var(--success, #10B981) !important;
    line-height: 1;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.cro-stats-carousel .stat-suffix {
    font-size: 1.35rem;
    font-weight: 700;
    color: rgba(16, 185, 129, 0.7) !important;
    line-height: 1;
}

.cro-stats-carousel .stat-label-v2 {
    text-align: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: #334155;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

/* =================================================================== */
/* MODERN ACCENT COLORS for Icons (NOT BLUE) */
/* =================================================================== */
/* Card 1 - Gold/Amber */
.cro-stats-carousel .stat-card-v2:nth-child(1) .stat-icon-v2 .icon-preset,
.cro-stats-carousel .stat-card-v2:nth-child(1) .stat-icon-v2 .icon-svg,
.cro-stats-carousel .stat-card-v2:nth-child(1) .stat-icon-v2 .icon-custom,
.cro-stats-carousel .stat-card-v2:nth-child(1) .stat-icon-svg {
    background: rgba(251, 191, 36, 0.15) !important;
    border-color: rgba(251, 191, 36, 0.3) !important;
}
.cro-stats-carousel .stat-card-v2:nth-child(1) .stat-icon-v2 svg,
.cro-stats-carousel .stat-card-v2:nth-child(1) .stat-icon-v2 svg *,
.cro-stats-carousel .stat-card-v2:nth-child(1) .stat-icon-svg svg,
.cro-stats-carousel .stat-card-v2:nth-child(1) .stat-icon-svg svg * {
    stroke: #FBBF24 !important;
}
.cro-stats-carousel .stat-card-v2:nth-child(1) .stat-icon-v2 svg[fill]:not([fill="none"]),
.cro-stats-carousel .stat-card-v2:nth-child(1) .stat-icon-v2 svg *[fill]:not([fill="none"]),
.cro-stats-carousel .stat-card-v2:nth-child(1) .stat-icon-svg svg[fill]:not([fill="none"]),
.cro-stats-carousel .stat-card-v2:nth-child(1) .stat-icon-svg svg *[fill]:not([fill="none"]) {
    fill: #FBBF24 !important;
}

/* Card 2 - Purple */
.cro-stats-carousel .stat-card-v2:nth-child(2) .stat-icon-v2 .icon-preset,
.cro-stats-carousel .stat-card-v2:nth-child(2) .stat-icon-v2 .icon-svg,
.cro-stats-carousel .stat-card-v2:nth-child(2) .stat-icon-v2 .icon-custom,
.cro-stats-carousel .stat-card-v2:nth-child(2) .stat-icon-svg {
    background: rgba(168, 85, 247, 0.15) !important;
    border-color: rgba(168, 85, 247, 0.3) !important;
}
.cro-stats-carousel .stat-card-v2:nth-child(2) .stat-icon-v2 svg,
.cro-stats-carousel .stat-card-v2:nth-child(2) .stat-icon-v2 svg *,
.cro-stats-carousel .stat-card-v2:nth-child(2) .stat-icon-svg svg,
.cro-stats-carousel .stat-card-v2:nth-child(2) .stat-icon-svg svg * {
    stroke: #A855F7 !important;
}
.cro-stats-carousel .stat-card-v2:nth-child(2) .stat-icon-v2 svg[fill]:not([fill="none"]),
.cro-stats-carousel .stat-card-v2:nth-child(2) .stat-icon-v2 svg *[fill]:not([fill="none"]),
.cro-stats-carousel .stat-card-v2:nth-child(2) .stat-icon-svg svg[fill]:not([fill="none"]),
.cro-stats-carousel .stat-card-v2:nth-child(2) .stat-icon-svg svg *[fill]:not([fill="none"]) {
    fill: #A855F7 !important;
}

/* Card 3 - Pink/Coral */
.cro-stats-carousel .stat-card-v2:nth-child(3) .stat-icon-v2 .icon-preset,
.cro-stats-carousel .stat-card-v2:nth-child(3) .stat-icon-v2 .icon-svg,
.cro-stats-carousel .stat-card-v2:nth-child(3) .stat-icon-v2 .icon-custom,
.cro-stats-carousel .stat-card-v2:nth-child(3) .stat-icon-svg {
    background: rgba(236, 72, 153, 0.15) !important;
    border-color: rgba(236, 72, 153, 0.3) !important;
}
.cro-stats-carousel .stat-card-v2:nth-child(3) .stat-icon-v2 svg,
.cro-stats-carousel .stat-card-v2:nth-child(3) .stat-icon-v2 svg *,
.cro-stats-carousel .stat-card-v2:nth-child(3) .stat-icon-svg svg,
.cro-stats-carousel .stat-card-v2:nth-child(3) .stat-icon-svg svg * {
    stroke: #EC4899 !important;
}
.cro-stats-carousel .stat-card-v2:nth-child(3) .stat-icon-v2 svg[fill]:not([fill="none"]),
.cro-stats-carousel .stat-card-v2:nth-child(3) .stat-icon-v2 svg *[fill]:not([fill="none"]),
.cro-stats-carousel .stat-card-v2:nth-child(3) .stat-icon-svg svg[fill]:not([fill="none"]),
.cro-stats-carousel .stat-card-v2:nth-child(3) .stat-icon-svg svg *[fill]:not([fill="none"]) {
    fill: #EC4899 !important;
}

/* Card 4 - Orange */
.cro-stats-carousel .stat-card-v2:nth-child(4) .stat-icon-v2 .icon-preset,
.cro-stats-carousel .stat-card-v2:nth-child(4) .stat-icon-v2 .icon-svg,
.cro-stats-carousel .stat-card-v2:nth-child(4) .stat-icon-v2 .icon-custom,
.cro-stats-carousel .stat-card-v2:nth-child(4) .stat-icon-svg {
    background: rgba(251, 146, 60, 0.15) !important;
    border-color: rgba(251, 146, 60, 0.3) !important;
}
.cro-stats-carousel .stat-card-v2:nth-child(4) .stat-icon-v2 svg,
.cro-stats-carousel .stat-card-v2:nth-child(4) .stat-icon-v2 svg *,
.cro-stats-carousel .stat-card-v2:nth-child(4) .stat-icon-svg svg,
.cro-stats-carousel .stat-card-v2:nth-child(4) .stat-icon-svg svg * {
    stroke: #FB923C !important;
}
.cro-stats-carousel .stat-card-v2:nth-child(4) .stat-icon-v2 svg[fill]:not([fill="none"]),
.cro-stats-carousel .stat-card-v2:nth-child(4) .stat-icon-v2 svg *[fill]:not([fill="none"]),
.cro-stats-carousel .stat-card-v2:nth-child(4) .stat-icon-svg svg[fill]:not([fill="none"]),
.cro-stats-carousel .stat-card-v2:nth-child(4) .stat-icon-svg svg *[fill]:not([fill="none"]) {
    fill: #FB923C !important;
}

/* Card 5 - Teal (not blue, a green-ish tone) */
.cro-stats-carousel .stat-card-v2:nth-child(5) .stat-icon-v2 .icon-preset,
.cro-stats-carousel .stat-card-v2:nth-child(5) .stat-icon-v2 .icon-svg,
.cro-stats-carousel .stat-card-v2:nth-child(5) .stat-icon-v2 .icon-custom,
.cro-stats-carousel .stat-card-v2:nth-child(5) .stat-icon-svg {
    background: rgba(20, 184, 166, 0.15) !important;
    border-color: rgba(20, 184, 166, 0.3) !important;
}
.cro-stats-carousel .stat-card-v2:nth-child(5) .stat-icon-v2 svg,
.cro-stats-carousel .stat-card-v2:nth-child(5) .stat-icon-v2 svg *,
.cro-stats-carousel .stat-card-v2:nth-child(5) .stat-icon-svg svg,
.cro-stats-carousel .stat-card-v2:nth-child(5) .stat-icon-svg svg * {
    stroke: #14B8A6 !important;
}
.cro-stats-carousel .stat-card-v2:nth-child(5) .stat-icon-v2 svg[fill]:not([fill="none"]),
.cro-stats-carousel .stat-card-v2:nth-child(5) .stat-icon-v2 svg *[fill]:not([fill="none"]),
.cro-stats-carousel .stat-card-v2:nth-child(5) .stat-icon-svg svg[fill]:not([fill="none"]),
.cro-stats-carousel .stat-card-v2:nth-child(5) .stat-icon-svg svg *[fill]:not([fill="none"]) {
    fill: #14B8A6 !important;
}

/* =================================================================== */
/* COMPARISON BAR - Compact with Shimmer */
/* =================================================================== */
.cro-stats-carousel .stat-comparison {
    margin-bottom: 0.75rem;
}

.cro-stats-carousel .comparison-bar {
    height: 8px;
    height: 8px;
    background: #E2E8F0;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    margin-bottom: 0.35rem;
}

.cro-stats-carousel .bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    /* Three-color gradient: Yellow -> Green -> Blue (theme colors) */
    background: linear-gradient(90deg, 
        var(--warning, #F59E0B) 0%,
        var(--success, #10B981) 15%, 
        var(--success, #10B981) 60%, 
        var(--color-primary-normal-bg, #3B82F6) 100%) !important;
    background-size: 200% 100%;
    animation: bar-shimmer 3s ease-in-out infinite;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
}

@keyframes bar-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* No shimmer effect - clean design */
.cro-stats-carousel .bar-fill::after {
    display: none;
}

.cro-stats-carousel .bar-comparison {
    background: var(--warning, #F59E0B) !important;
}

.cro-stats-carousel .bar-comparison {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 3px;
}

.cro-stats-carousel .comparison-text {
    font-size: 0.65rem;
    color: #64748B;
    display: block;
    text-align: center;
    font-weight: 600;
    line-height: 1.2;
}

/* =================================================================== */
/* MICRO CTA BUTTONS - Compact with scale */
/* =================================================================== */
.cro-stats-carousel .stat-micro-cta {
    color: white;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 36px;
    position: relative;
    overflow: hidden;
    margin: auto 0.75rem 0.75rem;
    transform: scale(0.95);
    transform-origin: center center;
}

.cro-stats-carousel .stat-micro-cta:hover {
    filter: brightness(1.1);
    transform: scale(0.95);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.cro-stats-carousel .stat-micro-cta:active {
    transform: scale(0.92);
}

/* No shimmer - clean design */
.cro-stats-carousel .stat-micro-cta::before {
    display: none;
}

/* CTA buttons use SUCCESS GREEN (not blue) */
.cro-stats-carousel .stat-micro-cta {
    background: var(--success, #10B981) !important;
    text-decoration: none;
}

.cro-stats-carousel a.stat-micro-cta {
    text-decoration: none;
    color: white;
}

.cro-stats-carousel .stat-micro-cta:hover {
    background: #059669 !important;
}

.cro-stats-carousel .cta-arrow-svg {
    transition: transform 0.3s ease;
    width: 14px;
    height: 14px;
}

.cro-stats-carousel .stat-micro-cta:hover .cta-arrow-svg {
    transform: translateX(3px);
}

/* =================================================================== */
/* STAT TICKER - Compact */
/* =================================================================== */
.cro-stats-carousel .stat-ticker {
    overflow: hidden;
    background: #F1F5F9;
    border-radius: 6px;
    padding: 0.35rem 0;
    margin: 0 0.25rem;
    transform: scale(0.92);
    transform-origin: center center;
}

.cro-stats-carousel .ticker-scroll {
    display: flex;
    animation: ticker-slide 12s linear infinite;
    white-space: nowrap;
}

@keyframes ticker-slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.cro-stats-carousel .ticker-scroll span {
    display: inline-block;
    padding: 0 1rem;
    font-size: 0.6rem;
    color: #64748B;
    font-weight: 600;
}

/* =================================================================== */
/* VERIFICATION BADGE - Theme Green */
/* =================================================================== */
.cro-stats-carousel .verification-badge {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    background: var(--color-primary-normal-bg);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    font-size: 0.55rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    box-shadow: 0 2px 8px color-mix(in srgb, var(--color-primary-normal-bg) 40%, transparent);
    transform: scale(0.9);
}

/* =================================================================== */
/* URGENCY OVERLAY - Fixed Readability */
/* =================================================================== */
.cro-stats-carousel .urgency-overlay {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    background: #FEF3C7;
    color: #92400E;
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    font-size: 0.55rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
    transform: scale(0.9);
    animation: urgency-pulse 1.5s ease-in-out infinite;
    border: 1px solid #F59E0B;
}

.cro-stats-carousel .urgency-icon {
    width: 12px;
    height: 12px;
    animation: fire-flicker 0.3s ease-in-out infinite alternate;
}

.cro-stats-carousel .urgency-icon svg,
.cro-stats-carousel .urgency-overlay svg {
    fill: #F59E0B;
}

@keyframes fire-flicker {
    0% { transform: scale(1) rotate(-3deg); }
    100% { transform: scale(1.1) rotate(3deg); }
}

@keyframes urgency-pulse {
    0%, 100% { transform: scale(0.9); }
    50% { transform: scale(0.95); }
}

/* =================================================================== */
/* CTA CARD STYLES - Modern Professional Design */
/* =================================================================== */
.cro-stats-carousel .cta-card .stat-card-inner {
    /* Uses admin-configurable --cta-bg-color or fallback to success green */
    background: linear-gradient(135deg, var(--cta-bg-color, var(--success, #10B981)) 0%, color-mix(in srgb, var(--cta-bg-color, var(--success, #10B981)) 85%, black) 100%);
    border: none;
    text-align: center;
    padding: 1.5rem 1rem !important;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Subtle pattern overlay */
.cro-stats-carousel .cta-card .stat-card-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 40%);
    pointer-events: none;
}

.cro-stats-carousel .cta-card .stat-card-inner > * {
    padding-left: 0 !important;
    padding-right: 0 !important;
    position: relative;
    z-index: 1;
}

.cro-stats-carousel .cta-card-icon {
    margin-bottom: 0.75rem;
}

.cro-stats-carousel .cta-card-icon .icon-preset,
.cro-stats-carousel .cta-card-icon .icon-svg,
.cro-stats-carousel .cta-card-icon .icon-custom,
.cro-stats-carousel .cta-card-icon .stat-icon-svg {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    width: 48px;
    height: 48px;
    backdrop-filter: blur(4px);
}

.cro-stats-carousel .cta-card-icon .icon-preset svg,
.cro-stats-carousel .cta-card-icon .icon-svg svg,
.cro-stats-carousel .cta-card-icon .stat-icon-svg svg,
.cro-stats-carousel .cta-card-icon svg,
.cro-stats-carousel .cta-card-icon svg * {
    stroke: white !important;
    width: 24px;
    height: 24px;
}

.cro-stats-carousel .cta-card-icon .icon-preset svg[fill]:not([fill="none"]),
.cro-stats-carousel .cta-card-icon .icon-svg svg[fill]:not([fill="none"]),
.cro-stats-carousel .cta-card-icon .stat-icon-svg svg[fill]:not([fill="none"]),
.cro-stats-carousel .cta-card-icon svg[fill]:not([fill="none"]),
.cro-stats-carousel .cta-card-icon svg *[fill]:not([fill="none"]) {
    fill: white !important;
}

.cro-stats-carousel .cta-card-title {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.cro-stats-carousel .cta-card-button {
    background: white;
    color: #059669;
    padding: 0.6rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 14px rgba(0, 0, 0, 0.15),
        0 2px 6px rgba(0, 0, 0, 0.1);
    min-height: 36px;
    font-size: 0.7rem;
    white-space: nowrap;
    max-width: 85%;
    margin: 0 auto;
    border: 2px solid transparent;
}

.cro-stats-carousel .cta-card-button:hover {
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.2),
        0 4px 10px rgba(0, 0, 0, 0.15);
    background: #f0fdf4;
}

.cro-stats-carousel .cta-card-button .cta-arrow-svg {
    width: 14px;
    height: 14px;
    stroke: #059669;
    transition: transform 0.3s ease;
}

.cro-stats-carousel .cta-card-button:hover .cta-arrow-svg {
    transform: translateX(3px);
}

.cro-stats-carousel .cta-card-button:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.cro-stats-carousel .cta-card-button:active {
    transform: scale(0.92);
}

.cro-stats-carousel .cta-card-button .cta-arrow-svg {
    stroke: var(--color-primary-normal-bg);
    width: 14px;
    height: 14px;
}

.cro-stats-carousel .cta-card-trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    margin-top: 0.6rem;
}

.cro-stats-carousel .cta-card-trust .trust-item {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.2rem 0.4rem;
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.cro-stats-carousel .cta-card-trust svg {
    stroke: #86EFAC;
    stroke-width: 3;
    width: 10px;
    height: 10px;
}

/* =================================================================== */
/* CAROUSEL PROGRESS DOTS - Theme Green */
/* =================================================================== */
.cro-stats-carousel .carousel-progress {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    transition: opacity 0.3s;
    opacity: 1;
}

.cro-stats-carousel .progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    padding: 0;
    position: relative;
}

.cro-stats-carousel .progress-dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.cro-stats-carousel .progress-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--color-primary-normal-bg);
    box-shadow: 0 0 8px color-mix(in srgb, var(--color-primary-normal-bg) 50%, transparent);
}

/* No autoplay indicator animation - clean design */
.cro-stats-carousel .progress-dot::after {
    display: none;
}

/* Hide Expand Stats Button */
.cro-stats-carousel .expand-stats-container {
    display: none;
}

/* =================================================================== */
/* DESKTOP RESPONSIVE */
/* =================================================================== */
@media (min-width: 768px) {
    .cro-stats-carousel {
        padding: 2rem 0 2.5rem;
    }

    .cro-stats-carousel .section-title {
        font-size: 1.5rem;
    }

    .cro-stats-carousel .section-subtitle {
        font-size: 0.9rem;
    }

    .cro-stats-carousel .stats-carousel-wrapper {
        padding: 0 2rem;
    }

    .cro-stats-carousel .stat-card-v2 {
        min-width: 260px;
        max-width: 260px;
    }

    .cro-stats-carousel .stat-icon-svg {
        width: 56px;
        height: 56px;
    }

    .cro-stats-carousel .stat-icon-svg svg {
        width: 30px;
        height: 30px;
    }

    .cro-stats-carousel .stat-count {
        font-size: 2.75rem;
    }
    
    .cro-stats-carousel .stat-prefix,
    .cro-stats-carousel .stat-suffix {
        font-size: 1.25rem;
    }

    .cro-stats-carousel .stat-label-v2 {
        font-size: 0.85rem;
    }

    .cro-stats-carousel .comparison-text {
        font-size: 0.7rem;
    }
}

/* =================================================================== */
/* MOBILE OPTIMIZATIONS */
/* =================================================================== */
@media (max-width: 480px) {
    .cro-stats-carousel {
        padding: 1.25rem 0 1.5rem;
    }

    .cro-stats-carousel .stat-card-v2 {
        min-width: 220px;
        max-width: 220px;
        transform: scale(0.92);
    }

    .cro-stats-carousel .stat-icon-svg {
        width: 44px;
        height: 44px;
    }

    .cro-stats-carousel .stat-icon-svg svg {
        width: 24px;
        height: 24px;
    }

    .cro-stats-carousel .stat-count {
        font-size: 2.25rem;
    }
    
    .cro-stats-carousel .stat-prefix,
    .cro-stats-carousel .stat-suffix {
        font-size: 1rem;
    }

    .bg-shape-3 {
        display: none;
    }

    .cro-stats-carousel .cta-card-button {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}

/* Prevent initial animation flash */
.cro-stats-carousel .stats-carousel.not-animated .bar-fill {
    transition: none;
}

.cro-stats-carousel .stats-carousel.not-animated .stat-count {
    transition: none;
}

/* =================================================================== */
/* REDUCED MOTION */
/* =================================================================== */
@media (prefers-reduced-motion: reduce) {
    .bg-shape,
    .cro-stats-carousel .stat-icon-svg,
    .cro-stats-carousel .ticker-scroll,
    .cro-stats-carousel .urgency-overlay,
    .cro-stats-carousel .urgency-icon,
    .cro-stats-carousel .bar-fill::after,
    .cro-stats-carousel .stat-micro-cta::before {
        animation: none;
    }
}

/* ------------------------------------------------------------------------------------------------------------------ */

/* Card content balanced spacing */
.cro-stats-carousel .stat-card-inner > .stat-header-row {
    padding: 1.25rem 1.25rem 0.5rem !important;
}

.cro-stats-carousel .stat-card-inner > .stat-label-v2 {
    padding: 0 1.25rem !important;
}

.cro-stats-carousel .stat-card-inner > .stat-comparison {
    padding: 0 1.25rem !important;
}

.cro-stats-carousel .stat-card-inner > .stat-micro-cta {
    margin: auto 1rem 1rem !important;
    padding: 0.75rem 1rem !important;
    border-radius: 12px !important;
    font-size: 0.75rem !important;
}

.cro-stats-carousel .stat-card-inner > .stat-ticker {
    margin: 0 0.75rem 0.75rem !important;
}

/* Ensure progress fill starts at 0% */
.cro-stats-carousel .stat-card-v2:not(.active) .card-progress-fill {
    width: 0% !important;
    animation: none !important;
}

.cro-stats-carousel .stat-card-v2:not(.active) .card-progress-fill::after {
    opacity: 0 !important;
}

/* Add spacing between icon and number */
.cro-stats-carousel .stat-icon-v2 {
    padding-bottom: 10px !important;
}

.cro-stats-carousel .stat-header-row {
    gap: 0.75rem !important;
}
