html {
    box-sizing: border-box;
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: inherit;
  -webkit-tap-highlight-color: transparent;
}
* {
  scroll-behavior: smooth;
}

body {
    font-family: "Roboto", sans-serif;
    color: #fff;
    background: linear-gradient(270.07deg, #083067 0.01%, #251730 51.31%, #B20D7C 99.89%);

}

html.noscroll {
    overflow: hidden;
  }

  
a {
  text-decoration: none;
  color: #fff;
  transition: all 0.3s linear;
}
  
button {
  cursor: pointer;
  font-family: inherit;
}
  
ul, ol {
  padding: 0;
  margin: 0;
  list-style: none;
}
ul li {
  position: relative;
}
  
h1,
h2,
h3,
h4,
h5,
h6,
p {
  padding: 0;
  margin: 0;
}
  
img {
  display: block;
}

input:-internal-autofill-selected {
    background-color: #fff !important;
}

.container {
  padding: 0 19px;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}



.hero {
    padding-top: 64px;
    padding-bottom: 47px;
    position: relative; 
    background-image: url(./img/bg.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}
.hero__blur {
    background: linear-gradient(180deg, #261731 0%, #340C31 100%);
    position: absolute;
    top: -67px;
    left: 50%;
    transform: translate(-50%);
    width: 906px;
    height: 1061px;
    z-index: 0;
    filter: blur(300px);
}

.hero__menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}
h1 {
    font-family: "Unbounded", sans-serif;
    font-weight: 600;
    font-size: 20px;
    leading-trim: Cap height;
    line-height: 28px;
    letter-spacing: 1px;
    text-align: center;
    vertical-align: middle;
    text-transform: uppercase;
    max-width: 868px;
    margin: 52px auto 32px;
    position: relative; 
}

h1 span {
    font-weight: 900;
    font-size: 24px;
}

h2 {
    font-family: "Unbounded", sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    text-align: center;
    vertical-align: middle;
    margin-bottom: 20px;
    position: relative; 
}



form {
    width: 100%;
    max-width: 449px;
    margin: 0 auto;
    position: relative; 
  }
.form-group {
    position: relative;
    margin-bottom: 8px;
}
.form-group input {
    width: 100%;
    padding: 13px 16px;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #3E4049;
    border: 1px solid #D4D4D4;
    border-radius: 8px;
    outline: none;
    background: #fff;
    transition: border-color 0.3s;
}
.form-group input::placeholder {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #3E4049;
    opacity: 0.5; 
}
.form-group input:focus {
    border-color: #7a3db8;
}
.form-group label {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 4px;
    padding: 0 8px;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color:  rgba(62, 64, 73, 0.5);
    transition: all 0.3s;
    pointer-events: none;
}
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
    top: 2px;
    font-size: 12px;
    color: #7a3db8;
}
.form-group.error input {
    border-color: red;
}
.form-group .error-message {
    color: red;
    font-size: 12px;
    margin-top: 5px;
    position: absolute;
    right: 10px;
    z-index: 2;
    top: 10px;
}
.checkbox-container {
    display: flex;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
}
.checkbox-container input[type="checkbox"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #9D20FF;
    margin-right: 8px;
    position: relative;
    cursor: pointer;
}
.checkbox-container input[type="checkbox"]:checked {
    background: #9D20FF;
}
.checkbox-container input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 0px;
    left: 5px;
    width: 4px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.checkbox-container label {
    cursor: pointer;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
}
button {
    width: 100%;
    background: linear-gradient(320.37deg, #B557FF 5.36%, #8F00FF 99.86%);
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 3%;
    text-align: center;
    text-transform: uppercase;
    color: white;
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: none;
    outline: none;
    transition: all 0.3s ease-in-out;
}
button:hover {
    filter: opacity(0.8);
    -webkit-filter: opacity(0.8);
}

.form-info {
    display: flex;
    gap: 12px;
}
.form-info img {
    width: 48px;
    height: 48px;
}
.form-info p {
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
}

.footer {
    padding: 64px 0;
}
.footer__content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 32px;
}
.footer-content__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
}
.footer-content__item img {
    width: 72px;
    height: 72px;
}
.footer-content__item p:first-child {
    font-weight: 500;
    font-size: 24px;
    line-height: 16px;
    color: #FFFFFF99;
    margin-bottom: 12px; 
}
.footer-content__item p:last-child {
    font-weight: 700;
    font-size: 28px;
    line-height: 20px;  
}
.footer-content__item:last-child {
    display: none;
}

.modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}
.modal::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(270.07deg, #083067 0.01%, #251730 51.31%, #B20D7C 99.89%);
    opacity: 0.95;
    z-index: 0;
  }
.modal.active {
    display: flex;
}
.modal__content {
    background: #1B112399;
    padding: 68px 24px 24px;
    border-radius: 12px;
    position: relative;
    max-width: 512px;
    width: 94%;
    text-align: center;
    position: relative;
    z-index: 1;
}
.modal__close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}
.modal__close img {
    width: 32px;
    height: 32px;
}
.modal__content h3 {
    font-family: "Unbounded", sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 32px;
    text-align: center;
    vertical-align: middle;
    margin-bottom: 12px;
}
.modal__content p {
    font-weight: 400;
    font-size: 20px;
    line-height: 16px;
    text-align: center;
    margin-bottom: 12px;
}
.modal__img {
    width: 304px;
    height: auto;
    margin: 0 auto;
}


@media screen and (max-width: 900px) {
    .footer__content {
        flex-direction: column;
        width: max-content;
        justify-content: center;
        align-items: flex-start;
        margin: 0 auto;
        gap: 24px;
    }
    
}

@media screen and (max-width: 480px) {
    .hero {
        padding-top: 16px;
        padding-bottom: 24px; 
        background-image: url(./img/bg-mob.webp);
        background-position: top;
        background-size: contain;
        background-repeat: no-repeat;
        overflow: hidden;
    }
    .hero__blur {
        display: none;
    }
    h1 {
        font-size: 20px;
        line-height: 24px;
        margin: 166px auto 24px;
    }
    h1 span {
        font-size: 22px;
    }
    .hero__form-box {
        background: #1B112399;
        padding: 24px;
        border-radius: 12px;
        width: 100%;
    }
    h2 {
        font-size: 20px;
    }
    .form-info {
        display: none;
    }
    .footer__content {
        width: 100%;
        max-width: 343px;
        background: linear-gradient(320.37deg, #B557FF 5.36%, #8F00FF 99.86%);
        border-radius: 8px;
        padding: 8px;
        margin: 0 auto;
        gap: 0;
    }
    .footer {
        padding-top: 0;
        padding-bottom: 28px;
    }
    .footer-content__item {
        padding: 8px 12px;
        width: 100%;
    }
    .footer-content__item:not(:last-child) {
        border-bottom: 1px solid #FFFFFF59;
    }
    .footer-content__item img {
        width: 48px;
        height: 48px;
    }
    .footer-content__item p:first-child {
        font-size: 12px;
        line-height: 16px;
    }
    .footer-content__item p:first-child span {
        font-weight: 700;
        color: #FFFFFF;
    }
    .footer-content__item p:last-child {
        font-size: 14px;
        line-height: 20px;  
    }
    .footer-content__item:last-child {
        display: flex;
    }
    .footer-content__item:last-child p {
        font-size: 12px;
        line-height: 16px;
    }
    .footer-content__item:last-child p span {
        font-weight: 700;
        color: #FFFFFF;
        display: block;
    }
    .hero__menu {
        gap: 16px;
        flex-wrap: wrap;
    }
    .hero__menu li a img {
        height: 40px;
        width: auto;
    }
    .modal__content h3 {
        font-size: 20px;
        line-height: 32px;
    }
    .modal__content p {
        font-weight: 400;
        font-size: 16px;
        line-height: 16px;
    }
    .modal__img {
        width: 235px;
    }
    .modal__content {
        padding: 60px 24px 24px;
        max-width: 391px;
        width: 94%;
    }
    
}


@media screen and (max-width: 360px) {
    h1 {
        font-size: 16px;
        line-height: 20px;
        margin: 120px auto 24px;
    }
    h1 span {
        font-size: 18px;
    }
}


