/* Базовый CSS для сайта Альтасалюс */

/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #0F013F;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    min-height: 100vh;
}

/* Динамичный фон с множественными анимированными элементами */
body::before {
    content: '';
    position: fixed;
    top: -30%;
    left: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, 
        rgba(191, 0, 173, 0.6) 0%, 
        rgba(191, 0, 173, 0.4) 30%,
        rgba(16, 226, 255, 0.15) 50%,
        rgba(191, 0, 173, 0) 70%);
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
    animation: floatOrbit 40s cubic-bezier(0.4, 0, 0.2, 1) infinite, pulse 12s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    /* Дополнительные градиентные круги через box-shadow - больше розового */
    box-shadow: 
        400px 300px 0 0 rgba(191, 0, 173, 0.25),
        -200px 500px 0 0 rgba(191, 0, 173, 0.2),
        600px -200px 0 0 rgba(191, 0, 173, 0.18),
        -400px -300px 0 0 rgba(16, 226, 255, 0.12);
}

body::after {
    content: '';
    position: fixed;
    bottom: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, 
        rgba(191, 0, 173, 0.55) 0%, 
        rgba(191, 0, 173, 0.35) 30%,
        rgba(16, 226, 255, 0.12) 50%,
        rgba(191, 0, 173, 0) 70%);
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
    animation: floatOrbitReverse 45s cubic-bezier(0.4, 0, 0.2, 1) infinite, pulse 14s cubic-bezier(0.4, 0, 0.2, 1) infinite reverse;
    /* Дополнительные градиентные круги через box-shadow - больше розового */
    box-shadow: 
        -300px -400px 0 0 rgba(191, 0, 173, 0.22),
        200px -500px 0 0 rgba(191, 0, 173, 0.28),
        -600px 200px 0 0 rgba(16, 226, 255, 0.1),
        400px 300px 0 0 rgba(191, 0, 173, 0.2);
}

/* Анимация орбитального движения - более плавная */
@keyframes floatOrbit {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(40px, -35px) scale(1.1) rotate(90deg);
    }
    50% {
        transform: translate(25px, -50px) scale(1.05) rotate(180deg);
    }
    75% {
        transform: translate(-15px, -25px) scale(1.02) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) scale(1) rotate(360deg);
    }
}

@keyframes floatOrbitReverse {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(-35px, 40px) scale(1.08) rotate(-90deg);
    }
    50% {
        transform: translate(-50px, 25px) scale(1.04) rotate(-180deg);
    }
    75% {
        transform: translate(-25px, -15px) scale(1.02) rotate(-270deg);
    }
    100% {
        transform: translate(0, 0) scale(1) rotate(-360deg);
    }
}

/* Анимация пульсации - более плавная */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        filter: blur(100px);
    }
    50% {
        opacity: 0.75;
        filter: blur(115px);
    }
}

/* Дополнительные фоновые элементы через отдельный контейнер */
.background-animated {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    will-change: transform;
}

.background-animated::before,
.background-animated::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

/* Третий градиентный круг - больше розового */
.background-animated::before {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, 
        rgba(191, 0, 173, 0.45) 0%, 
        rgba(191, 0, 173, 0.3) 40%,
        rgba(16, 226, 255, 0.1) 60%,
        transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: floatCenter 35s cubic-bezier(0.4, 0, 0.2, 1) infinite, pulse 11s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Четвертый градиентный круг - больше розового */
.background-animated::after {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, 
        rgba(191, 0, 173, 0.4) 0%, 
        rgba(191, 0, 173, 0.25) 40%,
        rgba(16, 226, 255, 0.08) 60%,
        transparent 70%);
    top: 20%;
    right: 20%;
    animation: floatDiagonal 32s cubic-bezier(0.4, 0, 0.2, 1) infinite, pulse 13s cubic-bezier(0.4, 0, 0.2, 1) infinite reverse;
}

@keyframes floatCenter {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
    33% {
        transform: translate(-45%, -55%) scale(1.1) rotate(120deg);
    }
    66% {
        transform: translate(-55%, -45%) scale(0.95) rotate(240deg);
    }
}

@keyframes floatDiagonal {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(25px, -40px) scale(1.05);
    }
    50% {
        transform: translate(-15px, -25px) scale(0.98);
    }
    75% {
        transform: translate(35px, 15px) scale(1.02);
    }
}

/* Контейнер для контента поверх фона */
body > *:not(.background-animated) {
    position: relative;
    z-index: 1;
}

/* Типографика */
h1 {
    font-size: 2.5rem;
    font-weight: 700; /* Inter Bold */
    margin-bottom: 1rem;
    color: #ffffff;
    line-height: 1.2;
}

/* Отступ для первого h1 после header на страницах (кроме главной) */
header + h1 {
    padding-top: 4rem;
}

h2 {
    font-size: 2rem;
    font-weight: 700; /* Inter Bold */
    margin: 2rem 0 1rem 0;
    color: #ffffff;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700; /* Inter Bold */
    margin: 0 0 1rem 0;
    padding-top: 4rem;
    color: #ffffff;
}

h4 {
    font-size: 1.25rem;
    font-weight: 700; /* Inter Bold */
    margin: 1.25rem 0 0.75rem 0;
    color: #ffffff;
}

p {
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 400; /* Inter Regular */
}

strong {
    font-weight: 700; /* Inter Bold */
    color: #ffffff;
}

/* Шапка сайта */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(62, 74, 133, 0.5);
    gap: 2rem;
    position: relative;
    z-index: 2;
    min-height: 80px;
}

.header-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    display: block;
    height: 50px;
    width: auto;
}

.tagline {
    font-size: 0.75rem;
    font-weight: 400; /* Inter Regular */
    color: #10E2FF;
    margin: 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Навигация */
nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400; /* Inter Regular */
    transition: color 0.2s ease;
    white-space: nowrap;
}

nav a:hover {
    color: #BF00AD;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

/* Акцентная кнопка - яркая, но приглушенная */
.btn-primary {
    background: linear-gradient(135deg, rgba(191, 0, 173, 0.6) 0%, rgba(16, 226, 255, 0.5) 100%);
    color: white;
    font-weight: 400; /* Inter Regular */
    border: 1.5px solid rgba(191, 0, 173, 0.3);
    box-shadow: 
        0 0 0 1px rgba(191, 0, 173, 0.2),
        0 2px 8px rgba(191, 0, 173, 0.15),
        0 0 12px rgba(16, 226, 255, 0.1),
        inset 0 0 4px rgba(16, 226, 255, 0.05);
    position: relative;
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(191, 0, 173, 0.7) 0%, rgba(16, 226, 255, 0.6) 100%);
    color: white;
    border-color: rgba(191, 0, 173, 0.4);
    box-shadow: 
        0 0 0 1px rgba(191, 0, 173, 0.3),
        0 4px 12px rgba(191, 0, 173, 0.2),
        0 0 16px rgba(16, 226, 255, 0.15),
        inset 0 0 6px rgba(16, 226, 255, 0.08);
    transform: translateY(-1px);
}

/* Обычная кнопка - спокойная, без яркого градиента */
.btn-secondary {
    background: rgba(62, 74, 133, 0.2);
    color: white;
    font-weight: 400; /* Inter Regular */
    border: 1.5px solid rgba(191, 0, 173, 0.25);
    box-shadow: 
        0 0 0 1px rgba(191, 0, 173, 0.15),
        0 2px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(62, 74, 133, 0.3);
    color: white;
    border-color: rgba(191, 0, 173, 0.35);
    box-shadow: 
        0 0 0 1px rgba(191, 0, 173, 0.2),
        0 4px 10px rgba(191, 0, 173, 0.15),
        0 0 8px rgba(16, 226, 255, 0.1);
    transform: translateY(-1px);
}

