:root{
    --primary:#3b82f6;
    --secondary:#8b5cf6;
    --dark:#0f172a;
    --card-bg:rgba(255,255,255,0.08);
    --text:#ffffff;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Segoe UI, sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:linear-gradient(
        135deg,
        #0f172a,
        #1e293b,
        #111827
    );

    color:white;
    overflow-x:hidden;
    min-height:100vh;
}

/* Animated Blobs */

.blob{
    position:fixed;
    border-radius:50%;
    filter:blur(120px);
    opacity:.3;
    z-index:-1;
}

.blob1{
    width:300px;
    height:300px;
    background:#3b82f6;
    top:0;
    left:0;
    animation:float 10s infinite alternate;
}

.blob2{
    width:350px;
    height:350px;
    background:#8b5cf6;
    right:0;
    bottom:0;
    animation:float 12s infinite alternate;
}

@keyframes float{
    from{
        transform:translateY(0);
    }
    to{
        transform:translateY(80px);
    }
}

/* Navbar */

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:20px 70px;

    backdrop-filter:blur(10px);

    background:rgba(255,255,255,.05);

    border-bottom:1px solid rgba(255,255,255,.1);
}

.logo{
    font-size:28px;
    font-weight:bold;
}

.logo i{
    color:var(--primary);
    margin-right:10px;
}

.nav-links a{
    text-decoration:none;
    color:white;
    margin-left:25px;
    position:relative;
}

.nav-links a::after{
    content:"";
    position:absolute;
    width:0;
    height:2px;
    left:0;
    bottom:-5px;
    background:var(--primary);
    transition:.4s;
}

.nav-links a:hover::after{
    width:100%;
}

.register-btn{
    background:var(--primary);
    padding:10px 18px;
    border-radius:8px;
}

/* Hero */

.hero{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:100px 10%;
    gap:50px;
}

.hero-content{
    flex:1;
}

.hero h1{
    font-size:4rem;
    line-height:1.2;
}

.hero h1 span{
    background:linear-gradient(
        90deg,
        #3b82f6,
        #8b5cf6
    );

    -webkit-background-clip:text;
    color:transparent;
}

.hero p{
    margin-top:20px;
    color:#d1d5db;
    line-height:1.7;
    font-size:18px;
}

.hero-buttons{
    margin-top:30px;
}

.btn{
    display:inline-block;
    text-decoration:none;
    color:white;
    padding:14px 28px;
    border-radius:30px;
    margin-right:15px;
    transition:.4s;
}

.primary-btn{
    background:linear-gradient(
        90deg,
        #3b82f6,
        #8b5cf6
    );
}

.secondary-btn{
    border:1px solid white;
}

.btn:hover{
    transform:translateY(-5px);

    box-shadow:
        0 0 20px #3b82f6;
}

/* Dashboard Mockup */

.hero-image{
    flex:1;
    display:flex;
    justify-content:center;
}

.dashboard-card{

    width:350px;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(15px);

    padding:30px;

    border-radius:20px;

    border:1px solid rgba(255,255,255,.1);

    animation:cardFloat 4s infinite ease-in-out;
}

@keyframes cardFloat{
    50%{
        transform:translateY(-15px);
    }
}

.card-header{
    font-size:24px;
    margin-bottom:25px;
}

.status{
    padding:15px;
    border-radius:10px;
    margin-bottom:15px;
}

.safe{
    background:#16a34a;
}

.suspicious{
    background:#ca8a04;
}

.danger{
    background:#dc2626;
}

/* Features */

.features{
    padding:100px 10%;
    text-align:center;
}

.features h2{
    font-size:2.5rem;
    margin-bottom:50px;
}

.feature-container{
    display:flex;
    gap:25px;
    justify-content:center;
    flex-wrap:wrap;
}

.card{

    width:320px;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(15px);

    padding:30px;

    border-radius:20px;

    border:1px solid rgba(255,255,255,.1);

    transition:.4s;
}

.card i{
    font-size:40px;
    color:#60a5fa;
    margin-bottom:20px;
}

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

.card:hover{
    transform:translateY(-10px);

    box-shadow:
        0 0 25px rgba(59,130,246,.5);
}

/* Footer */

footer{
    text-align:center;
    padding:30px;
    border-top:1px solid rgba(255,255,255,.1);
}

/* Responsive */

@media(max-width:900px){

    .hero{
        flex-direction:column;
        text-align:center;
    }

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

    .navbar{
        padding:20px;
    }
}

/* =========================
   HOW IT WORKS SECTION
========================= */

.how-it-works{
    padding:100px 10%;
    text-align:center;
}

.how-it-works h2{
    font-size:2.5rem;
    margin-bottom:20px;
}

.steps{
    display:flex;
    gap:25px;
    justify-content:center;
    flex-wrap:wrap;
    margin-top:50px;
}

.step{
    width:250px;
    padding:25px;
    border-radius:20px;
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(15px);
    border:1px solid rgba(255,255,255,.1);
    transition:.4s;
}

.step:hover{
    transform:translateY(-10px);
    box-shadow:0 0 25px rgba(59,130,246,.4);
}

.step span{
    width:55px;
    height:55px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:auto;
    border-radius:50%;
    background:linear-gradient(
        90deg,
        #3b82f6,
        #8b5cf6
    );
    font-size:20px;
    font-weight:bold;
    margin-bottom:20px;
}

.step h3{
    margin-bottom:12px;
}

.step p{
    color:#d1d5db;
    line-height:1.6;
}


/* =========================
   STATS SECTION
========================= */

.stats-section{
    padding:80px 10%;
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
}

.stat-box{
    width:250px;
    text-align:center;
    padding:30px;
    border-radius:20px;
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(15px);
    border:1px solid rgba(255,255,255,.1);
    transition:.4s;
}

.stat-box:hover{
    transform:translateY(-10px);
    box-shadow:0 0 25px rgba(59,130,246,.4);
}

.stat-box h2{
    font-size:3rem;
    color:#60a5fa;
    margin-bottom:10px;
}

.stat-box p{
    color:#d1d5db;
}


/* =========================
   CTA SECTION
========================= */

.cta{
    padding:100px 10%;
    text-align:center;
}

.cta h2{
    font-size:3rem;
    margin-bottom:20px;
}

.cta p{
    color:#d1d5db;
    margin-bottom:30px;
    font-size:18px;
}

.cta .btn{
    background:linear-gradient(
        90deg,
        #3b82f6,
        #8b5cf6
    );
}


/* =========================
   MOBILE RESPONSIVE
========================= */

@media(max-width:768px){

    .how-it-works h2,
    .features h2,
    .cta h2{
        font-size:2rem;
    }

    .step,
    .stat-box{
        width:100%;
        max-width:350px;
    }
}