/* =========================================================
   OKPAY WEBSITE - MAIN STYLE
   Domain: okpay.org.in
   Theme: Purple + Yellow + Pink + Cyan
   Based on Okpay Logo
========================================================= */

*{
    box-sizing:border-box;
    margin:0;
    padding:0;
}

html{
    scroll-behavior:smooth;
    scroll-padding-top:90px;
}

body{
    font-family:"Poppins",Arial,Helvetica,sans-serif;
    background:#f7f5ff;
    color:#171126;
    line-height:1.75;
    overflow-x:hidden;
}

img{
    max-width:100%;
    height:auto;
    display:block;
}

a{
    color:inherit;
    text-decoration:none;
}

button{
    font-family:inherit;
}


/* =========================================================
   SITE WRAPPER
========================================================= */

.site-wrapper{
    width:100%;
    min-height:100vh;
}


/* =========================================================
   HEADER
========================================================= */

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:72px;
    z-index:99999;

    background:#ffffff;
    border-bottom:1px solid #e7ddff;

    box-shadow:0 4px 20px rgba(38,8,91,0.10);
}

.header-inner{
    width:100%;
    max-width:1180px;
    height:72px;
    margin:auto;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:0 22px;
}


/* =========================================================
   BRAND
========================================================= */

.brand{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
}

.brand-logo{
    width:46px;
    height:46px;

    display:flex;
    align-items:center;
    justify-content:center;

    overflow:hidden;
    border-radius:13px;

    background:linear-gradient(
        135deg,
        #7b00ff,
        #390087 55%,
        #170047
    );

    padding:2px;

    box-shadow:
        0 5px 16px rgba(87,0,190,0.25);
}

.brand-logo img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:11px;
}

.brand-name{
    font-size:23px;
    font-weight:800;
    letter-spacing:-0.5px;

    background:linear-gradient(
        90deg,
        #5a00d6,
        #7b12f5,
        #e51c72
    );

    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
}


/* =========================================================
   MENU BUTTON
========================================================= */

.menu-button{
    width:45px;
    height:45px;

    border:0;
    outline:0;
    cursor:pointer;

    background:#19004f;
    border-radius:11px;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;

    transition:all .25s ease;

    box-shadow:
        0 6px 16px rgba(32,0,91,0.18);
}

.menu-button span{
    width:22px;
    height:2.5px;

    background:#ffd21c;
    border-radius:10px;

    transition:all .25s ease;
}

.menu-button:hover{
    background:linear-gradient(
        135deg,
        #6d00e8,
        #ff197b
    );
}

.menu-button:hover span{
    background:#ffffff;
}


/* =========================================================
   MENU
========================================================= */

.menu{
    position:fixed;

    top:72px;
    right:-330px;

    width:310px;
    max-width:88vw;

    height:calc(100vh - 72px);

    overflow-y:auto;

    background:
        linear-gradient(
            180deg,
            #180047 0%,
            #26006d 45%,
            #15003e 100%
        );

    padding:25px 18px 35px;

    box-shadow:
        -10px 12px 35px rgba(20,0,60,0.28);

    transition:right .30s ease;

    z-index:99998;
}

.menu.show{
    right:0;
}

.menu a{
    display:block;

    padding:13px 15px;
    margin-bottom:7px;

    color:#ffffff;

    font-size:15px;
    font-weight:500;

    border-radius:9px;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.menu a:hover{
    background:
        linear-gradient(
            90deg,
            #ffd21c,
            #ffb91c
        );

    color:#21004f;

    transform:translateX(-3px);
}


/* =========================================================
   ACTIVE MENU BUTTON
========================================================= */

.menu-button.active{
    background:
        linear-gradient(
            135deg,
            #ffd21c,
            #ff8d1c
        );
}

.menu-button.active span{
    background:#180047;
}

.menu-button.active span:nth-child(1){
    transform:translateY(7.5px) rotate(45deg);
}

.menu-button.active span:nth-child(2){
    opacity:0;
}

.menu-button.active span:nth-child(3){
    transform:translateY(-7.5px) rotate(-45deg);
}


/* =========================================================
   MAIN TOP SPACING
========================================================= */

main,
.hero{
    position:relative;
}


/* =========================================================
   HERO
========================================================= */

.hero{
    margin-top:72px;

    min-height:580px;

    padding:78px 20px 72px;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    text-align:center;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(125,0,255,0.20) 0%,
            rgba(125,0,255,0.08) 25%,
            transparent 55%
        ),
        radial-gradient(
            circle at 90% 40%,
            rgba(0,220,230,0.10),
            transparent 35%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #faf7ff 60%,
            #f5f0ff 100%
        );

    border-bottom:1px solid #e7ddff;
}


