/* ================================
   AGPAY WEBSITE CSS
   Green Theme Based on Agpay Logo
================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root{
    --primary:#28d91f;
    --primary-dark:#07951c;
    --primary-deep:#006b16;
    --primary-light:#efffe9;

    --secondary:#8cff45;
    --green:#16b51c;
    --lime:#6cff32;
    --dark-green:#005f14;

    --dark:#123b19;
    --text:#53635a;
    --muted:#7b877f;

    --white:#ffffff;
    --light:#f7fff5;
    --background:#f3faf2;

    --border:#dcebd9;

    --radius-card:22px;
    --radius-button:14px;

    --gradient-primary:linear-gradient(135deg,#08a91b,#48ed25);
    --gradient-green:linear-gradient(90deg,#07951c,#28d91f,#8cff45);
    --gradient-soft:linear-gradient(135deg,#efffe9,#ffffff);
}


/* ================================
   GLOBAL
================================ */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:var(--background);
    color:var(--text);
    line-height:1.7;
}

img{
    max-width:100%;
    height:auto;
}

a{
    text-decoration:none;
    color:inherit;
}

button{
    font-family:inherit;
}

.page-container{
    width:100%;
    max-width:760px;
    margin:0 auto;
    padding:25px 16px 45px;
}


/* ================================
   HEADER
================================ */

.site-header{
    position:sticky;
    top:0;
    z-index:999;
    width:100%;
    height:78px;

    background:#006b16;
    border-bottom:2px solid #28d91f;

    box-shadow:0 5px 20px rgba(0,80,15,0.18);
}

.header-inner{
    max-width:1100px;
    height:78px;
    margin:0 auto;
    padding:0 18px;

    display:flex;
    align-items:center;
    justify-content:space-between;
}

.brand{
    display:flex;
    align-items:center;
    gap:11px;

    color:#ffffff;
    font-size:22px;
    font-weight:800;
}

.brand img{
    width:48px;
    height:48px;
    object-fit:cover;
    border-radius:12px;

    border:2px solid #8cff45;
    box-shadow:0 0 12px rgba(140,255,69,0.35);
}

.brand span{
    color:#ffffff;
}


/* ================================
   MENU BUTTON
================================ */

.menu-toggle{
    width:48px;
    height:44px;

    border:1px solid #8cff45;
    border-radius:12px;

    background:#005f14;
    color:#ffffff;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;

    cursor:pointer;
    transition:0.25s ease;
}

.menu-toggle:hover{
    background:#07951c;
}

.menu-toggle span{
    display:block;
    width:22px;
    height:3px;

    background:#ffffff;
    border-radius:5px;
}


/* ================================
   MAIN MENU
================================ */

.main-menu{
    position:absolute;
    top:78px;
    left:0;
    right:0;

    display:none;

    background:#ffffff;
    border-bottom:1px solid var(--border);

    box-shadow:0 12px 25px rgba(0,90,20,0.12);

    padding:15px;
}

.main-menu.active{
    display:block;
}

.main-menu a{
    display:block;

    padding:11px 13px;
    margin-bottom:4px;

    border-radius:10px;

    color:#14521e;
    font-size:14px;
    font-weight:600;

    transition:0.2s ease;
}

.main-menu a:hover{
    background:#efffe9;
    color:#07951c;
}


/* ================================
   HERO
================================ */

.hero-section{
    margin-top:25px;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f1ffe9 55%,
            #dcffd0 100%
        );

    border:1px solid #cfe8c9;
    border-radius:28px;

    padding:35px 22px;

    text-align:center;

    box-shadow:
        0 12px 35px rgba(0,100,20,0.10);

    overflow:hidden;
}

.hero-content{
    max-width:650px;
    margin:0 auto;
}

.hero-badge{
    display:inline-block;

    padding:7px 15px;

    background:#e7ffd9;
    color:#087f18;

    border:1px solid #b8eca8;
    border-radius:30px;

    font-size:12px;
    font-weight:700;

    margin-bottom:18px;
}

