/* ============================================================
   Hero Video — Full-Screen
   MagnetOti · Heebo · Minimal RTL
   ============================================================ */

/* ── Section ── */
.hero-video-section {
    position: relative;
    width: 100%;
    height: 100svh;
    min-height: 560px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
}

/* ── Video / poster background ── */
.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-poster-bg {
    background-size: cover;
    background-position: center;
}

/* ── Overlay: gradient from dark bottom to semi-dark top ── */
.hero-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            to top,
            rgba(5, 5, 10, 0.82) 0%,
            rgba(5, 5, 10, 0.45) 50%,
            rgba(5, 5, 10, 0.30) 100%
        );
}

/* ── Content wrapper ── */
.hero-video-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 720px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* ── Label ── */
.hero-video-label {
    display: inline-block;
    font-family: 'Heebo', sans-serif;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(255,255,255,0.18);
    padding-bottom: 10px;
}

/* ── Main title ── */
.hero-video-title {
    font-family: 'Heebo', sans-serif;
    line-height: 1.18;
    color: #fff;
    margin: 0 0 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

/* Light line — weight 300 */
.hero-video-title .hvt-light {
    display: block;
    font-size: clamp(34px, 6vw, 72px);
    font-weight: 300;
    letter-spacing: -0.02em;
    color: rgba(255,255,255,0.90);
}

/* Regular/medium line — weight 400 */
.hero-video-title .hvt-reg {
    display: block;
    font-size: clamp(38px, 6.8vw, 82px);
    font-weight: 400;
    letter-spacing: -0.03em;
    color: #ffffff;
}

/* ── Sub text ── */
.hero-video-sub {
    font-family: 'Heebo', sans-serif;
    font-size: clamp(13px, 1.5vw, 16px);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.75;
    max-width: 460px;
    margin: 0 0 34px;
    letter-spacing: 0.01em;
}

/* ── Trial button (prominent, above secondary actions) ── */
.hvb-trial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 52px;
    background: #ffffff;
    color: #0d0d0d;
    font-family: 'Heebo', sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-decoration: none;
    border-radius: 2px;
    margin-bottom: 20px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.28);
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    white-space: nowrap;
}

.hvb-trial:hover {
    background: rgba(255,255,255,0.90);
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.36);
    text-decoration: none;
    color: #0d0d0d;
}

/* ── CTA buttons ── */
.hero-video-actions {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.hvb-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 34px;
    background: #ffffff;
    color: #0d0d0d;
    font-family: 'Heebo', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
    white-space: nowrap;
}

.hvb-primary:hover {
    background: rgba(255,255,255,0.88);
    transform: translateY(-2px);
    text-decoration: none;
    color: #0d0d0d;
}

.hvb-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 30px;
    background: transparent;
    color: rgba(255,255,255,0.75);
    font-family: 'Heebo', sans-serif;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.04em;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.30);
    border-radius: 2px;
    transition: border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
    white-space: nowrap;
}

.hvb-secondary:hover {
    border-color: rgba(255,255,255,0.65);
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
}

/* ── Scroll hint ── */
.hero-scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.35);
    animation: heroScrollBounce 2.4s ease-in-out infinite;
}

@keyframes heroScrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.35; }
    50%       { transform: translateX(-50%) translateY(6px); opacity: 0.65; }
}

/* ── Fade-in animation (JS adds .hvs-visible) ── */
.hero-video-label,
.hero-video-title,
.hero-video-sub,
.hvb-trial,
.hero-video-actions {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-video-section.hvs-visible .hero-video-label   { opacity: 1; transform: none; transition-delay: 0.20s; }
.hero-video-section.hvs-visible .hero-video-title   { opacity: 1; transform: none; transition-delay: 0.38s; }
.hero-video-section.hvs-visible .hero-video-sub     { opacity: 1; transform: none; transition-delay: 0.52s; }
.hero-video-section.hvs-visible .hvb-trial          { opacity: 1; transform: none; transition-delay: 0.42s; }
.hero-video-section.hvs-visible .hero-video-actions { opacity: 1; transform: none; transition-delay: 0.58s; }

/* ── Mobile ── */
@media (max-width: 768px) {
    .hero-video-section {
        align-items: flex-end;
        padding-bottom: 80px;
        min-height: 100svh;
    }

    .hero-video-content {
        text-align: center;
        gap: 0;
        padding: 0 20px;
    }

    .hero-video-label {
        font-size: 10px;
        letter-spacing: 0.16em;
    }

    .hvb-trial {
        padding: 16px 36px;
        font-size: 15px;
        width: 100%;
        max-width: 300px;
    }

    .hero-video-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .hvb-primary,
    .hvb-secondary {
        width: 100%;
        padding: 14px 20px;
    }
}

@media (max-width: 480px) {
    .hero-video-section {
        padding-bottom: 60px;
    }

    .hero-video-content {
        padding: 0 16px;
    }

    .hvb-trial {
        padding: 15px 28px;
        font-size: 14px;
        letter-spacing: 0.04em;
    }
}
