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

.hero {
    position: relative;
    z-index: 0;

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

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


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

.hero-inner {
    color: var(--na-color-white);

    position: relative;
    z-index: 1;

    width: 92%;
    height: 85%;

    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 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 {
        width: calc(100% - 32px);
        height: calc(100% - 32px);

        padding: 72px 32px 48px;

        align-items: flex-start;

        text-align: left;
    }

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

        padding-left: 24px;

        overflow: hidden;
    }

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

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