@font-face {
  font-family: 'AA Stetica';
  src: url('../fonts/AAStetica/AAStetica-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'AA Stetica';
  src: url('../fonts/AAStetica/AAStetica-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'AA Stetica';
  src: url('../fonts/AAStetica/AAStetica-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Coolvetica';
  src: url('../fonts/Coolvetica/coolvetica rg.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


/* Сброс */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'AA Stetica', sans-serif;
  }
  
  /* Контейнер */
  .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
  }
  
  /* Header */
  .header {
    width: 100%;
    padding: 20px 0;
    background-color: #fff;
  }
  
  .header__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .header__logo {
    display: flex;
    align-items: center;
  }
  
  .header__logo img {
    height: 48px; /* Чуть увеличил, ближе к макету */
  }
  
  /* Навигация */
  .header__nav {
    display: flex;
    align-items: center;
    gap: 24px;
  }
  
  .header__nav ul {
    display: flex;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .header__btn {
    background-color: #3498DB;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    color: white; 
  }

  .header__btn:hover {
    background-color: #2387CA;
  }
  
  /* Исправил селектор ниже, чтобы он не затрагивал .header__btn, т.к. мешал цвету */
  .header__nav ul a {
    text-decoration: none;
    color: #000;
    font-size: 14px;
  }


/* ------------------------------ */
/* Hero (Обложка)                 */
/* ------------------------------ */

.hero {
  background-color: #ffffff; /* светлый, как в макете */
  padding: 100px 20px;
  text-align: center;
}

.hero__content {
  max-width: 1440px;
  margin: 0 auto;
}

.hero__emoji-row {
  display: flex;
  justify-content: center;
  align-items: center; 
  gap: 20px;
  margin-bottom: 30px;
}

.emoji {
  border-radius: 50%;
  object-fit: cover;
}

.emoji--small {
  width: 70px;
  height: 70px;
}

.emoji--large {
  width: 100px;
  height: 100px;
  margin-top: -30px; 
}

.hero__title {
  font-family: 'Coolvetica', sans-serif;
  font-size: 94px;
  font-weight: 400; /* Можно Regular, если не задаёт жирность */ 
  color: #3498DB;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.1;
}

.hero__subtitle {
  font-size: 24px;
  color: #2C3E50;
  font-weight: 500;
  line-height: 1;
  max-width: 680px;
  margin: 0 auto 48px;
}

.hero__subtitle::before {
  content: "– ";
  font-weight: 700;
}

.hero__btn-wrapper {
  display: flex;
  justify-content: center;
}

.hero__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #3498DB;
  color: white;
  padding: 0 28px;
  font-size: 20px;
  font-weight: 400;
  height: 74px;
  width: 310px;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.hero__btn-text {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  padding-right: 50px;
}

.hero__btn:hover {
  background-color: #2387CA;
}


.hero__btn-icon {
  position: absolute;
  right: 12px; /* Отступ от правого края */
  width: 52px;
  height: 52px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero__btn-icon img {
  width: 48px;
  height: 48px;
}

.hero__stores {
  margin-top: 64px;
  font-size: 14px;
  color: #2C3E50;
  opacity: 0.2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px; /* расстояние между текстом и иконками */
}

.hero__icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__icons img {
  width: 20px;
  height: auto;
  opacity: 1; /* иконки уже наследуют прозрачность от родителя */
}

/* ------------------------------ */
/* Panel-text                     */
/* ------------------------------ */

.panel-text {
  background-color: #fff;
  padding: 20px 0 64px;
}

.panel-text__content {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.panel-text__text {
  max-width: 1220px;
}

.panel-text__text p {
  font-size: 22px;
  font-weight: 500;
  color: #2C3E50;
  line-height: 0.5; /* Уменьшили с 1.4 до 1.1 */
  margin: 0; /* Убираем отступ снизу */
}

.panel-line {
  display: block;
  line-height: 0.5; /* Применим сюда тоже */
  margin: 0;
  padding: 0;
}

.panel-text__text .blue {
  color: #3498DB;
}

.panel-text__badge {
  background-color: #2ecc71;
  color: white;
  border-radius: 16px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 0.9;
  text-align: center;
  white-space: nowrap;
  position: relative;
  top: -35px;
}

/* ------------------------------ */
/* Ecosystem HMS                  */
/* ------------------------------ */

.ecosystem {
  background-color: #f4f4f4;
  padding: 80px 0;
}

.ecosystem__content {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  padding: 0 40px;
  align-items: flex-start;
}

.ecosystem__left {
  position: sticky;
  top: 0px;
  align-self: flex-start;
  z-index: 1;
  width: 420px;
  height: 280px;
  background-color: #1d2e45;
  color: #fff;
  border-radius: 16px;
  padding: 32px;
  box-sizing: border-box;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.ecosystem__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.ecosystem__desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  opacity: 0.9;
}

.ecosystem__controls {
  display: flex;
  gap: 0.2px; /* расстояние между кнопками */
  margin-top: 20px;
}

.ecosystem__label {
  background-color: #2a3b4f;
  color: #fff;
  border-radius: 50px;
  padding: 16px 32px 16px 24px; /* больше отступ слева, меньше справа */
  font-size: 16px;
  font-weight: 500;
  text-align: left; /* <-- ключевой момент: прижать текст влево */
  white-space: nowrap;
  width: 230px; /* уменьшаем ширину кнопки */
}

.ecosystem__arrow {
  background-color: #2a3b4f;
  width: 112px;
  height: 56px;
  min-width: 56px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ecosystem__arrow img {
  width: 46px;
  height: auto;
}

.ecosystem__list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ecosystem__list li {
  background-color: #fff;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  color: #2C3E50;
  gap: 20px;
}

.ecosystem__list .text {
  flex: 1;
  line-height: 1.4;
}

.ecosystem__list .number {
  font-size: 14px;
  font-weight: 400;
  color: #ccc;
  white-space: nowrap;
}

.ecosystem__list .blue {
  color: #3498DB;
}

/* ------------------------------ */
/* Tags                           */
/* ------------------------------ */

.tags-section-wrapper {
  background-color: #f4f4f4;
  padding: 30px 0; /* добавим отступ сверху и снизу */
}

.tags-section {
  background-color: #3498DB;
  padding: 60px 40px;
  border-radius: 20px;
  /* убран margin */
}


.tags-section__container {
  max-width: 1440px;
  margin: 0 auto;
  text-align: center;
  color: white;
}

.tags-section__title {
  font-family: 'Coolvetica', sans-serif;
  font-size: 38px;
  font-weight: 400;
  margin-bottom: 12px;
}

.tags-section__subtitle {
  font-size: 16px;
  opacity: 0.9;
  line-height: 1.4;
  margin-bottom: 40px;
}

.tags-wrapper {
  position: relative;
  overflow: hidden;
  height: 120px; /* увеличено, чтобы ряды не перекрывались */
  margin-bottom: 40px;
}

.tags {
  display: flex;
  gap: 0.2px;
  white-space: nowrap;
  will-change: transform;
  width: max-content;
}

.tags--left {
  animation: scroll-left 35s linear infinite;
}

.tags--right {
  animation: scroll-right 35s linear infinite;
  position: absolute;
  top: 60px; /* второй ряд */
  left: 0;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.tag {
  display: inline-flex;
  align-items: center;
  background-color: #4aa6e0;
  border-radius: 32px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  color: white;
}

.tag img {
  width: 20px;
  height: 20px;
  margin-left: 8px;
}

/* Кнопка Скачать */
.tags-section__btn-wrapper {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.tags-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  color: #3498db;
  font-size: 16px;
  font-weight: 500;
  padding: 0 24px;
  height: 64px;
  border-radius: 999px;
  text-decoration: none;
  position: relative;
  gap: 12px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.tags-download-btn .icon {
  width: 42px;
  height: 42px;
  background-color: #3498db;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.tags-download-btn .icon img {
  width: 20px;
  height: 20px;
  transition: filter 0.3s ease;
}

/* Ховер эффект */
.tags-download-btn:hover {
  background-color: #f2f2f2; /* светло-серый фон */
}

.tags-download-btn:hover .icon {
  background-color: #1f7cc4; /* чуть темнее синего */
}

/* ------------------------------ */
/* Main Features                  */
/* ------------------------------ */

.main-features {
  background-color: #f4f4f4;
  padding-top: 40px;
  padding-bottom: 20px;
}

.main-features__content {
  display: flex;
  gap: 40px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  flex-wrap: wrap;
}

.main-features__left {
  width: 100%;
  max-width: 360px;
  flex-shrink: 0;
}

.main-features__title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.main-features__desc {
  font-size: 18px;
  font-weight: 400;
  color: #2c3e50;
  opacity: 0.9;
  line-height: 1.4;
}

.main-features__right {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  flex: 1;
}

.feature-card {
  background-color: #fff;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  height: 200px; /* фиксированная высота */
  font-size: 16px;
  font-weight: 500;
  color: #2C3E50;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background-color: #eaf5ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon img {
  width: 24px;
  height: 24px;
}

.feature-text {
  line-height: 1.4;
}

.feature-subtext {
  font-weight: 400;
  display: block;
  margin-top: 8px;
  font-size: 13px;
}

/* ------------------------------ */
/* AI Feature Card (макетный вид)*/
/* ------------------------------ */
.feature-ai {
  grid-column: span 2;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  height: 200px;
}

.feature-content-row {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex: 1;
  gap: 20px;
}

.feature-ai-text-block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.feature-ai-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.feature-ai-subtext {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: #2C3E50;
}

.feature-ai-img {
  width: 140px;
  flex-shrink: 0;
  align-self: flex-end; /* картинка прижата к низу */
}

.feature-ai-img img {
  width: 100%;
  height: auto;
}

/* ------------------------------ */
/* Layout for inner feature card */
/* ------------------------------ */

.feature-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  height: 100%;
}

.feature-content .feature-text {
  margin-top: auto;
}

.blue {
  color: #1d9bf0; /* синий, как в макете */
}

/* ------------------------------ */
/* Responsive                    */
/* ------------------------------ */

@media (max-width: 1024px) {
  .main-features__right {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-ai {
    grid-column: span 2;
    flex-direction: column;
    gap: 20px;
    height: auto;
    align-items: flex-start;
  }

  .feature-ai-img {
    width: 80px;
  }
}

@media (max-width: 768px) {
  .main-features__content {
    flex-direction: column;
    gap: 40px;
  }

  .main-features__right {
    grid-template-columns: 1fr;
  }

  .feature-card {
    height: auto;
  }

  .feature-ai {
    flex-direction: column;
    height: auto;
  }
}

/* ------------------------------ */
/* Demo Section                   */
/* ------------------------------ */

.demo-section {
  background-color: #f4f4f4;
  padding-top: 60px;
  padding-bottom: 8px;
  overflow-x: hidden;
}

.demo-section__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  overflow: hidden; /* Чтобы обрезалось строго по ширине макета */
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.demo-section__left {
  background-color: #1d2e45;
  color: #fff;
  padding: 32px;
  border-radius: 16px;
  width: 420px; /* увеличим ширину */
  height: auto; /* фиксируем высоту */
  max-height: 320px; /* ограничим, чтобы не тянулась вниз */
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.demo-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.demo-desc {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 24px;
}

.demo-buttons {
  display: flex;
  gap: 12px;
}

.demo-tab-btn {
  background-color: #2a3b4f;
  color: #fff;
  padding: 10px 20px; /* меньше отступ */
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-size: 13px; /* меньше шрифт */
  white-space: nowrap; /* чтобы не переносился текст */
}

.demo-tab-btn.active {
  background-color: #fff;
  color: #1d2e45;
}

.demo-section__right {
  overflow-x: auto;
  overflow-y: hidden;
  flex: 1;
  padding-bottom: 0;
  position: relative;
  height: 480px; /* ограничиваем высоту по макету */
  scrollbar-width: none; /* скрываем скролл (Firefox) */
  -ms-overflow-style: none; /* скрываем скролл (IE/Edge) */
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.demo-section__right::-webkit-scrollbar {
  display: none; /* скрываем скролл (Chrome/Safari) */
}

.demo-carousel {
  display: flex;
  flex-direction: row;
  gap: 24px;
  padding-left: 20px; /* чтобы сдвинуть экраны немного внутрь от тёмной панели */
}

.demo-screens {
  display: flex;
  gap: 8px;
  min-width: max-content;
  padding-right: 60px; /* позволяет "выйти" за 1440px */
  transition: transform 0.3s ease;
}

.demo-screen {
  width: 300px;
  height: 400px; /* высота обрезки */
  background-color: #fff;
  padding: 16px;
  border-radius: 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-start; /* важно! */
  justify-content: center;
}

.demo-screens img {
  width: 100%;
  height: auto; /* можно оставить auto */
  object-fit: cover;
  border-radius: 20px;
}

/* ------------------------------ */
/* Footer                         */
/* ------------------------------ */

.footer {
  background-color: #ffffff;
  padding: 40px 0 20px;
  border-top: 1px solid #eee;
}

.footer__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 8px; /* ДОБАВИ ЭТУ СТРОКУ или замени существующий отступ */
}

.footer__logo-block {
  flex-shrink: 0;
}

.footer__logo {
  width: 180px;
  height: auto;
}

.footer__info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.footer__bubble {
  background-color: #f4f4f4;
  padding: 6px 14px;
  border-radius: 24px;
  font-size: 14px;
  color: #2c3e50;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.footer__bubble:hover {
  background-color: #e0e0e0;
  color: #000;
}

.footer__divider {
  height: 1px;
  background-color: #e0e0e0;
  width: 100%;
  margin-top: 0px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer__bottom-left {
  font-size: 13px;
  color: #555;
  line-height: 1.4;
  font-weight: 500;
}

.footer__text-small {
  font-size: 14px;
  color: #2c3e50;
  opacity: 0.8;
  margin: 0; /* убираем нижний отступ */
  white-space: nowrap;
}

.footer__stores {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer__stores img {
  height: 40px;
  width: auto;
}

.footer__store-line {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================================
   MOBILE BASE
   сначала планшет/малый ноутбук
   ========================================= */
@media (max-width: 992px) {
  .container,
  .panel-text__content,
  .ecosystem__content,
  .main-features__content,
  .demo-section__container,
  .footer__container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .header__nav {
    gap: 14px;
  }

  .header__nav ul {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    padding: 72px 0 56px;
  }

  .hero__title {
    font-size: 64px;
  }

  .hero__subtitle {
    font-size: 20px;
    margin-bottom: 36px;
  }

  .panel-text__text p,
  .panel-line {
    line-height: 1.1;
  }

  .panel-text__text p {
    font-size: 18px;
  }

  .ecosystem__content {
    flex-direction: column;
  }

  .ecosystem__left {
    position: static;
    width: 100%;
    height: auto;
    min-height: 220px;
  }

  .main-features__content {
    flex-direction: column;
  }

  .main-features__left {
    max-width: 100%;
  }

  .demo-section__container {
    flex-direction: column;
  }

  .demo-section__left {
    width: 100%;
    max-height: none;
  }

  .demo-section__right {
    width: 100%;
    height: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .footer__top,
  .footer__bottom {
    gap: 16px;
  }
}

/* =========================================
   MOBILE
   основной блок под телефон
   ========================================= */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .container,
  .panel-text__content,
  .ecosystem__content,
  .main-features__content,
  .demo-section__container,
  .footer__container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* ---------------- Header ---------------- */
  .header {
    padding: 12px 0;
  }

  .header__content {
    gap: 12px;
  }

  .header__logo img {
    height: 34px;
  }

  .header__nav {
    gap: 10px;
  }

  .header__nav ul {
    gap: 10px;
    align-items: center;
  }

  .header__nav ul a {
    font-size: 12px;
  }

  .header__btn {
    padding: 9px 14px;
    font-size: 12px;
    border-radius: 999px;
  }

  /* ---------------- Hero ---------------- */
  .hero {
    padding: 44px 0 32px;
  }

  .hero__emoji-row {
    gap: 12px;
    margin-bottom: 18px;
  }

  .emoji--small {
    width: 42px;
    height: 42px;
  }

  .emoji--large {
    width: 56px;
    height: 56px;
    margin-top: -10px;
  }

  .hero__title {
    font-size: 46px;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
  }

  .hero__subtitle {
    font-size: 18px;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 320px;
  }

  .hero__btn {
    width: 100%;
    max-width: 280px;
    height: 56px;
    font-size: 15px;
    padding: 0 20px;
  }

  .hero__btn-text {
    padding-right: 34px;
  }

  .hero__btn-icon {
    width: 36px;
    height: 36px;
    right: 10px;
  }

  .hero__btn-icon img {
    width: 30px;
    height: 30px;
  }

  .hero__stores {
    margin-top: 24px;
    font-size: 10px;
    gap: 8px;
    flex-wrap: wrap;
    text-align: center;
  }

  .hero__icons {
    gap: 8px;
  }

  .hero__icons img {
    width: 14px;
  }

  /* ---------------- Panel text ---------------- */
  .panel-text {
    padding: 8px 0 28px;
  }

  .panel-text__content {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .panel-text__text {
    max-width: 100%;
  }

  .panel-text__text p {
    font-size: 14px;
    line-height: 1.2;
  }

  .panel-line {
    line-height: 1.2;
  }

  .panel-text__badge {
    align-self: flex-end;
    position: static;
    font-size: 10px;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 12px;
  }

  /* ---------------- Ecosystem ---------------- */
  .ecosystem {
    padding: 28px 0;
  }

  .ecosystem__content {
    gap: 14px;
  }

  .ecosystem__left {
    width: 100%;
    min-height: auto;
    padding: 20px;
    border-radius: 16px;
  }

  .ecosystem__title {
    font-size: 26px;
    line-height: 1.05;
    margin-bottom: 12px;
  }

  .ecosystem__desc {
    font-size: 12px;
    line-height: 1.35;
  }

  .ecosystem__controls {
    margin-top: 18px;
    gap: 8px;
  }

  .ecosystem__label {
    width: auto;
    flex: 1;
    font-size: 13px;
    padding: 14px 18px;
  }

  .ecosystem__arrow {
    width: 62px;
    height: 48px;
    min-width: 62px;
  }

  .ecosystem__arrow img {
    width: 28px;
  }

  .ecosystem__list {
    gap: 10px;
  }

  .ecosystem__list li {
    padding: 14px 14px;
    border-radius: 14px;
    align-items: flex-start;
    font-size: 13px;
    gap: 10px;
  }

  .ecosystem__list .text {
    line-height: 1.3;
  }

  .ecosystem__list .number {
    font-size: 11px;
    padding-top: 2px;
  }

  /* ---------------- Tags ---------------- */
  .tags-section-wrapper {
    padding: 18px 0;
  }

  .tags-section {
    padding: 28px 16px;
    border-radius: 18px;
  }

  .tags-section__title {
    font-size: 28px;
    line-height: 1;
    margin-bottom: 10px;
  }

  .tags-section__subtitle {
    font-size: 13px;
    line-height: 1.35;
    margin-bottom: 24px;
  }

  .tags-wrapper {
    height: 92px;
    margin-bottom: 24px;
  }

  .tags--right {
    top: 46px;
  }

  .tag {
    padding: 8px 14px;
    font-size: 11px;
    border-radius: 999px;
  }

  .tag img {
    width: 14px;
    height: 14px;
    margin-left: 6px;
  }

  .tags-section__btn-wrapper {
    margin-top: 24px;
  }

  .tags-download-btn {
    height: 50px;
    padding: 0 16px;
    font-size: 14px;
    gap: 8px;
  }

  .tags-download-btn .icon {
    width: 32px;
    height: 32px;
  }

  .tags-download-btn .icon img {
    width: 14px;
    height: 14px;
  }

  /* ---------------- Main features ---------------- */
  .main-features {
    padding-top: 28px;
    padding-bottom: 8px;
  }

  .main-features__content {
    gap: 18px;
  }

  .main-features__title {
    font-size: 32px;
    line-height: 1;
    margin-bottom: 10px;
  }

  .main-features__desc {
    font-size: 14px;
    line-height: 1.35;
  }

  .main-features__right {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .feature-card {
    height: auto;
    min-height: 120px;
    padding: 16px;
    border-radius: 14px;
    gap: 12px;
    font-size: 14px;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .feature-icon img {
    width: 20px;
    height: 20px;
  }

  .feature-text {
    font-size: 14px;
    line-height: 1.3;
  }

  .feature-ai {
    grid-column: span 1;
    height: auto;
    padding: 16px;
    border-radius: 14px;
  }

  .feature-content-row {
    flex-direction: column;
    gap: 14px;
  }

  .feature-ai-title {
    font-size: 15px;
    line-height: 1.15;
  }

  .feature-ai-subtext {
    font-size: 13px;
    line-height: 1.4;
  }

  .feature-ai-img {
    width: 96px;
    align-self: flex-end;
  }

  /* ---------------- Demo section ---------------- */
  .demo-section {
    padding-top: 28px;
    padding-bottom: 12px;
  }

  .demo-section__container {
    gap: 14px;
  }

  .demo-section__left {
    width: 100%;
    padding: 20px;
    border-radius: 16px;
  }

  .demo-title {
    font-size: 26px;
    line-height: 1.05;
    margin-bottom: 10px;
  }

  .demo-desc {
    font-size: 12px;
    line-height: 1.35;
    margin-bottom: 16px;
  }

  .demo-buttons {
    gap: 8px;
    flex-wrap: wrap;
  }

  .demo-tab-btn {
    font-size: 12px;
    padding: 10px 14px;
  }

  .demo-section__right {
    width: 100%;
    height: auto;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .demo-section__right::-webkit-scrollbar {
    display: none;
  }

  .demo-carousel {
    padding-left: 0;
    gap: 0;
  }

  .demo-screens {
    gap: 12px;
    padding-right: 0;
  }

  .demo-screen {
    width: 260px;
    height: auto;
    min-height: 360px;
    border-radius: 18px;
    padding: 12px;
  }

  .demo-screens img {
    border-radius: 16px;
  }

  /* ---------------- Footer ---------------- */
  .footer {
    padding: 28px 0 18px;
  }

  .footer__container {
    gap: 18px;
  }

  .footer__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer__logo {
    width: 150px;
  }

  .footer__info {
    justify-content: flex-start;
    gap: 8px;
  }

  .footer__bubble {
    font-size: 12px;
    padding: 6px 10px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }

  .footer__text-small {
    font-size: 12px;
    white-space: normal;
  }

  .footer__store-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer__stores img {
    height: 34px;
  }
}

/* =========================================
   SMALL MOBILE
   ближе к макету 375px
   ========================================= */
@media (max-width: 480px) {
  .container,
  .panel-text__content,
  .ecosystem__content,
  .main-features__content,
  .demo-section__container,
  .footer__container {
    padding-left: 8px;
    padding-right: 8px;
  }

  /* ---------------- Header ---------------- */
  .header {
    padding: 8px 0;
  }

  .header__content {
    align-items: center;
  }

  .header__logo img {
    height: 30px;
  }

  .header__nav {
    gap: 8px;
  }

  .header__nav ul {
    display: none; /* позже заменим на бургер-меню */
  }

  .header__btn {
    display: none; /* позже можно вернуть через мобильное меню */
  }

  /* ---------------- Hero ---------------- */
  .hero {
    padding: 28px 0 18px;
  }

  .hero__emoji-row {
    gap: 10px;
    margin-bottom: 14px;
  }

  .emoji--small {
    width: 34px;
    height: 34px;
  }

  .emoji--large {
    width: 42px;
    height: 42px;
    margin-top: -8px;
  }

  .hero__title {
    font-size: 33px;
    line-height: 0.95;
    margin-bottom: 8px;
  }

  .hero__subtitle {
    font-size: 11px;
    line-height: 1.1;
    margin-bottom: 18px;
    max-width: 240px;
  }

  .hero__btn {
    max-width: 218px;
    width: 100%;
    height: 40px;
    font-size: 11px;
    padding: 0 14px;
  }

  .hero__btn-text {
    padding-right: 22px;
  }

  .hero__btn-icon {
    width: 24px;
    height: 24px;
    right: 8px;
  }

  .hero__btn-icon img {
    width: 18px;
    height: 18px;
  }

  .hero__stores {
    margin-top: 14px;
    font-size: 7px;
    gap: 5px;
  }

  .hero__icons {
    gap: 5px;
  }

  .hero__icons img {
    width: 10px;
  }

  /* ---------------- Panel text ---------------- */
  .panel-text {
    padding: 8px 0 18px;
  }

  .panel-text__content {
    gap: 10px;
  }

  .panel-text__text p {
    font-size: 12px;
    line-height: 1.15;
  }

  .panel-line {
    line-height: 1.15;
  }

  .panel-text__badge {
    font-size: 8px;
    padding: 5px 9px;
    border-radius: 10px;
  }

  /* ---------------- Ecosystem ---------------- */
  .ecosystem {
    padding: 18px 0;
  }

  .ecosystem__content {
    gap: 10px;
  }

  .ecosystem__left {
    padding: 12px;
    border-radius: 12px;
  }

  .ecosystem__title {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .ecosystem__desc {
    font-size: 8px;
    line-height: 1.35;
  }

  .ecosystem__controls {
    margin-top: 12px;
    gap: 6px;
  }

  .ecosystem__label {
    font-size: 10px;
    padding: 10px 12px;
  }

  .ecosystem__arrow {
    width: 46px;
    height: 34px;
    min-width: 46px;
  }

  .ecosystem__arrow img {
    width: 18px;
  }

  .ecosystem__list {
    gap: 8px;
  }

  .ecosystem__list li {
    padding: 10px 10px;
    border-radius: 10px;
    font-size: 9px;
    gap: 8px;
  }

  .ecosystem__list .text {
    line-height: 1.25;
  }

  .ecosystem__list .number {
    font-size: 8px;
  }

  /* ---------------- Tags ---------------- */
  .tags-section-wrapper {
    padding: 12px 0;
  }

  .tags-section {
    padding: 18px 10px;
    border-radius: 12px;
  }

  .tags-section__title {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .tags-section__subtitle {
    font-size: 9px;
    line-height: 1.3;
    margin-bottom: 16px;
  }

  .tags-wrapper {
    height: 70px;
    margin-bottom: 14px;
  }

  .tags--right {
    top: 35px;
  }

  .tag {
    font-size: 8px;
    padding: 6px 10px;
  }

  .tag img {
    width: 10px;
    height: 10px;
    margin-left: 4px;
  }

  .tags-section__btn-wrapper {
    margin-top: 14px;
  }

  .tags-download-btn {
    height: 36px;
    font-size: 10px;
    padding: 0 12px;
    gap: 6px;
  }

  .tags-download-btn .icon {
    width: 22px;
    height: 22px;
  }

  .tags-download-btn .icon img {
    width: 10px;
    height: 10px;
  }

  /* ---------------- Main features ---------------- */
  .main-features {
    padding-top: 18px;
    padding-bottom: 4px;
  }

  .main-features__content {
    gap: 12px;
  }

  .main-features__title {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .main-features__desc {
    font-size: 9px;
    line-height: 1.35;
  }

  .main-features__right {
    gap: 8px;
  }

  .feature-card {
    min-height: 82px;
    padding: 10px;
    border-radius: 10px;
    gap: 8px;
  }

  .feature-icon {
    width: 26px;
    height: 26px;
    border-radius: 7px;
  }

  .feature-icon img {
    width: 14px;
    height: 14px;
  }

  .feature-text {
    font-size: 9px;
    line-height: 1.25;
  }

  .feature-ai {
    padding: 10px;
    border-radius: 10px;
  }

  .feature-content-row {
    gap: 10px;
  }

  .feature-ai-title {
    font-size: 10px;
  }

  .feature-ai-subtext {
    font-size: 8px;
    line-height: 1.35;
  }

  .feature-ai-img {
    width: 62px;
  }

  /* ---------------- Demo section ---------------- */
  .demo-section {
    padding-top: 18px;
    padding-bottom: 8px;
  }

  .demo-section__container {
    gap: 10px;
  }

  .demo-section__left {
    padding: 12px;
    border-radius: 12px;
  }

  .demo-title {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .demo-desc {
    font-size: 8px;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .demo-buttons {
    gap: 6px;
  }

  .demo-tab-btn {
    font-size: 9px;
    padding: 7px 10px;
    border-radius: 999px;
  }

  .demo-section__right {
    padding-bottom: 6px;
  }

  .demo-carousel {
    gap: 0;
  }

  .demo-screens {
    gap: 8px;
  }

  .demo-screen {
    width: 238px;
    min-height: 320px;
    padding: 8px;
    border-radius: 12px;
  }

  .demo-screens img {
    border-radius: 12px;
  }

  /* ---------------- Footer ---------------- */
  .footer {
    padding: 18px 0 12px;
  }

  .footer__container {
    gap: 12px;
  }

  .footer__logo {
    width: 112px;
  }

  .footer__info {
    gap: 6px;
  }

  .footer__bubble {
    font-size: 8px;
    padding: 5px 8px;
  }

  .footer__bottom {
    gap: 10px;
  }

  .footer__bottom-left {
    font-size: 8px;
    line-height: 1.3;
  }

  .footer__text-small {
    font-size: 8px;
  }

  .footer__stores {
    gap: 6px;
  }

  .footer__stores img {
    height: 24px;
  }
}

/* =========================================
   MOBILE HEADER / BURGER
   ========================================= */

.header {
  position: relative;
  z-index: 50;
}

.header__burger {
  display: none;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background-color: #3498DB;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  transition: background-color 0.3s ease;
}

.header__burger:hover {
  background-color: #2387CA;
}

.header__burger span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background-color: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header__burger.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.header__burger.is-active span:nth-child(2) {
  opacity: 0;
}

.header__burger.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

@media (max-width: 480px) {
  .header__nav {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .header__burger {
    display: inline-flex;
  }

  .mobile-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-menu__inner {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .mobile-menu__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 14px 0;
    padding: 0;
  }

  .mobile-menu__list a {
    display: block;
    text-decoration: none;
    color: #2C3E50;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 12px;
    border-radius: 12px;
    background-color: #f6f8fb;
  }

  .mobile-menu__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background-color: #3498DB;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
  }
}

/* =========================================
   Auth buttons in header
   ========================================= */

.header-auth-form {
  margin: 0;
  padding: 0;
}

.header__btn--logout {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.mobile-auth-form {
  margin: 0;
  padding: 0;
}

.mobile-menu__btn--logout {
  border: none;
  cursor: pointer;
  font-family: inherit;
}