.hero-logo{
    display:block;
    width:190px;
    height:190px;

    object-fit:cover;

    margin:0 auto 22px;

    border-radius:38px;

    border:7px solid #ffffff;

    box-shadow:
        0 12px 30px rgba(0,100,15,0.20);
}

.hero-section h1{
    color:#075c15;

    font-size:31px;
    line-height:1.25;

    margin-bottom:15px;

    font-weight:800;
}

.hero-text{
    max-width:620px;
    margin:0 auto;

    color:#53635a;

    font-size:15px;
    line-height:1.8;
}

.hero-buttons{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:12px;

    margin-top:25px;
}

.hero-note{
    margin-top:18px;

    font-size:12px;
    color:#738078;
}


/* ================================
   BUTTONS
================================ */

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-height:48px;
    padding:12px 20px;

    border-radius:var(--radius-button);

    font-size:14px;
    font-weight:700;

    border:2px solid transparent;

    cursor:pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.btn:hover{
    transform:translateY(-2px);
}

.btn-primary{
    background:var(--gradient-primary);
    color:#ffffff;

    box-shadow:
        0 8px 20px rgba(20,190,30,0.22);
}

.btn-outline{
    background:#ffffff;
    color:#087f18;

    border-color:#18bd25;
}

.btn-download{
    background:#07951c;
    color:#ffffff;

    box-shadow:
        0 8px 20px rgba(0,120,20,0.20);
}

.btn-telegram{
    background:#ffffff;
    color:#087f18;

    border-color:#28d91f;
}


/* ================================
   CONTENT CARDS
================================ */

.content-card{
    background:#ffffff;

    border:1px solid var(--border);
    border-radius:var(--radius-card);

    padding:25px 22px;
    margin-top:22px;

    box-shadow:
        0 7px 25px rgba(0,80,15,0.055);
}

.content-card h2{
    color:#075c15;

    font-size:23px;
    line-height:1.35;

    margin-bottom:15px;

    font-weight:800;
}

.content-card h3{
    color:#11751d;

    font-size:17px;

    margin-top:20px;
    margin-bottom:8px;

    font-weight:700;
}

.content-card p{
    font-size:14px;
    line-height:1.8;

    color:#59675f;

    margin-bottom:12px;
}

.content-card ul,
.content-card ol{
    padding-left:22px;
    margin:12px 0;
}

.content-card li{
    font-size:14px;
    line-height:1.8;

    margin-bottom:7px;
}

.content-card li::marker{
    color:#16b51c;
    font-weight:bold;
}


/* ================================
   SECTION HEADING
================================ */

.section-heading{
    display:flex;
    align-items:center;
    gap:10px;

    margin-bottom:16px;
}

.section-number{
    min-width:38px;
    height:38px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:var(--gradient-primary);

    color:#ffffff;

    border-radius:11px;

    font-size:13px;
    font-weight:800;

    box-shadow:
        0 5px 12px rgba(20,190,30,0.18);
}

.section-heading h2{
    margin:0;
}


/* ================================
   INFO BOX
================================ */

.info-box{
    margin:18px 0;

    padding:17px 18px;

    background:#efffe9;

    border-left:5px solid #18bd25;

    border-radius:12px;

    color:#35603d;

    font-size:14px;
    line-height:1.75;
}

.info-box strong{
    color:#087f18;
}


/* ================================
   FEATURE GRID
================================ */

.feature-grid{
    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:15px;

    margin-top:20px;
}

.feature-card{
    background:linear-gradient(
        135deg,
        #ffffff,
        #f2ffed
    );

    border:1px solid #d7ecd2;

    border-radius:17px;

    padding:18px;

    transition:0.25s ease;
}

.feature-card:hover{
    transform:translateY(-3px);

    border-color:#8cdd78;

    box-shadow:
        0 10px 22px rgba(0,100,15,0.08);
}

.feature-card h3{
    margin:0 0 7px;

    color:#087f18;

    font-size:16px;
}

