* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: #020617;
}

body {
  min-height: 100vh;
  font-family: "Manrope", Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at 25% 45%, rgba(0, 195, 255, 0.18), transparent 32%),
    radial-gradient(circle at 85% 20%, rgba(37, 99, 235, 0.16), transparent 28%),
    linear-gradient(135deg, #020617, #061225 55%, #020617);
  color: white;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: #20d5ff;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
}

.signup-page {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 52px;
  overflow-x: hidden;
}

.signup-shell {
  width: 100%;
  max-width: 1450px;
  display: grid;
  grid-template-columns: minmax(680px, 1fr) 520px;
  gap: 64px;
  align-items: center;
}

.left-panel,
.right-panel {
  min-width: 0;
}

.left-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.right-panel {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  margin-bottom: 12px;
  color: white;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(0, 221, 255, 0.45);
}

.hero-stack {
  width: 100%;
}

.hero-copy h1 {
  max-width: 820px;
  font-size: clamp(64px, 5.2vw, 88px);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 900;
}

.hero-copy h1 span,
.signup-card h2 span {
  color: #20d5ff;
  text-shadow: 0 0 28px rgba(32, 213, 255, 0.35);
}

.hero-copy p {
  margin-top: 20px;
  max-width: 620px;
  font-size: 18px;
  line-height: 1.6;
  color: #cbd5e1;
}

.dashboard-card {
  margin-top: 28px;
  width: 640px;
  height: 310px;
  min-height: 310px;
  display: flex;
  gap: 20px;
  padding: 20px;
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: 24px;
  background: rgba(8, 20, 39, 0.86);
  box-shadow:
    0 35px 90px rgba(0, 0, 0, 0.55),
    0 0 45px rgba(0, 195, 255, 0.16);
  transform: perspective(1200px) rotateY(7deg) rotateX(2deg);
  transform-origin: center;
}

.dashboard-sidebar {
  width: 136px;
  flex: 0 0 136px;
  border-right: 1px solid rgba(148, 163, 184, 0.16);
}

.dashboard-sidebar img {
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
}

.dashboard-sidebar p {
  padding: 8px 10px;
  color: #94a3b8;
  font-size: 13px;
  border-radius: 10px;
}

