/* ==============================
   GLOBAL
============================== */

:root{

    /* ==========================
       UdayPay BRAND COLORS
    ========================== */

    --primary:#0756c9;
    --primary-dark:#043c91;
    --primary-light:#eef5ff;

    --secondary:#168cff;
    --blue:#0756c9;
    --blue-dark:#003b91;
    --blue-light:#edf6ff;

    /* Logo Gold */
    --yellow:#ffc400;
    --gold:#f5ad00;
    --gold-light:#fff8df;
    --orange:#f08a00;

    /* Text */
    --dark:#17233d;
    --text:#5d687c;
    --muted:#7a8495;

    /* Background */
    --light:#f7faff;
    --white:#ffffff;

    /* Borders */
    --border:#e5ebf5;
    --border-light:#eef2f8;

    /* ==========================
       UdayPay GRADIENTS
    ========================== */

    --gradient-primary:
        linear-gradient(
            135deg,
            #003b91,
            #0756c9,
            #168cff
        );

    --gradient-brand:
        linear-gradient(
            90deg,
            #003b91,
            #0756c9,
            #ffc400
        );

    --gradient-blue:
        linear-gradient(
            90deg,
            #0756c9,
            #168cff
        );

    --gradient-gold:
        linear-gradient(
            90deg,
            #f5ad00,
            #ffd43b
        );

    --gradient-soft:
        linear-gradient(
            135deg,
            #eef5ff,
            #fff9e4
        );

    /* Shadows */

    --shadow-soft:
        0 8px 28px rgba(20,50,100,.06);

    --shadow-primary:
        0 8px 20px rgba(7,86,201,.20);

    --shadow-blue:
        0 8px 20px rgba(22,140,255,.18);

    --shadow-gold:
        0 8px 20px rgba(245,173,0,.18);

    /* Radius */

    --radius-card:23px;
    --radius-button:15px;
    --radius-small:10px;
}


/* ==============================
   RESET
============================== */

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    scroll-padding-top:85px;
}

body{

    margin:0;

    font-family:
        "Poppins",
        Arial,
        Helvetica,
        sans-serif;

    background:

        radial-gradient(
            circle at 10% 10%,
            rgba(7,86,201,.05),
            transparent 25%
        ),

        radial-gradient(
            circle at 90% 25%,
            rgba(255,196,0,.07),
            transparent 25%
        ),

        #f7f9fd;

    color:var(--dark);

    line-height:1.75;
}

a{
    text-decoration:none;
    color:inherit;
}

img{
    max-width:100%;
    height:auto;
    display:block;
}

button{
    font-family:inherit;
}


/* ==============================
   MAIN WEBSITE
============================== */

.site-wrapper{

    width:100%;

    max-width:760px;

    min-height:100vh;

    margin:0 auto;

    background:#ffffff;

    box-shadow:
        0 0 50px rgba(25,55,100,.07);
}


/* ==============================
   HEADER
============================== */

.header{

    position:sticky;

    top:0;

    z-index:9999;

    height:78px;

    background:
        rgba(255,255,255,.96);

    backdrop-filter:blur(14px);

    -webkit-backdrop-filter:blur(14px);

    border-bottom:
        1px solid rgba(7,86,201,.10);
}

.header-inner{

    width:100%;

    height:100%;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 22px;
}


/* ==============================
   BRAND
============================== */

.brand{

    display:flex;

    align-items:center;

    gap:11px;
}

.brand-logo{

    width:58px;

    height:58px;

    padding:3px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:12px;

    overflow:hidden;

    background:#ffffff;

    box-shadow:
        0 6px 18px rgba(15,55,110,.12);
}

.brand-logo img{

    width:100%;

    height:100%;

    object-fit:contain;

    border-radius:9px;
}

.brand-name{

    font-size:21px;

    font-weight:700;

    letter-spacing:-.4px;

    background:
        linear-gradient(
            90deg,
            #0756c9,
            #003b91,
            #e9a900
        );

    -webkit-background-clip:text;

    background-clip:text;

    -webkit-text-fill-color:transparent;
}


/* ==============================
   MENU BUTTON
============================== */

.menu-button{

    width:44px;

    height:44px;

    border:0;

    border-radius:13px;

    background:
        linear-gradient(
            135deg,
            #eef5ff,
            #fff9e5
        );

    cursor:pointer;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    gap:5px;

    transition:.25s ease;
}

.menu-button:hover{

    transform:translateY(-1px);

    box-shadow:
        0 6px 16px rgba(20,65,120,.12);
}