.feature-card p{
    margin:0;

    font-size:13px;
}


/* ================================
   STEPS
================================ */

.steps-grid{
    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:15px;

    margin-top:20px;
}

.step-box{
    background:#ffffff;

    border:1px solid #d8ebd4;

    border-radius:17px;

    padding:18px;

    position:relative;
}

.step-box strong{
    display:inline-flex;

    width:34px;
    height:34px;

    align-items:center;
    justify-content:center;

    background:#28d91f;

    color:#ffffff;

    border-radius:50%;

    margin-bottom:10px;

    font-size:13px;
}

.step-box h3{
    margin:0 0 6px;

    color:#087f18;

    font-size:16px;
}

.step-box p{
    margin:0;

    font-size:13px;
}


/* ================================
   SCREENSHOT SECTION
================================ */

.screenshot-area{
    margin-top:22px;

    background:#f1ffe9;

    border:1px solid #d5ebcf;

    border-radius:22px;

    padding:20px;
}

.screenshot-grid{
    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:18px;

    margin-top:20px;
}

.screenshot-card{
    background:#ffffff;

    border:1px solid #dcebd9;

    border-radius:18px;

    padding:10px;

    text-align:center;

    overflow:hidden;

    box-shadow:
        0 6px 18px rgba(0,80,15,0.06);
}

.screenshot-card img{
    width:100%;
    height:auto;

    display:block;

    border-radius:13px;

    object-fit:cover;
}

.screenshot-card h3{
    margin:13px 5px 6px;

    font-size:15px;

    color:#087f18;
}

.screenshot-card p{
    margin:0 5px 8px;

    font-size:12px;

    color:#78847c;
    line-height:1.6;
}


/* ================================
   FAQ
================================ */

.faq-item{
    padding:17px 0;

    border-bottom:1px solid #e2eee0;
}

.faq-item:last-child{
    border-bottom:none;
}

.faq-item h3{
    margin:0 0 7px;

    color:#087f18;

    font-size:16px;
}

.faq-item p{
    margin:0;

    font-size:14px;
}


/* ================================
   FINAL BUTTONS
================================ */

.final-buttons{
    display:flex;
    flex-wrap:wrap;

    justify-content:center;

    gap:12px;

    margin-top:22px;
}


/* ================================
   BLOG
================================ */

.blog-grid{
    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:17px;

    margin-top:20px;
}

.blog-card{
    background:#ffffff;

    border:1px solid #dcebd9;

    border-radius:19px;

    padding:20px;

    box-shadow:
        0 6px 18px rgba(0,80,15,0.05);
}

.blog-card h3{
    margin:10px 0 8px;

    color:#087f18;

    font-size:17px;
}

.blog-card p{
    font-size:13px;
    line-height:1.7;
}

.blog-tag{
    display:inline-block;

    padding:5px 10px;

    background:#e7ffd9;

    color:#087f18;

    border-radius:20px;

    font-size:11px;
    font-weight:700;
}

.blog-link{
    display:inline-block;

    margin-top:8px;

    color:#07951c;

    font-size:13px;
    font-weight:700;
}


/* ================================
   ABOUT
================================ */

.about-highlight{
    background:linear-gradient(
        135deg,
        #087f18,
        #28d91f
    );

    color:#ffffff;

    padding:23px;

    border-radius:20px;

    margin-bottom:20px;

    box-shadow:
        0 10px 25px rgba(0,100,15,0.15);
}

.about-highlight h2{
    color:#ffffff;
    margin-bottom:8px;
}

.about-highlight p{
    color:#efffe9;
    margin:0;
}

.about-box{
    background:#f1ffe9;

    border:1px solid #d7ecd2;

    border-radius:17px;

    padding:18px;

    margin-top:16px;
}

.about-box h3{
    margin-top:0;
}

.about-list{
    margin:0;
    padding-left:20px;
}


/* ================================
   CONTACT
================================ */

.contact-grid{
    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:15px;

    margin-top:20px;
}

