body {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 17px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 17px;          /* Оптимальный размер для чтения */
    line-height: 1.6;        /* Увеличенное межстрочное расстояние для легкости */
    color: #333333;          /* Основной цвет текста (не чисто черный, так мягче) */
    -webkit-font-smoothing: antialiased; /* Делает шрифт четче на iPhone/Mac */
}


h1 {
    font-size: 32px;         /* Крупный заголовок на ПК */
    line-height: 1.2;
    margin-bottom: 20px;
    color: #000000;
}

h2 {
    font-size: 24px;         /* Заметный подзаголовок */
    line-height: 1.3;
    margin-top: 30px;
    margin-bottom: 15px;
}

.line2 {
    position: relative;
    height: 1px;
    background: #DCDCDC;
    margin-left: -10px; 
    margin-right: -10px; 
    margin-top: -8px;
    margin-bottom: 2px;
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo-img {
    width: 160px;
    height: 36px;
    display: block;
    transform: translateY(3px);
}

.menu-img {
    width: 36px;
    height: 36px;
    display: block;
}

img, iframe {
    display: block;
    margin-top: 15px;
    margin-bottom: 15px;
    max-width: 100%;
}

table {
    /* Чтобы не "двоилось", используем table-layout: fixed или auto */
    display: table; 
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}



table td, table th {
    padding: 10px 12px;
    border: 2px solid #888888; /* Увеличили до 2px */
    text-align: left;
}

/* Опционально: выделяем заголовок таблицы цветом */
table th {
    background-color: #f9f9f9;
    font-weight: bold;
}

  
.mobile-cta-panel {
    display: none;
}

a {
    color: #2578cd;
    text-decoration: underline; /* Оставляем стандартное подчеркивание, чтобы люди понимали, что это ссылка */
    cursor: pointer;
}

/* Цвет посещенных ссылок (лучше оставить таким же, чтобы не путать пользователя) */
a:visited {
    color: #2578cd;
}

/* Цвет при наведении (сделаем его чуть ярче, чтобы был отклик) */
a:hover {
    color: #a50000;
    cursor: pointer;
}

.site-footer {
    margin-top: 30px;          /* Отступ всей секции от контента сайта */
    padding-top: 15px;         /* УМЕНЬШИЛИ (было 30px) — это зазор от линии до текста */
    padding-bottom: 30px;      /* Отступ снизу (для ПК) */
    border-top: 1px solid #DCDCDC; 
    margin-left: -10px; 
    margin-right: -10px;
    text-align: center;
    font-size: 14px;
    color: #888;
}

.site-footer p {
    margin-bottom: 10px;
}

/* Ссылка на политику */
.footer-link {
    color: #888 !important;    /* Делаем ссылку серой, чтобы не кричала */
    text-decoration: underline;
}

.footer-link:hover {
    color: #0056b3 !important; /* Наш фирменный синий при наведении */
}

/* Хлебные крошки (вместо sup) */
.breadcrumb {
    font-size: 16px;      /* Делаем текст маленьким, как вы хотели */
    color: #777;          /* Делаем его серым */
    margin-top: 5px;      /* Небольшой отступ от линии сверху */
    margin-bottom: 15px;  /* Отступ до заголовка H1 */
 }
.breadcrumb a:hover {
    color: #0056b3;       /* При наведении — наш синий */
}

.menu-toggle {
    width: 34px;
    height: 34px;
    background-color: #2EA9FF; /* Тот самый светло-голубой цвет */
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    /* Убрали тень или сделали её совсем незаметной, чтобы кнопка была "чище" */
    box-shadow: 0 2px 4px rgba(46, 169, 255, 0.2); 
    transition: transform 0.1s;
    margin-top: 4px;
}

.menu-toggle:active {
    transform: scale(0.92);
}

.hamburger {
    width: 16px;
    height: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 1.2px;
    width: 100%;
    background-color: white; /* Белые линии на голубом фоне смотрятся отлично */
    border-radius: 1px;
}


/* Улучшенное выезжающее меню "Стеклянная карточка" */
#mobile-menu {
    position: fixed;
    top: 10px;        /* Отступ сверху */
    bottom: 10px;     /* Отступ снизу */
    right: -300px;    /* Спрятано */
    width: 280px;
    height: calc(100% - 20px); /* Высота за вычетом отступов */
    
    /* Фон с эффектом стекла */
    /* Попробуйте эти значения */
    background: rgba(255, 255, 255, 0.4) !important; /* 0.4 — это 40% плотности */
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    

    z-index: 10001;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* Более плавное выезжание */
    
    /* Тонкая белая рамка (эффект грани стекла) */
    border: 1px solid rgba(255, 255, 255, 0.4); /* Более яркая кайма по краю */
    border-radius: 24px; /* Красивые скругленные углы со всех сторон */
    
    /* Очень мягкая тень */
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#mobile-menu.open {
    right: 10px; /* Выезжает с небольшим зазором от края экрана */
}

