/*==================================================
    ALLKITPY WEBSITE
==================================================*/

:root{

    --primary:#4F46E5;
    --primary-dark:#3730A3;

    --secondary:#06B6D4;

    --bg:#F8FAFC;

    --white:#FFFFFF;

    --text:#111827;

    --text-light:#6B7280;

    --border:#E5E7EB;

    --shadow:0 15px 35px rgba(0,0,0,.08);

    --radius:16px;

    --transition:.35s ease;

}

/*==================================================
RESET
==================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{

    scroll-behavior:smooth;

}

body{

    font-family:
    Inter,
    Segoe UI,
    Arial,
    sans-serif;

    background:var(--bg);

    color:var(--text);

    line-height:1.7;

}

/*==================================================
COMMON
==================================================*/

.container{

    width:min(1200px,92%);

    margin:auto;

}

section{

    padding:90px 0;

}

h1{

    font-size:3.7rem;

    line-height:1.15;

    font-weight:800;

}

h2{

    text-align:center;

    font-size:2.4rem;

    margin-bottom:45px;

}

h3{

    margin-bottom:12px;

}

p{

    color:var(--text-light);

}

img{

    max-width:100%;

}

a{

    text-decoration:none;

}

pre{

    overflow:auto;

}

code{

    font-family:
    Consolas,
    monospace;

}

/*==================================================
  STUNNING SIMPLE HEADER (NO STRUCTURE CHANGE)
==================================================*/

.header{

    position:sticky;
    top:0;
    z-index:9999;

    padding:18px 0;

    background:rgba(255,255,255,0.6);
    backdrop-filter:blur(25px);

    border-bottom:1px solid rgba(0,0,0,0.06);

}

/* CENTER ALIGN LAYOUT */
.header-inner{

    width:min(1200px,92%);
    margin:auto;

    display:flex;
    align-items:center;
    justify-content:space-between;

}

/* ================= BRAND (BIG + STRONG) ================= */

.brand{

    display:flex;
    align-items:center;
    gap:14px;

    text-decoration:none;

}

.brand img{

    width:58px;
    height:58px;

    border-radius:14px;

    box-shadow:0 15px 30px rgba(0,0,0,0.18);

    transition:.3s;

}

.brand img:hover{

    transform:rotate(-5deg) scale(1.1);

}

.brand span{

    font-size:22px;
    font-weight:900;

    background:linear-gradient(135deg,#4F46E5,#06B6D4,#22C55E);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;

}

/* ================= NAV (KEEP SIMPLE BUT BIG) ================= */

.nav{

    display:flex;
    align-items:center;
    gap:18px;

    padding:19px 25px;

    border-radius:999px;

    background:rgba(255,255,255,0.75);

    box-shadow:0 12px 35px rgba(0,0,0,0.08);

}

/* NAV ITEMS BIGGER + CLEAN */
.nav-item{

    padding:12px 18px;

    font-size:25px;
    font-weight:1000;

    color:#3179de;

    text-decoration:none;

    border-radius:999px;

    transition:.3s;

}

/* HOVER BIG IMPACT */
.nav-item:hover{

    background:linear-gradient(135deg,#4F46E5,#06B6D4);

    color:white;

    transform:translateY(-3px) scale(1.08);

    box-shadow:0 15px 35px rgba(79,70,229,0.35);

}

/* ================= MENU BUTTON (BIG + CLEAN) ================= */

.menu-btn{

    font-size:30px;

    border:black;
    background:none;

    cursor:pointer;

    padding:10px 14px;

    border-radius:12px;

    transition:.3s;

}

.menu-btn:hover{

    background:rgba(0,0,0,0.05);

    transform:scale(1.1);

}

/* ================= MOBILE ================= */

@media(max-width:900px){

    .nav{

        display:none;

        position:absolute;

        top:85px;
        left:5%;
        right:5%;

        flex-direction:column;

        padding:18px;

        border-radius:18px;

    }

    .nav.active{
        display:flex;
    }

}
/*==================================================
LOGO
==================================================*/

.logo-section{

    padding:10px 0 10px;

    text-align:center;

}

.main-logo{

    width:70%;

}

/*==================================================
HERO
==================================================*/

.hero{

    text-align:center;

    padding-top:40px;

}

.hero h1{

    margin-bottom:25px;

}

.hero p{

    max-width:900px;

    margin:auto;

    font-size:1.15rem;

}

.inline-icon{

    width:26px;

    vertical-align:middle;

    margin-right:10px;

}

.hero-buttons{

    margin-top:45px;

    display:flex;

    justify-content:center;

    gap:18px;

    flex-wrap:wrap;

}

/*==================================================
BUTTONS
==================================================*/

.btn{

    padding:15px 32px;

    border-radius:50px;

    border:2px solid var(--primary);

    color:var(--primary);

    transition:var(--transition);

    font-weight:700;

}

.btn:hover{

    transform:translateY(-3px);

}

.primary{

    background:var(--primary);

    color:white;

}

.primary:hover{

    background:var(--primary-dark);

}

/*==================================================
CODE PREVIEW
==================================================*/

.code-preview{

    margin-top:70px;

}

.code-preview pre{

    background:#0F172A;

    color:#E2E8F0;

    border-radius:18px;

    padding:35px;

    text-align:left;

    box-shadow:var(--shadow);

    font-size:15px;

    overflow-x:auto;

}

/*==================================================
GENERAL CARDS
==================================================*/

.card{

    background:white;

    padding:30px;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    transition:.3s;

}

.card:hover{

    transform:translateY(-10px);

}
/*==================================================
STATISTICS
==================================================*/

.stats{

    background:#ffffff;

}

.stats-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

    margin-top:40px;

}

.stats-grid div{

    background:#fff;

    padding:35px;

    border-radius:18px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:var(--transition);

    border:1px solid var(--border);

}

.stats-grid div:hover{

    transform:translateY(-8px);

    border-color:var(--primary);

}

.stats-grid h3{

    font-size:2.3rem;

    color:var(--primary);

    margin-bottom:10px;

}

.stats-grid p{

    font-weight:600;

    color:var(--text);

}

/*==================================================
WHY ALLKITPY
==================================================*/

.features{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));

    gap:30px;

    margin-top:45px;

}

