*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    scroll-padding-top:85px;
}

body{
    margin:0;
    font-family:Arial,Helvetica,sans-serif;
    background:#f5f8f5;
    color:#263b2d;
    line-height:1.7;
}


/* =========================
   HEADER
========================= */

.header{
    position:sticky;
    top:0;
    z-index:999;
    background:#ffffff;
    border-bottom:1px solid #e2ebe3;
    box-shadow:0 2px 12px rgba(0,60,15,.05);
}

.header-inner{
    max-width:1250px;
    margin:auto;
    height:75px;
    padding:0 20px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    font-size:25px;
    font-weight:800;
    color:#064914;
}

.logo img{
    width:48px;
    height:48px;
    object-fit:contain;
    border-radius:10px;
}

nav{
    display:flex;
    gap:28px;
}

nav a{
    text-decoration:none;
    color:#405846;
    font-weight:600;
    transition:.2s ease;
}

nav a:hover{
    color:#168b22;
}

.menu-btn{
    display:none;
    background:none;
    border:0;
    font-size:27px;
    color:#064914;
    cursor:pointer;
}


/* =========================
   HERO
========================= */

.hero{
    padding:70px 20px 80px;
    text-align:center;
    color:white;

    background:
    radial-gradient(
        circle at 50% 25%,
        #185d27 0%,
        #073f16 42%,
        #02180a 100%
    );

    border-bottom:4px solid #2b9b32;
}

.hero-content{
    max-width:950px;
    margin:auto;
}

.hero-logo{
    width:125px;
    height:125px;
    object-fit:contain;
    background:#ffffff;
    border-radius:28px;
    padding:8px;
    margin-bottom:22px;
    box-shadow:
        0 15px 40px rgba(0,0,0,.28),
        0 0 0 5px rgba(255,255,255,.08);
}

.hero h1{
    font-size:48px;
    line-height:1.2;
    margin:10px 0 20px;

    background:linear-gradient(
        90deg,
        #ffffff,
        #b9f5b5
    );

    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}

.hero p{
    font-size:18px;
    max-width:800px;
    margin:0 auto 32px;
    color:#dceedd;
}


/* =========================
   HERO BUTTONS
========================= */

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:14px;
    flex-wrap:wrap;
}

.primary-btn,
.secondary-btn,
.telegram-btn{
    display:inline-block;
    padding:15px 27px;
    border-radius:11px;
    text-decoration:none;
    font-weight:700;
    transition:.25s ease;
}

.primary-btn{
    background:linear-gradient(
        135deg,
        #159c27,
        #087217
    );
    color:#ffffff;
    box-shadow:0 8px 20px rgba(0,110,20,.25);
}

.primary-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 28px rgba(0,110,20,.35);
}

.secondary-btn{
    border:1px solid #4ca957;
    color:#ffffff;
    background:rgba(255,255,255,.06);
}

.secondary-btn:hover{
    background:#ffffff;
    color:#087217;
    transform:translateY(-3px);
}

.telegram-btn{
    background:#168fd1;
    color:#ffffff;
    box-shadow:0 8px 20px rgba(22,143,209,.22);
}

.telegram-btn:hover{
    background:#087bbd;
    transform:translateY(-3px);
}


/* =========================
   MAIN CONTAINER
========================= */

.container{
    max-width:1250px;
    margin:auto;
    padding:40px 18px;
}


/* =========================
   CARDS
========================= */

.card{
    background:#ffffff;
    border:1px solid #dce9de;
    border-radius:18px;
    padding:32px;
    margin-bottom:28px;

    box-shadow:
        0 4px 18px rgba(20,70,30,.055);
}

.card h2{
    font-size:30px;
    color:#064914;
    margin:0 0 22px;
    padding-bottom:13px;
    border-bottom:2px solid #edf4ee;
}

.card p,
.card li{
    font-size:17px;
    color:#405846;
}


/* =========================
   TABLE OF CONTENTS
========================= */

