/* latin-ext */

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/pxiEyp8kv8JHgFVrJJnecmNE.woff2') format('woff2');
  unicode-range:
    U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/pxiEyp8kv8JHgFVrJJfecg.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/pxiByp8kv8JHgFVrLGT9Z1JlFc-K.woff2') format('woff2');
  unicode-range:
    U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/pxiByp8kv8JHgFVrLGT9Z1xlFQ.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/pxiByp8kv8JHgFVrLEj6Z1JlFc-K.woff2') format('woff2');
  unicode-range:
    U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/pxiByp8kv8JHgFVrLEj6Z1xlFQ.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/pxiByp8kv8JHgFVrLCz7Z1JlFc-K.woff2') format('woff2');
  unicode-range:
    U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/pxiByp8kv8JHgFVrLCz7Z1xlFQ.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

html,
body {
  scroll-behavior: smooth;
}

@-webkit-keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*,
::after,
::before {
  margin: 0;
  outline: 0;
  border: 0;
  padding: 0;
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

a {
  outline: 0;
  color: inherit;
  cursor: pointer;
}

dd,
ol,
ul {
  list-style: none;
  list-style-type: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  border-width: 0;
  color: inherit;
  background-color: transparent;
  cursor: pointer;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
  font-size: 100%;
}

a,
a:hover,
a:visited {
  text-decoration: none;
}

img {
  max-width: 100%;
  border: 0;
}

@supports (font-size-adjust: 1) {
  * {
    font-size-adjust: 0.5;
  }
}

* {
  font-family: 'Poppins', sans-serif;
}

body,
html {
  position: relative;
  height: 100%;
  min-height: 100%;
  max-width: 100%;
}

body {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  word-break: break-word;
  color: #716c80;
  background-color: #fff;
}

.wrapper {
  overflow: hidden;
  min-height: 100%;
}

.container {
  margin: 0 auto;
  width: 100%;
  max-width: 1320px;
  padding-inline: 10px;
}

.bg {
  color: #fff;
  background-image: url('../img/bg.webp');
  background-color: #5a4591;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.bg .title-2 {
  color: inherit;
}

.bg_grad {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgba(232, 241, 255, 0)),
    to(#e8f1ff)
  );
  background: linear-gradient(180deg, rgba(232, 241, 255, 0) 0, #e8f1ff 100%);
}

.bg_gray {
  background-color: #f3f8ff;
}

.contact,
.login,
section {
  padding-block: 30px;
}

.title-1 {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.2;
}

.title-2 {
  margin-bottom: 20px;
  font-size: 24px;
  line-height: 1.2;
}

.title-2 span,
.title-form span,
img {
  display: block;
}

.title-2,
.title-3 {
  color: #58468c;
  font-weight: 600;
}

.title-4,
.title-form {
  font-size: 20px;
  color: #58468c;
}

.title-4 {
  font-weight: 600;
}

.title-form {
  margin-bottom: 20px;
  line-height: 1.2;
  text-align: center;
}

.descr {
  max-width: 1000px;
  font-size: 16px;
  margin-inline: auto;
}

.center {
  text-align: center;
}

.about .title-1 {
  color: #58468c;
  margin-bottom: 10px;
}

.about .block__row {
  margin-top: 35px;
  margin-bottom: 20px;
}

.accent {
  color: #ff8a73;
}

.accent-1 {
  color: #5580ff;
}

a {
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

p + p {
  margin-top: 20px;
}

.header {
  position: relative;
  z-index: 5;
  padding-block: 16px;
}

.header .flex-bl {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  row-gap: 5px;
}

.logo {
  max-width: 180px;
}

.menu__nav {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 100%;
}

.menu__link,
.submenu {
  text-transform: uppercase;
}

.menu__link {
  border-radius: 5px;
  padding: 8px;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  text-align: center;
  color: #58468c;
  cursor: pointer;
}

.menu__link._active {
  color: #5580ff;
}

.submenu {
  position: absolute;
  left: 0;
  top: calc(100% + 9px);
  z-index: 5;
  display: none;
  border-radius: 8px;
  padding: 3px 5px;
  width: 100%;
  background: #e1e8ff;
}

.subitem {
  margin-bottom: 2px;
  border-radius: 8px;
  color: #181818;
}

.subitem a {
  padding: 6px 10px;
}

.language {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(225, 232, 255, 0.5);
}

.language .menu__link {
  padding-right: 2px;
}

.language a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.language > a::after {
  content: '';
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: url('../img/direction-down.svg');
}

.iti {
  display: block;
}

.iti__flag {
  margin-right: 10px;
}

.iti--separate-dial-code .iti__selected-flag {
  background-color: transparent;
}

.iti--separate-dial-code.iti--show-flags .iti__selected-dial-code {
  margin-left: 6px;
  font-size: 16px;
  color: #000;
}

.home {
  padding: 0;
}

.arrow-row p,
.home .title-1,
.home .title-2 {
  text-align: center;
}

.home .title-2 {
  margin-bottom: 15px;
}

.home_bg {
  margin: 0 auto;
}

.home__hold {
  position: relative;
  z-index: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding-bottom: 20px;
}

.home__body,
.home__form {
  position: relative;
  z-index: 1;
  width: 100%;
}

.home__form {
  max-width: 490px;
  margin-inline: auto;
}

.arrow-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 10px;
  background: #e1e8ff;
  padding-inline: 20px;
  border-radius: 8px;
  height: 48px;
  max-width: 490px;
  margin: 0 auto 10px;
}

.arrow-row p {
  font-weight: 700;
  line-height: 1.9;
  text-transform: uppercase;
  color: #5580ff;
}

.form {
  width: 100%;
}

.block .block__img + p,
.block p + .block__img,
.form .btn {
  margin-top: 20px;
}

.form__bg {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: 20px 10px 20px;
  background: #fff;
  border-radius: 8px;
  -webkit-box-shadow: 3px 9px 23px 1px rgba(173, 173, 173, 1);
  -moz-box-shadow: 3px 9px 23px 1px rgba(173, 173, 173, 1);
  box-shadow: 3px 9px 23px 1px rgba(173, 173, 173, 1);
}

.form__bg ul {
  list-style: none;
  padding-left: 0;
  z-index: 100;
  position: relative;
  /* Добавлено свойство position */
}

.form__bg ul li {
  position: relative;
  font-size: 15px;
  line-height: 1.3;
  color: #716c80;
}

.form-login {
  position: relative;
  z-index: 0;
  margin: 0 auto;
  max-width: 490px;
}

input {
  border: 1px solid #d5d9ed;
  border-radius: 8px;
  padding: 13px 20px;
  width: 100%;
  height: 100%;
  min-width: 100%;
  font-weight: 500;
  color: #716c80;
}

.form input::-webkit-input-placeholder,
.form textarea::-webkit-input-placeholder {
  color: #716c80;
}

.form input::-moz-placeholder,
.form textarea::-moz-placeholder {
  color: #716c80;
}

.form input:-ms-input-placeholder,
.form textarea:-ms-input-placeholder {
  color: #716c80;
}

.form input::-ms-input-placeholder,
.form textarea::-ms-input-placeholder {
  color: #716c80;
}

.form input::placeholder,
.form textarea::placeholder {
  color: #716c80;
}

.btn,
.form textarea {
  border-radius: 8px;
  width: 100%;
  font-weight: 500;
}

.form textarea {
  border: 1px solid #d5d9ed;
  padding: 13px 20px;
  color: #716c80;
  resize: vertical;
}

.btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0 50px;
  height: 48px;
  font-size: 16px;
  line-height: 1;
  text-align: center;
  color: #fff;
  background: #ff8a73;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.btn-contact,
.btn-join {
  max-width: -webkit-max-content;
  max-width: -moz-max-content;
  max-width: max-content;
}

.btn-contact {
  font-weight: 500;
  text-transform: none;
  margin-block: 20px;
}

.block ul li,
.form-group {
  margin-bottom: 10px;
}

.contact__title,
.login .descr,
.login .title-1 {
  text-align: center;
}

.login .form__bg {
  margin-top: 36px;
}

.contact .descr {
  margin-bottom: 30px;
  text-align: center;
  color: inherit;
}

.contact__title {
  padding-block: 30px;
}

.form-contact {
  margin: 0 auto;
  max-width: 570px;
}

.cards {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding-top: 30px;
  gap: 20px;
}

.cards-block .descr {
  color: inherit;
}

.card__img {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 50px;
  flex: 0 0 50px;
  border-radius: 5px;
  padding: 10px;
  width: 50px;
  height: 50px;
  background-color: #ff8a73;
}

.card__img img,
.holder__image img {
  max-width: 100%;
}

.block .points,
.block__row,
.card__body,
.card__img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.card__body {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 20px;
  gap: 10px;
}

.block .points,
.block__row {
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.block .points {
  margin-block: 30px;
  gap: 20px;
}

.block .points.points-1 .icon__row {
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.block__row {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.block__col,
.block__row .btn {
  margin-top: 20px;
}

.block__col .block__img {
  margin-bottom: 20px;
}

.block__img {
  border-radius: 20px;
}

.block.bg_gray .block__row {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.block.bg_gray .block__col {
  text-align: center;
  margin: 0 auto 20px;
}

.block__content,
.col__img img {
  width: 100%;
}

.block ul {
  list-style-position: inside;
  padding-block: 20px;
}

.block ul li {
  position: relative;
  line-height: 1.5;
}

.block ul li::before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
  width: 24px;
  height: 24px;
  background-image: url('../img/icon-ok.svg');
}

.block__img_m {
  margin-right: -15px;
}

.accordion__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
}

.accordion__item:not(:last-child) {
  margin-bottom: 20px;
}

.accordion__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  color: #fff;
  cursor: pointer;
  gap: 10px;
}

.accordion__content {
  display: none;
  color: #fff;
  opacity: 0;
}

.accordion__content._is-open {
  display: block;
  opacity: 1;
  -webkit-animation-name: fadeInOut;
  animation-name: fadeInOut;
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
}

.holder {
  overflow: hidden;
  padding: 0;
}

.holder__container,
.holder__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.holder__content {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
}

.holder__container {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0 auto;
  padding: 0 15px;
  max-width: 1320px;
}

.holder__body {
  padding: 30px 0;
}

.holder__title {
  margin: 0 0 20px;
  font-size: 40px;
}

.trade-row {
  margin-bottom: 20px;
}

.trade .btn {
  max-width: -webkit-max-content;
  max-width: -moz-max-content;
  max-width: max-content;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.row,
.story ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.row {
  gap: 20px;
}

.col {
  margin-bottom: 10px;
  width: 100%;
}

.col__img {
  aspect-ratio: 3/2;
}

.story {
  padding-top: 0;
}

.story ul {
  -webkit-column-gap: 10px;
  -moz-column-gap: 10px;
  column-gap: 10px;
  margin-top: 30px;
  row-gap: 30px;
}

.story ul .icon {
  margin-bottom: 15px;
  border-radius: 5px;
  width: 36px;
  height: 36px;
  background-color: #5580ff;
}

.story ul li {
  gap: 10px;
}

.faq {
  padding-bottom: 0;
}

.faq .title-2 {
  margin-bottom: 30px;
}

.spoiler {
  display: grid;
}

.spoiler__title {
  position: relative;
  padding: 10px 10px 10px 40px;
  width: 100%;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  text-align: left;
  color: #58468c;
}

.spoiler__title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  display: block;
  width: 24px;
  height: 24px;
  background-image: url('../img/icon-open.svg');
  background-size: contain;
  background-repeat: no-repeat;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.spoiler__title._active::before {
  background-image: url('../img/icon-close.svg');
}

.spoiler__text {
  padding: 0 10px 10px 40px;
}

.faq .title-2,
.points .title-2 {
  text-align: center;
}

.point {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 0 auto;
  max-width: 1060px;
}

.point:nth-child(2n) {
  background: #f5f8ff;
}

.point .icon__row,
.point p {
  border: 1px solid #d5d9ed;
  padding: 10px 8px;
  width: 45%;
}

.point p {
  display: flex;
  align-items: center;
  padding: 10px;
  width: 55%;
}

.icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.icon-square {
  width: 28px;
  height: 28px;
  border-radius: 5px;
}

.icon-square img {
  width: 16px;
  height: 16px;
}

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.icon-circle img {
  width: 30px;
  height: 30px;
}

.icon-1 {
  background-color: #5580ff;
}

.icon-2 {
  background-color: #ff8a73;
}

.icon-3 {
  background-color: #36bdff;
}

.icon__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
}

.hold {
  padding-top: 0;
}

.hold__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 30px;
}

.hold .bg_gray {
  border-radius: 20px;
  padding: 20px;
}

.hold__column {
  width: 100%;
}

.hold__column .icon__row {
  width: 100%;
  margin-bottom: 12px;
}

.hold .btn {
  margin-top: 20px;
}

.footer {
  background-color: #393741;
}

.footer p {
  font-size: 14px;
  color: #d5d9ed;
}

.footer b {
  color: #fff;
}

.footer .flex-bl {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.footer-top {
  padding-block: 40px;
}

.footer-top .flex-bl,
.terms .title-2 {
  margin-bottom: 30px;
}

.nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 10px;
}

.nav__link {
  border-radius: 5px;
  padding: 5px;
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  text-align: center;
  color: #fff;
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
  cursor: pointer;
}

.footer-bottom {
  padding-block: 12px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  font-size: 12px;
  text-align: center;
  color: #d5d9ed;
}

.copyright span {
  font-weight: 500;
  color: #fff;
}

.flex-bl {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 20px;
}

.terms {
  padding-block: 30px;
}

.policy a,
.terms a {
  display: inline-block;
  font-weight: 700;
  color: #ff8a73;
}

.policy p + .title-3,
.terms p + .title-3 {
  padding-top: 20px;
}

.terms .title-2 {
  text-align: center;
}

.policy .title-3,
.terms .title-3 {
  margin-bottom: 20px;
}

.pl-16 {
  padding-left: 10px;
}

.pl-32 {
  padding-left: 20px;
}

.policy {
  padding-block: 30px;
}

.policy .title-2 {
  margin-bottom: 30px;
  text-align: center;
}

.policy .title-2 span {
  display: block;
  padding-top: 10px;
  font-weight: 400;
  font-size: 16px;
}

.policy ul {
  list-style-type: lower-latin;
  margin-left: 16px;
  padding: 20px 0;
}

.table td,
.table th {
  vertical-align: top;
  border: 1px solid #d5d9ed;
  padding: 5px;
}

table {
  margin: 20px 0;
  border-collapse: collapse;
}

table p + p {
  margin-top: 10px;
}

.table-bordered,
.table-bordered td,
.table-bordered th {
  border-top: 1px solid #d5d9ed;
}

@media only screen and (min-width: 374.98px) {
  .logo {
    max-width: 200px;
    margin-right: auto;
  }
}

@media only screen and (min-width: 375px) {
  .container {
    padding-inline: 15px;
  }
  .icon-square {
    width: 40px;
    height: 40px;
  }
  .icon-square img {
    width: 24px;
    height: 24px;
  }
  .icon__row {
    gap: 12px;
  }
  .nav {
    gap: 5px;
  }
}

@media only screen and (min-width: 400px) {
  .menu__link {
    font-size: 14px;
    padding: 8px 13px;
  }
}

@media only screen and (min-width: 425px) {
  .nav__link {
    padding: 8px 5px;
  }
  .nav {
    gap: 8px;
  }
}

@media only screen and (min-width: 479.98px) {
  .language .menu__link {
    padding-right: 8px;
  }
  .block .points .icon__row {
    width: calc(50% - 15px);
  }
  .col,
  .story ul li {
    width: calc(50% - 10px);
  }
  .story ul {
    -webkit-column-gap: 20px;
    -moz-column-gap: 20px;
    column-gap: 20px;
  }
  .point .icon__row {
    padding: 10px;
    width: 40%;
  }
  .point p {
    width: 60%;
  }
  .nav {
    gap: 15px;
  }
  .copyright {
    font-size: 14px;
  }
}

@media only screen and (min-width: 679.98px) {
  .language > a::after {
    margin-left: 5px;
  }
  .cards {
    gap: 30px;
  }
  .point .icon__row {
    padding: 10px 30px;
  }
  .icon__row {
    gap: 20px;
  }
}

@media only screen and (min-width: 767.98px) {
  body {
    font-size: 16px;
  }
  .contact,
  .login,
  section {
    padding-block: 50px;
  }
  .title-2 {
    font-size: 36px;
  }
  .title-form {
    font-size: 24px;
  }
  .descr {
    font-size: 18px;
  }
  .form-login::after,
  .form-login::before {
    content: '';
    position: absolute;
    z-index: 0;
    background-position: 0 0;
    background-size: contain;
    background-repeat: no-repeat;
  }
  .contact__title {
    padding-block: 30px 50px;
  }
  .cards-block .descr,
  .cards-block .title-2 {
    text-align: center;
  }
  .card__body {
    gap: 30px;
  }
  .card {
    width: calc(50% - 30px);
  }
  .accordion__header {
    font-size: 24px;
  }
  .story ul li {
    width: calc(33.333% - 20px);
    gap: 20px;
  }
  .spoiler__title {
    font-size: 18px;
  }
  .point p {
    padding: 10px 30px;
  }
  .hold__column {
    width: calc(50% - 15px);
  }
  .footer .flex-bl {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
  }
  .nav__link {
    font-size: 16px;
  }
  .copyright {
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
    text-align: left;
  }
  .flex-bl {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  .terms {
    padding-block: 50px;
  }
  .table td,
  .table th {
    padding: 10px;
  }
}

@media (min-width: 767px) {
  .holder {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .holder__body {
    padding: 30px 20px 30px 0;
    width: 40%;
  }
  .holder__image {
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 calc((100vw - 40px) * 0.6 + 20px);
    flex: 0 0 calc((100vw - 40px) * 0.6 + 20px);
    padding: 0 0 37%;
    -webkit-transform: translate(-100%, 0);
    -ms-transform: translate(-100%, 0);
    transform: translate(-100%, 0);
  }
  .holder__image img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
  }
}

@media only screen and (min-width: 991.98px) {
  .title-1 {
    font-size: 60px;
  }
  .header .flex-bl {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    gap: 0;
  }
  .header {
    padding-block: 20px;
  }
  .logo {
    max-width: 240px;
  }
  .menu__nav {
    width: auto;
  }
  .menu__link {
    padding: 10px 13px;
    font-size: 16px;
  }
  .language {
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
    margin-left: 30px;
  }
  .home .title-1,
  .home .title-2 {
    text-align: left;
  }
  .home .title-2 {
    margin-bottom: 40px;
    max-width: 550px;
  }
  .home_bg {
    display: block;
    position: absolute;
    bottom: -36px;
    z-index: 0;
    max-width: 1063px;
  }
  .home__hold {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    gap: 60px;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }
  .home__body {
    padding-top: 30px;
    padding-bottom: 0;
    width: 70%;
  }
  .home__form {
    margin-inline: 0;
    margin-top: 0;
  }
  .arrow-row {
    max-width: -webkit-max-content;
    max-width: -moz-max-content;
    max-width: max-content;
    margin: 0;
  }
  .form__bg {
    padding: 20px 30px;
  }
  .block__row {
    gap: 30px;
  }
  .block__col {
    width: 35%;
    margin: 0;
  }
  .block__img {
    margin: 0;
  }
  .block__content {
    width: calc(65% - 30px);
  }
  .trade-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 30px;
  }
  .col {
    width: calc(25% - 20px);
  }
  .spoiler {
    grid-template-columns: repeat(2, 1fr);
    -webkit-column-gap: 30px;
    -moz-column-gap: 30px;
    column-gap: 30px;
  }
  .nav {
    max-width: none;
    gap: 25px;
  }
}

@media only screen and (min-width: 1300px) {
  .card {
    width: calc(50% - 80px);
  }
  .menu__nav {
    gap: 20px;
  }
}

@media (min-width: 1320px) {
  .holder__image {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 calc(50vw + 132px);
    flex: 0 0 calc(50vw + 132px);
  }
}

@media only screen and (max-width: 991.98px) {
  .home__hold {
    max-width: 600px;
  }
  .card {
    gap: 20px;
  }
  .trade .btn {
    margin-top: 20px;
  }
}

@media only screen and (max-width: 767.98px) {
  .story ul li:last-child {
    width: 100%;
  }
  .icon__row .title-3 {
    font-size: 14px;
  }
  .footer .logo {
    margin: 0 auto;
  }
}

@media only screen and (max-width: 479.98px) {
  .card {
    gap: 10px;
  }
}

@media (any-hover: hover) {
  .menu__link:hover,
  .subitem:hover {
    color: #5580ff;
  }
  .form__bg ul li a:hover {
    text-decoration: none;
  }
  .btn:hover {
    background-color: #eb765f;
  }
  .nav__link:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
  }
}