.features .card{

    text-align:center;

    border:1px solid var(--border);

}

.features .card h3{

    color:var(--primary);

    font-size:1.35rem;

}

.features .card p{

    margin-top:15px;

}

/*==================================================
POPULAR MODULES
==================================================*/

.module-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

    gap:25px;

    margin-top:45px;

}

.module-grid .card{

    text-align:center;

    font-size:1.2rem;

    font-weight:700;

    cursor:pointer;

    border:1px solid var(--border);

    transition:var(--transition);

}

.module-grid .card:hover{

    background:var(--primary);

    color:white;

    transform:translateY(-8px);

}

/*==================================================
INSTALLATION
==================================================*/

#installation{

    background:#F1F5F9;

}

#installation pre{

    background:#0F172A;

    color:#22C55E;

    border-radius:18px;

    padding:30px;

    font-size:18px;

    box-shadow:var(--shadow);

    overflow-x:auto;

}

/*==================================================
QUICK EXAMPLE
==================================================*/

#examples pre{

    background:#111827;

    color:#F8FAFC;

    border-radius:18px;

    padding:35px;

    font-size:15px;

    line-height:1.8;

    box-shadow:var(--shadow);

    overflow-x:auto;

}

/*==================================================
SECTION TITLES
==================================================*/

section h2{

    position:relative;

    display:inline-block;

    left:50%;

    transform:translateX(-50%);

    padding-bottom:15px;

}

section h2::after{

    content:"";

    position:absolute;

    left:50%;

    bottom:0;

    width:80px;

    height:4px;

    transform:translateX(-50%);

    background:var(--primary);

    border-radius:10px;

}

/*==================================================
SECTION BACKGROUNDS
==================================================*/

#modules{

    background:#ffffff;

}

#examples{

    background:#F8FAFC;

}

/*==================================================
HOVER EFFECTS
==================================================*/

.card{

    transition:
    transform .35s,
    box-shadow .35s;

}

.card:hover{

    box-shadow:
    0 18px 40px rgba(0,0,0,.12);

}

/*==================================================
SMOOTH FADE
==================================================*/

.hero,
.stats,
.features,
.module-grid,
#installation,
#examples{

    animation:fadeUp .8s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(35px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*==================================================
SCROLLBAR
==================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:20px;

}

::-webkit-scrollbar-track{

    background:#E5E7EB;

}
/*==================================================
DOCUMENTATION
==================================================*/

