/* Reset and base styles */
@font-face {
  font-family: 'Bounded';
  src:
    url('Bounded-ExtraBold.woff2') format('woff2'),
    url('Bounded-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bounded';
  src:
    url('Bounded-Bold.woff2') format('woff2'),
    url('Bounded-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Onest';
  src: url('Onest-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Onest';
  src: url('Onest-Regular.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Onest';
  src: url('Onest-Regular.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Onest';
  src: url('Onest-Regular.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Liberation Sans';
  src: url('LiberationSans-Bold.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Liberation Sans';
  src: url('LiberationSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

body {
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px),
    linear-gradient(165.67deg, #6977EF -2.33%, #5F239F 97.88%);
  background-size: 30px 30px, 100% 100%;
  min-height: 100vh;
  color: #2d3748;
  line-height: 1.6;
  transition: filter 0.3s ease;
  overflow-x: hidden;
}

body.menu-open::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  backdrop-filter: blur(2px);
}

.container {
  margin: 0 auto;
}

/* Шапка */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
}

.logo-text {
  font-weight: 700 !important;
  font-size: 24px;
  line-height: 38px;
  vertical-align: middle;
  background: linear-gradient(104.2deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Liberation Sans', 'Onest';
  font-weight: 700;
  text-shadow: 0 0 1px rgba(102, 126, 234, 0.5);
}

.nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: rgba(102, 102, 102, 1);
  font-weight: 400;
  font-size: 16px;
  line-height: 25px;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: #667eea;
  background: rgba(102, 126, 234, 0.1);
}

.telegram-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.telegram-icon {
  width: 20px;
  height: 20px;
  display: block;
}

/* Бургер-меню */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.burger-menu span {
  width: 100%;
  height: 3px;
  background: #667eea;
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.burger-menu-active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu-active span:nth-child(2) {
  opacity: 0;
}

.burger-menu-active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Главный заголовок */
.hero {
  padding: 80px 20px;
  color: #ffffff;
  display: flex;
  justify-content: center;
}

.hero-container {
  max-width: 1340px;
  padding-left: 70px;
  display: flex;
  align-items: center;
  gap: 20px
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 739px;
}

/* Изображение в hero-секции */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-img {
  width: 654px;
  height: 564px;
  border-radius: 20px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Подзаголовок H4 */
.hero-subtitle {
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 0.489em;
  line-height: 1.364;
  color: #ffffff;
  text-align: left;
  margin: 0;
}

/* Бейджи */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  width: 100%;
}

.hero-badge {
  font-family: 'Bounded', sans-serif;
  font-weight: 700;
  font-size: 0.489em;
  line-height: 1.2;
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid #ffffff;
  color: #ffffff;
  white-space: nowrap;
}

.hero-badge--yellow {
  border-color: #fed023;
  color: #fed023;
}

/* Главный заголовок H2 */
.hero-title {
  font-family: 'Bounded', sans-serif;
  font-weight: 800;
  font-size: 1em;
  line-height: 1.511;
  letter-spacing: normal;
  color: #ffffff;
  text-align: left;
  margin: 0;
}

/* Кнопка CTA */
.hero-cta-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: 5px;
  padding: 21px 40px;
  background: #fed023;
  color: #2b250f;
  font-family: 'Onest', sans-serif;
  font-weight: 500;
  font-size: 0.4em;
  line-height: 0.622em;
  text-decoration: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  min-width: 360px;
  height: 70px;
  justify-self: start;
}

.hero-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(254, 208, 35, 0.3);
}

.hero-cta-button:active {
  transform: translateY(-1px);
}

/* Старая кнопка CTA (для совместимости) */
.cta-button {
  display: inline-block;
  padding: 18px 40px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-size: 0.4em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
  border: none;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.cta-button:active {
  transform: translateY(-1px);
}

/* Секции */
section {
  padding: 80px 20px;
  font-size: 45px;
}

.section-title {
  font-family: 'Bounded', sans-serif;
  font-weight: 800;
  font-size: 1em;
  line-height: 1.511111111111111em;
  text-align: center;
  color: #2d3748;
}

/* Блок с видео */
.video-section {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  margin: 40px auto;
  max-width: 1340px;
  box-shadow: 0px 20px 40px rgba(80, 0, 149, 0.04);
}

.video-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.video-section .section-title {
  margin: 0;
}

.video-wrapper {
  width: 100%;
  padding-left: 140px;
  padding-right: 140px;
  display: flex;
  justify-content: center;
}

.device-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1038 / 610;
}

.device-video {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 82%;
  height: 90%;
  object-fit: contain;
  border-radius: 8px;
  z-index: 0;
}

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

.video-description {
  width: 100%;
  display: flex;
  justify-content: center;
}

.video-caption {
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 0.489em;
  line-height: 1.3636363636363635em;
  text-align: center;
  color: #2b250f;
  max-width: 700px;
  margin: 0;
}

/* Блок с призывом к действию */
.cta-section {
  padding: 80px 68px;
  margin: 40px auto;
  max-width: 1340px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  box-shadow: 0px 20px 40px 0px rgba(80, 0, 149, 0.04);
}

.cta-wrapper {
  display: flex;
  gap: 60px;
  justify-content: center;
  align-items: center;
}

.cta-image {
  flex-shrink: 0;
  width: 590px;
  height: 460px;
}

.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
}

.cta-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 550px;
}

.cta-title {
  font-family: 'Bounded', sans-serif;
  font-weight: 700;
  font-size: 0.5333em;
  line-height: 1.66em;
  color: #2d3748;
  margin: 0;
}

.cta-button-primary {
  display: inline-flex !important;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 16px 20px !important;
  background: #fed023 !important;
  color: #2b250f !important;
  font-family: 'Onest', sans-serif;
  font-weight: 500;
  font-size: 0.4em;
  line-height: 0.622em;
  border-radius: 10px;
  width: 370px;
  height: 70px;
  box-shadow: none !important;
  transition: all 0.3s ease;
  border: none !important;
  text-decoration: none !important;
}

.cta-button-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(254, 208, 35, 0.3) !important;
}

/* Блоки преимуществ */
.benefits-section,
.advanced-section {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  margin: 40px auto;
  max-width: 1340px;
  box-shadow: 0px 20px 40px 0px rgba(80, 0, 149, 0.04);
  padding: 80px 68px;
}

.benefits-section .section-title,
.advanced-section .section-title {
  margin: 0 0 50px 0;
  padding-top: 0;
}

.highlight-text {
  color: rgba(80, 58, 170, 1);
}

.y-highlight-text {
  color: rgba(254, 208, 35, 1);
  font-weight: bold;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 50px;
  width: 100%;
}

.benefit-card {
  background: #6747b3;
  backdrop-filter: blur(4px);
  border-radius: 25px;
  padding: 25px;
  padding-bottom: 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  min-width: 0;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(103, 71, 179, 0.3);
}

.benefit-icon-frame {
  width: 100%;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.benefit-icon-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.benefit-title {
  font-family: 'Bounded', sans-serif;
  font-weight: 700;
  font-size: 0.533em;
  line-height: 1.6666666666666667em;
  color: #f8fafc;
  margin: 0;
}

.benefit-text {
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 0.4em;
  line-height: 1.5555555555555556em;
  color: #ffffff;
  margin: 0;
  flex: 1;
}

.button-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Блок с часто задаваемыми вопросами */
.faq-section {
  padding: 80px 68px;
  margin: 40px auto;
  max-width: 1340px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  box-shadow: 0px 20px 40px 0px rgba(80, 0, 149, 0.04);
}

.faq-section .section-title {
  margin: 0 0 70px 0;
}

.faq-wrapper {
  display: grid;
  grid-template-columns: 788px 384px;
  gap: 30px;
  align-items: flex-start;
}

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

.faq-item {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0px 10px 70px 0px rgba(141, 152, 156, 0.1);
  overflow: hidden;
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px;
  cursor: pointer;
  gap: 20px;
}

.faq-question {
  font-family: 'Bounded', sans-serif;
  font-weight: 700;
  font-size: 0.444em;
  line-height: 2em;
  color: #2d3748;
  margin: 0;
  flex: 1;
  transition: color 0.3s ease;
}

.faq-item.active .faq-question {
  color: #503aaa;
}

.faq-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 1920px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-toggle:hover {
  background: rgba(80, 58, 170, 0.1);
}

.faq-item.active .faq-toggle {
  background: #503aaa;
}

.faq-item.active .faq-toggle:hover {
  background: #503aaa;
}

.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.faq-icon-close,
.faq-icon-open {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.faq-icon-close {
  display: none;
}

.faq-icon-open {
  display: block;
}

.faq-item.active .faq-icon-close {
  display: block;
}

.faq-item.active .faq-icon-open {
  display: none;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 25px;
}

.faq-item.active .faq-content {
  max-height: 300px;
  padding: 0 25px 25px;
}

.faq-answer {
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 0.356em;
  line-height: 1.5625em;
  color: #2b250f;
  opacity: 0.7;
  margin: 0;
}

.faq-form-wrapper {
  position: sticky;
  top: 100px;
}

.faq-form {
  background: #6747b3;
  border-radius: 15px;
  padding: 60px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.faq-form-title {
  font-family: 'Bounded', sans-serif;
  font-weight: 700;
  font-size: 0.533em;
  line-height: 1.6666666666666667em;
  color: #ffffff;
  margin: 0;
}

.faq-form-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.4em;
  line-height: 1.5em;
  color: #ffffff;
  margin: 0;
}

.faq-form .cta-button-primary {
  width: 100%;
}

/* Футер */
.footer {
  background: #f5f5f5;
  margin-top: 40px;
  padding: 26px 20px;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
}

/* Левая колонка: Логотип + Копирайт */
.footer__column--left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__logo {
  font-family: 'Liberation Sans', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.6;
  background: linear-gradient(166deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer__copyright {
  font-family: 'Liberation Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: hsl(216, 15%, 52%);
}

.footer__copyright__mobile {
  font-family: 'Liberation Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: hsl(216, 15%, 52%);
  display: none;
}

/* Центральная колонка: Навигация */
.footer__column--center {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__nav-title {
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5555555555555556em;
  color: #666666;
  margin: 0;
}

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

.footer__link {
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5625em;
  color: #666666;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: #667eea;
}

/* Правая колонка: Соцсети */
.footer__column--right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

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

.footer__social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(102, 126, 234, 0.1);
  transition: all 0.2s ease;
  cursor: pointer;
}

.footer__telegram {
  width: 48px;
  height: 48px;
}

.footer__social-icon:hover {
  background: rgba(102, 126, 234, 0.2);
  transform: translateY(-2px);
}

.footer__social-icon svg {
  width: 42px;
  height: 42px;
}

/* Адаптивность */
/* Средние экраны (MacBook 13", планшеты) */
@media (max-width: 1280px) and (min-width: 1025px) {
  section {
    font-size: 34px;
  }

  /* Hero section */
  .hero {
    padding: 40px 20px;
  }

  .hero-container {
    padding-left: 0;
  }

  .hero-image-img {
    width: 534px;
    height: 444px;
  }

  .hero-badge {
    padding: 8px 20px;
  }

  .hero-cta-button {
    min-width: 320px;
    height: 65px;
    padding: 18px 35px;
  }

  .benefits-section .section-title, 
  .advanced-section .section-title {
    margin-bottom: 30px;
  }

  /* Уменьшаем padding у секций */
  .video-section,
  .cta-section,
  .benefits-section,
  .advanced-section,
  .faq-section {
    margin: 30px 60px;
  }

  /* Уменьшаем CTA секцию */
  .cta-wrapper {
    gap: 40px;
  }

  .cta-image {
    width: 450px;
    height: 350px;
  }

  .cta-content {
    width: 450px;
    gap: 35px;
  }

  .benefit-card {
    padding: 20px;
    gap: 15px;
  }

  .faq-section .section-title {
    margin-bottom: 50px;
  }

  /* Уменьшаем FAQ - делаем колонки резиновыми */
  .faq-wrapper {
    grid-template-columns: 1fr 35%;
    gap: 20px;
  }

  .faq-form {
    padding: 40px 30px;
  }

  /* Уменьшаем кнопки */
  .cta-button-primary {
    width: 320px;
    height: 60px;
    padding: 14px 18px;
  }
}

/* Маленькие ноутбуки (1024px - MacBook 13" в полном экране) */
@media (max-width: 1024px) and (min-width: 993px) {
  section {
    font-size: 33px;
  }

  .hero-container {
    padding-left: 0;
  }

  /* Hero section */
  .hero {
    padding: 50px 20px;
  }

  .hero-badge {
    padding: 8px 18px;
  }

  .hero-cta-button {
    min-width: 300px;
    height: 60px;
    padding: 16px 30px;
  }

  .hero-image-img {
    width: 434px;
    height: 344px;
  }

  .benefits-section .section-title, 
  .advanced-section .section-title {
    margin-bottom: 30px;
  }

  /* Уменьшаем padding у секций */
  .video-section,
  .cta-section,
  .benefits-section,
  .advanced-section,
  .faq-section {
    padding: 20px 20px;
    margin: 25px 20px;
  }

  /* CTA секция */
  .cta-wrapper {
    gap: 30px;
  }

  .cta-image {
    width: 380px;
    height: 300px;
  }

  .cta-content {
    width: 380px;
    gap: 25px;
  }

  .benefits-grid {
    margin-bottom: 20px;
  }

  /* Карточки */
  .benefit-card {
    padding: 18px;
    gap: 12px;
  }
  /* FAQ - делаем колонки резиновыми для маленьких ноутбуков */
  .faq-wrapper {
    grid-template-columns: 1fr;
  }

  .faq-form {
    padding: 30px 25px;
  }

  /* Кнопки */
  .cta-button-primary {
    width: 280px;
    height: 55px;
    padding: 12px 16px;
  }

  /* Хедер */
  .nav {
    gap: 20px;
  }

  .nav-link {
    font-size: 14px;
  }
}

@media (max-width: 992px) {
  .hero-container {
    padding: 0;
    justify-content: center;
  }

  section {
    font-size: 30px;
  }

  .hero-image {
    display: none;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

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

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

  .hero-badges {
    justify-content: center;
  }

  .hero-cta-button {
    justify-self: center;
  }

  .hero-image-img {
    max-width: 500px;
  }

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

  .video-section {
    padding: 60px 40px;
  }

  .device-frame {
    aspect-ratio: 1038 / 610;
  }

  .cta-section {
    padding: 60px 40px;
  }

  .faq-section {
    padding: 60px 40px;
  }

  .faq-wrapper {
    grid-template-columns: 1fr;
  }

  .benefits-section,
  .advanced-section {
    padding: 60px 40px;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: row;
    gap: 0;
    position: relative;
  }

  section {
    font-size: 28px;
  }

  .burger-menu {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 30px 30px;
    gap: 20px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transform: translateX(110%);
    transition: transform 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    will-change: transform;
  }

  .nav-open {
    transform: translateX(0);
  }

  body.menu-open {
    overflow: hidden;
  }

  .nav-link {
    font-size: 18px;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid #e2e8f0;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .telegram-link {
    width: 100%;
  }

  .telegram-icon {
    width: 18px;
    height: 18px;
  }

  .footer__container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer__column--left {
    align-items: center;
  }

  .footer__column--center {
    align-items: center;
  }

  .footer__column--right {
    align-items: center;
  }

  .footer__socials {
    justify-content: center;
  }

  .footer__copyright {
    display: none;
  }

  .footer__copyright__mobile {
    display: block;
    font-size: 14px;
    text-align: center;
    margin-top: 20px;
  }

  .hero {
    padding: 50px 20px;
  }

  .hero-container {
    gap: 30px;
  }

  .hero-content {
    gap: 20px;
  }

  .hero-title {
    line-height: 1.4;
  }

  .hero-badges {
    flex-direction: column;
    align-items: center;
  }

  .hero-badge {
    font-size: 16px;
    padding: 8px 16px;
  }

  .hero-cta-button {
    width: 100%;
    max-width: 360px;
    min-width: auto;
    height: 60px;
    padding: 16px 24px;
  }

  .hero-image-img {
    max-width: 100%;
  }

  section {
    padding: 50px 20px;
  }

  .video-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  .video-section,
  .cta-section,
  .benefits-section,
  .advanced-section,
  .faq-section {
    margin: 20px 10px;
    padding: 40px 20px;
  }

  .cta-section {
    padding: 50px 20px;
  }

  .cta-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .cta-image {
    width: 100%;
    height: 150px;
    aspect-ratio: 590 / 460;
  }

  .cta-content {
    width: 100%;
    gap: 30px;
  }

  .cta-button-primary {
    width: 100%;
    max-width: 370px;
    height: auto;
    padding: 16px 24px;
  }

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

  .benefit-card {
    padding: 25px;
  }

  .benefit-icon-frame {
    height: 150px;
  }

  .cta-button {
    padding: 15px 30px;
    width: 100%;
    max-width: 100%;
  }

  .faq-section {
    padding: 50px 20px;
  }

  .faq-section .section-title {
    margin-bottom: 50px;
  }

  .faq-wrapper {
    grid-template-columns: 1fr;
  }

  .faq-form-wrapper {
    position: static;
  }

  .faq-toggle {
    width: 50px;
    height: 50px;
  }

  .faq-icon {
    width: 20px;
    height: 20px;
  }

  .faq-header {
    padding: 20px;
  }

  .faq-content {
    padding: 0 20px;
  }

  .faq-item.active .faq-content {
    padding: 0 20px 20px;
  }

  .faq-form {
    padding: 40px 25px;
  }

  .footer__socials {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  section {
    font-size: 24px;
  }
  .hero {
    padding: 40px 15px;
  }

  .hero-container {
    gap: 20px;
  }

  .hero-badge {
    padding: 6px 14px;
  }

  .hero-cta-button {
    height: 55px;
    padding: 14px 20px;
  }

  .benefits-section,
  .advanced-section {
    padding: 50px 20px;
  }

  .benefit-card {
    padding: 20px 15px;
  }

  .cta-section {
    padding: 40px 15px;
  }

  .cta-text {
    font-size: 1.1rem;
  }

  .faq-section {
    padding: 40px 15px;
  }

  .faq-section .section-title {
    font-size: 24px;
    margin-bottom: 40px;
  }

  .faq-header {
    padding: 15px;
    gap: 10px;
  }

  .faq-toggle {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .faq-icon {
    width: 16px;
    height: 16px;
  }

  .faq-content {
    padding: 0 15px;
  }

  .faq-item.active .faq-content {
    padding: 0 15px 15px;
  }

  .faq-form {
    padding: 30px 20px;
    gap: 20px;
  }

  .footer__logo {
    font-size: 20px;
  }

  .footer__copyright {
    font-size: 14px;
  }

  .footer__nav-title {
    font-size: 16px;
  }

  .footer__link {
    font-size: 14px;
  }

  .footer__social-icon {
    width: 36px;
    height: 36px;
  }

  .footer__social-icon svg {
    width: 36px;
    height: 36px;
  }
}

/* Плавная прокрутка */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Якорь для кнопок */
#try {
  scroll-margin-top: 100px;
}

/* ============================================
   Модальное окно "Задать вопрос"
   ============================================ */

/* Overlay - затемнённый фон */
.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;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
  overflow-y: auto;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Modal window */
.modal-window {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  box-shadow: 0px 20px 60px rgba(80, 0, 149, 0.15);
  width: 100%;
  max-width: 520px;
  position: relative;
  transform: translateY(-30px) scale(0.95);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-window {
  transform: translateY(0) scale(1);
}

/* Close button */
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(102, 126, 234, 0.1);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #667eea;
  transition: all 0.2s ease;
  z-index: 10;
  padding: 0;
}

.modal-close:hover {
  background: rgba(102, 126, 234, 0.2);
  color: #503aaa;
  transform: rotate(90deg);
}

.modal-close:active {
  transform: rotate(90deg) scale(0.95);
}

/* Modal content */
.modal-content {
  padding: 50px 40px 40px;
}

.modal-title {
  font-family: 'Bounded', sans-serif;
  font-weight: 800;
  font-size: 32px;
  line-height: 1.4;
  text-align: center;
  color: #2d3748;
  margin: 0 0 10px 0;
}

.modal-subtitle {
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  color: #666;
  margin: 0 0 30px 0;
}

/* Modal form */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-label {
  font-family: 'Onest', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  color: #2d3748;
}

.form-input,
.form-textarea {
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #2d3748;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px;
  transition: all 0.2s ease;
  outline: none;
  width: 100%;
}

.form-input:hover,
.form-textarea:hover {
  border-color: #cbd5e0;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #a0aec0;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

/* Modal submit button */
.modal-submit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 18px 30px;
  background: #fed023 !important;
  color: #2b250f !important;
  font-family: 'Onest', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.55;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none !important;
  width: 100%;
  height: 60px;
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(254, 208, 35, 0.2);
}

.modal-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(254, 208, 35, 0.3) !important;
}

.modal-submit:active {
  transform: translateY(-1px);
}

.modal-submit:disabled {
  background: #e0e0e0 !important;
  color: #999 !important;
  cursor: not-allowed;
  box-shadow: none !important;
  transform: none;
  opacity: 0.7;
}

/* Текст согласия в модальном окне */
.modal-consent {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.4;
  color: #888;
  text-align: center;
}

.modal-consent a {
  color: #fed023;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.modal-consent a:hover {
  opacity: 0.8;
}

/* Блокировка прокрутки body при открытом модальном окне */
body.modal-open {
  overflow: hidden;
}

/* ============================================
   Адаптивность для модального окна
   ============================================ */

@media (max-width: 768px) {
  .modal-overlay {
    padding: 15px;
    align-items: flex-end;
  }

  .modal-window {
    max-width: 100%;
    max-height: 95vh;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
  }

  .modal-overlay.active .modal-window {
    transform: translateY(0);
  }

  .modal-content {
    padding: 40px 25px 30px;
  }

  .modal-title {
    font-size: 26px;
  }

  .modal-subtitle {
    font-size: 14px;
  }

  .modal-close {
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
  }

  .modal-close svg {
    width: 20px;
    height: 20px;
  }

  .form-input,
  .form-textarea {
    font-size: 16px;
    padding: 12px 16px;
  }

  .modal-submit {
    height: 55px;
    font-size: 16px;
    padding: 16px 24px;
  }

  .modal-consent {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .modal-overlay {
    padding: 10px;
  }

  .modal-content {
    padding: 35px 20px 25px;
  }

  .modal-title {
    font-size: 22px;
  }

  .modal-subtitle {
    font-size: 13px;
  }

  .form-label {
    font-size: 13px;
  }

  .form-input,
  .form-textarea {
    padding: 11px 14px;
    font-size: 15px;
    border-radius: 10px;
  }

  .modal-submit {
    height: 50px;
    font-size: 15px;
    padding: 14px 20px;
    border-radius: 9px;
  }

  .modal-consent {
    font-size: 10px;
  }
}
