/* YamYaPay - NEW DESIGN : INDEX PAGE CSS */

.yp-page {
    background: #fff;
    overflow-x: hidden;
}

.yp section.yp-pt0 {
    padding-top: 0;
}

.yp section.yp-pt20 {
    padding-top: 20px;
}

/* ---------- HERO ---------- */
.yp section.yp-hero {
    background: radial-gradient(1000px 500px at 85% 20%, rgba(228,32,140,.45), transparent 60%), radial-gradient(700px 400px at 10% 90%, rgba(31,95,191,.25), transparent 60%), var(--dark);
    color: #fff;
    padding: 150px 0 100px;
    position: relative;
}

.yp-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 50px;
    align-items: center;
}

.yp-hero h1 {
    font-size: clamp(36px, 5.4vw, 62px);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
}

    .yp-hero h1 span {
        background: linear-gradient(90deg, var(--brand-2), #ff7ac0);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.yp-hero-p {
    color: rgba(255,255,255,.75);
    font-size: 18px;
    max-width: 500px;
    margin-bottom: 32px;
}

.yp-hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.yp-trust {
    display: flex;
    gap: 28px;
    margin-top: 40px;
    flex-wrap: wrap;
}

    .yp-trust div {
        font-size: 14px;
        color: rgba(255,255,255,.7);
    }

    .yp-trust b {
        display: block;
        font-size: 24px;
        color: #fff;
    }

.yp-phone-wrap {
    position: relative;
    display: flex;
    justify-content: center;
}

.yp-phone {
    width: 290px;
    background: #fff;
    border-radius: 38px;
    padding: 14px;
    box-shadow: 0 40px 80px rgba(0,0,0,.45);
    transform: rotate(4deg);
    animation: yp-float 5s ease-in-out infinite;
}

@keyframes yp-float {
    50% {
        transform: rotate(4deg) translateY(-14px);
    }
}

.yp-screen {
    background: var(--bg);
    border-radius: 28px;
    padding: 22px 16px;
    color: var(--ink);
    min-height: 480px;
}

.yp-bal {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 18px;
}

    .yp-bal small {
        opacity: .8;
    }

    .yp-bal h3 {
        font-size: 28px;
    }

.yp-grid-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
}

    .yp-grid-icons div {
        background: #fff;
        border-radius: 14px;
        padding: 12px 4px;
        box-shadow: 0 4px 10px rgba(0,0,0,.05);
    }

    .yp-grid-icons i {
        display: block;
        font-style: normal;
        font-size: 22px;
        margin-bottom: 4px;
    }

.yp-txn {
    margin-top: 18px;
    background: #fff;
    border-radius: 14px;
    padding: 12px;
    font-size: 12px;
}

    .yp-txn p {
        display: flex;
        justify-content: space-between;
        padding: 6px 0;
        border-bottom: 1px dashed #e5e7f2;
        color: var(--ink);
    }

        .yp-txn p:last-child {
            border: 0;
        }

.yp-chip {
    position: absolute;
    background: #fff;
    color: var(--ink);
    padding: 10px 16px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(0,0,0,.25);
}

.yp-chip-a {
    left: 0;
    top: 80px;
}

.yp-chip-b {
    right: -6px;
    bottom: 90px;
}

/* ---------- QUICK RECHARGE ---------- */
.yp section.yp-quick {
    margin-top: -60px;
    padding: 0;
    position: relative;
    z-index: 5;
}

.yp-quick-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 25px 60px rgba(20,20,70,.15);
    padding: 28px;
}

.yp-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.yp-tab {
    padding: 10px 20px;
    border-radius: 50px;
    border: 1.5px solid #e3e5f3;
    background: #fff;
    color: var(--ink);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: .2s;
}

    .yp-tab.yp-active {
        background: var(--brand);
        border-color: var(--brand);
        color: #fff;
    }

.yp-qform {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

    .yp-qform input, .yp-qform select {
        padding: 15px 16px;
        border: 1.5px solid #e3e5f3;
        border-radius: 14px;
        font: inherit;
        font-size: 15px;
        outline: none;
        width: 100%;
        height: auto;
        background: #fff;
        color: var(--ink);
    }

        .yp-qform input:focus, .yp-qform select:focus {
            border-color: var(--brand);
        }

    .yp-qform .yp-btn {
        justify-content: center;
    }

.yp-msg {
    margin-top: 14px;
    font-weight: 600;
    color: var(--brand-2);
    min-height: 24px;
}

/* ---------- SERVICES ---------- */
.yp section.yp-services {
    background: var(--bg);
}

.yp-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.yp-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 32px 26px;
    transition: .3s;
    border: 1px solid transparent;
    text-align: center;
}

    .yp-card:hover {
        transform: translateY(-8px);
        border-color: var(--brand);
        box-shadow: 0 20px 40px rgba(228,32,140,.15);
    }