.dashboard-sidebar .active {
  color: white;
  background: linear-gradient(90deg, #0891b2, #2563eb);
}

.dashboard-main {
  flex: 1;
  min-width: 0;
}

.dashboard-main h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.dashboard-main > p {
  color: #94a3b8;
  margin-bottom: 14px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.stats div,
.task-card {
  padding: 12px;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.stats small {
  color: #94a3b8;
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
}

.stats strong {
  font-size: 24px;
}

.task-card strong {
  display: block;
  margin-bottom: 8px;
}

.task-card p {
  margin-top: 6px;
  color: #cbd5e1;
  font-size: 12px;
}

.signup-card {
  width: 520px;
  max-width: 100%;
  padding: 26px 30px;
  border-radius: 24px;
  background: rgba(5, 16, 34, 0.86);
  border: 1px solid rgba(56, 189, 248, 0.48);
  box-shadow:
    0 0 55px rgba(0, 195, 255, 0.22),
    inset 0 0 35px rgba(59, 130, 246, 0.05);
  backdrop-filter: blur(18px);
}

.signup-card h2 {
  font-size: 32px;
  margin-bottom: 8px;
  line-height: 1.08;
}

.subtitle {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 14px;
}

.social-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.google-btn,
.linkedin-btn,
.signup-btn {
  width: 100%;
  height: 42px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.signup-social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.social-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.linkedin-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 5px;
  background: #f5f7ff;
  color: #0a66c2;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.google-btn {
  background: white;
  color: #020617;
}

.linkedin-btn {
  background: rgba(2, 6, 23, 0.28);
  color: white;
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.divider {
  margin: 12px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #94a3b8;
}

.divider span {
  flex: 1;
  height: 1px;
  background: rgba(148, 163, 184, 0.3);
}

.divider p {
  font-size: 13px;
}

.signup-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.auth-field {
  display: block;
  min-width: 0;
  font-weight: 700;
  font-size: 13px;
}

.auth-field.full {
  grid-column: 1 / -1;
}

.auth-field > span {
  display: block;
  margin-bottom: 6px;
}

.auth-field em {
  color: #94a3b8;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.auth-field input {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(2, 6, 23, 0.78);
  color: white;
  outline: none;
}

.auth-field input::placeholder {
  color: #94a3b8;
  opacity: 1;
}

.auth-field input:focus {
  border-color: #20d5ff;
  box-shadow: 0 0 0 3px rgba(32, 213, 255, 0.12);
}

.auth-field.is-invalid input {
  border-color: rgba(255, 143, 159, 0.78);
  box-shadow: 0 0 0 3px rgba(255, 143, 159, 0.12);
}

.auth-password {
  position: relative;
}

.auth-password input {
  padding-right: 68px;
}

.auth-password-toggle {
  position: absolute;
  right: 7px;
  top: 50%;
  height: 28px;
  min-width: 52px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgba(32, 213, 255, 0.12);
  color: #bff7ff;
  border: 1px solid rgba(32, 213, 255, 0.24);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.auth-helper,
.auth-field-error {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.auth-helper {
  color: #94a3b8;
}

.auth-field-error {
  color: #ffb8c3;
}

.auth-field-error[hidden] {
  display: none !important;
}

.password-strength {
  margin-top: 10px;
}

.strength-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
}

.strength-track span {
  display: block;
  width: 8%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22d3ee, #2563eb);
  transition: width 180ms ease;
}

.password-strength p {
  margin-top: 7px;
  color: #cbd5e1;
  font-size: 11px;
  line-height: 1.4;
}

.signup-toggle-row {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.auth-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.45;
}

.auth-check input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: #20d5ff;
}

.auth-inline-link,
.login-link a,
.terms a {
  color: #20d5ff;
  font-weight: 800;
  text-decoration: none;
}

.consent-error {
  margin-top: 8px;
}

.signup-btn {
  height: 46px;
  margin-top: 12px;
  background: linear-gradient(90deg, #22d3ee, #2563eb);
  color: white;
  font-size: 16px;
  box-shadow: 0 0 28px rgba(37, 99, 235, 0.42);
}

.signup-btn.is-loading {
  opacity: 0.82;
}

.auth-message {
  display: none;
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 143, 159, 0.34);
  border-radius: 12px;
  color: #ffd2da;
  background: rgba(255, 143, 159, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.auth-message.is-success {
  border-color: rgba(114, 240, 200, 0.3);
  color: #cffff0;
  background: rgba(114, 240, 200, 0.08);
}

.login-link,
.terms {
  text-align: center;
  color: #cbd5e1;
}

.login-link {
  margin-top: 10px;
  font-size: 14px;
}

.terms {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.5;
}

.is-pressing {
  transform: scale(0.985);
}

@media (max-width: 1260px) {
  .signup-page {
    padding: 30px 34px;
  }

  .signup-shell {
    grid-template-columns: minmax(0, 1fr) 500px;
    gap: 42px;
  }

  .hero-copy h1 {
    font-size: clamp(52px, 5.4vw, 68px);
  }

  .dashboard-card {
    width: min(610px, 100%);
    height: 318px;
    min-height: 318px;
  }

  .signup-card {
    width: 500px;
    padding: 30px;
  }
}

@media (max-width: 1060px) {
  .signup-page {
    align-items: flex-start;
    padding: 28px;
    overflow: visible;
  }

  .signup-shell {
    max-width: 680px;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .brand {
    margin-bottom: 44px;
  }

  .dashboard-card {
    width: 100%;
    height: auto;
    min-height: 0;
    transform: none;
  }

  .right-panel {
    justify-content: flex-start;
  }

  .signup-card {
    width: 100%;
    max-width: 560px;
  }
}

@media (max-width: 620px) {
  .signup-page {
    padding: 22px 16px 32px;
  }

  .signup-shell {
    gap: 34px;
  }

  .brand {
    margin-bottom: 34px;
    font-size: 24px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .hero-copy h1 {
    font-size: clamp(44px, 14vw, 58px);
    line-height: 0.98;
  }

  .hero-copy p {
    max-width: 340px;
    font-size: 16px;
  }

  .dashboard-card {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    display: block;
    padding: 18px;
  }

  .dashboard-sidebar {
    display: none;
  }

  .stats,
  .social-row,
  .signup-form-grid {
    grid-template-columns: 1fr;
  }

  .auth-field.full {
    grid-column: auto;
  }

  .signup-card {
    padding: 26px 20px;
    border-radius: 24px;
  }
}