.toc{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:4px 30px;
}

.toc a{
    text-decoration:none;
    color:#356341;
    font-size:16px;
    padding:7px 0;
    transition:.2s ease;
}

.toc a:hover{
    color:#159c27;
    padding-left:5px;
}


/* =========================
   INVITE CODE
========================= */

.invite-box{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;

    padding:22px 25px;

    border:1px dashed #32a23b;
    border-radius:15px;

    background:
        linear-gradient(
            135deg,
            #f1faf2,
            #f9fdf9
        );
}

.invite-box span{
    display:block;
    font-size:12px;
    color:#64806a;
    font-weight:bold;
    letter-spacing:.5px;
}

.invite-box strong{
    display:block;
    font-size:29px;
    letter-spacing:3px;
    color:#087217;
}

.invite-box button{
    border:0;
    background:linear-gradient(
        135deg,
        #159c27,
        #087217
    );

    color:#ffffff;
    padding:12px 23px;
    border-radius:9px;

    font-weight:bold;
    cursor:pointer;
    transition:.2s ease;
}

.invite-box button:hover{
    transform:translateY(-2px);
    box-shadow:0 7px 15px rgba(0,110,20,.22);
}

.small-note{
    font-size:14px!important;
    color:#708774!important;
}


/* =========================
   DOWNLOAD BUTTON
========================= */

.download-btn{
    display:block;
    max-width:420px;
    margin:27px auto;

    padding:17px;

    text-align:center;
    text-decoration:none;

    color:white;
    font-weight:bold;
    font-size:18px;

    border-radius:12px;

    background:
        linear-gradient(
            100deg,
            #087217,
            #20a82d
        );

    box-shadow:
        0 9px 23px rgba(0,110,20,.24);

    transition:.25s ease;
}

.download-btn:hover{
    transform:translateY(-3px);
    box-shadow:
        0 13px 28px rgba(0,110,20,.32);
}


/* =========================
   APP INFO
========================= */

.app-info{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
    margin-top:25px;
}

.app-info div{
    padding:19px;
    background:#f7faf7;
    border:1px solid #dfebdf;
    border-radius:13px;
    text-align:center;
    transition:.2s ease;
}

.app-info div:hover{
    border-color:#9bcea0;
    transform:translateY(-2px);
}

.app-info span{
    display:block;
    font-size:11px;
    color:#738576;
    font-weight:600;
}

.app-info strong{
    font-size:16px;
    color:#174d22;
}


/* =========================
   FEATURES
========================= */

.features{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.feature{
    padding:25px;

    border:1px solid #dce9de;
    border-radius:15px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f8fbf8
        );

    transition:.25s ease;
}

.feature:hover{
    transform:translateY(-4px);
    border-color:#9dcc9f;

    box-shadow:
        0 10px 25px rgba(0,70,15,.08);
}

.feature-icon{
    font-size:31px;
}

.feature h3{
    color:#087217;
    margin:8px 0;
}


/* =========================
   TABLE
========================= */

table{
    width:100%;
    border-collapse:collapse;
    overflow:hidden;
}

th,
td{
    border:1px solid #dce9de;
    padding:15px;
    text-align:left;
}

th{
    background:#eff7f0;
    color:#174d22;
}

td{
    color:#405846;
}


/* =========================
   SCREENSHOTS
========================= */

.screenshots{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.screenshots div{
    border:1px solid #dce9de;
    border-radius:14px;
    overflow:hidden;
    text-align:center;
    background:#ffffff;
    transition:.25s ease;
}

.screenshots div:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 25px rgba(0,60,15,.08);
}

.screenshots img{
    width:100%;
    height:400px;
    object-fit:contain;
    background:#07130a;
    display:block;
}

.screenshots p{
    font-weight:bold;
    font-size:15px;
    color:#174d22!important;
}


/* =========================
   NOTICE / WARNING
========================= */

