/*
Theme Name: HyperPixel
Template: bizboost
Author: Child Theme Configurator
Version: 2.0.6.1762870715
Updated: 2025-11-11 17:18:35

*/
/* ========== Header (BEM) ========== */

.header {
  position: sticky; /* если не нужно липкое — поменяйте на relative */
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 14, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header__container {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;

  min-height: 84px;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.header__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 0;
  background: transparent;
}
/* ======================================================= */
/* === ФИНАЛЬНЫЙ, СТАБИЛЬНЫЙ CSS ДЛЯ ЛОГОТИПА (V-FINAL) === */
/* ======================================================= */

/* --- ОСНОВНЫЕ СТИЛИ --- */
.header__logo-wrap {
  display: inline-block;
}

#hp-logo {
  display: block;
  width: 240px;
  aspect-ratio: 560 / 140;
  height: auto;
  max-width: 100%;
  overflow: visible;
  cursor: pointer;
  animation: logoFloat 5s ease-in-out 2.5s infinite;
}

/* --- АНИМАЦИЯ ПОЯВЛЕНИЯ (Entry Animation) --- */
.pixel {
  fill: url(#g-pixel);
  rx: 6;
  opacity: 0;
  transform-origin: center;
  animation: pixelDropEnhanced 800ms cubic-bezier(.22, 1, .36, 1) forwards;
  filter: drop-shadow(0 6px 18px rgba(99, 80, 255, 0.12));
  transition: filter 0.4s ease; /* Плавный переход для hover */
  will-change: filter;
}
.p-1 { animation-delay: 0s; } .p-2 { animation-delay: 0.06s; } .p-3 { animation-delay: 0.12s; } .p-4 { animation-delay: 0.18s; } .p-5 { animation-delay: 0.26s; } .p-6 { animation-delay: 0.34s; } .p-7 { animation-delay: 0.16s; }
.text-clip-rect {
  transform: translateX(-420px);
  animation: revealText 1s ease-out 0.9s forwards;
}

/* --- ПОСТОЯННЫЕ АНИМАЦИИ (Idle Animation) --- */
.dot {
  fill: #7B3EFF;
  opacity: 0.9;
  filter: drop-shadow(0 0 14px rgba(123, 62, 255, 0.45));
  animation: dotPulse 1.6s ease-in-out 1.2s infinite;
  transition: filter 0.4s ease;
}

.hp-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 40px;
  letter-spacing: 1.6px;
  
  /* ГЛАВНОЕ ИСПРАВЛЕНИЕ: Используем надежный SVG-атрибут `fill` */
  fill: url(#g-text);
  
  /* Готовим обводку для появления на hover */
  stroke-width: 0;
  stroke: var(--color-primary-end);

  /* Плавные переходы для всех эффектов */
  transition: stroke-width 0.4s ease, filter 0.4s ease;
  filter: drop-shadow(0 4px 14px rgba(123, 62, 255, 0.15));
}


/* ======================================================= */
/* === НОВЫЙ ЭФФЕКТ "КРИСТАЛЬНЫЙ ФОКУС" ПРИ НАВЕДЕНИИ === */
/* ======================================================= */

/* 1. Эффект для текста: появление обводки и усиление свечения */
.header__logo-wrap:hover .hp-text {
  stroke-width: 0.5px;
  filter: drop-shadow(0 0 16px rgba(195, 214, 255, 0.5));
}

/* 2. Эффект для пикселей: усиление свечения */
.header__logo-wrap:hover .pixel {
  filter: drop-shadow(0 0 20px rgba(123, 62, 255, 0.8));
}

/* 3. Эффект для точки: усиление свечения */
.header__logo-wrap:hover .dot {
  filter: drop-shadow(0 0 20px rgba(123, 62, 255, 1));
}


/* --- KEYFRAMES (АНИМАЦИИ) --- */
/* (Анимации появления и "дыхания" не изменились) */
@keyframes pixelDropEnhanced { 0% { transform: translateY(-120px) scale(0.8) rotateZ(-30deg); opacity: 0; } 70% { transform: translateY(10px) scale(1.05) rotateZ(5deg); opacity: 1; } 100% { transform: translateY(0) scale(1) rotateZ(0deg); opacity: 1; } }
@keyframes revealText { from { transform: translateX(-420px); } to { transform: translateX(0); } }
@keyframes logoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes dotPulse { 0%, 100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.25); opacity: 1; } }

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

.header__menu {
  display: flex;
  align-items: center;
  gap: 18px;

  margin: 0;
  padding: 0;
  list-style: none;
}

.header__menu-link {
  /* Базовые стили для расположения и текста */
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.2px;
  background: transparent; /* Изначально фон прозрачный */
 position: relative; /* Обязательно для позиционирования псевдоэлемента */
  text-decoration: none;
  overflow: hidden; /* Скроем все, что может выйти за пределы */
  background: transparent;
	 transition: color 0.3s ease-out, transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.header__menu-link::after {
  content: '';
  position: absolute;
  left: 12px; /* Равно горизонтальному padding */
  bottom: 6px; /* Регулируйте отступ */
  width: calc(100% - 24px); /* Ширина минус паддинги */
  height: 2px;
  background:linear-gradient(to right, var(--wp--preset--color--patrick-blue) 0%, var(--wp--preset--color--blue-green) 100%);

  /* Анимация */
  transform: scaleX(0); /* Изначально линия сжата по горизонтали */
  transform-origin: left; /* Анимация будет идти слева направо */
  transition: transform 0.4s cubic-bezier(0.7, 0, 0.2, 1);
}

.header__menu-link:hover,
.header__menu-link:focus-visible {
  color: #fff;
  outline: none;
  transform: translateY(-3px); /* Слегка приподнимаем текст */
}

/* При наведении "растягиваем" линию */
.header__menu-link:hover::after,
.header__menu-link:focus-visible::after {
  transform: scaleX(1);
}

.header__menu-link:active {
  /* При нажатии возвращаем на место и чуть "вдавливаем" */
  transform: translateY(1px);
  transition: transform 0.1s;
}
/* Адаптив */
@media (max-width: 900px) {
  .header__container {
    gap: 14px;
    min-height: 72px;
  }

  .header__logo #hp-logo {
    width: 220px;
    max-width: 220px;
  }

  .header__menu {
    gap: 10px;
  }

  .header__menu-link {
    padding: 8px 10px;
    font-weight: 600;
  }
}

