﻿@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/ui/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: auto;
  height: 30px;
}

.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;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  margin-top: 10px;
}

.email-suggestion {
  width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 217, 255, 0.28);
  border-radius: 5px;
  background: rgba(16, 18, 37, 0.55);
  color: rgb(193, 193, 200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.email-suggestion[hidden] {
  display: none;
}

.suggestion-text {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(225, 233, 240, 0.85);
}

.suggestion-text strong {
  color: rgb(225, 233, 240);
  font-weight: 600;
}

.suggestion-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.suggestion-btn {
  border: 1px solid rgba(0, 217, 255, 0.35);
  border-radius: 4px;
  background: rgba(8, 12, 34, 0.45);
  color: rgba(225, 233, 240, 0.95);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 7px 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.suggestion-btn:hover {
  border-color: rgba(0, 217, 255, 0.55);
  background: rgba(8, 12, 34, 0.75);
  color: rgb(225, 233, 240);
}

.login__input-icon {
  position: absolute;
  left: 18px;
  top: 30px;
  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);
}

/* Signup + intl-tel-input consistency */
.login__input-wrap .iti {
  width: 100% !important;
  display: block !important;
}

.login__input-wrap .iti .iti__tel-input,
.login__input-wrap .iti input[type="tel"] {
  width: 100% !important;
  min-height: 60px;
  height: 60px;
  padding-left: 58px !important;
  padding-right: 24px !important;
}

.login__input-wrap .iti.iti--separate-dial-code .iti__tel-input,
.login__input-wrap .iti.iti--separate-dial-code input[type="tel"] {
  padding-left: 118px !important;
}

.login__input-wrap .iti__selected-flag {
  padding-left: 16px !important;
  padding-right: 8px !important;
}

.login__input-wrap .iti__dropdown-content,
.login__input-wrap .iti__country-list {
  background: rgb(16, 18, 37) !important;
  border: 1px solid rgb(53, 51, 74) !important;
  border-radius: 10px !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.46) !important;
  color: rgb(225, 233, 240) !important;
  z-index: 9999 !important;
}

.login__input-wrap .iti__dropdown-content {
  overflow: hidden;
}

.login__input-wrap .iti__search-input {
  width: calc(100% - 20px) !important;
  margin: 10px auto !important;
  min-height: 40px !important;
  height: 40px !important;
  border: 1px solid rgb(53, 51, 74) !important;
  border-radius: 8px !important;
  background: rgb(16, 18, 37) !important;
  color: rgb(225, 233, 240) !important;
  padding: 8px 12px !important;
}

.login__input-wrap .iti__search-input::placeholder {
  color: rgba(225, 233, 240, 0.55) !important;
}

.login__input-wrap .iti__country {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  color: rgb(225, 233, 240) !important;
  transition: background-color 0.2s ease;
}

.login__input-wrap .iti__country-name {
  color: rgb(225, 233, 240) !important;
}

.login__input-wrap .iti__dial-code {
  color: rgba(225, 233, 240, 0.7) !important;
}

.login__input-wrap .iti__country:hover,
.login__input-wrap .iti__country.iti__highlight,
.login__input-wrap .iti__country.iti__active {
  background: rgba(70, 208, 255, 0.14) !important;
}

.login__input-wrap .iti__divider {
  border-bottom-color: rgba(255, 255, 255, 0.14) !important;
}

.login__input-wrap .iti__country-list::-webkit-scrollbar {
  width: 9px;
}

.login__input-wrap .iti__country-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.login__input-wrap .iti__country-list::-webkit-scrollbar-thumb {
  background: rgba(70, 208, 255, 0.38);
  border-radius: 8px;
}

.login__input-wrap .iti__country-list::-webkit-scrollbar-thumb:hover {
  background: rgba(70, 208, 255, 0.55);
}

/* Keep field style identical after input/validation */
.login__input.valid,
.login__input.invalid,
.login__input[aria-invalid="true"] {
  background: rgb(16, 18, 37) !important;
  border-color: rgb(53, 51, 74) !important;
  box-shadow: none !important;
}

.login__input-wrap .iti.iti--valid .iti__tel-input,
.login__input-wrap .iti.iti--invalid .iti__tel-input,
.login__input-wrap .iti .iti__tel-input.valid,
.login__input-wrap .iti .iti__tel-input.invalid,
.login__input-wrap .iti .iti__tel-input[aria-invalid="true"] {
  background: rgb(16, 18, 37) !important;
  border-color: rgb(53, 51, 74) !important;
  box-shadow: none !important;
}

/* Remove browser autofill recoloring */
.login__input:-webkit-autofill,
.login__input:-webkit-autofill:hover,
.login__input:-webkit-autofill:focus,
.login__input:-webkit-autofill:active,
.login__input-wrap .iti .iti__tel-input:-webkit-autofill,
.login__input-wrap .iti .iti__tel-input:-webkit-autofill:hover,
.login__input-wrap .iti .iti__tel-input:-webkit-autofill:focus,
.login__input-wrap .iti .iti__tel-input:-webkit-autofill:active {
  -webkit-text-fill-color: rgb(255, 255, 255) !important;
  -webkit-box-shadow: 0 0 0 1000px rgb(16, 18, 37) inset !important;
  box-shadow: 0 0 0 1000px rgb(16, 18, 37) inset !important;
  background: rgb(16, 18, 37) !important;
  caret-color: rgb(255, 255, 255) !important;
  font-weight: 400 !important;
  transition: background-color 9999s ease-out 0s;
}

.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: 0px;
    font-family: "Avenir Next", Roboto, Helvetica, Arial, sans-serif;
    letter-spacing: 0.55px;
    color: rgb(193, 193, 200);
    line-height: 28px;
    font-size: 25px;
    font-weight: 600;
    text-align: unset;
}

.trust-subtitle {
/* margin: 0px; */
    font-family: "Avenir Next", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 400;
    letter-spacing: 0.55px;
    line-height: 24px;
    color: rgb(169, 169, 186);
    font-size: 20px;
    text-align: unset;
}

.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;
  }
}

/* ── Media-logo fixes ───────────────────────────────────────────────────── */
/* Original class dims logos to 77% opacity, making white appear grayish.   */
/* Override to full opacity so the logos render as proper white.             */
.logos-off {
  opacity: 1 !important;
  /* Keep the whitening filter but drop the 23% dimming */
  filter: brightness(200%) grayscale(100%) !important;
  /* Slightly larger than the minified-CSS max-width of 181px */
  max-width: 210px !important;
  max-height: 38px !important;
}

/* Responsive size adjustments to match the original breakpoints but bigger */
@media screen and (max-width: 991px) {
  .logos-off {
    max-width: 170px !important;
    max-height: 36px !important;
  }
}

@media screen and (max-width: 767px) {
  .logos-off {
    max-width: 150px !important;
    max-height: 32px !important;
  }
}

@media screen and (max-width: 479px) {
  .logos-off {
    max-width: 130px !important;
    max-height: 29px !important;
  }
}

