/* Register — aligned with React landing (#030712) */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body.landing--register {
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  background: #030712;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

.reg-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(3, 7, 18, 0.92);
  backdrop-filter: blur(16px);
}

.reg-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 76px;
}

.reg-header__logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: min(220px, 42vw);
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 4px 18px rgba(59, 130, 246, 0.35));
}

.reg-header__nav {
  display: none;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
}

.reg-header__nav a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

.reg-header__nav a:hover {
  color: #fff;
}

.reg-header__actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.reg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #fff;
}

.reg-btn--ghost {
  background: transparent;
}

.reg-btn--primary {
  border: none;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.45);
}

@media (min-width: 1024px) {
  .reg-header__nav,
  .reg-header__actions {
    display: flex;
  }

  .reg-header__mobile-login {
    display: none;
  }
}

.reg-header__mobile-login {
  margin-left: auto;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
}

.reg-header__mobile-login:hover {
  color: #fff;
}

.landing--register .register-page {
  display: flex;
  justify-content: center;
  padding: 2.5rem 1rem 4rem;
  min-height: calc(100vh - 140px);
}

.register-card {
  width: 100%;
  max-width: 480px;
  padding: 1.75rem;
  background: rgba(15, 20, 32, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}

.register-card h1 {
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
}

.register-card .muted {
  color: #94a3b8;
  font-size: 0.9rem;
}

.field {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.9rem;
}

.field span {
  font-size: 0.85rem;
  color: #94a3b8;
}
.field--check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0.85rem 0 1rem;
  cursor: pointer;
}
.field--check input {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  accent-color: #2563eb;
}
.field--check span {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.45;
  font-size: 0.88rem;
}
.field--check a { color: #60a5fa; }


.field input {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(96, 165, 250, 0.2);
  background: #0b1220;
  color: #f4f7ff;
  font: inherit;
}

.field input:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.hint {
  font-size: 0.78rem;
  color: #94a3b8;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.btn--block {
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 12px;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
}

.btn--block:hover {
  filter: brightness(1.07);
}

.err {
  color: #ff8a80;
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.foot {
  margin-top: 1.25rem;
  text-align: center;
}

.foot a {
  color: #60a5fa;
}

.link-btn {
  background: none;
  border: none;
  padding: 0;
  color: #60a5fa;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}

.link-btn:hover {
  color: #93c5fd;
}

.verify-panel .field input {
  letter-spacing: 0.35em;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
}

.hint.ok,
.hint.hint--ok {
  color: #4ade80;
}

.hint.hint--err {
  color: #ff8a80;
}

.field input.field--err {
  border-color: rgba(248, 113, 113, 0.65);
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.15);
}

.reg-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 1.25rem;
  color: #64748b;
  font-size: 0.8125rem;
}

.reg-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .reg-footer__inner {
    flex-direction: column;
    text-align: center;
  }
}