@media (max-width: 640px) {
  /* на мобилке пока просто скрываем меню (потом сделаем бургер) */
  .header__nav {
    display: none;
  }
}



/*главная*/

/* === СТИЛИ БЛОКА "НАШИ КОМПЕТЕНЦИИ" v2 (PRO) === */

.showcase-section {
 
    --showcase-primary: #6B4BFF;
    --showcase-glow: rgba(107, 75, 255, 0.25);
    --showcase-container-bg: #11111E;
    --showcase-border: rgba(107, 75, 255, 0.2);
    --showcase-text: #E0E0E0;
    --showcase-heading: #FFFFFF;
    --showcase-tab-inactive: #8A8AA0;

    background-color: var(--showcase-bg);
    padding: 120px 0 0;
}

.showcase-container {
    margin: 0 auto;
    padding: 40px;
    border: 1px solid var(--showcase-border);
    border-radius: 16px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 30px var(--showcase-glow);
    overflow: hidden;
}
/* Эффект "шума" */
.showcase-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiGAAAAA1BMVEX///+nxBvIAAAAIElEQVR42mP8//8/AwP/gYdDFxBLIeCSyFhdQKALihgFAEMeA/f24PLUAAAAAElFTkSuQmCC');
    opacity: 0.03;
    pointer-events: none;
}

/* --- ТАБЫ --- */
.showcase-tabs {
    display: flex;
    justify-content: center;
    position: relative;
    margin-bottom: 40px;
    border: 1px solid var(--showcase-border);
    border-radius: 12px;
    padding: 8px;
}
.showcase-tab {
    background: none; border: none; cursor: pointer;
    color: var(--showcase-tab-inactive);
    padding: 14px 24px;
    font-size: 1rem; font-weight: 500;
    display: flex; align-items: center; gap: 10px;
    position: relative; z-index: 2;
    transition: color 0.4s ease;
}
.showcase-tab.is-active {
    color: var(--showcase-heading);
}
.showcase-tab svg {
    width: 20px; height: 20px;
    stroke: currentColor;
    stroke-width: 2; fill: none;
}
/* Скользящий индикатор */
.active-indicator {
    position: absolute;
    top: 8px;
    height: calc(100% - 16px);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--showcase-border);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: left 0.5s cubic-bezier(0.25, 1, 0.5, 1), width 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

/* --- ДИСПЛЕЙ --- */
.showcase-display {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center; justify-content: center;
    overflow: hidden;
    border-radius: 12px;
}
.showcase-content {
    position: relative; z-index: 2;
    text-align: center; max-width: 600px;
}
.showcase-content-title {
    font-size: 2.2rem;
    color: var(--showcase-heading);
    margin: 0 0 15px;
}
.showcase-content-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--showcase-text);
    margin: 0;
}
/* Анимация появления букв */
.showcase-content span {
    display: inline-block;
    opacity: 0;
    transform: translateY(10px) scale(0.9);
    animation: fadeInChar 0.5s forwards;
}

@keyframes fadeInChar { to { opacity: 1; transform: translateY(0) scale(1); } }

/* --- АНИМИРОВАННЫЕ ФОНЫ 2.0 --- */
.bg-effect {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; z-index: 1;
    transition: opacity 0.7s ease;
}
.bg-effect.is-active { opacity: 1; }

/* Фон 1: Дождь из кода */
#code-rain-canvas { width: 100%; height: 100%; opacity: 0.3; }

/* Фон 2: 3D-сетка */
.wireframe-grid {
    width: 100%; height: 100%;
    background: repeating-linear-gradient(var(--showcase-primary) 0 1px, transparent 1px 100%),
                repeating-linear-gradient(90deg, var(--showcase-primary) 0 1px, transparent 1px 100%);
    background-size: 50px 50px;
    opacity: 0.1;
    animation: zoom-in 15s infinite linear;
    transform-style: preserve-3d;
}
@keyframes zoom-in { 0% { transform: perspective(500px) rotateX(60deg) scale(1); } 100% { transform: perspective(500px) rotateX(60deg) scale(2); } }

/* Фон 3: График */
.analytics-graph {
    width: 100%; height: 100%; display: flex;
    justify-content: space-around; align-items: flex-end;
    mask-image: linear-gradient(to top, black 50%, transparent 100%);
}
.analytics-graph::before, .analytics-graph::after {
    content: ''; display: block; width: 10%;
    background: linear-gradient(to top, var(--showcase-primary), var(--showcase-glow));
    animation: graph-pulse 1.5s infinite alternate ease-in-out;
}
.analytics-graph::after { animation-delay: -0.75s; }
@keyframes graph-pulse { 0% { height: 10%; } 100% { height: 90%; } }

/* --- CTA-КНОПКА --- */
.showcase-cta {
    text-align: center;
    margin-top: 40px;
}
.showcase-cta .btn {
    display: inline-flex; align-items: center; gap: 12px;
    background: var(--showcase-primary);
    color: var(--showcase-heading);
    font-size: 1.1rem; font-weight: 600; text-decoration: none;
    padding: 16px 32px;
    border-radius: 50px; border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.showcase-cta .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--showcase-glow);
}
.showcase-cta .btn svg { width: 20px; height: 20px; transition: transform 0.3s ease; }
.showcase-cta .btn:hover svg { transform: translateX(5px); }

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 768px) {
    .showcase-tabs { flex-direction: column; }
    .active-indicator { display: none; } /* Упрощаем на мобильных */
    .showcase-tab.is-active { background: rgba(255, 255, 255, 0.05); }
    .showcase-content-title { font-size: 1.8rem; }
}



/* === СТИЛИ БЛОКА "ПОЧЕМУ МЫ" === */

.advantages-section {
    
    --adv-card-bg: #1A1A2E;
    --adv-primary-color: #6B4BFF;
    --adv-text-color: #C0C0DD; /* Чуть светлее текст */
    --adv-heading-color: #FFFFFF;
    --adv-card-border-color: rgba(107, 75, 255, 0.15);

    /* --- СТИЛИ КОМПОНЕНТА --- */
    background-color: var(--adv-bg-color);
    padding:  0;
}