/* =========================================================
   HERO LOGO
========================================================= */

.hero-logo{
    width:165px;
    height:165px;

    margin-bottom:27px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:35px;

    background:
        linear-gradient(
            135deg,
            #8d00ff 0%,
            #4800a5 48%,
            #19004f 100%
        );

    padding:5px;

    box-shadow:
        0 18px 45px rgba(72,0,165,0.28),
        0 0 0 6px rgba(118,0,238,0.07);
}

.hero-logo img{
    width:100%;
    height:100%;

    object-fit:cover;

    border-radius:31px;
}


/* =========================================================
   HERO HEADING
========================================================= */

.hero h1{
    max-width:920px;

    margin-bottom:18px;

    font-size:clamp(30px,5vw,48px);
    line-height:1.2;

    font-weight:800;

    color:#180047;
}

.hero h1 strong{
    background:
        linear-gradient(
            90deg,
            #6c00e8,
            #e91e73
        );

    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
}

.hero p{
    max-width:820px;

    margin:0 auto 30px;

    font-size:17px;

    color:#5a5268;
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-buttons{
    display:flex;
    flex-wrap:wrap;

    align-items:center;
    justify-content:center;

    gap:12px;
}

.btn{
    display:inline-flex;

    align-items:center;
    justify-content:center;

    min-width:150px;

    padding:12px 22px;

    border-radius:10px;

    font-size:14px;
    font-weight:700;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.btn:hover{
    transform:translateY(-3px);
}


/* Primary */

.btn-primary{
    background:
        linear-gradient(
            135deg,
            #5c00d9,
            #8b00ff
        );

    color:#ffffff;

    border:1px solid #5c00d9;

    box-shadow:
        0 8px 22px rgba(91,0,217,0.25);
}

.btn-primary:hover{
    background:
        linear-gradient(
            135deg,
            #e91e73,
            #ff2a91
        );

    border-color:#e91e73;

    box-shadow:
        0 10px 25px rgba(233,30,115,0.25);
}


/* Outline */

.btn-outline{
    background:#ffffff;

    color:#4d00a8;

    border:2px solid #6500db;

    box-shadow:0 5px 15px rgba(60,0,130,0.08);
}

.btn-outline:hover{
    background:
        linear-gradient(
            135deg,
            #5c00d9,
            #8b00ff
        );

    color:#ffffff;

    border-color:#5c00d9;
}


/* Download */

.btn-download{
    background:
        linear-gradient(
            135deg,
            #ffd21c,
            #ffb31c
        );

    color:#21004f;

    border:1px solid #ffc400;

    box-shadow:
        0 8px 22px rgba(255,194,20,0.28);
}

.btn-download:hover{
    background:
        linear-gradient(
            135deg,
            #16dfe0,
            #08bfe5
        );

    color:#15003e;

    border-color:#08cbd4;
}


/* =========================================================
   CONTENT
========================================================= */

.content{
    width:100%;
    max-width:1050px;

    margin:0 auto;

    padding:48px 20px 75px;
}


/* =========================================================
   CARDS
========================================================= */

.card{
    position:relative;

    background:#ffffff;

    margin-bottom:25px;

    padding:30px;

    border:1px solid #e8def8;

    border-radius:15px;

    box-shadow:
        0 7px 25px rgba(48,0,100,0.055);

    overflow:hidden;
}

.card::after{
    content:"";

    position:absolute;

    top:0;
    right:0;

    width:90px;
    height:90px;

    background:
        radial-gradient(
            circle,
            rgba(108,0,232,0.07),
            transparent 70%
        );

    pointer-events:none;
}

.card h2{
    position:relative;

    margin-bottom:18px;

    padding-left:15px;

    font-size:26px;
    line-height:1.35;

    color:#21004f;

    z-index:1;
}

.card h2::before{
    content:"";

    position:absolute;

    left:0;
    top:4px;

    width:5px;
    height:calc(100% - 8px);

    border-radius:5px;

    background:
        linear-gradient(
            180deg,
            #ffd21c,
            #ff1b78,
            #6500df
        );
}

.card h3{
    margin:22px 0 10px;

    font-size:19px;
    line-height:1.4;

    color:#2a1451;
}

.card p{
    margin-bottom:16px;

    font-size:15.5px;

    color:#554d62;
}

.card p:last-child{
    margin-bottom:0;
}


/* =========================================================
   LISTS
========================================================= */

.card ul,
.card ol{
    margin:12px 0 18px;

    padding-left:25px;
}

.card li{
    margin-bottom:9px;

    color:#554d62;

    font-size:15px;
}

.card li::marker{
    color:#7a00e8;

    font-weight:800;
}


/* =========================================================
   INFO BOX
========================================================= */

.info-box{
    margin:20px 0;

    padding:17px 20px;

    background:
        linear-gradient(
            135deg,
            #fff9d8,
            #fff2f7
        );

    border-left:5px solid #ffd21c;

    border-radius:9px;

    color:#42394d;

    font-size:14.5px;
}

.info-box strong{
    color:#4c009e;
}


/* =========================================================
   TABLE
========================================================= */

.table-wrap{
    width:100%;

    overflow-x:auto;

    border-radius:10px;
}

table{
    width:100%;

    min-width:600px;

    border-collapse:collapse;

    background:#ffffff;
}

th,
td{
    padding:13px 15px;

    text-align:left;

    border:1px solid #e3daf1;

    font-size:14px;
}

th{
    background:
        linear-gradient(
            135deg,
            #24005f,
            #5700bd
        );

    color:#ffffff;

    font-weight:600;
}

td{
    color:#554d62;
}

tr:nth-child(even) td{
    background:#faf8ff;
}

tr:hover td{
    background:#fff8e0;
}


/* =========================================================
   TAGS
========================================================= */

.tags{
    display:flex;

    flex-wrap:wrap;

    gap:9px;
}

.tag{
    display:inline-block;

    padding:7px 13px;

    border-radius:30px;

    background:
        linear-gradient(
            135deg,
            #f2e6ff,
            #ffe7f1
        );

    color:#5a00a7;

    border:1px solid #dfc5ff;

    font-size:13px;

    font-weight:600;

    transition:all .2s ease;
}

.tag:hover{
    background:
        linear-gradient(
            135deg,
            #5d00d8,
            #e91e73
        );

    color:#ffffff;

    border-color:#5d00d8;

    transform:translateY(-2px);
}


/* =========================================================
   TABLE OF CONTENTS
========================================================= */

.toc{
    list-style:none;

    margin:0 !important;

    padding:0 !important;
}

.toc li{
    display:flex;

    align-items:center;

    margin-bottom:9px;

    padding:10px;

    border-radius:9px;

    background:#faf8ff;
}

.toc li:hover{
    background:#fff5d2;
}

.toc-number{
    min-width:30px;

    height:30px;

    margin-right:10px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:
        linear-gradient(
            135deg,
            #5c00d9,
            #a000ff
        );

    color:#ffd21c;

    font-size:13px;

    font-weight:700;
}

.toc a{
    color:#30203f;

    font-size:14px;

    font-weight:500;
}


/* =========================================================
   FAQ
========================================================= */

.faq-item{
    padding:18px 0;

    border-bottom:1px solid #e8def2;
}

.faq-item:last-child{
    border-bottom:0;
}

.faq-question{
    margin:0 0 8px !important;

    color:#28004f !important;

    font-size:17px !important;
}

.faq-answer{
    margin:0 !important;

    color:#5b5266;

    font-size:14.5px;
}


/* =========================================================
   SNAPSHOT SECTION
   Supports snapshot-grid used in index.html
========================================================= */

.snapshot-grid,
.screenshot-grid{
    display:grid;

    grid-template-columns:
        repeat(auto-fit,minmax(220px,1fr));

    gap:20px;

    margin-top:20px;
}

.snapshot-card,
.screenshot-card{
    overflow:hidden;

    background:#ffffff;

    border:1px solid #e5daf4;

    border-radius:14px;

    box-shadow:
        0 7px 22px rgba(51,0,100,0.08);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.snapshot-card:hover,
.screenshot-card:hover{
    transform:translateY(-5px);

    box-shadow:
        0 12px 30px rgba(51,0,100,0.13);
}

.snapshot-image{
    width:100%;

    display:flex;

    align-items:center;
    justify-content:center;

    padding:15px;

    background:
        linear-gradient(
            135deg,
            #f5edff,
            #fff8df
        );
}

.snapshot-card img,
.screenshot-card img{
    width:100%;

    height:260px;

    object-fit:cover;

    border-radius:9px;

    background:#f4f1fa;
}

.snapshot-card h3{
    padding:14px 15px 4px;

    margin:0;

    font-size:17px;

    color:#28004f;
}

.snapshot-card p,
.screenshot-card p{
    padding:5px 15px 15px;

    margin:0;

    font-size:14px;
}


/* =========================================================
   REFER CODE SECTION
========================================================= */

.refer-section{
    text-align:center;

    background:
        radial-gradient(
            circle at top right,
            rgba(112,0,230,0.09),
            transparent 35%
        ),
        #ffffff;
}

.refer-label{
    margin-bottom:15px;
}

.refer-badge{
    display:inline-block;

    padding:6px 14px;

    border-radius:30px;

    font-size:12px;

    font-weight:800;

    letter-spacing:1px;

    background:
        linear-gradient(
            135deg,
            #fff1a6,
            #ffd21c
        );

    color:#39005f;

    margin-bottom:10px;
}

.refer-code-box{
    max-width:520px;

    margin:25px auto 5px;

    padding:24px;

    border-radius:16px;

    background:
        linear-gradient(
            135deg,
            #faf7ff,
            #fffaf0
        );

    border:1px solid #e4d7f3;

    box-shadow:
        0 8px 24px rgba(70,0,120,0.06);
}

.refer-code-label{
    font-size:14px;

    font-weight:600;

    color:#4b385d;

    margin-bottom:12px;
}

.refer-code-row{
    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:12px;

    padding:10px 10px 10px 18px;

    background:#ffffff;

    border:2px dashed #d7b8ff;

    border-radius:12px;
}

#referCode{
    font-size:22px;

    font-weight:800;

    letter-spacing:2px;

    color:#6500c8;

    word-break:break-word;
}

.copy-btn{
    border:none;

    padding:11px 18px;

    border-radius:9px;

    cursor:pointer;

    font-size:14px;

    font-weight:700;

    background:
        linear-gradient(
            135deg,
            #5b00d6,
            #8b00ff
        );

    color:#ffffff;

    transition:0.2s ease;

    box-shadow:
        0 5px 15px rgba(89,0,210,0.20);
}

.copy-btn:hover{
    background:
        linear-gradient(
            135deg,
            #e91e73,
            #ff1d84
        );

    transform:translateY(-2px);
}

.copy-btn:active{
    transform:scale(0.96);
}

.refer-note{
    margin:14px 0 0;

    font-size:13px;

    line-height:1.6;
}


/* =========================================================
   TEXT LINKS
========================================================= */

.text-link{
    display:inline-block;

    margin-top:5px;

    color:#6500d2;

    font-size:14px;

    font-weight:700;

    transition:all .2s ease;
}

.text-link:hover{
    color:#e51c73;

    transform:translateX(3px);
}


/* =========================================================
   FOOTER
========================================================= */

.footer{
    width:100%;

    padding:32px 20px;

    text-align:center;

    background:
        linear-gradient(
            135deg,
            #15003d 0%,
            #270061 50%,
            #17003f 100%
        );

    color:#dcd5e8;

    border-top:4px solid #ffd21c;

    font-size:14px;
}

.footer strong{
    color:#ffd21c;
}

.footer a{
    color:#42e6e8;

    margin:0 5px;

    transition:
        color .2s ease,
        opacity .2s ease;
}

.footer a:hover{
    color:#ffd21c;
}


/* =========================================================
   FOOTER LOGO
========================================================= */

.footer-logo{
    width:70px !important;
    height:70px !important;

    max-width:70px !important;
    max-height:70px !important;

    margin:0 auto 12px;

    display:flex;

    align-items:center;
    justify-content:center;

    object-fit:contain !important;

    border-radius:16px;

    overflow:hidden;

    background:#ffffff;

    padding:3px;
}

.footer-logo img{
    width:100%;
    height:100%;

    object-fit:cover;

    border-radius:13px;
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top{
    position:fixed;

    right:18px;
    bottom:18px;

    width:43px;
    height:43px;

    display:flex;

    align-items:center;
    justify-content:center;

    background:
        linear-gradient(
            135deg,
            #ffd21c,
            #ff9d1c
        );

    color:#21004f;

    border-radius:50%;

    font-size:18px;

    font-weight:800;

    box-shadow:
        0 6px 18px rgba(65,0,100,0.20);

    z-index:9000;
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width:768px){

    .header,
    .header-inner{
        height:66px;
    }

    .header-inner{
        padding:0 15px;
    }

    .brand-logo{
        width:40px;
        height:40px;
    }

    .brand-name{
        font-size:20px;
    }

    .menu{
        top:66px;

        height:calc(100vh - 66px);
    }

    .hero{
        margin-top:66px;

        min-height:510px;

        padding:55px 17px 55px;
    }

    .hero-logo{
        width:130px;
        height:130px;

        border-radius:28px;
    }

    .hero-logo img{
        border-radius:24px;
    }

    .hero h1{
        font-size:31px;
    }

    .hero p{
        font-size:15px;
    }

    .content{
        padding:32px 15px 55px;
    }

    .card{
        padding:23px 19px;

        border-radius:12px;
    }

    .card h2{
        font-size:23px;
    }

    .hero-buttons{
        gap:9px;
    }

    .btn{
        min-width:135px;

        padding:11px 17px;
    }
}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width:480px){

    .header-inner{
        padding:0 12px;
    }

    .brand{
        gap:8px;
    }

    .brand-logo{
        width:38px;
        height:38px;

        border-radius:10px;
    }

    .brand-name{
        font-size:18px;
    }

    .menu-button{
        width:42px;
        height:42px;
    }

    .menu{
        width:290px;

        max-width:85vw;

        padding:20px 14px 30px;
    }

    .menu a{
        padding:12px 13px;

        font-size:14px;
    }

    .hero{
        padding:45px 14px 45px;
    }

    .hero-logo{
        width:110px;
        height:110px;

        margin-bottom:20px;

        border-radius:24px;
    }

    .hero-logo img{
        border-radius:20px;
    }

    .hero h1{
        font-size:27px;
    }

    .hero p{
        font-size:14px;

        line-height:1.65;
    }

    .hero-buttons{
        width:100%;

        flex-direction:column;
    }

    .btn{
        width:100%;

        max-width:300px;
    }

    .content{
        padding:25px 12px 45px;
    }

    .card{
        padding:20px 16px;

        margin-bottom:18px;
    }

    .card h2{
        font-size:21px;
    }

    .card h3{
        font-size:17px;
    }

    .card p,
    .card li{
        font-size:14px;
    }

    .info-box{
        padding:14px 15px;

        font-size:13.5px;
    }

    .snapshot-grid,
    .screenshot-grid{
        grid-template-columns:1fr;
    }

    .snapshot-card img,
    .screenshot-card img{
        height:auto;

        max-height:450px;
    }

    .refer-code-box{
        padding:18px;
    }

    .refer-code-row{
        flex-direction:column;

        align-items:stretch;
    }

    #referCode{
        text-align:center;

        font-size:20px;
    }

    .copy-btn{
        width:100%;
    }

    .footer{
        padding:25px 14px;

        font-size:13px;
    }

    .footer-logo{
        width:62px !important;
        height:62px !important;
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

:focus-visible{
    outline:3px solid #18dfe2;

    outline-offset:3px;
}


/* =========================================================
   TEXT SELECTION
========================================================= */

::selection{
    background:#ffd21c;

    color:#21004f;
}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-track{
    background:#f1edfa;
}

::-webkit-scrollbar-thumb{
    background:
        linear-gradient(
            180deg,
            #7200e8,
            #e91e73
        );

    border-radius:10px;
}

::-webkit-scrollbar-thumb:hover{
    background:
        linear-gradient(
            180deg,
            #ffd21c,
            #ff6b1c
        );
}


/* =========================================================
   SMALL SCREEN EXTRA FIX
========================================================= */

@media (max-width:360px){

    .brand-name{
        font-size:17px;
    }

    .hero h1{
        font-size:24px;
    }

    .hero-logo{
        width:100px;
        height:100px;
    }

    .card{
        padding:18px 14px;
    }

    .card h2{
        font-size:19px;
    }

    .menu{
        max-width:88vw;
    }
}