*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#050816;
    color:white;
    overflow-x:hidden;
}

/* =========================
   LOADER
========================= */

#loader{
    position:fixed;
    width:100%;
    height:100vh;
    background:#050816;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

#loader h1{
    color:#00f7ff;
    margin-bottom:20px;
}

.loader-bar{
    width:300px;
    height:10px;
    background:#111;
    border-radius:50px;
    overflow:hidden;
    margin-top:20px;
}

.loader-progress{
    width:0%;
    height:100%;
    background:linear-gradient(90deg,#00f7ff,#8a2be2);
    animation:loading 3s linear forwards;
}

@keyframes loading{
    100%{
        width:100%;
    }
}

/* =========================
   BACKGROUND
========================= */

.bg-animation{
    position:fixed;
    width:100%;
    height:100%;
    top:0;
    left:0;
    z-index:-1;

    background:
    radial-gradient(circle at 20% 20%, rgba(0,247,255,.15), transparent 25%),
    radial-gradient(circle at 80% 30%, rgba(138,43,226,.15), transparent 25%),
    radial-gradient(circle at 50% 80%, rgba(0,247,255,.10), transparent 30%);
}

/* =========================
   NAVBAR
========================= */

.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    padding:20px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    backdrop-filter:blur(15px);
    background:rgba(255,255,255,.04);
    border-bottom:1px solid rgba(255,255,255,.08);
    z-index:1000;
}

.logo{
    font-size:24px;
    font-weight:700;
    color:#00f7ff;
}

.nav-links{
    display:flex;
    list-style:none;
    gap:30px;
}

.nav-links a{
    text-decoration:none;
    color:white;
    transition:.3s;
}

.nav-links a:hover{
    color:#00f7ff;
}

.menu-btn{
    display:none;
    font-size:28px;
    cursor:pointer;
}

/* =========================
   HERO
========================= */

.hero{
    min-height:100vh;
    padding:140px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:50px;
}

.hero-content{
    flex:1;
}

.hero-content h1{
    font-size:60px;
    line-height:1.2;
    margin-bottom:20px;
}

.hero-content p{
    color:#cfcfcf;
    line-height:1.8;
    margin-bottom:30px;
}

.hero-buttons{
    display:flex;
    gap:20px;
}

.primary-btn,
.secondary-btn{
    padding:15px 30px;
    border:none;
    border-radius:50px;
    cursor:pointer;
    transition:.4s;
}

.primary-btn{
    background:#00f7ff;
    color:black;
    box-shadow:0 0 20px #00f7ff;
}

.secondary-btn{
    background:transparent;
    border:2px solid #8a2be2;
    color:white;
}

.primary-btn:hover,
.secondary-btn:hover{
    transform:translateY(-5px);
}

.hero-panel{
    width:320px;
    padding:40px;
    text-align:center;
    border-radius:20px;
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(20px);
}

.danger{
    color:#ff3b5c;
    font-size:60px;
    margin:15px 0;
}

#clock{
    color:#00f7ff;
    font-size:24px;
}

/* =========================
   STATS
========================= */

.stats{
    padding:80px 8%;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.stat-card{
    background:rgba(255,255,255,.05);
    padding:35px;
    border-radius:20px;
    text-align:center;
    transition:.4s;
}

.stat-card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 25px rgba(0,247,255,.3);
}

.stat-card h2{
    color:#00f7ff;
    font-size:38px;
    margin-bottom:10px;
}

/* =========================
   ALERTS
========================= */

.alerts,
.logs,
.scanner,
.developer,
.terminal-section,
.world-map{
    padding:120px 8%;
}

.alerts h1,
.logs h1,
.scanner h1,
.developer h1,
.terminal-section h1,
.world-map h1{
    text-align:center;
    margin-bottom:50px;
    font-size:45px;
}

.alerts-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.alert-card{
    padding:30px;
    border-radius:20px;
}

.high{
    background:rgba(255,0,0,.15);
}

.medium{
    background:rgba(255,165,0,.15);
}

.low{
    background:rgba(0,255,100,.15);
}

/* =========================
   TERMINAL
========================= */

.terminal{
    background:black;
    padding:30px;
    border-radius:20px;
    color:#00ff88;
    min-height:200px;
    font-family:monospace;
    border:1px solid #00ff88;
}

/* =========================
   MAP
========================= */

.country{
    margin-bottom:25px;
}

.country span{
    display:block;
    margin-bottom:8px;
}

.bar{
    height:20px;
    border-radius:50px;
    background:linear-gradient(90deg,#00f7ff,#8a2be2);
}

.india{width:90%;}
.usa{width:70%;}
.china{width:95%;}
.germany{width:45%;}
.japan{width:60%;}

/* =========================
   LOGS
========================= */

.log-container{
    background:rgba(0,0,0,.5);
    border-radius:20px;
    padding:30px;
}

.log-entry{
    padding:12px;
    color:#00ff88;
    border-bottom:1px solid rgba(255,255,255,.08);
}

/* =========================
   SCANNER
========================= */

#scanBtn{
    padding:15px 40px;
    border:none;
    border-radius:50px;
    background:#8a2be2;
    color:white;
    cursor:pointer;
}

.progress-wrapper{
    width:70%;
    height:25px;
    margin:40px auto;
    background:#111;
    border-radius:50px;
    overflow:hidden;
}

.progress-bar{
    width:0%;
    height:100%;
    background:linear-gradient(90deg,#00f7ff,#8a2be2);
}

#scanResult{
    margin-top:20px;
    color:#00ff88;
    font-size:22px;
}

/* =========================
   DEVELOPER
========================= */

.developer-card{
    max-width:500px;
    margin:auto;
    text-align:center;
    padding:40px;
    background:rgba(255,255,255,.05);
    border-radius:20px;
}
.developer-icon{
    font-size:70px;
    margin-bottom:20px;
    text-shadow:0 0 20px #00f7ff;
}

 

/* =========================
   FOOTER
========================= */

footer{
    text-align:center;
    padding:40px;
    border-top:1px solid rgba(255,255,255,.08);
}

/* =========================
   MOBILE MENU
========================= */

@media(max-width:900px){

    .menu-btn{
        display:block;
    }

    .nav-links{
        position:absolute;
        top:80px;
        right:-100%;
        width:250px;
        flex-direction:column;
        background:#0b1025;
        padding:30px;
        transition:.4s;
    }

    .nav-links.active{
        right:0;
    }

    .hero{
        flex-direction:column;
        text-align:center;
    }

    .hero-content h1{
        font-size:42px;
    }

    .hero-buttons{
        justify-content:center;
    }
}