.advantages-section .container {
    margin: 0 auto;
    padding: 0 20px;
}

.advantages-title {
    text-align: center;
    font-size: 2.8rem;
    color: var(--adv-heading-color);
    margin-bottom: 80px;
}

/* --- СЕТКА ПРЕИМУЩЕСТВ --- */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* --- КАРТОЧКА ПРЕИМУЩЕСТВА --- */
.advantage-card {
    background-color: var(--adv-card-bg);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--adv-card-border-color);
    display: flex;
    align-items: flex-start;
    gap: 30px;
    
    /* Анимация для JS */
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out, opacity 0.5s ease-out;
}

.advantage-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(107, 75, 255, 0.1);
}

.advantage-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--adv-primary-color);
}

.advantage-text h3 {
    font-size: 1.5rem;
    color: var(--adv-heading-color);
    margin: 0 0 15px 0;
}

.advantage-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--adv-text-color);
    margin: 0;
}

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .advantages-title {
        font-size: 2rem;
    }
    .advantage-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px;
    }
}
/* === СТИЛИ БЛОКА "КЛЮЧЕВЫЕ КОМПЕТЕНЦИИ" (PRO) === */
.pro-services-section {
    --pro-bg: #000000; /* Истинно черный фон, как вы просили */
    --pro-card-bg: #111118;
    --pro-primary: #6B4BFF;
    --pro-glow-color: rgba(107, 75, 255, 0.4);
    --pro-border: rgba(107, 75, 255, 0.1);
    --pro-text: #C0C0DD;
    --pro-heading: #FFFFFF;
    --pro-icon-default: #5A5A7A; /* !!! ВАШ НОВЫЙ СЕРО-СИНИЙ ЦВЕТ ИКОНОК */
    padding: 120px 0;
}

.pro-services-section .container {
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.pro-services-title {
    font-size: 2.8rem;
    color: var(--pro-heading);
    margin-bottom: 80px;
}

.pro-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.pro-service-card {
    position: relative;
    border: 1px solid var(--pro-border);
    border-radius: 12px;
    padding: 40px;
    background: var(--pro-card-bg);
    transform-style: preserve-3d; /* Включаем 3D пространство */
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
}

.pro-service-card:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 40px var(--pro-glow-color);
}

.card-glow {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 12px;
    background: radial-gradient(circle at 50% 50%, var(--pro-glow-color) 0%, transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
    will-change: background, opacity;
}
.pro-service-card:hover .card-glow {
    opacity: 0.2;
}

.card-content {
    transform: translateZ(20px); /* Выдвигаем контент чуть вперед */
    text-align: left;
}

.pro-service-icon {
    margin-bottom: 20px;
    color: var(--pro-icon-default); /* Серо-синий по умолчанию */
    transition: color 0.4s ease;
    transform: translateZ(30px); /* Выдвигаем иконку еще дальше для параллакса */
}
.pro-service-card:hover .pro-service-icon {
    color: var(--pro-primary); /* Яркий при наведении */
}
.pro-service-icon svg {
    width: 50px; height: 50px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

.pro-service-card h3 {
    font-size: 1.5rem;
    color: var(--pro-heading);
    margin: 0 0 15px 0;
}
.pro-service-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--pro-text);
    margin: 0;
}

/* --- Кнопки (остаются без изменений) --- */
.pro-services-cta-container { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 20px; }
.pro-services-cta-container .btn { display: inline-block; font-size: 1.1rem; font-weight: 600; text-decoration: none; padding: 16px 32px; border-radius: 50px; border: 2px solid transparent; transition: all 0.3s ease; }
.pro-services-cta-container .btn.btn-primary { background-color: var(--pro-primary); color: var(--pro-heading); }
.pro-services-cta-container .btn.btn-primary:hover { transform: translateY(-5px); background-color: #7a5eff; }
.pro-services-cta-container .btn.btn-secondary { background-color: transparent; color: var(--pro-primary); border-color: var(--pro-primary); }
.pro-services-cta-container .btn.btn-secondary:hover { transform: translateY(-5px); background-color: rgba(107, 75, 255, 0.1); color: var(--pro-heading); }
/* === ФИНАЛЬНЫЕ, ИСПРАВЛЕННЫЕ СТИЛИ: "СФЕРЫ ЧИСТОЙ ВОДЫ" === */
.bubble-cloud-section {
    --bc-glow: rgba(200, 220, 255, 0.4);
    --bc-text: #E0E0F0;
    --bc-heading: #FFFFFF;
    padding: 0 0 120px 0;
    overflow: hidden;
}
.bubble-cloud-section .container { margin: 0 auto; }
.bubble-cloud-title { text-align: center; font-size: 2.8rem; color: var(--bc-heading); margin-bottom: 60px; }

.bubble-cloud-container {
    position: relative;
    width: 100%;
    height: 600px;
}

.testimonial-bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.05); /* Сделал фон чуть заметнее */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 3px 15px rgba(0, 0, 0, 0.3), 0 10px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    cursor: default;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.5s ease, border-color 0.5s ease;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.testimonial-bubble::before {
    content: '';
    position: absolute;
    width: 150%; 
    height: 150%;
    
    /* ИСПРАВЛЕНИЕ 1: Делаем градиент ярче и заметнее */
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 10%, transparent 50%);
    
    /* ИСПРАВЛЕНИЕ 2: Добавляем border-radius, чтобы убрать квадратные артефакты */
    border-radius: 50%; 
    
    animation: water-shimmer 12s linear infinite;
}
@keyframes water-shimmer {
    from { transform: translate(-25%, -25%); }
    to { transform: translate(25%, 25%); }
}

.testimonial-bubble::after {
    content: '';
    position: absolute;
    width: 100%; height: 100%;
    background: radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.25), transparent 30%);
}

.testimonial-bubble:hover {
    transform: scale(1.1) translateY(-10px);
    box-shadow: inset 0 3px 15px rgba(0, 0, 0, 0.3), 0 20px 60px var(--bc-glow);
    border-color: rgba(255, 255, 255, 0.3);
    z-index: 10;
    animation-play-state: paused;
}
.testimonial-bubble:hover::before { animation-play-state: paused; }