.contact .title-1 {
  color: #58468c;
}

form {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.form-group {
  width: 100%;
  position: relative;
}

input[type='text'],
input[type='email'],
input[type='tel'],
button {
  width: 100%;
  padding: 15px 20px;
  font-size: 16px;
  box-sizing: border-box;
}

input[type='text']:focus,
input[type='email']:focus,
input[type='tel']:focus {
  border: 3px solid #007bff;
  outline: none;
  /* Ð’Ð¸Ð´Ð°Ð»ÐµÐ½Ð½Ñ ÑÑ‚Ð°Ð½Ð´Ð°Ñ€Ñ‚Ð½Ð¾Ð³Ð¾ Ð¾Ð±Ð²ÐµÐ´ÐµÐ½Ð½Ñ Ñ„Ð¾ÐºÑƒÑÑƒ */
}

.input-wrapper {
  position: relative;
}

.input-wrapper input {
  padding-right: 30px;
  /* Ð—Ð°Ð´Ð°Ñ”Ð¼Ð¾ Ð¿Ñ€Ð°Ð²Ð¸Ð¹ Ð²Ñ–Ð´ÑÑ‚ÑƒÐ¿ Ð´Ð»Ñ Ð¼Ñ–ÑÑ†Ñ Ð¿Ñ–Ð´ Ð³Ð°Ð»Ð¾Ñ‡ÐºÑƒ */
}

.input-wrapper .check-icon {
  position: absolute;
  top: 20px;
  right: 5px;
  display: none;
}

.intl-tel-input {
  width: 100%;
}

.checkbox {
  width: 35px;
}

/* Ð¡Ñ‚Ð¸Ð»Ñ– Ð´Ð»Ñ Ð²Ð°Ð»Ñ–Ð´Ð½Ð¸Ñ… Ñ–Ð½Ð¿ÑƒÑ‚Ñ–Ð² */

.valid-input {
  border: 3px solid #41ad48;
  /* ÐšÐ¾Ð»Ñ–Ñ€ Ñ€Ð°Ð¼ÐºÐ¸ Ð´Ð»Ñ Ð²Ð°Ð»Ñ–Ð´Ð½Ð¸Ñ… Ñ–Ð½Ð¿ÑƒÑ‚Ñ–Ð² */
}

/* Ð¡Ñ‚Ð¸Ð»Ñ– Ð´Ð»Ñ Ð½ÐµÐ²Ð°Ð»Ñ–Ð´Ð½Ð¸Ñ… Ñ–Ð½Ð¿ÑƒÑ‚Ñ–Ð² */

.failed-input {
  border: 3px solid red;
  /* ÐšÐ¾Ð»Ñ–Ñ€ Ñ€Ð°Ð¼ÐºÐ¸ Ð´Ð»Ñ Ð½ÐµÐ²Ð°Ð»Ñ–Ð´Ð½Ð¸Ñ… Ñ–Ð½Ð¿ÑƒÑ‚Ñ–Ð² */
}

.iti {
  width: 100% !important;
}

.form-sender {
  position: relative;
}

.form__wrapper-loader {
  position: absolute;
  content: ' ';
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgb(255 255 255 / 90%);
  width: 100%;
  height: 100%;
  z-index: 99;
  display: none;
}

.form__wrapper-loader:after {
  content: ' ';
  top: calc(50% - 90px);
  left: calc(50% - 80px);
  background-image: url('../img/loader.svg');
  background-size: 160px 160px;
  width: 160px;
  height: 160px;
  position: absolute;
}

.form__wrapper-loader.loader,
.api-error.loader {
  display: block;
}

.iti--separate-dial-code.iti--show-flags .iti__selected-dial-code {
  margin-left: 6px;
  font-size: 16px;
}

.block-13-list {
  border-radius: 1.5625rem;
  padding: 1.375rem 1.5rem 1.3125rem;
  color: #4f4f4f;
  max-width: 100%;
}

.block-13-list a {
  color: #4f4f4f !important;
}

.block-13-list__item {
  display: grid;
  grid-template-columns: 2fr 3fr;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
  padding: 1rem 0px;
  grid-gap: 0.875rem;
}

.block-13-list__item:not(:last-child) {
  border-bottom: 0.0625rem solid #4f4f4f;
}

.link-list-13__items {
  padding: 0;
  list-style-type: none;
}

@media (max-width: 47.9375em) {
  .block-13-list__item {
    grid-template-columns: 1fr;
  }
}

.block-13-list__property {
  color: #000 !important;
  font-weight: bold;
}

/* Баннер с текстом предупреждения */

.warning-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #f5f8ff;
  color: #721c24;
  padding: 10px 20px;
  text-align: center;
  font-size: 14px;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.warning-banner p {
  position: relative;
}

/* Крестик для закрытия */

.close-btn {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #721c24;
}

.close-btn:hover {
  color: #eb172b;
}

@media (max-width: 600px) {
  .close-btn {
    right: -10px;
    top: 10px;
  }
}

.text-soglasheniy a {
  color: blue;
  text-decoration: none;
}

/* ====== qa-best-template — улучшенная версия ====== */

/* Контейнер блока — растянуть на всю ширину строки в hold__row */

.qa-best-answer--full {
  box-sizing: border-box;
  width: 100%;
  flex: 0 0 100%;
  max-width: 100%;
  margin-top: 28px;
  margin-bottom: 20px;
}

/* Карточка ответа — фон, бордер, тень, отступы */

.qa-best-answer--full .qa-card {
  position: relative;
  background: linear-gradient(180deg, #f8fbff 0%, #eef6fb 100%);
  border: 1px solid rgba(27, 64, 124, 0.06);
  /* мягкая рамка */
  border-left: 6px solid #2e7d32;
  /* акцент слева */
  border-radius: 14px;
  padding: 28px 34px;
  box-shadow: 0 10px 30px rgba(30, 50, 90, 0.06);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
  overflow: hidden;
}

/* Немного подтянуть типографику внутри карточки */

/* Текст ответа */

/* Пилюльный бейдж (Meilleure réponse / Лучший ответ) */

.qa-badge {
  display: inline-block;
  background: #2e7d32;
  color: #fff;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
  font-size: 13px;
  letter-spacing: 0.2px;
  box-shadow: 0 6px 14px rgba(46, 125, 50, 0.12);
}

/* Шапка блока — бейдж + подпись эксперта (опционально) */

.qa-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

/* Hover эффект — мягкое "высветление" */

.qa-best-answer--full .qa-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(30, 50, 90, 0.12);
}

/* Внутренние отступы для компактного вида на маленьких экранах */

@media (max-width: 992px) {
  .qa-best-answer--full .qa-card {
    padding: 20px;
  }
  .qa-badge {
    padding: 5px 10px;
    font-size: 12px;
  }
  .qa-best-answer--full .qa-card::before {
    width: 34px;
    height: 34px;
    top: 14px;
    right: 14px;
    font-size: 14px;
  }
}

/* Мобильная оптимизация */

@media (max-width: 480px) {
  .qa-best-answer--full .qa-card {
    padding: 16px;
    border-radius: 12px;
  }
}

/* Вариация: более контрастный featured (опционально) */

/* Небольшая утилита для соответствия сетке, если нужно вынести блок ниже .hold__row */

/* ===== CTA above footer — larger button + english text ===== */

.cta-inline {
  padding: 48px 0 28px;
}

.cta-inline__box {
  background: linear-gradient(90deg, #5f3af8 0%, #bf2bf0 100%);
  border-radius: 18px;
  padding: 40px 36px;
  color: #ffffff;
  box-shadow: 0 20px 54px rgba(95, 58, 248, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Контент (заголовок + подзаголовок) */

.cta-inline__content {
  max-width: 920px;
  /* увеличено для "растянуть текста" */
  margin-bottom: 26px;
  padding: 0 12px;
}

.cta-inline__title {
  font-size: 26px;
  /* увеличен заголовок */
  font-weight: 900;
  line-height: 1.06;
  margin: 0 0 10px;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.cta-inline__text {
  font-size: 16px;
  /* увеличен подзаголовок */
  line-height: 1.5;
  margin: 0;
  opacity: 0.97;
  color: rgba(255, 255, 255, 0.96);
}

/* Очень большая кнопка */

.cta-inline__btn {
  background: #ffffff;
  color: #5a2bd6;
  border: 0;
  border-radius: 16px;
  padding: 18px 36px;
  font-weight: 900;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
  width: 640px;
  /* расширенная ширина кнопки на десктопе */
  max-width: 100%;
  text-align: center;
}

/* Hover / focus */

.cta-inline__btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
}

.cta-inline__btn:active {
  transform: translateY(0);
}

.cta-inline__btn:focus {
  outline: none;
  box-shadow:
    0 0 0 6px rgba(95, 58, 248, 0.14),
    0 22px 48px rgba(0, 0, 0, 0.22);
}

/* Responsive adjustments */

@media (max-width: 1200px) {
  .cta-inline__btn {
    width: 520px;
  }
  .cta-inline__content {
    max-width: 760px;
  }
  .cta-inline__title {
    font-size: 24px;
  }
  .cta-inline__text {
    font-size: 15px;
  }
}

@media (max-width: 992px) {
  .cta-inline__btn {
    width: 420px;
  }
  .cta-inline__content {
    max-width: 680px;
  }
}

@media (max-width: 768px) {
  .cta-inline {
    padding: 28px 0 16px;
  }
  .cta-inline__box {
    padding: 22px 16px;
    border-radius: 12px;
  }
  .cta-inline__content {
    max-width: 100%;
    margin-bottom: 14px;
  }
  .cta-inline__title {
    font-size: 20px;
  }
  .cta-inline__text {
    font-size: 14px;
  }
  .cta-inline__btn {
    width: 100%;
    padding: 14px 18px;
    font-size: 16px;
    border-radius: 12px;
  }
}

/* Accessibility: reduced motion */

@media (prefers-reduced-motion: reduce) {
  .cta-inline__btn,
  .cta-inline__box {
    transition: none;
  }
}

/* ============================
   Блок отзывы
   ============================ */

.testimonials {
  padding: 60px 0;
  background: linear-gradient(180deg, #fbfbff 0%, #f7f8ff 100%);
}

.testimonials .title-2 {
  text-align: center;
  margin-bottom: 32px;
}

/* Grid */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95),
    rgba(250, 250, 255, 0.85)
  );
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(95, 58, 248, 0.06);
  box-shadow:
    0 8px 18px rgba(17, 24, 39, 0.06),
    0 2px 6px rgba(17, 24, 39, 0.03);
  transform: translateY(18px);
  transition:
    opacity 700ms cubic-bezier(0.2, 0.9, 0.3, 1) var(--delay, 0ms),
    transform 360ms cubic-bezier(0.2, 0.9, 0.3, 1),
    box-shadow 240ms ease;
}

.testimonial-card:hover,
.testimonial-card:focus {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 36px rgba(95, 58, 248, 0.12);
  outline: none;
}

/* Keyboard focus visible */

.testimonial-card:focus-visible {
  box-shadow:
    0 20px 40px rgba(95, 58, 248, 0.14),
    0 0 0 4px rgba(95, 58, 248, 0.06);
  border-color: rgba(95, 58, 248, 0.18);
}

/* Avatar */

.avatar {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(95, 58, 248, 0.1);
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Body content */

.testimonial-body {
  flex: 1;
  min-width: 0;
}

.quote {
  color: rgba(95, 58, 248, 0.9);
  margin-bottom: 10px;
  opacity: 0.95;
}

.quote-text {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 10px 0;
  color: #0f1724;
}

/* name/role */

.testimonial-body .name {
  display: inline-block;
  font-weight: 700;
  color: #111827;
}

.testimonial-body .role {
  color: #6b7280;
  font-size: 13px;
  margin-left: 6px;
}

/* responsiveness */

@media (max-width: 767px) {
  .testimonials {
    padding: 36px 12px;
  }
  .avatar {
    width: 56px;
    height: 56px;
  }
}

/* small utility to vertically center multiple-line avatars if used */

/* Chat Widget Container */

.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* Speech Bubble */

.chat-bubble {
  background: #ffffff;
  border-radius: 20px;
  padding: 12px 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 200px;
  animation: slideInRight 0.4s ease-out;
  position: relative;
}

.chat-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 25px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #ffffff;
}

.chat-bubble-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.chat-bubble-text {
  font-size: 14px;
  color: #1a1a1a;
  font-weight: 500;
}

.chat-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
  transition: all 0.3s ease;
  animation: slideInRight 0.5s ease-out 0.2s both;
}

.chat-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.chat-button:active {
  transform: scale(0.95);
}

.chat-icon {
  width: 28px;
  height: 28px;
  color: white;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.chat-button.pulse {
  animation: pulse 2s ease-in-out infinite;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;

  &.active {
    opacity: 1;
    visibility: visible;
  }
}

.modal-content {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  max-width: 480px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: #f3f4f6;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #1f2937;
  z-index: 1000;
  padding: 0;
}

.modal-close:hover {
  background: #e5e7eb;
  transform: rotate(90deg);
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-close svg path {
  stroke: #1f2937;
  stroke-width: 2;
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.modal-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.modal-body {
  text-align: center;
  margin-bottom: 32px;
}

.modal-text {
  font-size: 16px;
  color: #1a1a1a;
  line-height: 1.6;
  margin: 0 0 12px 0;
  font-weight: 600;
}

.modal-subtext {
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
  margin: 0;
  font-weight: 500;
}

/* Modal Footer */

.modal-footer {
  display: flex;
  justify-content: center;
}

.modal-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.modal-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.modal-button:active {
  transform: translateY(0);
}

/* Mobile responsive */

@media (max-width: 768px) {
  .chat-widget {
    bottom: 20px;
    right: 20px;
  }
  .chat-button {
    width: 56px;
    height: 56px;
  }
  .chat-icon {
    width: 24px;
    height: 24px;
  }
  .chat-bubble {
    max-width: 160px;
    padding: 10px 14px;
  }
  .chat-bubble-text {
    font-size: 13px;
  }
  .modal-content {
    padding: 32px 24px;
    max-width: 95%;
  }
  .modal-title {
    font-size: 24px;
  }
  .modal-icon {
    width: 70px;
    height: 70px;
  }
  .modal-text {
    font-size: 15px;
  }
  .modal-button {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
  }
}

.modal-text,
.modal-subtext,
.modal-title {
  color: #111827 !important;
}

.footer-top p {
  margin-top: 0;
}

@font-face {
  font-family: 'Font Awesome 5 Brands';
  font-style: normal;
  font-weight: normal;
  font-display: auto;
  src: url('../fonts/fa-brands-400.eot');
  src:
    url('../fonts/fa-brands-400.eot') format('embedded-opentype'),
    url('../fonts/fa-brands-400.woff2') format('woff2'),
    url('../fonts/fa-brands-400.woff') format('woff'),
    url('../fonts/fa-brands-400.ttf') format('truetype'),
    url('../fonts/fa-brands-400.svg') format('svg');
}

@font-face {
  font-family: 'Font Awesome 5 Free';
  font-style: normal;
  font-weight: 400;
  font-display: auto;
  src: url('../fonts/fa-regular-400.eot');
  src:
    url('../fonts/fa-regular-400.eot') format('embedded-opentype'),
    url('../fonts/fa-regular-400.woff2') format('woff2'),
    url('../fonts/fa-regular-400.woff') format('woff'),
    url('../fonts/fa-regular-400.ttf') format('truetype'),
    url('../fonts/fa-regular-400.svg') format('svg');
}

@font-face {
  font-family: 'Font Awesome 5 Free';
  font-style: normal;
  font-weight: 900;
  font-display: auto;
  src: url('../fonts/fa-solid-900.eot');
  src:
    url('../fonts/fa-solid-900.eot') format('embedded-opentype'),
    url('../fonts/fa-solid-900.woff2') format('woff2'),
    url('../fonts/fa-solid-900.woff') format('woff'),
    url('../fonts/fa-solid-900.ttf') format('truetype'),
    url('../fonts/fa-solid-900.svg') format('svg');
}

/* cyrillic-ext */

@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/1Ptvg83HX_SGhgqk0gotcqA.woff2') format('woff2');
  unicode-range:
    U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */

@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/1Ptvg83HX_SGhgqk2wotcqA.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* vietnamese */

@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/1Ptvg83HX_SGhgqk0AotcqA.woff2') format('woff2');
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
}

/* latin-ext */

@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/1Ptvg83HX_SGhgqk0QotcqA.woff2') format('woff2');
  unicode-range:
    U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */

@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/1Ptvg83HX_SGhgqk3wot.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */

@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/1Ptvg83HX_SGhgqk0gotcqA.woff2') format('woff2');
  unicode-range:
    U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */

@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/1Ptvg83HX_SGhgqk2wotcqA.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* vietnamese */

@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/1Ptvg83HX_SGhgqk0AotcqA.woff2') format('woff2');
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
}

/* latin-ext */

@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/1Ptvg83HX_SGhgqk0QotcqA.woff2') format('woff2');
  unicode-range:
    U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */

@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/1Ptvg83HX_SGhgqk3wot.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

.header .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: none;
}

.header .logo img {
  display: block;
  height: 32px;
  width: auto;
  max-width: 180px;
}

.header .logo__text {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.1;
  color: #58468c;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .header .logo img {
    height: 36px;
    max-width: 240px;
  }
  .header .logo__text {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .header .logo {
    gap: 8px;
  }
  .header .logo__text {
    font-size: 18px;
  }
}

@media (max-width: 360px) {
  .header .logo__text {
    display: none;
  }
}

/* Footer logo + platform name (responsive) */

.footer .logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footer .logo img {
  display: block;
  height: 30px;
  width: auto;
}

.footer .logo__text {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.1;
  color: #fff;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .footer .logo {
    justify-content: flex-start;
  }
  .footer .logo__text {
    font-size: 18px;
  }
}

