:root{
    --bg:#ffffff;
    --surface:#f5f5f7;
    --text:#111111;
    --muted:#666;
    --accent:#2563eb;
}

.dark{
    --bg:#0b0b0d;
    --surface:#17181c;
    --text:#f5f5f7;
    --muted:#b0b0b0;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    background:var(--bg);
    color:var(--text);
    font-family:-apple-system,BlinkMacSystemFont,
    "Segoe UI",sans-serif;
    transition:.3s;
}

.container{
    width:min(1100px,90%);
    margin:auto;
}

.navbar{
    position:sticky;
    top:0;
    z-index:1000;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:1rem 2rem;

    backdrop-filter:blur(20px);

    background:rgba(255,255,255,.7);
}

.dark .navbar{
    background:rgba(0,0,0,.6);
}

.navbar ul{
    display:flex;
    gap:1.5rem;
    list-style:none;
}

.navbar a{
    color:var(--text);
    text-decoration:none;
}

.hero{
    min-height:100vh;

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;

    background:
    linear-gradient(
        135deg,
        #4f46e5,
        #2563eb,
        #06b6d4
    );

    color:white;
}

.hero-content{
    animation:fadeIn 1.2s ease;
}

.hero h1{
    font-size:clamp(3rem,8vw,6rem);
}

.hero p{
    margin-top:1rem;
    font-size:1.2rem;
}

.btn{
    display:inline-block;
    margin-top:2rem;
    padding:14px 28px;
    border-radius:999px;

    background:white;
    color:black;

    text-decoration:none;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-3px);
}

.section{
    padding:100px 0;
}

h2{
    margin-bottom:30px;
    font-size:2.2rem;
}

.image-wrapper img{
    width:100%;
    max-width:800px;
    display:block;
    margin:auto;

    border-radius:24px;
    box-shadow:0 20px 60px rgba(0,0,0,.2);
}

.video-wrapper{
    max-width:900px;
    margin:auto;
}

video{
    width:100%;
    border-radius:20px;
}

.placeholder{
    display:none;

    min-height:300px;

    border:2px dashed #888;

    border-radius:20px;

    justify-content:center;
    align-items:center;

    text-align:center;

    background:var(--surface);
}

.cards{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(200px,1fr));

    gap:20px;
}

.card{
    background:var(--surface);

    padding:30px;

    border-radius:20px;

    transition:.3s;
}

.card:hover{
    transform:translateY(-5px);
}

footer{
    text-align:center;
    padding:50px 20px;
    background:var(--surface);
}

#theme-toggle{
    cursor:pointer;
    border:none;
    background:none;
    font-size:1.2rem;
}

@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(20px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

@media(max-width:768px){

    .navbar{
        flex-direction:column;
        gap:1rem;
    }

    .navbar ul{
        flex-wrap:wrap;
        justify-content:center;
    }

}