.testimonial-bubble h4, .testimonial-bubble p {
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
}
.testimonial-bubble h4 { font-size: 1rem; color: var(--bc-heading); margin: 0 0 8px; font-weight: 500; }
.testimonial-bubble p { font-size: 0.76rem; line-height: 1.6; color: var(--bc-text); margin: 0; }
.testimonial-bubble:hover p { color: #FFFFFF; }

/* Размеры и анимации дрейфа (без изменений) */
.bubble-size-l { width: 280px; height: 280px; }
.bubble-size-m { width: 220px; height: 220px; }
.bubble-size-s { width: 160px; height: 160px; }
.bubble-size-s h4 { font-size: 0.9rem; }
.bubble-size-s p { font-size: 0.75rem; }

@keyframes bubble-drift-1 { from { transform: translate(0, 20px); } to { transform: translate(20px, -20px); } }
@keyframes bubble-drift-2 { from { transform: translate(0, 0); } to { transform: translate(-25px, 10px); } }
@keyframes bubble-drift-3 { from { translate: -10px -10px; } to { translate: 10px 10px; } }

.testimonial-bubble:nth-child(1) { top: 5%; left: 35%; animation-name: bubble-drift-1; animation-duration: 15s; }
.testimonial-bubble:nth-child(2) { top: 0%; left: 5%; animation-name: bubble-drift-2; animation-duration: 20s; animation-delay: -5s; }
.testimonial-bubble:nth-child(3) { top: 15%; right: 10%; animation-name: bubble-drift-3; animation-duration: 18s; animation-delay: -2s; }
.testimonial-bubble:nth-child(4) { bottom: 5%; left: 10%; animation-name: bubble-drift-2; animation-duration: 22s; animation-delay: -10s; }
.testimonial-bubble:nth-child(5) { bottom: 25%; right: 30%; animation-name: bubble-drift-1; animation-duration: 17s; animation-delay: -7s; }
.testimonial-bubble:nth-child(6) { bottom: 0%; right: 5%; animation-name: bubble-drift-3; animation-duration: 25s; animation-delay: -3s; }

/* === АДЕКВАТНАЯ АДАПТИВНОСТЬ (ДОБАВИТЬ В КОНЕЦ CSS) === */

/* --- Планшеты и небольшие десктопы (до 992px) --- */
@media (max-width: 992px) {
    .bubble-cloud-container {
        /* Слегка уменьшаем высоту холста */
        height: 550px;
    }

    /* Уменьшаем размеры пузырей */
    .bubble-size-l { width: 240px; height: 240px; }
    .bubble-size-m { width: 190px; height: 190px; }
    .bubble-size-s { width: 140px; height: 140px; }

    /* Слегка корректируем позиции для более плотной компоновки */
    .testimonial-bubble:nth-child(1) { top: 10%; left: 35%; }
    .testimonial-bubble:nth-child(3) { top: 20%; right: 5%; }
    .testimonial-bubble:nth-child(4) { bottom: 10%; left: 5%; }
    .testimonial-bubble:nth-child(5) { bottom: 30%; right: 25%; }
}

/* --- Мобильные устройства (до 768px) --- */
@media (max-width: 768px) {
    .bubble-cloud-section {
        padding: 80px 0; /* Уменьшаем вертикальные отступы секции */
    }
    .bubble-cloud-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    .bubble-cloud-container {
        /* Значительно уменьшаем высоту, делая облако более вытянутым по вертикали */
        height: 750px;
    }

    /* Задаем новые, мобильные размеры пузырей */
    .bubble-size-l { width: 220px; height: 220px; padding: 15px; }
    .bubble-size-m { width: 180px; height: 180px; padding: 15px; }
    .bubble-size-s { width: 130px; height: 130px; padding: 10px; }

    /* Уменьшаем шрифты для компактных размеров */
    .testimonial-bubble h4 { font-size: 0.8rem; }
    .testimonial-bubble p { font-size: 0.7rem; line-height: 1.5; }
    .bubble-size-s p { font-size: 0.6rem; }
    
    /* --- КЛЮЧЕВОЕ ИЗМЕНЕНИЕ: ПОЛНАЯ ПЕРЕКОМПОНОВКА ПОЛОЖЕНИЙ --- */
    /* Мы создаем новую "карту" расположения пузырей для вертикального экрана */
    
    .testimonial-bubble:nth-child(1) { /* L */
        top: 0%; 
        left: 7%;
        transform: translateX(-50%); /* Центрируем большой пузырь сверху */
        animation-name: bubble-drift-2;
    }
    .testimonial-bubble:nth-child(2) { /* M */
        top: 30%; 
        left: 9%;
        animation-duration: 25s;
    }
    .testimonial-bubble:nth-child(3) { /* M */
        top: 18%; 
        right: 5%;
        animation-name: bubble-drift-1;
    }
    .testimonial-bubble:nth-child(4) { /* L */
        top: 48%; 
        left: 37%;
        transform: translateX(-50%); /* Еще один большой пузырь по центру ниже */
        animation-duration: 28s;
    }
    .testimonial-bubble:nth-child(5) { /* S */
        top: -7%; 
        right: 5%;
        z-index: -1; /* Маленький пузырь можно убрать на задний план */
    }
    .testimonial-bubble:nth-child(6) { /* M */
        bottom: 6%; 
        left: 7%;
        animation-name: bubble-drift-3;
    }
}

/* === ФИНАЛЬНЫЕ СТИЛИ БЛОКА "ЦИФРОВАЯ КОНВЕРГЕНЦИЯ" (с живым фоном) === */

.convergence-cta-section {
    --hyper-violet: #8A70FF;
    --hyper-cyan: #00E0FF;
    --hyper-bg: #0A0A14;
    --hyper-text: #C0C0DD;
    --hyper-heading: #FFFFFF;
    --hyper-border-alpha: rgba(138, 112, 255, 0.2);
    
    position: relative; /* Важно для позиционирования фона */
    overflow: hidden; /* Скрываем все, что выходит за пределы */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- НОВЫЙ БЛОК: ЖИВАЯ ЦИФРОВАЯ СРЕДА --- */
.data-matrix-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
/* Слой 1: Структура из пикселей */
.data-matrix-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(138, 112, 255, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
}
/* Слой 2: Потоки данных */
.data-stream {
    position: absolute;
    top: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--hyper-cyan), transparent);
    animation: stream-flow-vertical 20s linear infinite;
}
.data-stream:nth-child(1) { left: 10%; animation-duration: 15s; animation-delay: -5s; }
.data-stream:nth-child(2) { left: 30%; animation-duration: 20s; animation-delay: -10s; }
.data-stream:nth-child(3) { left: 65%; animation-duration: 18s; animation-delay: -2s; opacity: 0.7; }
.data-stream:nth-child(4) { left: 80%; animation-duration: 12s; animation-delay: -15s; background: linear-gradient(to bottom, transparent, var(--hyper-violet), transparent); }
.data-stream:nth-child(5) { left: 95%; animation-duration: 25s; animation-delay: -8s; }
@keyframes stream-flow-vertical {
    from { transform: translateY(-100%); }
    to { transform: translateY(100%); }
}

