/* ==============================
   GLOBAL
============================== */

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    scroll-padding-top:75px;
}

body{
    margin:0;
    font-family:"Poppins",Arial,Helvetica,sans-serif;
    background:#f5f7fa;
    color:#24364b;
    line-height:1.75;
}

a{
    text-decoration:none;
    color:inherit;
}

img{
    max-width:100%;
    display:block;
}

button{
    font-family:inherit;
}


/* ==============================
   MAIN WEBSITE
============================== */

.site-wrapper{
    width:100%;
    max-width:520px;
    min-height:100vh;
    margin:0 auto;
    background:#ffffff;
    box-shadow:0 0 35px rgba(15,23,42,.06);
}


/* ==============================
   HEADER
============================== */

.header{
    position:sticky;
    top:0;
    z-index:9999;
    height:74px;
    background:#ffffff;
    border-bottom:1px solid #e5e9ee;
}

.header-inner{
    height:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 22px;
}

.brand{
    display:flex;
    align-items:center;
    gap:12px;
}


/* JPG PAY LOGO */

.brand-logo{
    width:48px;
    height:48px;
    border-radius:10px;
    background:#ffffff;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}

.brand-logo img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
}

.brand-name{
    font-size:19px;
    font-weight:700;
    color:#182230;
}


/* ==============================
   MENU BUTTON
============================== */

.menu-button{
    width:42px;
    height:42px;
    border:0;
    background:transparent;
    cursor:pointer;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:5px;
}

.menu-button span{
    display:block;
    width:26px;
    height:3px;
    border-radius:3px;
    background:#182230;
    transition:.3s;
}

.menu-button.active span:nth-child(1){
    transform:translateY(8px) rotate(45deg);
}

.menu-button.active span:nth-child(2){
    opacity:0;
}

.menu-button.active span:nth-child(3){
    transform:translateY(-8px) rotate(-45deg);
}


/* ==============================
   DROPDOWN MENU
============================== */

.menu{
    position:absolute;
    top:74px;
    right:14px;
    width:216px;
    background:#ffffff;
    border:1px solid #e5e9ee;
    border-radius:0 0 14px 14px;
    box-shadow:0 10px 30px rgba(15,23,42,.14);
    overflow:hidden;
    opacity:0;
    visibility:hidden;
    transform:translateY(-8px);
    transition:.25s ease;
}

.menu.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.menu a{
    display:block;
    padding:11px 20px;
    font-size:15px;
    color:#18283c;
    border-bottom:1px solid #eeeeee;
    background:#ffffff;
    transition:.2s ease;
}

.menu a:hover{
    background:#fff4ed;
    color:#ef5b16;
}

.menu a:last-child{
    border-bottom:0;
}


/* ==============================
   HERO
============================== */

.hero{
    position:relative;
    overflow:hidden;
    text-align:center;
    padding:40px 24px 38px;

    background:
        radial-gradient(
            circle at 5% 30%,
            rgba(239,91,22,.09),
            transparent 25%
        ),
        radial-gradient(
            circle at 95% 65%,
            rgba(24,34,48,.08),
            transparent 28%
        ),
        #ffffff;

    border-bottom:1px solid #e6e9ed;
}

.hero:before,
.hero:after{
    content:"";
    position:absolute;
    width:190px;
    height:190px;
    border:1px solid rgba(239,91,22,.12);
    border-radius:50%;
    pointer-events:none;
}

.hero:before{
    left:-120px;
    bottom:-75px;
}

.hero:after{
    right:-120px;
    top:150px;
}


/* ==============================
   HERO LOGO
============================== */

.hero-logo{
    position:relative;
    z-index:2;

    width:120px;
    height:120px;

    margin:0 auto 20px;

    border-radius:18px;

    background:#ffffff;

    display:flex;
    align-items:center;
    justify-content:center;

    overflow:hidden;

    box-shadow:
        0 8px 22px rgba(15,23,42,.10),
        0 0 0 1px rgba(15,23,42,.05);
}

.hero-logo img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
}


.hero h1{
    position:relative;
    z-index:2;
    margin:0 0 10px;
    color:#182230;
    font-size:29px;
    line-height:1.3;
}

.hero p{
    position:relative;
    z-index:2;
    max-width:430px;
    margin:0 auto 25px;
    color:#50647b;
    font-size:15.5px;
}


/* ==============================
   BUTTONS
============================== */

.hero-buttons{
    position:relative;
    z-index:3;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}

.btn{
    min-height:51px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:600;
    font-size:16px;
    transition:.2s ease;
    border:1px solid #ef5b16;
}

.btn:hover{
    transform:translateY(-2px);
}


/* LOGIN */

.btn-primary{
    background:#ef5b16;
    color:#ffffff;
    border-color:#ef5b16;
    box-shadow:0 5px 12px rgba(239,91,22,.20);
}


/* REGISTER */

.btn-outline{
    background:#ffffff;
    color:#182230;
    border-color:#ef5b16;
}


/* DOWNLOAD */

.btn-download{
    grid-column:1 / -1;
    background:#182230;
    color:#ffffff;
    border-color:#182230;
}


/* TELEGRAM */

