/*======================================================================
  1. IMPORTS & ROOT VARIABLES
======================================================================*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&family=Red+Rose:wght@400;700&display=swap');

:root {
  --clr-bg: #000000;
  --clr-light: #ffffff;
  --clr-accent-start: #F32458;
  --clr-accent-end: #4300C7;
  --radius: 30px;
  --transition: 0.5s ease;
}

body {
  /* Стили для фона-картинки */
  background-image: url('../images/Group 214.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Фиксирует фон, чтобы он не скроллился */

  /* Остальные стили для body */
  background-color: var(--clr-bg); /* Цвет-подложка на случай, если картинка не загрузится */
  color: var(--clr-light);
  font-family: 'Red Rose', sans-serif;
  font-weight: 400;
  transition: background-color 1s ease;
}
/*======================================================================
  2. GLOBALS & RESETS
======================================================================*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/*======================================================================
  3. LAYOUT
======================================================================*/
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/*======================================================================
  4. COMPONENTS
======================================================================*/

/* --- Base Button --- */
.btn {
  display: inline-block;
  border: none;
  background: none;
  cursor: pointer;
  text-decoration: none;
  font-family: 'Red Rose', sans-serif;
  font-weight: 400;
  color: var(--clr-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s, background 0.3s;
}

/* --- Demo Button --- */
.btn--demo {
  padding: 0.6rem 1.75rem;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, var(--clr-accent-start), var(--clr-accent-end));
  border-radius: 50px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}
