/* Google Font */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#08111f;
    color:white;
}

/* ---------------- NAVBAR ---------------- */

nav{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 70px;
    background:rgba(0,0,0,.5);
    backdrop-filter:blur(10px);
    z-index:1000;
}

.logo{
    display:flex;
    align-items:center;
    gap:10px;
}

.logo i{
    color:#38BDF8;
    font-size:35px;
}

.logo h2{
    font-size:28px;
}

nav ul{
    display:flex;
    list-style:none;
    gap:30px;
}

nav ul li a{
    color:white;
    text-decoration:none;
    transition:.3s;
}

nav ul li a:hover{
    color:#38BDF8;
}

/* ---------------- HERO ---------------- */

.hero{
    height:100vh;
    background:url("images/cyber.jpg") center/cover no-repeat;
}

.overlay{
    width:100%;
    height:100%;
    background:rgba(0,0,0,.65);

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;

    padding:100px 20px 20px;
}

.hero h1{
    font-size:55px;
    margin-bottom:20px;
}

.hero p{
    max-width:700px;
    font-size:18px;
    line-height:30px;
    margin-bottom:35px;
}

/* ---------------- BUTTONS ---------------- */

.buttons{
    display:flex;
    gap:20px;
}

.btn1,.btn2{
    text-decoration:none;
    padding:15px 35px;
    border-radius:50px;
    transition:.3s;
    font-weight:500;
}

.btn1{
    background:#2563EB;
    color:white;
}

.btn1:hover{
    background:#38BDF8;
    transform:translateY(-4px);
}

.btn2{
    border:2px solid white;
    color:white;
}

.btn2:hover{
    background:white;
    color:black;
}

/* ---------------- FEATURES ---------------- */

.features{
    padding:90px 10%;
    text-align:center;
}

.features h2{
    font-size:40px;
    margin-bottom:50px;
}

.cards{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
}

.card{
    width:300px;
    background:#111827;
    padding:30px;
    border-radius:15px;
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.card i{
    font-size:45px;
    color:#38BDF8;
    margin-bottom:20px;
}

.card h3{
    margin-bottom:15px;
}

/* ---------------- ANALYZER ---------------- */

.analyzer{
    background:#0f172a;
    padding:90px 10%;
    text-align:center;
}

.analyzer h2{
    font-size:40px;
}

.analyzer p{
    margin:20px 0;
}

textarea{
    width:90%;
    max-width:800px;
    height:220px;
    border:none;
    outline:none;
    border-radius:15px;
    padding:20px;
    font-size:16px;
    background:#1e293b;
    color:white;
}

#analyzeBtn{
    margin-top:25px;
    padding:15px 40px;
    background:#2563EB;
    color:white;
    border:none;
    border-radius:50px;
    cursor:pointer;
    font-size:18px;
    transition:.3s;
}

#analyzeBtn:hover{
    background:#38BDF8;
}

#result{
    margin-top:30px;
    font-size:22px;
    font-weight:bold;
}

/* ---------------- ABOUT ---------------- */

.about{
    padding:90px 10%;
    text-align:center;
}

.about h2{
    font-size:40px;
    margin-bottom:25px;
}

.about p{
    max-width:900px;
    margin:auto;
    line-height:30px;
}

/* ---------------- FOOTER ---------------- */

footer{
    background:#050b16;
    text-align:center;
    padding:35px;
}

footer h3{
    color:#38BDF8;
    margin-bottom:10px;
}

/* ---------------- RESPONSIVE ---------------- */

@media(max-width:768px){

nav{
    flex-direction:column;
    padding:20px;
}

nav ul{
    flex-wrap:wrap;
    justify-content:center;
    margin-top:15px;
    gap:15px;
}

.hero h1{
    font-size:38px;
}

.hero p{
    font-size:16px;
}

.buttons{
    flex-direction:column;
}

.cards{
    flex-direction:column;
    align-items:center;
}

.card{
    width:90%;
}

textarea{
    width:100%;
}

}