.convergence-container {
    position: relative; /* Чтобы был выше фона */
    z-index: 1;
    width: 100%;
    max-width: 500px;
    min-height: 500px;
}

/* ... (Все остальные стили остаются без изменений) ... */
.cta-prompt { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; transition: opacity 0.5s ease; }
.cta-title { font-size: 3rem; font-weight: 600; color: var(--hyper-heading); text-align: center; }
.cta-trigger { position: relative; width: 200px; height: 60px; background: linear-gradient(45deg, var(--hyper-violet), var(--hyper-cyan)); border: none; border-radius: 30px; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.cta-trigger:hover { transform: scale(1.05); box-shadow: 0 0 30px rgba(138, 112, 255, 0.5); }
.trigger-text { font-size: 1.1rem; font-weight: 500; color: var(--hyper-heading); }
.form-wrapper { position: relative; width: 100%; height: 100%; border: 1px solid transparent; border-radius: 30px; padding: 30px; opacity: 0; pointer-events: none; transition: opacity 0.5s ease 0.8s; background: rgba(10, 10, 20, 0.5); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.form-group { position: relative; margin-bottom: 25px; opacity: 0; animation: field-fade-in 0.5s forwards var(--delay); }
@keyframes field-fade-in { to { opacity: 1; } }
.form-group input, .form-group textarea { width: 100%; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--hyper-border-alpha); border-radius: 12px; padding: 15px; font-size: 1rem; color: var(--hyper-heading); outline: none; transition: border-color 0.3s ease, background-color 0.3s ease; }
.form-group textarea { resize: none; }
.form-group label { position: absolute; top: 16px; left: 15px; font-size: 1rem; color: var(--hyper-text); pointer-events: none; transition: all 0.3s ease; background: #0c0c16; padding: 0 5px; /* Фон для лейбла, чтобы не просвечивал */ }
.form-group input:focus, .form-group textarea:focus { border-color: var(--hyper-cyan); background-color: transparent; }
.form-group input:focus + label, .form-group textarea:focus + label, .form-group input:not(:placeholder-shown) + label, .form-group textarea:not(:placeholder-shown) + label { top: -10px; left: 10px; font-size: 0.8rem; color: var(--hyper-cyan); }
.form-submit { width: 100%; padding: 16px; background: var(--hyper-violet); border: none; color: var(--hyper-heading); font-size: 1.1rem; font-weight: 500; cursor: pointer; border-radius: 30px; opacity: 0; animation: field-fade-in 0.5s forwards var(--delay); transition: background-color 0.3s ease; }
.form-submit:hover { background-color: #7a5fe6; }
.convergence-container.is-active .cta-prompt { opacity: 0; pointer-events: none; }
.convergence-container.is-active .form-wrapper { opacity: 1; pointer-events: all; }
.pixel-effect-layer { position: absolute; inset: -100%; pointer-events: none; opacity: 0; }
.convergence-container.is-active .pixel-effect-layer { opacity: 1; animation: converge 1.5s forwards; }
@keyframes converge { 0% { box-shadow: 0 0 0 0 var(--hyper-cyan); transform: scale(0.5); opacity: 1; } 30% { box-shadow: 50px 100px 0 0 var(--hyper-cyan), -50px -100px 0 0 var(--hyper-violet), 100px -50px 0 0 var(--hyper-cyan), -100px 50px 0 0 var(--hyper-violet); transform: scale(1); opacity: 1; } 80% { transform: scale(1); opacity: 1; box-shadow: 250px 250px 0 0 var(--hyper-cyan), -250px -250px 0 0 var(--hyper-violet), 250px -250px 0 0 var(--hyper-cyan), -250px 250px 0 0 var(--hyper-violet); } 100% { transform: scale(1.2); opacity: 0; box-shadow: 250px 250px 0 0 var(--hyper-cyan), -250px -250px 0 0 var(--hyper-violet), 250px -250px 0 0 var(--hyper-cyan), -250px 250px 0 0 var(--hyper-violet); } }
.convergence-container.is-active .form-wrapper { animation: draw-border 1s forwards; animation-delay: 0.3s; }
@keyframes draw-border { from { border-color: transparent; } to { border-color: var(--hyper-border-alpha); } }



/*конаткты*/
/* === СТИЛИ БЛОКА "ПЛИТОЧНЫЙ ИНТЕРФЕЙС" (БЭМ) === */

.contacts-grid {
    --hyper-violet: #8A70FF;
    --hyper-cyan: #00E0FF;
    --hyper-bg: #0A0A14;
    --hyper-border-alpha: rgba(138, 112, 255, 0.2);
    
    position: relative;
    background-color: var(--hyper-bg);
    padding: 100px 5%;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

/* Блок__Элемент */
.contacts-grid__background {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(var(--hyper-border-alpha) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
}

.contacts-grid__container {
    position: relative;
    z-index: 1;
    display: grid;
    /* Адаптивный грид, который сам решает, сколько плиток в ряд */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.contacts-grid__tile {
    background: rgba(10, 10, 20, 0.5);
    backdrop-filter: blur(5px);
    border: 1px solid var(--hyper-border-alpha);
    border-radius: 30px; /* ВАШЕ ТРЕБОВАНИЕ */
    padding: 40px 20px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.contacts-grid__tile:hover {
    transform: translateY(-5px);
    border-color: var(--hyper-cyan);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contacts-grid__icon {
    width: 48px;
    height: 48px;
    color: var(--hyper-cyan);
    margin-bottom: 20px;
}

.contacts-grid__title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #FFFFFF;
    margin: 0 0 10px 0;
}

.contacts-grid__detail {
    font-size: 1.1rem;
    font-weight: 300;
    color: #C0C0DD;
    margin: 0;
    word-break: break-all; /* Для переноса длинных ссылок */
}










#hp-reticle-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 99999;
}

body {
  cursor: none;
}





/* === HyperPixel для BizBoost === */
.wp-block-main-header-container {
	padding-bottom:10px !important;
	padding-top: 10px !important;
}
.wp-block-cover.wp-block-header-media-no-image {
  position: relative !important;
  overflow: hidden !important;
  background: transparent !important;
  isolation: isolate;
}

/* Скрываем стандартный фон темы */
.wp-block-cover__background {
  background: transparent !important;
  opacity: 0 !important;
}

/* Canvas для анимации пикселей */
#hyperpixel-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 1; /* под контентом */
  pointer-events: none;
  background: transparent;
}

/* Контент поверх пикселей */
.wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
}

/* Заголовки */
.header-animate {
  color: #fff !important;
  text-shadow: 0 0 15px rgba(0, 200, 255, 0.6),
               0 0 30px rgba(150, 0, 255, 0.5);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards;
}
.header-animate-wrap:nth-child(1) .header-animate { animation-delay: 0.3s; }
.header-animate-wrap:nth-child(2) .header-animate { animation-delay: 0.8s; }
.header-animate-wrap:nth-child(3) .header-animate { animation-delay: 1.3s; }
.header-animate-wrap:nth-child(4) .header-animate { animation-delay: 1.8s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Кнопка — фирменная */
.shine-button {
  background: linear-gradient(90deg, #00c3ff, #9600ff);
  border-radius: 30px;
  box-shadow: 0 0 20px rgba(0, 195, 255, 0.4);
  transition: all 0.3s ease;
}

.shine-button:hover {
  box-shadow: 0 0 30px rgba(150, 0, 255, 0.6), 0 0 50px rgba(0, 195, 255, 0.5);
  transform: translateY(-3px) scale(1.05);
}

/* --- Общий контейнер INSALES страница--- */
/* === ФИНАЛЬНЫЕ СТИЛИ ДЛЯ ВСЕХ ТАРИФОВ (2025) === */

/* --- 1. ГЛОБАЛЬНЫЕ ПЕРЕМЕННЫЕ И ОСНОВА --- */
:root {
    --color-primary-start: #4b8bff;
    --color-primary-end: #7b3eff;
    --color-surface: #16161D;
    --color-border: rgba(255, 255, 255, 0.1);
    --color-text-main: #F8F8F9;
    --color-text-muted: #9E9EA4;
}
.pricing-page {
    width: 100%;
}

/* --- 2. СТРУКТУРА СЕКЦИИ --- */
.pricing__section {
    padding: 40px 0;
}
.pricing-page .pricing__section:first-child {
    padding-top: 0;
}
.pricing__header {
    text-align: center;
    margin-bottom: 60px;
}
.pricing__title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--color-text-main);
}
.pricing__subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}
.pricing__subtitle-top {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    text-align: center;
    margin: 0 auto;
    line-height: 1.6;
}
/* --- Стили для сетки услуг (замените старые) --- */
.pricing__grid {
    display: grid;
    gap: 24px;
}

/* Модификатор для сетки на 4 колонки (страница тарифов) */
.pricing__grid--4-cols {
    grid-template-columns: repeat(4, 1fr);
}

/* Модификатор для сетки на 3 колонки (страница услуг) */
.pricing__grid--3-cols {
    grid-template-columns: repeat(3, 1fr);
}


/* --- Адаптивность для сеток --- */
@media (max-width: 1200px) {
    .pricing__grid--4-cols,
    .pricing__grid--3-cols {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing__grid--4-cols,
    .pricing__grid--3-cols {
        grid-template-columns: 1fr;
    }
}


/* --- 3. КАРТОЧКА ТАРИФА (`pricing-card`) --- */
.pricing-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}
.pricing-card:hover {
    border-color: var(--color-primary-end);
}
.pricing-card__header {
    text-align: center;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}
.pricing-card__plan { font-size: 1.25rem; font-weight: 600; margin: 0 0 16px; color: var(--color-text-main); }
.pricing-card__price { margin-bottom: 12px; color: var(--color-text-main); }
.pricing-card__price-value { font-size: 2.5rem; font-weight: 700; line-height: 1; letter-spacing: -1px; }
.pricing-card__price-label { font-size: 1rem; color: var(--color-text-muted); margin-left: 8px; }
.pricing-card__term { font-size: 0.9rem; color: var(--color-text-muted); }
.pricing-card__body { flex-grow: 1; }
.pricing-card__features-list { list-style: none; padding: 0; margin: 0; font-size: 0.95rem; color: var(--color-text-muted); }
.pricing-card__feature { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.pricing-card__feature::before { content: "✓"; color: var(--color-primary-end); font-weight: 600; }
.pricing-card__feature strong { color: var(--color-text-main); font-weight: 500; }
.pricing-card__footer { margin-top: 32px; }

/* --- 4. МОДИФИКАТОР `pricing-card--popular` --- */
.pricing-card--popular {
    border: 1px solid transparent;
    background-clip: padding-box;
}
.pricing-card--popular::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: -1;
    margin: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--color-primary-start), var(--color-primary-end));
}
.pricing-card__badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--color-primary-start), var(--color-primary-end));
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* --- 5. КНОПКИ (`btn`) --- */
.btn {
    display: block;
    text-align: center;
    padding: 14px 20px;
    border-radius: 10px;
	font-size:18px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.25s ease;
}
.btn--primary {
    background: linear-gradient(135deg, var(--color-primary-start), var(--color-primary-end));
    color: #fff;
	border-radius: 30px;
}
.btn--primary:hover {
    box-shadow: 0 0 20px 0 rgba(123, 62, 255, 0.5);
	color: white;
}
.btn--secondary {
    border-color: var(--color-border);
    color: var(--color-text-muted);
	border-radius: 30px;
}
.btn--secondary:hover {
    border-color: var(--color-primary-start);
    color: var(--color-text-main);
    background-color: rgba(75, 139, 255, 0.1);
}

