/* ==========================================================================
   Layout: Payment Features
   ========================================================================== */

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

.pb-pf {
    position: relative;
   border-radius: 8px;
    overflow: hidden;
  background: var(--brand-blue-500);
}

.pb-pf__inner {
    max-width: 1260px;
    margin: 0 auto;
    padding: 100px 64px 64px;
}

/* Header ------------------------------------------------------------------ */

.pb-pf__header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 80px;
    align-items: end;
    margin-bottom: 48px;
}

.pb-pf__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 0 24px 0;
    display: block;
}

.pb-pf__heading {
font-family: var(--second-family);
font-weight: 550;
font-size: 36px;
line-height: 128%;
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-pf__intro {
font-family: var(--font-family);
font-weight: 500;
font-size: 18px;
line-height: 156%;
color: var(--white-transparent-80);
}

/* Tabs nav ---------------------------------------------------------------- */

.pb-pf__tabs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow: hidden;
    margin-bottom: 24px;
    gap: 8px;
}

.pb-pf__tab {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    border-radius: 4px;
    padding: 20px;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
    outline: none;
}

/* Remove right border on every 5th tab */
.pb-pf__tab:nth-child(5n) {
    border-right: none;
}

/* Progress fill — animated by GSAP */
.pb-pf__tab-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    z-index: 0;
    pointer-events: none;
}

.pb-pf__tab-body {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    position: relative;
    transition: all .15s linear;
}

.pb-pf__tab-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .15s linear;
    opacity: 0;
}

.pb-pf__tab-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}
.pb-pf__tab.is-active .pb-pf__tab-icon{
    opacity: 1;
}
.pb-pf__tab.is-active .pb-pf__tab-body{
    padding-left: 36px;
}
.pb-pf__tab-label {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.pb-pf__tab:hover .pb-pf__tab-label {
    color: #fff;
}
.pb-pf__tab:hover{

}
.pb-pf__tab.is-active {
    background: rgba(255, 255, 255, 0.15);
}

.pb-pf__tab.is-active .pb-pf__tab-label {
    color: #fff;
    font-weight: 600;
}


/* Panels ------------------------------------------------------------------ */

.pb-pf__panels {
    position: relative;
    overflow: hidden;
}

.pb-pf__panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
}

.pb-pf__panel.is-active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

/* Card -------------------------------------------------------------------- */

.pb-pf__card {
    display: grid;
    grid-template-columns: 5fr 7fr;
    overflow: hidden;
background: var(--base-white);
border-radius: 8px;
min-height: 484px;

}

.pb-pf__card-left {
    display: flex;
    flex-direction: column;
    padding: 48px;
}

.pb-pf__card-icon {
background: var(--brand-blue-50);
border: 1px solid var(--base-border-blue);
border-radius: 6px;
padding: 16px;
width: 60px;
height: 60px;
margin-bottom: 32px;
}

.pb-pf__card-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.pb-pf__card-heading {
font-family: var(--second-family);
font-weight: 550;
font-size: 26px;
line-height: 131%;
letter-spacing: -0.01em;
color: var(--text-bold);
    margin: 0 0 16px 0;
}

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

.pb-pf__card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
font-family: var(--second-family);
font-weight: 550;
font-size: 16px;
line-height: 150%;
color: var(--brand-blue-500);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.pb-pf__card-link:hover {
    gap: 10px;
}

.pb-pf__card-right {
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.pb-pf__card-right img {
    width: auto;
    display: block;
    height: 438px;
}

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

@media (max-width: 1200px) {
    .pb-pf__inner {
        padding: 56px 32px 48px;
    }
}

@media (max-width: 1024px) {
    .pb-pf__tabs {
        grid-template-columns: repeat(3, 1fr);
    }

    .pb-pf__tab:nth-child(5n) {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

    .pb-pf__tab:nth-child(3n) {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .pb-pf-wrap {
        padding: 12px;
    }

    .pb-pf__inner {
        padding: 40px 24px 36px;
    }

    .pb-pf__header {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 32px;
    }

    .pb-pf__heading {
        font-size: 30px;
    }

    .pb-pf__tabs {
        grid-template-columns: repeat(2, 1fr);
    }

    .pb-pf__tab:nth-child(3n) {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

    .pb-pf__tab:nth-child(2n) {
        border-right: none;
    }

    .pb-pf__card {
        grid-template-columns: 1fr;
    }

    .pb-pf__card-right {
        height: 260px;
    }

    .pb-pf__card-left {
        padding: 28px 24px;
    }
}

@media (max-width: 480px) {
    .pb-pf__heading {
        font-size: 26px;
    }

    .pb-pf__tab {
        padding: 14px 12px;
    }

    .pb-pf__tab-icon {
        width: 28px;
        height: 28px;
    }

    .pb-pf__tab-icon img {
        width: 16px;
        height: 16px;
    }

    .pb-pf__tab-label {
        font-size: 12px;
    }
}
