@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Rajdhani:wght@500;600;700&display=swap');

.nc-wrapper-7c585976 {
    --grid-cols: 4; /* Default overridden by inline styles from Elementor */
    position: relative;
    width: 100%;
    padding: clamp(30px, 5vw, 60px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255,255,255,0.05);
    background-color: #030612;
}

/* Section Background Overlay */
.nc-wrapper-7c585976::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-color: rgba(0, 0, 0, 0.5);
}

.nc-wrapper-7c585976 .nc-global-scanline {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 240, 255, 0.05) 50%, transparent);
    background-size: 100% 10px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.3;
    animation: scanlineGlobal 8s linear infinite;
    will-change: transform;
}

@keyframes scanlineGlobal {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

.nc-wrapper-7c585976 .nc-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(var(--grid-cols), 1fr);
    gap: 30px;
}

/* Individual Counter Items */
.nc-wrapper-7c585976 .nc-item {
    --counter-color: #00f0ff;
    position: relative;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid color-mix(in srgb, var(--counter-color) 30%, transparent);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(30px, 4vw, 50px) 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    height: 100%; /* Ensure items fill wrapper in grid */
}

/* Individual Card High-Tech Grid */
.nc-wrapper-7c585976 .nc-item-card-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(color-mix(in srgb, var(--counter-color) 15%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, var(--counter-color) 15%, transparent) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.nc-wrapper-7c585976 .nc-item:hover .nc-item-card-grid {
    opacity: 0.8;
}

.nc-wrapper-7c585976 .nc-item-glitch-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--item-color, #00f0ff) 20%, transparent), transparent 60%);
    opacity: 0.5;
    z-index: 0;
    transition: opacity 0.3s;
}

.nc-wrapper-7c585976 .nc-item:hover .nc-item-glitch-bg {
    opacity: 1;
}

.nc-wrapper-7c585976 .nc-item-inner {
    position: relative;
    z-index: 2;
}

/* Hover effects */
.nc-wrapper-7c585976 .nc-item:hover {
    transform: translateY(-10px);
    border-color: var(--counter-color);
    box-shadow: 0 15px 40px color-mix(in srgb, var(--counter-color) 40%, transparent), inset 0 0 20px color-mix(in srgb, var(--counter-color) 20%, transparent);
}


/* Corners */
.nc-wrapper-7c585976 .nc-corner {
    position: absolute;
    width: 15px;
    height: 15px;
    border: 2px solid transparent;
    z-index: 5;
    transition: all 0.3s ease;
}
.nc-wrapper-7c585976 .nc-corner.top-left {
    top: -1px; left: -1px;
    border-top-color: var(--counter-color);
    border-left-color: var(--counter-color);
    border-top-left-radius: 8px;
}

.nc-wrapper-7c585976 .nc-corner.bottom-right {
    bottom: -1px; right: -1px;
    border-bottom-color: var(--counter-color);
    border-right-color: var(--counter-color);
    border-bottom-right-radius: 8px;
}

.nc-wrapper-7c585976 .nc-item:hover .nc-corner {
    width: 25px; height: 25px;
    box-shadow: 0 0 10px var(--counter-color);
}

/* Icon */
.nc-wrapper-7c585976 .nc-icon {
    font-size: clamp(35px, 4vw, 50px);
    color: var(--counter-color);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px var(--counter-color));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
}
.nc-wrapper-7c585976 .nc-item:hover .nc-icon {
    transform: scale(1.2) translateY(-5px);
}
.nc-wrapper-7c585976 .nc-icon svg {
    width: 1em; height: 1em; fill: currentColor;
}

/* Number Value Wrap */
.nc-wrapper-7c585976 .nc-value-wrap {
    font-family: 'Share Tech Mono', monospace;
    font-size: clamp(40px, 5vw, 65px);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 0 0 10px var(--counter-color), 0 0 20px var(--counter-color);
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.nc-wrapper-7c585976 .nc-prefix,
.nc-wrapper-7c585976 .nc-suffix {
    color: var(--counter-color);
    font-size: 0.6em;
    text-shadow: 0 0 10px var(--counter-color);
}

/* Title */
.nc-wrapper-7c585976 .nc-title {
    font-family: 'Rajdhani', sans-serif;
    color: rgba(255,255,255,0.7);
    font-size: clamp(16px, 1.5vw, 22px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
    transition: color 0.3s;
}
.nc-wrapper-7c585976 .nc-item:hover .nc-title {
    color: #fff;
    text-shadow: 0 0 5px rgba(255,255,255,0.5);
}

/* Global Multi-color Borders */
.nc-wrapper-7c585976 .nc-global-border {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff00ff, #00f0ff, #ff6b00, #4ade80);
    z-index: 5;
    opacity: 0.8;
}
.nc-wrapper-7c585976 .nc-global-border.top { top: 0; box-shadow: 0 5px 15px rgba(255,255,255,0.1); }
.nc-wrapper-7c585976 .nc-global-border.bottom { bottom: 0; box-shadow: 0 -5px 15px rgba(255,255,255,0.1); }