@media (max-width: 360px) {
  .footer .logo__text {
    display: none;
  }
}

.social-media {
  display: flex;
  justify-content: center;
}

.social-media img {
  width: 30px;
  height: 30px;
  margin-right: 6px;
  transition: 0.2s linear;
}

.social-media img:hover {
  transform: scale(1.1);
}

.trading-warning {
  position: fixed;
  bottom: 10px;
  left: 10px;
  max-width: 800px;
  border-radius: 15px;
  width: 100%;
  background: rgba(15, 15, 15, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: white;
  z-index: 9999;
  padding: 16px;
  font-family: sans-serif;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.trading-warning__container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.trading-warning__short {
  font-size: 14px;
}

.trading-warning__expanded {
  display: none;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.5;
}

.trading-warning__expanded p {
  margin-bottom: 5px;
  margin-top: 0;
}

.trading-warning__buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trading-warning__left {
  max-width: 600px;
}

.trading-warning__btn {
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.trading-warning__right {
  display: flex;
  gap: 20px;
}

.trading-warning--outline {
  background: none;
  color: white;
  text-decoration: underline;
  cursor: pointer;
  font-size: 14px;
}

.trading-warning__btn--confirm {
  background: #4caf50;
  border: none;
  color: white;
}

.trading-warning__close {
  cursor: pointer;
  font-size: 16px;
  margin: 0 0 0 auto;
  user-select: none;
}

@media (max-width: 1024px) {
  .trading-warning {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 992px) {
  .trading-warning {
    max-width: 700px;
  }
  .trading-warning__left {
    max-width: 525px;
  }
}

@media (max-width: 767px) {
  .trading-warning {
    max-width: 360px;
  }
  .trading-warning__container {
    flex-direction: column;
  }
  .trading-warning__close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 14px;
  }
  .trading-warning__btn {
    padding: 2px 15px;
  }
}