/* ============================================
   HERO BLOCK - SPLIT LAYOUT (Контент + Анимация)
   ============================================ */

.hero-split {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 4rem;
    align-items: center;
    margin: 0 !important;
    padding-top: 4rem;
    padding-bottom: 0.5rem;
    min-height: calc(100vh - 80px - 8rem); /* FullHD минус шапка минус padding */
    width: 100%;
    position: relative;
}

/* Левая часть: Контент */
.hero-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: flex-start;
    min-height: auto;
    height: auto;
    overflow-y: visible;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    line-height: 1.6;
}

.hero-features-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0;
}

.hero-features-intro {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.5;
}

.hero-features {
    list-style: none !important;
    padding: 1.5rem !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(62, 74, 133, 0.15);
    border: 1px solid rgba(62, 74, 133, 0.4);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 0;
    padding-left: 0;
}

.hero-feature-item::before {
    content: none !important;
}

.hero-feature-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    min-width: 31px;
    background: linear-gradient(135deg, rgba(191, 0, 173, 0.25) 0%, rgba(16, 226, 255, 0.2) 100%);
    border: 1.5px solid transparent;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 
        0 0 0 1.5px rgba(191, 0, 173, 0.4),
        0 0 8px rgba(191, 0, 173, 0.25),
        0 0 12px rgba(16, 226, 255, 0.15),
        inset 0 0 4px rgba(16, 226, 255, 0.1);
    position: relative;
}

.hero-feature-check svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}

.hero-feature-check.hero-feature-check-large svg {
    width: 27px;
    height: 27px;
}

.hero-feature-text {
    line-height: 1.5;
}

.hero-highlights {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
    font-size: 0.85rem;
    margin: 2rem auto;
    text-align: center;
}

.highlight-item {
    color: #10E2FF;
    font-weight: 500;
}

.highlight-separator {
    color: rgba(255, 255, 255, 0.4);
}

.hero-note {
    margin-top: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    text-align: left;
}

/* Стили для кнопок после hero-split */
.hero-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0 auto;
    margin-top: 0.5rem;
    padding-bottom: 1.5rem;
    width: 100%;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    display: block;
    flex: 0 1 auto;
    min-width: 200px;
    max-width: 400px;
    width: auto;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
}

/* Уменьшаем отступ для первого h3 после hero-buttons */
.hero-buttons + h3 {
    padding-top: 1.5rem;
}

/* Правая часть: Анимация */
.hero-right {
    position: relative !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 671px;
    height: 671px;
    width: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding-top: 0;
    background: transparent;
}

