:root {
    --bg-main: #050509;
    --bg-dark: #05050b;
    --bg-elevated: #0b0c10;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --text-main: #f5f5f7;
    --text-muted: #8a8f9a;
    --accent-cyan: #35e4ff;
    --accent-violet: #a855ff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg-main);
    color: var(--text-main);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

main {
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* INTRO */

.about-brief {
    padding: 120px 0 80px;
    background:
        radial-gradient(circle at 0% 0%, rgba(168, 85, 255, 0.12), transparent 55%),
        radial-gradient(circle at 90% 10%, rgba(53, 228, 255, 0.08), transparent 55%),
        var(--bg-main);
}

.split-header {
    display: grid;
    grid-template-columns: minmax(0, 2.4fr) minmax(0, 3.1fr);
    gap: 56px;
    align-items: center;
}

.kicker {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.brief-title {
    font-size: 3.2rem;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--text-main);
}

.text-gradient {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.brief-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 32px;
}

.brief-badges span {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Фото CEO / партнеров */

.brief-photo {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.photo-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    padding: 2px;
    border: 1px solid transparent;
    background:
        linear-gradient(#050509, #050509) padding-box,
        linear-gradient(135deg, #00eaff, #b400ff, #00eaff) border-box;
    background-size: 200% 200%;
    box-shadow:
        0 0 24px rgba(0, 234, 255, 0.7),
        0 0 40px rgba(180, 0, 255, 0.55);
    animation: neon-frame 16s linear infinite;
    transition: box-shadow 0.8s ease;
}

.photo-frame img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 16px;
    object-fit: cover;
    transition: transform 1s ease;
}

.brief-photo:hover .photo-frame {
    animation: neon-frame 10s linear infinite, photo-frame-pulse 3.6s ease-in-out infinite;
}

.brief-photo:hover .photo-frame img {
    animation: photo-zoom-pulse 3.6s ease-in-out infinite;
}

@keyframes neon-frame {
    0% {
        background-position: 0% 50%;
        box-shadow:
            0 0 24px rgba(0, 234, 255, 0.8),
            0 0 40px rgba(180, 0, 255, 0.55);
    }
    50% {
        background-position: 100% 50%;
        box-shadow:
            0 0 26px rgba(0, 234, 255, 0.45),
            0 0 56px rgba(180, 0, 255, 0.95);
    }
    100% {
        background-position: 0% 50%;
        box-shadow:
            0 0 24px rgba(0, 234, 255, 0.8),
            0 0 40px rgba(180, 0, 255, 0.55);
    }
}

@keyframes photo-frame-pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.04);
    }
}

@keyframes photo-zoom-pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
}