.menu-button span{

    display:block;

    width:23px;

    height:3px;

    border-radius:20px;

    background:
        linear-gradient(
            90deg,
            #0756c9,
            #ffc400
        );

    transition:.3s ease;
}

.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:70px;

    right:14px;

    width:235px;

    padding:6px;

    background:
        rgba(255,255,255,.99);

    border:
        1px solid rgba(7,86,201,.12);

    border-radius:18px;

    box-shadow:
        0 18px 45px rgba(25,55,100,.17);

    overflow:hidden;

    opacity:0;

    visibility:hidden;

    transform:
        translateY(-12px)
        scale(.98);

    transform-origin:
        top right;

    pointer-events:none;

    transition:
        opacity .25s ease,
        visibility .25s ease,
        transform .25s ease;
}

.menu.show{

    opacity:1;

    visibility:visible;

    transform:
        translateY(0)
        scale(1);

    pointer-events:auto;
}

.menu a{

    display:block;

    padding:12px 15px;

    margin:2px 0;

    border-radius:11px;

    font-size:15px;

    font-weight:500;

    color:#27344c;

    transition:.2s ease;
}

.menu a:hover{

    background:
        linear-gradient(
            90deg,
            rgba(7,86,201,.09),
            rgba(255,196,0,.10)
        );

    color:#0756c9;

    transform:
        translateX(3px);
}


/* ==============================
   HERO
============================== */

.hero{

    position:relative;

    overflow:hidden;

    text-align:center;

    padding:40px 24px 42px;

    background:

        radial-gradient(
            circle at 10% 20%,
            rgba(7,86,201,.12),
            transparent 28%
        ),

        radial-gradient(
            circle at 90% 18%,
            rgba(255,196,0,.13),
            transparent 28%
        ),

        radial-gradient(
            circle at 50% 100%,
            rgba(22,140,255,.08),
            transparent 35%
        ),

        linear-gradient(
            180deg,
            #ffffff,
            #fafdff
        );

    border-bottom:
        1px solid #e5ebf3;
}

.hero:before,
.hero:after{

    content:"";

    position:absolute;

    width:220px;

    height:220px;

    border-radius:50%;

    pointer-events:none;
}

.hero:before{

    left:-145px;

    bottom:-125px;

    border:
        35px solid rgba(7,86,201,.055);
}

.hero:after{

    right:-150px;

    top:120px;

    border:
        35px solid rgba(255,196,0,.07);
}


/* ==============================
   HERO LOGO
   Square UdayPay Logo
============================== */

.hero-logo{

    position:relative;

    z-index:2;

    width:260px;

    height:260px;

    margin:
        0 auto 20px;

    padding:6px;

    border-radius:25px;

    background:#ffffff;

    box-shadow:

        0 15px 35px
        rgba(20,55,110,.13),

        0 0 0 8px
        rgba(7,86,201,.035);

    overflow:hidden;
}

.hero-logo img{

    width:100%;

    height:100%;

    object-fit:contain;

    border-radius:19px;

    background:#ffffff;
}


/* ==============================
   HERO TEXT
============================== */

.hero h1{

    position:relative;

    z-index:2;

    margin:
        0 0 12px;

    color:var(--dark);

    font-size:34px;

    font-weight:700;

    line-height:1.25;

    letter-spacing:-.8px;
}

.hero p{

    position:relative;

    z-index:2;

    max-width:540px;

    margin:
        0 auto 28px;

    color:#5d687c;

    font-size:15.5px;
}


/* ==============================
   BUTTONS
============================== */

.hero-buttons{

    position:relative;

    z-index:3;

    max-width:540px;

    margin:0 auto;

    display:grid;

    grid-template-columns:
        1fr 1fr;

    gap:11px;
}

.btn{

    min-height:53px;

    padding:
        10px 15px;

    border-radius:15px;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    font-weight:600;

    font-size:15px;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        opacity .2s ease;

    border:
        1px solid transparent;
}

.btn:hover{

    transform:
        translateY(-2px);
}

.btn:active{

    transform:
        translateY(0);
}


/* ==============================
   LOGIN
============================== */

.btn-primary{

    color:#ffffff;

    background:
        linear-gradient(
            135deg,
            #003b91,
            #0756c9,
            #168cff
        );

    box-shadow:
        0 7px 18px
        rgba(7,86,201,.23);
}


/* ==============================
   REGISTER
============================== */