.hero-visualization {
    width: 100%;
    max-width: 700px;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

/* Canvas стили для анимации графа */
.hero-visualization canvas {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    image-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   АНИМАЦИЯ "ХАОС → ПОРЯДОК"
   ============================================ */

.hero-animation {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
    will-change: transform;
}

/* Фоновые частицы */
.bg-particles {
    opacity: 0.15;
}

.bg-particle {
    fill: url(#gradient-brand);
    opacity: 0.2;
    animation: float-particle 8s ease-in-out infinite;
}

.bg-particle:nth-child(1) { animation-delay: 0s; }
.bg-particle:nth-child(2) { animation-delay: 0.5s; }
.bg-particle:nth-child(3) { animation-delay: 1s; }
.bg-particle:nth-child(4) { animation-delay: 1.5s; }
.bg-particle:nth-child(5) { animation-delay: 2s; }
.bg-particle:nth-child(6) { animation-delay: 2.5s; }
.bg-particle:nth-child(7) { animation-delay: 3s; }
.bg-particle:nth-child(8) { animation-delay: 3.5s; }
.bg-particle:nth-child(9) { animation-delay: 4s; }
.bg-particle:nth-child(10) { animation-delay: 4.5s; }
.bg-particle:nth-child(11) { animation-delay: 5s; }
.bg-particle:nth-child(12) { animation-delay: 5.5s; }
.bg-particle:nth-child(13) { animation-delay: 6s; }
.bg-particle:nth-child(14) { animation-delay: 6.5s; }
.bg-particle:nth-child(15) { animation-delay: 7s; }

/* Узлы хаоса */
.chaos-node {
    will-change: transform, opacity;
    transform-box: fill-box;
    transform-origin: center;
    animation: chaos-phase 10s ease-in-out infinite;
}

/* Индивидуальные анимации для узлов, движущихся к ключевым позициям */
/* Используем nth-of-type для circle элементов, пропуская группы */
.network-nodes > circle:nth-of-type(1) { /* к узлу 1 (200, 300) */
    animation: move-to-node1 10s ease-in-out infinite;
}

.network-nodes > circle:nth-of-type(2) { /* к узлу 2 (350, 200) */
    animation: move-to-node2 10s ease-in-out infinite;
}

.network-nodes > circle:nth-of-type(3) { /* к узлу 3 (500, 300) */
    animation: move-to-node3 10s ease-in-out infinite;
}

.network-nodes > circle:nth-of-type(4) { /* к узлу 1 */
    animation: move-to-node1 10s ease-in-out infinite;
    animation-delay: 0.1s;
}

.network-nodes > circle:nth-of-type(5) { /* к узлу 3 */
    animation: move-to-node3 10s ease-in-out infinite;
    animation-delay: 0.1s;
}

.network-nodes > circle:nth-of-type(6) { /* к узлу 2 */
    animation: move-to-node2 10s ease-in-out infinite;
    animation-delay: 0.2s;
}

.network-nodes > circle:nth-of-type(7) { /* к узлу 1 */
    animation: move-to-node1 10s ease-in-out infinite;
    animation-delay: 0.2s;
}

.network-nodes > circle:nth-of-type(8) { /* к узлу 3 */
    animation: move-to-node3 10s ease-in-out infinite;
    animation-delay: 0.3s;
}

.network-nodes > circle:nth-of-type(9) { /* к узлу 2 */
    animation: move-to-node2 10s ease-in-out infinite;
    animation-delay: 0.3s;
}

.network-nodes > circle:nth-of-type(10) { /* к узлу 1 */
    animation: move-to-node1 10s ease-in-out infinite;
    animation-delay: 0.4s;
}

.network-nodes > circle:nth-of-type(11) { /* к узлу 3 */
    animation: move-to-node3 10s ease-in-out infinite;
    animation-delay: 0.4s;
}

.network-nodes > circle:nth-of-type(12) { /* к узлу 2 */
    animation: move-to-node2 10s ease-in-out infinite;
    animation-delay: 0.5s;
}

.network-nodes > circle:nth-of-type(13) { /* к узлу 1 */
    animation: move-to-node1 10s ease-in-out infinite;
    animation-delay: 0.5s;
}

.network-nodes > circle:nth-of-type(14) { /* к узлу 3 */
    animation: move-to-node3 10s ease-in-out infinite;
    animation-delay: 0.6s;
}

.network-nodes > circle:nth-of-type(15) { /* к узлу 2 */
    animation: move-to-node2 10s ease-in-out infinite;
    animation-delay: 0.6s;
}

.network-nodes > circle:nth-of-type(16) { /* к узлу 1 */
    animation: move-to-node1 10s ease-in-out infinite;
    animation-delay: 0.7s;
}

.network-nodes > circle:nth-of-type(17) { /* к узлу 3 */
    animation: move-to-node3 10s ease-in-out infinite;
    animation-delay: 0.7s;
}

.network-nodes > circle:nth-of-type(18) { /* к узлу 2 */
    animation: move-to-node2 10s ease-in-out infinite;
    animation-delay: 0.8s;
}

.network-nodes > circle:nth-of-type(19) { /* к узлу 1 */
    animation: move-to-node1 10s ease-in-out infinite;
    animation-delay: 0.8s;
}

.network-nodes > circle:nth-of-type(20) { /* к узлу 3 */
    animation: move-to-node3 10s ease-in-out infinite;
    animation-delay: 0.9s;
}

/* Ключевые узлы */
.key-node {
    will-change: transform, opacity;
    transform-box: fill-box;
    transform-origin: center;
    opacity: 0;
    animation: key-node-appear 10s ease-in-out infinite;
}

.key-node-1 {
    animation-delay: 4s;
}

.key-node-2 {
    animation-delay: 4.2s;
}

.key-node-3 {
    animation-delay: 4.4s;
}

.node-core {
    will-change: transform;
    transform-box: fill-box;
    transform-origin: center;
    animation: node-pulse 2s ease-in-out infinite;
}

.node-pulse {
    will-change: transform, opacity;
    transform-box: fill-box;
    transform-origin: center;
    animation: pulse-ring 2s ease-in-out infinite;
}

.key-node-1 .node-pulse {
    animation-delay: 0s;
}

.key-node-2 .node-pulse {
    animation-delay: 0.3s;
}

.key-node-3 .node-pulse {
    animation-delay: 0.6s;
}

/* Соединительные линии */
.connection-line {
    will-change: stroke-dasharray, stroke-dashoffset, opacity;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    filter: url(#glow);
    animation: line-draw 10s ease-in-out infinite;
}

.connection-line:nth-child(1) { animation-delay: 5s; }
.connection-line:nth-child(2) { animation-delay: 5.2s; }
.connection-line:nth-child(3) { animation-delay: 5.4s; }
.connection-line:nth-child(4) { animation-delay: 5.6s; }
.connection-line:nth-child(5) { animation-delay: 5.8s; }
.connection-line:nth-child(6) { animation-delay: 6s; }

/* Сканирующие линии */
.scan-lines {
    will-change: opacity;
    animation: scan-appear 10s ease-in-out infinite;
}

.scan-line {
    will-change: stroke-dashoffset;
    stroke-dasharray: 20, 10;
    stroke-dashoffset: 0;
    animation: scan-move 2s linear infinite;
}

.scan-line:nth-child(1) { animation-delay: 2.5s; }
.scan-line:nth-child(2) { animation-delay: 2.7s; }
.scan-line:nth-child(3) { animation-delay: 2.9s; }

/* Гексагональная сеть */
.hex-grid {
    will-change: opacity, transform;
    transform-box: fill-box;
    transform-origin: center;
    animation: hex-appear 10s ease-in-out infinite,
               rotate-structure 30s linear infinite;
    animation-delay: 0s, 6s;
}

.hex-cell {
    will-change: opacity, stroke;
    animation: hex-glow 3s ease-in-out infinite;
}

.hex-cell:nth-child(1) { animation-delay: 0s; }
.hex-cell:nth-child(2) { animation-delay: 0.5s; }
.hex-cell:nth-child(3) { animation-delay: 1s; }

.hex-connector {
    will-change: opacity;
    animation: hex-connector-appear 10s ease-in-out infinite;
}

.hex-connector:nth-child(4) { animation-delay: 6.5s; }
.hex-connector:nth-child(5) { animation-delay: 6.7s; }
.hex-connector:nth-child(6) { animation-delay: 6.9s; }

/* ============================================
   KEYFRAMES АНИМАЦИИ
   ============================================ */

/* Фаза 1-2: Хаос и движение узлов (для узлов без специфичной анимации) */
@keyframes chaos-phase {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    10% {
        transform: scale(1.2);
        opacity: 1;
    }
    20% {
        transform: scale(1.1);
        opacity: 0.9;
    }
    30% {
        transform: scale(0.8);
        opacity: 0.7;
    }
    40% {
        transform: scale(0.5);
        opacity: 0.4;
    }
    50%, 100% {
        transform: scale(0);
        opacity: 0;
    }
}

/* Появление ключевых узлов с эффектом волны */
@keyframes key-node-appear {
    0%, 39% {
        opacity: 0;
        transform: scale(0);
    }
    40% {
        opacity: 0.3;
        transform: scale(0.3);
    }
    42% {
        opacity: 0.6;
        transform: scale(0.6);
    }
    45% {
        opacity: 1;
        transform: scale(1.3);
    }
    48% {
        opacity: 1;
        transform: scale(0.95);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Пульсация узлов */
@keyframes node-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

/* Пульсирующее кольцо вокруг узлов с эффектом волны */
@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    33% {
        transform: scale(1.3);
        opacity: 0.3;
    }
    66% {
        transform: scale(1.6);
        opacity: 0.1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Рисование линий */
@keyframes line-draw {
    0%, 49% {
        stroke-dashoffset: 1000;
        opacity: 0;
    }
    50% {
        stroke-dashoffset: 1000;
        opacity: 0.3;
    }
    60% {
        stroke-dashoffset: 0;
        opacity: 0.8;
    }
    70%, 100% {
        stroke-dashoffset: 0;
        opacity: 0.6;
    }
}

/* Появление сканирующих линий */
@keyframes scan-appear {
    0%, 24% {
        opacity: 0;
    }
    25% {
        opacity: 0.6;
    }
    35% {
        opacity: 0.8;
    }
    40% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* Движение сканирующих линий */
@keyframes scan-move {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: 30;
    }
}

/* Появление гексагональной сети */
@keyframes hex-appear {
    0%, 59% {
        opacity: 0;
        transform: scale(0.8) rotate(0deg);
    }
    60% {
        opacity: 0;
        transform: scale(0.8) rotate(0deg);
    }
    70% {
        opacity: 0.5;
        transform: scale(1.1) rotate(5deg);
    }
    80% {
        opacity: 0.7;
        transform: scale(1) rotate(0deg);
    }
    100% {
        opacity: 0.7;
        transform: scale(1) rotate(0deg);
    }
}

/* Свечение гексагонов */
@keyframes hex-glow {
    0%, 100% {
        opacity: 0.3;
        stroke-width: 2;
    }
    50% {
        opacity: 0.6;
        stroke-width: 3;
    }
}

/* Появление соединительных линий гексагонов */
@keyframes hex-connector-appear {
    0%, 64% {
        opacity: 0;
    }
    65% {
        opacity: 0;
    }
    75% {
        opacity: 0.3;
    }
    100% {
        opacity: 0.3;
    }
}

/* Плавающее движение фоновых частиц */
@keyframes float-particle {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.2;
    }
    25% {
        transform: translate(10px, -15px);
        opacity: 0.3;
    }
    50% {
        transform: translate(-5px, -25px);
        opacity: 0.25;
    }
    75% {
        transform: translate(-10px, -10px);
        opacity: 0.3;
    }
}

/* Вращение всей структуры (опционально) */
@keyframes rotate-structure {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Движение узлов к ключевым позициям */
/* Упрощенная версия - узлы пульсируют и исчезают, создавая эффект движения к центрам */
@keyframes move-to-node1 {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    10% {
        transform: scale(1.3);
        opacity: 1;
    }
    25% {
        transform: scale(0.9);
        opacity: 0.7;
    }
    35% {
        transform: scale(0.6);
        opacity: 0.4;
    }
    45% {
        transform: scale(0.3);
        opacity: 0.2;
    }
    50%, 100% {
        transform: scale(0);
        opacity: 0;
    }
}

@keyframes move-to-node2 {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    10% {
        transform: scale(1.3);
        opacity: 1;
    }
    25% {
        transform: scale(0.9);
        opacity: 0.7;
    }
    35% {
        transform: scale(0.6);
        opacity: 0.4;
    }
    45% {
        transform: scale(0.3);
        opacity: 0.2;
    }
    50%, 100% {
        transform: scale(0);
        opacity: 0;
    }
}

@keyframes move-to-node3 {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    10% {
        transform: scale(1.3);
        opacity: 1;
    }
    25% {
        transform: scale(0.9);
        opacity: 0.7;
    }
    35% {
        transform: scale(0.6);
        opacity: 0.4;
    }
    45% {
        transform: scale(0.3);
        opacity: 0.2;
    }
    50%, 100% {
        transform: scale(0);
        opacity: 0;
    }
}

/* Применяем вращение к сетке на финальной фазе - обновляем существующее определение */

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

@media (max-width: 1024px) {
    .hero-animation {
        transform: scale(0.9);
    }
    
    .chaos-node {
        r: 6;
    }
    
    .node-core {
        r: 20;
    }
}

@media (max-width: 768px) {
    .hero-animation {
        transform: scale(0.7);
    }
    
    .chaos-node {
        r: 5;
    }
    
    .node-core {
        r: 18;
    }
    
    .bg-particle {
        r: 1.5;
    }
    
    /* Упрощаем анимацию на мобильных */
    .chaos-node {
        animation-duration: 8s;
    }
    
    .key-node {
        animation-duration: 8s;
    }
}

/* Поддержка prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .hero-animation * {
        animation: none !important;
    }
    
    .key-node {
        opacity: 1;
        transform: scale(1);
    }
    
    .connection-line {
        stroke-dashoffset: 0;
        opacity: 0.6;
    }
    
    .hex-grid {
        opacity: 0.7;
    }
}

/* SVG анимация башни */
.tower-animation {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35));
}

/* Фундамент башни */
.foundation-block {
    fill: rgba(62, 74, 133, 0.2);
    stroke: rgba(191, 0, 173, 0.3);
    stroke-width: 2;
}

/* Камни башни в стиле сухой кладки */
.stone-piece {
    fill: rgba(62, 74, 133, 0.25);
    stroke: rgba(191, 0, 173, 0.35);
    stroke-width: 2;
    stroke-linejoin: miter;
}

/* Поврежденный блок с трещинами */
.damaged-stone {
    fill: rgba(16, 226, 255, 0.2);
    stroke: rgba(16, 226, 255, 0.4);
}

/* Трещины */
.crack-line {
    fill: none;
    stroke: rgba(16, 226, 255, 0.8);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Раскрошенные куски */
.rubble-piece {
    fill: rgba(16, 226, 255, 0.4);
    stroke: rgba(16, 226, 255, 0.7);
    stroke-width: 2;
    stroke-linejoin: round;
}

.tower-crack {
    fill: none;
    stroke: rgba(255, 190, 80, 0.55);
    stroke-width: 2;
    stroke-linecap: round;
}

.rubble {
    fill: rgba(255, 255, 255, 0.14);
}

.marker {
    fill: rgba(255, 190, 80, 0.95);
    opacity: 0;
}

.marker-ring {
    fill: none;
    stroke: rgba(255, 190, 80, 0.55);
    stroke-width: 2;
    opacity: 0;
}

.scan-line {
    fill: #10E2FF;
    opacity: 0;
}

.blueprint-overlay {
    fill: rgba(16, 226, 255, 0.18);
    opacity: 0;
}

.scaffold {
    fill: none;
    stroke: #10E2FF;
    stroke-width: 2.2;
    stroke-linecap: round;
    opacity: 0;
}

.gridline {
    stroke: rgba(16, 226, 255, 0.16);
    stroke-width: 1;
}

/* "Песок" — лёгкая CSS-анимация */
.sandParticle {
    fill: rgba(255, 220, 170, 0.9);
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation: sandFall 1.7s linear infinite;
}

.sandParticle.d1 { animation-delay: 0s; }
.sandParticle.d2 { animation-delay: 0.25s; }
.sandParticle.d3 { animation-delay: 0.55s; }
.sandParticle.d4 { animation-delay: 0.85s; }
.sandParticle.d5 { animation-delay: 1.15s; }

@keyframes sandFall {
    0% { transform: translateY(0); opacity: 0; }
    10% { opacity: 0.85; }
    80% { opacity: 0.85; }
    100% { transform: translateY(18px); opacity: 0; }
}

/* prefers-reduced-motion: минимизируем движение */
@media (prefers-reduced-motion: reduce) {
    .sandParticle {
        animation: none !important;
        opacity: 0 !important;
    }
}

/* Адаптивность */
@media (max-width: 968px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
        min-height: auto;
    }
    
    .hero-buttons {
        padding-bottom: 2rem;
    }
    
    h3 {
        padding-top: 2rem;
    }
    
    .hero-right {
        min-height: 400px;
        order: -1;
    }
    
    .hero-visualization {
        max-width: 100%;
        height: 500px;
    }
    
    .hero-visualization canvas {
        width: 100%;
        height: 100%;
    }
    
    .hero-right {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .hero-subtitle {
        text-align: center;
    }
    
    .hero-features-wrapper {
        width: 100%;
    }
    
    .hero-features-intro {
        text-align: center;
    }
    
    .hero-features {
        width: 100%;
    }
    
    .hero-highlights {
        justify-content: center;
    }
    
    .hero-note {
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
}

/* Мобильная адаптивность для hero секции */
@media (max-width: 768px) {
    .hero-split {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem;
        padding-top: 0.5rem !important;
        padding-bottom: 1.5rem;
    }
    
    .hero-left {
        display: contents !important;
    }
    
    .hero-right {
        display: contents !important;
    }
    
    .hero-title {
        font-size: 1.75rem !important;
        text-align: left !important;
        order: 1 !important;
        margin-bottom: 0;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        text-align: left !important;
        order: 2 !important;
        margin-bottom: 0;
        line-height: 1.5;
    }
    
    .hero-visualization {
        order: 3 !important;
        width: 100% !important;
        height: 400px !important;
        margin: 0.5rem 0 !important;
        min-height: auto !important;
    }
    
    .hero-visualization canvas {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        display: block !important;
    }
    
    .hero-features-wrapper {
        order: 4 !important;
        margin-top: 0;
    }
    
    .hero-note {
        order: 5 !important;
        font-size: 0.75rem !important;
        text-align: left !important;
        margin-top: 0;
    }
    
    .hero-features-intro {
        font-size: 1rem;
        text-align: left;
        margin-bottom: 0.75rem;
    }
    
    .hero-features {
        padding: 1.25rem !important;
        gap: 0.875rem;
    }
    
    .hero-feature-item {
        font-size: 0.9375rem;
        gap: 0.625rem;
    }
    
    .hero-feature-check {
        width: 28px;
        height: 28px;
        min-width: 28px;
    }
    
    .hero-feature-check svg {
        width: 16px;
        height: 16px;
    }
    
    .hero-feature-check.hero-feature-check-large svg {
        width: 24px;
        height: 24px;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.875rem;
        margin-top: 1.5rem;
        padding-bottom: 1.5rem;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 100%;
        padding: 0.875rem 1.25rem;
        font-size: 0.9375rem;
    }
    
    /* Порядок кнопок: primary, secondary (как указано пользователем - порядок сверху вниз) */
    .hero-buttons .btn-primary {
        order: 1;
    }
    
    .hero-buttons .btn-secondary {
        order: 2;
    }
}


/* Контейнеры и блоки */
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem auto;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
}

.cta-buttons .btn {
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
}

.micro-copy {
    font-size: 0.875rem;
    color: #10E2FF;
    font-weight: 400; /* Inter Regular */
    font-style: italic;
    margin: 1rem 0;
    width: 823px;
}

/* Списки */
ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    list-style: none;
}

li {
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 400; /* Inter Regular */
}

/* Акценты и выделения */
hr {
    border: none;
    height: 1px;
    background-color: rgba(62, 74, 133, 0.5);
    margin: 2rem 0;
}

/* Отступы между секциями */
h1 + p,
h2 + p,
h3 + p,
h3 + ul,
h3 + ol,
h4 + ul,
h4 + ol {
    margin-top: 0;
}

/* Блок преимуществ */
ul li strong {
    color: #ffffff;
    font-weight: 700; /* Inter Bold */
}

/* Адаптивность */
@media (max-width: 768px) {
    body {
        padding: 0 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem 0;
    }

    .header-left {
        width: 100%;
    }

    .tagline {
        font-size: 0.7rem;
    }

    nav {
        flex-wrap: wrap;
        gap: 1rem;
        width: 100%;
    }

    nav a {
        font-size: 0.9rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* Специальные стили для контактной информации */
p strong {
    color: #ffffff;
    font-weight: 700; /* Inter Bold */
}

/* Стили для списков преимуществ */
ul li:before {
    content: "✓";
    color: #BF00AD;
    font-weight: 700; /* Inter Bold */
    margin-right: 0.5rem;
}

/* Специальный стиль для заголовков блоков */
h3 {
    border-bottom: 2px solid rgba(62, 74, 133, 0.5);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem !important;
}

/* Ссылки в тексте (не в навигации, не кнопки, не логотип) */
p a, li a, article a, section a {
    color: #BF00AD;
    text-decoration: underline;
    transition: color 0.2s ease;
}

p a:hover, li a:hover, article a:hover, section a:hover {
    color: #10E2FF;
}

/* Стили для кастомной формы */
.custom-lead-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(62, 74, 133, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(191, 0, 173, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.custom-lead-form h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    border-bottom: none;
    padding-bottom: 0;
    padding-top: 0 !important;
}

.custom-lead-form > p {
    margin-bottom: 1.5rem;
    color: #10E2FF;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #ffffff;
    font-size: 0.95rem;
}

.form-group label .required {
    color: #BF00AD;
    margin-left: 2px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(15, 1, 63, 0.6);
    border: 1px solid rgba(62, 74, 133, 0.5);
    border-radius: 6px;
    font-size: 1rem;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #BF00AD;
    background: rgba(15, 1, 63, 0.8);
    box-shadow: 0 0 0 3px rgba(191, 0, 173, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Стили для чекбокса согласия на обработку ПДн */
.form-group-checkbox {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: block;
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-left: 32px;
    min-height: 20px;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    accent-color: #BF00AD;
    background: rgba(15, 1, 63, 0.6);
    border: 1.5px solid rgba(62, 74, 133, 0.5);
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked {
    background: linear-gradient(135deg, #BF00AD 0%, #10E2FF 100%);
    border-color: #BF00AD;
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
}

.checkbox-label input[type="checkbox"]:focus {
    outline: none;
    border-color: #BF00AD;
    box-shadow: 0 0 0 3px rgba(191, 0, 173, 0.2);
}

.checkbox-label input[type="checkbox"]:hover {
    border-color: rgba(191, 0, 173, 0.6);
}

.checkbox-text {
    display: inline-block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 20px;
    vertical-align: middle;
}

.checkbox-text a {
    color: #10E2FF;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.checkbox-text a:hover {
    color: #BF00AD;
}

.checkbox-text .required {
    color: #BF00AD;
    margin-left: 2px;
}

.form-submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(191, 0, 173, 0.6) 0%, rgba(16, 226, 255, 0.5) 100%);
    color: white;
    border: 1.5px solid rgba(191, 0, 173, 0.3);
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
    box-shadow: 
        0 0 0 1px rgba(191, 0, 173, 0.2),
        0 2px 8px rgba(191, 0, 173, 0.15),
        0 0 12px rgba(16, 226, 255, 0.1),
        inset 0 0 4px rgba(16, 226, 255, 0.05);
    position: relative;
    backdrop-filter: blur(10px);
}

.form-submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(191, 0, 173, 0.7) 0%, rgba(16, 226, 255, 0.6) 100%);
    color: white;
    border-color: rgba(191, 0, 173, 0.4);
    transform: translateY(-1px);
    box-shadow: 
        0 0 0 1px rgba(191, 0, 173, 0.3),
        0 4px 12px rgba(191, 0, 173, 0.2),
        0 0 16px rgba(16, 226, 255, 0.15),
        inset 0 0 6px rgba(16, 226, 255, 0.08);
}

.form-submit-btn:disabled {
    background: rgba(62, 74, 133, 0.5);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    display: none;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-message.show {
    display: block;
}

.form-message.success {
    background: rgba(16, 226, 255, 0.15);
    color: #10E2FF;
    border: 1px solid rgba(16, 226, 255, 0.3);
}

.form-message.error {
    background: rgba(191, 0, 173, 0.15);
    color: #BF00AD;
    border: 1px solid rgba(191, 0, 173, 0.3);
}

/* Адаптивность формы - перенесено в общий медиа-запрос */

/* ============================================
   НОВЫЕ ВИЗУАЛЬНЫЕ ЭЛЕМЕНТЫ ДЛЯ РАЗНООБРАЗИЯ
   ============================================ */

/* Блок статистики - улучшенный дизайн */
.stats-section {
    margin: 2rem 0 3rem 0;
    position: relative;
}

.stats-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding-top: 2rem;
    font-size: 1.75rem;
    background: linear-gradient(135deg, #ffffff 0%, rgba(16, 226, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    margin-top: 0;
}

.stats-title-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(191, 0, 173, 0.2) 0%, rgba(16, 226, 255, 0.15) 100%);
    border: 1.5px solid rgba(191, 0, 173, 0.4);
    border-radius: 8px;
    flex-shrink: 0;
    box-shadow: 
        0 0 0 1px rgba(191, 0, 173, 0.2),
        0 0 12px rgba(191, 0, 173, 0.2),
        inset 0 0 8px rgba(16, 226, 255, 0.1);
}

.stats-title-icon svg {
    width: 24px;
    height: 24px;
}

/* Карточки статистики */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.75rem;
    margin: 2rem 0;
    align-items: start;
}

.stats-grid .stat-card {
    background: linear-gradient(135deg, rgba(62, 74, 133, 0.25) 0%, rgba(62, 74, 133, 0.15) 100%);
    border: 1.5px solid rgba(191, 0, 173, 0.3);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.stats-grid .stat-card:nth-child(1) { animation-delay: 0.1s; }
.stats-grid .stat-card:nth-child(2) { animation-delay: 0.2s; }
.stats-grid .stat-card:nth-child(3) { animation-delay: 0.3s; }
.stats-grid .stat-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stats-grid .stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #BF00AD 0%, #10E2FF 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stats-grid .stat-card:hover::before,
.stats-grid .stat-card.in-view::before {
    opacity: 1;
}

.stats-grid .stat-card:hover,
.stats-grid .stat-card.in-view {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(191, 0, 173, 0.6);
    box-shadow: 
        0 12px 32px rgba(191, 0, 173, 0.25),
        0 0 24px rgba(16, 226, 255, 0.15),
        inset 0 0 20px rgba(16, 226, 255, 0.05);
    background: linear-gradient(135deg, rgba(62, 74, 133, 0.35) 0%, rgba(62, 74, 133, 0.25) 100%);
}

/* Иконки в карточках статистики */
.stats-grid .stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, rgba(191, 0, 173, 0.2) 0%, rgba(16, 226, 255, 0.15) 100%);
    border: 1.5px solid rgba(191, 0, 173, 0.4);
    border-radius: 12px;
    box-shadow: 
        0 0 0 1px rgba(191, 0, 173, 0.2),
        0 4px 12px rgba(191, 0, 173, 0.2),
        0 0 16px rgba(16, 226, 255, 0.15),
        inset 0 0 8px rgba(16, 226, 255, 0.1);
    transition: all 0.3s ease;
}

.stats-grid .stat-card:hover .stat-icon,
.stats-grid .stat-card.in-view .stat-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 0 0 1px rgba(191, 0, 173, 0.3),
        0 6px 16px rgba(191, 0, 173, 0.3),
        0 0 24px rgba(16, 226, 255, 0.2),
        inset 0 0 12px rgba(16, 226, 255, 0.15);
}

.stats-grid .stat-icon svg {
    width: 32px;
    height: 32px;
}

/* Числовые показатели */
.stats-grid .stat-card-number {
    border-color: rgba(16, 226, 255, 0.4);
}

.stats-grid .stat-card-number:hover,
.stats-grid .stat-card-number.in-view {
    border-color: rgba(16, 226, 255, 0.7);
    box-shadow: 
        0 12px 32px rgba(16, 226, 255, 0.2),
        0 0 24px rgba(16, 226, 255, 0.2),
        inset 0 0 20px rgba(16, 226, 255, 0.08);
}

.stats-grid .stat-card-number .stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #10E2FF 0%, #BF00AD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.75rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 0 20px rgba(16, 226, 255, 0.3);
    min-height: 4.5rem;
}

/* Лицензии */
.stats-grid .stat-card-license {
    border-color: rgba(191, 0, 173, 0.4);
    background: linear-gradient(135deg, rgba(191, 0, 173, 0.08) 0%, rgba(62, 74, 133, 0.15) 100%);
}

.stats-grid .stat-card-license:hover,
.stats-grid .stat-card-license.in-view {
    border-color: rgba(191, 0, 173, 0.7);
    background: linear-gradient(135deg, rgba(191, 0, 173, 0.15) 0%, rgba(62, 74, 133, 0.25) 100%);
}

.stats-grid .stat-icon-license {
    background: linear-gradient(135deg, rgba(191, 0, 173, 0.25) 0%, rgba(16, 226, 255, 0.2) 100%);
    border-color: rgba(191, 0, 173, 0.5);
}

.stats-grid .stat-number-license {
    font-size: 56px;
    font-weight: 800;
    background: linear-gradient(135deg, #BF00AD 0%, #10E2FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    min-height: 4.5rem;
}

.stats-grid .stat-card .stat-label {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    font-weight: 400;
    margin-top: 0;
}

.stats-grid .stat-card:hover .stat-label,
.stats-grid .stat-card.in-view .stat-label {
    color: rgba(255, 255, 255, 0.9);
}

/* Карточки для секций */
.section-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Специальная компоновка для блока с 5 карточками (как в "Что будет на выходе") */
.section-cards:has(.section-card:nth-child(5)) {
    grid-template-columns: repeat(6, 1fr);
}

.section-cards:has(.section-card:nth-child(5)) .section-card:nth-child(1) {
    grid-column: 1 / 3;
}

.section-cards:has(.section-card:nth-child(5)) .section-card:nth-child(2) {
    grid-column: 3 / 5;
}

.section-cards:has(.section-card:nth-child(5)) .section-card:nth-child(3) {
    grid-column: 5 / 7;
}

.section-cards:has(.section-card:nth-child(5)) .section-card:nth-child(4) {
    grid-column: 2 / 4;
}

.section-cards:has(.section-card:nth-child(5)) .section-card:nth-child(5) {
    grid-column: 4 / 6;
}

.organizations-grid {
    grid-template-columns: repeat(2, 1fr);
}

.section-card {
    background: rgba(62, 74, 133, 0.15);
    border: 1px solid rgba(62, 74, 133, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.section-card:hover,
.section-card.in-view {
    transform: translateY(-3px);
    border-color: #BF00AD;
    box-shadow: 0 6px 20px rgba(191, 0, 173, 0.2);
    background: rgba(62, 74, 133, 0.25);
}

.section-card .card-icon {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(135deg, rgba(191, 0, 173, 0.25) 0%, rgba(16, 226, 255, 0.2) 100%);
    border: 1.5px solid transparent;
    border-radius: 6px;
    flex-shrink: 0;
    box-shadow: 
        0 0 0 1.5px rgba(191, 0, 173, 0.4),
        0 0 8px rgba(191, 0, 173, 0.25),
        0 0 12px rgba(16, 226, 255, 0.15),
        inset 0 0 4px rgba(16, 226, 255, 0.1);
    position: relative;
}

.section-card .card-icon svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.section-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.section-card .card-content {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.section-card .card-content .card-footer {
    margin-top: auto;
    padding-top: 1rem;
}

.section-card .card-content .card-footer .card-meta {
    margin-bottom: 0;
}

.section-card .card-content .card-footer > div {
    padding-top: 1rem;
}

/* Timeline для процесса */
.process-timeline {
    position: relative;
    margin: 2rem 0;
}

.timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.timeline-step-number {
    position: relative;
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(191, 0, 173, 0.2) 0%, rgba(16, 226, 255, 0.15) 100%);
    border: 1.5px solid rgba(191, 0, 173, 0.4);
    box-shadow: 
        0 0 0 1px rgba(191, 0, 173, 0.2),
        0 4px 12px rgba(191, 0, 173, 0.2),
        0 0 16px rgba(16, 226, 255, 0.15),
        inset 0 0 8px rgba(16, 226, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: #FFFFFF;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-content-wrapper {
    flex: 1;
    padding-top: 0.25rem;
}

.timeline-item .timeline-title {
    font-weight: 700;
    color: #10E2FF;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-item .timeline-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

/* Улучшенные списки с иконками */
.icon-list {
    list-style: none;
    padding-left: 0;
    margin: 0.5rem 0 1.5rem 0;
}

.icon-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.icon-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, rgba(191, 0, 173, 0.2) 0%, rgba(16, 226, 255, 0.15) 100%);
    border: 1.5px solid rgba(191, 0, 173, 0.4);
    border-radius: 50%;
    box-shadow: 
        0 0 0 1px rgba(191, 0, 173, 0.2),
        0 4px 12px rgba(191, 0, 173, 0.2),
        0 0 16px rgba(16, 226, 255, 0.15),
        inset 0 0 8px rgba(16, 226, 255, 0.1);
    transition: all 0.3s ease;
    z-index: 1;
}

.icon-list li::after {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    background: linear-gradient(135deg, #BF00AD 0%, #10E2FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 2;
}

.icon-list li strong {
    color: #10E2FF;
}

/* Заголовок страницы кейсов */
.cases-header {
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(62, 74, 133, 0.5);
}

/* Сетка для карточек кейсов */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.cases-header h1 {
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #ffffff 0%, rgba(16, 226, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cases-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 0;
    font-weight: 400;
}

/* Карточки кейсов */
.case-card {
    background: rgba(62, 74, 133, 0.15);
    border: 1.5px solid rgba(62, 74, 133, 0.4);
    border-radius: 16px;
    padding: 0 1.5rem;
    margin-bottom: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #BF00AD 0%, #10E2FF 100%);
    opacity: 0.3;
    transition: opacity 0.3s ease;
    border-radius: 16px 0 0 16px;
}

.case-card:hover::before,
.case-card.in-view::before {
    opacity: 1;
    box-shadow: 0 0 12px rgba(191, 0, 173, 0.5);
}

.case-card:hover,
.case-card.in-view {
    transform: translateY(-5px);
    border-color: rgba(191, 0, 173, 0.6);
    box-shadow: 
        0 12px 32px rgba(191, 0, 173, 0.25),
        0 0 24px rgba(16, 226, 255, 0.15),
        inset 0 0 20px rgba(16, 226, 255, 0.05);
    background: rgba(62, 74, 133, 0.25);
}

.case-card .case-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0;
    padding: 1.5rem 0;
    border-bottom: none !important;
    min-height: 48px;
    box-sizing: border-box;
}

.case-card .case-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    max-width: 48px;
    background: linear-gradient(135deg, rgba(191, 0, 173, 0.2) 0%, rgba(16, 226, 255, 0.15) 100%);
    border: 1.5px solid rgba(191, 0, 173, 0.4);
    border-radius: 10px;
    box-shadow: 
        0 0 0 1px rgba(191, 0, 173, 0.2),
        0 4px 12px rgba(191, 0, 173, 0.2),
        0 0 16px rgba(16, 226, 255, 0.15),
        inset 0 0 8px rgba(16, 226, 255, 0.1);
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1;
}

.case-card:hover .case-icon,
.case-card.in-view .case-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 0 0 1px rgba(191, 0, 173, 0.3),
        0 6px 16px rgba(191, 0, 173, 0.3),
        0 0 24px rgba(16, 226, 255, 0.2),
        inset 0 0 12px rgba(16, 226, 255, 0.15);
}

.case-card .case-icon svg {
    width: 28px;
    height: 28px;
}

.case-card .case-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: none !important;
    line-height: 1;
    display: flex;
    align-items: center;
    height: auto;
    box-sizing: border-box;
}

.case-card .case-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0 0 1.5rem 0;
    font-size: 0.95rem;
    padding: 1.25rem 1.5rem;
    background: rgba(15, 1, 63, 0.4);
    border-radius: 10px;
    border: 1px solid rgba(62, 74, 133, 0.4);
    backdrop-filter: blur(5px);
    line-height: 1.4;
}

.case-card .case-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 0.25rem;
}

.case-card .case-meta-item:last-child {
    margin-bottom: 0;
}

.case-card .case-meta-item strong {
    color: #10E2FF;
    font-weight: 600;
    min-width: 80px;
    flex-shrink: 0;
}

.case-card .case-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    padding-bottom: 1.5rem;
}