.photo-caption {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* NUMBERS */

.numbers-section {
    padding: 0 0 80px;
    background: var(--bg-main);
}

.brief-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.stat-box {
    background: var(--bg-elevated);
    padding: 28px;
    border-radius: 14px;
    border: 1px solid var(--border-subtle);
}

.s-val {
    display: block;
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 6px;
}

.s-lbl {
    color: var(--text-muted);
    text-transform: none;
    font-size: 0.9rem;
}

/* 3D NUMBERS TILES */

.about-stats-3d {
    padding: 40px 0 60px;
}

.stats-grid-3d {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card-3d {
    position: relative;
    height: 220px;
    border-radius: 24px;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.4s;
    cursor: default;
}

.stat-icon-3d {
    position: absolute;
    top: 32%; /* Поднимаем иконку выше центровки */
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    margin-bottom: 1.5rem; /* Визуально больше расстояние до текста */

    /* Убираем рамки и фон вокруг иконки */
    border: none;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;

    /* Центрирование SVG */
    display: flex;
    align-items: center;
    justify-content: center;

    /* Плавная анимация при hover */
    transition: transform 0.3s ease, color 0.3s ease;
}

.stat-icon-3d svg {
    width: 48px; /* Крупнее иконка без рамки */
    height: 48px;
    stroke-width: 1.5;
    transition: transform 0.3s ease;
}

.stat-card-3d:hover .stat-icon-3d {
    transform: translate(-50%, -56%) scale(1.06); /* Лёгкое подпрыгивание */
}

.stat-card-3d:hover .stat-icon-3d svg {
    transform: scale(1.1);
}

.card-purple .stat-icon-3d {
    color: #A78BFA;
}

.card-blue .stat-icon-3d {
    color: #60A5FA;
}

.card-cyan .stat-icon-3d {
    color: #34D399;
}

.card-pink .stat-icon-3d {
    color: #F472B6;
}

.stat-content {
    position: absolute;
    bottom: 25px;
    left: 25px;
    z-index: 2;
}

.about-stats-3d .s-val {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.about-stats-3d .s-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    font-weight: 600;
}

/* Background pseudo-3D effects */

.card-purple .stat-bg-sphere {
    position: absolute;
    top: -20%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at 30% 30%, #d48eff, #9d00ff, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.6;
    transition: 0.5s;
}

.card-purple:hover .stat-bg-sphere {
    transform: scale(1.2);
    opacity: 1;
    filter: blur(15px) brightness(1.8);
}

.card-blue .stat-bg-cube {
    position: absolute;
    top: 10%;
    right: 10%;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #0055ff, transparent);
    transform: rotate(45deg);
    filter: blur(30px);
    opacity: 0.5;
    transition: 0.5s;
}

.card-blue:hover .stat-bg-cube {
    transform: rotate(90deg) scale(1.2);
    opacity: 1;
    filter: blur(20px) brightness(1.8);
}

.card-cyan .stat-bg-ring {
    position: absolute;
    top: 20%;
    left: 50%;
    width: 180px;
    height: 180px;
    border: 20px solid #39ff14; /* неоново-зелёный */
    border-radius: 50%;
    filter: blur(25px);
    opacity: 0.4;
    transform: translateX(-50%);
    transition: 0.5s;
}

.card-cyan:hover .stat-bg-ring {
    border-color: #39ff14;
    box-shadow: 0 0 45px #39ff14;
    filter: blur(15px) brightness(1.6);
    transform: translateX(-50%) scale(1.05);
}

.card-pink .stat-bg-wave {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, #ff0080, transparent 60%);
    opacity: 0.4;
    transition: 0.5s;
}

.card-pink:hover .stat-bg-wave {
    opacity: 1;
    filter: brightness(1.7);
}

/* ============================================
   СЕКЦИЯ ПРЕИМУЩЕСТВ (ИНТЕРАКТИВНАЯ ИНФОГРАФИКА)
   ============================================ */

.advantages-section {
  padding: 6rem 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Фоновое свечение */
.advantages-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(
    circle, 
    rgba(157, 0, 255, 0.12) 0%, 
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.advantages-section .shell {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* ============================================
   ЗАГОЛОВОК
   ============================================ */

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

/* ============================================
   КОНТЕЙНЕР ИНФОГРАФИКИ
   ============================================ */

.advantages-infographic {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  /* ВАЖНО: фиксированная высота для центрирования */
  height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   ЦЕНТРАЛЬНЫЙ КРУГ
   ============================================ */

.central-circle {
  position: absolute;
  /* ЦЕНТРИРУЕМ ЧЕРЕЗ АБСОЛЮТ */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  /* Размер */
  width: 180px;
  height: 180px;
  border-radius: 50%;
  
  /* Фон */
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  
  /* Градиентная рамка */
  border: 2px solid transparent;
  background-clip: padding-box;
  
  /* Тень */
  box-shadow: 
    0 0 60px rgba(157, 0, 255, 0.4),
    0 20px 50px rgba(0, 0, 0, 0.8);
  
  /* Центрирование контента внутри */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  
  /* Вращение */
  animation: rotate-slow 60s linear infinite;
  
  /* z-index чтобы был поверх лучей */
  z-index: 10;
}

/* Градиентная рамка через псевдоэлемент */
.central-circle::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-cyan));
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

@keyframes rotate-slow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Логотип/текст внутри круга */
.central-circle-logo {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.central-circle-subtitle {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ============================================
   КАРТОЧКИ ПРЕИМУЩЕСТВ (ПОЗИЦИОНИРОВАНИЕ)
   ============================================ */

.advantage-card {
  position: absolute;
  /* ФИКСИРОВАННАЯ ШИРИНА для всех карточек */
  width: 280px;
  
  padding: 2rem 1.75rem;
  border-radius: 20px;
  
  /* Фон */
  background: rgba(255, 255, 255, 0.02);
  
  /* Рамка */
  border: 1px solid rgba(255, 255, 255, 0.06);
  
  /* Тень */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  
  /* Анимация */
  transition: all 0.3s ease;
  
  /* z-index ниже центра */
  z-index: 5;
}

/* ПОЗИЦИИ КАРТОЧЕК (крестообразно) */

/* Верх (Север) */
.advantage-card--top {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Право (Восток) */
.advantage-card--right {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

/* Низ (Юг) */
.advantage-card--bottom {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Лево (Запад) */
.advantage-card--left {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

/* Hover-эффект */
.advantage-card:hover {
  border-color: rgba(157, 0, 255, 0.3);
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(157, 0, 255, 0.3);
  z-index: 15;
}

/* Верх/низ: сохраняем центрирование по X */
.advantage-card--top:hover {
  transform: translateX(-50%) translateY(-8px) scale(1.03);
}

.advantage-card--bottom:hover {
  transform: translateX(-50%) translateY(-8px) scale(1.03);
}

/* Компенсация трансформации при hover для боковых карточек */
.advantage-card--right:hover {
  transform: translateY(-50%) translateX(-8px) scale(1.03);
}

.advantage-card--left:hover {
  transform: translateY(-50%) translateX(8px) scale(1.03);
}

/* ============================================
   ИКОНКА В КАРТОЧКЕ
   ============================================ */

.advantage-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 16px;
  
  /* Glassmorphism */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  
  /* Центрирование SVG */
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* Тень */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  
  /* Анимация */
  transition: all 0.3s ease;
}

/* Цвета иконок (чередование) */
.advantage-icon--violet {
  color: var(--accent-violet);
  border-color: rgba(157, 0, 255, 0.3);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(157, 0, 255, 0.3);
}

.advantage-icon--cyan {
  color: var(--accent-cyan);
  border-color: rgba(0, 210, 255, 0.3);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(0, 210, 255, 0.3);
}

/* Hover на карточку → иконка вращается */
.advantage-card:hover .advantage-icon {
  transform: scale(1.15) rotate(5deg);
  background: rgba(255, 255, 255, 0.08);
}

.advantage-card:hover .advantage-icon--violet {
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(157, 0, 255, 0.6);
}

.advantage-card:hover .advantage-icon--cyan {
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(0, 210, 255, 0.6);
}

/* SVG внутри иконки */
.advantage-icon svg {
  width: 32px;
  height: 32px;
}

/* ============================================
   ТЕКСТ В КАРТОЧКЕ
   ============================================ */

.advantage-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 0.75rem;
  text-align: center;
  line-height: 1.3;
}

.advantage-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
}

/* ============================================
   ЛУЧИ (connecting lines)
   ============================================ */

.connection-line {
  position: absolute;
  /* z-index ниже карточек */
  z-index: 1;
  pointer-events: none;
}

/* Луч вверх */
.connection-line--top {
  top: 50%;
  left: 50%;
  width: 2px;
  height: calc(50% - 90px); /* 90px = половина круга */
  transform: translate(-50%, -100%);
  background: linear-gradient(to top, rgba(157, 0, 255, 0.4), transparent);
}

/* Луч вправо */
.connection-line--right {
  top: 50%;
  left: 50%;
  width: calc(50% - 90px);
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(to right, rgba(0, 210, 255, 0.4), transparent);
}

/* Луч вниз */
.connection-line--bottom {
  top: 50%;
  left: 50%;
  width: 2px;
  height: calc(50% - 90px);
  transform: translateX(-50%);
  background: linear-gradient(to bottom, rgba(157, 0, 255, 0.4), transparent);
}

/* Луч влево */
.connection-line--left {
  top: 50%;
  left: 50%;
  width: calc(50% - 90px);
  height: 2px;
  transform: translate(-100%, -50%);
  background: linear-gradient(to left, rgba(0, 210, 255, 0.4), transparent);
}

/* ============================================
   АДАПТИВ
   ============================================ */

@media (max-width: 1024px) {
  .advantages-infographic {
    height: auto;
    flex-direction: column;
    gap: 3rem;
    padding: 3rem 0;
  }

  .central-circle {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin-bottom: 3rem;
  }

  .advantage-card {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .advantage-card:hover {
    transform: translateY(-8px) scale(1.03) !important;
  }

  .connection-line {
    display: none;
  }
}

@media (max-width: 768px) {
  .advantages-section {
    padding: 4rem 0;
    min-height: auto;
  }

  .central-circle {
    width: 140px;
    height: 140px;
  }

  .central-circle-logo {
    font-size: 1.4rem;
  }

  .advantage-card {
    padding: 1.75rem 1.5rem;
  }

  .advantage-icon {
    width: 52px;
    height: 52px;
  }

  .advantage-icon svg {
    width: 28px;
    height: 28px;
  }

  .advantage-title {
    font-size: 1.1rem;
  }

  .advantage-description {
    font-size: 0.85rem;
  }
}

/* ============================================
   СЕКЦИЯ ПРЕИМУЩЕСТВ — НОВАЯ ВЕРСИЯ (ЯДРО + ЛУЧИ)
   ============================================ */

.advantages-section {
  padding: 3.5rem 0 6rem;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Фоновое свечение */
.advantages-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1200px;
  height: 1200px;
  background: radial-gradient(
    circle,
    rgba(157, 0, 255, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
  animation: glow-pulse 8s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ============================================
   КОНТЕЙНЕР ИНФОГРАФИКИ
   ============================================ */

.advantages-infographic {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   ЦЕНТРАЛЬНЫЙ БЛИК/ЯДРО
   ============================================ */

.central-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 0;
  background: transparent;
  border: none;
  backdrop-filter: none;
  box-shadow: none;
}

/* Внутреннее свечение (блик) */
.core-glow {
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(157, 0, 255, 0.6) 0%,
    rgba(0, 210, 255, 0.3) 40%,
    transparent 70%
  );
  filter: blur(30px);
  animation: core-pulse 4s ease-in-out infinite;
  z-index: -1;
}

@keyframes core-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* Пульсирующие кольца вокруг ядра */
.core-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid;
  border-color: rgba(157, 0, 255, 0.4) transparent transparent transparent;
  animation: ring-spin 3s linear infinite;
}

.core-ring--1 {
  width: 200px;
  height: 200px;
  animation-duration: 3s;
}

.core-ring--2 {
  width: 240px;
  height: 240px;
  animation-duration: 4s;
  animation-direction: reverse;
  border-color: rgba(0, 210, 255, 0.3) transparent transparent transparent;
}

.core-ring--3 {
  width: 280px;
  height: 280px;
  animation-duration: 5s;
  border-color: rgba(167, 139, 250, 0.2) transparent transparent transparent;
}

@keyframes ring-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Лого в центре */
.core-logo {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(157, 0, 255, 0.15);
  border: 1px solid rgba(157, 0, 255, 0.4);
  animation: logo-float 3s ease-in-out infinite;
}

.core-logo svg {
  color: #A78BFA;
  filter: drop-shadow(0 0 10px rgba(167, 139, 250, 0.8));
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* ============================================
   ЛУЧИ И ЧАСТИЦЫ (SVG)
   ============================================ */

.connection-rays {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Анимация появления лучей по очереди */
.ray {
  stroke-dasharray: 350;
  stroke-dashoffset: 350;
  animation: ray-draw 2s ease-in-out forwards;
  opacity: 0.7;
}

.ray-1 { animation-delay: 0s; }
.ray-2 { animation-delay: 0.5s; }
.ray-3 { animation-delay: 1s; }
.ray-4 { animation-delay: 1.5s; }

@keyframes ray-draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* Частицы с эффектом свечения */
.particle {
  filter: drop-shadow(0 0 8px currentColor);
  opacity: 0;
  animation: particle-fade 3s ease-in-out infinite;
}

.particle-1 { animation-delay: 0s; }
.particle-2 { animation-delay: 0.75s; }
.particle-3 { animation-delay: 1.5s; }
.particle-4 { animation-delay: 2.25s; }

@keyframes particle-fade {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

/* ============================================
   ПРЯМЫЕ ЛУЧИ С АНИМАЦИЕЙ
   ============================================ */

.ray-beam {
  position: absolute;
  pointer-events: none;
  z-index: 5;
}

.ray-line {
  position: absolute;
  background: linear-gradient(to right, rgba(157, 0, 255, 0.8), transparent);
  box-shadow: 0 0 20px rgba(157, 0, 255, 0.8);
  transform-origin: left center;
  animation: ray-expand 1.5s ease-out forwards;
  opacity: 0;
}

.ray-beam--top {
  bottom: 50%;
  left: 50%;
  width: 2px;
  height: calc(50% - 70px);
  transform-origin: bottom center;
}

.ray-beam--top .ray-line {
  width: 2px;
  height: 100%;
  background: linear-gradient(to top, rgba(157, 0, 255, 0.8), transparent);
  animation-delay: 0s;
  left: -1px;
  bottom: 0;
}

.ray-beam--right {
  top: 50%;
  left: 50%;
  width: calc(50% - 70px);
  height: 2px;
  transform-origin: left center;
}

.ray-beam--right .ray-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, rgba(0, 210, 255, 0.8), transparent);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.8);
  animation-delay: 0.4s;
  left: 0;
  top: -1px;
}

.ray-beam--bottom {
  top: 50%;
  left: 50%;
  width: 2px;
  height: calc(50% - 70px);
  transform-origin: top center;
}

.ray-beam--bottom .ray-line {
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, rgba(157, 0, 255, 0.8), transparent);
  animation-delay: 0.8s;
  left: -1px;
  top: 0;
}

.ray-beam--left {
  top: 50%;
  left: 50%;
  width: calc(50% - 70px);
  height: 2px;
  transform-origin: right center;
  transform: translateX(-100%);
}

.ray-beam--left .ray-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(to left, rgba(0, 210, 255, 0.8), transparent);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.8);
  animation-delay: 1.2s;
  right: 0;
  top: -1px;
}

@keyframes ray-expand {
  0% { transform: scaleX(0) scaleY(0); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: scaleX(1) scaleY(1); opacity: 0.8; }
}

/* Частицы на лучах */

.ray-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #A78BFA;
  box-shadow: 0 0 12px rgba(167, 139, 250, 1), 0 0 24px rgba(167, 139, 250, 0.8);
  opacity: 0;
}

.ray-beam--top .ray-particle,
.ray-beam--bottom .ray-particle {
  left: 50%;
  transform: translateX(-50%);
}

.ray-beam--right .ray-particle,
.ray-beam--left .ray-particle {
  top: 50%;
  transform: translateY(-50%);
}

.ray-beam--top .ray-particle {
  animation: particle-move-vertical 2s ease-in-out infinite;
}

.ray-beam--top .ray-particle-1 { animation-delay: 0.5s; }
.ray-beam--top .ray-particle-2 { animation-delay: 1s; }
.ray-beam--top .ray-particle-3 { animation-delay: 1.5s; }

.ray-beam--right .ray-particle {
  animation: particle-move-horizontal 2s ease-in-out infinite;
  background: #60A5FA;
  box-shadow: 0 0 12px rgba(96, 165, 250, 1), 0 0 24px rgba(96, 165, 250, 0.8);
}

.ray-beam--right .ray-particle-1 { animation-delay: 0.9s; }
.ray-beam--right .ray-particle-2 { animation-delay: 1.4s; }
.ray-beam--right .ray-particle-3 { animation-delay: 1.9s; }

.ray-beam--bottom .ray-particle {
  animation: particle-move-vertical 2s ease-in-out infinite;
}

.ray-beam--bottom .ray-particle-1 { animation-delay: 1.3s; }
.ray-beam--bottom .ray-particle-2 { animation-delay: 1.8s; }
.ray-beam--bottom .ray-particle-3 { animation-delay: 2.3s; }

.ray-beam--left .ray-particle {
  animation: particle-move-horizontal-reverse 2s ease-in-out infinite;
  background: #60A5FA;
  box-shadow: 0 0 12px rgba(96, 165, 250, 1), 0 0 24px rgba(96, 165, 250, 0.8);
}

.ray-beam--left .ray-particle-1 { animation-delay: 1.7s; }
.ray-beam--left .ray-particle-2 { animation-delay: 2.2s; }
.ray-beam--left .ray-particle-3 { animation-delay: 2.7s; }

@keyframes particle-move-vertical {
  0% { bottom: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { bottom: 100%; opacity: 0; }
}

@keyframes particle-move-horizontal {
  0% { left: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@keyframes particle-move-horizontal-reverse {
  0% { right: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { right: 100%; opacity: 0; }
}

/* ============================================
   КАРТОЧКИ ПРЕИМУЩЕСТВ
   ============================================ */

.advantage-card {
  position: absolute;
  width: 280px;
  margin-top: -100px;
  margin-left: -140px;
  padding: 2rem 1.75rem;
  border-radius: 20px;

  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);

  transform: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 8;

  opacity: 1;
  animation: none;
}

/* Позиционирование карточек полукругом (арка сверху) */
.advantage-card[data-index="4"] {
  top: 70%;
  left: 30%;
  right: auto;
  bottom: auto;
  animation: none;
  opacity: 1;
}

.advantage-card[data-index="3"] {
  top: 30%;
  left: 30%;
  right: auto;
  bottom: auto;
  animation: none;
  opacity: 1;
}

.advantage-card[data-index="1"] {
  top: 30%;
  left: 70%;
  right: auto;
  bottom: auto;
  animation: none;
  opacity: 1;
}

.advantage-card[data-index="2"] {
  top: 70%;
  left: 70%;
  right: auto;
  bottom: auto;
  animation: none;
  opacity: 1;
}

.advantage-card--top {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0.3s;
}

.advantage-card--right {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  animation-delay: 0.8s;
}

.advantage-card--bottom {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 1.3s;
}

.advantage-card--left {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  animation-delay: 1.8s;
}

@keyframes card-appear {
  from {
    opacity: 0;
    transform: translateX(-50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}

/* Компенсация для боковых карточек */
.advantage-card--right { animation-name: card-appear-right; }
.advantage-card--left { animation-name: card-appear-left; }

@keyframes card-appear-right {
  from {
    opacity: 0;
    transform: translateY(-50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

@keyframes card-appear-left {
  from {
    opacity: 0;
    transform: translateY(-50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

/* Hover на карточку */
.advantage-card:hover {
  transform: translateY(-12px) scale(1.05);
  border-color: rgba(157, 0, 255, 0.4);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.9),
    0 0 50px rgba(157, 0, 255, 0.4);
  z-index: 20;
}

.advantage-card--right:hover {
  transform: translateY(-50%) translateX(-12px) scale(1.05);
}

.advantage-card--left:hover {
  transform: translateY(-50%) translateX(12px) scale(1.05);
}

/* ============================================
   ИКОНКИ В КАРТОЧКАХ
   ============================================ */

.advantage-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 16px;

  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.3s ease;
}

.advantage-icon--violet {
  border-color: rgba(157, 0, 255, 0.3);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(157, 0, 255, 0.3);
}

.advantage-icon--violet svg {
  color: #A78BFA;
  filter: drop-shadow(0 0 10px rgba(167, 139, 250, 0.6));
}

.advantage-icon--cyan {
  border-color: rgba(0, 210, 255, 0.3);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(0, 210, 255, 0.3);
}

.advantage-icon--cyan svg {
  color: #60A5FA;
  filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.6));
}

/* Hover на карточку → иконка анимируется */
.advantage-card:hover .advantage-icon {
  transform: scale(1.15) rotate(5deg);
  background: rgba(255, 255, 255, 0.08);
}

.advantage-card:hover .advantage-icon--violet {
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(157, 0, 255, 0.8);
}

.advantage-card:hover .advantage-icon--cyan {
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(0, 210, 255, 0.8);
}

/* ============================================
   ТЕКСТ
   ============================================ */

.advantage-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem;
  text-align: center;
  line-height: 1.3;
}

.advantage-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  margin: 0;
}

/* ============================================
   АДАПТИВ
   ============================================ */

@media (max-width: 1024px) {
  .advantages-infographic {
    height: auto;
    flex-direction: column;
    gap: 3rem;
    padding: 3rem 1rem;
  }

  .central-core {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin-bottom: 3rem;
  }

  .advantage-card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .advantage-card:hover {
    transform: translateY(-8px) scale(1.03) !important;
  }

  .connection-rays {
    display: none;
  }

  .core-ring {
    display: none;
  }
}

@media (max-width: 768px) {
  .advantages-section {
    padding: 4rem 0;
    min-height: auto;
  }

  .central-core {
    width: 140px;
    height: 140px;
  }

  .advantage-card {
    padding: 1.75rem 1.5rem;
  }

  .advantage-icon {
    width: 52px;
    height: 52px;
  }

  .advantage-icon svg {
    width: 28px;
    height: 28px;
  }

  .advantage-title {
    font-size: 1.1rem;
  }

  .advantage-description {
    font-size: 0.85rem;
  }
}

/* TECH STACK / КОМПЕТЕНЦИИ */
  
  .tech-stack-section {
      padding: 80px 0;
    background: linear-gradient(to bottom, var(--bg-main), #04040a);
    border-top: 1px solid var(--border-subtle);
}

.section-h2,
.section-title {
    font-size: 2rem;
    color: var(--text-main);
}

.stack-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stack-card {
    border-top: 2px solid var(--accent-violet);
    padding-top: 20px;
}

.stack-card h3 {
    color: var(--text-main);
    margin-bottom: 10px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stack-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.benefits-section {
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 колонки */
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: rgba(255,255,255,0.03); /* Темный прозрачный фон */
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 40px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.benefit-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

/* ИКОНКИ С ЦВЕТНЫМ ФОНОМ */
.b-icon {
    width: 50px; height: 50px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 25px;
    color: white;
}

/* Цвета иконок */
.icon-purple { background: linear-gradient(135deg, #9d00ff, #7000ff); box-shadow: 0 5px 15px rgba(157,0,255,0.3); }
.icon-blue { background: linear-gradient(135deg, #0055ff, #0022ff); box-shadow: 0 5px 15px rgba(0,85,255,0.3); }
.icon-cyan { background: linear-gradient(135deg, #00d2ff, #00aaff); box-shadow: 0 5px 15px rgba(0,210,255,0.3); }
.icon-pink { background: linear-gradient(135deg, #ff0080, #cc0066); box-shadow: 0 5px 15px rgba(255,0,128,0.3); }

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: white;
}

.benefit-card p {
    color: #aaa;
    font-size: 1rem;
    line-height: 1.6;
}

/* АДАПТИВ */
@media (max-width: 768px) {
    .benefits-grid { grid-template-columns: 1fr; } /* Одна колонка на мобилке */
}

/* ============================================
   СЕКЦИЯ ФОРМАТА РАБОТЫ (КОМПАКТНАЯ)
   ============================================ */

.workflow-section {
  padding: 5rem 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.workflow-section::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle, 
    rgba(0, 210, 255, 0.08) 0%, 
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.workflow-section .shell {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.workflow-section .section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.workflow-section .section-header h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--text-main);
  margin-bottom: 1rem;
}

.workflow-section .section-header .intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.workflow-steps-compact {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step-compact {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  position: relative;
}

.step-icon-wrapper {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.step-icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.step-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.step-icon--violet {
  color: var(--accent-violet);
  border-color: rgba(157, 0, 255, 0.3);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(157, 0, 255, 0.3);
}

.step-icon--cyan {
  color: var(--accent-cyan);
  border-color: rgba(0, 210, 255, 0.3);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(0, 210, 255, 0.3);
}

.step-compact:hover .step-icon,
.step-compact.is-auto .step-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(255, 255, 255, 0.06);
}

.step-compact:hover .step-icon--violet,
.step-compact.is-auto .step-icon--violet {
  border-color: var(--accent-violet);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(157, 0, 255, 0.6);
}

.step-compact:hover .step-icon--cyan,
.step-compact.is-auto .step-icon--cyan {
  border-color: var(--accent-cyan);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(0, 210, 255, 0.6);
}

.step-number {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.step-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.step-text p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

.step-compact.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.step-compact.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.step-compact.reveal:nth-child(1) { transition-delay: 0.1s; }
.step-compact.reveal:nth-child(2) { transition-delay: 0.2s; }
.step-compact.reveal:nth-child(3) { transition-delay: 0.3s; }
.step-compact.reveal:nth-child(4) { transition-delay: 0.4s; }

@media (max-width: 768px) {
  .workflow-section {
    padding: 4rem 0;
  }

  .workflow-section .section-header {
    margin-bottom: 2.5rem;
  }

  .workflow-steps-compact {
    gap: 1.5rem;
    padding-left: 1.5rem;
  }

  .step-compact {
    flex-direction: column;
    gap: 1rem;
  }

  .step-icon-wrapper {
    flex-direction: row;
    gap: 1rem;
  }

  .step-icon {
    width: 64px;
    height: 64px;
  }

  .step-icon svg {
    width: 24px;
    height: 24px;
  }

  .step-text h3 {
    font-size: 1.25rem;
  }

  .step-text p {
    font-size: 0.9rem;
  }
}

/* LEGAL / TRUST */

.legal-info {
    padding: 60px 0 80px;
    background: #04040a;
    border-top: 1px solid var(--border-subtle);
	padding: 60px 0 80px;
	background: #04040a;
	border-top: 1px solid var(--border-subtle);
    padding: 60px 0 80px;
    background: #04040a;
    border-top: 1px solid var(--border-subtle);
}

.legal-box {
    padding-top: 24px;
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.legal-text h3 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.legal-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.download-link {
    color: var(--accent-cyan);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 4px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.download-link:hover {
    opacity: 0.85;
}

/* PROCESS / BENTO CARDS */

.process-section {
    padding: 100px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

/* ОБЩИЙ СТИЛЬ КАРТОЧКИ */
.process-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* ИКОНКА */
.p-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.05);
    transition: 0.4s;
}

.process-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: white;
    line-height: 1.4;
    min-height: 50px;
}

.process-card p {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ЦВЕТОВЫЕ ТЕМЫ (Градиенты при наведении) */

/* 1. Purple */
.p-purple:hover {
    background: linear-gradient(145deg, rgba(157, 0, 255, 0.1), rgba(0, 0, 0, 0));
    border-color: #9d00ff;
    transform: translateY(-10px);
}

.p-purple .p-icon {
    color: #9d00ff;
}

.p-purple:hover .p-icon {
    background: #9d00ff;
    color: white;
    box-shadow: 0 0 20px rgba(157, 0, 255, 0.4);
}

/* 2. Blue */
.p-blue:hover {
    background: linear-gradient(145deg, rgba(0, 85, 255, 0.1), rgba(0, 0, 0, 0));
    border-color: #0055ff;
    transform: translateY(-10px);
}

.p-blue .p-icon {
    color: #0055ff;
}

.p-blue:hover .p-icon {
    background: #0055ff;
    color: white;
    box-shadow: 0 0 20px rgba(0, 85, 255, 0.4);
}

/* 3. Pink */
.p-pink:hover {
    background: linear-gradient(145deg, rgba(255, 0, 128, 0.1), rgba(0, 0, 0, 0));
    border-color: #ff0080;
    transform: translateY(-10px);
}

.p-pink .p-icon {
    color: #ff0080;
}

.p-pink:hover .p-icon {
    background: #ff0080;
    color: white;
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.4);
}

/* 4. Cyan */
.p-cyan:hover {
    background: linear-gradient(145deg, rgba(0, 210, 255, 0.1), rgba(0, 0, 0, 0));
    border-color: #00d2ff;
    transform: translateY(-10px);
}

.p-cyan .p-icon {
    color: #00d2ff;
}

.p-cyan:hover .p-icon {
    background: #00d2ff;
    color: white;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
}

/* МОБИЛКА ДЛЯ PROCESS */
@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}

/* ADAPTIVE */

@media (max-width: 1024px) {
    .split-header {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stack-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .steps-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .brief-title {
        font-size: 2.4rem;
    }

    .brief-stats {
        grid-template-columns: 1fr;
    }

    .stack-grid,
    .steps-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .legal-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================
    СЕКЦИЯ КОМПЕТЕНЦИЙ
    ============================================ */

.competencies-section {
    padding: 6rem 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.competencies-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(
        circle,
        rgba(157, 0, 255, 0.12) 0%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}

.competencies-section .shell {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: var(--text-main);
    margin-bottom: 0;
}

.competencies-slider {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.competencies-grid {
	display: flex;
	flex: 1;
	gap: 2rem;
	overflow-x: auto;
	overflow-y: visible;
	padding-bottom: 0.5rem;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
}

.competencies-grid::-webkit-scrollbar {
	height: 6px;
}

.competencies-grid::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.02);
}

.competencies-grid::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.18);
	border-radius: 999px;
}

.competencies-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border-radius: 50%;
	cursor: pointer;
	flex-shrink: 0;
}

.competencies-arrow svg {
	pointer-events: none;
	transition: transform 0.3s ease;
}

.competencies-arrow:hover,
.competencies-arrow:focus-visible {
	transform: none;
}

.competencies-arrow--prev:hover svg,
.competencies-arrow--prev:focus-visible svg {
	transform: translateX(-4px);
}

.competencies-arrow--next:hover svg,
.competencies-arrow--next:focus-visible svg {
	transform: translateX(4px);
}

.competencies-arrow--prev {
	margin-right: 0.25rem;
}

.competencies-arrow--next {
	margin-left: 0.25rem;
}

.comp-card {
    position: relative;
    padding: 2rem 1.75rem 2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
    overflow: hidden;
    min-width: 260px;
    flex: 0 0 280px;
    scroll-snap-align: start;
}

.comp-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(157, 0, 255, 0.3);
}

.comp-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.comp-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        currentColor 50%,
        transparent 100%
    );
    animation: line-shimmer 3s ease-in-out infinite;
}

.comp-line--violet {
    color: var(--accent-violet);
    background: rgba(157, 0, 255, 0.3);
}

.comp-line--cyan {
    color: var(--accent-cyan);
    background: rgba(0, 210, 255, 0.3);
}

.comp-card:hover .comp-line--violet {
    background: rgba(157, 0, 255, 0.6);
}

.comp-card:hover .comp-line--cyan {
    background: rgba(0, 210, 255, 0.6);
}

@keyframes line-shimmer {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.comp-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-violet);
    transition: all 0.3s ease;
}

.comp-card:nth-child(odd) .comp-icon {
    color: var(--accent-violet);
}

.comp-card:nth-child(even) .comp-icon {
    color: var(--accent-cyan);
}

.comp-card:hover .comp-icon {
    transform: translateY(-4px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(157, 0, 255, 0.4);
}

.comp-icon svg {
    width: 32px;
    height: 32px;
}

.comp-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 1rem;
    line-height: 1.2;
}

.comp-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 768px) {
    .competencies-section {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .competencies-grid {
        gap: 1.5rem;
    }

	.comp-card {
		padding: 1.75rem 1.5rem;
		flex: 0 0 85%;
		min-width: 0;
	}

	.competencies-slider {
		gap: 0.75rem;
	}

	.competencies-arrow {
		width: 32px;
		height: 32px;
	}

	.comp-icon {
		width: 56px;
		height: 56px;
		margin-bottom: 1.25rem;
	}

	.comp-icon svg {
		width: 28px;
		height: 28px;
	}

	.comp-card h3 {
		font-size: 1.25rem;
	}

	.comp-card p {
		font-size: 0.9rem;
	}
}

/* ============================================
   BENTO SECTION (Почему выбирают нас)
   ============================================ */

.bento-section {
	padding: 6rem 0;
	background: var(--bg-dark);
	color: #fff;
}

.bento-title {
	font-size: clamp(2.2rem, 4vw, 3rem);
	font-weight: 800;
	margin-bottom: 0.5rem;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	flex-wrap: nowrap;
	white-space: nowrap;
}

.bento-title__text {
	white-space: nowrap;
}

.bento-title__logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: -0.5em;
	transform: translate(-0.2rem, 0.08rem);
}

.bento-title__logo img {
	height: 1.1em;
	width: auto;
}

.bento-subtitle {
	color: rgba(255, 255, 255, 0.6);
	font-size: 1.05rem;
	max-width: 560px;
	margin: 0.5rem auto 0;
}

.bento-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: minmax(280px, auto);
	gap: 1.5rem;
	max-width: 1200px;
	margin: 0 auto;
}

.area-1 {
	grid-column: span 2;
	background-image:
		radial-gradient(circle at 90% 90%, rgba(96, 165, 250, 0.1) 0%, transparent 40%),
		radial-gradient(circle at 10% 10%, rgba(167, 139, 250, 0.05) 0%, transparent 40%);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.area-2 {
	grid-column: span 1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
	background-size: 40px 40px;
}

.area-3 {
	grid-column: span 1;
	background: linear-gradient(135deg, #0E0E12 0%, #15151A 100%);
}

.area-3::after {
	content: '';
	position: absolute;
	bottom: -50px;
	right: -50px;
	width: 200px;
	height: 200px;
	background: radial-gradient(circle, rgba(167, 139, 250, 0.2) 0%, transparent 70%);
	filter: blur(40px);
}

.area-4 {
	grid-column: span 2;
	background: linear-gradient(to right, #0E0E12, #131318);
}

/* ============================================
	 BENTO CARD (УЛУЧШЕННАЯ)
	 ============================================ */

.bento-card {
	/* База: темный фон + плавные переходы */
	background: #0E0E12;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 32px;
	padding: 1.5rem;
	min-height: 220px;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Градиентный "блик" сверху (Ambient light) */
.bento-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(
		800px circle at 50% -20%,
		rgba(157, 0, 255, 0.06),
		transparent 40%
	);
	transition: opacity 0.5s;
	pointer-events: none;
	z-index: 0;
}

/* Hover-эффект: Подсветка границы и фона */
.bento-card:hover {
	transform: translateY(-6px);
	border-color: rgba(157, 0, 255, 0.3);
	box-shadow:
		0 20px 40px -10px rgba(0, 0, 0, 0.5),
		0 0 0 1px rgba(157, 0, 255, 0.1);
}

.bento-card:hover::before {
	opacity: 1;
	background: radial-gradient(
		800px circle at 50% -20%,
		rgba(157, 0, 255, 0.15),
		transparent 50%
	);
}

.bento-content {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}


.bento-header-row {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 0.75rem;
}


.bento-content h3 {
	font-size: 1.6rem; /* Крупнее заголовок */
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0;
	color: #fff;
}

.bento-content p {
	font-size: 1.1rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.6);
	margin: 0.25rem 0 0;
}

.bento-icon-bg {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 0;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #A78BFA; /* Фиолетовый акцент */
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	flex-shrink: 0;
	transition: all 0.3s;
}

.bento-icon-bg svg {
	width: 20px;
	height: 20px;
}

.bento-card:hover .bento-icon-bg {
	background: #A78BFA;
	color: #fff;
	border-color: #A78BFA;
	transform: scale(1.1) rotate(-5deg);
	box-shadow: 0 0 20px rgba(167, 139, 250, 0.4);
}

.bento-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 0.75rem;
	padding-top: 0;
}

.bento-tag {
	font-size: 0.85rem;
	padding: 0.2rem 0.6rem;
	border-radius: 99px;
	background: rgba(167, 139, 250, 0.1);
	border: 1px solid rgba(167, 139, 250, 0.2);
	color: #D8B4FE;
}

.bento-stats {
	display: flex;
	gap: 1.5rem;
	margin-top: 0.25rem;
}

.stat-mini {
	display: flex;
	flex-direction: column;
}

.stat-label {
	font-size: 0.8rem;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.4);
}

.stat-num {
	font-size: 1.6rem;
	font-weight: 800;
	color: #fff;
	background: linear-gradient(90deg, #ffffff, #aaaaaa);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.bento-visual {
	position: absolute;
	right: -40px;
	bottom: -40px;
	width: 220px;
	height: 220px;
	background: radial-gradient(circle at 30% 30%, rgba(96, 165, 250, 0.7), transparent 65%);
	opacity: 0.9;
	filter: blur(4px);
	pointer-events: none;
}

.bento-visual-blur {
	position: absolute;
	bottom: -20%;
	right: -10%;
	width: 300px;
	height: 300px;
	background: conic-gradient(from 180deg at 50% 50%, #60A5FA 0deg, #A78BFA 180deg, #60A5FA 360deg);
	filter: blur(80px);
	opacity: 0.15;
	border-radius: 50%;
	animation: rotate-blob 10s linear infinite;
}

@keyframes rotate-blob {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 968px) {
	.bento-section {
		padding: 4rem 0;
	}

	.bento-grid {
		grid-template-columns: 1fr;
		grid-auto-rows: auto;
	}

	.area-1,
	.area-2,
	.area-3,
	.area-4 {
		grid-column: span 1;
	}

	.bento-card {
		min-height: 200px;
		padding: 2rem;
	}

	.bento-subtitle {
		margin-bottom: 0;
	}
}

@media (max-width: 600px) {
	.bento-title {
		font-size: 2rem;
	}

	.bento-card {
		padding: 1.75rem;
		border-radius: 24px;
	}

	.bento-stats {
		gap: 1.25rem;
	}
}

.final-cta-section {
	padding: 4rem 0 6rem;
}

.final-cta-card {
	background: #0E0E12;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 32px;
	padding: 4rem 2rem;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.final-glow {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(157, 0, 255, 0.15) 0%, transparent 70%);
	filter: blur(60px);
	pointer-events: none;
	z-index: 0;
	animation: pulse-slow 4s infinite alternate;
}

@keyframes pulse-slow {
	from {
		opacity: 0.5;
		transform: translate(-50%, -50%) scale(0.9);
	}
	to {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1.1);
	}
}

.final-content {
	position: relative;
	z-index: 1;
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.final-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #A78BFA;
}

.final-icon svg {
	width: 40px;
	height: 40px;
}

.final-icon .time-icon--xl {
	color: #ffffff;
	filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
	display: inline-flex;
}

.final-icon .time-icon--xl svg {
	width: 110px;
	height: 110px;
	max-width: 70vw;
	max-height: 70vw;
}

.final-heading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.25rem;
	margin-bottom: 1.5rem;
}

.final-title {
	font-size: 2.2rem;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
	margin-bottom: 0;
}

.highlight-text {
	color: transparent;
	background: linear-gradient(90deg, #A78BFA, #60A5FA);
	-webkit-background-clip: text;
	background-clip: text;
}

.final-subtitle {
	font-size: 1.1rem;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 3rem;
	max-width: 600px;
	line-height: 1.6;
}

.final-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	font-size: 1.1rem;
	font-weight: 700;
	padding: 0.8rem 2.4rem;
	text-decoration: none;
	transition: all 0.3s ease;
}

.final-btn:hover {
	transform: translateY(-4px);
}

.final-btn svg {
	transition: transform 0.3s ease;
}

.final-btn:hover svg {
	transform: translateX(4px);
}

@media (max-width: 768px) {
	.final-title {
		font-size: 1.8rem;
	}

	.final-cta-card {
		padding: 3rem 1.5rem;
	}
}

/* Mobile H1 fix for Company pages */
@media (max-width: 600px) {
    .brief-title {
        font-size: 2.2rem !important;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
}

@media (max-width: 420px) {
    .brief-title {
        font-size: 1.85rem !important;
    }
}

@media (max-width: 360px) {
    .brief-title {
        font-size: 1.6rem !important;
    }
}
