@font-face {
  font-family: "Avenir Next";
  src: url("../fonts/AvenirNext-Regular.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Avenir Next";
  src: url("../fonts/AvenirNext-Medium.ttf")
    format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Avenir Next";
  src: url("../fonts/AvenirNext-DemiBold.ttf")
    format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: "Avenir Next", Roboto, Helvetica, Arial, sans-serif;
  background:
    url("../images/public.jpg")
      center / cover no-repeat,
    radial-gradient(
      80% 80% at 10% 10%,
      rgba(65, 86, 255, 0.28),
      transparent 60%
    ),
    radial-gradient(
      70% 70% at 90% 15%,
      rgba(0, 217, 255, 0.18),
      transparent 55%
    ),
    #0b0f2a;
  color: #e8ebff;
  min-height: 100vh;
}

a {
  color: #46d0ff;
  text-decoration: none;
}

.signup-page {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(360px, 500px);
  gap: 48px;
  padding: 64px 32px;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}

.signup-right {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.signup-hero {
  max-width: 520px;
  justify-self: start;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  width: 36px;
  height: 36px;
}

.brand-name {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.signup-hero h1 {
  font-size: 25px;
  line-height: 1.4;
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.55px;
  text-align: unset;
  color: rgb(193, 193, 200);
}

.hero-accent {
  display: block;
  font-weight: 600;
  font-size: 25px;
  line-height: 24px;
  letter-spacing: 0.55px;
  white-space: nowrap;
  color: transparent;
  background-image: linear-gradient(90deg, rgb(63, 59, 177), rgb(19, 142, 160)) !important;
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-media {
  box-sizing: border-box;
  margin: auto 0 0;
  padding-top: 80px;
  max-width: none;
}

.hero-media img {
  width: 100%;
  max-width: 450px;
  display: block;
  filter: none;
}

.signup-hero p {
  color: #b6c1ff;
  font-size: 16px;
  margin: 0;
}

.hero-media {
  margin-top: 32px;
  max-width: 440px;
}

.hero-media img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 24px 40px rgba(5, 10, 40, 0.6));
}

.signup-card {
  width: 100%;
  max-width: 500px;
  padding: 12px 10px;
  background: rgb(16, 18, 37);
  border: 1px solid rgb(42, 40, 58);
  border-radius: 5px;
  text-align: center;
  justify-self: center;
}

.progress {
  height: 10px;
  background: rgb(193 193 200 / 25%);
  border-radius: 4px;
  /* border: 1px solid rgb(21, 4, 72); */
  overflow: hidden;
  margin-bottom: 20px;
}

.progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(289.8deg, rgb(20, 156, 173) 0%, rgb(69, 64, 193) 100%);
  transition: width 0.25s ease;
}

.signup-card h2 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 36px;
  font-weight: 500;
  letter-spacing: 0.55px;
  color: rgb(193, 193, 200);
}

.subtitle {
  margin: 0 0 20px;
  color: rgb(193, 193, 200);
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  letter-spacing: 0.55px;
}

.signup-form {
  display: grid;
  gap: 16px;
}

.login__form.lead-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 22px;
  width: 100%;
  max-width: 414px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.login__label {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 12px;
  row-gap: 6px;
  font-family: "Avenir Next", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0.55px;
}

.login__input-name {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  max-width: 133%;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: flex;
  position: static;
  flex-direction: row;
  justify-content: space-between;
  font-size: 15px;
  line-height: 24px;
  font-weight: 400;
  color: rgb(169, 169, 186);
}

.login__error {
  min-height: 14px;
  color: #ff8aa0;
  font-size: 13px;
  line-height: 24px;
  justify-self: end;
}

.login__label .login__input-wrap,
.login__label .login__input,
.login__label .full_phone {
  grid-column: 1 / -1;
}

.login__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  margin-top: 10px;
}

.login__input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: rgb(112, 111, 130);
  opacity: 0.9;
  pointer-events: none;
}

