:root {
  --bg: #020811;
  --panel: #071321;
  --panel-soft: #0a1828;
  --line: rgba(113, 165, 224, 0.18);
  --line-strong: rgba(39, 164, 255, 0.42);
  --text: #f7fbff;
  --muted: #8fa3b8;
  --blue: #2587ff;
  --blue-2: #176cff;
  --cyan: #27e2dc;
  --danger: #ff7474;
  --success: #55e5b6;
}

* { box-sizing: border-box; }

html { min-width: 320px; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(0, 151, 255, 0.13), transparent 30%),
    radial-gradient(circle at 90% 18%, rgba(62, 72, 255, 0.13), transparent 27%),
    linear-gradient(145deg, #020811 0%, #030b15 45%, #071122 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(65, 120, 177, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 120, 177, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 92%);
}

a { color: inherit; }

.signup-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 72px 28px 34px;
  position: relative;
}

.back-home {
  position: absolute;
  top: 26px;
  left: 32px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #9fb1c6;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  transition: color .2s ease, transform .2s ease;
}

.back-home:hover {
  color: white;
  transform: translateX(-2px);
}

.signup-shell {
  width: min(1120px, 100%);
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(410px, .92fr);
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  background: rgba(4, 13, 24, .88);
  box-shadow: 0 34px 110px rgba(0, 0, 0, .52), inset 0 1px rgba(255,255,255,.035);
  backdrop-filter: blur(18px);
}

.signup-showcase {
  min-width: 0;
  padding: 42px 48px 34px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 22% 8%, rgba(18, 174, 255, .2), transparent 35%),
    radial-gradient(circle at 92% 88%, rgba(62, 90, 255, .18), transparent 35%),
    linear-gradient(145deg, #071828 0%, #061321 50%, #09172c 100%);
}

.signup-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 55%, rgba(43, 145, 255, .055));
}

.showcase-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  right: -170px;
  top: 120px;
  border-radius: 50%;
  background: rgba(0, 147, 255, .18);
  filter: blur(80px);
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 190px;
  height: 54px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 16px rgba(43, 155, 255, .18));
}

.showcase-copy {
  position: relative;
  z-index: 2;
  max-width: 500px;
  margin-top: 62px;
}

.showcase-kicker,
.eyebrow {
  margin: 0 0 13px;
  color: var(--cyan);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.showcase-copy h2 {
  margin: 0;
  max-width: 480px;
  font-size: clamp(2.65rem, 5vw, 4.45rem);
  line-height: .99;
  letter-spacing: -.055em;
}

.showcase-copy > p:last-child {
  max-width: 460px;
  margin: 22px 0 0;
  color: #a4b4c6;
  font-size: 1rem;
  line-height: 1.75;
}

.showcase-points {
  position: relative;
  z-index: 2;
  margin-top: 34px;
  display: grid;
  gap: 15px;
}

.showcase-point {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: start;
  gap: 14px;
}

.point-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(36, 166, 255, .32);
  border-radius: 13px;
  color: #75c9ff;
  background: rgba(8, 38, 67, .72);
  font-size: .68rem;
  font-weight: 800;
  box-shadow: inset 0 0 20px rgba(0, 133, 255, .09);
}

.showcase-point strong,
.showcase-point small {
  display: block;
}

.showcase-point strong {
  margin-top: 1px;
  font-size: .94rem;
}

.showcase-point small {
  margin-top: 5px;
  max-width: 390px;
  color: #879cb1;
  font-size: .78rem;
  line-height: 1.55;
}

.showcase-preview {
  position: relative;
  z-index: 2;
  left: auto;
  right: auto;
  bottom: auto;
  margin-top: auto;
  padding: 18px;
  border: 1px solid rgba(94, 166, 229, .2);
  border-radius: 19px;
  background: rgba(3, 15, 28, .7);
  box-shadow: 0 20px 48px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.035);
  transform: translateY(0);
}

.showcase-points + .showcase-preview {
  margin-top: 30px;
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #9cb0c4;
  font-size: .76rem;
}

.preview-top strong {
  color: var(--success);
  font-size: .72rem;
}