.yp-ico {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 28px;
    background: linear-gradient(135deg, rgba(228,32,140,.15), rgba(31,95,191,.18));
    margin-bottom: 18px;
}

.yp-card .yp-ico {
    margin-inline: auto;
}

.yp-card h3 {
    margin-bottom: 8px;
    font-size: 19px;
}

.yp-card p {
    color: var(--muted);
    font-size: 15px;
}

/* ---------- HOW ---------- */
.yp-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 30px;
    margin-top: 50px;
    counter-reset: yps;
}

.yp-step {
    text-align: center;
    padding: 10px 20px;
    position: relative;
}

    .yp-step::before {
        counter-increment: yps;
        content: counter(yps);
        width: 64px;
        height: 64px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--brand), var(--brand-2));
        color: #fff;
        font-weight: 800;
        font-size: 24px;
        display: grid;
        place-items: center;
        margin: 0 auto 18px;
        box-shadow: 0 10px 24px rgba(228,32,140,.35);
    }

    .yp-step p {
        color: var(--muted);
        font-size: 15px;
    }

/* ---------- BBPS BAND ---------- */
.yp-band {
    background-color: var(--dark);
    color: #fff;
    border-radius: 30px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    background-image: radial-gradient(500px 250px at 100% 0, rgba(228,32,140,.5), transparent);
}

    .yp-band p {
        color: rgba(255,255,255,.75);
        margin: 12px 0 24px;
    }

.yp-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

    .yp-pills span {
        background: rgba(255,255,255,.1);
        padding: 9px 16px;
        border-radius: 50px;
        font-size: 14px;
        font-weight: 600;
    }

/* ---------- STATS ---------- */
.yp-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.yp-stat b {
    display: block;
    font-size: 44px;
    font-weight: 800;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.yp-stat span {
    color: var(--muted);
    font-weight: 600;
}

/* ---------- WHY ---------- */
.yp section.yp-why {
    background: var(--bg);
}

.yp-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.yp-why-item {
    display: flex;
    gap: 16px;
    background: #fff;
    padding: 24px;
    border-radius: var(--radius);
}

    .yp-why-item .yp-ico {
        flex: none;
        margin: 0;
    }

    .yp-why-item h4 {
        margin-bottom: 4px;
    }

    .yp-why-item p {
        color: var(--muted);
        font-size: 15px;
    }

/* ---------- FAQ ---------- */
.yp-faq {
    max-width: 760px;
    margin: 40px auto 0;
    text-align: left;
}

.yp-q {
    border: 1.5px solid #e6e8f4;
    border-radius: 16px;
    margin-bottom: 14px;
    overflow: hidden;
}

    .yp-q button {
        width: 100%;
        text-align: left;
        background: #fff;
        border: 0;
        padding: 20px 24px;
        font: inherit;
        font-weight: 700;
        font-size: 16px;
        color: var(--ink);
        cursor: pointer;
        display: flex;
        justify-content: space-between;
    }

.yp-a {
    max-height: 0;
    overflow: hidden;
    transition: .3s;
    padding: 0 24px;
    color: var(--muted);
}

.yp-q.yp-open .yp-a {
    max-height: 200px;
    padding-bottom: 20px;
}

.yp-q button span {
    transition: .2s;
    font-size: 22px;
    color: var(--brand);
}

.yp-q.yp-open button span {
    transform: rotate(45deg);
}

/* ---------- CTA ---------- */
.yp-cta {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    border-radius: 30px;
    padding: 60px;
    text-align: center;
}

    .yp-cta p {
        opacity: .9;
        margin: 10px auto 28px;
        max-width: 480px;
    }

.yp .yp-cta a.yp-btn {
    background: #fff;
    color: var(--brand);
}

/* ---------- CONTACT ---------- */
.yp-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.yp-contact-form {
    display: grid;
    gap: 14px;
}

    .yp-contact-form input, .yp-contact-form textarea {
        padding: 15px 16px;
        border: 1.5px solid #e3e5f3;
        border-radius: 14px;
        font: inherit;
        outline: none;
        width: 100%;
        height: auto;
        background: #fff;
        color: var(--ink);
    }

        .yp-contact-form input:focus, .yp-contact-form textarea:focus {
            border-color: var(--brand);
        }

    .yp-contact-form .yp-btn {
        justify-content: center;
    }

.yp-info p {
    margin-bottom: 14px;
    color: var(--muted);
}

.yp-info b {
    color: var(--ink);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .yp-hero-grid, .yp-band, .yp-contact-grid, .yp-why-grid {
        grid-template-columns: 1fr;
    }

    .yp-qform {
        grid-template-columns: 1fr 1fr;
    }

    .yp-stats {
        grid-template-columns: 1fr 1fr;
    }

    .yp-phone-wrap {
        margin-top: 30px;
    }

    .yp-band, .yp-cta {
        padding: 36px 24px;
    }
}

@media (max-width: 520px) {
    .yp-qform {
        grid-template-columns: 1fr;
    }
}