.login__input-wrap .login__input {
  padding-left: 52px;
}

.login__input {
  box-sizing: border-box;
  background: rgb(16, 18, 37);
  border: 1px solid rgb(53, 51, 74);
  border-radius: 5px;
  padding: 12px 24px;
  margin-top: 0;
  min-height: 60px;
  width: 100%;
  display: block;
  color: rgb(255, 255, 255);
  font-size: 15px;
  line-height: 1.4375em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login__input::placeholder {
  color: rgba(225, 233, 240, 0.45);
  font-size: 14px;
}

.login__input:focus {
  outline: none;
  border-color: rgba(118, 130, 247, 0.6);
  box-shadow: 0 0 0 3px rgba(118, 130, 247, 0.15);
}

.login__btn.btn-gold {
  border-radius: 5px;
  padding: 10px 36px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: linear-gradient(289.8deg, rgb(20, 156, 173) 0%, rgb(69, 64, 193) 100%);
  color: rgb(225, 233, 240);
  text-transform: uppercase;
  transition: box-shadow 0.2s ease;
  width: 100%;
  min-height: 60px;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 1.1px;
  box-shadow: rgba(25, 25, 39, 0.36) 0 12px 16px -8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.login__btn.btn-gold .login__btn-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.login__btn.btn-gold .button-hover-background-5 {
  z-index: 0;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  transform: translateX(-101%);
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.login__btn.btn-gold:hover .button-hover-background-5 {
  transform: translateX(0);
}

.login__description.small-text {
  margin: 0;
  font-size: 13px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: 0.55px;
  color: rgb(112, 111, 130);
  text-align: center;
}

.field {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: #c9d2ff;
}

.field input {
  background: rgba(9, 12, 34, 0.9);
  border: 1px solid rgba(110, 132, 255, 0.4);
  border-radius: 10px;
  padding: 12px 14px;
  color: #e8ebff;
  font-size: 14px;
}

.field small {
  color: #8e9bde;
  line-height: 1.4;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: #a6b3ff;
}

.checkbox input {
  margin-top: 2px;
}

.primary,
.secondary {
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.primary {
  background: linear-gradient(90deg, #4a5cff, #34e1ff);
  color: #0a0e27;
}

.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #d7e0ff;
  border: 1px solid rgba(120, 136, 255, 0.4);
}

.divider {
  position: relative;
  text-align: center;
  color: #7e8ad1;
  font-size: 12px;
}

.divider::before,
.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: rgba(127, 146, 255, 0.3);
}

.divider::before {
  left: 0;
}

.divider::after {
  right: 0;
}

.trust {
  margin: 18px 0 0;
  font-size: 12px;
  color: #8e9bde;
  text-align: center;
}

.trust-section {
  padding: 24px 6vw 64px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.trust-badges {
  box-sizing: border-box;
  display: flex;
  flex-flow: wrap;
  width: 100%;
  margin: 25px 0 0;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: none;
  font-size: 100%;
  color: rgb(225, 233, 240);
}

.trust-badges--under-card {
  max-width: 500px;
  margin: 14px 0 0;
}

.badge {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0;
  background: rgba(8, 12, 34, 0.7);
  overflow: hidden;
}

.badge img {
  display: block;
  height: 40px;
  width: auto;
}

.trust-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.trust-title h3 {
  margin: 0;
  font-size: 20px;
}

.trust-subtitle {
  margin: 0 0 24px;
  color: #9fb0ff;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.logo-row img {
  max-height: 36px;
  width: auto;
  margin: 0 auto;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .signup-page {
    grid-template-columns: 1fr;
    padding: 48px 8vw;
  }

  .signup-hero h1 {
    font-size: 32px;
  }

  .trust-section {
    padding: 16px 8vw 48px;
  }

  .signup-card {
    justify-self: center;
  }

  .signup-right {
    grid-column: 1;
  }
}



