:root {
  color-scheme: dark;
  --bg: #0f172a;
  --panel: #111c33;
  --panel-2: #162238;
  --text: #e5edf8;
  --muted: #93a4bb;
  --accent: #59b7ff;
  --accent-2: #7cf0c6;
  --border: rgba(255,255,255,.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, rgba(89,183,255,.22), transparent 34%), var(--bg);
  color: var(--text);
}

.page {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
}

.hero { text-align: center; margin-bottom: 32px; }
.badge {
  display: inline-flex;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent-2);
  background: rgba(255,255,255,.04);
}

h1 { margin: 18px 0 8px; font-size: clamp(36px, 7vw, 72px); line-height: .95; }
.subtitle { margin: 0 auto; max-width: 650px; color: var(--muted); font-size: 18px; }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(0,0,0,.32);
}

.converter { padding: 26px; }

.dropzone {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 190px;
  border: 1px dashed rgba(255,255,255,.28);
  border-radius: 22px;
  background: rgba(255,255,255,.04);
  cursor: pointer;
  text-align: center;
}
.dropzone input { display: none; }
.dropzone-title { font-size: 24px; font-weight: 700; }
.dropzone-subtitle { color: var(--muted); }

.row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

label { color: var(--muted); font-size: 14px; }
select {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--panel-2);
}

button {
  width: 100%;
  margin-top: 18px;
  padding: 16px 18px;
  border: 0;
  border-radius: 16px;
  color: #06111f;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.progress {
  height: 10px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255,255,255,.08);
}
.progress-bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .25s ease;
}
.status { color: var(--muted); margin-bottom: 0; }

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.features div {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255,255,255,.04);
}
.features h2 { margin: 0 0 8px; font-size: 18px; }
.features p { margin: 0; color: var(--muted); }

@media (max-width: 720px) {
  .row, .features { grid-template-columns: 1fr; }
}