.btn-outline{

    color:#0756c9;

    background:#ffffff;

    border-color:
        rgba(7,86,201,.25);
}

.btn-outline:hover{

    background:#f4f8ff;

    border-color:
        rgba(7,86,201,.45);
}


/* ==============================
   DOWNLOAD
============================== */

.btn-download{

    grid-column:1 / -1;

    color:#ffffff;

    background:
        linear-gradient(
            90deg,
            #0756c9,
            #168cff
        );

    box-shadow:
        0 7px 18px
        rgba(22,140,255,.20);
}


/* ==============================
   TELEGRAM
============================== */

.btn-telegram{

    grid-column:1 / -1;

    color:#ffffff;

    background:
        linear-gradient(
            90deg,
            #087dcc,
            #168cff
        );

    box-shadow:
        0 7px 18px
        rgba(22,140,255,.18);
}


/* ==============================
   CONTENT
============================== */

.content{

    padding:
        18px 18px 100px;

    background:
        linear-gradient(
            180deg,
            #fafdff,
            #ffffff 18%
        );
}


/* ==============================
   CARD
============================== */

.card{

    position:relative;

    margin:
        0 0 17px;

    padding:
        25px 22px;

    background:#ffffff;

    border:
        1px solid #e5ebf3;

    border-radius:23px;

    box-shadow:
        0 8px 28px
        rgba(30,65,110,.045);
}

.card h2{

    position:relative;

    margin:
        0 0 18px;

    padding-bottom:11px;

    color:#17233d;

    font-size:22px;

    line-height:1.4;
}

.card h2:after{

    content:"";

    position:absolute;

    left:0;

    bottom:0;

    width:70px;

    height:3px;

    border-radius:20px;

    background:
        linear-gradient(
            90deg,
            #0756c9,
            #168cff,
            #ffc400
        );
}

.card h3{

    margin:
        23px 0 9px;

    color:#263550;

    font-size:17px;

    line-height:1.5;
}

.card p{

    margin:
        0 0 14px;

    color:#5d687c;

    font-size:15px;
}

.card strong{

    color:#0756c9;

    font-weight:600;
}

.card ul,
.card ol{

    margin:
        10px 0 16px;

    padding-left:23px;

    color:#5d687c;
}

.card li{

    margin-bottom:8px;
}


/* ==============================
   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:12px 0;

    border-bottom:
        1px solid #e9eef5;
}

.toc li:last-child{

    border-bottom:0;
}

.toc-number{

    flex:
        0 0 31px;

    width:31px;

    height:31px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:
        linear-gradient(
            135deg,
            #edf5ff,
            #fff8df
        );

    color:#0756c9;

    font-size:13px;

    font-weight:700;
}

.toc a{

    color:#303d55;

    font-size:15px;

    font-weight:500;

    transition:.2s ease;
}

.toc a:hover{

    color:#0756c9;
}


/* ==============================
   TAGS
============================== */

.tags{

    display:flex;

    flex-wrap:wrap;

    gap:8px;
}

.tag{

    display:inline-block;

    padding:
        6px 13px;

    border-radius:30px;

    background:
        linear-gradient(
            135deg,
            #edf5ff,
            #fff8df
        );

    border:
        1px solid rgba(7,86,201,.10);

    color:#0756c9;

    font-size:13px;

    font-weight:500;
}


/* ==============================
   TABLE
============================== */

.table-wrap{

    width:100%;

    overflow-x:auto;

    border:
        1px solid #e4eaf2;

    border-radius:14px;
}

table{

    width:100%;

    min-width:420px;

    border-collapse:collapse;

    font-size:14px;
}

th{

    background:
        linear-gradient(
            90deg,
            #003b91,
            #0756c9,
            #168cff
        );

    color:#ffffff;

    text-align:left;

    padding:
        12px 14px;

    font-weight:600;
}

td{

    padding:
        11px 14px;

    color:#5d687c;

    border-bottom:
        1px solid #e9eef4;
}

tr:nth-child(even) td{

    background:#fafdff;
}


/* ==============================
   APP IMAGE
============================== */

.app-image{

    width:100%;

    max-height:390px;

    object-fit:contain;

    margin:
        22px auto;

    padding:5px;

    background:#ffffff;

    border:
        1px solid #e5ebf3;

    border-radius:18px;

    box-shadow:
        0 10px 28px
        rgba(30,65,110,.08);
}


/* ==============================
   REFER CODE
============================== */

