@import url("../tokens.css?v=20261014-17");

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--ui-font);
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 15%, rgba(194, 92, 255, .22), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(255, 83, 196, .18), transparent 30%),
    radial-gradient(circle at 50% 95%, rgba(104, 90, 255, .18), transparent 34%),
    #faf8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  color: #2d2538;
}

.page {
  width: 100%;
  max-width: 1120px;
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 42px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(91, 50, 145, .18);
  backdrop-filter: blur(24px);
}

.brand {
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(135deg, rgba(255,255,255,.72), rgba(255,255,255,.36)),
    radial-gradient(circle at 25% 30%, rgba(166, 77, 255, .26), transparent 28%);
}

.logo {
  width: 190px;
}

.hero h1 {
  font-size: 54px;
  line-height: 1;
  letter-spacing: -3px;
  margin-bottom: 22px;
}

.hero h1 span {
  background: linear-gradient(135deg, #ff3fc8, #7b3cff);
  -webkit-background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 470px;
  font-size: 18px;
  line-height: 1.7;
  color: #696177;
}

.badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.badge {
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  border: 1px solid #e5dfed;
  color: #6b587f;
  font-size: 13px;
  font-weight: 700;
}

.form-area {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 46px;
}

.form-card {
  width: 100%;
  max-width: 410px;
  background: #fff;
  border-radius: 34px;
  padding: 40px 36px;
  box-shadow: 0 28px 70px rgba(45, 26, 78, .12);
}

.form-card h2 {
  font-size: 32px;
  letter-spacing: -1.2px;
  margin-bottom: 8px;
}

.text {
  color: #7b7287;
  font-size: 15px;
  margin-bottom: 26px;
  line-height: 1.5;
}

.message,
.error,
.success {
  font-size: 14px;
  margin-bottom: 14px;
  color: #7b3cff;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #5c536b;
  margin-bottom: 8px;
}

input {
  width: 100%;
  height: 54px;
  border-radius: 18px;
  border: 1px solid #e5dfed;
  background: #fbfaff;
  padding: 0 18px;
  font-size: 15px;
  outline: none;
  color: #2d2538;
  transition: .25s;
}

input:focus {
  border-color: #8b45ff;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(139,69,255,.12);
}

button {
  width: 100%;
  height: 58px;
  border: none;
  border-radius: 19px;
  margin-top: 10px;
  background: linear-gradient(135deg, #ff3fc8, #7b3cff);
  color: #746780;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(123,60,255,.26);
  transition: .25s;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(123,60,255,.34);
}

.login-link {
  margin-top: 24px;
  text-align: center;
}

.login-link a {
  font-size: 14px;
  font-weight: 700;
  color: #7b3cff;
  text-decoration: none;
}

.login-link a:hover {
  color: #ff3fc8;
}

.footer {
  margin-top: 26px;
  font-size: 12px;
  color: #746780;
  text-align: center;
}

@media (max-width: 850px) {
  .page {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .brand {
    display: none;
  }

  .form-area {
    padding: 24px;
  }

  .form-card {
    padding: 36px 26px;
  }
}
