:root {
  --bg: #070b10;
  --panel: rgba(12, 18, 26, 0.88);
  --line: rgba(120, 180, 200, 0.18);
  --ink: #e8eef4;
  --muted: #8fa3b5;
  --accent: #2fd3c7;
  --accent-2: #5aa7ff;
  --danger: #ff6b7a;
  --ok: #3dd68c;
  --wait: #f0b429;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --font: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(47, 211, 199, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 211, 199, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}
.glow {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.45;
}
.glow-a {
  width: 420px; height: 420px; left: -80px; top: 10%;
  background: radial-gradient(circle, rgba(47,211,199,.55), transparent 70%);
  animation: drift 14s ease-in-out infinite alternate;
}
.glow-b {
  width: 520px; height: 520px; right: -120px; bottom: -40px;
  background: radial-gradient(circle, rgba(90,167,255,.4), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate-reverse;
}
.scan {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, rgba(47,211,199,.04), transparent);
  background-size: 100% 220%;
  animation: scan 7s linear infinite;
}

@keyframes drift {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(40px) scale(1.08); }
}
@keyframes scan {
  from { background-position: 0 0; }
  to { background-position: 0 220%; }
}

.shell {
  position: relative; z-index: 1;
  max-width: 1100px; margin: 0 auto;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding: 48px 28px;
}
.shell.center { grid-template-columns: 1fr; justify-items: center; }

.hero .eyebrow {
  font-family: var(--mono);
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--accent);
  margin: 0 0 18px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  font-weight: 700;
}
.lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34rem;
  margin: 0 0 24px;
  line-height: 1.6;
}
.tags {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.tags li {
  font-family: var(--mono);
  font-size: 12px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,0.02);
}
.status {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; color: var(--muted);
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 12px var(--accent);
}
.dot.ok { background: var(--ok); box-shadow: 0 0 12px var(--ok); }
.dot.wait { background: var(--wait); box-shadow: 0 0 12px var(--wait); }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.card.narrow { width: min(440px, 100%); }
.card-head {
  display: flex; gap: 14px; align-items: center; margin-bottom: 22px;
}
.card-head h2 { margin: 0; font-size: 1.35rem; }
.card-head p { margin: 4px 0 0; color: var(--muted); font-size: 0.92rem; }
.mark {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  font-family: var(--mono); font-weight: 700; font-size: 12px;
  color: #041014;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 30px rgba(47, 211, 199, 0.25);
}

form { display: grid; gap: 14px; }
label { display: grid; gap: 7px; }
label span {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}
input {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.35);
  color: var(--ink);
  border-radius: 12px;
  padding: 14px 14px;
  font: 500 15px/1.2 var(--font);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
input:focus {
  border-color: rgba(47,211,199,0.7);
  box-shadow: 0 0 0 3px rgba(47,211,199,0.15);
}
button {
  margin-top: 6px;
  border: 0;
  border-radius: 12px;
  padding: 14px 16px;
  font: 600 15px/1 var(--font);
  color: #041014;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), #7ad7ff);
  transition: transform .15s ease, filter .15s ease;
}
button:hover { transform: translateY(-1px); filter: brightness(1.05); }
button:active { transform: translateY(0); }

.err {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,107,122,0.12);
  border: 1px solid rgba(255,107,122,0.35);
  color: #ffb4bc;
  font-size: 0.92rem;
}
.foot {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-family: var(--mono);
}
.foot a { color: var(--accent); }

.loader {
  height: 4px; border-radius: 999px; overflow: hidden;
  background: rgba(255,255,255,0.06); margin: 18px 0 8px;
}
.loader::after {
  content: ""; display: block; height: 100%; width: 40%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  animation: load 1.2s ease-in-out infinite;
}
@keyframes load {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

@media (max-width: 860px) {
  .shell {
    grid-template-columns: 1fr;
    padding: 32px 18px 48px;
    gap: 28px;
  }
  .hero h1 { font-size: 2.2rem; }
}