.refer-box{

    margin:20px 0;

    padding:20px;

    border-radius:18px;

    background:
        linear-gradient(
            135deg,
            rgba(7,86,201,.07),
            rgba(255,196,0,.08)
        );

    border:
        1px solid rgba(7,86,201,.13);

    text-align:center;

    box-shadow:
        0 8px 22px
        rgba(30,65,110,.045);
}

.refer-label{

    display:block;

    margin-bottom:10px;

    color:#626e82;

    font-size:13px;

    font-weight:500;
}

.refer-code{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    flex-wrap:wrap;

    gap:10px;

    font-size:22px;

    font-weight:700;

    letter-spacing:1px;

    color:#0756c9;
}

.copy-btn{

    border:0;

    padding:8px 13px;

    border-radius:10px;

    background:
        linear-gradient(
            135deg,
            #0756c9,
            #168cff
        );

    color:#ffffff;

    cursor:pointer;

    font-size:12px;

    font-weight:600;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.copy-btn:hover{

    transform:
        translateY(-1px);

    box-shadow:
        0 6px 14px
        rgba(7,86,201,.22);
}

.copy-btn:active{

    transform:
        translateY(0);
}


/* ==============================
   INFO BOX
============================== */

.info-box{

    margin:19px 0;

    padding:15px 17px;

    border-left:
        4px solid #0756c9;

    background:
        linear-gradient(
            90deg,
            rgba(7,86,201,.07),
            rgba(255,196,0,.045)
        );

    border-radius:
        0 14px 14px 0;

    color:#5d687c;

    font-size:14px;

    line-height:1.7;
}


/* ==============================
   PROS / CONS
============================== */

.pros li::marker{

    color:#168cff;
}

.cons li::marker{

    color:#e5a300;
}

.pros li,
.cons li{

    padding-left:3px;
}


/* ==============================
   FAQ
============================== */

.faq-item{

    padding:16px 0;

    border-bottom:
        1px solid #e7edf4;
}

.faq-item:last-child{

    border-bottom:0;
}

.faq-question{

    margin:0 0 7px;

    color:#17233d;

    font-size:16px;

    font-weight:600;

    line-height:1.55;
}

.faq-answer{

    margin:0;

    color:#5d687c;

    font-size:14.5px;

    line-height:1.75;
}


/* ==============================
   FOOTER
============================== */

.footer{

    position:fixed;

    z-index:999;

    left:0;

    right:0;

    bottom:0;

    height:52px;

    padding:
        0 15px;

    background:
        rgba(255,255,255,.97);

    backdrop-filter:blur(12px);

    -webkit-backdrop-filter:blur(12px);

    border-top:
        1px solid #e5ebf3;

    box-shadow:
        0 -5px 20px
        rgba(30,65,110,.045);

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    font-size:12.5px;

    color:#7a8495;
}

.footer strong{

    margin:0 3px;

    background:
        linear-gradient(
            90deg,
            #0756c9,
            #003b91,
            #e5a300
        );

    -webkit-background-clip:text;

    background-clip:text;

    -webkit-text-fill-color:transparent;

    font-weight:700;
}


/* ==============================
   ACCESSIBILITY
============================== */

a:focus-visible,
button:focus-visible{

    outline:
        3px solid rgba(7,86,201,.25);

    outline-offset:3px;
}

.copy-btn{

    -webkit-tap-highlight-color:transparent;
}

.menu-button{

    -webkit-tap-highlight-color:transparent;
}


/* ==============================
   MOBILE
============================== */

@media(max-width:600px){

    .site-wrapper{

        max-width:100%;
    }

    .header-inner{

        padding:
            0 16px;
    }

    .brand-logo{

        width:54px;

        height:54px;
    }

    .brand-name{

        font-size:19px;
    }

    .hero{

        padding:
            32px 18px 36px;
    }

    .hero-logo{

        width:230px;

        height:230px;

        margin-bottom:18px;

        border-radius:22px;
    }

    .hero h1{

        font-size:29px;
    }

    .hero p{

        font-size:14.5px;
    }

    .content{

        padding:
            14px 13px 85px;
    }

    .card{

        padding:
            22px 17px;

        border-radius:19px;
    }

    .card h2{

        font-size:20px;
    }

    .hero-buttons{

        gap:9px;
    }

    .btn{

        min-height:50px;

        font-size:14px;
    }

}


/* ==============================
   SMALL MOBILE
============================== */

@media(max-width:380px){

    .brand-name{

        font-size:18px;
    }

    .brand-logo{

        width:50px;

        height:50px;
    }

    .hero-logo{

        width:205px;

        height:205px;
    }

    .hero h1{

        font-size:26px;
    }

    .hero-buttons{

        grid-template-columns:1fr;
    }

    .btn-primary,
    .btn-outline,
    .btn-download,
    .btn-telegram{

        grid-column:1 / -1;
    }

    .refer-code{

        width:100%;

        flex-direction:column;

        font-size:18px;
    }

    .copy-btn{

        width:100%;
    }

    .card{

        padding:
            19px 15px;
    }

}


/* ==============================
   TABLET / DESKTOP
============================== */

@media(min-width:601px){

    body{

        background:

            radial-gradient(
                circle at 10% 10%,
                rgba(7,86,201,.045),
                transparent 25%
            ),

            radial-gradient(
                circle at 90% 30%,
                rgba(255,196,0,.055),
                transparent 25%
            ),

            #f7f9fd;
    }

    .site-wrapper{

        min-height:100vh;
    }
}


/* =========================================
   PREMIUM RELATED PLATFORMS
========================================= */

.related-platforms{

    padding:
        35px 20px;

    margin-top:40px;

    background:#fafdff;

    border-top:
        1px solid #e5ebf3;
}

.related-container{

    max-width:1100px;

    margin:0 auto;
}


/* HEADING */

.related-platforms h2{

    text-align:center;

    margin:
        0 0 8px;

    font-size:26px;

    font-weight:700;

    color:#17233d;
}

.related-description{

    text-align:center;

    margin:
        0 auto 25px;

    font-size:14px;

    color:#707b8d;
}


/* GRID */

.platform-grid{

    display:grid !important;

    grid-template-columns:
        repeat(4,1fr) !important;

    gap:12px !important;

    width:100%;
}


/* CARD */

.platform-card{

    display:flex !important;

    align-items:center !important;

    width:100%;

    min-height:58px;

    padding:
        9px 12px !important;

    box-sizing:border-box;

    background:#ffffff;

    border:
        1px solid #e5ebf3;

    border-radius:9px;

    text-decoration:none !important;

    color:#17233d !important;

    gap:10px;

    transition:all .2s ease;
}


/* HOVER */

.platform-card:hover{

    transform:
        translateY(-2px);

    border-color:#b8cde9;

    box-shadow:
        0 5px 15px
        rgba(30,65,110,.07);
}


/* LOGO */

.platform-card img{

    width:34px !important;

    height:34px !important;

    min-width:34px !important;

    min-height:34px !important;

    padding:3px;

    box-sizing:border-box;

    object-fit:contain;

    background:#ffffff;

    border:
        1px solid #e5ebf3;

    border-radius:7px;

    display:block;
}


/* NAME */

.platform-card span{

    font-size:14px !important;

    font-weight:600;

    line-height:1.2;

    overflow:hidden;

    text-overflow:ellipsis;

    white-space:nowrap;
}


/* =========================================
   TABLET
========================================= */

@media(max-width:900px){

    .platform-grid{

        grid-template-columns:
            repeat(3,1fr) !important;
    }

}


/* =========================================
   MOBILE
========================================= */

@media(max-width:600px){

    .related-platforms{

        padding:
            30px 12px;
    }

    .related-platforms h2{

        font-size:23px;
    }

    .related-description{

        font-size:13px;

        margin-bottom:20px;
    }

    .platform-grid{

        grid-template-columns:
            repeat(2,1fr) !important;

        gap:10px !important;
    }

    .platform-card{

        min-height:54px;

        padding:
            8px 9px !important;

        gap:8px;
    }

    .platform-card img{

        width:30px !important;

        height:30px !important;

        min-width:30px !important;

        min-height:30px !important;
    }

    .platform-card span{

        font-size:12px !important;
    }

}


/* =========================================
   VERY SMALL SCREEN
========================================= */

@media(max-width:360px){

    .platform-grid{

        grid-template-columns:
            1fr !important;
    }

}


/* =========================================
   EXTRA LOGO PROTECTION
   Prevents horizontal overflow
========================================= */

.hero-logo,
.brand-logo,
.hero-logo img,
.brand-logo img{

    max-width:100%;
}

.hero{

    width:100%;

    overflow:hidden;
}


/* =========================================
   REMOVE MOBILE TAP HIGHLIGHT
========================================= */

*{

    -webkit-tap-highlight-color:transparent;
}

button,
a{

    -webkit-touch-callout:none;
}