#docs{

    background:#ffffff;

}

.doc-links{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:25px;

    margin-top:50px;

}

.doc-links a{

    display:block;

    padding:22px;

    text-align:center;

    background:#fff;

    color:var(--text);

    font-weight:700;

    border-radius:16px;

    border:1px solid var(--border);

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.doc-links a:hover{

    background:var(--primary);

    color:#fff;

    transform:translateY(-8px);

}

/*==================================================
ROADMAP
==================================================*/

#roadmap{

    background:#F8FAFC;

}

#roadmap ul{

    list-style:none;

    max-width:900px;

    margin:50px auto 0;

}

#roadmap li{

    background:#fff;

    margin-bottom:20px;

    padding:22px 28px;

    border-left:6px solid var(--primary);

    border-radius:14px;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

#roadmap li:hover{

    transform:translateX(8px);

}

/*==================================================
COMMUNITY
==================================================*/

section:last-of-type{

    text-align:center;

}

section:last-of-type p{

    margin-top:25px;

    font-size:1.1rem;

}

/*==================================================
FOOTER
==================================================*/

footer{

    background:#0F172A;

    color:#E5E7EB;

    padding:50px 20px;

    text-align:center;

}

footer p{

    color:#CBD5E1;

    line-height:2;

}

/*==================================================
LINK ANIMATION
==================================================*/

a{

    transition:var(--transition);

}

a:hover{

    opacity:.95;

}

/*==================================================
IMAGE EFFECTS
==================================================*/

.main-logo{

    transition:transform .4s ease;

}

.main-logo:hover{

    transform:scale(1.05);

}

.inline-icon{

    transition:transform .3s ease;

}

.inline-icon:hover{

    transform:rotate(20deg);

}

/*==================================================
BUTTON EFFECT
==================================================*/

.btn{

    position:relative;

    overflow:hidden;

}

.btn::before{

    content:"";

    position:absolute;

    top:0;

    left:-120%;

    width:100%;

    height:100%;

    background:rgba(255,255,255,.25);

    transition:.6s;

}

.btn:hover::before{

    left:120%;

}

/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:1100px){

    h1{

        font-size:3rem;

    }

}

@media(max-width:900px){

    nav{

        display:none;

        position:absolute;

        top:80px;

        right:20px;

        width:260px;

        background:#fff;

        border-radius:16px;

        box-shadow:0 15px 40px rgba(0,0,0,.12);

        padding:20px;

        flex-direction:column;

        gap:20px;

    }

    nav.active{

        display:flex;

    }

    .menu-btn{

        display:block;

    }

    .stats-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:700px){

    h1{

        font-size:2.3rem;

    }

    h2{

        font-size:1.9rem;

    }

    .hero-buttons{

        flex-direction:column;

        align-items:center;

    }

    .btn{

        width:260px;

        text-align:center;

    }

    .stats-grid{

        grid-template-columns:1fr;

    }

    .features{

        grid-template-columns:1fr;

    }

    .module-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .doc-links{

        grid-template-columns:1fr;

    }

    .main-logo{

        width:200px;

    }

}

@media(max-width:480px){

    section{

        padding:70px 0;

    }

    .module-grid{

        grid-template-columns:1fr;

    }

    .container{

        width:94%;

    }

    .code-preview pre,
    #examples pre,
    #installation pre{

        font-size:13px;

        padding:22px;

    }

}

/*==================================================
SELECTION
==================================================*/

::selection{

    background:var(--primary);

    color:#fff;

}

/*==================================================
FOCUS
==================================================*/

button:focus,
a:focus{

    outline:3px solid rgba(79,70,229,.3);

    outline-offset:3px;

}






















/* JavaScript Animation Classes */

.hidden{

    opacity:0;

    transform:translateY(40px);

    transition:all .8s ease;

}

.show{

    opacity:1;

    transform:translateY(0);

}

nav a.active{

    color:var(--primary);

}

.btn{

    position:relative;

    overflow:hidden;

}

.ripple{

    position:absolute;

    border-radius:50%;

    background:rgba(255,255,255,.35);

    transform:scale(0);

    animation:ripple .6s linear;

    pointer-events:none;

}

@keyframes ripple{

    to{

        transform:scale(4);

        opacity:0;

    }

}