.case-card .case-content p {
    margin-bottom: 1rem;
}

.case-card .case-content p:last-child {
    margin-bottom: 0;
}

.case-card .case-content strong {
    color: #10E2FF;
    font-weight: 600;
}

.case-card .case-content .case-list {
    list-style: none;
    padding-left: 0;
    margin: 0.75rem 0 1rem 0;
}

.case-card .case-content .case-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.case-card .case-content .case-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10E2FF;
    font-weight: 700;
    font-size: 1.1rem;
}

.case-card .case-content .case-list li:last-child {
    margin-bottom: 0;
}

/* CTA секция для кейсов */
.cases-cta {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(62, 74, 133, 0.15);
    border: 1px solid rgba(191, 0, 173, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    text-align: center;
}

.cases-cta h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    padding-top: 0;
}

.cases-cta > p {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.cases-cta-note {
    color: #10E2FF !important;
    font-size: 0.95rem;
    margin-bottom: 1.5rem !important;
}

.cases-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Ссылка "Вернуться" */
.back-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: rgba(62, 74, 133, 0.2);
    border: 1px solid rgba(62, 74, 133, 0.3);
}

.back-link:hover {
    color: #10E2FF;
    background: rgba(62, 74, 133, 0.3);
    border-color: rgba(16, 226, 255, 0.4);
    transform: translateX(-3px);
}


