@font-face {
    font-family: Gilroy;
    src: url("../fonts/Gilroy-Light.otf") format("opentype");
}

@font-face {
    font-family: GilroyBold;
    font-weight: bold;
    src: url("../fonts/Gilroy-ExtraBold.otf") format("opentype");
}

@font-face {
    font-family: GilroySemiBold;
    src: url("../fonts/gilroy-semibold.ttf") format("opentype");
}


body {
  margin: 0;
  padding: 0;
  font-family: 'Gilroy';
  background: radial-gradient(circle at center, #3b0033, #11001f);
  color: #fff;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

body.first{
  background-image: url('../images/fon_main.png');    
}

body.quest{
  background-image: url('../images/fon_quest.png');    
}


.fon{
   width: 100%;
   height: 100%;
}

header {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0px;
}

header .logos img {
  /* height: 65px; */
  margin-right: 40px;
  /* vertical-align: middle; */
}

header .lang-switch {
    background: #190019;
    padding: 40px 30px;
    border-radius: 100px;
    font-weight: bold;
    cursor: pointer;
    font-size: 30px;
    color: #FED8FF;
}

header .lang-switch a{
  text-decoration: none;
  color: #FED8FF;
}  

main {
  max-width: 1024px;
  margin: 0 auto;
  padding: 40px 20px;
  width: 1024px;
}

main h1 {
  font-family: 'GilroySemiBold';
  font-size: 90px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 5px;
}

main h2 {
  font-size: 55px;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 5px;
  margin-top: 20px;
}

main h3 {
  font-size: 25px;
  margin-bottom: 30px;
  margin-top: 20px;
}


main p {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 40px;
  width: 600px;
}


.cta, .bar, .desc-all {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  /* margin-top: 100px; */
}

.desc-all{
  margin-top: 50px;
  display: flex;
  align-items: center;
  gap: 50px;
  justify-content: center;
}

.bar {
  gap: 5px;
  justify-content: flex-start;
}

.bar img{
  height: 25px;
}

.cta .gift-icon {
  font-size: 48px;
  background: #ffe1f4;
  color: #3b0033;
  padding: 20px;
  border-radius: 50%;
}

.cta a{
  background-image: url("/images/button_main.png");
  background-size: 100% 100%;
  height: 70px;
  width: 240px;
  text-align: center;
  font-weight: bold;
  font-family: 'GilroyBold';
  text-decoration:  none;
  font-size: 40px ;
  text-transform: uppercase;
  color: #2D0032;;
  /* vertical-align: middle; */
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  cursor: pointer;
}

.cta .gift{
    position: relative;
    left: 450px;
    top: -85px;
    z-index: -1;
}

p.quest{
  text-transform: uppercase;
  font-size: 30px;
  font-family: 'GilroySemiBold';
}

.radio-group {
  display: flex;
  flex-direction: column;  /* делает кнопки вертикальными */
  gap: 8px;  /* отступ между кнопками */
  font-size: 18px;
}

.radio-group div{
  display: flex;
}

.radio-group input[type="radio"] {
  display: none;  /* скрываем нативную радиокнопку */
}

.radio-group label {
  padding: 20px 20px;
  border: 2px solid #7A307A;
  border-radius: 5px;
  /* background-color: white; */
  color: #FFFFFF;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s;
}

.radio-group input[type="radio"]:checked + label {
  background-color: #7A307A;
  color: white;
}

.desc-all .desc-val{
  /* background-color: #FF9C9E;
  padding: 20px 20px;
  color:#2D0032;
  border-radius: 50px;
  font-size: 30px;
  font-family: 'GilroySemiBold'; */

    background-color: #FF9C9E;
    /* padding: 25px 17px; */
    color: #2D0032;
    border-radius: 50px;
    font-size: 25px;
    font-family: 'GilroySemiBold';
    width: 80px;
    height: 80px;
    text-align: center;
    align-content: center;
    line-height: 0.8;
}


.desc-all .desc{
  font-size: 18px;
  margin:  0px;
}

a.next{
  background-image: url("/images/button_next.png");
  background-size: 100% 100%;
  height: 45px;
  width: 140px;
  text-align: center;
  font-weight: bold;
  font-family: 'GilroyBold';
  text-decoration:  none;
  font-size: 25px ;
  text-transform: uppercase;
  color: #FFFFFF;;
  /* vertical-align: middle; */
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  cursor: pointer;
}

.next-button{ 
    margin-top: 50px;
    display: flex;
    align-items: center;
    gap: 50px;
    justify-content: end;
    cursor: pointer;
}

.desc-quota{
  margin-top: 200px;
  font-size: 16px ;
  color: #FFA1F9;
  opacity: 0.5;
}

.info-check{
  display: none; 
}

    .progress-container {
      position: relative;
      width: 100%;
      margin-bottom: 100px;

    }

    .progress-wrapper {
      width: 100%;
      height: 50px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      overflow: hidden;
      position: relative;

    }

    .progress-bar {
      height: 60%;
      background-color: #d47df7;
      border-radius: 12px;
      margin: 10px;
    }

    .progress-text {
      position: absolute;
      /* top: 55px; */
      font-size: 45px;
      font-family: 'GilroySemiBold';
      color: white;
      white-space: nowrap;
    }

    .labels {
      width: 100%;
      display: flex;
      justify-content: space-between;
      margin-bottom: 8px;
      font-size: 18epx;
      font-weight: normal;
      opacity: 0.8;
      color: #FCC1FE
    }


.container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1024px;
    margin: 50px auto;
    /* padding: 20px; */
}

.left {
    max-width: 60%;
}

.left h1 {
    font-size: 24px;
    margin-bottom: 20px;
}
form.emailsend {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #DEA3E5;
    padding-bottom: 10px;
    max-width: 100%;
}

form.emailsend .next{
    font-size: 16px;
    font-family: 'Gilroy';
}

form.emailsend input[type="email"] {
    background: transparent;
    border: none;
    border-bottom: 1px solid transparent; /* Просто для совместимости */
    color: white;
    outline: none;
    font-size: 16px;
    flex: 1;
    padding: 5px 0;
}

form.emailsend input[type="email"]::placeholder {
    color: white;
    opacity: 0.6;
}

form.emailsend button {
    padding: 8px 20px;
    border: 1px solid #DEA3E5;
    background: transparent;
    color: white;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

form.emailsend button:hover {
    background: white;
    color: #2d0e35;
}


.consent {
    font-size: 12px;
    line-height: 1.4;
    max-width: 600px;
    color: #FFA1F9;
}

.consent a{
  color: #FFA1F9
}

.center {
    text-align: center;
    max-width: 35%;
    margin-right: 50px;
}

.right {
    text-align: center;
    max-width: 35%;
}

.program-info{
    background-color: rgba(41,12,42,0.7);
    padding: 20px;
    border-radius: 25px;
}

.program-info p {
    margin-bottom: 15px;
    width: 100%;
    font-family: 'GilroySemiBold';
}

.program-info img {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
}

footer {
    background-color: #1f0524;
    padding: 20px 40px;
    color: white;
    font-size: 14px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo img {
    /* height: 40px; */
    margin-right:  10px;
    margin-top: 5px;
}

.footer-text {
    font-size: 16px;
    white-space: nowrap;
  
}


.checkbox {
    margin-bottom: 20px;
    margin-top: 20px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-left: 35px;
    line-height: 1.5;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox .checkmark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background-color: transparent;
    border: 2px solid white;
    border-radius: 4px;
    transition: background-color 0.3s, border-color 0.3s;
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: white;
    border-color: white;
}

.custom-checkbox .checkmark::after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark::after {
    display: block;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid #2d0e35;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.business-immunity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* background: linear-gradient(90deg, #220728, #2d0e35); */
    padding: 0px 00px;
    border-radius: 8px;
    margin: 20px auto;
    color: white;
}

.business-immunity h2 {
    margin: 0;
    font-size: 50px;
    font-weight: 600;
    letter-spacing: 0px;
}

.business-immunity img{
  margin-left: 15px;
  width: 30px;
}

.button-link {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFE9FF;;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
}

.button-link:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.arrow {
    margin-left: 8px;
    font-size: 16px;
}

.right a, .center a{
  text-decoration: none;
  color: #FFF;
}

    @media only screen and (max-width: 600px) {
        body{
          display: block;
          /* justify-content: center;
          align-items: block; */
        }
        header{
          padding: 0;
        }
        header .logos img {
          height: 40px;
          margin-right:10px;
          vertical-align: middle;
        }
        header .lang-switch{
          font-size: 1em;
          padding: 20px 15px;
        }
        main{
          width: auto;
          padding: 20px;
          padding-top:10px;
          max-width: auto; 
         margin: 0;
          
        }
        main h1, main h2, body.quest h2{
          font-size: 1.8em;
        }

        body.quest h3{
          font-size: 1.2em;
        }

        main p{
          width: auto;
          margin-bottom: 1em;
        }
        .cta a{
          font-size: 1.5em;
          background-size: 100% 100%;
        }
        .cta img{
          width: 2em;
        }
        .cta .gift{
          width: 5em;
          position: absolute;
          bottom: 140px;
          right: 180px;
          left: unset;
          top: unset;
        }

        p.quest{
          font-size: 25px;
        }
        .desc-all .desc-val {
          padding: 0px 24px;
        }
        .desc-quota {
          margin-top: 15px;
        }  
        .progress-container {
            margin-bottom: 80px;
        }
        .container {
            display: block;
          }
        .left, .right {
          max-width: unset;
        }    

        .custom-checkbox {
          font-size: 1em;
        }

        .footer-logo{
          display: none;
        }

        .footer-text{
          font-size:0.8em;
        }

        .center{
          max-width: unset;
        }
    } 