:root {
  --bg: #07090f;
  --card: rgba(18, 22, 34, 0.88);
  --line: rgba(148, 163, 184, 0.16);
  --text: #e8eefc;
  --muted: #8b97b3;
  --indigo: #6366f1;
  --cyan: #22d3ee;
  --ok: #34d399;
  --err: #f87171;
  --radius: 16px;
  font-family: "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: radial-gradient(1200px 600px at 50% -10%, #1a2040 0%, var(--bg) 55%); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.bg-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(500px 280px at 15% 20%, rgba(99,102,241,.18), transparent 60%),
    radial-gradient(480px 280px at 85% 15%, rgba(34,211,238,.12), transparent 60%);
}

.top {
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px 8px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; }
.brand.compact .brand-name { font-size: 15px; }
.brand-name { font-size: 18px; }
.logo { display: grid; place-items: center; }
.nav { display: flex; gap: 18px; align-items: center; color: var(--muted); font-size: 14px; }
.nav a:hover { color: var(--text); }
.pill {
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px;
  background: rgba(255,255,255,.03);
}

main { max-width: 1080px; margin: 0 auto; padding: 28px 22px 60px; }
.hero { text-align: center; padding: 28px 0 18px; }
.eyebrow {
  display: inline-block; letter-spacing: .12em; text-transform: uppercase;
  font-size: 11px; color: var(--cyan); margin: 0 0 14px; font-weight: 600;
}
h1 {
  font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.15;
  letter-spacing: -.03em; margin: 0 0 14px; font-weight: 750;
}
.grad {
  background: linear-gradient(90deg, #a5b4fc, #67e8f9);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede {
  max-width: 620px; margin: 0 auto 28px; color: var(--muted); line-height: 1.55; font-size: 16px;
}

.lift-card {
  max-width: 720px; margin: 0 auto;
  text-align: left; background: var(--card);
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  padding: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
}
.url-label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.url-row { display: flex; gap: 10px; }
#url {
  flex: 1; min-width: 0;
  background: #0b0f1a; border: 1px solid var(--line); color: var(--text);
  border-radius: 12px; padding: 14px 14px; outline: none;
}
#url:focus { border-color: rgba(99,102,241,.7); box-shadow: 0 0 0 3px rgba(99,102,241,.18); }
.opts { margin-top: 12px; }
.check { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; cursor: pointer; }
.check input { accent-color: var(--indigo); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 12px; border: 1px solid transparent; padding: 12px 16px;
  font-weight: 650; cursor: pointer; transition: transform .12s, background .12s, border-color .12s;
}
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.primary {
  background: linear-gradient(135deg, #6366f1, #4f46e5 50%, #0ea5e9);
  color: white; min-width: 96px;
}
.btn.primary:hover:not(:disabled) { transform: translateY(-1px); }
.btn.ghost {
  background: rgba(255,255,255,.03); border-color: var(--line); color: var(--text);
}
.btn.ghost:hover { border-color: rgba(148,163,184,.4); background: rgba(255,255,255,.05); }

.status { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.progress {
  height: 8px; background: #121726; border-radius: 999px; overflow: hidden; margin-bottom: 10px;
}
.bar {
  height: 100%; width: 8%;
  background: linear-gradient(90deg, #6366f1, #22d3ee);
  border-radius: inherit; transition: width .35s ease;
}
#status-text { margin: 0; font-weight: 600; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.hidden { display: none !important; }

.done { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.done-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.badge {
  font-size: 12px; font-weight: 700; border-radius: 999px; padding: 4px 10px;
}
.badge.ok { background: rgba(52,211,153,.14); color: var(--ok); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.err {
  margin-top: 12px; color: #fecaca; background: rgba(248,113,113,.1);
  border: 1px solid rgba(248,113,113,.3); border-radius: 10px; padding: 10px 12px; font-size: 13px;
  white-space: pre-wrap;
}

.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-top: 42px;
}
.features article {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; background: rgba(255,255,255,.02);
}
.features h3 { margin: 0 0 8px; font-size: 15px; }
.features p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.foot {
  max-width: 1080px; margin: 0 auto; padding: 8px 22px 28px;
  display: flex; justify-content: space-between; gap: 12px;
  color: var(--muted); font-size: 13px;
}

@media (max-width: 800px) {
  .features { grid-template-columns: 1fr; }
  .url-row { flex-direction: column; }
  .foot { flex-direction: column; }
}