/* Карточки для "Что будет на выходе" */
.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.deliverables-grid .deliverable-card:nth-child(1) {
    grid-column: 1 / 3;
}

.deliverables-grid .deliverable-card:nth-child(2) {
    grid-column: 3 / 5;
}

.deliverables-grid .deliverable-card:nth-child(3) {
    grid-column: 5 / 7;
}

.deliverables-grid .deliverable-card:nth-child(4) {
    grid-column: 2 / 4;
}

.deliverables-grid .deliverable-card:nth-child(5) {
    grid-column: 4 / 6;
}

.deliverable-card {
    background: rgba(62, 74, 133, 0.15);
    border: 1px solid rgba(62, 74, 133, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
}

.deliverable-card:hover,
.deliverable-card.in-view {
    transform: translateY(-3px);
    border-color: #10E2FF;
    box-shadow: 0 6px 20px rgba(16, 226, 255, 0.2);
}

.deliverable-card .deliverable-icon {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(135deg, rgba(191, 0, 173, 0.25) 0%, rgba(16, 226, 255, 0.2) 100%);
    border: 1.5px solid transparent;
    border-radius: 6px;
    flex-shrink: 0;
    box-shadow: 
        0 0 0 1.5px rgba(191, 0, 173, 0.4),
        0 0 8px rgba(191, 0, 173, 0.25),
        0 0 12px rgba(16, 226, 255, 0.15),
        inset 0 0 4px rgba(16, 226, 255, 0.1);
    position: relative;
}

.deliverable-card .deliverable-icon svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.deliverable-card .deliverable-title {
    font-weight: 700;
    color: #10E2FF;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.deliverable-card .deliverable-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ============================================
   CUSTOMER JOURNEY MAP (CJM)
   ============================================ */

.cjm-container {
    background: rgba(62, 74, 133, 0.1);
    border: 1px solid rgba(191, 0, 173, 0.2);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
    position: relative;
    overflow-x: auto;
}

.cjm-header {
    margin-bottom: 2rem;
}

.cjm-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.cjm-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.cjm-timeline-wrapper {
    position: relative;
    min-height: 400px;
    padding: 2rem 0 1rem 0;
}

.cjm-timeline-line {
    position: absolute;
    bottom: 120px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #BF00AD, #10E2FF);
    z-index: 1;
}

.cjm-stages {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    min-height: 380px;
    padding-bottom: 100px;
    padding-top: 80px;
}

.cjm-stage {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0.5rem;
    min-width: 150px;
    max-width: 180px;
}

.cjm-stage-marker {
    position: absolute;
    bottom: 117px;
    width: 20px;
    height: 20px;
    background: #BF00AD;
    border: 4px solid #0F013F;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #BF00AD;
    z-index: 3;
}

.cjm-stage-time {
    position: absolute;
    bottom: 60px;
    font-size: 0.85rem;
    color: #10E2FF;
    font-weight: 600;
    white-space: nowrap;
}

.cjm-stage-action {
    position: absolute;
    bottom: 20px;
    background: rgba(62, 74, 133, 0.4);
    border: 1px solid rgba(62, 74, 133, 0.6);
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    width: 100%;
    max-width: 140px;
    line-height: 1.3;
}

.cjm-thought-bubble {
    position: absolute;
    top: 0;
    background: rgba(16, 226, 255, 0.15);
    border: 1px solid rgba(16, 226, 255, 0.4);
    border-radius: 12px;
    padding: 0.75rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    width: 100%;
    max-width: 180px;
    line-height: 1.4;
    z-index: 2;
    backdrop-filter: blur(5px);
}

.cjm-thought-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid rgba(16, 226, 255, 0.4);
}

.cjm-emotion-line {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, 
        rgba(16, 226, 255, 0.3) 0%,
        rgba(16, 226, 255, 0.5) 20%,
        rgba(16, 226, 255, 0.5) 40%,
        rgba(16, 226, 255, 0.5) 60%,
        rgba(16, 226, 255, 0.7) 80%,
        rgba(16, 226, 255, 0.8) 100%);
    z-index: 1;
}