/* Шапка меню */
.menu-header { 
    padding: 20px; 
    background: rgba(255, 255, 255, 0.2); 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}

.menu-header span {
    font-weight: 700;
    color: #000;
    font-size: 20px;
}

/* Кнопка закрытия (крестик) — сделаем её чище */
.close-menu { 
    background: rgba(0,0,0,0.05); /* Легкий круг вокруг крестика */
    border: none; 
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px; 
    color: #000; 
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Ссылки меню */
.menu-list { 
    list-style: none; 
    padding: 10px 0; 
    margin: 0; 
    flex-grow: 1;
}

.menu-list li {
    margin: 0 10px; /* Чтобы ссылки не прилипали к краям карточки */
}

.menu-list a { 
    display: block; 
    padding: 14px 15px; 
    text-decoration: none; 
    color: #000; 
    font-size: 16px;
    font-weight: 500;
    border-radius: 12px;
    transition: background 0.2s;
}

/* Эффект при нажатии на пункт меню */
.menu-list a:active {
    background: rgba(0, 122, 255, 0.1);
    color: #007AFF;
}

   /* На ПК: выстраивает элементы в ОДИН ряд */
  .screenshots-container {
    display: flex;
    gap: 15px;
  }
  /* Картинки пропорционально уменьшаются под размер экрана ПК */
  .screenshot-item {
    flex: 1;
  }
  .screenshot-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }
  /* На мобильных (экран меньше 768px): перестраивает в СТОЛБИК */
  @media (max-width: 768px) {
    .screenshots-container {
      flex-direction: column;
    }
  }
  
  @media (min-width: 769px) {
  .screenshots-container.single .screenshot-item {
    max-width: 400px;
  }
}
  
