@font-face {
  font-family: 'VKSansDisplay';
  src: url('fonts/VK Sans Display Bold.otf') format('opentype');
  font-weight: 700;
}

@font-face {
  font-family: 'VKSansDisplay';
  src: url('fonts/VK Sans Display DemiBold.otf') format('opentype');
  font-weight: 600;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  color: var(--color-dark-blue);
  background: var(--color-white);
}

:root {
  --color-white:        #FFFFFF;
  --color-light-purple: #D6C8FE;
  --color-violet:       #8559F6;
  --color-blue:         #0077FF;
  --color-dark-blue:    #050041;

  --font-family:        'VKSansDisplay', sans-serif;
  --font-weight-bold:   700;
  --font-weight-demibold: 600;

  --border-radius:      80px;
  --section-padding:    20px;
}

h1 {
  font-family: var(--font-family);
  font-weight: var(--font-weight-demibold);
  font-size: 80px;
  line-height: 98%;
  letter-spacing: 0%;
}

h2 {
  font-family: var(--font-family);
  font-weight: var(--font-weight-demibold);
  font-size: 60px;
  line-height: 115%;
  letter-spacing: 0%;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1.animate-in,
h2.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

h1:not(.animate-ready),
h2:not(.animate-ready) {
  opacity: 1;
}

h1.animate-ready,
h2.animate-ready {
  opacity: 0;
}

h3 {
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  font-size: 24px;
  line-height: 115%;
  letter-spacing: 0%;
}

.t1 {
  font-family: var(--font-family);
  font-weight: var(--font-weight-demibold);
  font-size: 16px;
  line-height: 115%;
  letter-spacing: 0%;
}

.t2 {
  font-family: var(--font-family);
  font-weight: var(--font-weight-demibold);
  font-size: 14px;
  line-height: 115%;
  letter-spacing: 0%;
}

.t3 {
  font-family: var(--font-family);
  font-weight: var(--font-weight-demibold);
  font-size: 12px;
  line-height: 115%;
  letter-spacing: 0%;
}

.button {
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  font-size: 16px;
  line-height: 115%;
  letter-spacing: 1%;
}

.header__btn {
  padding: 12px 24px;
  border-radius: 30px;
  background: var(--color-white);
  color: var(--color-dark-blue);
  border: none;
  cursor: pointer;
  width: max-content;
  transition: background 0.3s ease;
  text-decoration: none;
}

.header__btn:hover {
  background: var(--color-light-purple);
}

.block__btn {
  padding: 12px 24px;
  border-radius: 30px;
  background: var(--color-violet);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  width: max-content;
  transition: background 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

.btn--full {
  width: 100%;
  display: block;
  text-align: center;
}

.section {
  padding: 0 var(--section-padding);
  overflow: hidden;
  scroll-margin-top: 120px;
}

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

.block__btn:hover {
  background: var(--color-light-purple);
  color: var(--color-dark-blue);
}

@media (min-width: 1440px) {
  :root {
    --section-padding: 34px;
  }
}

.text-center {
  text-align: center;
}

/* ── Header ── */

.header-wrapper {
  position: fixed;
  top: 48px;
  left: 35px;
  right: 35px;
  z-index: 100;
  transition: background 0.3s, border-radius 0.3s, top 0.3s;
}

.header-wrapper.scrolled {
  background: #E9E2FF;
  border-radius: 80px;
  top: 16px;
}

.header--placeholder {
  height: 60px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 10px 10px;
}

.header__nav {
  display: flex;
  gap: 10px;
}

.header__logo {
  width: 210px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  position: relative;
  z-index: 2;
}

.hero__bottom {
  display: flex;
  justify-content: center;
  padding-bottom: 20px;
}

.hero__bottom img {
  animation: float-arrow 2s ease-in-out infinite alternate;
}

@keyframes float-arrow {
  from { transform: translateY(0); }
  to   { transform: translateY(-10px); }
}

@keyframes float-down {
  from { transform: translateY(0); }
  to   { transform: translateY(10px); }
}

.hero__content h1 {
  margin-top: 0;
  margin-bottom: 0px;
}

.hero__badge {
  position: relative;
  background: var(--color-blue);
  color: var(--color-white);
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  font-size: 24px;
  line-height: 115%;
  padding: 8px 20px;
  border-radius: 30px;
  transform: translateX(50%) rotate(-4deg);
  margin-top: -20px;
  margin-bottom: 40px;
  white-space: nowrap;
}

.hero__content .t1 + .t1 {
  margin-top: 20px;
}

/* ── Hero ── */

.hero {
  padding: 0 var(--section-padding);
  margin-top: 16px;
}

.hero .container {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  min-height: 96vh;
  background: linear-gradient(141deg, #8559F6 -36.8%, #D7C7FF 16.42%, #C7DEFF 69.65%);
  border-radius: var(--border-radius);
  padding-top: 45px;
}

.hero__bubble {
  position: absolute;
  pointer-events: none;
}




.hero__bubble--h1 {
  width: 186px;
  left: -40px;
  top: 280px;
  animation: float 6s ease-in-out infinite alternate;
  animation-delay: 1s;
}

.hero__bubble--h2 {
  width: 270px;
  left: -70px;
  bottom: 40px;
  animation: float 4s ease-in-out infinite alternate;
  animation-delay: 0.5s;
}

.hero__bubble--h3 {
  width: 160px;
  left: 180px;
  bottom: 190px;
  animation: float 5s ease-in-out infinite alternate;
}

.hero__bubble--h4 {
  width: 293px;
  left: 180px;
  bottom: -50px;
  animation: float 5.5s ease-in-out infinite alternate;
  animation-delay: 0.8s;
}

.hero__bubble--h5 {
  width: 262px;
  right: -60px;
  bottom: 280px;
  animation: float 4.5s ease-in-out infinite alternate;
  animation-delay: 1.5s;
}

.hero__bubble--h6 {
  width: 416px;
  right: 20px;
  bottom: -80px;
  animation: float 4s ease-in-out infinite alternate;
  animation-delay: 1.2s;
}

.hero__blob {
  position: absolute;
  left: 50%;
  bottom: -142px;
  width: 249.247px;
  height: 284.845px;
  transform: translateX(-50%) rotate(-89.587deg);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

.hero .container > *:not(.hero__blob):not(.hero__bubble) {
  position: relative;
  z-index: 1;
}

/* ── How it works ── */

.section.how-it-works {
  margin-top: 20px;
}

.how-it-works .container {
  position: relative;
  overflow: hidden;
  height: 523px;
  background: linear-gradient(164deg, #EFF3FE 51.19%, #B4D4FF 128.81%);
  border-radius: var(--border-radius);
  padding-top: 80px;
  padding-bottom: 80px;
}

.how-it-works__blob {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%) rotate(-30deg);
  width: 805.071px;
  height: 331.689px;
  filter: blur(75px);
  pointer-events: none;
  z-index: 0;
}

.how-it-works .container > *:not(.how-it-works__blob) {
  position: relative;
  z-index: 1;
}

.how__body {
  position: relative;
  margin-top: 40px;
}

.how__line {
  position: absolute;
  pointer-events: none;
}

.how__line--1 { left: -220px; top: -20px;  }
.how__line--2 { left: 50%; top: 0px; }
.how__line--3 { right: -100px; top: -200px; transform: rotate(-16deg); }

.how__items {
  position: relative;
  min-height: 400px;
  left: 50px;
}

.how__card {
  position: absolute;
  border-radius: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.how__card--1 {
  width: 423px;
  padding: 40px;
  padding-right: 20px;
  background: url(img/how_block-fon.png) no-repeat right top 56px / 50px, linear-gradient(104deg, #E6DCFF 15.55%, #B8D8FF 77.68%), #C7DEFF;
  transform: rotate(-3deg);
  z-index: 4;
}

.how__card--3 {
  width: 320px;
  padding: 40px;
  background: linear-gradient(283deg, #CFBCFE 24.16%, #B8D8FF 82.51%), #C7DEFF;
  transform: rotate(3deg);
  z-index: 2;
  left: 600px;
}

.how__card--4 {
  width: 320px;
  padding: 40px;
  background:  url(img/how_block-fon2.png) no-repeat right -10px bottom -10px,linear-gradient(98deg, #FFF -6.95%, #BDD9FF 97.14%);
  transform: rotate(-5deg);
  z-index: 1;
  left: 65%;
  top: 100px;
}

.how__note {
  color: #4A4681;
}

.how__photo {
  position: absolute;
  width: 210px;
  height: 210px;
  object-fit: cover;
  border-radius: 40px;
  z-index: 3;
  left:400px;
  top: 40px;
  transform: rotate(4deg);
}

/* ── FAQ ── */

.faq .container {
  min-height: 500px;
  background: linear-gradient(126deg, #EFF3FE 30.15%, #EBE4FF 114.61%);
  border-radius: var(--border-radius);
}

/* ── FAQ ── */

.section.flexible-section {
  margin-top: 80px;
}

.flexible__badge {
  width: 520px;
  background: var(--color-blue);
  color: var(--color-white);
  padding: 12px 24px;
  border-radius: 30px;
  transform: rotate(-2deg);
}

.flexible__badge button {
  font-size: 14px;
}

.flexible-section .container {
  min-height: 500px;
  background: linear-gradient(126deg, #EFF3FE 30.15%, #EBE4FF 114.61%);
  border-radius: var(--border-radius);
  padding-top: 80px;
  padding-bottom: 80px;
}

.flexible__inner {
  display: flex;
  gap: 20px;
}

.flexible__left,
.flexible__right {
  flex: 1;
}

.flexible__left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.flexible__right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.flexible__right-inner {
  max-width: 510px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.flexible__link {
  color: var(--color-violet);
  text-decoration: none;
}

.flexible__link:hover {
  text-decoration: underline;
}

.flexible__extra {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.flexible__star {
  width: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Categories grid ── */

.cat__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 40px;
}

.cat__item {
  height: 320px;
  border-radius: 60px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
}

.cat__item--1 {
  background: url('img/flex1.png') no-repeat right -10px bottom 10px, linear-gradient(195deg, #D7E8FE 9.05%, #A3CCFF 89.65%);
}

.cat__item--2 {
  background: linear-gradient(to bottom, rgba(0, 58, 125, 0.6) 0%, rgba(0, 106, 227, 0) 100%), url(img/flex-block-3.jpg) center top -20px / cover no-repeat, linear-gradient(195deg, #D7E8FE 9.05%, #A3CCFF 89.65%);
}

.cat__item--3 {
  background: url('img/flex3.png') no-repeat right 50% bottom -70px, linear-gradient(184deg, #FFF 6.25%, #E8E0FF 69.28%);
}

.cat__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cat__col .cat__item {
  flex: 1;
  height: auto;
}

.cat__item--4a {
  background: url('img/flex4.png') no-repeat right -5px bottom 10px, linear-gradient(235deg, #8559F6 -98.4%, #C7DEFF 91.77%), #C7DEFF;
}

.cat__item--4b {
  background: url('img/flex5.png') no-repeat right -35px bottom -10px, linear-gradient(140deg, #DDEBFC 13.83%, #B0D3FF 77.19%);
}

.cat__title--white {
  color: var(--color-white);
}

.section.activate-section {
  margin-top: 80px;
  background: url(img/activate_line.png) center bottom -30px no-repeat;
  overflow: visible;
}

.activate__arrows {
  display: none;
}

.activate__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 40px;
}

.activate__item {
  min-height: 266px;
  border-radius: 60px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.activate__item--1 {
  background: url('img/activate.png') no-repeat right -20px top 0px, linear-gradient(109deg, #A2CCFF -14.16%, #D4D3FF 17.11%, #C7DEFF 48.38%), #FFF;
  z-index: 1;
  transform: rotate(-5deg);
}

.activate__item--2 {
  background: url('img/activate2.png') no-repeat right top 10px, #E5E8FF;
  z-index: 2;
  transform: rotate(6deg) translateY(40px);
  gap: 0;
  align-self: start;
}

.activate__item--3 {
  background: url('img/activate3.png') no-repeat right -10px top -10px, linear-gradient(358deg, #D9CBFF 1.65%, #E5E8FF 86.28%);
  z-index: 3;
  transform: rotate(-5deg);
  gap: 0;
  align-self: start;
}

.activate__item--4 {
  background: url('img/activate4.png') no-repeat right top -20px, linear-gradient(287deg, #B99EFF 50.91%, #C7DEFF 109.2%), #C7DEFF;
  z-index: 4;
  transform: rotate(6deg);
}

.activate__img {
  width: 60px;
  flex-shrink: 0;
}

.activate__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.activate__text--white {
  color: var(--color-white);
}

.activate__link {
  color: var(--color-white);
  text-decoration: underline;
}

.activate__link--dark {
  color: var(--color-dark-blue);
  text-decoration: underline;
}

.activate__badge {
  background: var(--color-white);
  color: var(--color-dark-blue);
  width: max-content;
  max-width: max-content;
  padding: 8px 24px;
  border-radius: 500px;
  transform: rotate(-2.89deg);
}

.section.limit-section {
  margin-top: 120px;
}

.limit-section .container {
  position: relative;
  overflow: hidden;
  min-height: 510px;
  background: linear-gradient(106deg, #D7C7FF 5.91%, #C7DEFF 71.89%), #C7DEFF;
  border-radius: var(--border-radius);
  padding-top: 80px;
  padding-bottom: 120px;
}

.limit__fon {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 646px;
  height: 188px;
  z-index: 0;
  pointer-events: none;
  animation: float-down 4s ease-in-out infinite alternate;
}

.limit__inner {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
  align-items: flex-start;
}

.limit__left {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.limit__right {
  grid-column: span 7;
  background: url('img/limit.png') no-repeat right -30px bottom 20px, #F2F3FF;
  border-radius: 60px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.limit__right img.limit__img {
  position: absolute;
  right: -50px;
  bottom: 40px;
  pointer-events: none;
}

.limit__right p,
.limit__right ul {
  padding-right: 60px;
}

.limit-section h2 {
  font-size: 48px;
}

.limit-section h3 {
  font-size: 24px;
}

.limit__badge {
  width: 370px;
  max-width: max-content;
  background: var(--color-blue);
  color: var(--color-white);
  padding: 12px 24px;
  border-radius: 30px;
  text-align: center;
}

.limit__left .limit__badge {
  transform: rotate(-2deg);
  text-align: left;
  padding-left: 50px;
  background-image: url(img/trata.png);
  background-repeat: no-repeat;
  background-position: left 20px center;
  background-size: auto;
  width: 400px;
}

.limit__right .limit__badge {
  transform: rotate(-4deg);
  margin-bottom: -50px;
  align-self: center;
  width: 350px;
  text-align: center;
  background: #A3CEFF;
  color: #050041;
}

.limit__list {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.section.wallets-section {
  margin-top: 20px;
}

.wallets__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 40px;
  text-align: left;
  align-items: end;
  width: 100%;
}

.wallets__item {
  min-height: 220px;
  border-radius: 60px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wallets__item--1 {
  background: url('img/wallet.png') no-repeat right -20px bottom -20px, linear-gradient(270deg, #CBE0FF 62.02%, #D1D4FF 86.54%), #FFF;
  transform: rotate(-3deg);
  z-index: 1;
}

.wallets__item--2 {
  background: url('img/wallet2.png') no-repeat right -20px bottom -20px, linear-gradient(121deg, #FEFEFF 48.76%, #E3D9FF 92.45%);
  margin-left: -40px;
  z-index: 2;
}

.wallets__item--3 {
  background: url('img/wallet3.png') no-repeat right top, linear-gradient(104deg, #811AC7 -36%, #E6DCFF 150.74%);
  margin-left: auto;
  max-width: 320px;
  transform: rotate(5deg);
}

.wallets__white {
  color: var(--color-white);
}

.wallets-section .container {
  min-height: 660px;
  background: url(img/wallets-section-line.png) left -54px bottom -32px no-repeat, linear-gradient(164deg, #EFF3FE 51.19%, #E8E4FE 128.81%);
  border-radius: var(--border-radius);
  padding-top: 80px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.wallets-section .container h2 {
  margin-bottom: 20px;
  font-size: 50px;
}

.section.calculator-section {
  margin-top: 120px;
}

.calculator-section h2 {
  margin-bottom: 20px;
}

/* ── Calculator ── */
.calc {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  align-items: flex-start;
}

/* Left panel */
.calc__left {
  display: flex;
  gap: 24px;
  background: #DDE3FF;
  border-radius: 40px;
  padding: 10px;
  flex: 1;
}

.calc__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  padding: 40px 0px 30px 40px;
}

.calc__summary {
  background: #C6D1FF;
  border-radius: 30px;
  padding: 40px 30px 30px 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 260px;
  width: 100%;
  min-height: 100%;
  box-sizing: border-box;
}

.calc__summary-title {
  font-family: var(--font-family);
  font-weight: var(--font-weight-demibold);
  font-size: 16px;
  background: #fff;
  border-radius: 100px;
  padding: 8px 20px;
  display: inline-block;
  width: fit-content;
  color: var(--color-dark-blue);
}

.calc__summary-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calc__summary-block:nth-child(3) {
  flex: 1;
}

.calc__summary-label {
  font-family: var(--font-family);
  font-size: 12px;
  color: #8559F6;
  margin-bottom: 4px;
}

.calc__summary-amount {
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  font-size: 36px;
  color: var(--color-dark-blue);
  line-height: 1.1;
}

/* Right panel */
.calc__right {
  display: flex;
  gap: 0;
  flex: 1;
  align-items: stretch;
  padding-top: 40px;
}

.calc__divider {
  width: 2px;
  background: #D6C8FE;
  flex-shrink: 0;
  margin-left: 50px;
  margin-right: 30px;
  align-self: stretch;
}

.calc__right-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.calc__right-title {
  font-family: var(--font-family);
  font-weight: var(--font-weight-demibold);
  font-size: 24px;
  color: var(--color-dark-blue);
  margin: 0;
}

.calc__right-result {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 180px;
  padding-top: 8px;
}

.calc__result-badge {
  background: #DDE3FF;
  border-radius: 100px;
  padding: 10px 20px;
  font-family: var(--font-family);
  font-weight: var(--font-weight-demibold);
  font-size: 14px;
  color: var(--color-dark-blue);
  width: fit-content;
}

.calc__result-label {
  font-family: var(--font-family);
  font-size: 13px;
  color: var(--color-dark-blue);
  margin-bottom: 4px;
}

.calc__result-amount {
  font-family: var(--font-family);
  font-weight: var(--font-weight-demibold);
  font-size: 36px;
  color: var(--color-dark-blue);
  line-height: 1.1;
}

.calc__result-amount--violet {
  color: var(--color-violet);
}

.calc__result-row:nth-child(2) .calc__result-amount {
  font-size: 24px;
}

/* Fields */
.calc__label {
  display: block;
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: var(--font-weight-demibold);
  color: #8559F6;
  margin-bottom: 8px;
}

.calc__input {
  width: 100%;
  background: #fff;
  border: none;
  border-radius: 500px;
  padding: 14px 18px;
  font-family: var(--font-family);
  font-size: 16px;
  color: var(--color-dark-blue);
  box-sizing: border-box;
  outline: none;
}

.calc__input--light {
  background: #EEF1FE;
}

select.calc__input {
  border-right: 20px solid transparent;
}

.calc__input::placeholder {
  color: #aab0cc;
}

/* Radio */
.calc__radios {
  display: flex;
  gap: 60px;
}

.calc__radio {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 16px;
  color: var(--color-dark-blue);
}

.calc__radio input[type="radio"] {
  display: none;
}

/* Left calculator radio */
.calc__radio-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.calc__radio input[type="radio"]:checked + .calc__radio-dot::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #8559F6;
}

/* Right calculator radio */
.calc__right-form .calc__radio-dot {
  background: #EEF1FE;
}

/* Slider */
.calc__grade-value {
  font-family: var(--font-family);
  font-weight: var(--font-weight-demibold);
  font-size: 20px;
  color: var(--color-dark-blue);
  margin-bottom: 8px;
}

.calc__slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  background: linear-gradient(to right, #8559F6 0%, #8559F6 var(--val, 0%), #fff var(--val, 0%), #fff 100%);
}

.calc__right-form .calc__slider {
  background: linear-gradient(to right, #8559F6 0%, #8559F6 var(--val, 0%), #DDE3FF var(--val, 0%), #DDE3FF 100%);
}

.calc__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-violet);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(133, 89, 246, 0.4);
}

.calc__slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-violet);
  cursor: pointer;
  border: none;
}

.calc__slider-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-family);
  font-size: 13px;
  color: #C6D1FF;
  margin-top: 14px;
}

.calc__left .calc__form .calc__note {
  margin-top: 20px;
}

/* Note */
.calc__note {
  font-family: var(--font-family);
  font-size: 13px;
  color: #839BFC;
  line-height: 1.4;
  margin: 0;
}

.calc__field {
  display: flex;
  flex-direction: column;
}

.section.card-section {
  margin-top: 120px;
  background: url(img/card_line.png) center bottom -48px no-repeat;
}

.section.faq {
  margin-top: 80px;
}

/* ── Basic section ── */

.section.basic-section {
  margin-top: 80px;
}

.basic-section .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 60px;
}

.tab {
  border-radius: 30px;
  border: 2px solid var(--color-light-purple);
  padding: 12px 24px;
  background: transparent;
  color: var(--color-dark-blue);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.tab:hover {
  background: var(--color-light-purple);
}

.tab.active {
  background: var(--color-violet);
  color: var(--color-white);
  border-color: var(--color-violet);
}

/* ── Basic grid ── */

.basic__grid {
  width: 100%;
  margin-top: 20px;
}

.basic__tab-content {
  display: none;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
  grid-auto-rows: 155px;
}

.basic__tab-content.active {
  display: grid;
}

.basic__card {
  grid-column: span 3;
  border-radius: 60px;
  padding: 40px 20px 40px 40px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-dark-blue);
  position: relative;
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease;
}

.basic__card:hover {
  transform: scale(1.02);
}

.basic__card--white {
  color: var(--color-white);
}

.basic__card--sm { grid-row: span 1; }
.basic__card--md { grid-row: span 2; }
.basic__card--lg { grid-row: span 4; }

.basic__card--h3-xl h3 { font-size: 40px; }

.basic__card-label {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 100px;
  font-family: var(--font-family);
  font-weight: var(--font-weight-demibold);
  font-size: 12px;
  line-height: 0.5em;
  margin-bottom: 8px;
  width: max-content;
}

.basic__card-label--light {
  background: #fff;
  color: #0077FF;
}

.basic__card-label--dark {
  background: #0077FF;
  color: #fff;
}

.basic__card--1 {
  background-image: url('img/t1.png'), linear-gradient(180deg, #EFF3FE 10%, #A3FAFF 148.91%);
  background-repeat: no-repeat;
  background-position: center bottom -40px, center center;
  background-size: auto, cover;
}

.basic__card--2 {
  background-image: url('img/t2.png'), linear-gradient(123deg, #66ABFF -3.85%, #A3FAFF 61.99%);
  background-repeat: no-repeat;
  background-position: center bottom, center center;
  background-size: auto, cover;
}

.basic__card--3 {
  background-image: url('img/t3.png'), linear-gradient(141deg, #EFF3FE 22.42%, #CDFCEB 143.47%);
  background-repeat: no-repeat;
  background-position: right 10px bottom -10px, center center;
  background-size: auto, cover;
}

.basic__card--4 {
  background-image: url('img/t4.png'), linear-gradient(180deg, #EFF3FE 0%, #EFF3FE 100%);
  background-repeat: no-repeat;
  background-position: center bottom, center center;
  background-size: auto, cover;
}

.basic__card--5 {
  background-image: url('img/t5.png'), linear-gradient(99deg, #EFF3FE -6.87%, #A6FADB 100.9%);
  background-repeat: no-repeat;
  background-position: right -10px bottom 5px, center center;
  background-size: auto, cover;
}

.basic__card--6 {
  background-image: url('img/t6.png'), linear-gradient(155deg, #EFF3FE 31.67%, #9DFAFA 146.85%);
  background-repeat: no-repeat;
  background-position: right -40px bottom -60px, center center;
  background-size: auto, cover;
}

.basic__card--7 {
  background: url('img/block-7.jpg') center / cover no-repeat;
  justify-content: flex-end;
}

.basic__card--8 {
  background-image: url('img/t8.png'), linear-gradient(110deg, #D6FFF0 13.34%, #86D5FF 84.5%, #00BAC9 155.65%);
  background-repeat: no-repeat;
  background-position: center bottom -20px, center center;
  background-size: auto, cover;
}

.basic__card--9 {
  background-image: url('img/t9.png'), linear-gradient(277deg, #F1D9FA 24.47%, #A9CFFF 107.12%);
  background-repeat: no-repeat, no-repeat;
  background-position: center bottom, center center;
  background-size: auto, cover;
}

.basic__card--10 {
  background-image: url('img/t10.png'), linear-gradient(120deg, #66ABFF 22%, #C7DEFF 77.4%);
  background-repeat: no-repeat, no-repeat;
  background-position: center bottom, center center;
  background-size: auto, cover;
}

.basic__card--11 {
  background-image: url('img/t11.png'), linear-gradient(146deg, #66ABFF 9.64%, #C7DEFF 62.6%);
  background-repeat: no-repeat, no-repeat;
  background-position: center bottom -20px, center center;
  background-size: auto, cover;
}

.basic__card--12 {
  background-image: url('img/t12.png'), linear-gradient(189deg, #4398FF 8.68%, #C7DEFF 137.63%);
  background-repeat: no-repeat, no-repeat;
  background-position: center bottom, center center;
  background-size: auto, cover;
}

.basic__card--13 {
  background-image: url('img/t13.png'), linear-gradient(180deg, #EFF3FE 0%, #EFF3FE 100%);
  background-repeat: no-repeat, no-repeat;
  background-position: right -20px bottom -20px, center center;
  background-size: auto, cover;
}

.basic__card--14 {
  background-image: url('img/t14.png'), linear-gradient(13deg, #F1D9FA -2.21%, #A9CFFF 99.17%);
  background-repeat: no-repeat, no-repeat;
  background-position: right -30px bottom, center center;
  background-size: auto, cover;
}

.basic__card--15 {
  background-image: url('img/t15.png'), linear-gradient(167deg, #EFF3FE 9.19%, #AFD0FF 109.37%);
  background-repeat: no-repeat, no-repeat;
  background-position: right -40px bottom -20px, center center;
  background-size: auto, cover;
}

.basic__card--16 {
  background-image: url('img/t16.png'), linear-gradient(142deg, #EFF3FE 17.05%, #C8DEFF 57.65%, #FFD1E6 98.24%);
  background-repeat: no-repeat, no-repeat;
  background-position: right bottom, center center;
  background-size: auto, cover;
}

.basic__card--17 {
  background-image: url('img/t17.png'), linear-gradient(180deg, #EFF3FE 0%, #EFF3FE 100%);
  background-repeat: no-repeat, no-repeat;
  background-position: center bottom, center center;
  background-size: auto, cover;
}

.basic__card--18 {
  background-image: url('img/t18.png'), linear-gradient(180deg, #EFF3FE 0%, #EFF3FE 100%);
  background-repeat: no-repeat, no-repeat;
  background-position: right -60px bottom -40px, center center;
  background-size: auto, cover;
}

.basic__card--19 {
  background: url('img/block-19.jpg') center / cover no-repeat;
}

.basic__card--20 {
  background-image: url('img/t20.png'), linear-gradient(177deg, #C7DEFF 3.07%, #72ADEE 28.1%, #FF85BA 85.09%);
  background-repeat: no-repeat, no-repeat;
  background-position: center bottom, center center;
  background-size: auto, cover;
}

.basic__card--21 {
  background-image: url('img/t21.png'), linear-gradient(315deg, #AED1FF -10.47%, #EFF3FE 74.81%);
  background-repeat: no-repeat, no-repeat;
  background-position: right bottom -20px, center center;
  background-size: auto, cover;
}

.basic__card--22 {
  background-image: url('img/t22.png'), linear-gradient(146deg, #A1C9FF 14.76%, #96C5FF 48.44%, #C7DEFF 82.12%);
  background-repeat: no-repeat, no-repeat;
  background-position: right bottom -10px, center center;
  background-size: auto, cover;
}

.basic__card--23 {
  background-image: url('img/t23.png'), linear-gradient(244deg, #A1C9FF -27.79%, #F2F0ED 85.9%);
  background-repeat: no-repeat, no-repeat;
  background-position: right bottom -20px, center center;
  background-size: auto, cover;
}

.basic__card--24 {
  background-image: url('img/t24.png'), linear-gradient(313deg, #D6C8FE 1.98%, #C7DEFF 22.98%, #EDEFFF 54.12%);
  background-repeat: no-repeat, no-repeat;
  background-position: center bottom, center center;
  background-size: auto, cover;
}

.basic__card--25 {
  background-image: url('img/t25.png'), linear-gradient(29deg, #EFF3FE 46.5%, #A6FADB 120.12%);
  background-repeat: no-repeat, no-repeat;
  background-position: center bottom -70px, center center;
  background-size: auto, cover;
}

.basic__card--26 {
  background: url('img/block-26.jpg') center top / cover no-repeat;
}

.basic__card-overlay {
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background: rgba(0, 119, 255, 0.30);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.basic__card-soon {
  border-radius: 500px;
  background: #FFF;
  padding: 8px 24px;
  color: #07F;
  text-align: center;
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: var(--font-weight-bold);
}

/* ── Card section ── */

.card-section .container > h2 {
  margin-bottom: 20px;
}

.card-section__inner {
  position: relative;
  min-height: 500px;
}

.card-section__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 382px;
}

.card-section__block {
  position: absolute;
  width: 431px;
  border-radius: 60px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-section__block--1 {
  background: linear-gradient(300deg, #07F -67.12%, #EFF3FE 73.16%, #EEEFFE 89.02%);
  z-index: 2;
  left: 440px;
  top: 100px;
  transform: rotate(-3deg);
  background-image: url('img/card1.png'), linear-gradient(300deg, #07F -67.12%, #EFF3FE 73.16%, #EEEFFE 89.02%);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: auto;
}

.card-section__block--2 {
  background-color: #E6EDFF;
  background-image: url('img/card2.png');
  background-repeat: no-repeat;
  background-position: right -50px bottom;
  background-size: auto;
  z-index: 3;
  left: 830px;
  top: 150px;
  transform: rotate(0deg);
}

.card-section__block--3 {
  background-image: url('img/card3.png'), linear-gradient(324deg, #A056D8 -21.01%, #F2E1FF 36.27%, #FDFBFF 90.6%);
  background-repeat: no-repeat, no-repeat;
  background-position: right -20px top -10px, center center;
  background-size: auto, cover;
  z-index: 1;
  left: 460px;
  top: 270px;
  transform: rotate(3deg);
}

.card-section__badge {
  position: absolute;
  width: 670px;
  background: var(--color-blue);
  color: var(--color-white);
  padding: 12px 24px;
  border-radius: 30px;
  z-index: 4;
  left: 520px;
  top: 410px;
  transform: rotate(-3deg);
  text-align: center;
}

.faq .container {
  position: relative;
  overflow: hidden;
  padding-top: 60px;
  padding-bottom: 60px;
}

.faq__bubble {
  position: absolute;
  right: -10px;
  top: -10px;
  pointer-events: none;
  animation: float 4.5s ease-in-out infinite alternate;
  animation-delay: 0.7s;
}

.faq .container > h2 {
  margin-bottom: 40px;
}

.faq__mobile-select {
  display: none;
  position: relative;
  margin-bottom: 24px;
}

.faq__mobile-trigger {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  width: 100%;
  padding: 16px 48px 16px 24px;
  background: var(--color-violet);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  font-size: 16px;
  color: #fff;
  gap: 12px;
  box-sizing: border-box;
  transition: background 0.2s;
  text-align: left;
}

.faq__mobile-trigger svg {
  position: absolute;
  right: 24px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq__mobile-trigger.open svg {
  transform: rotate(180deg);
}

.faq__mobile-dropdown {
  display: none;
  list-style: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  overflow: hidden;
  z-index: 100;
  padding: 8px 0;
}

.faq__mobile-dropdown.open {
  display: block;
}

.faq__mobile-option {
  padding: 14px 24px;
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  font-size: 16px;
  color: var(--color-dark-blue);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.faq__mobile-option:hover {
  background: #f0ecff;
}

.faq__mobile-option.active {
  color: var(--color-violet);
}

.faq__inner {
  display: flex;
  gap: 40px;
}

.faq__left {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 379px;
  flex-shrink: 0;
}

.faq__categories {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq__category {
  cursor: pointer;
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  font-size: 16px;
  line-height: 115%;
  color: var(--color-dark-blue);
  transition: color 0.3s ease;
}
.faq__category:hover {
  color: var(--color-violet);
}
.faq__category.active {
  color: var(--color-violet);
}

.faq__category.active::after {
  content: ' →';
}

.faq__right {
  flex: 1;
}

.faq__accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq__item {
  background: var(--color-white);
  border-radius: 40px;
  overflow: hidden;
  transition: border-radius 0.3s ease;
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px;
  cursor: pointer;
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  font-size: 16px;
  line-height: 115%;
  color: var(--color-dark-blue);
}

.faq__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}

.faq__answer-inner {
  overflow: hidden;
  min-height: 0;
}

.faq__answer-content {
  padding: 0 24px 24px;
  font-family: var(--font-family);
  font-weight: var(--font-weight-demibold);
  font-size: 14px;
  line-height: 140%;
  color: var(--color-dark-blue);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item.open .faq__answer {
  grid-template-rows: 1fr;
}

.faq__item.open {
  border-radius: 30px;
}

/* ── Footer ── */

.footer-section {
  padding: 0 var(--section-padding);
  margin-top: 20px;
  margin-bottom: 16px;
}

.footer {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  background: linear-gradient(106deg, #D7C7FF 5.91%, #C7DEFF 71.89%), #C7DEFF;
  border-radius: var(--border-radius);
  padding: 60px 30px 20px;
}

.footer__bubble {
  position: absolute;
  right: -80px;
  top: 50px;
  pointer-events: none;
  animation: float 5s ease-in-out infinite alternate;
}

.footer__logo {
  display: block;
  width: 50px;
  margin-bottom: 20px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 6px;
  row-gap: 60px;
  margin-bottom: 60px;
}

.footer__cell {
  grid-column: span 4;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__cell--info {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 12px;
}


.footer__cell--legal {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 12px;
  justify-content: flex-end;
}

.footer__link,
.footer__copy {
  color: #909AF7;
  text-decoration: none;
}

.footer__cell--dev {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

/* ── Bubbles ── */

@keyframes float {
  from {
    transform: translateY(0) rotate(0deg);
  }
  to {
    transform: translateY(var(--float-distance, -24px)) rotate(var(--float-rotate, 8deg));
  }
}

.bubble {
  position: absolute;
  animation: float var(--float-speed, 4s) ease-in-out infinite alternate;
  animation-delay: var(--float-delay, 0s);
}

/* direction */
[data-float-dir="up"]   { --float-distance: -24px; }
[data-float-dir="down"] { --float-distance:  24px; }

/* speed */
[data-float-speed="slow"]   { --float-speed: 6s; }
[data-float-speed="normal"] { --float-speed: 4s; }
[data-float-speed="fast"]   { --float-speed: 2.5s; }

/* rotation */
[data-float-rotate="none"]   { --float-rotate:  0deg; }
[data-float-rotate="small"]  { --float-rotate:  8deg; }
[data-float-rotate="medium"] { --float-rotate: 18deg; }
[data-float-rotate="large"]  { --float-rotate: 32deg; }

/* delay — чтобы шары не двигались синхронно */
[data-float-delay="1"] { --float-delay: 0.5s; }
[data-float-delay="2"] { --float-delay: 1s;   }
[data-float-delay="3"] { --float-delay: 1.5s; }
[data-float-delay="4"] { --float-delay: 2s;   }

/* ── Popup ── */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: #1601294D;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.popup-overlay.active {
  display: flex;
}

.popup {
  position: relative;
  width: 540px;
  background: #fff;
  border-radius: 60px;
  padding: 40px;
}

.popup__close {
  position: absolute;
  top: 40px;
  right: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: 0;
}

.popup__title {
  margin-bottom: 16px;
  padding-right: 40px;
}

.popup__text {
  margin: 0;
}

.popup__list {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}

.popup__list--disc {
  list-style-type: disc;
}

.popup__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.popup__columns {
  display: flex;
  gap: 40px;
}

.popup__badge {
  background: #0077FF;
  color: #fff;
  width: max-content;
  padding: 8px 24px;
  border-radius: 500px;
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
}

.popup__link {
  color: var(--color-dark-blue);
  text-decoration: underline;
}

.header__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu__box {
  background: #E9E2FF;
  border-radius: 50px;
  padding: 40px 30px;
  margin: 16px 10px;
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.mobile-menu__logo {
  width: 160px;
}

.mobile-menu__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu__close img {
  width: 20px;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 1360px) {
  .cat__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-section__block--2 {
    left: 60%;
  }

  .button {
    font-size: 16px;
  }

  .hero__badge {
    position: relative;
    font-size: 16px;
    top: auto;
    left: 0;
    margin-bottom: 30px;
  }

  .hero__content h1 {
    margin-bottom: 10px;
  }

  .basic__card h3,
  .basic__card--h3-xl h3 {
    font-size: 18px;
  }

  .basic__card {
    border-radius: 50px;
  }

  .basic-section .container {
    padding-left: 30px;
    padding-right: 30px;
  }

  .basic__card {
    padding: 40px;
  }

  .footer__cell {
    flex-direction: column;
    flex-wrap: nowrap;
  }
}

@media (max-width: 1190px) {
  .header__nav {
    display: none;
  }

  .header__burger {
    display: flex;
    align-items: center;
  }

  .header__logo {
    position: static;
    transform: none;
    width: 160px;
  }

  .header {
    justify-content: space-between;
    padding: 10px 24px;
  }

  .hero__bubble--h6,
  .hero__bubble--h3,
  .how__photo,
  .limit__fon {
    display: none;
  }

  .footer__bubble {
    width: 170px;
    right: -50px;
  }

  .card-section__block,
  .card-section__badge {
    position: relative;
  }

  .card-section__block--1,
  .card-section__block--2,
  .card-section__block--3 {
    transform: none;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
  }

  .card-section__badge {
    transform: none;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
  }

  .card-section__content {
    max-width: 100%;
  }

  .card-section__img {
    max-width: 390px;
  }

  .section.activate-section {
    background: none;
  }

  .activate__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 10px;
  }

  .activate__grid::-webkit-scrollbar {
    display: none;
  }

  .activate__item {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }

  .activate__item--1,
  .activate__item--2,
  .activate__item--3,
  .activate__item--4 {
    transform: none;
  }

  .activate__arrows {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
  }

  .activate__arrow {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .activate__arrow--prev img {
    transform: scaleX(-1);
  }

  .how__card--3 {
    left: 45%;
  }

  .how__line--1 {
    left: -220px;
    top: -41px;
  }

  .hero__bubble--h4 {
    width: 193px;
    left: auto;
    right: -30px;
    bottom: -30px;
  }

  .hero__bubble--h2 {
    width: 170px;
    left: -10px;
    bottom: -30px;
  }

  .hero__bubble--h1 {
    width: 110px;
    left: -20px;
    top: auto;
    bottom: 140px;
  }

  .hero__bubble--h5 {
    width: 162px;
    right: auto;
    left: -40px;
    bottom: auto;
    top: 150px;
  }
}

@media (max-width: 1300px) {
  .calc__left {
    flex-direction: column;
  }
  .calc__right {
    flex-direction: column;
  }
  .calc__divider {
    width: 100%;
    height: 2px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .calc__form {
    padding: 40px 40px 0px 40px;
  }
  .calc__summary {
    max-width: 100%;
  }
}

@media (max-width: 990px) {
  .limit-section .container {
    background: url('img/limit.png') no-repeat right -30px bottom, linear-gradient(106deg, #D7C7FF 5.91%, #C7DEFF 71.89%);
  }

  .limit__inner {
    display: flex;
    flex-direction: column;
  }

  .limit__right {
    background: none;
    margin: 0;
    padding: 0;
  }

  .how__items {
    left: 0;
  }

  .how__card {
    position: relative;
    width: 100%;
  }

  .how__card--1,
  .how__card--3,
  .how__card--4 {
    transform: none;
    left: auto;
    right: auto;
    top: auto;
  }

  .how-it-works .container {
    height: auto;
  }

  .how__line--2 {
    display: none;
  }

  .flexible__inner {
    flex-direction: column;
  }

  .wallets__grid {
    display: flex;
    width: 100%;
    flex-direction: column;
  }

  .wallets__item--1,
  .wallets__item--2,
  .wallets__item--3 {
    transform: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .wallets__item--3 {
    max-width: 100%;
  }

  .wallets-section .container h2 {
    font-size: 32px;
  }

  .wallets__item {
    border-radius: 50px;
  }

  .wallets-section .container {
    min-height: 660px;
    background: url(img/wallets-section-line.png) left -348px bottom 80px no-repeat, linear-gradient(164deg, #EFF3FE 51.19%, #E8E4FE 128.81%);
    padding-left: 30px;
    padding-right: 30px;
  }

  .flexible__badge {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
    row-gap: 24px;
  }

  .footer__cell {
    grid-column: span 1;
    align-items: center;
    justify-content: center;
  }

  .footer__cell--legal {
    justify-content: center;
  }

  .footer__logo {
    width: 80px;
    display: block;
    margin: 0 auto;
    margin-bottom: 40px;
  }

  .footer__cell {
    gap: 20px;
  }

  .footer__cell--info {
    margin-bottom: 36px;
    margin-top: 40px;
  }

  .footer__cell--info .t2 {
    max-width: 260px;
  }

  .faq__inner {
    flex-direction: column;
  }

  .limit__badge button {
    align-self: flex-start;
  }
}

@media (max-width: 768px) {
  :root {
    --border-radius: 50px;
    --section-padding: 10px;
  }

  .section.calculator-section {
    margin-top: 60px;
  }
  .calc {
    flex-direction: column;
  }
  .calc__left {
    padding: 0;
    background: #fff;
  }
  .calc__form {
    padding: 0;
  }
  .calc__right {
    padding-top: 0;
    width: 100%;
  }
  .calc__left .calc__form .calc__note {
    margin-top: 0;
  }
  .calc__right-result {
    padding-top: 0;
  }
  .calc__divider {
    margin-top: 40px;
    margin-bottom: 40px;
  }
  .calc__left .calc__input {
    background: #EEF1FE;
  }
  .calc__left .calc__radio-dot {
    background: #EEF1FE;
  }
  .calc__left .calc__slider {
    background: linear-gradient(to right, #8559F6 0%, #8559F6 var(--val, 0%), #DDE3FF var(--val, 0%), #DDE3FF 100%);
  }

  .how__line--3 {
    top: auto;
    bottom: 0px;
  }

  .how__card--1 {
    z-index: 5;
  }

  .how__card--3 {
    transform: rotate(-3deg);
    z-index: 6;
  }

  .how__card--4 {
    transform: rotate(2deg);
    z-index: 7;
  }

  .header-wrapper {
    left: 10px;
    right: 10px;
  }

  .section.basic-section {
    padding-left: 0;
    padding-right: 0;
  }

  .hero__badge {
    transform: rotate(-4deg);
    align-self: center;
    margin-top: 0px;
  }

  .section.flexible-section,
  .section.limit-section,
  .section.faq,
  .section.card-section,
  .section.activate-section {
    padding-left: 0;
    padding-right: 0;
  }

  .faq__mobile-select {
    display: block;
  }

  .faq__left {
    display: none;
  }

  .container {
    padding: 0 40px;
  }

  .basic__card--1 {
    background-image: url(img/t1.png), linear-gradient(180deg, #EFF3FE 10%, #A3FAFF 148.91%);
    background-repeat: no-repeat;
    background-position: center right -60px, center center;
    background-size: 150px, cover;
  }

  .basic__card--2 {
    background-image: url(img/t2.png), linear-gradient(123deg, #66ABFF -3.85%, #A3FAFF 61.99%);
    background-repeat: no-repeat;
    background-position: right -20px bottom -20px, center center;
    background-size: 250px, cover;
  }

  .basic__card--6 {
    background-image: url(img/t6.png), linear-gradient(155deg, #EFF3FE 31.67%, #9DFAFA 146.85%);
    background-repeat: no-repeat;
    background-position: right -60px bottom -60px, center center;
    background-size: 250px, cover;
  }

  .basic__card--8 {
    background-image: url(img/t8.png), linear-gradient(110deg, #D6FFF0 13.34%, #86D5FF 84.5%, #00BAC9 155.65%);
    background-repeat: no-repeat;
    background-position: top -40px right -100px, center center;
    background-size: 300px, cover;
  }

  .basic__card--9 {
    background-image: url(img/t9.png), linear-gradient(277deg, #F1D9FA 24.47%, #A9CFFF 107.12%);
    background-repeat: no-repeat, no-repeat;
    background-position: bottom right -50px, center center;
    background-size: 200px, cover;
  }

  .basic__card--10 {
    background-image: url(img/t10.png), linear-gradient(120deg, #66ABFF 22%, #C7DEFF 77.4%);
    background-repeat: no-repeat, no-repeat;
    background-position: right bottom -100px, center center;
    background-size: 250px, cover;
  }

  .basic__card--12 {
    background-image: url(img/t12.png), linear-gradient(189deg, #4398FF 8.68%, #C7DEFF 137.63%);
    background-repeat: no-repeat, no-repeat;
    background-position: right -60px bottom -80px, center center;
    background-size: 250px, cover;
  }
  .basic__card--13 {
    background-image: url(img/t13.png), linear-gradient(180deg, #EFF3FE 0%, #EFF3FE 100%);
    background-repeat: no-repeat, no-repeat;
    background-position: right -50px bottom -20px, center center;
    background-size: auto, cover;
}

  .basic__card--14 {
    background-image: url(img/t14.png), linear-gradient(13deg, #F1D9FA -2.21%, #A9CFFF 99.17%);
    background-repeat: no-repeat, no-repeat;
    background-position: right -50px bottom -30px, center center;
    background-size: 200px, cover;
  }

  .basic__card--16 {
    background-image: url(img/t16.png), linear-gradient(142deg, #EFF3FE 17.05%, #C8DEFF 57.65%, #FFD1E6 98.24%);
    background-repeat: no-repeat, no-repeat;
    background-position: right bottom, center center;
    background-size: 160px, cover;
  }

  .basic__card--17 {
    background-image: url(img/t17.png), linear-gradient(180deg, #EFF3FE 0%, #EFF3FE 100%);
    background-repeat: no-repeat, no-repeat;
    background-position: right -20px bottom -20px, center center;
    background-size: 150px, cover;
  }

  .basic__card--18 {
    background-image: url(img/t18.png), linear-gradient(180deg, #EFF3FE 0%, #EFF3FE 100%);
    background-repeat: no-repeat, no-repeat;
    background-position: right -40px bottom -20px, center center;
    background-size: auto, cover;
  }
  .basic__card--19 {
    background: url(img/block-19.jpg) center left 83px / cover no-repeat;
}

  .basic__card--20 {
    background-image: url(img/t20.png), linear-gradient(177deg, #C7DEFF 3.07%, #72ADEE 28.1%, #FF85BA 85.09%);
    background-repeat: no-repeat, no-repeat;
    background-position: top right, center center;
    background-size: 200px, cover;
  }

  .basic__card--22 {
    background-image: url(img/t22.png), linear-gradient(146deg, #A1C9FF 14.76%, #96C5FF 48.44%, #C7DEFF 82.12%);
    background-repeat: no-repeat, no-repeat;
    background-position: right -60px bottom -30px, center center;
    background-size: 200px, cover;
  }

  .basic__card--25 {
    background-image: url(img/t25.png), linear-gradient(29deg, #EFF3FE 46.5%, #A6FADB 120.12%);
    background-repeat: no-repeat, no-repeat;
    background-position: right bottom -30px, center center;
    background-size: 150px, cover;
  }

  .basic__card--26 {
    background: url(img/block-26.jpg) center top -60px / cover no-repeat;
  }

  .hero__bubble--h1 {
    width: 90px;
    bottom: 110px;
  }

  .limit__badge {
    width: 100%;
    max-width: max-content;
    box-sizing: border-box;
    align-self: flex-start;
  }

  .limit__right .limit__badge {
    width: 100%;
    align-self: flex-start;
  }

  .cat__item--1 {
    background: url(img/flex1.png) no-repeat right -60px center / 200px, linear-gradient(195deg, #D7E8FE 9.05%, #A3CCFF 89.65%);
  }

  .cat__item--3 {
    background: url(img/flex3.png) no-repeat right -80px bottom -20px / 150px, linear-gradient(184deg, #FFF 6.25%, #E8E0FF 69.28%);
  }

  .cat__item--4b {
    background: url(img/flex5.png) no-repeat right 0px bottom -30px, linear-gradient(140deg, #DDEBFC 13.83%, #B0D3FF 77.19%);
  }

  .popup {
    margin: 0 10px;
    width: auto;
  }

  .popup__badge {
    width: 100%;
    box-sizing: border-box;
  }

  .limit-section h2 {
    font-size: 36px;
  }

  .section.limit-section {
    margin-top: 42px;
  }

  .section.card-section {
    background: url(img/card_line-mob.png) left -250px bottom 100px no-repeat;
    margin-top: 100px;
  }

  .card-section__img {
    display: block;
    margin: 0 auto;
    max-width: 390px;
    width: 100%;
  }

  .card-section__content {
    display: flex;
    flex-direction: column;
  }

  .card-section__content .block__btn {
    display: block;
    margin: 0 auto;
    width: fit-content;
    order: 10;
  }

  .card-section__content .card-section__img {
    order: 9;
  }

  .card-section__block {
    border-radius: 50px;
  }

  .card-section__badge {
    border-radius: 500px;
  }

  .cat__grid {
    display: flex;
    flex-direction: column;
  }

  .cat__item {
    min-height: 143px;
    height: auto;
  }

  .section--no-padding {
    padding: 0;
  }

  .m-none {
    display: none;
  }

  h1 { font-size: 50px; }
  br { display: none; }

  .basic__grid br { display: block; }

  .activate__badge {
    width: auto;
    max-width: max-content;
  }
  h2 { font-size: 40px; }
  h3 { font-size: 18px; }
  .t1 { font-size: 16px; }
  .t2 { font-size: 16px; }
  .button { font-size: 16px; }

  .basic__show-more {
    display: none;
  }

  .basic__card--hidden-mobile {
    display: none !important;
  }

  .basic__show-more--visible {
    display: block;
    margin: 16px auto 0;
    padding: 14px 32px;
    background: var(--color-violet);
    color: #fff;
    border: none;
    border-radius: 100px;
    font-family: var(--font-family);
    font-weight: var(--font-weight-bold);
    font-size: 16px;
    cursor: pointer;
  }

  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    align-self: flex-start;
    width: 100%;
    margin-top: 20px;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .tab {
    flex-shrink: 0;
  }

  .basic__tab-content,
  .basic__tab-content.active {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 155px;
    gap: 10px;
  }

  .basic__tab-content {
    display: none;
  }

  .basic__card {
    grid-column: span 1;
    padding: 40px;
  }

  .basic__card--sm,
  .basic__card--md,
  .basic__card--lg {
    grid-row: span 1;
    height: 155px;
    overflow: hidden;
  }
}
