/* =========================================================
   HERO SECTION
   ========================================================= */

.hero {
    position: relative;

    height: calc(100vh - var(--na-navbar-height));
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        var(--na-color-navy),
        var(--na-color-blue)
    );

    color: var(--na-color-white);
}


/* =========================================================
   HERO INNER
   ========================================================= */

.hero-inner {
    position: relative;

    width: 95%;
    height: 90%;

    box-sizing: border-box;
    border-radius: var(--na-radius-lg);

    padding: 120px 80px 64px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;

    overflow: hidden;

    text-align: left;

    background: linear-gradient(
        315deg,
        var(--na-color-navy),
        var(--na-color-blue)
    );

    box-shadow:
        0 20px 40px rgba(15, 23, 42, 0.35);

    animation: heroFadeUp 0.8s ease-out both;
}


/* =========================================================
   HERO MESH OVERLAY
   ========================================================= */

.hero-inner::after {
    content: "";

    position: absolute;
    inset: 0;
    z-index: 1;

    background-image:
        url("../../../assets/img/hero_wireframe_overlay_v2.png");

    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;

    opacity: 0.28;

    pointer-events: none;

    mask-image: radial-gradient(
        circle at 65% 50%,
        rgba(0, 0, 0, 1) 25%,
        rgba(0, 0, 0, 0.7) 45%,
        rgba(0, 0, 0, 0) 95%
    );

    filter: blur(0.8px);
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 720px;

    padding-left: 40px;

    overflow: hidden;
}


/* vertical divider */

.hero-content::before {
    content: "";

    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;

    width: 2px;

    background:
        rgba(255, 255, 255, 0.35);

    transform: scaleY(0);
    transform-origin: top;

    animation:
        heroLineGrow 700ms ease-out both;

    animation-delay: 220ms;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

.hero h1 {
    margin: 0 0 1.2rem;

    font-size: clamp(5rem, 5vw, 5.2rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.05;

    opacity: 0;

    transform: translateX(-18px);

    animation:
        heroTextReveal 700ms ease-out both;

    animation-delay: 360ms;
}

.hero p {
    max-width: 680px;

    margin: 0;

    font-size: 1.5rem;
    line-height: 1.6;

    opacity: 0;

    transform: translateX(-18px);

    animation:
        heroTextReveal 700ms ease-out both;

    animation-delay: 460ms;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroLineGrow {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

@keyframes heroTextReveal {
    from {
        opacity: 0;
        transform: translateX(-18px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {
    .hero-inner {
        padding: 72px 32px 48px;

        align-items: center;

        text-align: center;
    }

    .hero-content {
        max-width: 100%;

        padding-left: 0;

        overflow: visible;
    }

    .hero-content::before {
        display: none;

        animation: none;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 7vw, 3rem);
    }

    .hero p {
        max-width: 100%;
    }
}