/* --- 6. БЛОК ДОП. УСЛУГ (`pricing__addons`) --- */
.pricing__addons {
    max-width: 800px;
    margin: 40px auto 0;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 16px 0;
}
.pricing__addons-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-main);
    text-align: center;
    margin: 0 0 24px;
    padding: 0 32px;
}
.pricing__addons-list { display: flex; flex-direction: column; }
.pricing__addons-item { display: flex; align-items: center; justify-content: space-between; padding: 16px 32px; transition: background-color 0.25s ease; }
.pricing__addons-item:hover { background-color: rgba(75, 139, 255, 0.05); }
.pricing__addons-name { font-size: 1rem; color: var(--color-text-muted); }
.pricing__addons-divider { flex-grow: 1; border-bottom: 1px dashed var(--color-border); margin: 0 24px; transform: translateY(4px); }
.pricing__addons-price { font-size: 1rem; font-weight: 600; color: var(--color-text-main); white-space: nowrap; }

/* --- 7. БЛОК ПРЕИМУЩЕСТВ (`features`) --- */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.features__item {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}
.features__icon {
    margin: 0 auto 16px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(123, 62, 255, 0.1);
    color: var(--color-primary-end);
}
.features__icon svg { width: 24px; height: 24px; }
.features__title { font-size: 1.125rem; margin: 0 0 8px; color: var(--color-text-main); }
.features__description { font-size: 0.95rem; color: var(--color-text-muted); line-height: 1.6; margin: 0; }