.cjm-emotion-point {
    position: absolute;
    top: 52px;
    left: 50%;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(16, 226, 255, 0.15);
    border: 2px solid rgba(16, 226, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transform: translateX(-50%);
    box-shadow: 0 0 8px rgba(16, 226, 255, 0.3);
}

.cjm-emotion-face {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(16, 226, 255, 0.2);
    border: 2px solid #10E2FF;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
}

.cjm-cta-section {
    margin-top: 2rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(62, 74, 133, 0.5);
}

/* Адаптивность новых элементов */
@media (max-width: 768px) {
    .stats-section-title {
        font-size: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .stats-section {
        margin-top: 1.5rem;
    }
    
    .stats-title-icon {
        width: 36px;
        height: 36px;
    }
    
    .stats-title-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .stats-grid .stat-card {
        padding: 1.75rem 1.25rem;
    }
    
    .stats-grid .stat-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }
    
    .stats-grid .stat-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .stats-grid .stat-card-number .stat-number {
        font-size: 2.75rem;
    }
    
    .stats-grid .stat-number-license {
        font-size: 2rem;
    }
    
    .stats-grid .stat-card .stat-label {
        font-size: 0.875rem;
    }
    
    .section-cards {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    .section-cards:has(.section-card:nth-child(5)) .section-card {
        grid-column: 1 / -1 !important;
    }
    
    .organizations-grid {
        grid-template-columns: 1fr;
    }
    
    .deliverables-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    .deliverables-grid .deliverable-card {
        grid-column: 1 / -1 !important;
    }
    
    .timeline-step-number {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.1rem;
    }
    
    .timeline-item {
        gap: 1rem;
        padding-bottom: 2rem;
    }
    
    .timeline-content-wrapper {
        padding-top: 0;
    }
    
    .custom-lead-form {
        padding: 1.5rem;
        margin: 1.5rem auto;
    }
    
    .custom-lead-form h3 {
        padding-top: 0 !important;
    }
    
    /* Адаптивность страницы кейсов */
    .cases-header {
        margin-bottom: 2rem;
    }
    
    .cases-header h1 {
        font-size: 2rem;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .case-card {
        padding: 1.5rem;
        margin-bottom: 0;
    }
    
    .case-card .case-header {
        gap: 0.875rem;
        margin-bottom: 1.25rem;
        padding-bottom: 1.25rem;
    }
    
    .case-card .case-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }
    
    .case-card .case-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .case-card .case-title {
        font-size: 1.15rem;
        line-height: 1.35;
    }
    
    .case-card .case-meta {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.875rem;
    }
    
    .cases-cta {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .cases-cta .cta-buttons {
        flex-direction: column;
    }
    
    .cases-cta .cta-buttons .btn {
        width: 100%;
    }
    
    .hero-simple-title {
        font-size: 2rem;
    }
    
    .hero-simple-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-simple-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .hero-step {
        padding: 1.5rem 1.25rem;
    }
    
    .hero-step-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .hero-step-title {
        font-size: 1.1rem;
    }
    
    .hero-step-description {
        font-size: 0.9rem;
    }
}

/* Блок партнеров */
.partners-section {
    margin: 1.5rem 0 3rem 0;
    padding: 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 240px);
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    justify-items: center;
    margin: 0;
}

.partner-item {
    width: 240px;
    max-width: 240px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(191, 0, 173, 0.6) 0%, rgba(16, 226, 255, 0.5) 100%);
    border: 1.5px solid rgba(191, 0, 173, 0.3);
    border-radius: 16px;
    padding: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    box-shadow: 
        0 0 0 1px rgba(191, 0, 173, 0.2),
        0 2px 8px rgba(191, 0, 173, 0.15),
        0 0 12px rgba(16, 226, 255, 0.1),
        inset 0 0 4px rgba(16, 226, 255, 0.05);
}

.partner-item:nth-child(1) { animation-delay: 0.05s; }
.partner-item:nth-child(2) { animation-delay: 0.1s; }
.partner-item:nth-child(3) { animation-delay: 0.15s; }
.partner-item:nth-child(4) { animation-delay: 0.2s; }
.partner-item:nth-child(5) { animation-delay: 0.25s; }
.partner-item:nth-child(6) { animation-delay: 0.3s; }
.partner-item:nth-child(n+7) { animation-delay: 0.35s; }

.partner-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #BF00AD 0%, #10E2FF 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.partner-item:hover::before,
.partner-item.in-view::before {
    opacity: 1;
}

.partner-item:hover,
.partner-item.in-view {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(191, 0, 173, 0.4);
    box-shadow: 
        0 0 0 1px rgba(191, 0, 173, 0.3),
        0 4px 12px rgba(191, 0, 173, 0.2),
        0 0 16px rgba(16, 226, 255, 0.15),
        inset 0 0 6px rgba(16, 226, 255, 0.08);
    background: linear-gradient(135deg, rgba(191, 0, 173, 0.7) 0%, rgba(16, 226, 255, 0.6) 100%);
}

.partner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    background: transparent;
    border-radius: 10px;
    padding: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    backdrop-filter: none;
    position: relative;
}

