/* style.css */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Segoe UI', sans-serif;
    background:#fffdf5;
    color:#0f172a;
    line-height:1.6;
}

/* NAVBAR */

.navbar{
    width:100%;
    padding:18px 20px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    position:sticky;
    top:0;
    z-index:1000;
    background:rgba(255,255,255,0.9);
    backdrop-filter:blur(12px);
    border-bottom:1px solid rgba(0,0,0,0.05);
}

.logo{
    width:70px;
}

.nav-links{
    display:flex;
    gap:18px;
}

.nav-links a{
    text-decoration:none;
    color:#0f172a;
    font-weight:600;
    font-size:0.95rem;
}

/* HERO */

.hero{
    min-height:100vh;
    padding-bottom:60px;
    background:
    linear-gradient(
        180deg,
        #fff7cc 0%,
        #fffdf5 100%
    );
}

.hero-content{
    width:100%;
    max-width:1200px;
    margin:auto;
    padding:40px 20px;
    display:flex;
    flex-direction:column;
    gap:40px;
    align-items:center;
}

.hero-text{
    width:100%;
    text-align:center;
}

.badge{
    display:inline-block;
    background:#facc15;
    color:#0f172a;
    padding:8px 14px;
    border-radius:999px;
    font-size:0.9rem;
    font-weight:700;
    margin-bottom:20px;
}

.hero-text h1{
    font-size:2.4rem;
    line-height:1.15;
    margin-bottom:20px;
}

.hero-text p{
    font-size:1rem;
    color:#334155;
    margin-bottom:30px;
}

/* NEWSLETTER */

.newsletter{
    width:100%;
    display:flex;
    flex-direction:column;
    gap:14px;
    margin-bottom:12px;
}

.newsletter input{
    width:100%;
    padding:16px;
    border-radius:16px;
    border:1px solid #dbe2ea;
    font-size:1rem;
    outline:none;
}

.newsletter input:focus{
    border-color:#facc15;
    box-shadow:0 0 0 4px rgba(250,204,21,0.2);
}

.newsletter button{
    border:none;
    background:#facc15;
    color:#0f172a;
    padding:16px;
    border-radius:16px;
    font-weight:700;
    font-size:1rem;
    cursor:pointer;
    transition:.2s;
}

.newsletter button:hover{
    background:#eab308;
}

.hero-text small{
    color:#64748b;
    font-size:0.9rem;
}

.hero-image{
    width:100%;
    display:flex;
    justify-content:center;
}

.hero-image img{
    width:240px;
    max-width:80%;
}

/* SECTIONS */

.section{
    padding:80px 20px;
}

.section-title{
    text-align:center;
    margin-bottom:40px;
}

.section-title span{
    color:#eab308;
    font-weight:700;
    font-size:0.9rem;
}

.section-title h2{
    margin-top:12px;
    font-size:2rem;
    line-height:1.2;
}

.cards{
    display:grid;
    grid-template-columns:1fr;
    gap:20px;
    max-width:1200px;
    margin:auto;
}

.card{
    background:#ffffff;
    padding:28px;
    border-radius:24px;
    border:1px solid #f1f5f9;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

.card h3{
    margin-bottom:14px;
    font-size:1.2rem;
}

.card p{
    color:#475569;
}

/* CTA */

.cta{
    padding:80px 20px;
}

.cta-content{
    max-width:900px;
    margin:auto;
    background:#0f172a;
    color:white;
    padding:40px 30px;
    border-radius:32px;
    text-align:center;
}

.cta-content h2{
    font-size:2rem;
    line-height:1.2;
    margin-bottom:18px;
}

.cta-content p{
    color:#cbd5e1;
    margin-bottom:28px;
}

.cta-button{
    display:inline-block;
    background:#facc15;
    color:#0f172a;
    padding:16px 28px;
    border-radius:16px;
    text-decoration:none;
    font-weight:700;
}

/* FOOTER */

.footer{
    padding:30px 20px;
    text-align:center;
    color:#64748b;
    font-size:0.95rem;
}

/* COOKIE */

.cookie-container{
    position:fixed;
    bottom:20px;
    left:20px;
    right:20px;
    background:#0f172a;
    color:#fff;
    padding:24px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.2);
    z-index:9999;
    display:none;
}

.cookie-title{
    font-size:1.1rem;
    font-weight:bold;
    margin-bottom:12px;
}

.cookie-text{
    font-size:0.95rem;
    line-height:1.6;
    color:#cbd5e1;
    margin-bottom:20px;
}

.cookie-link{
    color:#facc15;
    text-decoration:none;
}

.cookie-buttons{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.cookie-btn{
    border:none;
    padding:14px;
    border-radius:12px;
    cursor:pointer;
    font-weight:bold;
}

.accept-btn{
    background:#facc15;
    color:#0f172a;
}

.reject-btn{
    background:transparent;
    border:1px solid #334155;
    color:#fff;
}

/* DESKTOP */

@media(min-width:768px){

    .hero-content{
        flex-direction:row;
        justify-content:space-between;
    }

    .hero-text{
        width:50%;
        text-align:left;
    }

    .hero-text h1{
        font-size:4rem;
    }

    .hero-image{
        width:40%;
    }

    .hero-image img{
        width:420px;
    }

    .newsletter{
        flex-direction:row;
    }

    .newsletter input{
        flex:1;
    }

    .cards{
        grid-template-columns:
        repeat(3, 1fr);
    }

    .cookie-container{
        max-width:450px;
        right:auto;
    }

    .cookie-buttons{
        flex-direction:row;
    }

    .cookie-btn{
        flex:1;
    }
}