/*-- -------------------------- -->
<---      Hero Video Stats      -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0px) {
    #hero-video-stats {
        position: relative;
        width: 100%;
        height: 100vh;
        min-height: 50rem;
        display: flex;
        align-items: flex-end;
        overflow: hidden;
    }

    #hero-video-stats::before {
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        background:
            linear-gradient(
                to right,
                rgba(10, 22, 40, 0.88) 0%,
                rgba(10, 22, 40, 0.65) 45%,
                rgba(10, 22, 40, 0.15) 75%,
                rgba(10, 22, 40, 0.05) 100%
            ),
            linear-gradient(
                to top,
                rgba(10, 22, 40, 0.6) 0%,
                transparent 50%
            );
    }

    #hero-video-stats .cs-container {
        width: 100%;
        max-width: 100%;
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        padding: 0 1.5rem 4.5rem;
        gap: 2rem;
    }

    #hero-video-stats .cs-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        max-width: 47.5rem;
    }

    #hero-video-stats .cs-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.375rem;
        background: rgba(201, 168, 76, 0.12);
        border: 0.0625rem solid rgba(201, 168, 76, 0.35);
        border-radius: 100px;
        padding: 0.3125rem 0.75rem 0.3125rem 0.5rem;
        margin-bottom: 0.75rem;
    }

    #hero-video-stats .cs-badge-dot {
        width: 0.375rem;
        height: 0.375rem;
        border-radius: 50%;
        background: var(--signingGold);
        flex-shrink: 0;
    }

    #hero-video-stats .cs-badge-text {
        font-family: var(--headerFont);
        font-size: 0.625rem;
        font-weight: 500;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.7);
    }

    #hero-video-stats .cs-title {
        font-family: var(--headerFont);
        font-size: clamp(2.4rem, 8vw, 5.5rem);
        line-height: 1.05em;
        color: var(--white);
        margin: 0 0 1rem;
    }

    #hero-video-stats .cs-text {
        font-family: var(--bodyFont);
        font-size: clamp(0.9rem, 1.4vw, 1.05rem);
        font-weight: 300;
        line-height: 1.65;
        color: rgba(255, 255, 255, 0.75);
        max-width: 30rem;
        margin: 0;
    }

    #hero-video-stats .cs-stats {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    #hero-video-stats .cs-stat {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    #hero-video-stats .cs-stat-number {
        font-family: var(--headerFont);
        font-size: clamp(2.5rem, 6vw, 5rem);
        font-weight: 600;
        color: var(--white);
        line-height: 1em;
    }

    #hero-video-stats .cs-stat-label {
        font-family: var(--headerFont);
        font-size: 0.625rem;
        font-weight: 400;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.4);
    }

    #hero-video-stats .cs-stat-divider {
        width: 2.5rem;
        height: 0.0625rem;
        background: rgba(255, 255, 255, 0.15);
    }

    #hero-video-stats .cs-scroll {
        display: none;
    }

    /* Video Background */
    #hero-video-stats .cs-video-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
    }

    #hero-video-stats .cs-video-bg video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        display: block;
    }
}

/* Mobile Small - max 480px */
@media only screen and (max-width: 30rem) {
    #hero-video-stats {
        min-height: 100svh;
    }

    #hero-video-stats .cs-container {
        padding: 0 1rem 4rem;
    }

    #hero-video-stats .cs-title {
        font-size: clamp(2rem, 9vw, 2.6rem);
    }

    #hero-video-stats .cs-stats {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.75rem;
    }

    #hero-video-stats .cs-stat-number {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }

    #hero-video-stats .cs-stat-label {
        font-size: 0.5rem;
        white-space: nowrap;
    }

    #hero-video-stats .cs-stat-divider {
        display: block;
        width: 0.0625rem;
        height: 1.75rem;
        align-self: center;
    }
}

/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
    #hero-video-stats .cs-container {
        padding: 0 2.5rem 4.5rem;
    }

    #hero-video-stats .cs-stats {
        flex-direction: row;
        align-items: flex-start;
        gap: 2.5rem;
    }

    #hero-video-stats .cs-stat-divider {
        width: 0.0625rem;
        height: 3.75rem;
        align-self: center;
    }
}

/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
    #hero-video-stats::before {
        background:
            linear-gradient(
                to right,
                rgba(10, 22, 40, 0.88) 0%,
                rgba(10, 22, 40, 0.65) 45%,
                rgba(10, 22, 40, 0.45) 75%,
                rgba(10, 22, 40, 0.75) 100%
            ),
            linear-gradient(
                to top,
                rgba(10, 22, 40, 0.6) 0%,
                transparent 50%
            );
    }

    #hero-video-stats .cs-container {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        padding: 0 6vw 5rem;
        gap: 3.75rem;
    }

    #hero-video-stats .cs-content {
        flex: 1;
    }

    #hero-video-stats .cs-stats {
        flex-direction: column;
        align-items: flex-end;
        text-align: right;
        gap: 1.75rem;
        flex-shrink: 0;
        padding-bottom: 0.25rem;
    }

    #hero-video-stats .cs-stat {
        align-items: flex-end;
    }

    #hero-video-stats .cs-stat-divider {
        width: 100%;
        height: 0.0625rem;
    }

    #hero-video-stats .cs-scroll {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        position: absolute;
        bottom: 2.5rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 3;
    }

    #hero-video-stats .cs-scroll-label {
        font-family: var(--headerFont);
        font-size: 0.5625rem;
        font-weight: 500;
        letter-spacing: 0.22em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.4);
    }

    #hero-video-stats .cs-scroll-line {
        width: 0.0625rem;
        height: 2.5rem;
        background: rgba(255, 255, 255, 0.2);
        position: relative;
        overflow: hidden;
    }

    #hero-video-stats .cs-scroll-line::after {
        content: "";
        position: absolute;
        top: -100%;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.7);
        animation: hero-scroll-drop 1.8s ease infinite;
        animation-delay: 1.2s;
    }

    @keyframes hero-scroll-drop {
        0%   { top: -100%; }
        100% { top: 100%; }
    }
}