.partner-link::before {
    display: none;
}

.partner-item:hover .partner-link::before {
    display: none;
}

.partner-item:hover .partner-link {
    background: transparent;
    border: none;
    box-shadow: none;
}

.partner-logo {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: grayscale(100%) brightness(1.3) contrast(1.2);
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.partner-item:hover .partner-logo {
    transform: scale(1.08);
    filter: grayscale(0%) brightness(1.3) contrast(1.2);
    opacity: 1;
}

.partner-placeholder {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    text-align: center;
    font-weight: 500;
    transition: color 0.3s ease;
}

.partner-item:hover .partner-placeholder {
    color: rgba(255, 255, 255, 0.95);
}

/* Планшет */
@media (max-width: 1024px) and (min-width: 769px) {
    .partners-grid {
        grid-template-columns: repeat(auto-fill, 220px);
        gap: 1.25rem;
    }
    
    .partner-item {
        width: 220px;
        max-width: 220px;
        height: 130px;
    }
}

/* Мобильная версия - 2 колонки */
@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        justify-content: stretch !important;
    }
    
    .partner-item {
        width: 100% !important;
        max-width: 100% !important;
        height: 110px;
        padding: 1rem;
        grid-column: auto !important;
    }
    
    .partner-link {
        padding: 0.75rem;
    }
}