/* --- 8. БЛОК ОБЩИХ УСЛОВИЙ (`pricing__terms`) --- */
.pricing__terms {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
    margin-top: 80px;
}
.pricing__terms-item {
    border-left: 3px solid var(--color-border);
    padding-left: 20px;
}
.pricing__terms-title { font-size: 1rem; font-weight: 600; color: var(--color-text-main); margin: 0 0 8px; }
.pricing__terms-description { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.6; margin: 0; }

/* --- 9. АДАПТИВНОСТЬ --- */
@media (max-width: 1200px) {
    .pricing__grid { grid-template-columns: repeat(2, 1fr); }
    .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .pricing__section { padding: 60px 0; }
    .pricing__grid { grid-template-columns: 1fr; }
    .features { grid-template-columns: 1fr; }
    .pricing__title { font-size: 1.5rem; }
    .pricing__addons { margin-top: 60px; }
    .pricing__addons-item { padding: 16px 24px; }
    .pricing__addons-divider { margin: 0 16px; }
    .pricing__terms { grid-template-columns: 1fr; gap: 30px; margin-top: 60px; }
}


/*о нас*/

/* ======================================================= */
/* === СТИЛИ ТОЛЬКО ДЛЯ СТРАНИЦЫ "О НАС" (v3, SEO FOCUSED) === */
/* ======================================================= */

.about-page { width: 100%; }
.about-section { padding: 100px 0; }
.about-section__title { text-align: center; font-size: 2.75rem; font-weight: 800; margin-bottom: 60px; color: var(--color-text-main); }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

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

/* ======================================================= */
/* === СТИЛИ ДЛЯ HERO-БЛОКА С АНИМАЦИЕЙ "ГРАДИЕНТНОЕ ПРОЯВЛЕНИЕ" === */
/* ======================================================= */

.about-hero {
    text-align: center;
    max-width: 900px; /* Немного увеличим ширину для крупного текста */
    margin: 0 auto;
    padding: 80px 0;
}

/* Контейнер для нашего заявления */
.hero-statement {
    border: none;
    margin: 0 0 24px;
}

/* Каждая строка нашего заявления */
.hero-statement__line {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    padding: 0;
    margin: 0;

    /* САМАЯ ГЛАВНАЯ МАГИЯ */
    /* 1. Создаем фон-градиент */
    background: linear-gradient(90deg, 
        var(--color-primary-start), 
        var(--color-primary-end), 
        var(--color-text-main) /* Третий цвет - основной цвет текста */
    );
    /* 2. Делаем градиент очень широким, чтобы было куда двигать */
    background-size: 200% auto;
    /* 3. "Обрезаем" фон по форме текста */
    background-clip: text;
    -webkit-background-clip: text;
    /* 4. Делаем сам текст прозрачным, чтобы был виден фон */
    color: transparent;

    /* 5. Подключаем анимацию движения фона */
    animation: gradient-wipe 2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Задержка для второй строки */
.hero-statement__line:nth-child(2) {
    animation-delay: 0.3s;
}

/* Анимация движения градиента */
@keyframes gradient-wipe {
    from {
        /* Начинаем с позиции, где виден только основной цвет текста */
        background-position: -100% 0;
    }
    to {
        /* Заканчиваем в начальной позиции, где градиент полностью прошел */
        background-position: 0 0;
    }
}


/* Подзаголовок, который появляется после основного заявления */
.about-hero__subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    
    opacity: 0;
    transform: translateY(20px);
    animation: fade-in-up 0.8s ease-out forwards;
    animation-delay: 1s; /* Увеличили задержку, чтобы он появлялся после основной анимации */
}

