:root {
  --bg-main: #FFF;
  --button:  linear-gradient(153deg, #6658FF 4.38%, #3627FE 81.13%);
}

* {
    margin: 0;
    padding: 0;
}
a {
    text-decoration: none;
}
body {
  background-color: #FFF;
}
body, button {
    font-family: "Outfit", sans-serif;
}
html {
  scroll-behavior: smooth;
}
.terms-wrap {
  background: var(--bg-main);
}
.terms-content {
  font-family: "Outfit", sans-serif;
  color: #27272A;
  max-width: 80%;
  margin: auto;
  padding-top: 80px;
}
.terms-text {
  color: #A6B4C8;
  font-size: 12px;
  line-height: 2;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-main);
  padding: 10px 50px;
  position: fixed;
  width: 100%;
  box-sizing: border-box;
  z-index: 10;
  top: 0;
}
button {
  cursor: pointer;
}
.first {
  margin-top: 64px;
}
.header-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}


.header-link {
  font-size: 14px;
  font-weight: 700;
  color: #000; 
}
.header-link:hover {
  color: #4C4DFF;
}
.logo {
    max-height: 40px;
}
header .button-join {
  font-size: 14px;
  padding: 11px 24px;
}
.button-join {
  background: var(--button);
  font-size: 18px;
  font-weight: 600;
  color:  #FFF;
  padding: 16px 46px;
  border-radius: 12px;
  border: none;

}
.join {
  background: var(--button);
  font-size: 18px;
  font-weight: 600;
  color:  #FFF;
  padding: 16px 46px;
  border-radius: 12px;
  border: none;
}
.join:hover {
  background: linear-gradient(153deg, #4234FF 4.38%, #7E72FF 81.13%);
}

.button-join:hover {
  background: linear-gradient(153deg, #4234FF 4.38%, #7E72FF 81.13%);
}
.button-big {
  font-size: 18px;
  padding: 16px 40px;
  transition: transform 0.6s ease-in-out;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
.button-block > .button-join {
  font-size: 16px;
  padding: 13px 28px;
}

.firstscreen {
  background: url('img/bg-desk.jpg') no-repeat bottom right;
  background-size: cover;
  margin-top: 60px;
}
.firstscreen-text {
  margin: 20px 0 44px;
}
.content-block {
  padding: 125px 10% 120px;
  max-width: 570px;
}
.title {
  color: #27272A;
  font-size: 36px;
  font-weight: 700;
  line-height: 130%;
}
.text {
  color: #27272A;
  font-size: 22px;
  font-weight: 400;
  line-height: 130%;
}
.cards-block {
  background: var(--bg-main);
  padding-top: 5%;
  padding-bottom: 5%;
}
.card-title {
  text-align: center;
  font-size: 23px;
  font-weight: 700;
  padding-bottom: 20px;
}


.card-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  color: #606B95;
  text-align: center;
}
.cards {
  display: flex;
  justify-content: space-between;
  max-width: 80%;
  margin: auto;
  gap: 24px;
}
.card {
  background: #E9ECF1;
  padding: 30px 24px 24px 24px;
  color:#27272A;
  flex: 1;
  position: relative;
  border-radius: 16px;
}
.card-icon {
  position: absolute;
  top: -60px;
  left: 35%;
}
.advantage {
  background: url('img/Advantages-bg.jpg') no-repeat top center;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
  min-height: 600px;
}
.ad-block {
  display: flex;
  justify-content: center;
  gap: 3%;
  padding-top: 45px;
  font-size: 16px;
  font-weight: 400;
  color: #606B95;
}
.ad-title {
  font-size: 22px;
  font-weight: 700;
  color: #27272A;
}
.percent-block {
  color:#606B95;
  min-width: fit-content;
}
.percent-img {
  width: auto;
  height: 130px;
}
.locations {
  background: var(--bg-main);

}
.run-string {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  background:linear-gradient(153deg, #FF58F8 4.38%, #AC27FE 81.13%);
  color: #fff;
  padding: 20px 0;
  font-size: 22px;
  font-weight: 500;
  }
  
.run-string-text {
  display: flex;
  animation: marquee 30s linear infinite;
  min-width: 200%; 
}
  
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.phone {
  max-height: 720px;
  animation: swing 2s infinite ease-in-out alternate;
}

@keyframes swing {
    0% { transform: rotate(-3deg); }
    100% { transform: rotate(3deg); }
}

.loc-content {
  display: flex;
  justify-content: center;
  padding-top: 20px
}
.loc-text {
  padding-top: 90px;
  line-height: 20px;
}
.locations {
  color: #606B95;
}
.pay-text {
  margin-bottom: 10px;
}
.countries {
  display: flex;
  flex-wrap: wrap;
  max-width: 700px;
  margin: 20px 0;
  gap: 20px;
}
.countries-title {
  color: #27272A;
  font-size: 18px;
  font-weight: 700;
  margin: 20px 0 10px;
}
.country {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 400;
}
.flex-block {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 400;
  gap: 22px;
  margin-bottom: 20px;
}
.button-block {
  margin-top: 30px;
  display: flex;
  gap: 10px;
}
.color-text {
  color: #4C4DFF;
  font-size: 16px;
  font-weight: 500;
}
.bold {
  font-weight: 700;
  color:#27272A;
}
.button-dark {
  padding: 11px 28px;
  border-radius: 10px;
  border: 1px solid #D6DDE7;
  background: #F5F7F9;
  color: #27272A;
  font-size: 16px;
  font-weight: 600;
}
.button-dark:hover {
  background: #D6DDE7 ;
}
.faq {
  background: var(--bg-main);
  text-align: center;
  padding-top: 100px;
}
.faq-wrapper {
  max-height: 470px;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.faq-title {
  margin-bottom: 30px;
}
.faq-content {
  max-width: 80%;
  margin: auto;
}
.faq-card {
  border-radius: 14px;
  background: #ECEFF4;
  color:#606B95;
  padding: 18px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 80%;
  margin: auto;
  text-align: left;
  margin-bottom: 12px;
}

.faq-card-title {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  color:#27272A;
  align-items: center;
}
.faq-card-title h4 {
  font-size: 16px;
}
.faq-button {
  margin: 20px 0 0;
}
.open {
  background:#E9ECF1;
  box-shadow:  0px 1px 0px 0px #4C4DFF inset;;
}
.arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-card-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease, padding 0.2s ease;
}
.faq-card.open .faq-card-content {
  max-height: 200px; 
  padding-top: 25px;
  line-height: 24px;
  font-size: 15px;
}

.faq-card.open .arrow {
  transform: rotate(180deg); 
}

.testimonials {
  background: var(--bg-main);
  text-align: center;
  padding-top: 80px;
  padding-bottom: 120px;
  position: relative;
}

.testim-content {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  width: 80%;
  margin: auto;
  padding: 32px 0 32px;

}
.testim-card {
  background:  #ECEFF4;
  border-radius: 16px;
  color: #606B95;
  padding: 24px;
  flex: 1;
  text-align: left;
  max-width: 362px;
}

.title-content {
  display: flex;
  align-items: center;
  gap: 20px;
}
.test-link {
  font-size: 18px;
  font-weight: 700;
  color: #27272A;
  text-decoration: underline;
}
.expanded {
  max-height: none; 
}
.test-text {
  margin-top: 15px;
  line-height: 24px;
}
.contact {
  background: url('img/contact-us-bg.jpg') no-repeat top center;
  text-align: center;
  color: #27272A;
  padding: 140px 0 80px;
}
.contact-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  margin: 10px auto 30px;
  max-width: 300px;
}
.contact-link {
  font-size: 14px;
  color: #27272A;
  font-weight: 500;
}
.contact-block {
  background: #FFF;
  color: #27272A;
  border-radius: 8px;
  padding: 12px 18px;
  display: flex;
  align-items: center; 
  gap: 8px;
}
.contact-content {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}
.mobile-menu {
  display: none;
}
.hidden {
  display: none;
}
.card {
  max-width: 400px;
}

@media screen and (min-width: 1800px) {
  .testim-card {
    min-width: 300px;
  }
}
@media screen and (min-width: 1025px) {
  .card-title {
    min-height: 112px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
@media screen and (max-width: 1280px) {
  .firstscreen {
    background: url(img/bg-desk.jpg) no-repeat right center;
  }
  .ad-block {
    flex-wrap: wrap;
    max-width: 80%;
    margin: auto;
    margin-top: 30px;
    padding-top: 0;
    gap: 20%;
    row-gap: 50px;
  }
  .cards {
    max-width: 90%;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media screen and (max-width: 1024px) {
  .phone {
    max-height: 555px;
  }
  .firstscreen {
    background: url(img/bg-desk.jpg) no-repeat top right;
    background-size: 1380px;
  }
  .content-block {
    padding: 60px 30px 60px;
    max-width: 430px;
  }
  .title {
    font-size: 32px;
  }
  .text {
    font-size: 16px;
  }
  .card-title {
    font-size: 20px;
  }
  .card-text {
    font-size: 16px;
  }
  .card {
    max-width: 340px;
    padding: 50px 24px 24px 24px;
    margin-bottom: 55px;
    flex: auto;
  }
  .card-icon {
    width: 100px;
    height: auto;
  }
  .advantage {
    padding: 0 0 120px;
    min-height: auto;
    background: url(img/Advantages-bg.jpg) no-repeat bottom center;
  }
  .loc-text {
    max-width: 345px;
    padding-top: 0;
  }
  .logo-big {
    width: 80px;
  }
  .faq {
    padding-top: 80px;
  }
  .faq-card {
    width: 90%;
  }
  .testimonials {
    padding-top: 80px;
  }
  .contact {
    padding: 80px 0 60px;
  }
}
@media screen and (max-width: 769px) {
  .firstscreen {
    background: url(img/bg-desk.jpg) no-repeat top right;
    background-size: 1214px auto;
  }
  .content-block {
    max-width: 400px;
  }
  
  .mobile-menu {
    display: block;
  }
}

@media screen and (max-width: 900px) {
  .mobile-menu {
    display: block;
    z-index: 200;
  }
  .header-menu {
    display: none;
    position: absolute;
    flex-direction: column;
    top: 60px;
    left: 0;
    background: #ECEFF4;
    width: 100%;
    text-align: center;
    padding: 30px 0;
  }

  .logo {
    margin-left: 20px;
  }
}
@media screen and (max-width: 768px) {
  .content-block>.title {
    font-size: 26px;
  }
  .loc-content {
    flex-direction: column;
  }
  .loc-text {
    margin: auto;
  }
  .phone {
    width: max-content;
    margin: auto;
  }
}
@media screen and (max-width: 620px) {

  header {
    padding: 8px 14px;
  }
  .content-block>.title {
    max-width: 80%;
    margin: auto;
  }

  .contact-content {
    flex-direction: column;
  }
  .firstscreen {
    margin-top: 40px;
    background: url(img/bg-mob.jpg) no-repeat center center;
  }
  .button-join {
    font-size: 14px;
    padding: 11px 18px;
  }
  
  .header-menu {
    top: 72px;
  }
  .content-block {
    margin: auto;
    padding: 42px 0 0 0;
    text-align: center;
  }
  .firstscreen {
    height: 610px;
  }
  .firstscreen-text {
    margin: 20px 14px 33px;
  }
  .button-big {
    font-size: 18px;
    padding: 15px 40px;
  }
  .cards-block {
    padding-top: 80px;
  }
  .cards {
    gap: 70px;
  }
  .card {
    margin-bottom: 0;
  }
  .advantage {
    padding: 50px 0 45px;
  }
  .terms-content {
    max-width: 100%;
    padding: 80px 14px 0;
  }
  .ad-block {
    max-width: 93%;
  }
  .percent-img {
    height: 130px;
  }
  .ad-title {
    padding-top: 7px;
  }
  .ad-text {
    max-width: 120px;
    padding: 8px 0 20px;
  }
  .loc-text {
    padding-top: 20px;
    text-align: center;
    max-width: 94%;
  }
  .flex-block {
    flex-direction: column;
  }
  .countries {
    justify-content: center;
  }
  .button-block {
    justify-content: center;
  }
 
  .button-block > .button-dark {
    padding: 13px 40px;
  }
  .faq {
    padding: 80px 14px 0 14px;
  }
  .testim-content {
    width: 90%;
  }
  .contact-block {
    text-align: center;
    width: fit-content;
  }
  .contact-content {
    align-items: center;
  }
  .logo {
    margin: 8px 0 8px 20px;
  }
  .first {
  margin-top: 75px;
  }
  .ad-block {
    gap: 5%;
  }
}

/* form styles */

* {
  margin: 0;
  padding: 0;
}
.popup {
  display: none;
  font-family:"Outfit", sans-serif;
  color: #FFF;
  z-index: 100;
}
.popup.active {
  display: flex;
  position: fixed;
  top: 0;
  width: 100%;
  background: #FFF;
  height: 100vh;
}
h1 {
  font-size: 32px;
}
h2 {
  font-size: 22px;
}
h3 {
  font-size: 20px; 
}
h4 {
  font-size: 18px; 
}
h5 {
  font-size: 16px; 
}

h1, h2, h3, h4, h5{
  line-height: 2;
}
ol li::marker, ul li::marker {
  color: #4C4DFF;
  padding-right: 12px;
}
ol li, ul li {
  padding-left: 40px;
  font-size: 12px;
  line-height: 2;
  color: #A6B4C8;
}
.terms-link {
  display: block;
  color:#4C4DFF;
  font-size: 12px;
  font-weight: 500;
  line-height: 2;
  text-decoration: underline;
}
.terms-block {
  margin-top: 48px;
}
.popup-close {
  position: absolute;
  right: 24px;
  top: 24px;
  cursor: pointer;
  background: #F5F7F9;
  border: 1px solid #D6DDE7;
  padding: 14px;
  border-radius: 12px;
}
.popup-close:hover {
  background: #cad0da;
}
.form-block {
  background: #FFF;
  flex: 1;
  text-align: center;
}
.form {
  width: 60%;
  margin: auto;
  display: flex;
  flex-direction: column;
  text-align: left;
  max-width: 430px;
}
#registration-form {
  max-height: 350px;
  overflow-y: scroll;
  scrollbar-width: none;
  padding: 0 2px;
}
input {
  background:  #EAECF3;
  border: 1px solid #D6DDE7;
  border-radius: 12px;
  width: 100%;
  color: #000;
  box-sizing: border-box;
  font-family:"Outfit", sans-serif;
  font-size: 16px;
  font-weight: 400;
}
.toggle-container {
  position: relative;
  width: 230px;
  height: 46px;
  background: #F5F7F9;
  border: 1px solid #D6DDE7;
  border-radius: 12px;
  display: none;
  align-items: center;
  cursor: pointer;
  margin: auto;
}
.toggle-button {
  position: absolute;
  width: 48%;
  height: 40px;
  background: #4C4DFF;
  border-radius: 8px;
  transition: all 0.3s ease;
  left: 4px;
}
.toggle-container.right .toggle-button {
  left: 50%;
}
.toggle-label {
  flex: 1;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  z-index: 1;
  transition: color 0.3s ease;
  color: #606B95;
}
.toggle-label.active {
  color: white;
}
.form {
  display: none;
  margin-top: 40px;
}
.form.active {
  display: flex;
}
.form-title {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}
.form-label {
  display: block;
  font-size: 14px;
  margin-top: 16px;
  text-align: left;
  color: #27272A;
  font-weight: 600;
}
.form-input {
  min-height: 48px;
}
.form-button {
  margin: 24px 0 16px;
}
input::placeholder {
  font-size: 14px;
  font-weight: 400;
  color: rgba(39, 39, 42, 0.6);
  font-family:"Outfit", sans-serif;
}
.form-textarea::placeholder {
  color: rgba(39, 39, 42, 0.6);
  font-weight: 400;
}
input {
  padding-left: 12px
}
.form-link {
  color: #4C4DFF;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  text-decoration: underline;
}
.form-button {
  background: var(--button);
  padding: 13px 28px;
  border-radius: 12px;
  border: none;
  color: #FFF;
  font-size: 16px;
  font-weight: 600;
  font-family:"Outfit", sans-serif;
  cursor: pointer;
}
.form-button:hover {
  background: linear-gradient(153deg, #4234FF 4.38%, #7E72FF 81.13%);
}
.form-logo {
  margin: 50px 0 40px;
  height: 60px;
}
.checkbox-block {
  font-size: 14px;
  color: #27272A;
  position: relative;
  margin-bottom: 10px;
  margin-left: 3px;
}
.checkbox-text {
  margin-left: 28px;
}
.checkbox {
  appearance: none; 
  width: 20px;
  height: 20px;
  border: 2px solid #8C8F99;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: absolute;
  left: -2px;
  top: 2px;
}
.checkbox::before {
  content: url('img/Checkbox.svg');
  text-align: center;
  position: absolute;
  left: -4px;
  top: -3px;
  display: none;
}
.checkbox:checked::before {
  display: block;
}
input {
  margin-top: 5px;
}
.password-container {
  position: relative;
}
.toggle-icon {
  position: absolute;
  right: 10px;
  top: 54px;
  cursor: pointer;
  user-select: none;
  width: 20px;
  height: 20px;
}
.image {
  background: url('img/banner.jpg') top center no-repeat;
  background-color: var(--bg-main);
  background-size: cover;
}
.form-textarea {
  background: #EAECF3;
  border: 1px solid #D6DDE7;
  border-radius: 12px;
  width: 100%;
  color: #FFF;
  font-size: 14px;
  font-weight: 700;
  padding: 12px;
  box-sizing: border-box;
  min-height: 80px;
  font-family:"Outfit", sans-serif;
  margin-top: 8px;
}
.checkbox-text {
  display: block;
  margin-top: 9px;
  font-size: 14px;
  font-weight: 400;
}
input[name="telegram"] {
  margin-bottom: 16px;
}
.error {
  color: #F53D2D;
  font-size: 12px;
  display: none;
}
.invalid {
  background: #280F0F;
  border: 1px solid #F53D2D;
}

.checkbox-invalid {
  border: 2px solid #F53D2D;
}
.invalid-text {
  color: #F53D2D;
}
.hide {
  display: none;
}
.forgot-form {
  display: none;
  width: 60%;
  margin: auto;
  max-width: 430px;
}
.forgot-form.active {
  display: flex;
  flex-direction: column;
}
.button-back {
  padding: 13px 20px;
  background:#F5F7F9;
  color: #27272A;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid  rgba(195, 208, 255, 0.30);
  font-family:"Outfit", sans-serif;
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  margin: auto;
  cursor: pointer;
  margin-bottom: 140px;
  margin-top: 60px;
}
.toggle-container.active {
  display: flex;
}
.password-alert {
  padding: 24px;
  background: #ECEFF4;
  color: #606B95;
  font-size: 14px;
  font-weight: 400;
  border-radius: 16px;
  border: 1px solid #D6DDE7;
  text-align: left;
  position: relative;
  width: 300px;
  display: none;
  position: absolute;
  top: 32px;
  right: 32px;
}
.password-alert h3 {
  font-size: 14px;
  color: #27272A;
  margin-bottom: 10px;
}
.close {
  position: absolute;
  right: 8px;
  top: 8px;
  cursor: pointer;
}
.password-alert.active {
  display: block;
}
.image img {
  width: 100%;
}
.image  {
  width: 50%;
}
@media screen and (min-width: 1920px) {
  .advantage, .contact {
    background-size: cover;
  }
}
@media screen and (max-width: 1400px) {
  .button-back {
      margin-bottom: 60px;
  }
}
@media screen and (max-width: 960px) {
  .image {
      display: none;
  }
  .form {
      width: 90%; 
      margin-bottom: 100px;
  }
  .button-back {
      width: auto;
      margin-bottom: 40px;
  }
  .forgot-form.active {
    margin-bottom: 100px;
  }
  .form-logo {
      margin: 40px 0 40px;
  }

  .forgot-form {
      width: 90%;
  }
}

@media screen and (max-width: 600px) {
  ol, ul {
      padding-left: 15px;
  }
  ol li, ul li {
      padding-left: 20px;
  }
  .popup-close {
      right: 15px;
      top: 15px;
      width: 40px;
      background: none;
      width: 24px;
  }
.form-logo {
  width: 180px;
  margin: 40px 0 30px;
}
  .popup {
      overflow-y: auto;
      height: 100vh;
  }
  .form {
      margin-bottom: 40px;
  }
  .button-back {
      margin-top: 24px;
  }
}