/**
 * Cinematic Video Hero
 * România Feng Shui
 * OUT LOUD Framework
 */

/* =========================================================
   HERO SHELL
   ========================================================= */

.video-hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    background: #0d100e;
    color: var(--color-white);
}

.video-hero__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.video-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.02);
    animation: hero-video-drift 20s ease-in-out infinite alternate;
}

.video-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(7, 10, 8, 0.86) 0%,
            rgba(7, 10, 8, 0.65) 34%,
            rgba(7, 10, 8, 0.29) 64%,
            rgba(7, 10, 8, 0.1) 100%
        ),
        linear-gradient(
            180deg,
            rgba(7, 10, 8, 0.22) 0%,
            rgba(7, 10, 8, 0.03) 46%,
            rgba(7, 10, 8, 0.5) 100%
        );
}

.video-hero__vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 57% 46%,
            transparent 32%,
            rgba(0, 0, 0, 0.1) 66%,
            rgba(0, 0, 0, 0.38) 100%
        );
    pointer-events: none;
}

.video-hero__grain {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(
            circle at 1px 1px,
            rgba(255, 255, 255, 0.11) 1px,
            transparent 0
        );
    background-size: 5px 5px;
    opacity: 0.022;
    mix-blend-mode: soft-light;
    pointer-events: none;
}

/* =========================================================
   CONTENT LAYOUT
   ========================================================= */

.video-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 100svh;
    align-items: center;
    padding-top: 150px;
    padding-bottom: 116px;
}

.video-hero__content {
    width: min(100%, 940px);
}

/* =========================================================
   EYEBROW
   ========================================================= */

.video-hero__eyebrow {
    margin: 0;
    color: var(--color-gold-light);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.4;
    letter-spacing: 0.27em;
    text-transform: uppercase;
}

.video-hero__eyebrow-line {
    display: block;
    width: 56px;
    height: 1px;
    margin-top: 18px;
    background:
        linear-gradient(
            90deg,
            var(--color-gold-light),
            rgba(216, 188, 132, 0)
        );
}

/* =========================================================
   TITLE
   ========================================================= */

.video-hero__title {
    max-width: 980px;
    margin: 28px 0 0;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: clamp(4rem, 6.5vw, 7rem);
    font-weight: 600;
    line-height: 0.94;
    letter-spacing: -0.058em;
    text-wrap: balance;
}

.video-hero__title-line {
    display: block;
}

.video-hero__title-line--gold {
    color: rgba(255, 255, 255, 0.68);
    font-weight: 400;
}

/* =========================================================
   DESCRIPTION
   ========================================================= */

.video-hero__description {
    max-width: 670px;
    margin-top: 28px;
    color: rgba(255, 255, 255, 0.77);
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.5vw, 1.22rem);
    font-weight: var(--font-weight-regular);
    line-height: 1.7;
}

/* =========================================================
   ACTIONS
   ========================================================= */

.video-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 34px;
}

.video-hero__actions .button {
    min-width: 250px;
}

.video-hero__actions svg {
    flex: 0 0 auto;
    transition: transform var(--transition-base);
}

.video-hero__actions .button:hover svg {
    transform: translateX(4px);
}

.video-hero__button-primary {
    border-color: transparent;
    background: var(--color-signature-red);
    color: var(--color-white);
    box-shadow:
        0 18px 52px rgba(242, 31, 36, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.video-hero__button-primary:hover {
    background: var(--color-signature-red-hover);
    box-shadow:
        0 22px 60px rgba(242, 31, 36, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.video-hero__button-secondary {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.075);
    color: var(--color-white);
    box-shadow:
        0 14px 40px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px) saturate(120%);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
}

.video-hero__button-secondary:hover {
    border-color: rgba(255, 255, 255, 0.48);
    background: rgba(255, 255, 255, 0.14);
    box-shadow:
        0 18px 46px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* =========================================================
   BENEFITS
   ========================================================= */

.video-hero__benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    max-width: 900px;
    margin-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 22px;
}

.video-hero__benefit {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding-right: 24px;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-body);
    font-size: 0.81rem;
    font-weight: var(--font-weight-medium);
    line-height: 1.45;
}

.video-hero__benefit + .video-hero__benefit {
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    padding-left: 28px;
}

.video-hero__benefit-line {
    display: block;
    flex: 0 0 26px;
    width: 26px;
    height: 1px;
    background: var(--color-gold-light);
}

/* =========================================================
   SCROLL INDICATOR
   ========================================================= */

.video-hero__scroll {
    position: absolute;
    z-index: 3;
    bottom: 24px;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.62);
    transform: translateX(-50%);
}

