:root {
  --bg: hsl(240 25% 7%);
  --surface: hsl(240 20% 12% / 0.6);
  --border: hsl(240 20% 30% / 0.35);
  --text: hsl(240 20% 95%);
  --muted: hsl(240 10% 65%);
  --a1: hsl(330 85% 62%);
  --a2: hsl(265 85% 66%);
  --a3: hsl(195 90% 55%);
  --radius: 16px;
}
* { box-sizing: border-box; margin: 0; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
a { color: var(--a3); text-decoration: none; }
a:hover { text-decoration: underline; }

.bg-orbs span {
  position: fixed; border-radius: 50%; filter: blur(90px); opacity: .45; z-index: -1;
  animation: float 18s ease-in-out infinite alternate;
}
.bg-orbs span:nth-child(1) { width: 420px; height: 420px; background: var(--a1); top: -120px; left: -100px; }
.bg-orbs span:nth-child(2) { width: 380px; height: 380px; background: var(--a2); bottom: -120px; right: -80px; animation-delay: -6s; }
.bg-orbs span:nth-child(3) { width: 300px; height: 300px; background: var(--a3); top: 40%; left: 55%; animation-delay: -12s; opacity: .25; }
@keyframes float { to { transform: translate(60px, 40px) scale(1.1); } }

.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 2rem; position: sticky; top: 0;
  backdrop-filter: blur(14px); background: hsl(240 25% 7% / .5);
  border-bottom: 1px solid var(--border); z-index: 10;
}
.nav nav { display: flex; gap: 1rem; align-items: center; }
.nav nav a:not(.btn) { color: var(--muted); }
.nav nav a:not(.btn):hover { color: var(--text); text-decoration: none; }
.brand { font-weight: 800; font-size: 1.25rem; color: var(--text); }
.brand span, .grad {
  background: linear-gradient(90deg, var(--a1), var(--a2), var(--a3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand:hover { text-decoration: none; }
.inline { display: inline; }

.container { flex: 1; width: 100%; max-width: 960px; margin: 0 auto; padding: 3rem 1.5rem; }

.hero { text-align: center; padding: 6rem 0 4rem; animation: rise .8s ease both; }
.hero h1 { font-size: clamp(2.8rem, 8vw, 5.5rem); font-weight: 800; letter-spacing: -0.03em; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; color: var(--muted); font-size: .85rem; margin-bottom: .5rem; }
.lead { color: var(--muted); font-size: 1.2rem; max-width: 560px; margin: 1.25rem auto 2.5rem; }
.actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }

.btn {
  display: inline-block; padding: .7rem 1.4rem; border-radius: 999px; font: inherit;
  font-weight: 600; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary {
  background: linear-gradient(90deg, var(--a1), var(--a2)); color: white;
  box-shadow: 0 6px 24px hsl(300 80% 60% / .35);
}
.btn-primary:hover { box-shadow: 0 10px 32px hsl(300 80% 60% / .5); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: hsl(240 20% 30% / .3); }
.full { width: 100%; }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2.5rem; backdrop-filter: blur(18px); animation: rise .6s ease both;
  box-shadow: 0 20px 60px hsl(240 50% 2% / .5);
}
.card h1 { font-size: 1.8rem; margin-bottom: 1rem; }
.card p { margin-bottom: .75rem; }
.auth { max-width: 420px; margin: 2rem auto; }
.auth form { display: grid; gap: 1rem; margin: 1.25rem 0; }
label { display: grid; gap: .4rem; font-size: .9rem; color: var(--muted); }
input {
  font: inherit; padding: .75rem 1rem; border-radius: 10px; color: var(--text);
  background: hsl(240 25% 5% / .6); border: 1px solid var(--border);
  transition: border-color .2s, box-shadow .2s;
}
input:focus { outline: none; border-color: var(--a2); box-shadow: 0 0 0 3px hsl(265 85% 66% / .25); }
.muted { color: var(--muted); font-size: .95rem; }
.error {
  background: hsl(0 70% 50% / .15); border: 1px solid hsl(0 70% 60% / .4);
  color: hsl(0 90% 80%); padding: .7rem 1rem; border-radius: 10px;
}
.footer { text-align: center; color: var(--muted); padding: 2rem; font-size: .85rem; }
