@charset "UTF-8";

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    background:#0f172a;
    color:#e2e8f0;
    line-height:1.8;
}

a{
    text-decoration:none;
    color:inherit;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

header{
    background:#111827;
    border-bottom:1px solid #1e293b;
    position:sticky;
    top:0;
    z-index:999;
}

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 0;
}

.logo{
    font-size:1.5rem;
    font-weight:bold;
    color:#60a5fa;
}

.menu{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.menu a{
    color:#cbd5e1;
    transition:0.3s;
}

.menu a:hover{
    color:#60a5fa;
}

.hero{
    padding:100px 0 80px;
}

.hero h1{
    font-size:4rem;
    margin-bottom:20px;
    color:#ffffff;
}

.hero h2{
    font-size:1.5rem;
    margin-bottom:20px;
    color:#60a5fa;
}

.hero p{
    max-width:900px;
    font-size:1.1rem;
    color:#cbd5e1;
}

.section{
    padding:70px 0;
}

.section h2{
    margin-bottom:30px;
    font-size:2rem;
    color:#ffffff;
}

.grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.card{
    background:#111827;
    border:1px solid #1e293b;
    border-radius:12px;
    padding:25px;
    transition:0.3s;
}

.card:hover{
    transform:translateY(-5px);
    border-color:#60a5fa;
}

.card h3{
    margin-bottom:15px;
    color:#ffffff;
}

.card p{
    color:#cbd5e1;
    margin-bottom:20px;
}

.btn{
    display:inline-block;
    background:#2563eb;
    color:white;
    padding:12px 20px;
    border-radius:8px;
    transition:0.3s;
    font-weight:bold;
}

.btn:hover{
    background:#1d4ed8;
}

.article{
    padding:80px 0;
}

.article h1{
    margin-bottom:30px;
    font-size:3rem;
}

.article h2{
    margin-top:40px;
    margin-bottom:20px;
    color:#60a5fa;
}

.article p{
    margin-bottom:20px;
    color:#cbd5e1;
}

.article pre{
    background:#020617;
    padding:20px;
    border-radius:10px;
    overflow:auto;
    margin-bottom:20px;
    border:1px solid #1e293b;
    color:#93c5fd;
}

.book{
    display:flex;
    gap:30px;
    align-items:flex-start;
    background:#111827;
    padding:25px;
    border-radius:12px;
    border:1px solid #1e293b;
    margin-bottom:30px;
}

.book img{
    width:180px;
    border-radius:8px;
}

footer{
    margin-top:80px;
    padding:40px 0;
    text-align:center;
    border-top:1px solid #1e293b;
    color:#94a3b8;
}

.buttons{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
    margin-top:40px;
}

@media(max-width:900px){

    .grid{
        grid-template-columns:1fr;
    }

    .hero h1{
        font-size:2.5rem;
    }

    .book{
        flex-direction:column;
    }

    nav{
        flex-direction:column;
        gap:20px;
    }
}
