:root {
  color-scheme: dark;
  --bg-deep: #050214;
  --bg-navy: #0b1024;
  --bg-royal: #20104d;
  --purple: #7c3aed;
  --violet: #a855f7;
  --magenta: #ec4899;
  --orange: #fb923c;
  --gold: #facc15;
  --mint: #5cffb1;
  --text: #ffffff;
  --muted: #d8d5ff;
  --soft: #fff0c2;
  --line: rgba(255, 255, 255, .18);
  --panel: rgba(255, 255, 255, .105);
  --panel-strong: rgba(255, 255, 255, .15);
  --shadow: rgba(0, 0, 0, .58);
  --danger: #ff6b8a;
}

* { box-sizing: border-box; }
html { min-width: 320px; overflow-x: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 8%, rgba(124, 58, 237, .62), transparent 28rem),
    radial-gradient(circle at 88% 7%, rgba(236, 72, 153, .36), transparent 24rem),
    radial-gradient(circle at 78% 82%, rgba(251, 146, 60, .26), transparent 25rem),
    radial-gradient(circle at 18% 88%, rgba(250, 204, 21, .13), transparent 22rem),
    linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-navy) 52%, var(--bg-royal) 100%);
}
body::before,
body::after,
.orb {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 999px;
  filter: blur(24px);
  opacity: .58;
}
body::before {
  width: 22rem;
  height: 22rem;
  left: -9rem;
  top: 12%;
  background: linear-gradient(135deg, rgba(124, 58, 237, .72), rgba(236, 72, 153, .26));
}
body::after {
  width: 20rem;
  height: 20rem;
  right: -8rem;
  bottom: 6%;
  background: linear-gradient(135deg, rgba(250, 204, 21, .28), rgba(251, 146, 60, .46));
}
.orb.magenta { width: 18rem; height: 18rem; top: 2rem; right: 16%; background: rgba(236, 72, 153, .22); }
.orb.orange { width: 16rem; height: 16rem; bottom: 12%; left: 18%; background: rgba(251, 146, 60, .18); }

img, svg { max-width: 100%; }
a { color: #fff0a8; text-decoration-thickness: .08em; text-underline-offset: .22em; }
a:hover { color: #ffffff; }

.shell {
  position: relative;
  z-index: 1;
  width: min(1160px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(18px, 4vw, 42px);
  display: grid;
  align-items: center;
}
.shell.centered { width: min(780px, 100%); }

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(22px, 4vw, 34px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 950;
  letter-spacing: -.045em;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--orange) 45%, var(--violet));
  box-shadow: 0 0 32px rgba(168, 85, 247, .48), inset 0 1px 0 rgba(255,255,255,.42);
}
.nav-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.nav-links a { color: var(--muted); font-weight: 800; text-decoration: none; }
.nav-links a:hover { color: #fff; }

.glass-card,
.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, var(--panel-strong), rgba(255,255,255,.065));
  box-shadow: 0 30px 110px var(--shadow), inset 0 1px 0 rgba(255,255,255,.24);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
}
.glass-card::before,
.card::before {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.16), transparent 35%, rgba(250,204,21,.11));
}
.glass-card::after,
.card::after {
  content: "";
  position: absolute;
  width: 22rem;
  height: 22rem;
  right: -9rem;
  top: -11rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(250,204,21,.36), rgba(251,146,60,.3), rgba(168,85,247,.42));
  filter: blur(20px);
  opacity: .55;
}
.card-inner { position: relative; z-index: 1; padding: clamp(24px, 6vw, 68px); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(280px, .86fr); gap: clamp(24px, 5vw, 54px); align-items: center; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 9px 14px;
  border: 1px solid rgba(250, 204, 21, .35);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(250,204,21,.15), rgba(168,85,247,.12));
  color: #fff0a8;
  font-size: .82rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pill-dot { width: 9px; height: 9px; border-radius: 999px; background: var(--mint); box-shadow: 0 0 20px rgba(92,255,177,.75); }

h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.45rem, 8vw, 5.85rem);
  line-height: .92;
  letter-spacing: -.075em;
}
.auth-card h1 { font-size: clamp(2.35rem, 7vw, 4.7rem); }
.gradient-text {
  background: linear-gradient(90deg, #fff 0%, #f5e8ff 22%, var(--violet) 47%, var(--magenta) 68%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead,
p {
  color: var(--muted);
  font-size: clamp(1rem, 2.6vw, 1.22rem);
  line-height: 1.7;
}
.lead { max-width: 780px; margin: 0 0 14px; }
.copy-small { color: var(--soft); font-weight: 750; }

.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn,
button {
  min-height: 56px;
  padding: 0 24px;
  border: 0;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #12071e;
  background: linear-gradient(135deg, var(--gold), var(--orange) 58%, var(--magenta));
  box-shadow: 0 18px 44px rgba(251, 146, 60, .34), inset 0 1px 0 rgba(255,255,255,.35);
  cursor: pointer;
  font: inherit;
  font-weight: 950;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.btn:hover,
button:hover { transform: translateY(-2px); color: #12071e; box-shadow: 0 24px 52px rgba(251, 146, 60, .44), 0 0 32px rgba(168,85,247,.18); }
.btn.secondary {
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.095);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}
.btn.secondary:hover { color: #fff; border-color: rgba(250,204,21,.48); }
.utility-link { display: inline-flex; margin-top: 12px; color: rgba(216,213,255,.76); font-size: .92rem; font-weight: 750; text-decoration: none; }
.utility-link:hover { color: #fff0a8; }

.feature-grid,
.meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}
.category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-card,
.meta div,
.status-card {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.105), rgba(0,0,0,.18));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.feature-card strong,
.meta strong,
.status-card strong {
  display: block;
  margin: 0 0 8px;
  color: #fff5b8;
  font-size: 1.03rem;
  font-weight: 950;
}
.feature-card p,
.status-card p { margin: 0; font-size: .98rem; }

form { display: grid; gap: 16px; margin-top: 24px; }
label { display: grid; gap: 8px; color: #fff3c4; font-weight: 850; }
input {
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(255,255,255,.19);
  border-radius: 18px;
  outline: none;
  padding: 0 16px;
  color: #fff;
  background: rgba(5,2,20,.58);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  font: inherit;
  font-size: 1rem;
}
input::placeholder { color: rgba(216,213,255,.55); }
input:focus { border-color: rgba(250,204,21,.72); box-shadow: 0 0 0 4px rgba(250,204,21,.13), inset 0 1px 0 rgba(255,255,255,.08); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .wide { grid-column: 1 / -1; }

.notice {
  margin: 18px 0 0;
  border: 1px solid rgba(250,204,21,.33);
  border-radius: 18px;
  padding: 14px 16px;
  color: #fff0bd;
  background: rgba(250,204,21,.105);
}
.notice.error { border-color: rgba(255,107,138,.5); background: rgba(255,107,138,.13); color: #ffe4eb; }

.footer {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  color: rgba(216,213,255,.75);
  text-align: center;
  font-size: .95rem;
}

@media (max-width: 860px) {
  .hero-layout,
  .feature-grid,
  .meta,
  .category-grid,
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .wide { grid-column: auto; }
}
@media (max-width: 640px) {
  .shell { padding: 14px; align-items: start; }
  .card-inner { padding: 22px; }
  .top-nav { align-items: flex-start; flex-direction: column; }
  .nav-links { justify-content: flex-start; }
  .actions { display: grid; }
  .btn, button { width: 100%; }
  h1 { letter-spacing: -.06em; }
}