/* Анимация для подзаголовка */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- ФИШКА №1: ИНТЕРАКТИВНЫЕ КАРТОЧКИ --- */
.values-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.values-grid__item { position: relative; overflow: hidden; background-color: var(--color-surface); border: 1px solid var(--color-border); border-radius: 16px; padding: 32px; text-align: center; flex: 1 1 300px; max-width: 380px; opacity: 0; animation: fadeInUp 0.6s ease-out forwards; transition: transform 0.3s ease; }
.values-grid__item:nth-child(2) { animation-delay: 0.1s; } .values-grid__item:nth-child(3) { animation-delay: 0.2s; }
.values-grid__item:hover { transform: translateY(-5px); }
.values-grid__item::before { content: ''; position: absolute; left: var(--mouse-x); top: var(--mouse-y); width: 200px; height: 200px; background: radial-gradient(circle, rgba(123, 62, 255, 0.15) 0%, transparent 80%); transform: translate(-50%, -50%); opacity: 0; transition: opacity 0.3s ease; z-index: 0; }
.values-grid__item:hover::before { opacity: 1; }
.values-grid__icon, .values-grid__title, .values-grid__text { position: relative; z-index: 1; }
.values-grid__icon { margin: 0 auto 24px; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background-color: rgba(123, 62, 255, 0.1); color: var(--color-primary-end); border: 1px solid var(--color-border); }
.values-grid__icon svg { width: 28px; height: 28px; }
.values-grid__title { font-size: 1.25rem; margin-bottom: 12px; } .values-grid__text { font-size: 1rem; color: var(--color-text-muted); line-height: 1.6; }

/* --- ФИШКА №2: АНИМИРОВАННАЯ ЛИНИЯ --- */
.process-steps { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; }
.process-steps::before { content: ''; position: absolute; top: 32px; left: 5%; width: 90%; height: 2px; background-color: var(--color-border); z-index: -1; }
.process-steps::after { content: ''; position: absolute; top: 32px; left: 5%; width: 90%; height: 2px; background: linear-gradient(90deg, var(--color-primary-start), var(--color-primary-end)); z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.process-steps.is-visible::after { transform: scaleX(1); }
.process-step { padding-top: 64px; position: relative; flex: 1 1 250px; max-width: 280px; opacity: 0; animation: fadeInUp 0.6s ease-out forwards; }
.process-step:nth-child(2) { animation-delay: 0.2s; } .process-step:nth-child(3) { animation-delay: 0.4s; } .process-step:nth-child(4) { animation-delay: 0.6s; }
.process-step__number { position: absolute; top: 0; left: 0; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; font-weight: 600; color: var(--color-primary-end); background-color: #0D0D12; border: 2px solid var(--color-border); border-radius: 50%; transition: border-color 0.3s, transform 0.3s; }
.process-steps.is-visible .process-step__number { border-color: var(--color-primary-end); transform: scale(1.05); }
.process-step__title { font-size: 1.25rem; margin-bottom: 12px; } .process-step__text { font-size: 1rem; color: var(--color-text-muted); line-height: 1.6; }

/* --- НОВЫЙ БЛОК: ЭКСПЕРТИЗА И ТЕХНОЛОГИИ --- */
.expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.expertise-block {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}
.expertise-block:nth-child(2) {
    animation-delay: 0.2s;
}
.expertise-block__title {
    font-size: 1.5rem;
    color: var(--color-text-main);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}
.expertise-list {
    list-style: none;
    padding-left: 0;
}
.expertise-list li {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
}
.expertise-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-primary-end);
    font-weight: bold;
}
.expertise-list strong {
    color: var(--color-text-main);
    font-weight: 600;
}
.tech-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.tech-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 20px;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    transition: all 0.2s ease;
}
.tech-logo:hover {
    border-color: var(--color-primary-start);
    transform: translateY(-3px);
}
.tech-logo img {
    max-height: 24px;
    filter: grayscale(1) brightness(1.5); /* Делаем логотипы монохромными и светлыми */
    opacity: 0.7;
    transition: all 0.2s ease;
}
.tech-logo:hover img {
    filter: none;
    opacity: 1;
}
/* ======================================================= */
/* === СТИЛИ ДЛЯ ДИНАМИЧЕСКОГО СТЕКА ТЕХНОЛОГИЙ === */
/* ======================================================= */

.expertise-container {
    max-width: 1000px;
    margin: 0 auto;
}

.expertise-block {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    margin-bottom: 60px; /* Добавили отступ до бегущей строки */
}
/* ... стили для .expertise-block__title, .expertise-list остаются прежними ... */
.expertise-block__title { font-size: 1.5rem; color: var(--color-text-main); margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--color-border); }
.expertise-list { list-style: none; padding-left: 0; }
.expertise-list li { font-size: 1.1rem; color: var(--color-text-muted); line-height: 1.8; margin-bottom: 12px; padding-left: 28px; position: relative; }
.expertise-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--color-primary-end); font-weight: bold; }
.expertise-list strong { color: var(--color-text-main); font-weight: 600; }

/* Контейнер для бегущей строки */
.tech-marquee {
    position: relative;
    width: 100%;
    overflow: hidden; /* Обязательно скрываем все, что выходит за пределы */
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.tech-marquee__track {
    display: flex;
    width: fit-content; /* Ширина по содержимому */
    flex-shrink: 0;
    padding: 10px 0;
}

.tech-marquee__track--1 {
    animation: scroll-left 40s linear infinite;
}

.tech-marquee__track--2 {
    animation: scroll-right 40s linear infinite;
}

.tech-marquee:hover .tech-marquee__track {
    animation-play-state: paused;
}

/* Плитка с технологией */
.tech-item {
    padding: 12px 24px;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    margin: 0 10px;
    white-space: nowrap; /* Запрещаем перенос строки */
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: all 0.2s ease;
}

.tech-marquee__track:hover .tech-item {
    color: var(--color-text-main); /* Подсвечиваем все при наведении на строку */
}

/* Анимация движения */
@keyframes scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes scroll-right {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}


/* --- CTA-блок --- */
.cta-block { background-color: var(--color-surface); border: 1px solid var(--color-border); border-radius: 16px; text-align: center; padding: 60px 40px; margin: 80px 0; opacity: 0; animation: fadeInUp 0.6s ease-out forwards; }
.cta-block__title { font-size: 2.25rem; margin-bottom: 16px; }
.cta-block__text { font-size: 1.125rem; color: var(--color-text-muted); margin: 0 auto 32px; max-width: 600px; }

/* --- Адаптивность --- */
@media (max-width: 992px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .process-steps::before, .process-steps::after { display: none; }
    .about-hero__title { font-size: 2.5rem; }
}