.btn--demo:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.btn--demo:active {
  transform: translateY(-1px) scale(1.005);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

/* --- Outline Button --- */
.btn--outline {
  /* Позиционирование и размеры */
  align-self: flex-start;
  margin-top: 2.5rem;
  padding: 0.6rem 1.75rem;
  border-radius: 50px;

  /* Внешний вид */
  color: #fff; /* Добавил белый цвет текста для читаемости */
  text-decoration: none; /* Убрал подчеркивание, если это ссылка */
  border: 1px solid transparent; /* Убедимся, что рамка прозрачна */
  position: relative; /* Нужно для позиционирования псевдоэлемента */
  overflow: hidden; /* Скрывает части псевдоэлемента, выходящие за рамку */
  transition: transform 0.2s ease, background-color 0.2s ease; /* Плавные переходы */

  z-index: 3;

  /* 👇 НОВЫЕ СТИЛИ ДЛЯ ФОНА 👇 */
  background-color: rgba(17, 17, 17, 0.6); /* Полупрозрачный темно-серый фон */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Градиентная рамка через псевдоэлемент */
.btn--outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit; /* Наследует скругление родителя */
  padding: 1px; /* Толщина рамки */
  background: linear-gradient(90deg, #F32458, #4300C7); /* Ваш градиент */

  /* Магия для создания рамки */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none; /* Позволяет кликать сквозь этот слой */
}



/* --- Card Button --- */
.btn-card {
  align-self: flex-start;
  margin-top: 2.5rem;
  padding: 0.6rem 1.75rem;
  border: 1px solid transparent;
  border-radius: 50px;
  background-image: linear-gradient(#111, #111), linear-gradient(90deg, #F32458, #4300C7);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}
.btn-card:hover {
  background-image: linear-gradient(#181818, #181818), linear-gradient(90deg, #F32458, #4300C7);
  transform: translateY(-2px);
}

/* --- Strategy Call Button --- */
.btn-strategy-call {
  padding: 0.8rem 2rem;
  font-size: 1rem;
  border: 1px solid transparent;
  border-radius: 50px;
  background-image: linear-gradient(#000000, #000000), linear-gradient(90deg, #F32458, #4300C7);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}
.btn-strategy-call:hover {
  background-image: linear-gradient(#181818, #181818), linear-gradient(90deg, #F32458, #4300C7);
  transform: translateY(-2px);
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}

/* --- Quote Button --- */
.quote-button {
  margin-top: 1.5rem;
  padding: 14px 30px;
  font-weight: 400;
  border-radius: 50px;
  background: linear-gradient(90deg, #F32458, #4300C7);
}
.quote-button:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/*======================================================================
  5. SECTIONS
======================================================================*/

/* --- Navbar --- */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 0 0 0;
}
.nav-container {
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
  height: 50px;
}
.logo-link {
  flex-shrink: 0;
  z-index: 2;

  /* 👇 ДОБАВЬТЕ ЭТУ СТРОКУ 👇 */
  position: relative;

  /* 👇 И ИСПОЛЬЗУЙТЕ ЭТИ ДВА СВОЙСТВА ДЛЯ СМЕЩЕНИЯ 👇 */
  top: 3.8px;  /* Сдвигает вниз */
  left: 30px;  /* Сдвигает вправо */

  /* ❌ УДАЛИТЕ СТАРЫЙ TRANSFORM ❌ */
  /* transform: translateY(3.8px); */
}

.logo-link img.logo {
  height: 40px;
  margin-right: 12px;
  display: block;
}

.nav-menu {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  display: flex;
  list-style: none;
  gap: 1.5rem;
  padding: 0.4rem 1.0rem;
  border-radius: 40px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  margin: 0;
  z-index: 1;

  /* 👇 ДОБАВЬТЕ ЭТИ СТРОКИ 👇 */
  background-color: rgba(0, 0, 0, 0.6); /* Черный цвет с 40% НЕпрозрачностью (60% прозрачность) */
  backdrop-filter: blur(10px);          /* Эффект размытого стекла */
  -webkit-backdrop-filter: blur(10px);  /* Для поддержки Safari */
}

.nav-menu::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(90deg, #b423e6, #ee287c, #f24f19);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}
.nav-menu a {
  display: block;
  font-size: 1.07rem;
  color: var(--clr-light);
  padding: 0.2rem 1rem 0.5rem; /* Added padding-bottom for underline space */
  border-radius: 24px;
  text-decoration: none;
  position: relative;
  transition: color 0.23s ease;

  /* 👇 ДОБАВЬТЕ ЭТИ ДВЕ СТРОКИ 👇 */
  position: relative; /* Позволяет двигать элемент */
  top: 2px;
}
.nav-menu a:hover {
  color: transparent;
  background-image: linear-gradient(90deg, #b423e6, #ee287c, #f24f19);
  -webkit-background-clip: text;
  background-clip: text;
}
.nav-menu a.active::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-accent-start), var(--clr-accent-end));
    border-radius: 2px;
}

/* Специальные стили для кнопки в навигации */
.nav-cta {
  margin-left: auto;      /* <--- ДОБАВЬТЕ ЭТУ СТРОКУ */
  background: transparent;
  box-shadow: none;
  font-size: 1.07rem;
  color: var(--clr-light);
  padding: 0.65rem 1.75rem;
}

.nav-cta:hover {
  background: transparent; /* Фон остается прозрачным */
  color: transparent;
  background-image: linear-gradient(90deg, #b423e6, #ee287c, #f24f19);
  -webkit-background-clip: text;
  background-clip: text;
  transform: none; /* Убираем эффект подпрыгивания */
  box-shadow: none;
}



/* --- Hero Section --- */
.hero--intelligent {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  /* background: url(...) - УБРАЛИ СТАРЫЙ ФОН */
}

/* ===== НАЧАЛО НОВЫХ СТИЛЕЙ ДЛЯ ВИДЕО ===== */
.hero-video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* Видео будет на самом заднем плане */
}

.hero-background-video,
.hero-video-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Растягивает видео на весь блок без искажений */
}

.hero-video-fallback {
  display: none; /* Скрыт по умолчанию на десктопе */
}
/* ===== КОНЕЦ НОВЫХ СТИЛЕЙ ДЛЯ ВИДЕО ===== */


.hero--intelligent .hero-watermark {
  position: absolute;
  top: -10%;
  left: 50%;
  width: 100vw;
  height: 100vw;
  background: url('../images/Ellipse 21.png') no-repeat center/contain;
  opacity: 0.15;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1; /* Убедимся, что он над видео */
  animation: watermarkPulse 8s ease-in-out infinite, watermarkSparkle 3s ease-in-out infinite;
}
@keyframes watermarkPulse {
  0%, 100% { opacity: .15; transform: translateX(-50%) scale(1); }
  50% { opacity: .25; transform: translateX(-50%) scale(1.03); }
}
@keyframes watermarkSparkle {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(2); }
}
.hero--intelligent .hero-content {
  position: relative;
  z-index: 2; /* Контент поверх всего */
}
/* Добавьте этот блок в ваш CSS, например, после стилей .hero-content */

.hero--intelligent .hero-overlay-image {
  max-width: 100%; /* Чтобы не прилипало к краям на маленьких экранах */
  max-height: 90vh; /* Ограничиваем высоту (60% от высоты экрана) */
  height: auto; /* Сохраняем пропорции */
}
.hero--intelligent .btn--outline {
  position: absolute;
  bottom: 33%;  /* <-- ГЛАВНЫЙ ПАРАМЕТР! Увеличивайте, чтобы поднять еще выше */
  left: 50%;
  transform: translateX(-50%); /* Это центрирует кнопку по горизонтали */
  width: auto; /* На всякий случай, чтобы кнопка не растянулась */
}

/* ===== НАЧАЛО ИСПРАВЛЕННЫХ СТИЛЕЙ ДЛЯ ТЕКСТА (v2) ===== */

.hero-text-container {
  /* ШАГ 1: Меняем позиционирование на абсолютное */
  /* Это вынимает текст из общего потока, и он перестает влиять на другие элементы */
  position: absolute;

  /* ШАГ 2: Позиционируем блок по центру */
  left: 50%;
  transform: translateX(-50%);

  /* ШАГ 3: ГЛАВНЫЙ ПАРАМЕТР для высоты текста */
  /* Управляем положением от верха контейнера. */
  /* Уменьшайте это значение (например, до 40% или 35%), чтобы поднять текст ЕЩЕ ВЫШЕ. */
  top: 47%;

  width: 90%; /* Ограничиваем ширину для корректного переноса на мобильных */
  color: #fff;
  text-align: center;
  z-index: 2;
  /* Отрицательный margin больше не нужен */
}

/* Стили для самих надписей не меняются */
.hero-tagline {
  /* --- ИЗМЕНЕНИЕ 2: НАСТРОЙКИ ШРИФТА 'Red Rose' --- */
  font-family: 'Red Rose', sans-serif; /* <-- Указали шрифт */
  font-size: 1.375rem; /* <-- Ваш размер (22px) */
  font-weight: 400; /* <-- Ваша толщина */

  /* --- ИЗМЕНЕНИЕ 1: УВЕЛИЧЕНО РАССТОЯНИЕ МЕЖДУ БУКВАМИ --- */
  /* Этот параметр делает строку визуально длиннее. Можете его менять (напр. 0.08em). */
  letter-spacing: 0.03em;

  line-height: 1.3;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.hero-subtagline {
  /* Применяем тот же шрифт и толщину для гармонии */
  font-family: 'Red Rose', sans-serif;
  font-weight: 400;
  font-size: 1.375rem; /* Пропорционально уменьшенный размер */

  letter-spacing: 0.03em;

  margin-top: 0rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
  opacity: 0.9; /* Делаем вторую строку чуть менее заметной */
}

/* ===== КОНЕЦ ИСПРАВЛЕННЫХ СТИЛЕЙ ДЛЯ ТЕКСТА ===== */

/* --- Advantages Section --- */
.advantages-section {
  padding: 4rem 0;
}

#advantages-section h2 {
  /* Сейчас Tailwind задает размер 2.25rem (36px).
    Вы можете изменить это значение на любое другое.
  */
  font-size: 3rem;

  /* Сейчас Tailwind задает жирность 700.
    Вы можете изменить это значение, например, на 400 (обычный) или 800 (очень жирный).
  */
  font-weight: 500;
}
.advantages-section .gradient-text {
  background: linear-gradient(90deg, #F32458, #4300C7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sticky-image-container {
  position: sticky;
  top: 0;
  height: 100vh;
}
.sticky-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 550px;
  height: auto;
  max-height: 90vh;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}
.sticky-image.active {
  opacity: 1;
}
#img-2 {
    transform: translate(-50%, -57%);
}
.text-step {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-title {
  /* Применяем градиент напрямую к заголовку */
  background: linear-gradient(90deg, var(--clr-accent-start), var(--clr-accent-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  /* Остальные стили */
  font-size: 2.375rem; /* Размер остается прежним, он выглядит хорошо */
  font-weight: 500;
  line-height: 1.2;
  /* ИЗМЕНЕНИЕ: Устанавливаем отступ снизу в 16px */
  margin-bottom: 1rem; /* 1rem = 16px */
}

/* --- Стили для текста "Let AI handle inquiries..." --- */
.feature-description {
  /* ИЗМЕНЕНИЯ СОГЛАСНО FIGMA */
  font-family: 'Red Rose', sans-serif; /* Меняем шрифт */
  font-size: 1.375rem; /* 22px в rem (22 / 16 = 1.375) */
  font-weight: 400; /* Regular */

  /* Остальные стили */
  color: #ffffff;
  line-height: 1.6;
  max-width: 500px; /* Немного увеличим максимальную ширину */
}

/* --- Final Quote Section (ИСПРАВЛЕННАЯ ВЕРСИЯ) --- */
.final-quote-section {
  padding: 5rem 0 8rem;
}

.final-quote-block {
  position: relative;
  text-align: center;
  padding: 8rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
}

/* Этот блок ::before затемнял картинку.
   Так как картинки больше нет, его можно удалить.
*/
/* .final-quote-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: inherit;
}
*/

.final-quote-block .quote-text,
.final-quote-block .btn-card { /* <-- Я исправил .quote-button на .btn-card, чтобы соответствовало вашему HTML */
  position: relative;
  z-index: 2;
}

.quote-text {
  font-size: 3rem;
  font-weight: 500;
  margin: 0;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}
.about-more-text p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #333; /* Темно-серый цвет текста */
  /* ИЗМЕНЕНИЕ: Уменьшаем отступ, чтобы поднять кнопку */
  margin-bottom: 2rem;
}

/* ======================================================
   ИСПРАВЛЕННЫЕ СТИЛИ ДЛЯ СЕКЦИИ С КНОПКОЙ ПОВЕРХ ФОТО
====================================================== */


/* 3. Стили для кнопки "Read More" */
.full-width-image-section .btn-read-more {
  /* Позиционируем кнопку поверх картинки */
  position: absolute;
  bottom: 7rem; /* Отступ от нижнего края секции */
  left: 50%;
  transform: translateX(-50%);

  /* Внешний вид кнопки */
  font-family: 'Red Rose', sans-serif;
  font-weight: 400;
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;

  /* 👇 ДОБАВЬТЕ ЭТУ СТРОКУ 👇 */
  font-size: 1.2rem;
}

.full-width-image-section .btn-read-more:hover {
  color: #000;
}
.read-more-arrow {
  font-size: 1.5em;      /* Делает стрелки в 1.5 раза больше, чем текст "Read More" */
  font-weight: regular;     /* Можно сделать их жирнее */
  position: relative;    /* Нужно для точного позиционирования */
  top: 4px;              /* Слегка опускает стрелки для лучшего выравнивания */
}
/* Адаптивность для мобильных */
@media (max-width: 768px) {
  .full-width-image-section .btn-read-more {
    bottom: 5rem; /* Уменьшаем отступ на мобильных */
  }
}
/* --- Solutions Cards Section --- */
.solutions-cards-section {
  padding: 6rem 2rem;
  text-align: center;
}
.solutions-section-title {
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.solutions-section-subtitle {
  font-size: 1.375rem;
  line-height: 1.5;
  margin-bottom: 4rem;
  color: #a0a0a0;
}
.cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}
.solution-card {
  background-color: #080808;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 2.5rem;
  flex: 1 1 calc(50% - 2.5rem);
  max-width: 550px;
  box-shadow: 0 0 40px rgba(120, 70, 220, 0.1);
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 50px rgba(120, 70, 220, 0.2);
}
.solution-card h3 {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: #a0a0a0;
}
.solution-card h4 {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  transition: color 0.4s ease;
}
.solution-card:hover h4, #gradient-card-title {
  background: linear-gradient(90deg, #F32458, #4300C7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.solution-card ul {
  list-style: none;
  flex-grow: 1;
}
.solution-card ul li {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0.8rem;
  color: #a0a0a0;
  position: relative;
  padding-left: 1.5rem;
}
.solution-card ul li::before {
  content: '•';
  color: inherit;
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: 0;
  line-height: inherit;
}

/* Добавьте это в ваш CSS файл */
.solution-card-link {
  text-decoration: none;
  color: inherit;
}
/* --- Full Width Image Section --- */
.full-width-image-section {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  padding: 4rem 0;
  text-align: center;
  overflow: hidden;
}
.full-width-image-section img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* --- Call to Action (CTA) Section --- */
.cta-section {
  padding: 8rem 2rem;
  text-align: center;
}
.cta-text {
  font-size: 1.2rem;
  line-height: 1.3;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cta-text::before, .cta-text::after {
  content: '«';
  font-size: 1.5em;
  vertical-align: middle;
  line-height: 1;
  word-spacing: -0.2em;
}
.cta-text::after {
  content: '»';
}

/* --- Footer --- */
/* ======================================================================
  8. FOOTER (ОБНОВЛЕННЫЕ СТИЛИ)
====================================================================== */

.main-footer {
  padding: 2rem 120px;
}

.footer-grid {
  display: grid;
  /* Главная колонка шире, остальные - равные */
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 4rem;
  align-items: start; /* Выравниваем колонки по верхнему краю */
}

/* --- Главная колонка (слева) --- */
.footer-column-main {
  padding-right: 2rem; /* Отступ справа для воздуха */
}

.footer-logo-main {
  height: 30px; /* Размер логотипа */
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-tagline {
  color: #a0a0a0;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 400; /* Более тонкий шрифт */
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 2rem; /* Расстояние между иконками */

  border-top: 2px solid #444; /* Можете изменить цвет #444 на другой */
  margin-top: 0rem; /* Отступ между текстом и линией */
  padding-top: 1.5rem; /* Отступ между линией и иконками */
}

.social-icon-link img {
  height: 22px; /* Размер иконок */
  width: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.social-icon-link:hover img {
  opacity: 1;
  transform: scale(1.1);
}

/* --- Колонки со ссылками (справа) --- */
.footer-list-header {
  font-size: 1.1rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 1rem;
}

.footer-column ul li a,
.footer-column ul li p,
.footer-column ul li p a {
  font-size: 1rem;
  color: #a0a0a0;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 400;
}

.footer-column ul li a:hover,
.footer-column ul li p a:hover {
  color: #fff;
}


/* --- Нижняя полоса --- */
.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #ffffff;
  position: relative;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #F32458, #4300C7);
}

.footer-full-copyright-image {
  display: none; /* Просто скрываем ее, если она где-то осталась */
}

/* --- Адаптивность для футера --- */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr; /* 2 колонки на планшетах */
  }
  .footer-column-main {
    grid-column: 1 / -1; /* Главная колонка занимает всю ширину */
    margin-bottom: 3rem;
    padding-right: 0;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr; /* 1 колонка на мобильных */
    gap: 3rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}


/* --- Demo Page --- */
.demo-page {
  padding: 6rem 2rem 8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.demo-hero h1 {
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
}
.demo-hero .subtitle {
  text-align: center;
  margin-bottom: 3rem;
  color: rgba(255,255,255,0.8);
}
.demo-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: flex-start;
  width: 100%;
}
.demo-form {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.demo-form input, .demo-form select, .demo-form textarea {
  background: rgba(255,255,255,0.05);
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: #fff;
  font-size: 1rem;
}
.demo-form input::placeholder, .demo-form textarea::placeholder {
  color: rgba(255,255,255,0.6);
}
.info-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  width: 100%;
  box-shadow: 0 12px 30px rgba(0,0,0,0.7);
  flex: 1 1 400px;
}
.info-logo {
  width: 80px;
  margin: 0 auto 1.5rem;
  display: block;
}
.info-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}
.info-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
}



/* =================================================================
   PRICING PAGE: ЕДИНЫЙ БЛОК (ФИНАЛЬНАЯ ВЕРСИЯ)
================================================================= */

/* Секция-обертка для всего блока на странице */
.pricing-page-main-content {
  padding: 8rem 2rem 0rem;
}

/* Стили для нашей большой "карточки" */
.pricing-card {
  max-width: 1400px; /* Мы это меняли, чтобы фото было больше */
  margin: 0 auto;
  padding: 4rem;
  text-align: left;
}

/* Изображение внутри карточки */
.pricing-card-image {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 0rem; /* Отступ между текстом и фото */
}

/* --- СТИЛИ ДЛЯ ТЕКСТОВОГО БЛОКА --- */

/* 1. ЗАДАЕМ ОБЩУЮ ШИРИНУ И ОТСТУП СЛЕВА */
.pricing-card h1,
.pricing-card .subtitle,
.pricing-card .toggle-switch-container {
  max-width: 650px;     /* <-- Все элементы теперь одной ширины */
  margin-left: 7rem;      /* <-- ВОТ ОТСТУП, КОТОРЫЙ ДВИНЕТ БЛОК ВПРАВО */
  /* Поиграйте со значением '5rem', чтобы подвинуть больше или меньше (например, 4rem, 6rem) */
  margin-button: 1rem;
}

/* 2. СТИЛИ ДЛЯ КОНКРЕТНЫХ ЭЛЕМЕНТОВ (шрифт, цвет, отступы между ними) */
.pricing-card h1 {
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: #fff;
}

.pricing-card .subtitle {
  font-size: 1.375rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 3rem;
  line-height: 1.6;
  max-width: 450px;
  /* max-width отсюда убран, так как он теперь общий для всех */
}
/* ======================================================
   СТИЛИ ДЛЯ КНОПОК "LET'S TALK" НА СТРАНИЦЕ PRICING
====================================================== */

/* Контейнер для кнопок, который мы уже использовали */
.pricing-buttons-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Позволяет кликать "сквозь" себя */
}

/* Общий стиль для новых кнопок */
.btn-pricing-talk {
  /* Позиционирование */
  position: absolute;
  top: 14%; /* Отступ от нижнего края (можете изменить) */
  transform: translateX(-50%);
  pointer-events: auto; /* Делает сами кнопки кликабельными */

  /* Внешний вид (стиль как у других outline-кнопок) */
  display: inline-block;
  padding: 0.6rem 2.2rem;
  font-size: 0.9rem;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  background-image: linear-gradient(#111, #111), linear-gradient(90deg, var(--clr-accent-start), var(--clr-accent-end));
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

/* Эффект при наведении */
.btn-pricing-talk:hover {
  background-image: linear-gradient(#181818, #181818), linear-gradient(90deg, var(--clr-accent-start), var(--clr-accent-end));
  transform: translate(-50%, -2px);
  box-shadow: 0 8px 20px rgba(233, 78, 255, 0.2);
}

/* Индивидуальные позиции для каждой кнопки */
#btn-growth { left: 39%; }
#btn-pro { left: 61%; }
#btn-enterprise { left: 83%; }

/* Прячем кнопки на мобильных, так как их будет сложно спозиционировать */
@media (max-width: 768px) {
  .pricing-buttons-overlay {
    display: none;
  }
}
.pricing-image-container {
  position: relative; /* Делаем его базой для абсолютного позиционирования */
}

.toggle-switch-container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  /* justify-content убран, так как позиция теперь управляется через margin */
}

/* Остальные стили для переключателя остаются без изменений */
.toggle-label {
  color: #888;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}
.toggle-label.active {
  color: #fff;
}
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--clr-accent-start), var(--clr-accent-end));
  border-radius: 34px;
  transition: .4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  top: 7px;
  background-color: white;
  border-radius: 50%;
  transition: .4s;
}
input:checked + .slider:before {
  transform: translateX(26px);
}

/* --- Стили для кнопок-сегментов --- */

/* Контейнер для группы кнопок */
.pricing-segments {
  display: flex;
  justify-content: flex-start; /* Выравнивание по левому краю, как и у контента выше */
  align-items: center;
  gap: 1rem; /* Расстояние между кнопками */
  margin-top: 3rem; /* Отступ от переключателя сверху */
}

/* Базовый стиль для одной кнопки */
.segment-button {
  padding: 0.75rem 1.5rem;
  font-family: 'Red Rose', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05); /* Полупрозрачный фон */
  border: 1px solid rgba(255, 255, 255, 0.2);   /* Тонкая рамка */
  border-radius: 50px; /* Для формы "пилюли" */
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Эффект при наведении на неактивную кнопку */
.segment-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Стиль для активной/выбранной кнопки */
.segment-button.active {
  background: linear-gradient(90deg, var(--clr-accent-start), var(--clr-accent-end));
  border-color: transparent; /* Убираем рамку, так как есть фон */
}
/* --- Стили для кнопок поверх таблицы с ценами (ФИНАЛЬНАЯ ВЕРСИЯ) --- */

/* Контейнер для кнопок */
.pricing-buttons-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Общий стиль для одной кнопки */
.btn-price-table {
  /* Позиционирование */
  position: absolute;
  bottom: 10%;
  transform: translateX(-50%);
  pointer-events: auto;

  /* --- НОВЫЕ СТИЛИ ВНЕШНЕГО ВИДА (с градиентной рамкой) --- */
  border: 1px solid transparent; /* Обязательно для трюка с рамкой */
  background-image: linear-gradient(#111, #111), linear-gradient(90deg, #F32458, #4300C7);
  background-origin: border-box;
  background-clip: padding-box, border-box;

  /* Стили текста и размеров */
  display: inline-block;
  padding: 0.6rem 1.6rem;
  font-size: 0.9rem;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Эффект при наведении */
.btn-price-table:hover {
  background-image: linear-gradient(#181818, #181818), linear-gradient(90deg, #F32458, #4300C7);
  transform: translate(-50%, -2px);
  box-shadow: 0 8px 20px rgba(233, 78, 255, 0.2);
}

/* --- ИНДИВИДУАЛЬНЫЕ ПОЗИЦИИ (БОЛЕЕ ТОЧНЫЕ) --- */

#btn-price-1 {
  left: 35%;
  padding: 0.6rem 0.7rem;
}

#btn-price-2 {
  left: 57%;
}

#btn-price-3 {
  left: 79%;
  padding: 0.6rem 0.7rem;
}

/* Адаптивность */
@media (max-width: 768px) {
  .pricing-buttons-overlay {
    display: none;
  }
}

/*======================================================================
  6. PAGE-SPECIFIC: SOLUTIONS (ОБНОВЛЕННЫЕ СТИЛИ)
======================================================================*/
/* ======================================================
   СТИЛИ ДЛЯ СТРАНИЦЫ SOLUTIONS
====================================================== */

body.solutions-page {
    background-image: none;      /* <-- Убираем фоновую картинку */
    background-color: #000000; /* <-- Устанавливаем чисто черный фон */
}


/* --- Hero-блок для страницы решений (ИЗМЕНЕНО) --- */
.section-solutions-hero {
  max-width: 1200px;
  margin-left: auto;
  margin-right: 5rem;
  padding: 13rem 2rem 5rem; /* Немного уменьшил отступы */
  text-align: left;
}

/* ИЗМЕНЕНО: Ширина контейнера теперь совпадает с остальной частью страницы */
.section-solutions-hero .container {
  max-width: 1200px; /* Совпадает с .section-feature .container для выравнивания */
  margin: 0 auto;
  padding: 0 1rem; /* Стандартный отступ безопасности */
}

/* ИЗМЕНЕНО: Уменьшен размер шрифта и добавлена максимальная ширина */
.section-solutions-hero h1 {
  font-size: 3rem;    /* 48px */
  font-weight: 500;   /* Medium */
  line-height: 1.2;
  margin-bottom: 1rem;
  max-width: 590px;
}

.section-solutions-hero .subtitle {
  font-size: 1.175rem; /* 22px */
  font-weight: 400;    /* Regular */
  color: #ffffff;
  max-width: 600px;
  line-height: 1.6;
}

/* --- Секция "Turnkey Solution" --- */
.section-turnkey {
  padding: 4rem 1rem;
}

/* --- Стили для вступительного блока "Turnkey Solution" --- */
.turnkey-intro {
  text-align: center; /* ИЗМЕНЕНО: Возвращаем выравнивание текста по центру */
  max-width: 1000px;   /* Ограничиваем ширину для читабельности */
  margin: 0 auto 5rem auto; /* ИЗМЕНЕНО: Центрируем сам блок и добавляем отступ снизу */
}

.turnkey-intro h2 {
  font-size: 3rem; /* 38px */
  font-weight: 500;    /* Medium */
  margin-bottom: 1rem;
}

.turnkey-intro p {
  font-size: 1.375rem; /* 22px */
  font-weight: 400;    /* Regular */
  color: #ffffff;
  line-height: 1.6;
  max-width: 750px; /* <-- Задаем меньшую ширину */
  margin: 0 auto;   /* <-- Центрируем его внутри родительского блока */
}

/* ====================================================== */
/* ===== СТИЛИ ДЛЯ СЕКЦИЙ С ФУНКЦИЯМИ (НОВАЯ ВЕРСИЯ) ===== */
/* ====================================================== */

/* Устанавливаем более узкий контейнер специально для этих секций */
.section-turnkey .container,
.section-feature .container {
  max-width: 1200px; /* ИЗМЕНЕНО: Делаем блок уже, как на вашем макете */
  margin: 0 auto;
  padding: 0; /* Оставляем безопасные отступы для мобильных */
}

.section-feature {
  padding: 4rem 1rem;
}

.feature-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem; /* ИЗМЕНЕНИЕ: Уменьшаем отступ между картинкой и текстом (было 4rem) */
  flex-wrap: wrap;
}

.feature-layout.layout-reverse {
  flex-direction: row-reverse;
}

.feature-image-wrapper,
.feature-content {
  flex: 1;
  min-width: 350px;
}

.feature-image-wrapper img {
  width: 90%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.feature-content {
  max-width: none;
}

.feature-content h3 {
  /* ИЗМЕНЕНИЕ: Значительно уменьшаем размер заголовка (было 2.375rem) */
  font-size: 1.8rem;
  font-weight: 500;
  background: linear-gradient(90deg, var(--clr-accent-start), var(--clr-accent-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.feature-content p {
  /* ИЗМЕНЕНИЕ: Уменьшаем размер основного текста (было 1.375rem) */
  font-size: 1.375rem;
  font-weight: 400;
  font-family: 'Red Rose', sans-serif;
  color: #ffffff;
  line-height: 1.6;
}
/* --- Удаляем старые правила для отступов, они больше не нужны --- */
/* Убедитесь, что в вашем коде не осталось правил с margin-left/right для .feature-content */
.text-purple {
  color: #C56FFF;
}

.gradient-text {
  background: linear-gradient(90deg, #F32458, #4300C7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.btn--strategy {
  display: inline-block;
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
  background-color: #1a1a1a;
  padding: 1rem 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn--strategy:hover {
  background-color: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(233, 78, 255, 0.2);
}

/* --- Адаптивность --- */
@media (max-width: 992px) {
  .feature-layout,
  .feature-layout.layout-reverse {
    flex-direction: column;
    text-align: center;
  }
  .feature-content {
    max-width: 600px;
    margin-top: 2rem;
  }
  .section-solutions-hero {
    text-align: center;
  }
  .section-feature {
    padding: 1rem 1rem;
  }
  /* Позволяем заголовку переноситься на маленьких экранах */
  .turnkey-intro h2 {
    white-space: normal;
  }
}





/*======================================================================
  7. PAGE-SPECIFIC: ENTERPRISE SECTION (ИСПРАВЛЕННАЯ ВЕРСИЯ)
======================================================================*/
/* --- Фоновое изображение для страницы Solutions --- */

.section-enterprise {
  padding: 2rem 1rem;
}

/* --- Заголовок секции --- */
.enterprise-intro {
  text-align: center;
  margin: 0 auto 6rem auto;
  max-width: 800px;
}

.enterprise-intro h2 {
  font-size: 3rem;    /* 48px */
  font-weight: 500;   /* Medium */
  margin-bottom: 1rem;
}

.enterprise-intro p {
  font-size: 1.375rem; /* 22px, а не 38px */
  font-weight: 400;    /* Regular, а не Medium */
  color: #ffffff;
  line-height: 1.6;
  max-width: 700px; /* <-- Задаем меньшую ширину */
  margin: 0 auto;   /* <-- Центрируем его внутри родительского блока */
}

/* --- Основной макет в 2 колонки --- */
.enterprise-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}
/* Задаем жесткий отступ в 120px от краев экрана для этого блока */
.section-enterprise .container {
  width: 100%;         /* Растягиваем контейнер на всю ширину */
  max-width: none;     /* Убираем старое ограничение по ширине */
  padding: 0 120px;    /* Задаем отступы по 120px слева и справа */
  margin: 0 auto;      /* Центрируем, если потребуется */
}
/* --- Левая колонка --- */
.capabilities-list {
  display: flex;
  flex-direction: column;
}
/* ======================================================
   ИНДИВИДУАЛЬНЫЕ ОТСТУПЫ ДЛЯ БЛОКОВ CAPABILITY
====================================================== */
/* Отступ для ПЕРВОГО блока (сдвигает всю группу ниже) */
.capabilities-list .capability-block-hover:nth-child(1) {
    margin-top: 6rem; /* <-- Добавьте или измените это значение */
}
/* Отступ для ВТОРОГО блока (сдвигает его ниже первого) */
.capabilities-list .capability-block-hover:nth-child(2) {
    margin-top: 5rem; /* <-- Изменяйте это значение */
}

/* Отступ для ТРЕТЬЕГО блока (сдвигает его ниже второго) */
.capabilities-list .capability-block-hover:nth-child(3) {
    margin-top: 5rem; /* <-- Изменяйте это значение */
}


/* --- ИЗМЕНЕНИЯ ЗДЕСЬ --- */

/* Контейнер для объединенного заголовка */
.capability-heading {
  /* Устанавливаем единый размер и жирность */
  font-size: 2.375rem; /* 38px */
  font-weight: 500;    /* Medium */
  line-height: 1.3;

  /* Применяем градиент ко всему заголовку */
  background: linear-gradient(90deg, var(--clr-accent-start), var(--clr-accent-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  margin-bottom: 1rem; /* 1rem = 16px */
}
.capability-title {
    display: block;
}

/* --- КОНЕЦ ИЗМЕНЕНИЙ --- */


.capability-block p {
    font-size: 1.375rem; /* 22px */
    font-weight: 400; /* Regular */
    color: #ffffff;
    line-height: 1.6;
    max-width: 35ch; /* ДОБАВЛЕНО: Ограничиваем ширину, чтобы текст перенесся на ~4 строки */
}


/* --- Правая колонка --- */
.enterprise-image-wrapper {
  text-align: center;
}

.enterprise-image-wrapper img {
  max-width: 100%;
  height: auto;
  max-height: 900px;
}

/* --- Адаптивность для секции --- */
@media (max-width: 992px) {
  .enterprise-layout {
    grid-template-columns: 1fr;
  }
  .enterprise-image-wrapper {
    order: -1;
    margin-bottom: 4rem;
  }
}
/* ======================================================
   СТИЛИ ДЛЯ ИНТЕРАКТИВНОЙ СЕКЦИИ (С НАВЕДЕНИЕМ)
====================================================== */

/* Стиль для текстовых блоков */
.capability-block-hover {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    padding-left: 1.5rem;
    border-left: 3px solid transparent;
}

/* При наведении делаем текст ярче и показываем рамку */
.capability-block-hover:hover {
    opacity: 1;
    border-left-color: var(--clr-accent-start);
}

/* Контейнер для картинок */
.capability-image-container {
    position: relative;
    width: 100%;
    padding-top: 80%; /* Соотношение сторон для контейнера */
}

/* Общий стиль для всех картинок */
.capability-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    pointer-events: none; /* Чтобы картинки не мешали */
}

/* Стиль для видимой картинки */
.capability-image.active {
    opacity: 1;
}


/*======================================================================
  10. PAGE-SPECIFIC: TIMELINE SECTION
======================================================================*/

.section-timeline {
  padding: 4rem 0 8rem; /* Отступы сверху и снизу */
}

.timeline-container {
  width: 100%; /* На всю ширину экрана */
  max-width: 1600px; /* Ограничитель, чтобы на очень больших экранах не было слишком широко */
  margin: 0 auto;
  padding: 0 2rem; /* Небольшие безопасные отступы по бокам */
}

.timeline-container img {
  width: 100%; /* Изображение растягивается на всю ширину контейнера */
  height: auto;
  display: block;
}


/* ======================================================
   НОВЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ COMPANY
====================================================== */

/* Основной контейнер страницы */
.company-page-content {
    padding-top: 140px; /* Отступ от верхнего навбара */
}

/* --- Секция 1: Intro (ИЗМЕНЕНО) --- */
.company-intro {
    padding: 4rem 120px; /* Боковые отступы, чтобы выровнять с .mission-label */
    text-align: left;
}
.company-intro .container {
    max-width: none; /* Убираем ограничение ширины */
    padding: 0;      /* Сбрасываем лишние внутренние отступы */
    margin: 0;       /* Сбрасываем лишние внешние отступы */
}
.company-intro h1 {
    font-family: 'Red Rose', sans-serif;
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--clr-accent-start), var(--clr-accent-end));
    -webkit-background-clip: text;
    background-clip: text;
    
}
.company-intro .subtitle {
    font-family: 'Red Rose', sans-serif;
    font-size: 1.375rem; /* Уменьшаем шрифт */
    font-weight: 400;
    line-height: 1.7;
    color: var(--clr-light); /* Белый цвет */
    max-width: 570px;
}

/* --- Секция 2: Mission --- */
.mission-section {
    min-height: 110vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4rem 120px 6rem; /* ИЗМЕНЕНО: Задаем отступ 120px по бокам */
    text-align: left;
    background: #000;
}
.mission-label {
  font-family: 'Red Rose', sans-serif;
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 500;

  /* ИЗМЕНЕНИЕ: Упрощаем градиент и используем префиксы для надежности */
  background: linear-gradient(to right, var(--clr-accent-start), var(--clr-accent-end));

  /* Свойства для применения градиента к тексту */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent; /* Прячем основной цвет текста */

  /* Важное свойство, чтобы элемент облегал текст */
  display: inline-block;
}
.mission-statement {
    font-family: 'Red Rose', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem); /* Уменьшаем шрифт */
    line-height: 1.3; /* Немного увеличим для читаемости */
    color: #fff;
    align-self: flex-end;
    text-align: right;
    max-width: 800px; /* Уменьшаем ширину, чтобы текст гарантированно был в 2 строки */

    /* --- ✅ ДОБАВЬТЕ ЭТИ СТРОКИ, ЧТОБЫ ОТКЛЮЧИТЬ АНИМАЦИЮ --- */
    animation: none !important;      /* Отключаем любые назначенные анимации */
    transition: none !important;    /* Отключаем плавные переходы свойств */
    opacity: 1 !important;          /* Гарантируем, что текст видим сразу (часто анимация появления меняет opacity от 0 до 1) */
    transform: none !important;     /* Сбрасываем любые сдвиги или масштабирование */
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .company-page-content {
        padding-top: 100px;
    }
    .company-intro .container {
        max-width: 100%;
    }
    .mission-section {
        padding: 3rem 1.5rem;
        min-height: 60vh;
    }
    .mission-statement {
        text-align: left;
        align-self: flex-start;
    }
}

/* ======================================================
   СТИЛИ ДЛЯ АНИМАЦИИ ПУТИ ИНТЕГРАЦИИ
====================================================== */

/* Секция с заголовком перед анимацией */
.integration-path-intro {
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: #000; /* Черный фон для плавного перехода */
}

.integration-path-intro h1 {
    font-family: 'Red Rose', serif;
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.integration-path-intro p {
    font-size: 1.25rem;
    color: #a0a0a0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Обертка для анимации, создает пространство для скролла */
.animation-wrapper {
    position: relative;
    width: 100%;
    height: 350vh; /* Высота определяет, как долго нужно скроллить */
    background: #000;
}

/* Секция, управляющая скроллом.
   Высота 300vh означает, что для ее прокрутки понадобится "три экрана" скролла. */
#scroll-section {
    height: 300vh;
    position: relative;
}

/* Контейнер для видео, который будет "липким" */
.video-container {
    height: 100vh; /* Высота в один экран */
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden; /* Скрыть все, что выходит за рамки */
}

/* Стили для самого видео, чтобы оно заполняло контейнер */
#background-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Масштабирует видео, сохраняя пропорции, чтобы заполнить контейнер */
}

/* "Липкий" контейнер, который остается на экране */
.sticky-container {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* Canvas, на котором будет рисоваться анимация */
#timeline-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Контейнер для текстовых блоков */
.text-nodes-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Позволяет кликать "сквозь" этот блок */
    font-family: 'Red Rose', sans-serif;
}

/* Стили для одного текстового блока */
.timeline-node {
    position: absolute;
    opacity: 0.2; /* Изначально текст полупрозрачный */
    transition: opacity 0.5s ease-in-out;
    max-width: 400px;
    color: #fff;
}

/* Класс для активного (подсвеченного) блока */
.timeline-node.is-active {
    opacity: 1;
}

.timeline-node .week {
    font-size: 0.8rem;
    font-weight: 600;
    color: #888;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.timeline-node h3 {
    font-family: 'Red Rose', serif;
    font-size: 1.75rem;
    font-weight: 500;
    margin: 0 0 0.75rem 0;
    color: #fff;
}

.timeline-node p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #a0a0a0;
    margin: 0;
    padding-left: 1.5rem;
    position: relative;
}

/* Стрелочка перед текстом */
.timeline-node p::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #F32458; /* Цвет стрелки */
}

/* ======================================================
   ФИНАЛЬНЫЕ СТИЛИ ДЛЯ СЕКЦИИ МАНИФЕСТА (ИСПРАВЛЕННЫЕ)
====================================================== */

/* --- Главный контейнер секции --- */
.manifesto-section {
    padding: 4rem 1rem;
    position: relative;
    overflow: hidden;
}

.manifesto-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.manifesto-text-container {
    position: relative;
    z-index: 2;
}

/* --- Стили для "стеклянной" панели --- */
.manifesto-content {
    background: rgba(20, 2, 41, 0.25);
    padding: 4rem;
}

/* --- Заголовок --- */
.manifesto-header {
    text-align: center;
    margin-bottom: 4rem;
}
/* Обновленный код */
.manifesto-header h2 {
    font-family: 'Red Rose', serif;
    font-size: 48px; /* 1. Устанавливаем размер шрифта 48px */
    font-weight: 500;
    line-height: 1.3;

    /* 2. Применяем градиент ко всему заголовку */
    background: linear-gradient(90deg, #F32458, #8A2BE2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.manifesto-header .gradient-text {
    background: linear-gradient(90deg, #F32458, #8A2BE2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* --- Основной текст --- */
.manifesto-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
}
.manifesto-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    /* 👇 ЗАМЕНИТЕ СТАРЫЙ BACKGROUND НА ЭТОТ 👇 */
    background: linear-gradient(to bottom,
                                var(--clr-accent-end),
                                var(--clr-accent-start) 90%, /* Градиент будет сплошным до 90% высоты */
                                transparent);
}
.manifesto-column {
    display: flex;
    flex-direction: column;
}
.manifesto-column p {
    font-family: 'Red Rose', sans-serif;
    font-size: 1.175rem;
    line-height: 1.6;
    color: #ffffff;
    margin: 0; /* Сбрасываем все margin по умолчанию */
}
/* ======================================================
   Вертикальная линия-разделитель для нижнего текста
====================================================== */

.manifesto-footer {
    position: relative; /* Включаем позиционирование */
}

.manifesto-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px; /* Такая же толщина */
    height: 100%; /* Такая же высота (относительно блока) */

    /* Точно такой же градиент */
    background: linear-gradient(to bottom,
                                var(--clr-accent-end),
                                var(--clr-accent-start),
                                transparent);
}
/* ======================================================
   Выравнивание текста в левой колонке Манифеста
====================================================== */

/* Находим первую колонку */
.manifesto-column:first-child {
    /* Прижимаем сами блоки с текстом к правому краю колонки */
    align-items: flex-end;
}

/* Находим параграфы внутри первой колонки */
.manifesto-column:first-child p {
    /* Выравниваем сам текст в этих блоках по правому краю */
    text-align: right;
}
/* --- ТОЧНОЕ ПОЗИЦИОНИРОВАНИЕ В ШАХМАТНОМ ПОРЯДКЕ --- */
.manifesto-column .p-1 { margin-top: 0; }
.manifesto-column .p-2 { margin-top: 2rem; }
.manifesto-column .p-3 { margin-top: 5rem; }
.manifesto-column .p-4 { margin-top: 7rem; }
.manifesto-column .p-5 { margin-top: 8rem; }
.manifesto-column .p-6 { margin-top: 5rem; }

.manifesto-column .p-7 { margin-top: 0; }
.manifesto-column .p-8 { margin-top: 6rem; }

/* --- Второй заголовок (цель) --- */
.manifesto-purpose {
    text-align: center;
    margin: 5rem auto;
    max-width: 600px;
}
.manifesto-purpose h3 {
    font-family: 'Red Rose', serif;
    font-size: 2.375rem;
    font-weight: 500;
    color: #fff;
    line-height: 1.4;
}

/* --- Нижний текст --- */
.manifesto-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.manifesto-footer p {
    font-family: 'Red Rose', sans-serif;
    font-size: 1.175rem;
    line-height: 1.6;
    color: #ffffff;
}

/* --- Адаптивность --- */
@media (max-width: 768px) {
    .manifesto-content {
        padding: 2rem;
    }
    .manifesto-body, .manifesto-footer {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .manifesto-body::before {
        display: none;
    }
    .manifesto-column p, .manifesto-footer p {
        /* Убираем сложные отступы на мобильных и ставим простой margin-bottom */
        margin-top: 0 !important;
        margin-bottom: 2.5rem !important;
        text-align: center;
    }
}
/* ======================================================
   СТИЛИ ДЛЯ СЕКЦИИ С КАРТОЙ (ИСПРАВЛЕННАЯ ВЕРСИЯ)
====================================================== */

/* 1. Убедимся, что секция Manifesto находится ПОВЕРХ карты */
.manifesto-image-section {
  position: relative; /* Создаем контекст наложения */
  z-index: 2;         /* Ставим ее на слой выше */
}

/* 2. Секция с картой */
.location-section {
  background: #000;
  padding: 0 1.5rem 6rem;

  /* "Наезжаем" на предыдущий блок */
  margin-top: -55vh;

  position: relative;
  /* ИЗМЕНЕНИЕ: Ставим карту на слой НИЖЕ, чтобы она была сзади */
  z-index: 1;
}

.location-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.location-content-wrapper img {
  width: 100%;
  height: auto;
}

/* Стили для текста "Based in the England..." */
.location-text {
  position: absolute;
  top: 40%;
  left: 5%;
  transform: translateY(-50%);
  color: #fff;
}

.location-text h2 {
  font-family: 'Red Rose', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  line-height: 1.3;
}

/* Стили для адреса */
.address-text {
  position: absolute;
  top: 50%;
  right: 15%;
  transform: translateY(-50%);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #ccc;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
  .location-section {
    margin-top: -15vh;
  }
  .location-text {
    top: 25%;
    left: 5%;
  }
  .address-text {
    top: 65%;
    right: 5%;
  }
}

/* ======================================================================
  8. ГЛАВНЫЕ МОБИЛЬНЫЕ ИСПРАВЛЕНИЯ (ИСПРАВЛЕННАЯ ВЕРСИЯ)
====================================================================== */

@media (max-width: 768px) {

  /* --- 1. Навигация (ИСПРАВЛЕНО) --- */
  .nav-container {
    /* Добавляем выравнивание, чтобы лого было слева, а бургер справа */
    justify-content: space-between;
    padding: 0 1.5rem; /* Добавляем боковые отступы для воздуха */
  }
  .nav-toggle {
    display: flex;
    z-index: 100; /* Бургер всегда поверх всего */
    margin-left: auto; /* Принудительно двигаем бургер вправо */
  }
  .nav-menu {
    display: none; /* Скрываем по умолчанию */
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(5px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99; /* Меню под бургером, но над контентом */
  }
  .nav-menu.active {
    display: flex; /* Показываем по клику */
  }
  .nav-menu li {
    margin: 1.5rem 0;
  }
  .nav-menu a {
    font-size: 1.5rem;
  }
  .nav-cta {
    display: none; /* Прячем кнопку "Book a Demo" из шапки */
  }
  .logo-link {
    flex-shrink: 0; /* Запрещаем логотипу сжиматься */
  }


  /* --- 2. Hero Section (Кнопка поднята и отцентрована) --- */
  .hero--intelligent {
    min-height: 90vh; /* Более безопасная высота */
    height: auto;
    padding: 8rem 1.5rem 4rem;
  }
  .hero--intelligent .hero-content {
    /* Используем flexbox для управления расстоянием */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem; /* Уменьшаем расстояние между картинкой и кнопкой */
    padding-top: 0;
  }
  .hero--intelligent .hero-overlay-image {
    max-height: 50vh; /* Ограничиваем высоту картинки */
  }
  .hero--intelligent .btn--outline {
    /* Убираем старые стили позиционирования, так как flexbox теперь управляет этим */
    position: static;
    transform: none;
    margin: 0; /* Сбрасываем margin, так как gap теперь делает отступ */
    align-self: center !important; /* Центрируем кнопку, перебивая десктопный стиль */
  }

  .hero--intelligent .btn--outline:hover {
  /* СОВМЕЩАЕМ ОБА TRANSFORM: сначала центрируем, потом поднимаем */
  transform: translateX(-50%) translateY(-2px);
  background-color: rgba(15, 15, 15, 0.7);
  }

  .hero--intelligent .btn--outline:active {
  /* Также исправляем для состояния нажатия */
  transform: translateX(-50%) translateY(-1px);
  }

  /* --- 3. Шрифты и общие отступы --- */
  .quote-text {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .solutions-section-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
  .feature-content h3 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .turnkey-intro h2 {
    white-space: normal; /* Разрешаем перенос заголовка */
  }

  /* --- 4. Отступы для секций --- */
  .final-quote-section,
  .solutions-cards-section,
  .cta-section,
  .demo-page,
  .pricing-page-main-content,
  .section-enterprise,
  .section-feature {
    padding: 4rem 1.5rem;
  }
  .final-quote-block {
    padding: 4rem 1.5rem;
  }

  /* --- 5. Сетки и колонки --- */
  .advantages-section .sticky-image-container {
    display: none; /* Прячем "липкую" картинку */
  }
  .advantages-section .text-step {
    min-height: auto;
    padding: 4rem 1rem;
    text-align: center;
  }
  .advantages-section .text-step .mobile-image {
    display: block; /* Показываем мобильную картинку */
    width: 90%;
    max-width: 400px;
    margin: 0 auto 2rem auto;
    border-radius: 20px;
  }
  .advantages-section .feature-description {
    margin: 0 auto;
    max-width: 500px;
  }

  /* Футер */
  .footer-grid {
    grid-template-columns: 1fr 1fr; /* 2 колонки */
  }
  .footer-column-main {
    grid-column: 1 / -1; /* Лого на всю ширину */
    margin-bottom: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  /* Страница Pricing */
  .pricing-card {
    padding: 2rem 1rem;
  }
  .pricing-card h1,
  .pricing-card .subtitle,
  .pricing-card .toggle-switch-container {
    margin-left: 0;
    max-width: 100%;
    text-align: center;
  }
  .toggle-switch-container {
    justify-content: center;
  }
  .pricing-buttons-overlay {
    display: none; /* Скрываем кнопки поверх картинки */
  }

  /* Блоки "фич" (картинка + текст) */
  .feature-layout,
  .feature-layout.layout-reverse {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  .feature-layout .feature-content,
  .feature-layout.layout-reverse .feature-content {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Дополнительные правки для совсем маленьких экранов */
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr; /* 1 колонка в футере */
  }
  .cta-text {
    font-size: 1rem;
  }
}


/* ======================================================
   СТИЛИ ДЛЯ СТРАНИЦЫ TERMS OF SERVICE
====================================================== */

/* Общий контейнер для страницы */
.terms-page {
  padding: 8rem 1rem 6rem; /* Отступы сверху и снизу */
}

/* Блок с контентом */
.terms-content {
  max-width: 1135px; /* Ограничиваем ширину для лучшей читаемости */
  margin: 0 auto;
  font-family: 'Red Rose', sans-serif; /* Более читаемый шрифт для текста */
  color: #cccccc; /* Слегка приглушенный белый для комфорта глаз */
}


/* Главный заголовок */
.terms-content h1 {
  font-family: 'Red Rose', sans-serif;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  text-align: left;
  margin-bottom: 0.5rem;

  /* Убираем градиент и задаем белый цвет напрямую */
  color: var(--clr-light);
}

/* Дата обновления */
.terms-content .last-updated {
  text-align: left;
  margin-bottom: 4rem;
  color: #888;
  font-size: 1.135rem;
}

/* Заголовки разделов (H2) */
.terms-content h2 {
  font-family: 'Red Rose', sans-serif;
  font-size: 1.8rem;
  color: var(--clr-light);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15); /* Разделитель */
}

/* Подзаголовки (H3) */
.terms-content h3 {
    font-family: 'Red Rose', sans-serif;
    font-size: 1.3rem;
    color: #e0e0e0;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Основной текст */
.terms-content p {
  font-size: 1rem;
  line-height: 1.8; /* Увеличенный межстрочный интервал — ключ к читабельности! */
  margin-bottom: 1.5rem;
}

/* Списки */
.terms-content ul,
.terms-content ol {
  line-height: 1.8;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem; /* Отступ для маркеров/цифр */
}

.terms-content li {
  margin-bottom: 0.75rem; /* Отступ между пунктами списка */
}

/* Ссылки в тексте */
.terms-content a {
  color: var(--clr-accent-start);
  text-decoration: none;
  transition: var(--transition);
}

.terms-content a:hover {
  text-decoration: underline;
  filter: brightness(1.2);
}

/* Выделение жирным */
.terms-content strong {
  color: var(--clr-light);
  font-weight: 600;
}

/* ======================================================
   СТИЛИ ДЛЯ ЗАГОЛОВКА ЮРИДИЧЕСКИХ СТРАНИЦ (Terms, Policy и т.д.)
====================================================== */

.legal-page-header {
    /* ЗАДАЙТЕ НУЖНУЮ ВЫСОТУ ЗДЕСЬ */
    padding-top: 30px; /* Например, 100px. Можете изменить. */
    padding-bottom: 3rem;
}

.legal-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    max-width: 1135px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0rem;
}

.legal-page-title {
    font-family: 'Red Rose', serif;
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--clr-light);
}

.legal-social-icons {
    display: flex;
    gap: 1.5rem;
}

.legal-social-icons img {
    height: 22px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.legal-social-icons a:hover img {
    opacity: 1;
}

.legal-divider {
    border: none;
    height: 2px;
    background: linear-gradient(to right, var(--clr-accent-start), var(--clr-accent-end));
    max-width: 1135px;
    margin: 0 auto;
}

/* Адаптивность для нового заголовка */
@media (max-width: 768px) {
    .legal-title-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
}


/* ======================================================
   СТИЛИ ДЛЯ НОВОГО COOKIE-БАННЕРА И МОДАЛЬНОГО ОКНА
====================================================== */

/* --- Основной баннер (Слой 1) --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #f1f1f1;
  padding: 1.5rem 2rem;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.5s ease-in-out;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.cookie-banner.show {
  transform: translateY(0);
}
.cookie-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}
.cookie-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
}
.cookie-text a {
  color: var(--clr-accent-start);
  text-decoration: underline;
}
.cookie-buttons-main {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}
.btn-cookie {
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn-cookie--decline, .btn-cookie--manage {
  background-color: transparent;
  border-color: #888;
  color: #ccc;
}
.btn-cookie--decline:hover, .btn-cookie--manage:hover {
    background-color: rgba(255,255,255,0.1);
}
.btn-cookie--accept {
  background: linear-gradient(135deg, var(--clr-accent-start), var(--clr-accent-end));
  color: white;
  border-color: transparent;
}

/* --- Модальное окно (Слой 2) --- */
.cookie-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cookie-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}
.cookie-modal {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}
.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.cookie-modal-header h2 {
    font-size: 1.5rem;
    font-family: 'Red Rose', serif;
}
.cookie-modal-close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}
.cookie-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    font-family: 'Montserrat', sans-serif;
}
.cookie-modal-body > p {
    margin-bottom: 2rem;
    color: #a0a0a0;
}
.cookie-category {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.cookie-category:last-child {
    border-bottom: none;
}
.cookie-category h4 {
    grid-column: 1 / -1;
    font-size: 1.1rem;
    font-weight: 600;
}
.cookie-category-desc {
    grid-column: 1 / 2;
    font-size: 0.9rem;
    color: #a0a0a0;
}
.toggle-switch {
    grid-column: 2 / 3;
    align-self: center;
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #333;
  border-radius: 34px;
  transition: .4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  border-radius: 50%;
  transition: .4s;
}
input:checked + .slider {
  background: linear-gradient(135deg, var(--clr-accent-start), var(--clr-accent-end));
}
input:checked + .slider:before {
  transform: translateX(22px);
}
.toggle-switch.is-disabled .slider {
    cursor: not-allowed;
    background: #555;
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: right;
}

/* --- Адаптивность --- */
@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  .cookie-buttons-main {
      flex-direction: column;
      width: 100%;
  }
  .cookie-category {
      grid-template-columns: 1fr;
      text-align: center;
  }
  .cookie-category-desc {
      grid-column: 1 / -1;
  }
  .toggle-switch {
      grid-column: 1 / -1;
      justify-self: center;
      margin-top: 1rem;
  }
}



/* ======================================================
   ФИНАЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ БЛОГА (РЕДИЗАЙН v2)
====================================================== */
/* --- Общие стили для страницы --- */
body.blog-page {
    /* padding-top убран, так как шапка больше не фиксированная */
}
.navbar {
    position: absolute; /* 1. Возвращаем стандартное поведение шапки */
    background: transparent;
}

/* --- Заголовок страницы "BLOG" --- */
.blog-page-header {
    padding-top: 140px; /* Увеличили отступ сверху, т.к. шапка теперь не фиксированная */
}
.blog-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    max-width: 1135px; /* Ограничиваем ширину, чтобы соответствовать линии */
    margin-left: auto;
    margin-right: auto;
}
.blog-page-title {
    font-family: 'Red Rose', serif;
    font-size: 1.375rem;
    font-weight: 400;
}
.blog-social-icons {
    display: flex;
    gap: 1.5rem;
}
.blog-social-icons img {
    height: 22px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.blog-social-icons a:hover img {
    opacity: 1;
}
.blog-divider {
    border: none;
    height: 2px;
    background: linear-gradient(to right, var(--clr-accent-start), var(--clr-accent-end));
    max-width: 1135px; /* 2. Задаем точную ширину линии */
    margin: 0 auto; /* Центрируем линию */
}

/* --- Контейнер и заголовок статьи --- */
/* --- Контейнер и заголовок статьи (ИСПРАВЛЕННАЯ ВЕРСИЯ) --- */
.container.article-container {
    max-width: 900px; /* Устанавливаем ширину и !important для высшего приоритета */
    padding: 4rem 0;
    margin: 0 auto; /* Центрируем контейнер */
}
.article-header {
    text-align: left;
    margin-bottom: 2.5rem;
}
.article-category {
    font-family: 'Red Rose', serif;
    font-weight: 500;
    color: var(--clr-accent-start);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}
.article-header h1 {
    font-family: 'Red Rose', serif;
    font-size: clamp(2.2rem, 5vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}
.article-byline {
    color: #a0a0a0;
}

/* --- Изображение статьи --- */
.article-main-image {
    margin-top: 2rem;
    margin-bottom: 3rem;
    border-radius: 25px; /* 4. Задаем скругление углов как на скриншоте */
    overflow: hidden;
}

/* --- Текст статьи и другие секции (остаются без изменений) --- */
.article-content {
    font-size: 1.375;
    line-height: 1.8;
    color: var(--clr-light);
}
.article-content p { margin-bottom: 2rem; }
.article-content h2 {
    font-family: 'Red Rose', serif;
    font-size: 1.8rem;
    color: var(--clr-light);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}
.article-content ul {
    list-style-position: outside;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}
.article-content li {
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}
.article-content strong {
    color: var(--clr-light);
    font-weight: 600;
}

.resource-center {
    background-color: #080808;
    padding: 6rem 1rem;
    text-align: center;
}
/* ...остальные стили для resource-center... */


/* --- Адаптивность --- */
@media (max-width: 768px) {
    .blog-title-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
}


/* ======================================================
   ФИНАЛЬНЫЕ СТИЛИ ДЛЯ СЛАЙДЕРА С КАРТИНКАМИ
====================================================== */

.resource-center {
    background-color: #000;
    padding: 6rem 0;
    text-align: center;
}
.resource-center-title {
    font-family: 'Red Rose', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.resource-center-subtitle {
    max-width: 550px;
    margin: 0 auto 3rem auto;
    color: #a0a0a0;
    line-height: 1.6;
}

/* --- Стили для слайдера и картинок --- */
.resource-slider {
    width: 100%;
    max-width: 1200px; /* Ограничиваем максимальную ширину */
    margin: 0 auto;    /* Центрируем слайдер на странице */
    padding: 1rem 0;
    overflow: hidden;  /* Прячем всё, что не помещается в слайдер */
}
.swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 25px; /* Скругление углов теперь здесь */
    overflow: hidden;    /* Прячем все, что выходит за рамки */
    border: 1px solid #333;
}

/* 2. Стили для самого фото, которое мы УВЕЛИЧИВАЕМ */
.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Масштабирует фото, чтобы оно заполнило блок без искажений */
    transform: scale(1.10); /* Увеличиваем фото на 15% */
    transition: transform 0.4s ease; /* Плавный переход для эффекта при наведении */
}

/* 3. Опционально: эффект при наведении */
.swiper-slide a:hover img {
    transform: scale(1.05); /* При наведении увеличиваем еще больше */
}


/* --- Стили для стрелок навигации --- */
.swiper-button-next,
.swiper-button-prev {
    color: var(--clr-light) !important;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    --swiper-navigation-size: 30px; /* Уменьшаем размер стрелок */
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 1;
}
.swiper-button-prev {
    left: -10px; /* Положение на мобильных */
}
.swiper-button-next {
    right: -10px; /* Положение на мобильных */
}
/* Положение стрелок на больших экранах */
@media (min-width: 1200px) {
    .swiper-button-prev {
        left: -40px;
    }
    .swiper-button-next {
        right: -40px;
    }
}


/* ======================================================
   СТИЛИ ДЛЯ СЕКЦИИ С ФОНОВЫМ ВИДЕО
====================================================== */

.video-background-section {
    position: relative;
    width: 100%;
    height: 130vh; /* Занимает всю высоту экрана */
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100; /* Прячем видео за любой контент */
    transform: translateX(-50%) translateY(-50%);
    object-fit: contain;
}

/* ======================================================
   СТИЛИ ДЛЯ ЭКРАНА-ЗАГЛУШКИ НА МОБИЛЬНЫХ (ОБНОВЛЕННЫЕ)
====================================================== */

/* Стили для самого экрана-заглушки */
#mobile-blocker {
    display: none; /* По умолчанию скрыт на десктопе */
    position: fixed;
    inset: 0; /* Растягивает на весь экран (top:0, left:0, right:0, bottom:0) */
    background-color: #000;
    color: #fff;
    z-index: 9999; /* Поверх всего контента */
    font-family: 'Montserrat', sans-serif;
}

/* Контейнер для центрирования контента */
.blocker-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 2rem;
}

/* Стили для логотипа, заголовка и текста */
.blocker-content .logo {
    height: 40px;
    margin-bottom: 2.5rem;
}

.blocker-content h1 {
    font-family: 'Red Rose', serif;
    font-size: 2rem; /* 32px */
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blocker-content p {
    font-size: 1rem; /* 16px */
    color: #a0a0a0; /* Серый цвет, как на сайте */
    max-width: 320px;
    line-height: 1.6;
}

/* Медиа-запрос, который включает заглушку на мобильных */
@media (max-width: 768px) {
    /* Показываем заглушку */
    #mobile-blocker {
        display: flex; /* Используем flex для центрирования */
    }

    /* Прячем основной контент сайта */
    #desktop-content {
        display: none;
    }
}