.preview-metrics {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.preview-metrics div {
  padding: 13px 14px;
  border: 1px solid rgba(96, 148, 204, .12);
  border-radius: 13px;
  background: rgba(7, 23, 40, .8);
}

.preview-metrics strong,
.preview-metrics span { display: block; }

.preview-metrics strong { font-size: 1.18rem; }
.preview-metrics span { margin-top: 4px; color: #7e92a8; font-size: .67rem; }

.preview-bar {
  height: 5px;
  margin-top: 15px;
  overflow: hidden;
  border-radius: 99px;
  background: #102337;
}

.preview-bar span {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  box-shadow: 0 0 12px rgba(35, 209, 255, .42);
}

.signup-card {
  min-width: 0;
  padding: 58px 54px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 100% 0, rgba(20, 85, 166, .09), transparent 35%),
    rgba(5, 15, 27, .96);
}

.mobile-brand { display: none; }

.signup-heading { margin-bottom: 28px; }

.signup-heading h1 {
  margin: 0;
  max-width: 500px;
  font-size: clamp(2.15rem, 4vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: -.052em;
}

.signup-heading > p:last-child {
  max-width: 460px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.7;
}

form { display: grid; gap: 17px; }

.field-group { display: grid; gap: 8px; }

.password-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  color: #c9d7e4;
  font-size: .78rem;
  font-weight: 650;
}

input {
  width: 100%;
  min-height: 53px;
  padding: 0 16px;
  border: 1px solid rgba(93, 139, 187, .27);
  border-radius: 13px;
  outline: none;
  color: var(--text);
  background: rgba(2, 10, 19, .78);
  font: inherit;
  font-size: .9rem;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

input::placeholder { color: #60768b; }

input:hover { border-color: rgba(106, 166, 226, .4); }

input:focus {
  border-color: var(--blue);
  background: #04101d;
  box-shadow: 0 0 0 4px rgba(47, 134, 255, .12), 0 0 24px rgba(25, 119, 255, .08);
}

.signup-assurance {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #8fa5ba;
  font-size: .76rem;
}

.assurance-icon {
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(65, 226, 183, .33);
  border-radius: 50%;
  color: var(--success);
  background: rgba(31, 170, 132, .09);
  font-size: .65rem;
  font-weight: 800;
}

button {
  min-height: 56px;
  margin-top: 2px;
  padding: 0 19px;
  border: 1px solid rgba(117, 184, 255, .25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  background: linear-gradient(135deg, #2d91ff, #1567ef 58%, #1d5de0);
  box-shadow: 0 15px 34px rgba(19, 103, 239, .25), inset 0 1px rgba(255,255,255,.22);
  font: inherit;
  font-size: .9rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 19px 42px rgba(19, 103, 239, .34), inset 0 1px rgba(255,255,255,.24);
}

button:active { transform: translateY(0); }
button:disabled { cursor: wait; opacity: .68; transform: none; }

.signup-status {
  min-height: 18px;
  margin: -4px 0 0;
  line-height: 1.45;
  font-size: .8rem;
}

.signup-status.error { color: var(--danger); }
.signup-status.success { color: var(--success); }

.login-link {
  margin: 20px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: .83rem;
}

.login-link a {
  color: #76b9ff;
  font-weight: 700;
  text-decoration: none;
}

.login-link a:hover { color: white; }

.legal-copy {
  margin: 14px auto 0;
  max-width: 370px;
  text-align: center;
  color: #586e83;
  font-size: .67rem;
  line-height: 1.55;
}

@media (max-width: 940px) {
  .signup-shell {
    max-width: 650px;
    grid-template-columns: 1fr;
  }

  .signup-showcase { display: none; }

  .signup-card { padding: 42px; }

  .mobile-brand {
    display: block;
    margin-bottom: 36px;
  }

  .mobile-brand img {
    display: block;
    width: 180px;
    height: 48px;
    object-fit: contain;
    object-position: left center;
  }
}

@media (max-width: 620px) {
  .signup-page { padding: 72px 14px 20px; }
  .back-home { left: 18px; top: 24px; }
  .signup-shell { border-radius: 22px; }
  .signup-card { padding: 34px 22px 28px; }
  .password-grid { grid-template-columns: 1fr; }
  .signup-heading h1 { font-size: 2.3rem; }
}

@media (max-width: 390px) {
  .signup-heading h1 { font-size: 2rem; }
  .mobile-brand img { width: 160px; }
}


@media (max-height: 820px) and (min-width: 941px) {
  .signup-page { padding-top: 32px; padding-bottom: 24px; }
  .signup-shell { min-height: 640px; }
  .signup-showcase { padding-top: 30px; padding-bottom: 26px; }
  .showcase-copy { margin-top: 38px; }
  .showcase-copy h2 { font-size: clamp(2.55rem, 4.2vw, 3.65rem); }
  .showcase-copy > p:last-child { margin-top: 16px; line-height: 1.6; }
  .showcase-points { margin-top: 24px; gap: 12px; }
  .showcase-point { grid-template-columns: 36px 1fr; gap: 12px; }
  .point-icon { width: 36px; height: 36px; border-radius: 11px; }
  .showcase-preview { padding: 14px; }
  .preview-metrics { margin-top: 13px; }
  .signup-card { padding-top: 38px; padding-bottom: 30px; }
}
