*{
  box-sizing:border-box;
}

body{
  font-family:Inter,sans-serif;
  background:#0B1220;
  color:#F8FAFC;
  margin:0;
}

header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 40px;
  border-bottom:1px solid #1F2937;
}

.logo{
  font-weight:700;
  font-size:20px;
  letter-spacing:1px;
}

.logo a{
  color:#F8FAFC;
  text-decoration:none;
}

nav a{
  color:#94A3B8;
  margin-left:20px;
  text-decoration:none;
}

.hero{
  text-align:center;
  padding:100px 20px;
}

.hero h1{
  font-size:42px;
  margin-bottom:20px;
}

.hero p{
  color:#94A3B8;
  margin-bottom:30px;
}

.btn{
  background:#2563EB;
  padding:12px 22px;
  border-radius:8px;
  text-decoration:none;
  color:white;
  display:inline-block;
}

.tools{
  padding:60px 40px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
}

.tool{
  background:#111827;
  padding:25px;
  border-radius:10px;
  text-align:center;
  border:1px solid #1F2937;
}

.tool a{
  text-decoration:none;
  color:#F8FAFC;
}

.page{
  max-width:1000px;
  margin:0 auto;
  padding:60px 20px;
}

.page h1{
  font-size:40px;
  margin-bottom:10px;
  text-align:center;
}

.subtitle{
  text-align:center;
  color:#94A3B8;
  margin-bottom:35px;
}

.card{
  background:#111827;
  border:1px solid #1F2937;
  border-radius:16px;
  padding:24px;
  margin-bottom:24px;
}

.upload{
  border:2px dashed #2563EB;
  border-radius:14px;
  padding:40px 20px;
  text-align:center;
  background:rgba(37,99,235,.06);
}

.controls{
  display:grid;
  gap:16px;
  margin-top:24px;
}

label{
  font-size:14px;
  color:#CBD5E1;
  display:block;
  margin-bottom:8px;
}

input[type="file"],
input[type="number"],
select{
  width:100%;
  padding:12px 14px;
  border-radius:10px;
  border:1px solid #334155;
  background:#0F172A;
  color:#F8FAFC;
}

button{
  background:#2563EB;
  color:white;
  border:none;
  padding:14px 20px;
  border-radius:10px;
  cursor:pointer;
  font-size:16px;
  font-weight:600;
}

.preview-wrap{
  display:grid;
  gap:24px;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  margin-top:24px;
}

.preview-box{
  background:#0F172A;
  border:1px solid #1F2937;
  border-radius:14px;
  padding:16px;
}

.preview-box h3{
  margin-top:0;
  font-size:18px;
}

.preview-box img{
  width:100%;
  max-height:320px;
  object-fit:contain;
  border-radius:10px;
  background:#020617;
}

.meta{
  margin-top:12px;
  color:#94A3B8;
  font-size:14px;
  line-height:1.7;
}

.status{
  margin-top:18px;
  color:#93C5FD;
  text-align:center;
  min-height:24px;
}

.download{
  display:inline-block;
  margin-top:14px;
  background:#10B981;
  color:#fff;
  text-decoration:none;
  padding:12px 16px;
  border-radius:10px;
  font-weight:600;
}

footer{
  text-align:center;
  padding:40px;
  color:#6B7280;
  border-top:1px solid #1F2937;
  margin-top:60px;
}
