/* ===========================================================================
   SD CORE PVT LTD - Production v5
   Full video hero slider upgrade. Removes screenshot/dashboard visual blocks.
   =========================================================================== */

.hero-video-slider-section {
    position: relative;
    height: clamp(720px, 88vh, 900px) !important;
    min-height: 720px !important;
    max-height: 900px;
    overflow: hidden;
    background: #020B17 !important;
    isolation: isolate;
}

.hero-video-stage {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #020B17;
    overflow: hidden;
}

.hero-slider-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.02);
    filter: saturate(1.08) contrast(1.08) brightness(0.78);
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 11, 23, 0.96) 0%, rgba(2, 11, 23, 0.87) 34%, rgba(2, 11, 23, 0.48) 67%, rgba(2, 11, 23, 0.70) 100%),
        radial-gradient(circle at 72% 26%, rgba(0, 212, 255, 0.24) 0%, transparent 38%),
        linear-gradient(180deg, rgba(2, 11, 23, 0.72) 0%, rgba(2, 11, 23, 0.18) 48%, rgba(2, 11, 23, 0.92) 100%);
    z-index: 1;
}

.hero-video-noise {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.24;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, rgba(0,0,0,0.88), rgba(0,0,0,0.4), transparent);
}

.hero-video-slider-section .slider-container {
    position: relative;
    z-index: 3;
    height: 100%;
}

.hero-video-slider-section .slide {
    align-items: stretch !important;
    min-height: 100% !important;
}

.hero-video-slider-section .slide-content,
.hero-video-slider-section .video-slide-content {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 170px 24px 118px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    grid-template-columns: none !important;
    gap: 0 !important;
}

.hero-video-slider-section .slide-text,
.hero-video-slider-section .hero-video-copy {
    width: min(100%, 790px);
    max-width: 790px;
    padding: 0;
    position: relative;
    z-index: 4;
}

.hero-video-slider-section .badge {
    color: #7DEBFF !important;
    border-color: rgba(125, 235, 255, 0.38) !important;
    background: rgba(0, 212, 255, 0.10) !important;
    box-shadow: 0 12px 34px rgba(0, 212, 255, 0.08);
}

.hero-video-slider-section .hero-title {
    color: #FFFFFF !important;
    font-size: clamp(46px, 5.45vw, 76px) !important;
    line-height: 0.98 !important;
    letter-spacing: -3.4px !important;
    margin-bottom: 26px !important;
    max-width: 830px;
    text-shadow: 0 18px 54px rgba(0,0,0,0.42);
}

.hero-video-slider-section .hero-subtitle {
    color: rgba(235, 245, 255, 0.88) !important;
    max-width: 690px;
    font-size: clamp(17px, 1.38vw, 21px) !important;
    line-height: 1.72 !important;
    margin-bottom: 34px !important;
    text-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.hero-video-slider-section .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}

.hero-video-slider-section .hero-actions .btn {
    min-height: 52px;
    padding: 15px 24px !important;
    border-radius: 14px !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em;
}

.hero-video-slider-section .hero-actions .btn-primary {
    background: linear-gradient(135deg, #00D4FF 0%, #00A6A6 100%) !important;
    color: #020B17 !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    box-shadow: 0 16px 42px rgba(0, 212, 255, 0.24) !important;
}

.hero-video-slider-section .hero-actions .btn-secondary {
    background: rgba(255,255,255,0.09) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255,255,255,0.24) !important;
    backdrop-filter: blur(10px);
}

.hero-video-slider-section .hero-actions .btn:hover {
    transform: translateY(-2px);
}

.hero-proof-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 760px;
}

.hero-proof-row span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 9px 14px;
    border-radius: 999px;
    color: rgba(255,255,255,0.88);
    background: rgba(255,255,255,0.075);
    border: 1px solid rgba(255,255,255,0.15);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.01em;
    backdrop-filter: blur(10px);
}

.hero-video-slider-section .slider-arrow {
    top: auto !important;
    bottom: 88px !important;
    transform: none !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,0.09) !important;
    border: 1px solid rgba(255,255,255,0.20) !important;
    color: #FFFFFF !important;
    backdrop-filter: blur(10px);
}

.hero-video-slider-section .slider-arrow:hover {
    background: #00D4FF !important;
    border-color: #00D4FF !important;
    color: #020B17 !important;
    transform: translateY(-2px) !important;
}