.notice,
.warning{
    padding:20px;
    border-radius:12px;

    background:#f1faf2;
    border-left:5px solid #159c27;
}

.warning{
    background:#fff8ed;
    border-left-color:#e69a32;
}


/* =========================
   FAQ
========================= */

details{
    border:1px solid #dce9de;
    border-radius:12px;
    margin:12px 0;
    padding:0 18px;
    background:#ffffff;
    transition:.2s ease;
}

details:hover{
    border-color:#9dcc9f;
}

summary{
    cursor:pointer;
    font-weight:bold;
    padding:17px 0;
    color:#174d22;
}

details p{
    padding-bottom:12px;
}


/* =========================
   FOOTER
========================= */

footer{
    background:
        radial-gradient(
            circle at top,
            #0b3514,
            #020a04 65%
        );

    color:#a9c5ad;
    padding:55px 20px 25px;
}

.footer-inner{
    max-width:1050px;
    margin:auto;

    display:grid;
    grid-template-columns:1.3fr 1fr 1fr;

    gap:50px;
}

footer h3{
    color:#ffffff;
}

footer a{
    display:block;
    color:#a9c5ad;
    text-decoration:none;
    margin:6px 0;
    transition:.2s ease;
}

footer a:hover{
    color:#65d96d;
    padding-left:4px;
}

.copyright{
    max-width:1050px;
    margin:35px auto 0;
    padding-top:22px;

    border-top:1px solid #23442a;

    text-align:center;
    color:#8fae94;
}


/* =========================
   MOBILE
========================= */

@media(max-width:760px){

    .header-inner{
        height:65px;
    }

    .logo{
        font-size:21px;
    }

    .logo img{
        width:40px;
        height:40px;
    }

    .menu-btn{
        display:block;
    }

    nav{
        display:none;

        position:absolute;
        left:0;
        right:0;
        top:65px;

        background:#ffffff;

        padding:12px 20px;

        flex-direction:column;
        gap:0;

        border-bottom:1px solid #dce9de;

        box-shadow:
            0 8px 20px rgba(0,50,10,.08);
    }

    nav.active{
        display:flex;
    }

    nav a{
        padding:11px 0;
        border-bottom:1px solid #f0f4f0;
    }

    nav a:last-child{
        border-bottom:0;
    }


    /* HERO */

    .hero{
        padding:48px 17px 58px;
    }

    .hero-logo{
        width:95px;
        height:95px;
        border-radius:22px;
    }

    .hero h1{
        font-size:34px;
    }

    .hero p{
        font-size:16px;
    }

    .hero-buttons{
        flex-direction:column;
        align-items:center;
    }

    .primary-btn,
    .secondary-btn,
    .telegram-btn{
        width:100%;
        max-width:340px;
        text-align:center;
    }


    /* CONTENT */

    .container{
        padding:25px 13px;
    }

    .card{
        padding:23px 17px;
        border-radius:15px;
    }

    .card h2{
        font-size:25px;
    }

    .card p,
    .card li{
        font-size:16px;
    }


    /* TOC */

    .toc{
        grid-template-columns:1fr;
    }


    /* INVITE */

    .invite-box{
        align-items:flex-start;
        flex-direction:column;
    }

    .invite-box strong{
        font-size:26px;
    }

    .invite-box button{
        width:100%;
    }


    /* GRID */

    .app-info,
    .features,
    .screenshots,
    .footer-inner{
        grid-template-columns:1fr;
    }


    /* SCREENSHOTS */

    .screenshots img{
        height:450px;
    }


    /* TABLE */

    table{
        display:block;
        overflow-x:auto;
        white-space:nowrap;
    }

}


/* =========================
   SMALL MOBILE
========================= */

@media(max-width:400px){

    .hero h1{
        font-size:29px;
    }

    .hero-logo{
        width:85px;
        height:85px;
    }

    .card{
        padding:20px 15px;
    }

    .invite-box strong{
        font-size:23px;
        letter-spacing:2px;
    }

}