@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}



body{

    background:#07111f;

    color:#ffffff;

    min-height:100vh;

}

.container{

    width:90%;

    max-width:1300px;

    margin:auto;

    padding:40px 0;

}

.header{

    text-align:center;

    margin-bottom:40px;

}

.header h1{

    font-size:52px;

    color:#00e5ff;

    margin-bottom:10px;

    font-weight:700;

}

.header p{

    font-size:18px;

    color:#b8c7d1;

}

.target-box{

    background:#111d2c;

    border-left:6px solid #00e5ff;

    padding:20px;

    border-radius:12px;

    margin-bottom:35px;

    box-shadow:0 0 20px rgba(0,229,255,.08);

}

.target-box h2{

    color:#00e5ff;

    margin-bottom:10px;

}

.target-box p{

    color:#ffffff;

    word-break:break-word;

}

.scan-box{

    background:#111d2c;

    padding:35px;

    border-radius:15px;

    margin-bottom:40px;

    box-shadow:0 0 25px rgba(0,0,0,.35);

}

.scan-box form{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:15px;

    flex-wrap:wrap;

}

input[type="url"]{

    width:70%;

    min-width:320px;

    padding:15px 18px;

    border:none;

    border-radius:10px;

    background:#1a2b3d;

    color:white;

    font-size:17px;

    outline:none;

    transition:.3s;

}

input[type="url"]:focus{

    border:2px solid #00e5ff;

}

button{

    padding:14px 28px;

    border:none;

    border-radius:10px;

    background:#00e5ff;

    color:#07111f;

    font-size:17px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

button:hover{

    background:#00c8dd;

    transform:translateY(-2px);

}

.btn-primary{

    background:#00e5ff;

    color:#07111f;

}

.btn-secondary{

    background:#1f3348;

    color:white;

    margin:5px;

}

.btn-secondary:hover{

    background:#2b4662;

}

.card-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
    margin:35px 0;
}

.card{
    background:#111d2c;
    padding:25px;
    border-radius:15px;
    box-shadow:0 8px 20px rgba(0,0,0,.25);
    transition:.3s;
}

.card:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 28px rgba(0,229,255,.25);
}

.card h3{
    color:#00e5ff;
    margin-bottom:15px;
    font-size:22px;
}

.card p{
    color:#d8e4ec;
    line-height:1.7;
}

.section{
    background:#111d2c;
    padding:25px;
    border-radius:15px;
    margin-top:30px;
    box-shadow:0 8px 20px rgba(0,0,0,.25);
}

.section h2{
    color:#00e5ff;
    margin-bottom:20px;
}

.score-card{
    text-align:center;
    background:#0d1b2a;
    padding:30px;
    border-radius:18px;
    margin-bottom:30px;
}

.score-number{
    font-size:70px;
    font-weight:bold;
    color:#00e5ff;
}

.score-text{
    margin-top:10px;
    font-size:20px;
    color:#cdd6dd;
}

.badge{
    display:inline-block;
    padding:10px 18px;
    border-radius:25px;
    font-weight:600;
    color:white;
    margin-top:15px;
}

.low{
    background:#16a34a;
}

.medium{
    background:#f59e0b;
}

.high{
    background:#dc2626;
}

.critical{
    background:#7f1d1d;
}

.progress{
    width:100%;
    height:22px;
    background:#24364b;
    border-radius:25px;
    overflow:hidden;
    margin-top:18px;
}

.progress-bar{
    height:100%;
    background:linear-gradient(90deg,#00e5ff,#00bcd4);
    text-align:center;
    color:#07111f;
    font-weight:bold;
    line-height:22px;
    transition:width .5s ease;
}

.loader{

    width:70px;

    height:70px;

    border:8px solid #1c3044;

    border-top:8px solid #00e5ff;

    border-radius:50%;

    animation:spin 1s linear infinite;

    margin:40px auto;

}

@keyframes spin{

    0%{
        transform:rotate(0deg);
    }

    100%{
        transform:rotate(360deg);
    }

}


button{

    transition:all .3s ease;

}

button:hover{

    box-shadow:0 0 18px rgba(0,229,255,.45);

}
.card:hover,
.section:hover,
.score-card:hover{

    border:1px solid rgba(0,229,255,.25);

}

::selection{

    background:#00e5ff;

    color:#07111f;

}


@media(max-width:992px){

.container{

    width:95%;

}

.header h1{

    font-size:40px;

}

.score-number{

    font-size:55px;

}

.card-grid{

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

}

}

@media(max-width:768px){

.scan-box form{

    flex-direction:column;

}

input[type="url"]{

    width:100%;

    min-width:100%;

}

button{

    width:100%;

}

.action-buttons{

    flex-direction:column;

}

.action-buttons button{

    width:100%;

}

.header h1{

    font-size:34px;

}

.section{

    padding:18px;

}

.card{

    padding:20px;

}

.score-number{

    font-size:48px;

}

table{

    display:block;

    overflow-x:auto;

}

}

@media(max-width:480px){

.header h1{

    font-size:28px;

}

.header p{

    font-size:15px;

}

.score-number{

    font-size:40px;

}

.card h3{

    font-size:20px;

}

table th,
table td{

    font-size:14px;

    padding:10px;

}

footer{

    font-size:14px;

}

}
table{
    width:100%;
    border-collapse:collapse;
    margin-top:30px;
}

th{
    background:#0f172a;
    color:white;
    padding:12px;
}

td{
    border:1px solid #ddd;
    padding:12px;
    text-align:center;
}

tr:nth-child(even){
    background:#f7f7f7;
}

.btn-secondary{
    display:inline-block;
    margin-top:20px;
    padding:12px 22px;
    background:#2563eb;
    color:white;
    text-decoration:none;
    border-radius:8px;
}

.btn-secondary:hover{
    background:#1d4ed8;
}
.dashboard-box{
    background:#ffffff;
    padding:25px;
    border-radius:12px;
    box-shadow:0 4px 10px rgba(0,0,0,0.15);
    margin-top:20px;
}

.dashboard-box h2{
    color:#2563eb;
}

.dashboard-box ul{
    margin-top:15px;
    padding-left:20px;
}

.dashboard-box li{
    margin:10px 0;
}