.hero-video-slider-section .slider-arrow.prev {
    left: calc(50% - 620px + 24px) !important;
}

.hero-video-slider-section .slider-arrow.next {
    left: calc(50% - 620px + 84px) !important;
    right: auto !important;
}

.hero-video-slider-section .slider-dots {
    left: calc(50% - 620px + 158px) !important;
    right: auto !important;
    bottom: 103px !important;
    transform: none !important;
}

.hero-video-slider-section .slider-dots .dot {
    background-color: rgba(255,255,255,0.32) !important;
}

.hero-video-slider-section .slider-dots .dot.active {
    background: #00D4FF !important;
    box-shadow: 0 0 22px rgba(0, 212, 255, 0.55);
}

/* Hard remove old screenshot/dashboard visuals from the hero. */
.hero-video-slider-section .slide-visual,
.hero-video-slider-section .tech-dashboard-mockup,
.hero-video-slider-section .floating-card,
.hero-video-slider-section .dashboard-wireframe,
.hero-video-slider-section .network-node,
.hero-video-slider-section .network-lines {
    display: none !important;
}

/* Keep next section tight below the video slider. */
.trusted-partner-bar-section {
    position: relative;
    z-index: 5;
}

@media (max-width: 1290px) {
    .hero-video-slider-section .slider-arrow.prev {
        left: 24px !important;
    }

    .hero-video-slider-section .slider-arrow.next {
        left: 84px !important;
    }

    .hero-video-slider-section .slider-dots {
        left: 158px !important;
    }
}

@media (max-width: 1024px) {
    .hero-video-slider-section {
        height: auto !important;
        min-height: 720px !important;
    }

    .hero-video-slider-section .slide-content,
    .hero-video-slider-section .video-slide-content {
        padding: 150px 22px 118px !important;
    }

    .hero-video-overlay {
        background:
            linear-gradient(90deg, rgba(2, 11, 23, 0.94) 0%, rgba(2, 11, 23, 0.78) 54%, rgba(2, 11, 23, 0.62) 100%),
            linear-gradient(180deg, rgba(2, 11, 23, 0.66) 0%, rgba(2, 11, 23, 0.20) 44%, rgba(2, 11, 23, 0.90) 100%);
    }
}

@media (max-width: 768px) {
    .hero-video-slider-section,
    .hero-video-slider-section .slider-container,
    .hero-video-slider-section .slide {
        min-height: 705px !important;
    }

    .hero-video-slider-section .slide-content,
    .hero-video-slider-section .video-slide-content {
        padding: 122px 18px 96px !important;
        align-items: center !important;
    }

    .hero-video-slider-section .hero-title {
        font-size: clamp(38px, 11vw, 54px) !important;
        line-height: 1.02 !important;
        letter-spacing: -2.1px !important;
    }

    .hero-video-slider-section .hero-subtitle {
        font-size: 16px !important;
        line-height: 1.62 !important;
        margin-bottom: 26px !important;
    }

    .hero-video-slider-section .hero-actions {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 22px;
    }

    .hero-video-slider-section .hero-actions .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hero-proof-row {
        gap: 8px;
    }

    .hero-proof-row span {
        font-size: 12px;
        min-height: 34px;
        padding: 8px 11px;
    }

    .hero-video-slider-section .slider-arrow {
        display: none !important;
    }

    .hero-video-slider-section .slider-dots {
        left: 18px !important;
        bottom: 42px !important;
        transform: none !important;
    }

    .hero-video-noise {
        background-size: 46px 46px;
        opacity: 0.16;
    }
}

@media (max-width: 420px) {
    .hero-video-slider-section,
    .hero-video-slider-section .slider-container,
    .hero-video-slider-section .slide {
        min-height: 680px !important;
    }

    .hero-video-slider-section .slide-content,
    .hero-video-slider-section .video-slide-content {
        padding: 112px 16px 88px !important;
    }

    .hero-video-slider-section .badge {
        font-size: 10px;
        letter-spacing: 1.5px;
        padding: 6px 12px;
        margin-bottom: 18px;
    }

    .hero-video-slider-section .hero-title {
        font-size: 36px !important;
        letter-spacing: -1.5px !important;
    }

    .hero-proof-row span {
        flex: 1 1 calc(50% - 8px);
        justify-content: center;
        text-align: center;
    }
}
