*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;
}

body{
    background:#0f172a;
    color:#fff;
    min-height:100vh;
}

.container{
    width:95%;
    max-width:1200px;
    margin:auto;
    padding:30px;
}

.header{
    text-align:center;
    margin-bottom:30px;
}

.logo{
    width:90px;
    margin-bottom:15px;
}

.header h1{
    font-size:34px;
    font-weight:700;
}

.header p{
    color:#9ca3af;
    margin-top:10px;
}

.speedometer{
    display:flex;
    justify-content:center;
    margin:40px 0;
}

.circle{
    width:320px;
    height:320px;
    border-radius:50%;
    border:12px solid #1e293b;
    background:#111827;
    position:relative;
    box-shadow:0 0 40px rgba(0,0,0,.5);
}

.circle::before{
    content:"";
    position:absolute;
    inset:18px;
    border-radius:50%;
    border:8px solid #2563eb;
}

.needle{
    width:6px;
    height:120px;
    background:#ef4444;
    position:absolute;
    left:50%;
    bottom:50%;
    transform-origin:bottom center;
    transform:translateX(-50%) rotate(-130deg);
    border-radius:10px;
    transition:transform .3s linear;
}

.speed-value{
    position:absolute;
    width:100%;
    top:52%;
    transform:translateY(-50%);
    text-align:center;
}

.speed-value span{
    font-size:64px;
    font-weight:bold;
}

.speed-value small{
    display:block;
    margin-top:5px;
    color:#cbd5e1;
}

.buttons{
    text-align:center;
    margin:30px 0;
}

#startTest{
    background:#2563eb;
    color:#fff;
    border:none;
    padding:16px 45px;
    font-size:20px;
    cursor:pointer;
    border-radius:50px;
    transition:.3s;
}

#startTest:hover{
    background:#1d4ed8;
    transform:scale(1.05);
}

.stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-top:40px;
}

.card{
    background:#1e293b;
    border-radius:15px;
    padding:25px;
    text-align:center;
}

.card .title{
    color:#94a3b8;
    margin-bottom:15px;
    font-size:18px;
}

.card .value{
    font-size:32px;
    font-weight:bold;
    color:#38bdf8;
}

.information{
    margin-top:50px;
}

.information table{
    width:100%;
    border-collapse:collapse;
    background:#111827;
    border-radius:15px;
    overflow:hidden;
}

.information td{
    padding:18px;
    border-bottom:1px solid #1f2937;
}

.information td:first-child{
    width:220px;
    color:#94a3b8;
}

.footer{
    text-align:center;
    margin-top:40px;
    color:#94a3b8;
}

@media(max-width:900px){

.stats{
    grid-template-columns:repeat(2,1fr);
}

.circle{
    width:260px;
    height:260px;
}

.speed-value span{
    font-size:48px;
}

}

@media(max-width:600px){

.stats{
    grid-template-columns:1fr;
}

.container{
    padding:15px;
}

.header h1{
    font-size:26px;
}

.circle{
    width:220px;
    height:220px;
}

.needle{
    height:80px;
}

.speed-value span{
    font-size:42px;
}

}