/* Cookies баннер */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(15, 1, 63, 0.98) 0%, rgba(30, 5, 80, 0.98) 100%);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(191, 0, 173, 0.3);
    padding: 1.5rem 20px;
    z-index: 10000;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner.hide {
    transform: translateY(100%);
    opacity: 0;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-policy-link {
    color: #10E2FF;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-policy-link:hover {
    color: #BF00AD;
}

.cookie-banner-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-cookie-accept,
.btn-cookie-decline {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    font-family: 'Inter', sans-serif;
}

.btn-cookie-accept {
    background: linear-gradient(135deg, #BF00AD 0%, #10E2FF 100%);
    color: #ffffff;
    border-color: rgba(191, 0, 173, 0.5);
}

.btn-cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(191, 0, 173, 0.4);
    border-color: rgba(191, 0, 173, 0.7);
}

.btn-cookie-decline {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-cookie-decline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Адаптивность для cookies баннера */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 1.25rem 20px;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .cookie-banner-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .btn-cookie-accept,
    .btn-cookie-decline {
        width: 100%;
    }
}

/* Кнопка политики обработки ПДн в футере */
.footer-policy-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border: 1px solid rgba(191, 0, 173, 0.3);
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    background: rgba(191, 0, 173, 0.1);
}

.footer-policy-link:hover {
    color: #ffffff;
    border-color: rgba(191, 0, 173, 0.6);
    background: rgba(191, 0, 173, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(191, 0, 173, 0.3);
}
