/* ==========================================================================
   Layout: How To Start
   Scroll-pinned stepped walkthrough – 3-column layout (content | nav | cards)
   ========================================================================== */

/* Wrapper ----------------------------------------------------------------- */

.pb-hs-wrap {
    padding: 16px;
}

/* Section ----------------------------------------------------------------- */

.pb-hs {
    position: relative;
    border-radius: 8px;
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;
}

/* Inner grid -------------------------------------------------------------- */

.pb-hs__inner {
    display: grid;
    grid-template-columns: 1fr 200px 1fr;
    align-items: center;
    min-height: 740px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 100px 10px;
    gap: 0;
}

/* Left column ------------------------------------------------------------- */

.pb-hs__left {
    padding-right: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    position: relative;
    z-index: 200;   /* must be above all cards so past cards can't overlap text */
}

.pb-hs__label {
font-family: var(--font-family);
font-weight: 500;
font-size: 15px;
line-height: 160%;
letter-spacing: 0.05em;
text-transform: uppercase;
color: var(--white-tranparent-60);
    margin: 0;
}

.pb-hs__heading {
    font-size: 36px;
    font-family: var(--second-family);
    font-weight: 550;
    line-height: 128%;
    margin: 24px 0;
    letter-spacing: -0.02em;
    background: linear-gradient(159deg, rgba(255, 255, 255, 0.9) 0%, #fff 50%, rgba(255, 255, 255, 0.9) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: inset 0 1px 0px 0 var(--white-transparent-20);
}

.pb-hs__desc {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,.65);
    margin: 24px 0 0 0;
    max-width: 362px;
}

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

/* Nav column -------------------------------------------------------------- */

.pb-hs__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    align-self: stretch;
    padding: 0px;
    position: relative;
    z-index: 200;   /* must be above all cards */
}

/* Nav dot */

.pb-hs__nav-dot {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    outline-offset: 4px;
}

/* All three icons stacked absolutely */

.pb-hs__nav-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

/* Default: inactive visible, others hidden */
.pb-hs__nav-icon--active   { opacity: 0; transform: translate(-50%,-50%) scale(0.6); }
.pb-hs__nav-icon--done     { opacity: 0; transform: translate(-50%,-50%) scale(0.6); }
.pb-hs__nav-icon--inactive { opacity: 1; transform: translate(-50%,-50%) scale(1); }

/* Active state */
.pb-hs__nav-dot.is-active .pb-hs__nav-icon--active   { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.pb-hs__nav-dot.is-active .pb-hs__nav-icon--done     { opacity: 0; transform: translate(-50%,-50%) scale(0.6); }
.pb-hs__nav-dot.is-active .pb-hs__nav-icon--inactive { opacity: 0; transform: translate(-50%,-50%) scale(0.6); }

/* Done state */
.pb-hs__nav-dot.is-done .pb-hs__nav-icon--done     { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.pb-hs__nav-dot.is-done .pb-hs__nav-icon--active   { opacity: 0; transform: translate(-50%,-50%) scale(0.6); }
.pb-hs__nav-dot.is-done .pb-hs__nav-icon--inactive { opacity: 0; transform: translate(-50%,-50%) scale(0.6); }

/* Nav line */

.pb-hs__nav-line {
    flex: 1;
    width: 2px;
    min-height: 48px;
    background: rgba(255,255,255,.2);
    border-radius: 1px;
    position: relative;
    overflow: hidden;
}

.pb-hs__nav-line-fill {
    position: absolute;
    inset: 0;
    background: #fff;
    transform-origin: top center;
    transform: scaleY(0);
    border-radius: 1px;
    will-change: transform;
}

/* Cards column ------------------------------------------------------------ */

.pb-hs__cards {
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-left: 70px;
    /* overflow: visible — cards stack to the right, section clips them */
}

/* Card — all positioned absolute, JS handles visibility + transforms ------- */

.pb-hs__card {
    position: absolute;
    right: 32px;    /* = PEEK constant — active card has 32px inset from right */
    left: auto;
    width: min(405px, 100%);
    top: 50%;
    /* NO CSS transform here — GSAP controls yPercent + x + scale */
    opacity: 0;     /* JS sets initial and animates */
    will-change: transform, opacity;
}

/* No-JS fallback: show first card */
.pb-hs__card.is-active {
    opacity: 1;
}

/* Card inner */

.pb-hs__card-inner {
box-shadow: 0 9px 11px 0 rgba(0, 0, 0, 0.04);
background: var(--base-white);
border-radius: 10px;
padding: 10px;
}
.pb-hs__card-inner-top{
    padding: 10px;
    margin-bottom: 16px;
    min-height: 216px;

}

.pb-hs__card-step {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 15px;
    line-height: 160%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--brand-blue-500);
    display: block;
    margin-bottom: 32px;
}

.pb-hs__card-title {
font-family: var(--second-family);
font-weight: 600;
font-size: 20px;
line-height: 140%;
color: var(--text-bold);
margin-bottom: 12px;
}

.pb-hs__card-desc {
font-family: var(--font-family);
font-weight: 500;
font-size: 16px;
line-height: 150%;
letter-spacing: 0.01em;
color: var(--text-base);
}

/* Screenshot / image area */

.pb-hs__card-image {
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(180deg, #f3f5fd 0%, #e6efff 100%);
    height: 276px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

@media (max-width: 1100px) {
    .pb-hs__inner {
        grid-template-columns: 280px 72px 1fr;
        padding: 60px 32px;
    }

    .pb-hs__left {
        padding-right: 16px;
    }
}

@media (max-width: 860px) {
    .pb-hs__inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        min-height: auto;
        padding: 60px 24px 40px;
        gap: 40px;
    }

    .pb-hs__nav {
        flex-direction: row;
        padding: 0;
        align-self: auto;
        justify-content: flex-start;
    }

    .pb-hs__nav-line {
        flex: 0 0 40px;
        min-height: 0;
        height: 2px;
    }

    .pb-hs__nav-line-fill {
        transform-origin: left center;
    }

    .pb-hs__cards {
        min-height: 360px;
    }

    .pb-hs__card {
        left: 0;
        right: 0;
    }
}

@media (max-width: 480px) {
    .pb-hs__inner {
        padding: 48px 16px 32px;
    }

    .pb-hs__card-inner {
        padding: 24px 20px 20px;
    }
}