.btn-telegram{
    grid-column:1 / -1;
    background:#0794d2;
    border-color:#0794d2;
    color:#ffffff;
    box-shadow:0 5px 12px rgba(7,148,210,.18);
}

/* ==============================
   CONTENT
============================== */

.content{
    padding:15px 16px 100px;
    background:#fff;
}

.card{
    margin:0 0 15px;
    padding:22px 20px;
    background:#ffffff;
    border:1px solid #e5e9ee;
    border-radius:22px;
}

.card h2{
    margin:0 0 17px;
    padding-bottom:9px;
    border-bottom:1px solid #f3d5c4;
    color:#182230;
    font-size:21px;
    line-height:1.4;
}

.card h3{
    margin:20px 0 7px;
    color:#182230;
    font-size:17px;
    line-height:1.5;
}

.card p{
    margin:0 0 13px;
    color:#52677e;
    font-size:15px;
}

.card ul,
.card ol{
    margin:8px 0 15px;
    padding-left:22px;
    color:#52677e;
}

.card li{
    margin-bottom:7px;
}


/* ==============================
   TABLE OF CONTENTS
============================== */

.toc{
    list-style:none !important;
    margin:0 !important;
    padding:0 !important;
}

.toc li{
    display:flex;
    align-items:center;
    gap:13px;
    margin:0;
    padding:11px 0;
    border-bottom:1px solid #edf0f2;
}

.toc li:last-child{
    border-bottom:0;
}

.toc-number{
    flex:0 0 27px;
    width:27px;
    height:27px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#fff0e8;
    color:#ef5b16;
    font-size:13px;
    font-weight:600;
}

.toc a{
    color:#18283c;
    font-size:15px;
}


/* ==============================
   TAGS
============================== */

.tags{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.tag{
    display:inline-block;
    padding:4px 12px;
    border-radius:30px;
    background:#fff0e8;
    color:#e65310;
    font-size:13px;
    font-weight:500;
}


/* ==============================
   TABLE
============================== */

.table-wrap{
    width:100%;
    overflow-x:auto;
    border-radius:10px;
}

table{
    width:100%;
    min-width:420px;
    border-collapse:collapse;
    font-size:14px;
}

th{
    background:#182230;
    color:#ffffff;
    text-align:left;
    padding:10px 12px;
    font-weight:600;
}

td{
    padding:10px 12px;
    color:#52677e;
    border-bottom:1px solid #eeeeee;
}

tr:nth-child(even) td{
    background:#f8fafc;
}


/* ==============================
   APP IMAGE
============================== */

.app-image{
    width:100%;
    max-height:320px;
    object-fit:contain;
    margin:18px auto;
    border-radius:12px;
}


/* ==============================
   REFER CODE
============================== */

.refer-box{
    margin:18px 0;
    padding:16px;
    border-radius:15px;
    background:#fff5ef;
    border:1px solid #f3d1bf;
    text-align:center;
}

.refer-label{
    display:block;
    margin-bottom:8px;
    color:#5b6876;
    font-size:13px;
}

.refer-code{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:21px;
    font-weight:700;
    letter-spacing:1px;
    color:#ef5b16;
}

.copy-btn{
    border:0;
    padding:6px 10px;
    border-radius:8px;
    background:#ef5b16;
    color:#ffffff;
    cursor:pointer;
    font-size:12px;
}


/* ==============================
   INFO BOX
============================== */

.info-box{
    margin:17px 0;
    padding:13px 15px;
    border-left:3px solid #ef5b16;
    background:#fff5ef;
    border-radius:0 12px 12px 0;
    color:#5b6876;
    font-size:14px;
}


/* ==============================
   PROS CONS
============================== */

.pros li::marker{
    color:#179b63;
}

.cons li::marker{
    color:#e35b5b;
}


/* ==============================
   FAQ
============================== */

.faq-item{
    padding:13px 0;
    border-bottom:1px solid #eeeeee;
}

.faq-item:last-child{
    border-bottom:0;
}

.faq-question{
    margin:0 0 5px;
    color:#182230;
    font-size:16px;
    font-weight:600;
}

.faq-answer{
    margin:0;
    color:#52677e;
    font-size:14.5px;
}


/* ==============================
   FOOTER
============================== */

.footer{
    position:fixed;
    z-index:999;
    left:0;
    right:0;
    bottom:0;
    height:48px;
    background:rgba(255,255,255,.97);
    border-top:1px solid #e5e9ee;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:13px;
    color:#91a0b0;
}

.footer strong{
    color:#ef5b16;
}


/* ==============================
   MOBILE
============================== */

@media(max-width:520px){

    .site-wrapper{
        box-shadow:none;
    }

    .header-inner{
        padding:0 18px;
    }

    .hero{
        padding:37px 23px 35px;
    }

    .hero h1{
        font-size:27px;
    }

    .hero p{
        font-size:15px;
    }

    .content{
        padding-left:14px;
        padding-right:14px;
    }

    .card{
        padding:20px 18px;
        border-radius:20px;
    }

    .card h2{
        font-size:20px;
    }

}


/* ==============================
   DESKTOP
============================== */

@media(min-width:521px){

    body{
        background:#f5f7fa;
    }

    .site-wrapper{
        min-height:100vh;
    }

}