.contact-box{
    background:#ffffff;

    border:1px solid #dcebd9;

    border-radius:17px;

    padding:18px;
}

.contact-box h3{
    margin:0 0 7px;

    color:#087f18;

    font-size:16px;
}

.contact-box p{
    margin:0;

    font-size:13px;
}

.contact-list{
    padding-left:20px;
}


/* ================================
   TABLE
================================ */

.table-wrap{
    width:100%;

    overflow-x:auto;

    margin:18px 0;
}

table{
    width:100%;

    border-collapse:collapse;

    background:#ffffff;
}

th{
    background:#087f18;

    color:#ffffff;

    font-size:13px;

    padding:12px;

    text-align:left;
}

td{
    border:1px solid #dcebd9;

    padding:11px;

    font-size:13px;
    color:#59675f;
}


/* ================================
   CODE / NOTICE
================================ */

.notice{
    background:#fffde8;

    border:1px solid #eee5a8;

    color:#665d20;

    border-radius:14px;

    padding:15px 17px;

    font-size:13px;

    margin:18px 0;
}


/* ================================
   FOOTER
================================ */

.site-footer{
    margin-top:35px;

    background:#005f14;

    color:#dfffd8;

    border-top:3px solid #28d91f;
}

.footer-inner{
    max-width:1100px;

    margin:0 auto;

    padding:35px 18px 20px;

    display:grid;

    grid-template-columns:1.3fr 1fr;

    gap:30px;
}

.footer-brand h3{
    color:#ffffff;

    font-size:22px;

    margin-bottom:8px;
}

.footer-brand p{
    color:#c7eac1;

    font-size:13px;

    line-height:1.7;
}

.footer-links{
    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:7px 18px;
}

.footer-links a{
    color:#dfffd8;

    font-size:13px;

    transition:0.2s ease;
}

.footer-links a:hover{
    color:#8cff45;
}

.footer-bottom{
    max-width:1100px;

    margin:0 auto;

    padding:16px 18px;

    border-top:1px solid rgba(255,255,255,0.15);

    text-align:center;

    color:#b9ddb4;

    font-size:12px;
}


/* ================================
   MOBILE
================================ */

@media(max-width:700px){

    .page-container{
        padding:18px 12px 35px;
    }

    .site-header,
    .header-inner{
        height:70px;
    }

    .main-menu{
        top:70px;
    }

    .brand{
        font-size:19px;
    }

    .brand img{
        width:43px;
        height:43px;
    }

    .hero-section{
        margin-top:15px;

        padding:28px 17px;

        border-radius:23px;
    }

    .hero-logo{
        width:155px;
        height:155px;

        border-radius:30px;
    }

    .hero-section h1{
        font-size:25px;
    }

    .hero-text{
        font-size:14px;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .hero-buttons .btn{
        width:100%;
    }

    .content-card{
        padding:20px 17px;

        border-radius:19px;
    }

    .content-card h2{
        font-size:21px;
    }

    .feature-grid,
    .steps-grid,
    .blog-grid,
    .contact-grid{
        grid-template-columns:1fr;
    }

    .screenshot-grid{
        grid-template-columns:1fr;

        gap:16px;
    }

    .screenshot-card{
        padding:9px;
    }

    .final-buttons{
        flex-direction:column;
    }

    .final-buttons .btn{
        width:100%;
    }

    .footer-inner{
        grid-template-columns:1fr;

        padding:28px 16px 18px;

        gap:22px;
    }

    .footer-links{
        grid-template-columns:1fr 1fr;
    }
}


/* ================================
   SMALL MOBILE
================================ */

@media(max-width:400px){

    .hero-section h1{
        font-size:22px;
    }

    .hero-logo{
        display:block;
        width:155px;
        height:155px;
        margin:0 auto 22px;
    }

    .content-card{
        padding:18px 14px;
    }

    .section-number{
        min-width:34px;
        height:34px;
    }

    .footer-links{
        grid-template-columns:1fr;
    }
}