/* ======================================
   Spectra Guard v5
   Main UI Styles
====================================== */


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}



body{

    min-height:100vh;

    font-family:
    "Inter",
    Arial,
    sans-serif;

    background:
    radial-gradient(
        circle at top,
        #172554,
        #020617 55%
    );

    color:white;

    overflow-x:hidden;

}





header{

    width:100%;

    padding:25px 8%;

    display:flex;

    justify-content:center;

    align-items:center;

}





.logo{

    font-family:
    "Audiowide",
    sans-serif;

    font-size:28px;

    letter-spacing:3px;

    color:#60a5fa;

    text-shadow:
    0 0 15px #2563eb;

}







main{

    width:100%;

}







.hero{

    width:min(1100px,90%);

    margin:40px auto;

    text-align:center;

}







.hero h1{

    font-size:clamp(30px,5vw,55px);

    line-height:1.2;

    margin-bottom:20px;

}





.hero p{

    color:#cbd5e1;

    max-width:700px;

    margin:auto;

    font-size:18px;

}







.scan-box{

    margin:40px auto;

    display:flex;

    gap:15px;

    justify-content:center;

    flex-wrap:wrap;

}






.scan-box input{

    width:min(600px,90vw);

    padding:18px 20px;

    border-radius:14px;

    border:1px solid #334155;

    background:#0f172a;

    color:white;

    font-size:16px;

    outline:none;

}



.scan-box input:focus{

    border-color:#38bdf8;

    box-shadow:
    0 0 15px #0ea5e9;

}







button{

    padding:18px 35px;

    border:none;

    border-radius:14px;

    background:
    linear-gradient(
        135deg,
        #2563eb,
        #06b6d4
    );

    color:white;

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}



button:hover{

    transform:translateY(-3px);

    box-shadow:
    0 0 25px #0284c7;

}









/* Scanner */


.scanner-animation{

    margin:30px auto;

    padding:25px;

    max-width:500px;

    background:
    rgba(15,23,42,.7);

    border-radius:20px;

    border:1px solid #1e293b;

}




.hidden{

    display:none!important;

}





.scan-steps{

    margin-top:20px;

    text-align:left;

    color:#94a3b8;

}



.scan-steps div{

    padding:8px;

}



.scan-steps .active{

    color:#38bdf8;

}



.scan-steps .done{

    color:#22c55e;

}







/* Results */


.results{

    width:min(1100px,90%);

    margin:50px auto;

}





.score-card{

    text-align:center;

    padding:35px;

    background:
    rgba(15,23,42,.8);

    border-radius:25px;

    border:1px solid #1e293b;

}





.score-circle{

    width:170px;

    height:170px;

    margin:25px auto;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:

    conic-gradient(
        #38bdf8,
        #2563eb,
        #0f172a
    );

    padding:10px;

}




.score{

    width:100%;

    height:100%;

    border-radius:50%;

    background:#020617;

    display:flex;

    justify-content:center;

    align-items:center;

    flex-direction:column;

}





.score span{

    font-size:45px;

    font-weight:800;

}





.score small{

    color:#94a3b8;

}







.info-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));

    gap:20px;

    margin-top:30px;

}







.info-card{

    padding:25px;

    background:

    rgba(15,23,42,.8);

    border:

    1px solid #1e293b;

    border-radius:20px;

}





.info-card h3{

    margin:15px 0;

}



.info-card p{

    color:#cbd5e1;

}







.report-summary{

    margin-top:30px;

    padding:30px;

    background:

    rgba(15,23,42,.8);

    border-radius:20px;

    border:1px solid #1e293b;

}





.report-item{

    margin-top:25px;

    padding:20px;

    background:#020617;

    border-radius:15px;

}





.report-item span{

    color:#38bdf8;

    font-weight:600;

}





.report-item p{

    margin-top:10px;

    color:#cbd5e1;

}





.recommendations{

    margin-top:25px;

}





.recommendations li{

    margin:10px 0;

    color:#cbd5e1;

}








/* Mobile */


@media(max-width:600px){


.logo{

    font-size:20px;

}



.hero{

    margin-top:20px;

}



.scan-box button{

    width:90%;

}



.score-circle{

    width:140px;

    height:140px;

}



}

.risk-low{
    color:#22c55e;
    text-shadow:0 0 15px #22c55e;
}

.risk-medium{
    color:#eab308;
    text-shadow:0 0 15px #eab308;
}

.risk-high{
    color:#f97316;
    text-shadow:0 0 15px #f97316;
}

.risk-critical{
    color:#ef4444;
    text-shadow:0 0 15px #ef4444;
}
