/* styles/main.css */
:root {
  --primary: #4d61f4;
  --primary-dark: #3a4dd1;
  --primary-light: #6b7cff;
  --text: #1e1e1e;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --bg: #fff;
  --bg-light: #f8f9ff;
  --bg-gray: #f8f9ff;
  --card: #fff;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --shadow: 0 4px 6px -1px #0000001a, 0 2px 4px -1px #0000000f;
  --shadow-lg: 0 10px 15px -3px #0000001a, 0 4px 6px -2px #0000000d;
  --shadow-xl: 0 20px 25px -5px #0000001a, 0 10px 10px -5px #0000000a;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: .2s ease-out;
  --container-max: 1200px;
  --header-height: 80px;
  --glass-bg: #ffffff14;
  --glass-bg-hover: #ffffff1f;
  --glass-bg-strong: #ffffff26;
  --glass-border: #ffffff26;
  --glass-border-hover: #ffffff40;
  --glass-shadow: 0 8px 32px #0000001f;
  --glass-shadow-hover: 0 12px 40px #0000002e;
  --glass-highlight: inset 0 1px 0 #ffffff26;
  --glass-blur: blur(20px);
  --glass-saturate: saturate(180%);
  --glass-light-bg: #ffffffb3;
  --glass-light-bg-hover: #ffffffd9;
  --glass-light-border: #0000000f;
  --glass-light-shadow: 0 4px 24px #0000000f;
  --glass-light-shadow-hover: 0 8px 32px #0000001a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
  font-family: Raleway, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.reveal {
  opacity: 0;
  transition: opacity .6s ease-out, transform .6s ease-out;
  transform: translateY(20px);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > :first-child {
  transition-delay: 0s;
}

.reveal-stagger > :nth-child(2) {
  transition-delay: 80ms;
}

.reveal-stagger > :nth-child(3) {
  transition-delay: .16s;
}

.reveal-stagger > :nth-child(4) {
  transition-delay: .24s;
}

.reveal-stagger > :nth-child(5) {
  transition-delay: .32s;
}

.reveal-stagger > :nth-child(6) {
  transition-delay: .4s;
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .hero__canvas, .platform__emoji {
    display: none;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

ul, ol {
  list-style: none;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  color: var(--text);
  margin-bottom: 50px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.section-title--left {
  text-align: left;
}

.section-subtitle {
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  margin: -30px auto 50px;
  font-size: 18px;
}

.text-primary {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  cursor: pointer;
  border: none;
  border-radius: 100px;
  justify-content: center;
  align-items:  center;
  padding: 16px 32px;
  transition: all .25s;
  font-size: 16px;
  font-weight: 600;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
  position: relative;
  overflow: hidden;
}

.btn--primary:before {
  content: "";
  position: absolute;
  background: linear-gradient(90deg, #0000, #fff3, #0000);
  width: 100%;
  height: 100%;
  transition: left .5s;
  top: 0;
  left: -100%;
}

.btn--primary:hover:before {
  left: 100%;
}

.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px #4d61f459;
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px #4d61f440;
}

.btn--success {
  background-color: #10b981 !important;
}

.btn__success-icon {
  margin-right: 8px;
}

.btn--error {
  background-color: #ff4d4d !important;
}

.btn__error-icon {
  margin-right: 8px;
}

.btn__loading {
  display: inline-block;
  animation: spin 1s linear infinite;
  border: 2px solid #ffffff4d;
  border-top-color: #fff;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

@keyframes spin {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

.btn--outline {
  color: var(--text);
  border: 2px solid var(--text);
  background: none;
}

.btn--outline:hover {
  background: var(--text);
  color: #fff;
}

.btn--full {
  width: 100%;
}

.btn__arrow {
  margin-left: 8px;
  font-weight: 400;
}

.btn--lg {
  padding: 18px 36px;
  font-size: 16px;
}

.header {
  position: fixed;
  z-index: 1000;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  background: #ffffff14;
  border: 1px solid #ffffff2e;
  border-radius: 100px;
  width: calc(100% - 48px);
  max-width: 1160px;
  transition: all .3s;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 8px 32px #0000001f, inset 0 1px #ffffff26;
}

.header.header--scrolled {
  background: #ffffff1f;
  border-color: #ffffff38;
  box-shadow: 0 8px 40px #00000026, inset 0 1px #fff3;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items:  center;
  height: 56px;
  padding: 0 24px;
}

.header__logo img {
  width: auto;
  height: 40px;
}

.header__nav {
  display: flex;
  align-items:  center;
  gap: 32px;
}

.header__link {
  color: var(--text);
  transition: var(--transition);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 15px;
  font-weight: 500;
}

.header__link:hover, .header__link--calc {
  color: var(--primary);
  background: #4d61f414;
}

.header__link--calc:hover {
  background: var(--primary);
  color: #fff;
}

.header__cta {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 15px;
  font-weight: 500;
}

.header__cta:hover {
  color: var(--primary);
}

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 5px 0;
}

.header__burger span {
  display: block;
  background: var(--text);
  transition: var(--transition);
  border-radius: 2px;
  width: 100%;
  height: 2px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  transition: var(--transition);
  background: #fffffff2;
  padding: 40px 20px;
  bottom: 0;
  left: 0;
  right: 0;
  transform: translateX(100%);
}

.mobile-menu.active {
  transform: translateX(0);
}

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

.mobile-menu__link {
  color: var(--text);
  font-size: 20px;
  font-weight: 500;
}

.mobile-menu__btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 20px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
}

.hero {
  position: relative;
  display: flex;
  overflow: hidden;
  background: linear-gradient(#f8f9ff 0%, #f3f0ff 40%, #ede8ff 70%, #fefefe 100%);
  align-items:  center;
  min-height: 100vh;
  padding: 140px 0 100px;
}

.hero__canvas {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.hero__glow {
  position: absolute;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, #4d61f41f 0%, #0000 70%);
  border-radius: 50%;
  width: 600px;
  height: 600px;
}

.hero__glow--1 {
  opacity: .5;
  top: 20%;
  left: -15%;
}

.hero__glow--2 {
  opacity: .4;
  width: 500px;
  height: 500px;
  bottom: 10%;
  right: -20%;
}

.hero__grid {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  background-image: linear-gradient(#b4aadc0a 1px, #0000 1px), linear-gradient(90deg, #b4aadc0a 1px, #0000 1px);
  background-size: 32px 32px;
  inset: 0;
}

.hero__container {
  position: relative;
  z-index: 3;
  display: flex;
  text-align: center;
  flex-direction: column;
  align-items:  center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items:  center;
  max-width: 800px;
}

.hero__tag {
  display: inline-block;
  box-shadow: none;
  color: var(--text-secondary);
  background: none;
  border: 1.5px solid #0000001f;
  border-radius: 100px;
  margin-bottom: 32px;
  padding: 12px 24px;
  transition: all .25s;
  font-size: 14px;
  font-weight: 500;
}

.hero__tag:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero__title {
  color: var(--text);
  letter-spacing: -.02em;
  margin-bottom: 24px;
  font-size: 56px;
  font-weight: 600;
  line-height: 1.1;
}

.hero__title-accent {
  color: var(--primary);
}

.hero__subtitle {
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 48px;
  font-size: 18px;
  line-height: 1.7;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.hero__skolkovo {
  position: absolute;
  display: flex;
  z-index: 10;
  align-items:  center;
  gap: 8px;
  bottom: 40px;
  left: 20px;
}

@media (min-width: 768px) {
  .hero__skolkovo {
    bottom: 50px;
    left: 40px;
  }
}

@media (min-width: 1200px) {
  .hero__skolkovo {
    bottom: 60px;
    left: calc((100% - var(--container-max)) / 2 + 20px);
  }
}

.hero__skolkovo img {
  width: auto;
  height: 40px;
}

.stats {
  background: var(--bg);
  padding: 100px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.stats__item {
  text-align: center;
}

.stats__value {
  color: var(--text);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 22px;
  font-weight: 500;
}

.stats__accent {
  color: var(--primary);
  letter-spacing: -.03em;
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
}

.stats__label {
  color: var(--text-secondary);
  max-width: 280px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.5;
}

.stats__cta {
  text-align: center;
  margin-top: 60px;
}

.stats__calc-btn {
  display: inline-flex;
  color: var(--primary);
  background: linear-gradient(135deg, #4d61f41a 0%, #4d61f40d 100%);
  border: 2px solid #4d61f433;
  border-radius: 100px;
  align-items:  center;
  gap: 12px;
  padding: 18px 32px;
  transition: all .3s;
  font-size: 16px;
  font-weight: 600;
}

.stats__calc-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px #4d61f44d;
}

.stats__calc-icon {
  font-size: 20px;
}

.stats__calc-arrow {
  transition: transform .3s;
}

.stats__calc-btn:hover .stats__calc-arrow {
  transform: translateX(4px);
}

.how-it-works {
  background: var(--bg);
  padding: 100px 0;
}

.how-it-works__diagram {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.how-it-works__diagram img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.how-it-works__img--desktop {
  max-width: 100%;
}

.how-it-works__img--mobile {
  display: none;
}

@media (max-width: 767px) {
  .how-it-works__img--desktop {
    display: none;
  }

  .how-it-works__img--mobile {
    display: block;
    max-width: 33.33%;
    margin: 0 auto;
  }
}

.tools {
  background: var(--bg-gray);
  padding: 100px 0 40px;
}

.tools__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tools__card {
  background: var(--glass-light-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-light-border);
  box-shadow: var(--glass-light-shadow);
  border-radius: 16px;
  padding: 28px;
  transition: all .3s;
}

.tools__card:hover {
  background: var(--glass-light-bg-hover);
  box-shadow: var(--glass-light-shadow-hover);
  border-color: #4d61f426;
  transform: translateY(-6px);
}

.tools__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.tools__icon img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.tools__title {
  color: var(--text);
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.tools__desc {
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.tools__more-btn {
  color: var(--primary);
  cursor: pointer;
  opacity: .7;
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: none;
  margin-top: 8px;
  padding: 0;
  transition: opacity .2s;
  font-size: 12px;
}

.tools__more-btn:hover {
  opacity: 1;
}

.tools__more-text {
  overflow: hidden;
  opacity: 0;
  max-height: 0;
  margin-top: 0;
  transition: max-height .4s, opacity .3s;
}

.tools__more-text p {
  color: var(--text-secondary);
  border-top: 1px solid #4d61f41a;
  margin-top: 12px;
  padding-top: 12px;
  font-size: 13px;
  line-height: 1.6;
}

.tools__card--expanded .tools__more-text {
  opacity: 1;
  max-height: 500px;
  margin-top: 12px;
}

.platform {
  background: var(--bg-gray);
  padding: 60px 0 80px;
}

.platform__blue-bg {
  background: var(--primary);
  position: relative;
  overflow: visible;
  border-radius: 32px;
  margin: 0 20px;
  padding: 60px 40px;
}

@media (min-width: 768px) {
  .platform__blue-bg {
    margin: 0 40px;
    padding: 80px 60px;
  }
}

@media (min-width: 1200px) {
  .platform__blue-bg {
    max-width: 1160px;
    margin: 0 auto;
    padding: 80px;
  }
}

.platform__wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items:  center;
}

.platform__slider {
  overflow: hidden;
  position: relative;
  z-index: 1;
  border-radius: 16px;
  width: 100%;
  max-width: 100%;
  box-shadow: 0 20px 60px #00000040;
}

.platform__slides {
  position: relative;
}

.platform__slide {
  opacity: 0;
  position: absolute;
  pointer-events: none;
  will-change: opacity;
  width: 100%;
  transition: opacity .5s ease-out;
  top: 0;
  left: 0;
}

.platform__slide--active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}

.platform__slide img {
  display: block;
  width: 100%;
}

.platform__emoji {
  position: absolute;
  z-index: 10;
  filter: drop-shadow(0 12px 32px #0003);
  width: 180px;
  height: auto;
  transition: transform .3s ease-out;
}

.platform__emoji--left {
  top: 5%;
  left: -120px;
  transform: rotate(12deg);
}

.platform__emoji--left:hover {
  transform: rotate(12deg)translateY(-8px)scale(1.05);
}

.platform__emoji--right {
  bottom: 5%;
  right: -120px;
  transform: rotate(-12deg);
}

.platform__emoji--right:hover {
  transform: rotate(-12deg)translateY(-8px)scale(1.05);
}

@media (max-width: 1399px) {
  .platform__emoji {
    width: 150px;
  }

  .platform__emoji--left {
    left: -90px;
  }

  .platform__emoji--right {
    right: -90px;
  }
}

@media (max-width: 1199px) {
  .platform__emoji {
    width: 120px;
  }

  .platform__emoji--left {
    top: 0;
    left: -60px;
  }

  .platform__emoji--right {
    bottom: 0;
    right: -60px;
  }
}

@media (max-width: 767px) {
  .platform__emoji {
    width: 80px;
  }

  .platform__emoji--left {
    top: -30px;
    left: -20px;
  }

  .platform__emoji--right {
    bottom: -30px;
    right: -20px;
  }
}

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

.platform__arrow {
  cursor: pointer;
  background: none;
  border: none;
  width: auto;
  height: auto;
  padding: 0;
  transition: all .2s;
}

.platform__arrow:hover {
  transform: scale(1.08);
}

.platform__arrow:active {
  transform: scale(.95);
}

.platform__arrow img {
  width: 56px;
  height: 56px;
}

.advantages {
  background: var(--bg-light);
  padding: 100px 0;
}

.advantages__header {
  text-align: center;
  margin-bottom: 48px;
}

.advantages__tag {
  display: inline-flex;
  letter-spacing: .08em;
  color: var(--text-secondary);
  justify-content: center;
  align-items:  center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 600;
}

.advantages__tag-mark {
  background: var(--primary);
  border-radius: 2px;
  width: 3px;
  height: 14px;
}

.advantages__title-main {
  color: var(--text);
  margin-bottom: 16px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
}

.advantages__desc-main {
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.65;
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.advantages__card {
  background: var(--glass-light-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-light-border);
  box-shadow: var(--glass-light-shadow);
  border-radius: 20px;
  padding: 32px;
  transition: all .3s;
}

.advantages__card:hover {
  background: var(--glass-light-bg-hover);
  box-shadow: var(--glass-light-shadow-hover);
  border-color: #4d61f426;
  transform: translateY(-6px);
}

.advantages__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
}

.advantages__icon img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.advantages__title {
  color: var(--text);
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.advantages__desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.advantages__cta {
  text-align: center;
  margin-top: 48px;
}

@media (max-width: 767px) {
  .advantages__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .advantages__title-main {
    font-size: 28px;
  }

  .advantages__card {
    padding: 24px;
  }
}

.video-section {
  background: var(--bg);
  overflow: hidden;
  position: relative;
  padding: 100px 0;
}

.video-section__decor {
  position: absolute;
  z-index: 0;
  width: 280px;
  height: auto;
}

.video-section__decor--left {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.video-section__decor--right {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.video-section__subtitle {
  text-align: center;
  color: var(--text-secondary);
  max-width: 640px;
  margin: -24px auto 48px;
  font-size: 16px;
  line-height: 1.7;
}

.video-section__player {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  z-index: 1;
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.video-section__poster {
  display: flex;
  background: #e8e8e8;
  justify-content: center;
  align-items:  center;
  width: 100%;
  height: 100%;
}

.video-section__play {
  display: flex;
  transition: var(--transition);
  justify-content: center;
  align-items:  center;
  width: 64px;
  height: 64px;
}

.video-section__play:hover {
  transform: scale(1.1);
}

@media (max-width: 1199px) {
  .video-section__decor {
    width: 180px;
  }
}

@media (max-width: 767px) {
  .video-section__decor {
    opacity: .5;
    width: 100px;
  }

  .video-section__decor--left {
    left: -30px;
  }

  .video-section__decor--right {
    right: -30px;
  }
}

.trust {
  background: var(--bg);
  padding: 100px 0;
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.trust__card {
  background: var(--glass-light-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-light-border);
  display: flex;
  box-shadow: var(--glass-light-shadow);
  border-radius: 16px;
  flex-direction: column;
  justify-content: center;
  align-items:  center;
  height: 140px;
  min-height: 140px;
  padding: 32px 24px;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}

.trust__card:hover {
  box-shadow: var(--glass-light-shadow-hover);
  border-color: #4d61f41f;
  transform: translateY(-4px);
}

.trust__card--empty {
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: none;
  border: none;
}

.trust__card--empty:hover {
  box-shadow: none;
  transform: none;
}

.trust__card img {
  object-fit: contain;
  max-width: 140px;
  max-height: 60px;
}

.trust__card--sber img {
  max-width: 140px;
  max-height: 65px;
}

.trust__card--talients img {
  max-width: 140px;
  max-height: 45px;
}

.trust__card--government img {
  max-width: 160px;
  max-height: 80px;
}

.trust__card--schtandart img {
  max-width: 160px;
  max-height: 55px;
}

.trust__card--palata img {
  max-width: 120px;
  max-height: 80px;
}

.trust__card--campus img {
  max-width: 140px;
  max-height: 55px;
}

.trust__card--astramis img {
  max-width: 160px;
  max-height: 45px;
}

.trust__card--bimar img {
  max-width: 140px;
  max-height: 50px;
}

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

  .trust__card {
    height: 100px;
    min-height: 100px;
    padding: 20px 12px;
  }

  .trust__card--empty {
    display: none;
  }
}

.articles {
  background: var(--bg);
  overflow: hidden;
  padding: 100px 0;
}

.articles__wrapper {
  position: relative;
}

.articles__slider {
  overflow: hidden;
  margin: -10px 0;
  padding: 10px 0 20px;
}

.articles__track {
  display: flex;
  gap: 24px;
  transition: transform .4s;
}

.articles__card {
  background: var(--glass-light-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-light-border);
  overflow: hidden;
  box-shadow: var(--glass-light-shadow);
  border-radius: 16px;
  flex: 0 0 320px;
  min-width: 320px;
  transition: all .3s;
}

.articles__card:hover {
  box-shadow: var(--glass-light-shadow-hover);
  border-color: #4d61f41f;
  transform: translateY(-6px);
}

.articles__image {
  overflow: hidden;
  background: #e8e8e8;
  height: 180px;
}

.articles__image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform .3s;
}

.articles__card:hover .articles__image img {
  transform: scale(1.05);
}

.articles__content {
  padding: 20px;
}

.articles__tag {
  display: inline-block;
  color: var(--primary);
  background: #4d61f41a;
  border-radius: 100px;
  margin-bottom: 12px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
}

.articles__title {
  color: var(--text);
  margin-bottom: 8px;
  font-family: Unbounded, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.articles__desc {
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  -webkit-box-orient: vertical;
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.6;
}

.articles__link {
  display: inline-flex;
  color: var(--primary);
  align-items:  center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
}

.articles__link:hover {
  gap: 10px;
}

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

.articles__arrow {
  cursor: pointer;
  background: none;
  border: none;
  width: auto;
  height: auto;
  padding: 0;
  transition: transform .2s;
}

.articles__arrow:hover {
  transform: scale(1.08);
}

.articles__arrow:active {
  transform: scale(.95);
}

.articles__arrow img {
  width: 56px;
  height: 56px;
}

@media (max-width: 767px) {
  .articles__card {
    flex: 0 0 280px;
    min-width: 280px;
  }

  .articles__arrows {
    gap: 12px;
    margin-top: 32px;
  }

  .articles__arrow img {
    width: 48px;
    height: 48px;
  }
}

.faq {
  background: var(--bg);
  padding: 100px 0;
}

.faq__header {
  text-align: center;
  margin-bottom: 60px;
}

.faq__header .section-title {
  text-align: center;
  margin-bottom: 16px;
}

.faq__subtitle {
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.6;
}

.faq__list {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--border);
  transition: all .3s;
}

.faq__item:first-child {
  border-top: 1px solid var(--border);
}

.faq__item:hover, .faq__item--active {
  background: none;
}

.faq__question {
  display: flex;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  position: relative;
  background: none;
  border: none;
  justify-content: space-between;
  align-items:  center;
  gap: 16px;
  width: 100%;
  padding: 20px 40px 20px 0;
  transition: color .2s;
  font-size: 18px;
  font-weight: 500;
}

.faq__question:hover {
  color: var(--primary);
}

.faq__question:focus {
  outline: none;
}

.faq__icon {
  position: absolute;
  pointer-events: none;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  transition: opacity .3s ease-in-out, color .3s ease-in-out;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.faq__icon--plus {
  opacity: 1;
  color: var(--primary);
}

.faq__icon--close {
  opacity: 0;
  color: var(--primary);
}

.faq__item--active .faq__icon--plus {
  opacity: 0;
}

.faq__item--active .faq__icon--close {
  opacity: 1;
  color: var(--primary);
}

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

.faq__answer-inner {
  overflow: hidden;
  opacity: 0;
  transition: opacity .25s;
}

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

.faq__item--active .faq__answer-inner {
  opacity: 1;
  transition-delay: .1s;
}

.faq__answer p {
  color: var(--text-secondary);
  margin-top: 0;
  padding: 0 0 20px;
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 767px) {
  .faq__question {
    padding: 16px 36px 16px 0;
    font-size: 17px;
  }

  .faq__answer p {
    padding: 0 0 16px;
    font-size: 15px;
  }

  .faq__icon {
    width: 22px;
    height: 22px;
  }
}

.contact {
  position: relative;
  background: linear-gradient(#fff 0%, #f8f9ff 50% 100%);
  padding: 100px 0;
}

.contact:before {
  content: "";
  position: absolute;
  filter: blur(60px);
  pointer-events: none;
  background: radial-gradient(circle, #4d61f40d 0%, #0000 70%);
  width: 400px;
  height: 400px;
  top: 20%;
  right: 10%;
}

.contact__wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  position: relative;
  z-index: 1;
  align-items:  start;
  gap: 80px;
}

.contact__title {
  color: var(--text);
  margin-bottom: 24px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
}

.contact__text {
  color: var(--text-secondary);
  margin-bottom: 48px;
  font-size: 15px;
  line-height: 1.7;
}

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

.contact__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact__label {
  color: var(--text-muted);
  font-size: 13px;
}

.contact__value {
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
}

.contact__value:hover {
  color: var(--primary);
}

.contact__form-wrapper {
  background: var(--glass-light-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-light-border);
  box-shadow: var(--glass-light-shadow);
  border-radius: 24px;
  padding: 36px;
  transition: all .35s cubic-bezier(.4,0,.2,1);
}

.contact__form-wrapper:hover {
  border-color: #4d61f426;
  transform: translateY(-8px);
  box-shadow: 0 16px 48px #0000001f;
}

.contact__form-wrapper--success {
  border-color: #10b981;
  box-shadow: 0 16px 48px #10b98133;
}

.form__group {
  margin-bottom: 20px;
}

.form__group--focused .form__label {
  color: var(--primary);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__label {
  display: block;
  color: var(--text);
  margin-bottom: 8px;
  transition: color .2s;
  font-size: 13px;
  font-weight: 600;
}

.form__input-wrapper {
  position: relative;
}

.form__input-icon {
  position: absolute;
  pointer-events: none;
  color: var(--text-muted);
  transition: color .2s;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
}

.form__input, .form__textarea {
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  border-radius: 12px;
  width: 100%;
  padding: 14px 16px 14px 48px;
  transition: all .2s;
  font-family: inherit;
  font-size: 14px;
}

.form__input::placeholder, .form__textarea::placeholder {
  color: var(--text-muted);
}

.form__input:hover, .form__textarea:hover {
  border-color: var(--text-muted);
  background: #fff;
}

.form__input:focus, .form__textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px #4d61f41a;
}

.form__input:focus + .form__input-icon, .form__input-wrapper:focus-within .form__input-icon {
  color: var(--primary);
}

.form__input--error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 4px #ef44441a !important;
}

.form__checkbox-wrapper {
  margin-bottom: 24px;
}

.form__checkbox {
  display: flex;
  cursor: pointer;
  border-radius: 8px;
  align-items:  flex-start;
  gap: 12px;
  padding: 8px;
  transition: background .2s;
}

.form__checkbox:hover {
  background: #4d61f40a;
}

.form__checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form__checkbox-box {
  border: 2px solid var(--border);
  display: flex;
  color: #0000;
  background: var(--bg);
  border-radius: 6px;
  justify-content: center;
  align-items:  center;
  width: 22px;
  min-width: 22px;
  height: 22px;
  margin-top: 1px;
  transition: all .2s;
}

.form__checkbox:hover .form__checkbox-box {
  border-color: var(--primary);
  background: #4d61f40d;
}

.form__checkbox input[type="checkbox"]:focus + .form__checkbox-box {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px #4d61f426;
}

.form__checkbox input[type="checkbox"]:checked + .form__checkbox-box {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.form__checkbox-label {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

.contact__form-wrapper .btn--primary {
  padding: 16px 32px;
  font-size: 16px;
  box-shadow: 0 4px 16px #4d61f440;
}

.contact__form-wrapper .btn--primary:hover {
  box-shadow: 0 8px 24px #4d61f459;
}

@media (max-width: 767px) {
  .contact__wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .contact__title {
    font-size: 32px;
  }

  .contact__form-wrapper {
    padding: 24px;
  }
}

.footer {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer__wrapper {
  display: grid;
  grid-template-columns: auto 1fr auto;
  border-bottom: 1px solid var(--border);
  align-items:  center;
  gap: 40px;
  padding-bottom: 40px;
}

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

.footer__logo img {
  width: auto;
  height: 28px;
}

.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__social {
  display: flex;
  transition: var(--transition);
  justify-content: center;
  align-items:  center;
  width: 40px;
  height: 40px;
}

.footer__social:hover {
  opacity: .7;
}

.footer__social img {
  object-fit: contain;
  width: 40px;
  height: 40px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  align-items:  flex-start;
  gap: 12px;
}

.footer__link {
  display: flex;
  color: var(--text);
  transition: var(--transition);
  align-items:  center;
  gap: 8px;
  font-size: 14px;
}

.footer__link:hover, .footer__link-arrow {
  color: var(--primary);
}

.footer__right {
  display: flex;
  justify-content: flex-end;
}

.footer__skolkovo {
  width: auto;
  height: 40px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items:  center;
  padding-top: 24px;
}

.footer__copyright {
  color: var(--text-muted);
  font-size: 13px;
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal-link {
  color: var(--text-secondary);
  transition: var(--transition);
  font-size: 13px;
}

.footer__legal-link:hover {
  color: var(--primary);
}

@media (max-width: 1199px) {
  .section-title {
    font-size: 34px;
  }

  .hero__title {
    font-size: 44px;
  }

  .stats__grid {
    gap: 30px;
  }

  .tools__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__nav {
    gap: 16px;
  }
}

@media (max-width: 991px) {
  .footer__wrapper {
    grid-template-columns: 1fr auto;
    gap: 24px;
  }

  .footer__nav {
    order: 2;
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 70px;
  }

  .section-title {
    margin-bottom: 32px;
    font-size: 28px;
  }

  .section-subtitle {
    margin: -16px auto 32px;
    font-size: 16px;
  }

  .header {
    width: calc(100% - 32px);
    top: 12px;
  }

  .header__container {
    height: 52px;
    padding: 0 16px;
  }

  .header__nav {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    min-height: auto;
    padding: 120px 0;
  }

  .hero__tag {
    margin-bottom: 24px;
    padding: 8px 16px;
    font-size: 12px;
  }

  .hero__title {
    font-size: 32px;
  }

  .hero__subtitle {
    font-size: 16px;
  }

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

  .hero__buttons .btn {
    width: 100%;
  }

  .hero__skolkovo {
    position: absolute;
    justify-content: center;
    width: auto;
    margin-top: 0;
    padding: 0;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero__skolkovo img {
    max-width: 42%;
    height: auto;
  }

  .stats {
    padding: 60px 0;
  }

  .stats__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats__value {
    font-size: 18px;
  }

  .stats__accent {
    font-size: 52px;
  }

  .stats__cta {
    margin-top: 40px;
  }

  .stats__calc-btn {
    justify-content: center;
    width: 100%;
    padding: 16px 24px;
    font-size: 15px;
  }

  .how-it-works, .tools, .advantages, .video-section, .trust, .articles, .faq, .contact {
    padding: 60px 0;
  }

  .tools__grid {
    grid-template-columns: 1fr;
  }

  .platform {
    padding: 40px 0 60px;
  }

  .platform__blue-bg {
    background: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
  }

  .platform__wrapper {
    flex-direction: column;
  }

  .platform__slider {
    border-radius: 16px;
    box-shadow: 0 8px 32px #00000026;
  }

  .platform__emoji {
    display: none;
  }

  .platform__arrows {
    margin-top: 24px;
  }

  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .trust__card {
    min-height: 100px;
    padding: 20px 12px;
  }

  .trust__card img {
    max-width: 100px;
    max-height: 50px;
  }

  .articles__card {
    flex: 0 0 260px;
    min-width: 260px;
  }

  .articles__image {
    height: 140px;
  }

  .articles__content {
    padding: 16px;
  }

  .articles__title {
    font-size: 14px;
  }

  .articles__desc {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .footer__wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__nav {
    order: 2;
  }

  .footer__right {
    order: 3;
    justify-content: flex-start;
  }

  .footer__bottom {
    text-align: center;
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 479px) {
  .hero__title {
    font-size: 26px;
  }

  .hero__tag {
    padding: 6px 14px;
    font-size: 11px;
  }

  .section-title {
    font-size: 24px;
  }

  .btn {
    padding: 14px 24px;
    font-size: 14px;
  }

  .trust__grid {
    grid-template-columns: 1fr;
  }

  .trust__card {
    min-height: 80px;
  }

  .articles__card {
    flex: 0 0 240px;
    min-width: 240px;
  }
}

.platform__zoom-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  cursor: zoom-out;
  background: #000000e6;
  justify-content: center;
  align-items:  center;
  padding: 20px;
  inset: 0;
}

.platform__zoom-modal.active {
  display: flex;
}

.platform__zoom-modal img {
  object-fit: contain;
  border-radius: 8px;
  max-width: 100%;
  max-height: 100%;
}

.platform__zoom-close {
  position: absolute;
  color: #fff;
  cursor: pointer;
  display: flex;
  background: #fff3;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items:  center;
  width: 40px;
  height: 40px;
  font-size: 24px;
  top: 20px;
  right: 20px;
}