.video-hero__scroll-mouse {
    position: relative;
    display: flex;
    width: 28px;
    height: 46px;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: var(--radius-pill);
}

.video-hero__scroll-mouse span {
    width: 4px;
    height: 4px;
    margin-top: 9px;
    border-radius: 50%;
    background: var(--color-gold-light);
    animation: hero-scroll-dot 2s ease-in-out infinite;
}

.video-hero__scroll-label {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

/* =========================================================
   ENTRANCE MOTION
   ========================================================= */

.video-hero__eyebrow,
.video-hero__eyebrow-line,
.video-hero__title,
.video-hero__description,
.video-hero__actions,
.video-hero__benefits {
    opacity: 0;
    transform: translateY(24px);
    animation:
        hero-reveal
        0.86s
        cubic-bezier(0.2, 0.72, 0.25, 1)
        forwards;
}

.video-hero__eyebrow-line {
    animation-delay: 0.08s;
}

.video-hero__title {
    animation-delay: 0.14s;
}

.video-hero__description {
    animation-delay: 0.26s;
}

.video-hero__actions {
    animation-delay: 0.38s;
}

.video-hero__benefits {
    animation-delay: 0.5s;
}

/* =========================================================
   KEYFRAMES
   ========================================================= */

@keyframes hero-reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-video-drift {
    from {
        transform: scale(1.02) translate3d(0, 0, 0);
    }

    to {
        transform: scale(1.055) translate3d(-0.7%, -0.3%, 0);
    }
}

@keyframes hero-scroll-dot {
    0% {
        opacity: 0;
        transform: translateY(0);
    }

    30% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {
    .video-hero__inner {
        padding-top: 145px;
        padding-bottom: 108px;
    }

    .video-hero__content {
        width: min(100%, 800px);
    }

    .video-hero__title {
        font-size: clamp(3.8rem, 9vw, 5.8rem);
    }

    .video-hero__benefits {
        grid-template-columns: 1fr;
        gap: 14px;
        max-width: 540px;
    }

    .video-hero__benefit,
    .video-hero__benefit + .video-hero__benefit {
        border-left: 0;
        padding: 0;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {
    .video-hero {
        min-height: 100svh;
    }

    .video-hero__video {
        object-position: 62% center;
        transform: scale(1.04);
    }

    .video-hero__overlay {
        background:
            linear-gradient(
                180deg,
                rgba(8, 10, 9, 0.64) 0%,
                rgba(8, 10, 9, 0.43) 32%,
                rgba(8, 10, 9, 0.8) 100%
            );
    }

    .video-hero__vignette {
        background:
            radial-gradient(
                circle at 50% 38%,
                transparent 20%,
                rgba(0, 0, 0, 0.16) 62%,
                rgba(0, 0, 0, 0.42) 100%
            );
    }

    .video-hero__inner {
        align-items: flex-end;
        padding-top: 132px;
        padding-bottom: 82px;
    }

    .video-hero__eyebrow {
        font-size: 0.66rem;
        letter-spacing: 0.2em;
    }

    .video-hero__eyebrow-line {
        width: 42px;
        margin-top: 14px;
    }

    .video-hero__title {
        margin-top: 22px;
        font-size: clamp(3rem, 13.5vw, 4.25rem);
        line-height: 0.96;
        letter-spacing: -0.05em;
    }

    .video-hero__description {
        margin-top: 22px;
        font-size: 0.98rem;
        line-height: 1.62;
    }

    .video-hero__actions {
        flex-direction: column;
        margin-top: 28px;
    }

    .video-hero__actions .button {
        width: 100%;
        min-width: 0;
    }

    .video-hero__benefits {
        gap: 10px;
        margin-top: 26px;
        padding-top: 18px;
    }

    .video-hero__benefit {
        font-size: 0.78rem;
    }

    .video-hero__benefit-line {
        flex-basis: 20px;
        width: 20px;
    }

    .video-hero__scroll {
        display: none;
    }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 390px) {
    .video-hero__title {
        font-size: 2.85rem;
    }

    .video-hero__video {
        object-position: 66% center;
    }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .video-hero__video,
    .video-hero__eyebrow,
    .video-hero__eyebrow-line,
    .video-hero__title,
    .video-hero__description,
    .video-hero__actions,
    .video-hero__benefits,
    .video-hero__scroll-mouse span {
        animation: none;
    }

    .video-hero__eyebrow,
    .video-hero__eyebrow-line,
    .video-hero__title,
    .video-hero__description,
    .video-hero__actions,
    .video-hero__benefits {
        opacity: 1;
        transform: none;
    }
}