/* ==========================================================================
   Layout: Hero Landing
   ========================================================================== */

.pb-hl {
    position: relative;
    height: calc(100vh - 96px);
    min-height: 600px;
    overflow: hidden;

    box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.02), 0 4px 22px 0 rgba(0, 0, 0, 0.04), 0 10px 58px 0 rgba(0, 0, 0, 0.05), 0 19px 134px 0 rgba(0, 0, 0, 0.07);
    background: var(--brand-blue-500);
    border-radius: 8px;
}

.pb-hl-wrap {
    padding: 80px 16px 0px 16px;
}

/* Floaters ---------------------------------------------------------------- */

.pb-hl__floater-wrap {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    pointer-events: none;
}

.pb-hl__floater {
    position: absolute;
    width: min(260px, 18vw);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
    will-change: transform;
    z-index: 5;
}

.pb-hl__floater img {
    width: 100%;
    height: auto;
    display: block;
}

.pb-hl .gfBtn {
    height: 56px;
}

.pb-hl .gfBtn--outlineGlass {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* tl / tr — static, never animated */
.pb-hl__floater--tl {
    top: 14%;
    left: 1%;
}

.pb-hl__floater--tr {
    top: 14%;
    right: 1%;
}

/* bl / br — shifted towards center initially, slide outward via GSAP */
.pb-hl__floater--bl {
    bottom: 10%;
    left: 1%;
}

.pb-hl__floater--br {
    bottom: 10%;
    right: 1%;
}

/* Scroll group ------------------------------------------------------------ */
/* All content + trust + central image move as one unit via GSAP           */

.pb-hl__group {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    max-width: 1260px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    will-change: transform;
    z-index: 4;
}

/* Content ----------------------------------------------------------------- */

.pb-hl__content {
    position: relative;
    text-align: center;
    max-width: 680px;
    width: 100%;
    padding: 0 24px;
    transform: translateY(-100px);
}

.hl__content-inner {
    padding-bottom: 0;
}

.pb-hl__heading {
    text-shadow: 0 4px 4px 0 rgba(59, 92, 218, 0.15);
    font-family: var(--second-family);
    font-weight: 550;
    font-size: 74px;
    line-height: 110%;
    letter-spacing: -0.03em;
    text-align: center;
    color: #fff;
    margin: 0;
}

.pb-hl__desc {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 18px;
    line-height: 156%;
    text-align: center;
    color: var(--white-transparent-80);
    margin: 32px 0 40px 0;
}

.pb-hl__btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Scroll hint ------------------------------------------------------------- */

.pb-hl__scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 1;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.pb-hl__scroll-hint.is-hidden {
    opacity: 0;
}

.pb-hl__scroll-label {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 12px;
    line-height: 150%;
    letter-spacing: 0.01em;
    color: var(--white-transparent-50);
    margin-bottom: 8px;
}

/* Trust strips ------------------------------------------------------------ */

.pb-hl__trust {
    line-height: 0;
}

.pb-hl__trust img {
    display: block;
}

/* Trust above — sits 40px below buttons, moves with group */
.pb-hl__trust--above {
    margin-top: 0px;
    width: min(700px, 58vw);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pb-hl__trust--above img {
    width: auto;
    height: 32px;
}

/* Central image ----------------------------------------------------------- */
/* 24px below trust strip, invisible on load, fades in on scroll           */

.pb-hl__central-wrap {
    margin-top: 24px;
    width: min(680px, 70vw);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    will-change: opacity;
}

.pb-hl__central-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -24px 80px rgba(0, 0, 0, 0.3);
}

/* Trust below — inside central-wrap */
.pb-hl__trust--below {
    width: 100%;
}

.pb-hl__trust--below img {
    width: 100%;
    height: auto;
}

.pb-hl__trust--below {
    height: 32px;
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pb-hl__trust--below img {
    height: 100%;
    width: auto;
}

/* Frame SVG --------------------------------------------------------------- */
/* Sits below central image, overlapping its bottom edge.                  */
/* Path is drawn via GSAP strokeDashoffset in phase 2.                     */

.pb-hl__frame {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(1015px, 96vw);
    height: auto;
    display: block;
    z-index: 3;
    overflow: visible;
    pointer-events: none;
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1200px) {
    .pb-hl__floater {
        width: min(220px, 20vw);
    }

    .pb-hl__central-wrap {
        width: min(860px, 76vw);
    }
}

@media (max-width: 1024px) {
    .pb-hl__floater {
        width: min(190px, 22vw);
    }
}

@media (max-width: 768px) {

    .pb-hl__floater--tl,
    .pb-hl__floater--bl {
        display: none;
    }

    .pb-hl__floater--tr {
        width: min(160px, 28vw);
        top: 8%;
        right: 2%;
    }

    .pb-hl__floater--br {
        width: min(160px, 28vw);
        bottom: 8%;
        right: 2%;
    }

    .pb-hl__central-wrap {
        width: min(640px, 90vw);
    }
}

@media (max-width: 480px) {

    .pb-hl__floater--tr,
    .pb-hl__floater--br {
        display: none;
    }

    .pb-hl__central-wrap {
        width: 96vw;
    }

    .pb-hl__btns {
        flex-direction: column;
        align-items: stretch;
    }

    .pb-hl__btns .gfBtn {
        justify-content: center;
    }
}