/* ============================================
   HERO - Full-viewport Video Hero
   ============================================ */

.sw-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--blue-900);
}

/* Video background */
.sw-hero__video-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.sw-hero__video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fallback gradient when video fails */
.sw-hero__fallback {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(0, 101, 189, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 77, 143, 0.3) 0%, transparent 60%),
        linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 50%, var(--gray-900) 100%);
    z-index: 0;
    opacity: 0;
    pointer-events: none;
}

/* Overlay gradients */
.sw-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0.25) 15%,
            rgba(0, 24, 48, 0.15) 40%,
            rgba(0, 24, 48, 0.55) 80%,
            rgba(0, 24, 48, 0.75) 100%
        );
}

/* Subtle grain texture */
.sw-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* Content */
.sw-hero__content {
    position: relative;
    z-index: 4;
    text-align: left;
    padding: 0 var(--gutter);
    max-width: 900px;
}

/* Mobile-only logo in hero */
.sw-hero__mobile-logo {
    display: none;
}

.sw-hero__title {
    font-family: var(--font-display);
    font-size: clamp(3.75rem, 2.2rem + 5vw, 5.75rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: var(--space-6);
}

.sw-hero__title em {
    font-style: normal;
    color: var(--blue-300);
    font-weight: 700;
    font-size: 1.1em;
}

.sw-hero__subtitle {
    font-family: var(--font-body);
    font-size: var(--text-xl);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 520px;
    margin: 0 0 var(--space-10);
}

.sw-hero__actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-4);
    flex-wrap: wrap;
}

/* Scroll indicator */
.sw-hero__scroll {
    position: absolute;
    bottom: var(--space-10);
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: float-down 2s ease-in-out infinite;
}

.sw-hero__scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
    position: relative;
    overflow: hidden;
}

.sw-hero__scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    animation: scroll-line 2s ease-in-out infinite;
}

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

@keyframes float-down {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* Bottom fade */
.sw-hero__bottom-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--color-bg) 0%, transparent 100%);
    z-index: 4;
}
