*{
box-sizing:border-box;
margin:0;
padding:0;
font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}

body{
background:#f5f7fb;
color:#222;
line-height:1.6;
}

.container{
max-width:900px;
margin:auto;
padding:20px 20px;
}

.hero{
text-align:center;
margin-bottom:20px;
}

.hero h1{
font-size:42px;
font-weight:700;
margin-bottom:8px;
}

.subtitle{
font-size:17px;
color:#666;
max-width:520px;
margin:auto;
}

.tool{
background:white;
padding:25px;
border-radius:12px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
margin-bottom:40px;
}

.tool-label{
font-size:14px;
color:#777;
margin-bottom:10px;
}

textarea{
width:100%;
height:200px;
padding:14px;
font-size:16px;
border-radius:8px;
border:1px solid #ddd;
margin-bottom:20px;
resize:vertical;
}

textarea:focus{
outline:none;
border-color:#4f46e5;
}

.stats{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(120px,1fr));
gap:15px;
margin-bottom:20px;
}

.card{
background:#f7f8fc;
border-radius:10px;
padding:15px;
text-align:center;
}

.number{
font-size:24px;
font-weight:600;
color:#4f46e5;
}

.label{
font-size:13px;
color:#666;
margin-top:5px;
}

.buttons{
display:flex;
gap:10px;
justify-content:center;
}

button{
padding:10px 18px;
border:none;
border-radius:8px;
font-size:14px;
cursor:pointer;
background:#4f46e5;
color:white;
}

button:hover{
background:#4338ca;
}

#clearBtn{
background:#ef4444;
}

#clearBtn:hover{
background:#dc2626;
}

.info{
margin-bottom:40px;
}

.info h2{
font-size:26px;
margin-bottom:10px;
}

.info h3{
margin-top:15px;
font-size:18px;
}

footer{
text-align:center;
color:#888;
font-size:14px;
margin-top:40px;
}