:root {
  --bg: #0d1117;
  --panel: #161b22;
  --panel2: #1c2330;
  --text: #e6edf3;
  --muted: #9aa7b4;
  --accent: #ff5c8a;
  --accent-dark: #e0446f;
  --border: #2a3342;
  --ok: #2ea043;
  --err: #d64545;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px; border-bottom: 1px solid var(--border);
}
.logo { font-size: 1.35rem; font-weight: 800; color: var(--text); letter-spacing: .3px; }
.logo:hover { text-decoration: none; color: var(--accent); }
.nav nav a { margin-left: 18px; color: var(--text); }

.btn {
  display: inline-block; background: var(--accent); color: #fff; border: none;
  padding: 10px 20px; border-radius: 8px; font-weight: 600; cursor: pointer;
  font-size: 1rem;
}
.btn:hover { background: var(--accent-dark); text-decoration: none; }
.btn-small { padding: 6px 14px; font-size: .9rem; }
.btn-big { padding: 14px 28px; font-size: 1.1rem; width: 100%; text-align: center; }

main { max-width: 960px; margin: 0 auto; padding: 28px 18px 60px; }

.flashes { max-width: 960px; margin: 16px auto 0; padding: 0 18px; }
.flash { padding: 12px 16px; border-radius: 8px; margin-bottom: 10px; }
.flash.success { background: #12351f; border: 1px solid var(--ok); }
.flash.error { background: #3d1717; border: 1px solid var(--err); }

.hero { text-align: center; padding: 56px 10px 40px; }
.hero h1 { font-size: 2.6rem; margin: 0 0 14px; line-height: 1.15; }
.accent { color: var(--accent); }
.sub { color: var(--muted); font-size: 1.1rem; max-width: 640px; margin: 0 auto 26px; }
.hero .btn-big { width: auto; }
.fineprint { color: var(--muted); font-size: .88rem; margin-top: 12px; }
.soon { color: var(--muted); font-size: .9rem; }

.steps, .pricing { padding: 30px 0 6px; }
.steps h2, .pricing h2 { text-align: center; font-size: 1.7rem; }
.cards { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.card {
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px;
  padding: 22px; flex: 1 1 240px; max-width: 300px;
}
.step-num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent);
  color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.card h3 { margin: 12px 0 6px; }
.card p { color: var(--muted); margin: 0; }
.price .amount { font-size: 2rem; font-weight: 800; color: var(--text); margin: 6px 0; }
.price .amount span { font-size: 1rem; color: var(--muted); font-weight: 400; }
.price ul { color: var(--muted); padding-left: 18px; margin: 10px 0 18px; }
.price.featured { border-color: var(--accent); background: var(--panel2); }

.auth { max-width: 420px; margin: 30px auto; }
.auth h1 { text-align: center; }
.auth .sub { text-align: center; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.form input {
  background: var(--panel); border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); padding: 11px 12px; font-size: 1rem;
}
.form input:focus { outline: 2px solid var(--accent); }
.hint { color: var(--muted); font-weight: 400; font-size: .88rem; }
.alt { text-align: center; color: var(--muted); margin-top: 18px; }

.banner { border-radius: 10px; padding: 14px 18px; margin-bottom: 20px; }
.banner-free { background: #2b1622; border: 1px solid var(--accent); }
.banner-used { background: var(--panel2); border: 1px solid var(--border); }
.upload { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin-bottom: 10px; }

.jobs { width: 100%; border-collapse: collapse; margin-top: 14px; }
.jobs th, .jobs td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); }
.jobs th { color: var(--muted); font-weight: 600; }
.status { padding: 3px 10px; border-radius: 20px; font-size: .85rem; font-weight: 600; text-transform: capitalize; }
.status-queued { background: #3a3f14; }
.status-processing { background: #14324a; }
.status-done { background: #12351f; }
.status-failed { background: #3d1717; }
.empty { color: var(--muted); }

.footer { text-align: center; color: var(--muted); padding: 24px; border-top: 1px solid var(--border); font-size: .9rem; }

@media (max-width: 640px) {
  .hero h1 { font-size: 1.9rem; }
  .jobs th:nth-child(2), .jobs td:nth-child(2) { display: none; }
}