.cookie-legal-floating {
    position: fixed;
    bottom: 85px; 
    left: 5%;
    width: 90%; 
    background-color: rgba(255, 255, 255, 0.96); 
    backdrop-filter: blur(5px); 
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 8px 12px; /* Минимальные отступы */
    box-sizing: border-box;
    display: flex;
    flex-direction: row; 
    align-items: center; 
    justify-content: space-between;
    gap: 10px;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.cookie-legal-text {
    font-size: 11px; /* Сделали шрифт маленьким и аккуратным */
    line-height: 1.3;
    color: #222222;
}

.cookie-legal-text a {
    color: #007bff;
    text-decoration: underline;
}

.cookie-legal-btn-light {
    background-color: #f5f5f5; 
    color: #333333; 
    border: 1px solid #dddddd; 
    padding: 4px 10px; /* Кнопка стала совсем маленькой */
    border-radius: 6px;
    font-size: 11px; /* Шрифт кнопки в тон тексту */
    font-weight: bold;
    cursor: pointer;
    width: auto; 
}

/* Контейнер для меню */
.scroll-menu {
  width: 100%;
  background-color: #ffffff; 
  overflow: hidden;
  margin-top: -3px;    /* Подтягиваем меню ближе к логотипу */
  margin-bottom: 10px; /* Оставляем хороший отступ до текста статьи */
}

/* Обертка меню: делаем меньше отступы сверху и снизу (было 12px, делаем 6px) */
.scroll-menu__wrapper {
  display: flex;
  white-space: nowrap;
  overflow-x: auto;
  padding: 6px 0px; /* 6px сверху/снизу, 10px по бокам */
  -webkit-overflow-scrolling: touch; 
  
  
}

/* Прячем стандартную некрасивую полосу прокрутки (скроллбар) */
.scroll-menu__wrapper::-webkit-scrollbar {
  display: none; 
}

/* Средний вариант кнопок */
.scroll-menu__link {
  display: inline-block;
  color: #333333;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  
  /* Средний размер: 6px сверху/снизу, 12px по бокам */
  padding: 6px 12px; 
  
  margin-right: 8px;
  border-radius: 20px;
  background-color: #f5f5f7;
  transition: all 0.2s ease;
}

/* Стиль для активной страницы: меняем синий на ваш фирменный голубой */
.scroll-menu__link.active {
  background-color: #2EA9FF; /* Точный цвет кнопки Telegram. Если у вас используется другой оттенок, вставьте свой HEX-код */
  color: #ffffff; 
}

/* 💻 Единый блок настроек для компьютеров (экран от 768px) */
@media (min-width: 768px) {
  
  /* Настройки для обертки меню (перенос строк) */
  .scroll-menu__wrapper {
    flex-wrap: wrap;       
    white-space: normal;   
    overflow-x: visible;   
    gap: 8px 0; 
  }
  

  /* Настройки для цвета кнопок (убираем синие ссылки ПК) */
  .scroll-menu__link {
    color: #333333 !important;         
    text-decoration: none !important;  
  }

  /* Белый текст на активной голубой кнопке */
  .scroll-menu__link.active {
    color: #ffffff !important;         
  }
  
}

@media (max-width: 768px) {
    .mobile-cta-panel {
        display: flex;
        position: fixed;
        bottom: 20px;
        left: 15px;
        right: 15px;
        gap: 12px;
        z-index: 10000;
        filter: drop-shadow(0 8px 20px rgba(0,0,0,0.15));
    }

.cta-button {
    flex: 1;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 15px;
    gap: 8px;
    transition: transform 0.1s ease, filter 0.2s ease;
}

.call-link {
    /* Насыщенный синий, который дает четкую границу */
    background: linear-gradient(135deg, #007AFF 0%, #0056b3 100%) !important;
}

.tg-link {
    background: linear-gradient(135deg, #2EA9FF 0%, #229ED9 100%);
}

.max-link {
    /* Тот самый градиент Макса */
    background: linear-gradient(135deg, #00D2FF 0%, #9D50BB 100%);
    box-shadow: 0 4px 15px rgba(157, 80, 187, 0.3); /* Фиолетовое свечение */
}

.cta-button svg {
    width: 20px;
    height: 20px;
}

.cta-button:active {
    transform: scale(0.96);
    filter: brightness(0.9);
}

    body {
        padding-bottom: 90px;
        font-size: 17px;     /* Чуть меньше на телефоне, чтобы влезало больше текста */
        line-height: 1.6;    /* Плотнее, но всё еще читабельно */
    }

    h1 {
        font-size: 24px;     /* На телефоне заголовок не должен быть огромным */
        margin-bottom: 15px;
    }

    h2 {
        font-size: 20px;     /* Пропорционально уменьшаем H2 */
        margin-top: 25px;
    }
    
    /* Увеличиваем расстояние между абзацами, чтобы не было "каши" */
    p {
        margin-bottom: 18px;
    }
    .header-row {
        padding: 5px 0;
    }

     table td, table th {
        border: 1px solid #888888; /* Возвращаем 1px для телефонов */
    }
      .site-footer {
        padding-bottom: 20px; 
    }
     /* Правило для телефонов (экран меньше 768 пикселей) */
  @media (max-width: 768px) {
    .screenshots-container {
      flex-direction: column; /* Перестраивает картинки в столбец */
      gap: 20px; /* Увеличивает отступ на телефоне */
    }
  }
}