*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial;
    background:#f5f7fb;
    color:#111827;
}

/* HEADER */

.header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 8%;
    background:white;
    position:sticky;
    top:0;
    z-index:100;
}

.logo{
    font-size:28px;
    font-weight:bold;
    color:#5b21b6;
}

nav{
    display:flex;
    gap:25px;
}

nav a{
    text-decoration:none;
    color:#111827;
    font-weight:600;
}

/* HERO */

.hero{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:70px 8%;
    gap:50px;
}

.hero-left{
    flex:1;
}

.hero-right{
    flex:1;
}

.hero-right img{
    width:100%;
    border-radius:20px;
}

.tag{
    background:#ede9fe;
    color:#5b21b6;
    padding:10px 18px;
    border-radius:30px;
    font-size:14px;
    font-weight:bold;
}

.hero h1{
    margin-top:25px;
    font-size:60px;
    line-height:1.2;
}

.hero p{
    margin-top:20px;
    font-size:18px;
    color:#4b5563;
    line-height:1.8;
}

.hero-buttons{
    margin-top:30px;
    display:flex;
    gap:15px;
}

.btn-primary{
    background:#5b21b6;
    color:white;
    border:none;
    padding:15px 25px;
    border-radius:10px;
    cursor:pointer;
}

.btn-secondary{
    background:white;
    border:1px solid #ddd;
    padding:15px 25px;
    border-radius:10px;
    cursor:pointer;
}

/* SECTION */

.section{
    padding:80px 8%;
}

.section h2{
    font-size:40px;
    margin-bottom:40px;
    text-align:center;
}

.card-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.card{
    background:white;
    padding:30px;
    border-radius:20px;
    box-shadow:0 5px 15px rgba(0,0,0,0.05);
}

.card h3{
    margin-bottom:15px;
}

.card p{
    color:#6b7280;
    line-height:1.7;
}

.dark{
    background:#0f172a;
    color:white;
}

.dark-card{
    background:#111827;
    color:white;
}

/* FOOTER */

.footer{
    background:#111827;
    color:white;
    text-align:center;
    padding:30px;
}

/* MOBILE */

@media(max-width:768px){

    .header{
        flex-direction:column;
        gap:20px;
    }

    nav{
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero{
        flex-direction:column;
        padding-top:40px;
    }

    .hero h1{
        font-size:38px;
    }

    .hero-buttons{
        flex-direction:column;
    }

}