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

.hero {
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
    color: white;

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

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

    position: relative;
}


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

.hero-inner {
    background: linear-gradient(315deg, #0f172a, #1d4ed8);

    width: 95%;
    height: 90%;

    box-sizing: border-box;
    padding: 64px 80px;
    padding-top: 120px;

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

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

    text-align: left;

    position: relative;
    overflow: hidden;

    animation: heroFadeUp 0.8s ease-out both;
}


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

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

    position: absolute;
    /* top: 0;
    right: 0;
    bottom: 0;
    left: 0; */
    inset: 0;

    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;
    z-index: 1;

    /* fade edges */
    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 + DIVIDER LINE
========================= */

.hero-content {
    position: relative;
    z-index: 2;
    padding-left: 40px;
    max-width: 720px;
    overflow: hidden;
}

/* vertical divider */
.hero-content::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 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 {
    font-size: clamp(5rem, 5vw, 5.2rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0 0 1.2rem 0;

    opacity: 0;
    transform: translateX(-18px);
    animation: heroTextReveal 700ms ease-out both;
    animation-delay: 360ms;
}

.hero p {
    font-size: 1.5rem;
    max-width: 680px;
    margin: 0;
    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: 48px 32px;
        padding-top: 72px;

        align-items: center;
        text-align: center;
    }

    .hero-content {
        padding-left: 0;
        max-width: 100%;
        overflow: visible;
    }

    /* hide divider on mobile */
    .hero-content::before {
        display: none;
        animation: none;
    }

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

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