/* Базовые настройки и переменные */
:root {
    --bg-main: rgba(255, 255, 255, 0.8);
    --bg-light: rgba(248, 250, 252, 0.6);
    --glass-blur: blur(8px);

    --text-main: #0f172a;
    --text-muted: #64748b;

    --accent: #2563eb;
    /* Основной синий */
    --accent-hover: #1d4ed8;
    --accent-gradient: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    /* Чистый синий градиент */
    --accent-light: rgba(37, 99, 235, 0.05);

    --border-color: rgba(226, 232, 240, 0.5);
    --border-radius: 12px;
    --border-radius-lg: 24px;

    --transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05);

    /* Fluid Typography - Масштабируемые шрифты */
    --font-h1: clamp(2.5rem, 5vw + 1rem, 4.5rem);
    --font-h2: clamp(2rem, 4vw + 0.5rem, 3.5rem);
    --font-h3: clamp(1.2rem, 2vw + 0.2rem, 1.8rem);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: #fefeff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Глобальная атмосфера */
.ambient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background-color: #fefeff;
    overflow: hidden;
    pointer-events: none;
    transform: translateZ(0); /* Force GPU */
}

.ambient-blob {
    position: absolute;
    width: 70vw;
    height: 70vw;
    border-radius: 50%;
    /* Удален тяжелый filter: blur, используем градиент */
    opacity: 0.1;
    will-change: transform;
    pointer-events: none;
}

.blob-1 {
    background: radial-gradient(circle, #3b82f6, transparent 70%);
    top: -15%;
    left: -15%;
    animation: blobFloat 30s infinite alternate;
}

.blob-2 {
    background: radial-gradient(circle, #2563eb, transparent 70%);
    bottom: -15%;
    right: -15%;
    animation: blobFloat 35s infinite alternate-reverse;
}

.blob-3 {
    background: radial-gradient(circle, #3b82f6, transparent 70%);
    top: 50%;
    left: 30%;
    width: 50vw;
    height: 50vw;
    animation: blobFloat 25s infinite alternate;
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    100% {
        transform: translate(150px, 80px) scale(1.1) rotate(10deg);
    }
}

.ambient-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Сверх-минималистичная архитектурная разметка (Lines + Dots) */
    background-image:
        radial-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px),
        linear-gradient(to right, rgba(37, 99, 235, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(37, 99, 235, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    /* Увеличенный шаг для минимализма */
    opacity: 1;
}

.ambient-noise {
    display: none; /* Removed for performance */
}

/* Дизайнерский декор */
.cursor-aura {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -5;
    transform: translate3d(-100%, -100%, 0);
    will-change: transform;
}

.ambient-beams {
    display: none; /* Removed for performance */
}

@keyframes beamsMove {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(100px, 100px);
    }
}

/* Мобильная оптимизация: отключаем тяжелое */
@media (max-width: 768px) {

    .ambient-blob,
    .ambient-beams,
    .ambient-noise,
    .ambient-grid {
        display: none !important;
    }

    :root {
        --glass-blur: none;
        --bg-main: #ffffff;
        --bg-light: #f8fafc;
    }

    section {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .cursor-aura {
        display: none !important;
    }
}


/* Базовые настройки секций */
section {
    position: relative;
    overflow: hidden;
}

/* Глобальный архитектурный паттерн убран из секций и перенесен в body для бесшовности */
section:not(.hero) {
    background: transparent;
}

.sc-tl {
    top: 2rem;
    left: 2rem;
    border-right: 0;
    border-bottom: 0;
}

.sc-br {
    bottom: 2rem;
    right: 2rem;
    border-left: 0;
    border-top: 0;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Типографика */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

h1 {
    font-size: var(--font-h1);
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    will-change: transform, opacity;
}

h2 {
    font-size: var(--font-h2);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h3 {
    font-size: var(--font-h3);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-light {
    background-color: var(--bg-light);
}

section {
    padding: 7rem 0;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    /* Разделительная полоса удалена для бесшовности */
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    /* Более современный радиус вместо 50px */
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    gap: 10px;
    letter-spacing: 0.3px;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #1e40af 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2),
        0 0 0 0 rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3),
        0 0 0 4px rgba(37, 99, 235, 0.1);
}

.btn-secondary {
    background: rgba(37, 99, 235, 0.05);
    /* Glass variant */
    color: var(--accent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.btn-secondary:hover {
    background: rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
    border-color: var(--accent);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(37, 99, 235, 0.02);
    transform: translateY(-2px);
}

.full-width {
    width: 100%;
}

/* Навигация */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    /* Фиксированная высота для стабильности */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    z-index: 1100;
}

.logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-text strong {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo-text span {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 3px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 18px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--accent);
    background: var(--accent-light);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.desk-cta {
    padding: 12px 24px;
    font-size: 0.9rem;
}

/* Burger Toggle */
.burger-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 14px;
    cursor: pointer;
    z-index: 1200;
    transition: all 0.3s ease;
}

.burger-bar {
    width: 22px;
    height: 2px;
    background-color: var(--accent);
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.burger-toggle.active {
    background: var(--accent);
}

.burger-toggle.active .burger-bar {
    background-color: #fff;
}

.burger-toggle.active .burger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger-toggle.active .burger-bar:nth-child(2) {
    opacity: 0;
}

.burger-toggle.active .burger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-menu .mobile-cta {
    display: none;
}

@media (max-width: 1024px) {
    .nav-right {
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .burger-toggle {
        display: flex;
    }

    .desk-cta {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1050;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li a {
        font-size: 1.8rem;
        padding: 15px;
    }

    .nav-menu .mobile-cta {
        display: block;
        width: 80%;
        margin-top: 2rem;
    }

    .nav-menu .mobile-cta .btn {
        width: 100%;
        padding: 20px;
        color: #fff;
        /* Белый текст на синей кнопке */
    }
}

/* Hero */
.hero {
    padding: 12rem 0 6rem;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    /* Скрываем сетку на обложке */
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.typing-text {
    color: var(--text-main);
}

.cursor {
    display: inline-block;
    color: var(--accent);
    font-weight: 300;
    margin-left: 4px;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 540px;
}


/* Обертка для кнопок и микротекста */
.hero-cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon {
    transform: translateX(4px);
}

/* Пульсирующая кнопка */
.btn-pulse {
    position: relative;
    overflow: visible;
    /* Чтобы видно было свечение снаружи */
}

.btn-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5);
    animation: pulseGlow 2s infinite cubic-bezier(0.66, 0, 0, 1);
    pointer-events: none;
}

@keyframes pulseGlow {
    to {
        box-shadow: 0 0 0 15px rgba(37, 99, 235, 0);
    }
}


/* Блок доверия - Премиум стиль под обложку */
.hero-trust {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.85);
    padding: 8px 24px 8px 8px;
    border-radius: 50px;
    gap: 1.5rem; /* Increased gap for 3 components */
    border: 1px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    width: fit-content;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.08);
    animation: fadeIn 1s ease 1s both;
    position: relative;
    z-index: 10;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    will-change: transform;
}

.hero-trust:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.12);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

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

.trust-avatars {
    display: flex;
    align-items: center;
}

.trust-avatars img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    margin-left: -14px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), z-index 0.3s;
    position: relative;
}

.trust-avatars img:first-child {
    margin-left: 0;
}

/* Правильный порядок наслоения */
.trust-avatars img:nth-child(1) {
    z-index: 4;
}

.trust-avatars img:nth-child(2) {
    z-index: 3;
}

.trust-avatars img:nth-child(3) {
    z-index: 2;
}

.trust-avatars img:nth-child(4) {
    z-index: 1;
}

.trust-avatars img:hover {
    transform: translateY(-4px) scale(1.05);
    z-index: 10 !important;
}

.avatar-more {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    border: 3px solid #fff;
    margin-left: -14px;
    z-index: 0;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.trust-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.trust-stars {
    display: flex;
    gap: 2px;
    color: #f59e0b;
    /* Более дорогой золотой */
}

.trust-stars svg {
    width: 14px;
    height: 14px;
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.3));
    /* Легкое свечение */
}

.trust-info p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-main);
    font-weight: 500;
    line-height: 1.2;
}

.trust-info span {
    font-weight: 800;
    font-size: 1rem;
    color: var(--accent);
}

.hero-trust-btn {
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    background: rgba(37, 99, 235, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.hero-trust-btn:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
}

/* Адаптив для блока доверия */
@media (max-width: 576px) {
    .hero-trust {
        padding: 10px 16px;
        /* Чуть меньше отступы */
        border-radius: 20px;
        /* Вместо жесткой пилюли делаем скругленный прямоугольник */
        flex-direction: row;
        /* Оставляем в строку, пилюля влезает на экраны 360+ px */
        flex-wrap: wrap;
        gap: 1rem;
    }
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    position: relative;
    right: 0;
    height: auto;
    width: 100%;
    max-width: 480px;
    /* Уменьшил размер */
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.1));
    transform: perspective(1000px) rotateY(-3deg) scale(1);
    /* Убрал лишнее увеличение */
    transition: transform 0.5s ease, filter 0.5s ease;
    z-index: 1;
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
    /* Почти не увеличивается, только легкий поворот */
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
}

/* Парящие иконки */
.hero-floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

/* Продающие парящие карточки статистики */
.floating-stat {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    /* Глубокая тень */
    z-index: 15;
    animation: floatStat 6s ease-in-out infinite;
    pointer-events: none;
    /* Чтобы не мешали */
}

/* Расположение карточек */
.stat-roi {
    top: 5%;
    left: -15%;
    animation-delay: -1s;
}

.stat-leads {
    bottom: 25%;
    right: -20%;
    animation-delay: -3s;
}

@keyframes floatStat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-icon-green {
    background: rgba(16, 185, 129, 0.1);
    /* Emerald 500 */
    color: #10b981;
}

.stat-text {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Интерактивная палитра платформ */
.platforms-palette {
    position: absolute;
    bottom: 25px;
    /* Поднял узел повыше, чтобы было точно видно поверх всего */
    left: 20px;
    width: 65px;
    height: 65px;
    z-index: 50;
    /* Повысил z-index для страховки */
    cursor: pointer;
    perspective: 1000px;
}

.palette-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(226, 232, 240, 0.4);
    /* Сделал границу тоньше/нежнее */
    border-radius: 12px;
    padding: 6px;
    /* Уменьшил подложку, чтобы иконка занимала больше места */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    /* Строгая оптимизация анимации: анимируем только GPU-ускоряемые свойства */
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease, box-shadow 0.4s ease;
    transform-origin: bottom left;
    will-change: transform, opacity;
    /* Подсказка браузеру вынести это на видеокарту */
}

.palette-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    /* Убирает белые фоны картинок */
    pointer-events: none;
}

/* Визуально выравниваем (взаимовозмещаем) пропорции разных по форме логотипов */
.pc-vk img {
    transform: scale(0.9);
}

/* VK обычно квадратичный и крупный */
.pc-yandex img {
    transform: scale(0.95);
}

.pc-avito img {
    transform: scale(1.15);
}

/* Avito обычно вытянутый и кажется мелким */

/* Исходное состояние: сложены веером (используем только transform!) */
.pc-avito {
    transform: translate(0px, 0px) rotate(0deg);
    z-index: 3;
}

.pc-yandex {
    transform: translate(5px, 2px) rotate(10deg) scale(0.95);
    z-index: 2;
    opacity: 0.9;
}

.pc-vk {
    transform: translate(10px, 4px) rotate(20deg) scale(0.9);
    z-index: 1;
    opacity: 0.8;
}

/* Невидимый "якорь" для мышки, чтобы анимация не прерывалась */
.platforms-palette::after {
    content: '';
    position: absolute;
    top: -10px;
    bottom: -10px;
    left: -10px;
    right: -10px;
    z-index: 0;
}

/* Ховер состояние: палитра раскрывается плотнее, без дыр для мышки */
.platforms-palette:hover::after {
    right: -120px;
    /* Расширяем зону удержания мыши направо */
}

.platforms-palette:hover .pc-avito {
    transform: translate(-10px, -5px) rotate(-5deg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.platforms-palette:hover .pc-yandex {
    transform: translate(45px, -2px) rotate(0deg) scale(1);
    opacity: 1;
    z-index: 4;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.platforms-palette:hover .pc-vk {
    transform: translate(100px, 3px) rotate(5deg) scale(1);
    opacity: 1;
    z-index: 5;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .platforms-palette {
        display: none !important;
        /* Скрываем палитру платформ на мобильных */
    }

    .hero-floating-icons,
    .floating-stat {
        display: none !important;
        /* Скрываем парящие иконки/статистику на мобильных */
    }
}

/* Бегущие строки */
.marquee-container {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    padding: 1.5rem 0;
    display: flex;
    white-space: nowrap;
    position: relative;
}

.accent-marquee {
    background: var(--accent);
    color: #fff;
    border: none;
}

.marquee-content {
    display: inline-flex;
    animation: marquee 30s linear infinite;
    will-change: transform;
    flex-shrink: 0;
}

.marquee-content.reverse {
    animation: marquee-reverse 25s linear infinite;
}

.marquee-content span {
    font-size: 1.125rem;
    font-weight: 700;
    padding-right: 2rem;
    letter-spacing: 1px;
    flex-shrink: 0;
    white-space: nowrap;
}

.accent-marquee .marquee-content span {
    color: #fff;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marquee-reverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* --- Секция: Боли клиентов (Bento Redesign) --- */
.pains-section {
    padding: 100px 0 60px;
}

.pains-header {
    text-align: center;
    margin-bottom: 4rem;
}

.pains-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 15px;
    color: var(--text-main);
    letter-spacing: -1px;
}

.pains-header p {
    font-size: 1.15rem;
    color: var(--accent);
    font-weight: 600;
}

.pains-bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: 24px;
    position: relative;
    z-index: 2;
}

.pain-bento-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02), inset 0 0 0 1px rgba(255,255,255,0.5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
    z-index: 1;
}

.pain-bento-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.08);
}

.pb-wide {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

.pb-content {
    flex: 1;
    z-index: 2;
    position: relative;
}

.pb-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    animation: dotPulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes dotPulse {
    to { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
}

.pain-bento-card h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
    color: var(--text-main);
}

.pain-bento-card h3 span {
    color: #ef4444;
}

.pain-bento-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 95%;
}

/* Динамический свет сзади карточки */
.pb-visual-bg-glow {
    position: absolute;
    top: 50%;
    right: 0;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    transform: translate(30%, -50%);
    filter: blur(80px);
    z-index: 0;
    opacity: 0.4;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
}

.pain-bento-card:hover .pb-visual-bg-glow {
    opacity: 0.8;
    transform: translate(30%, -50%) scale(1.1);
}

.glow-red { background: rgba(239, 68, 68, 0.25); }
.glow-orange { background: rgba(249, 115, 22, 0.25); }
.glow-purple { background: rgba(168, 85, 247, 0.25); }


/* Визуалы (Fake UI) */
.pb-visual {
    position: relative;
    flex-shrink: 0;
    z-index: 10;
    /* Ультра-премиальный фон в точку с анимацией движения */
    background-color: #f8fafc;
    background-image: 
        radial-gradient(rgba(15, 23, 42, 0.05) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    overflow: hidden;
    animation: panTechGrid 30s linear infinite;
}

/* Эффект матового стекла на фоне сетки */
.pb-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.8);
    border-radius: inherit;
    pointer-events: none;
    z-index: 5;
}

.pb-viz-inner {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
}

@keyframes panTechGrid {
    0% { background-position: 0 0; }
    100% { background-position: 32px 32px; }
}

/* === Карточка 1: Слив бюджета / Уведомления === */
.pb-wide .pb-visual {
    width: 45%;
    padding: 24px;
}
.pb-wide .pb-viz-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mock-notification {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04), inset 0 0 0 1px rgba(226, 232, 240, 0.8);
    position: relative;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.mock-notification.error {
    z-index: 2;
}

.mock-notification.warning {
    z-index: 1;
    transform: scale(0.95);
    opacity: 0.9;
    margin-top: -8px;
    background: #f8fafc;
}

.mn-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.mock-notification.error .mn-icon {
    background: rgba(239, 68, 68, 0.1);
}

.mock-notification.warning .mn-icon {
    background: rgba(245, 158, 11, 0.1);
}

.mn-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mn-text strong {
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 700;
}

.mn-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.pain-bento-card:hover .mock-notification.error {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
}

.pain-bento-card:hover .mock-notification.warning {
    transform: scale(0.97) translateY(4px);
}


/* === Карточка 2: Демпинг / Фейковая выдача === */
.pb-search-mockup {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
}

.sm-card {
    display: flex;
    gap: 12px;
    background: #ffffff;
    padding: 12px;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sm-competitor {
    position: relative;
    z-index: 2;
}

.sm-yours {
    background: #f8fafc;
    opacity: 0.7;
    transform: scale(0.96);
}

.sm-thumb {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    flex-shrink: 0;
}

.bg-red { background: linear-gradient(135deg, #fca5a5, #ef4444); }
.bg-blue { background: #e2e8f0; }

.sm-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.sm-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
}

.sm-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ef4444; /* Цена конкурента красная */
}

.sm-price span {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 6px;
    font-weight: 500;
}

.sm-yours .sm-price {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Эффект наведения - конкурент наступает */
.pain-bento-card:hover .sm-competitor {
    transform: scale(1.05) translateX(-5px);
    box-shadow: 0 15px 30px rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
}

.pain-bento-card:hover .sm-yours {
    opacity: 0.4;
    transform: scale(0.92) translateX(10px);
}


/* === Карточка 3: Рутина / Спам ჩატი === */
.pb-chat-spam {
    margin-top: 24px;
    padding: 24px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.spam-msgs-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.spam-msg {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    transform: translateY(20px);
    opacity: 0.6;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.spam-avatar {
    width: 28px;
    height: 28px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
    flex-shrink: 0;
}

.spam-bubble {
    background: #ffffff;
    padding: 10px 14px;
    border-radius: 16px 16px 16px 4px;
    font-size: 0.85rem;
    color: var(--text-main);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.spam-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
    transform: scale(1);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Эффект наведения - Спам сыпется */
.pain-bento-card:hover .spam-msg.delay-a {
    transform: translateY(-5px);
    opacity: 1;
}

.pain-bento-card:hover .spam-msg.delay-b {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.1s;
}

.pain-bento-card:hover .spam-badge {
    transform: scale(1.15) rotate(5deg);
}

/* Конверсионный инжект (CTA) */
.pains-cta {
    margin-top: 40px;
    background: #ffffff;
    border-radius: 24px;
    padding: 32px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.08), inset 0 0 0 1px rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
}

.pains-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at right, rgba(37, 99, 235, 0.05), transparent 60%);
    pointer-events: none;
}

.pc-content h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
}

.pc-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
    max-width: 600px;
}

@media (max-width: 992px) {
    .pains-bento {
        grid-template-columns: 1fr;
    }
    .pb-wide {
        grid-column: span 1;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .pb-wide .pb-visual {
        width: 100%;
    }
    .pain-bento-card:hover {
        transform: none !important;
    }
    .pains-cta {
        flex-direction: column;
        text-align: left;
        padding: 24px;
        align-items: stretch;
    }
    .pains-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

#process {
    padding: 100px 0;
    position: relative;
    /* Убрали overflow: hidden; чтобы фоновое свечение (::before) 
       плавно перетекало вверх без резких обрезанных краев */
    z-index: 0;
}

/* Огромные размытые сферы на фоне секции для объема */
#process::before,
#process::after {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
}

#process::before {
    top: -200px;
    left: -300px;
    background: rgba(37, 99, 235, 0.15);
}

#process::after {
    bottom: 0;
    right: -300px;
    background: rgba(147, 197, 253, 0.15);
}

/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(min-content, max-content);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.card-wide {
    grid-column: span 2;
}

@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .card-wide {
        grid-column: auto;
    }
}

/* Premium Card Glassmorphism */
#process .card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 28px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease, border-color 0.5s ease, background-color 0.5s ease;
    will-change: transform, box-shadow;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.02),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

#process .card>*:not(.card-glow) {
    position: relative;
    z-index: 2;
    /* Защита текста от перекрытия фоновыми эффектами */
}

#process .card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.65);
    border-color: rgba(255, 255, 255, 1);
    box-shadow:
        0 20px 40px -10px rgba(37, 99, 235, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 1);
}

/* Деликатный эффект пролетающего блика (Sweep Shine) */
.card-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.7), transparent);
    transform: skewX(-20deg);
    z-index: 1;
    /* Под текстом, но над фоном карточки */
    pointer-events: none;
    opacity: 0;
}

#process .card:hover .card-glow {
    animation: shineSweep 0.8s ease-in-out forwards;
}

@keyframes shineSweep {
    0% {
        left: -100%;
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    100% {
        left: 200%;
        opacity: 0;
    }
}

/* Giant Number Watermark inside cards (Заполняет "пустоту" в пространстве карточки) */
#process .card:nth-child(1)::after {
    content: '01';
}

#process .card:nth-child(2)::after {
    content: '02';
}

#process .card:nth-child(3)::after {
    content: '03';
}

#process .card:nth-child(4)::after {
    content: '04';
}

#process .card:nth-child(5)::after {
    content: '05';
}

#process .card:nth-child(6)::after {
    content: '06';
}

#process .card::after {
    position: absolute;
    bottom: -15px;
    right: 5px;
    font-size: 9rem;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.03;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

#process .card:hover::after {
    opacity: 0.06;
    transform: scale(1.05) translate(-10px, -5px);
}

/* Header & Badge */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.step-badge {
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

/* Icon Modernization */
#process .card-icon {
    width: 60px;
    height: 60px;
    background: #fff;
    color: var(--accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

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

#process .card:hover .card-icon {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

/* Content Typography */
.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
    transition: color 0.3s ease;
}

#process .card:hover .card-content h3 {
    color: var(--accent);
}

.card-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* CTA Mini Card (Bonus Filler) */
/* CTA Mini Card (Bonus Filler) */
#process .cta-mini-card,
#process .cta-mini-card:hover {
    background: linear-gradient(135deg, var(--accent), #1e3a8a);
    color: #fff;
    border: none;
    border-color: transparent;
}

#process .cta-mini-card {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    will-change: transform;
}

/* Отключаем белую наведенную рамку и цифру-водяной знак для этой карточки */
#process .cta-mini-card::after {
    display: none;
}

/* Разрешаем блик для cta карточки без перекрытий */
#process .cta-mini-card {
    overflow: hidden;
}

.centered-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bonus-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#process .cta-mini-card h3,
#process .cta-mini-card:hover .card-content h3 {
    color: #fff;
    font-size: 1.45rem;
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

#process .cta-mini-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.btn-arrow-only {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    will-change: transform, box-shadow;
}

.btn-arrow-only:hover {
    transform: translateY(-3px);
    background-color: #fff;
    color: var(--accent);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Neon Solution Banner */
.solution-banner {
    margin-top: 5rem;
    background: #0f172a;
    border-radius: 32px;
    padding: 6rem 3rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 40px 100px rgba(15, 23, 42, 0.4);
}

.banner-neon-glow {
    position: absolute;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.3) 0%, rgba(15, 23, 42, 0) 60%);
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 1;
}

.solution-content {
    position: relative;
    z-index: 5;
    max-width: 800px;
}

.solution-text h3 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.solution-text h3 span {
    color: transparent;
    background: linear-gradient(135deg, #93c5fd, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
}

.solution-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.banner-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3.5rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.b-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.b-stat strong {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.b-stat span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .banner-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .b-stat strong {
        font-size: 2rem;
    }
}

.solution-banner .btn-primary {
    background: #fff;
    color: #0f172a;
    padding: 18px 52px;
    font-size: 1.1rem;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.solution-banner .btn-primary:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.4);
}

/* Блок: Обо мне (About Redesign) */
.about-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-image-wrap {
    position: relative;
    width: 100%;
    max-width: 440px;
    z-index: 1;
}

.about-image-wrap img {
    width: 100%;
    height: auto;
    border-radius: 32px;
    box-shadow: 
        0 30px 60px -15px rgba(15, 23, 42, 0.2),
        0 0 0 1px rgba(255, 255, 255, 1) inset;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-image-wrap:hover img {
    transform: translateY(-10px) scale(1.02);
}

/* Experience Badge */
.about-exp-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 24px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 10;
    animation: aboutBadgeFloat 4s ease-in-out infinite;
}

@keyframes aboutBadgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.exp-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-gradient);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.2);
}

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

.exp-text {
    display: flex;
    flex-direction: column;
}

.about-exp-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

.about-exp-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Content */
.about-content h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.about-lead-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.about-highlights {
    display: grid;
    gap: 1.5rem;
}

.about-highlight-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.about-highlight-item:hover {
    background: #fff;
    transform: translateX(10px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.05);
}

.about-highlight-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-highlight-icon svg {
    width: 24px;
    height: 24px;
}

.about-highlight-item strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 2px;
}

.about-highlight-item span {
    font-size: 0.95rem;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image-wrap {
        max-width: 360px;
    }
    
    .about-exp-badge {
        right: 0;
        bottom: 10px;
    }
    
    .about-highlight-item {
        text-align: left;
    }
    
    .about-content h2 {
        font-size: 2.2rem;
    }
}

/* Certificate Section (Modern Redesign) */
.certificate-section {
    padding: 100px 0;
    position: relative;
}

.cert-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.cert-text h2 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.cert-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cert-list {
    list-style: none;
    margin-bottom: 3rem;
    display: grid;
    gap: 1.5rem;
}

.cert-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.1rem;
    font-weight: 500;
}

.cert-icon-box {
    width: 44px;
    height: 44px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.cert-list li:hover .cert-icon-box {
    transform: scale(1.1) rotate(5deg);
    background: var(--accent);
    color: #fff;
}

.cert-actions {
    display: flex;
    gap: 1rem;
}

/* Certificate 3D Glass Card */
.cert-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cert-3d-wrap {
    position: relative;
    perspective: 2000px;
    width: 100%;
    max-width: 420px;
    z-index: 10;
}

.cert-card-glass {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 12px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    transform: rotateY(-15deg) rotateX(10deg) rotateZ(2deg);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.cert-3d-wrap:hover .cert-card-glass {
    transform: rotateY(0deg) rotateX(0deg) rotateZ(0deg) scale(1.05);
}

.cert-card-glass img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    /* Убираем фон самого изображения (если оно на белом, то сливается с glass) */
    mix-blend-mode: multiply;
    /* Опционально: помогает убрать белый фон JPG */
}

.cert-verified-seal {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 64px;
    height: 64px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
    border: 4px solid #fff;
    z-index: 20;
    transform: translateZ(40px);
}

.cert-verified-seal svg {
    width: 32px;
    height: 32px;
}

/* Tags */
.cert-status-tag {
    position: absolute;
    padding: 8px 16px;
    background: #0f172a;
    color: #fff;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    z-index: 15;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    animation: certTagFloat 4s ease-in-out infinite;
}

.tag-top {
    top: -15px;
    left: -20px;
    background: var(--accent);
}

.tag-bottom {
    bottom: 30px;
    right: -30px;
    animation-delay: -2s;
}

@keyframes certTagFloat {

    0%,
    100% {
        transform: translateY(0) translateZ(50px);
    }

    50% {
        transform: translateY(-12px) translateZ(50px);
    }
}

@media (max-width: 992px) {
    .cert-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .cert-text h2 {
        font-size: 2.2rem;
    }

    .cert-list {
        justify-items: center;
    }

    .cert-actions {
        justify-content: center;
    }

    .cert-card-glass {
        transform: none;
    }

    .tag-bottom {
        right: 0;
    }
}

/* Блок: Форматы работы (Services Redesign) */
.services {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    align-items: stretch;
}

.service-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 32px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.03),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 30px 60px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.2);
}

.service-card.popular {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--accent);
    transform: scale(1.08);
    /* Выдвинули чуть больше вперед */
    z-index: 10;
    box-shadow:
        0 40px 100px rgba(37, 99, 235, 0.2),
        0 0 0 1px rgba(37, 99, 235, 0.3) inset;
}

.service-card.popular:hover {
    transform: scale(1.1) translateY(-8px);
}

/* Теги и бейджи */
.service-tag {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.accent-tag {
    color: var(--accent);
}

.popular-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Цена */
.price-wrapper {
    margin: 20px 0;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-muted);
}

.price-value {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1;
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.popular .price-value {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.service-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 24px;
}

/* Список услуг */
.service-list {
    list-style: none;
    margin-bottom: 30px;
    display: grid;
    gap: 12px;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #334155;
}

.check-icon {
    width: 20px;
    height: 20px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.accent-check {
    background: var(--accent);
    color: #fff;
}

/* Анимированное свечение для хита */
.fire-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
    animation: popularGlow 4s ease-in-out infinite;
}

@keyframes popularGlow {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card.popular {
        grid-column: span 2;
        order: -1;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card.popular {
        grid-column: span 1;
        transform: none;
    }

    .service-card.popular:hover {
        transform: translateY(-5px);
    }

    .price-value {
        font-size: 2.8rem;
    }
}

/* Блок: Кейсы */
.cases {
    position: relative;
    padding: 100px 0;
}

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

.cases-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
}

.slider-controls {
    display: flex;
    gap: 12px;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.slider-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(37, 99, 235, 0.2);
}

.cases-slider-3d {
    position: relative;
    width: 100%;
    height: 740px;
    margin: 2rem auto 0;
    overflow: visible;
    padding-top: 15px; /* Запас для hover-подъёма карточки */
}

.case-card {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(480px, 90vw);
    /* Адаптивная ширина вместо жестких 480px */
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.5s ease,
        filter 0.5s ease,
        box-shadow 0.3s ease;
    will-change: transform, opacity, filter, box-shadow;

    transform: translate(-50%, 0) scale(0.6);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

.case-card.active {
    transform: translate(-50%, 0) scale(1);
    opacity: 1;
    filter: blur(0);
    z-index: 3;
    pointer-events: auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Наведение на активную карточку */
.case-card.active:hover {
    transform: translate(-50%, -8px) scale(1);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.18);
}

.case-card.prev {
    transform: translate(-120%, 0) scale(0.85);
    opacity: 0.6;
    filter: blur(3px);
    z-index: 2;
    pointer-events: auto;
    cursor: pointer;
}

.case-card.next {
    transform: translate(20%, 0) scale(0.85);
    opacity: 0.6;
    filter: blur(3px);
    z-index: 2;
    pointer-events: auto;
    cursor: pointer;
}

.case-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

.case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
                filter 0.6s ease;
}

.case-card.active:hover .case-img img {
    filter: brightness(1.08) saturate(1.15) contrast(1.05);
}

.case-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    color: white;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.case-badge {
    position: absolute;
    bottom: 0;
    right: 20px;
    background: var(--accent);
    color: white;
    padding: 10px 18px;
    border-radius: 12px 12px 0 0;
    font-size: 0.95rem;
    font-weight: 800;
    box-shadow: 0 -5px 20px rgba(37, 99, 235, 0.2);
    z-index: 3;
    animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.case-info {
    padding: 2rem;
    /* Оптимизирован отступ */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.9));
}

.case-info h3 {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.case-task {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.case-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-item .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 700;
}

.stat-item .value {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
    white-space: nowrap;
}

.stat-item.highlight {
    grid-column: span 2;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(37, 99, 235, 0.15));
    border-radius: 20px;
    border: 1px solid rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.5);
}

.stat-item.highlight .label {
    font-size: 0.85rem;
    color: var(--accent);
    flex-shrink: 0;
}

.stat-item.highlight .value {
    color: transparent;
    background: linear-gradient(135deg, var(--accent), #1e3a8a);
    -webkit-background-clip: text;
    background-clip: text;
    font-size: clamp(1.4rem, 5vw, 2.2rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    text-shadow: none;
    white-space: nowrap;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 1rem;
    /* Опустил ниже */
    position: relative;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dot.active {
    background: var(--accent);
    transform: scale(1.4);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.2);
    border-color: var(--accent);
}

.dot:hover:not(.active) {
    background: rgba(0, 0, 0, 0.2);
}

.stat-item .label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.stat-item .value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
}

/* Адаптив кейсов для мобильных */
@media (max-width: 480px) {
    .case-info {
        padding: 1.25rem;
    }

    .case-info h3 {
        font-size: 1.2rem;
    }

    .case-task {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
    }

    .case-stats {
        gap: 1rem 0.75rem;
    }

    .stat-item .label {
        font-size: 0.7rem;
    }

    .stat-item .value {
        font-size: 0.9rem;
    }

    .stat-item.highlight {
        padding: 1rem;
        border-radius: 14px;
    }

    .stat-item.highlight .value {
        font-size: 1.3rem;
    }

    .stat-item.highlight .label {
        font-size: 0.75rem;
    }
}

/* Баннер суммарных результатов под каруселью */
.cases-summary-banner {
    margin-top: 4rem;
    position: relative;
    z-index: 10;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

.summary-content {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 32px;
    padding: 2.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.summary-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(37, 99, 235, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.sc-text h4 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.sc-text p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 250px;
    line-height: 1.4;
}

.sc-stat {
    flex-shrink: 0;
    text-align: center;
}

.sc-number {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), #1e3a8a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    display: block;
}

.summary-btn {
    padding: 18px 40px;
    font-size: 1.15rem;
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.summary-btn:hover {
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.5);
    background: #1e3a8a;
}

@media (max-width: 900px) {
    .summary-content {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .sc-text p {
        max-width: 100%;
    }

    .sc-number {
        font-size: 3rem;
    }
}

/* Блок: Контакты / Форма (Redesign) */
.contact-section {
    padding: 100px 0;
    position: relative;
    background: radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
}

.response-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    margin-top: 1rem;
    border: 1px solid var(--border-color);
}

.response-badge .pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    /* Сброс стилей из pains-секции */
    box-shadow: none;
    animation: none;
}

.response-badge .pulse-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: inherit;
    border-radius: 50%;
    animation: pulseBadge 2s ease-out infinite;
}

@keyframes pulseBadge {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3.5); opacity: 0; }
}

.contact-wrapper {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 4rem;
    overflow: hidden;
    box-shadow: 
        0 40px 100px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    position: relative;
    z-index: 10;
}

.contact-info {
    padding: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-lead-large {
    font-size: clamp(1.2rem, 3vw, 1.45rem);
    line-height: 1.35;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2.5rem;
    letter-spacing: -0.01em;
}

.contact-bullets {
    list-style: none;
    display: grid;
    gap: 1.25rem;
}

.contact-bullets li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
}

.contact-bullet-icon {
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.contact-bullet-icon svg {
    width: 16px;
    height: 16px;
}

.contact-form-container {
    padding: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--accent-light); /* Tinted blue background */
    position: relative;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), transparent);
    pointer-events: none;
}

.tg-form {
    display: grid;
    gap: 20px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent);
    margin-bottom: 8px;
    display: block;
}

.form-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 16px 20px;
    font-size: 1rem;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.form-group input:focus {
    background: #fff;
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.submit-btn {
    margin-top: 10px;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--accent-gradient);
    border: none;
    border-radius: 18px;
    color: #fff;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.submit-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.5);
}

.submit-btn:active {
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding: 40px 24px;
        order: 1;
        /* Текст «Готовы к кратному росту» идёт первым */
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    .contact-info h2 {
        font-size: 2rem;
    }

    .contact-form-container {
        padding: 40px 24px;
        order: 2;
        /* Форма идёт после текста */
    }
}

/* ==========================================================================
   МОДАЛЬНОЕ ОКНО (Lead Modal)
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modal-container {
    position: relative;
    background: #0f172a;
    /* Глубокий темный фон в стиле сайта */
    width: 100%;
    max-width: 580px;
    border-radius: 36px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    animation: modalScaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(30px);
    }

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

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: rotate(90deg);
}

.modal-header {
    padding: 48px 48px 32px;
    text-align: center;
}

.modal-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
}

.highlight-pill {
    background: var(--accent);
    background: linear-gradient(135deg, var(--accent) 0%, #1d4ed8 100%);
    color: #fff;
    padding: 4px 16px;
    border-radius: 14px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.modal-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 400px;
    margin: 0 auto;
}

.modal-form {
    padding: 0 48px 48px;
}

.modal-form .form-group {
    margin-bottom: 24px;
}

.modal-form label {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
}

.modal-form input {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 18px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.modal-form input:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.modal-form .btn-primary {
    width: 100%;
    padding: 20px;
    font-size: 1.1rem;
    justify-content: center;
    margin-top: 10px;
    border-radius: 18px;
}

.form-footer-text {
    margin-top: 24px;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
}

.form-footer-text a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.form-footer-text a:hover {
    text-decoration: underline;
}

/* Блокировка скролла при открытом модальном окне */
body.modal-open {
    overflow: hidden;
}

/* ==========================================================================
   КАСТОМНОЕ УВЕДОМЛЕНИЕ (Toast)
   ========================================================================== */
.toast {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 20000;
    display: flex;
    align-items: center;
    gap: 16px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px 24px;
    min-width: 360px;
    max-width: 480px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    transform: translateX(calc(100% + 60px));
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    overflow: hidden;
}

.toast.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

/* Таймер-полоска снизу */
.toast::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: var(--accent);
    transform-origin: left;
    transform: scaleX(0);
}

.toast.active::after {
    animation: toastTimer 4s linear forwards;
}

@keyframes toastTimer {
    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }
}

.toast-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.toast.error .toast-icon {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

.toast-body {
    flex: 1;
}

.toast-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.toast-message {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
    flex-shrink: 0;
}

.toast-close:hover {
    color: #fff;
}

@media (max-width: 640px) {
    .toast {
        bottom: 20px;
        right: 20px;
        left: 20px;
        min-width: unset;
    }
}

.privacy-text {
    font-size: 0.75rem;
    text-align: center;
    color: var(--text-muted);
}

.privacy-text a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.privacy-text a:hover {
    text-decoration: underline;
}

/* Футер */
.footer {
    background: #ffffff;
    /* Скрываем сетку на футере */
    padding-top: 4rem;
    border-top: 1px solid var(--border-color);
}

/* Блок: FAQ (Redesign) */
.faq-section {
    padding: 120px 0;
    position: relative;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 5rem;
    align-items: flex-start;
}

.faq-header {
    position: sticky;
    top: 100px;
}

.faq-header h2 {
    font-size: 3.8rem;
    line-height: 1;
    margin-top: -0.15em;
    /* Филигранная компенсация интерлиньяжа для выравнивания с краем карточки */
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}

.faq-header p {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.faq-arrow-curvy {
    position: absolute;
    bottom: -110px;
    /* Опустил еще ниже */
    left: 20px;
    width: 140px;
    height: auto;
    color: var(--accent);
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
    transform: rotate(-15deg);
    /* Немного изменил угол для лучшей динамики */
}

@media (max-width: 992px) {
    .faq-arrow-curvy {
        display: none;
    }
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(37, 99, 235, 0.2);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.05);
}

.faq-item.faq-open {
    background: #fff;
    border-color: var(--accent);
    transform: translateX(10px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.08);
}

.faq-question {
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.faq-item:hover .faq-question {
    color: var(--accent);
}

.faq-icon {
    width: 32px;
    height: 32px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-item.faq-open .faq-icon {
    background: var(--accent);
    color: #fff;
    transform: rotate(180deg);
}

.faq-icon::before {
    content: '+';
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1;
}

.faq-item.faq-open .faq-icon::before {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.5, 0, 0, 1);
    opacity: 0;
}

.faq-item.faq-open .faq-answer {
    max-height: 500px;
    opacity: 1;
}

.faq-answer p {
    padding: 0 32px 32px;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .faq-header {
        position: static;
        text-align: center;
    }

    .faq-header h2 {
        font-size: 2.8rem;
    }

    .faq-item:hover {
        transform: none;
    }

    .faq-item.faq-open {
        transform: none;
    }
}

@media (max-width: 992px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .faq-header h2 {
        font-size: 2.5rem;
    }
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 300px;
}

.footer h4 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links,
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a,
.footer-social a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-social a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Анимации при скролле */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Адаптив */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero p {
        margin: 0 auto 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .solution-banner {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    /* Услуги: горизонтальный скролл */
    .services {
        overflow: visible;
    }

    .services-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1rem !important;
        padding: 10px 16px 2rem !important;
        margin: 0 -16px !important;
        scrollbar-width: none;
    }

    .services-grid::-webkit-scrollbar {
        display: none;
    }

    .service-card {
        flex: 0 0 85vw !important;
        max-width: 320px !important;
        scroll-snap-align: center;
        margin: 0 !important;
        transform: none !important;
    }

    .service-card.popular {
        order: -1;
        transform: none !important;
    }

    .service-card:hover {
        transform: none !important;
    }

    .cases-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    /* Кейсы: исправление обрезки снизу + блокировка утечки */
    .cases {
        overflow: hidden !important;
        padding: 60px 0;
    }

    .cases-slider-3d {
        height: auto;
        min-height: 580px;
        overflow: hidden;
    }

    .case-card {
        width: min(340px, 85vw);
    }

    .case-card.prev {
        transform: translate(-110%, 0) scale(0.8);
        opacity: 0;
        pointer-events: none;
    }

    .case-card.next {
        transform: translate(10%, 0) scale(0.8);
        opacity: 0;
        pointer-events: none;
    }

    .case-card.active:hover {
        transform: translate(-50%, 0) scale(1);
    }

    .case-img {
        aspect-ratio: 16 / 9;
    }

    .case-info {
        padding: 1.25rem;
    }

    .case-info h3 {
        font-size: 1.2rem;
    }

    .case-task {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .case-stats {
        gap: 1rem 0.75rem;
        padding-top: 1rem;
    }

    .stat-item .value {
        font-size: 1.1rem;
    }

    .stat-item.highlight {
        padding: 1rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 4px;
    }

    .stat-item.highlight .label {
        font-size: 0.75rem;
    }

    .stat-item.highlight .value {
        font-size: 1.5rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    /* Глобальное уменьшение отступов между блоками на мобильных */
    section {
        padding: 3.5rem 0;
    }

    #process {
        padding: 50px 0;
    }

    .certificate-section {
        padding: 50px 0;
    }

    .services {
        padding: 50px 0;
    }

    .faq-section {
        padding: 60px 0;
    }

    .contact-section {
        padding: 50px 0;
    }

    .solution-banner {
        margin-top: 2.5rem;
        padding: 3rem 1.5rem;
        border-radius: 24px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero {
        padding: 7rem 0 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-actions .btn {
        width: 100%;
        padding: 16px;
        font-size: 0.95rem;
    }

    /* Компактный футер */
    .footer {
        padding-top: 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .footer-brand p {
        font-size: 0.85rem;
        margin-top: 0.5rem;
    }

    .footer-links,
    .footer-social {
        gap: 0.5rem;
    }

    .footer-links a,
    .footer-social a {
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding: 1rem 0;
        font-size: 0.8rem;
    }

    .contact-info,
    .contact-form-container {
        padding: 24px 20px;
    }

    .contact-info h2 {
        font-size: 1.8rem;
    }

    .submit-btn {
        padding: 16px;
        font-size: 1rem;
    }

    /* Аккуратные кнопки на мобильных */
    .btn {
        padding: 14px 24px;
        font-size: 0.95rem;
        border-radius: 14px;
    }

    .solution-text h3 {
        font-size: 2rem;
    }

    .solution-text p {
        font-size: 1rem;
    }
}

/* Плавающая кнопка Telegram */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.4) inset;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.floating-contact:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

.floating-contact svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.floating-contact-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    animation: contactPulse 3s infinite;
    pointer-events: none;
}

@keyframes contactPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 99, 235, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

/* =========================================================================
   NEW SECTIONS (STATS, TESTIMONIALS, ABOUT, COMPARISON, CALC, GUARANTEES, HOWTO)
   ========================================================================= */

/* --- Stats Section (Premium Redesign) --- */
.stats-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Фоновые свечения (Ambient Glow) */
.stats-section::before,
.stats-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.15;
}

.stats-section::before {
    top: -150px;
    left: -100px;
    background: radial-gradient(circle, var(--accent), transparent 70%);
}

.stats-section::after {
    bottom: -150px;
    right: -100px;
    background: radial-gradient(circle, #60a5fa, transparent 70%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    align-items: center;
}

.stat-counter-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 32px;
    padding: 50px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.03),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.stat-counter-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.7);
    border-color: var(--accent);
    box-shadow: 
        0 30px 60px rgba(37, 99, 235, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

/* Эффект пролетающего блика */
.stat-counter-card::after {
    content: '';
    position: absolute;
    top: 0; left: -150%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transform: skewX(-25deg);
    transition: 0.7s;
    pointer-events: none;
}

.stat-counter-card:hover::after {
    left: 150%;
}

.stat-counter-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 25px;
    background: #fff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.stat-counter-card:hover .stat-counter-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

.stat-counter-icon svg {
    width: 30px;
    height: 30px;
}

.stat-counter-number {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent) 0%, #1e40af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    letter-spacing: -2px;
}

.stat-counter-suffix {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    margin-left: 2px;
    vertical-align: middle;
}

.stat-counter-label {
    margin-top: 15px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Testimonials Section --- */
.testimonials-section {
    padding: 100px 0;
    position: relative;
}

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    gap: 2rem;
}

.testimonials-header .section-header {
    margin-bottom: 0;
    text-align: left;
}

.testimonials-container {
    padding: 0;
    overflow: visible;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    padding: 20px 0 60px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.testimonials-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.testimonial-card {
    flex: 0 0 calc((100% - 48px) / 3); /* 3 карточки с 24px gap */
    min-width: 300px;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 32px;
    padding: 36px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    will-change: transform;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

@media (max-width: 768px) {
    .testimonials-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        flex: 0 0 85vw; /* Almost full width on mobile */
        padding: 30px;
    }

    .testimonials-header .section-header h2 {
        font-size: 2rem;
    }
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
}

.testimonial-quote {
    color: var(--accent);
    opacity: 0.2;
    margin-bottom: 20px;
}
.testimonial-quote svg {
    width: 44px;
    height: 44px;
}
.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-main);
    font-style: normal;
    font-weight: 500;
    margin-bottom: 30px;
    flex-grow: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.testimonial-author img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.testimonial-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.t-name {
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 800;
}
.t-role {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}
.testimonial-rating {
    margin-left: auto;
    display: flex;
    align-items: center;
    background: rgba(37, 99, 235, 0.08);
    padding: 6px 12px;
    border-radius: 50px;
    gap: 6px;
    border: 1px solid rgba(37, 99, 235, 0.1);
}
.testimonial-rating svg {
    width: 14px;
    height: 14px;
    color: #f59e0b;
}
.testimonial-rating span {
    color: var(--accent);
    font-weight: 800;
    font-size: 0.9rem;
}

/* --- About Me Section --- */
.about-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image {
    position: relative;
}
.about-image-wrap {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.about-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.about-image-wrap:hover img {
    transform: scale(1.03);
}
.about-exp-badge {
    position: absolute;
    bottom: -15px;
    right: -10px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    padding: 20px 30px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    will-change: transform;
    transform: translateZ(0);
}
.about-exp-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}
.about-exp-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    font-weight: 600;
}
.about-content .badge {
    margin-bottom: 20px;
}
.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.about-lead-text {
    font-size: 1.15rem;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 40px;
}
.about-lead-text strong {
    color: var(--accent);
    font-weight: 700;
}
.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.about-highlight-item {
    display: flex;
    align-items: center;
    gap: 20px;
}
.about-highlight-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}
.about-highlight-icon svg {
    width: 24px;
    height: 24px;
}
.about-highlight-item div {
    display: flex;
    flex-direction: column;
}
.about-highlight-item strong {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 4px;
}
.about-highlight-item span {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* --- Comparison Section --- */
.comparison-section {
    padding: 100px 0;
    position: relative;
    background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.03) 0%, transparent 70%);
}
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 1000px;
    margin: 1rem auto 0;
}
.comp-col {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 28px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
}
.comp-col:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}
.comp-agency {
    background: #f8fafc;
}
.comp-me {
    background: #ffffff;
    position: relative;
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.06);
}
.comp-me:hover {
    box-shadow: 0 25px 60px rgba(37, 99, 235, 0.12);
}
.comp-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
    white-space: nowrap;
    z-index: 5;
}
.comp-header {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-main);
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.comp-agency .comp-header {
    color: var(--text-muted);
}
.comp-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
    flex-grow: 1;
}
.comp-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.6;
}
.comp-list li > span {
    flex: 1;
    min-width: 0;
}
.comp-list li strong {
    color: var(--text-main);
    font-weight: 700;
    display: inline;
}
.comp-me .comp-list li strong {
    color: var(--accent);
}
.comp-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.comp-icon.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}
.comp-icon.success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}
.comp-icon svg {
    width: 16px;
    height: 16px;
}

/* --- Calculator Section --- */
.calculator-section {
    padding: 100px 0;
    position: relative;
}
.calculator-wrapper {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: grid;
    grid-template-columns: 50% 50%;
    overflow: hidden;
    will-change: transform;
    transform: translateZ(0);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    min-height: 520px; /* Locked height to prevent shifting */
}
.calc-info {
    padding: 60px;
    background: rgba(248, 250, 252, 0.6);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}
.calc-info h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}
.calc-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
}
.calc-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.calc-point {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 15px 20px;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.calc-point .cp-icon {
    font-size: 1.5rem;
}
.calc-body {
    padding: 60px;
    display: flex;
    flex-direction: column;
}
.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}
.calc-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.calc-label-row label {
    font-weight: 500;
    color: var(--text-main);
    font-size: 1.05rem;
    white-space: normal;
    flex-shrink: 1;
}
.calc-label-row output {
    font-weight: 800;
    color: var(--accent);
    font-size: 1.3rem;
    text-shadow: 0 0 10px rgba(37, 99, 235, 0.1);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    text-align: right;
    min-width: 120px; /* Standardize width for digit growth */
}
.calc-inputs input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    height: 6px;
    background: rgba(37, 99, 235, 0.15); /* Light blue track */
    border-radius: 3px;
    outline: none;
}
.calc-inputs input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid #fff;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
    transition: transform 0.1s;
}
.calc-inputs input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}
.calc-results {
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 20px;
    padding: 30px;
    min-height: 200px; /* Rigid container height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cr-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.15rem;
    color: var(--text-main);
    gap: 15px;
    min-height: 32px;
}
.cr-item span {
    white-space: normal;
    flex-shrink: 1;
    opacity: 0.9;
    line-height: 1.2;
}
.cr-item strong {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    text-align: right;
    min-width: 100px; /* Reduced base min-width */
    font-weight: 800;
    font-size: 1.25rem;
    line-height: 1;
    flex-shrink: 0;
}
.cr-item.highlight {
    font-size: 1.4rem;
    border-top: 1px solid rgba(37, 99, 235, 0.15);
    padding-top: 20px;
    margin-top: 20px;
    min-height: 60px;
}
.cr-item.highlight strong {
    font-size: 1.6rem;
    min-width: 120px;
}
.cr-item strong {
    color: var(--text-main);
    font-weight: 700;
}
.calc-disclaimer {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 20px 0;
    text-align: center;
}

/* --- Guarantees Section (Dark Bento Redesign) --- */
.guarantees-bento-section {
    padding: 120px 0;
    position: relative;
    background-color: #0f172a; /* Deep Navy */
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(37, 99, 235, 0.05) 0%, transparent 40%);
    overflow: hidden;
}

.bento-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.blueprint-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
    margin-top: 3rem;
    grid-template-areas: 
        "boss boss std1"
        "med med std2"
        "std3 std3 std3"; /* Adjusting for 5 items */
}

/* Redefining grid areas for 5 items */
.bento-grid {
    grid-template-areas: 
        "boss boss std1"
        "std2 med med"
        "std3 std3 std3"; /* Backup layout */
}

/* Optimized 5-item layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bento-boss { grid-column: span 2; grid-row: span 1; }
.bento-medium { grid-column: span 2; grid-row: span 1; }
.bento-standard { grid-column: span 1; grid-row: span 1; }
.bento-full { grid-column: span 3; grid-row: span 1; }

.bento-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 35px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 
        0 10px 30px -10px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

/* Эффект блика при наведении */
.bento-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.03),
        transparent
    );
    transform: skewX(-20deg);
    transition: 0.8s;
    pointer-events: none;
}

.bento-card:hover::after {
    left: 150%;
}

.bento-standard {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.bento-standard::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.bento-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(56, 189, 248, 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.bento-noise {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
    mix-blend-mode: overlay;
}

.bento-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bento-boss .bento-content,
.bento-medium .bento-content,
.bento-full .bento-content {
    flex-direction: row;
    gap: 30px;
    align-items: center;
}

.bento-icon-box {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(56, 189, 248, 0.05) 100%);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    margin-bottom: 25px;
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.bento-card:hover .bento-icon-box {
    transform: rotate(8deg) scale(1.1);
    background: rgba(56, 189, 248, 0.25);
    border-color: #38bdf8;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.3);
}

.bento-boss .bento-icon-box, 
.bento-medium .bento-icon-box,
.bento-full .bento-icon-box {
    margin-bottom: 0;
}

.bento-icon-box svg {
    width: 28px;
    height: 28px;
}

.bento-card h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.title-with-icon {
    display: flex;
    align-items: center;
    gap: 10px;
}

.verified-icon {
    color: #38bdf8;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.bento-card p {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.75;
    font-weight: 400;
}

.bento-card p strong {
    color: #7dd3fc;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(125, 211, 252, 0.2);
}

.guarantees-bento-section .section-header {
    position: relative;
    z-index: 10;
}

.guarantees-bento-section .section-header h2 {
    color: #ffffff !important;
}

.text-black-readable {
    color: #000000 !important;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.3),
        1px 1px 0 rgba(255, 255, 255, 0.4),
       -1px -1px 0 rgba(255, 255, 255, 0.4);
}

.guarantees-bento-section .section-header p {
    color: #cbd5e1 !important; /* Brighter grey-blue for dark bg */
}

.text-electric {
    color: #38bdf8;
    text-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.text-white { color: #ffffff !important; }
.text-muted-light { color: #cbd5e1 !important; }

.badge-dark {
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.1);
}

.bento-visual {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.kpi-badge {
    background: #0ea5e9;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
}

@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }
    .bento-boss, .bento-medium {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-boss, .bento-medium, .bento-standard {
        grid-column: span 1;
    }
    .bento-boss .bento-content, 
    .bento-medium .bento-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .bento-visual {
        display: none;
    }
    .bento-card h3 {
        font-size: 1.15rem;
    }
}

/* --- Responsive Adjustments for New Sections --- */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image-wrap {
        max-width: 500px;
        margin: 0 auto;
    }
    .comparison-grid {
        grid-template-columns: 1fr;
        border-radius: 24px;
    }
    .comp-col {
        padding: 40px 24px;
    }
    .comp-me {
        border-left: none;
        border-top: 1px solid var(--border-color);
    }
    .comp-header {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    .comp-list li {
        font-size: 0.95rem;
        gap: 12px;
    }
    .comparison-section .section-header h2 {
        font-size: clamp(1.6rem, 5vw, 2.8rem);
    }
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }
    .calc-info {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 40px 20px;
    }
    .calc-body {
        padding: 40px 20px;
    }
}
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .about-exp-badge {
        bottom: 10px;
        right: 10px;
        padding: 15px 20px;
    }
}
@media (max-width: 576px) {
    .cr-item strong {
        min-width: 65px; /* Even more compact for mobile */
        font-size: 1.05rem;
    }
    .cr-item.highlight strong {
        min-width: 80px;
        font-size: 1.25rem;
    }
    .calc-label-row output {
        min-width: 70px;
        font-size: 1.1rem;
    }
    .cr-item span {
        font-size: 0.85rem; /* More compact text */
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .floating-contact {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
        padding: 0;
        justify-content: center;
    }

    .floating-contact span {
        display: none;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 15px;
    }

    /* Comparison section — small screens */
    .comparison-grid {
        border-radius: 20px;
    }

    .comp-col {
        padding: 28px 18px;
    }

    .comp-header {
        font-size: 1.15rem;
        margin-bottom: 1.25rem;
    }

    .comp-list li {
        font-size: 0.9rem;
        line-height: 1.45;
        gap: 10px;
    }

    .comp-list li strong {
        font-size: 0.9rem;
    }

    .comp-icon {
        width: 24px;
        height: 24px;
    }

    .comp-icon svg {
        width: 13px;
        height: 13px;
    }

    .comp-popular {
        font-size: 0.75rem;
        padding: 5px 14px;
    }

    .comparison-section {
        padding: 60px 0;
    }
}

/* =========================================
   Блок: Гарантии (Light Glassmorphism Bento)
   ========================================= */
.guarantees-bento-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

/* Декоративное фоновое свечение */
.ambient-glows {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.ambient-glows .glow-blue {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
    top: -200px;
    right: -100px;
    border-radius: 50%;
}
.ambient-glows .glow-light {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(147, 197, 253, 0.1) 0%, transparent 60%);
    bottom: -150px;
    left: -150px;
    border-radius: 50%;
}

/* Сетка Гарантий */
.bento-card {
    background: rgba(37, 99, 235, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 28px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease, border-color 0.5s ease, background-color 0.5s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.bento-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.65);
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 1);
}

/* Деликатный эффект пролетающего блика при наведении */
.bento-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.7), transparent);
    transform: skewX(-20deg);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
}

.bento-card:hover::before {
    animation: shineSweep 0.8s ease-in-out forwards;
}

/* Размеры сетки */
.bento-boss {
    grid-column: span 2;
    grid-row: span 1;
}
.bento-standard {
    grid-column: span 1;
    grid-row: span 1;
}
.bento-medium {
    grid-column: span 2;
    grid-row: span 1;
}
.bento-full {
    grid-column: span 3;
    grid-row: span 1;
}

@media (max-width: 992px) {
    .bento-boss, .bento-medium { grid-column: span 2; }
    .bento-full { grid-column: span 2; }
}

@media (max-width: 768px) {
    .bento-boss, .bento-standard, .bento-medium, .bento-full { grid-column: span 1; }
}

/* Содержимое карточек */
.bento-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    height: 100%;
    z-index: 2;
    position: relative;
    /* Защита текста от перекрытия фоновыми эффектами */
}

/* Иконки */
.bento-icon-box {
    width: 60px;
    height: 60px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
    flex-shrink: 0;
}

.bento-icon-box svg {
    width: 28px;
    height: 28px;
}

.bento-card:hover .bento-icon-box {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

/* Типографика карточек */
.bento-card h3 {
    font-size: clamp(1.15rem, 2.5vw, 1.35rem);
    margin-bottom: 0.5rem;
    color: var(--text-main);
    line-height: 1.3;
    transition: color 0.3s ease;
}

.bento-card:hover h3 {
    color: var(--accent);
}

.bento-card p {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.bento-text {
    flex: 1;
}

.bento-text strong {
    color: var(--text-main);
    font-weight: 700;
}

/* Пропорциональные размеры для широких карточек */
.bento-boss h3, .bento-full h3 {
    font-size: clamp(1.3rem, 3.5vw, 1.65rem);
}

.bento-boss p, .bento-full p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.bento-medium h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.bento-medium p {
    font-size: clamp(0.9rem, 1.8vw, 1.05rem);
}

/* Горизонтальный layout для широких карточек */
.bento-boss .bento-content,
.bento-medium .bento-content,
.bento-full .bento-content {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

/* Вертикальный layout для стандартных карточек */
.bento-standard .bento-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.bento-boss .bento-icon-box, .bento-full .bento-icon-box {
    width: 70px;
    height: 70px;
}

@media (max-width: 768px) {
    .bento-boss .bento-content,
    .bento-medium .bento-content,
    .bento-full .bento-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .guarantees-bento-section {
        padding: 60px 0;
    }

    .bento-card {
        padding: 2rem;
    }
}

/* --- Toast Notification --- */
.toast {
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 16px 22px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    z-index: 10000;
    transform: translateY(120px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
    max-width: 420px;
}

.toast.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.toast-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.toast.error .toast-icon {
    background: #ef4444;
}

.toast-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toast-body strong {
    font-size: 0.95rem;
    color: var(--text-main);
}

.toast-body span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.toast-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px 8px;
    margin-left: auto;
    line-height: 1;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.toast-close:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .toast {
        left: 16px;
        right: 16px;
        bottom: 100px;
        max-width: none;
    }
}

/* ============================================
   АДАПТАЦИЯ ДЛЯ НОУТБУКОВ ТИПА 1366px / 1280px
   Работает ТОЛЬКО на экранах < 1440px и > 992px
   ПК (1920) и Мобилки (< 768) не затрагиваются!
   ============================================ */
@media (min-width: 993px) and (max-width: 1439px) {
    html {
        /* Плавно уменьшаем ВСЕ элементы сайта, заданные в rem (отступы, шрифты и тд) */
        font-size: 14.5px; 
    }

    .container {
        max-width: 1140px;
        padding-left: 40px;
        padding-right: 40px;
    }

    /* Компактизируем гигантские водяные знаки, чтобы не вылезали за края */
    #process .card::after {
        font-size: 7.5rem;
    }

    /* Слегка уменьшаем отступы крупных карточек для ноутбуков */
    #process .card, 
    .guarantees-bento-section .bento-card {
        padding: 2rem;
    }

    /* Иконки в гарантиях */
    .guarantees-bento-section .bento-icon-box {
        width: 50px;
        height: 50px;
    }
}

/* ============================================
   КОМПЛЕКСНАЯ МОБИЛЬНАЯ АДАПТАЦИЯ
   Все стили ниже — ТОЛЬКО для мобильных.
   Десктопная версия не затрагивается.
   ============================================ */

@media (max-width: 768px) {

    /* --- Блокируем горизонтальный скролл всей страницы --- */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw;
        width: 100%;
    }

    /* Все секции ограничиваем, но навигацию и хедер — осторожно (чтобы не резало меню) */
    section,
    .marquee-container,
    footer {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    nav, header {
        max-width: 100vw !important;
        overflow-x: visible !important; /* Важно для фиксированного меню */
    }

    /* --- Глобальные отступы --- */
    .container {
        padding-left: 16px;
        padding-right: 16px;
        overflow-x: hidden;
        max-width: 100%;
    }

    /* --- Секция Hero --- */
    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero-container {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 2rem;
        text-align: center;
    }

    .hero-image {
        justify-content: center;
        order: -1;
    }

    .hero-image img {
        max-width: 280px;
        transform: none;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 16px 24px;
    }

    .hero-trust {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .hero-trust-btn {
        width: 100%;
        text-align: center;
    }

    /* --- Бегущие строки --- */
    .marquee-container {
        max-width: 100vw !important;
        overflow: hidden !important;
    }

    .marquee-content {
        flex-shrink: 0;
        will-change: transform;
    }

    .marquee-content span {
        font-size: 0.8rem;
        flex-shrink: 0;
        white-space: nowrap;
        display: inline-block;
    }

    /* --- Секция Боли (#pains) --- */
    .pains-section {
        padding: 60px 0 30px;
    }

    .pains-header h2 {
        font-size: 1.8rem;
    }

    .pains-bento {
        grid-template-columns: 1fr !important; /* В одну колонку */
        gap: 1rem;
    }

    .pain-bento-card {
        padding: 24px !important;
        border-radius: 20px !important;
        flex-direction: column !important; /* Всегда вертикально */
        gap: 1.5rem !important;
    }

    .pb-wide {
        grid-column: auto !important;
    }

    .pain-bento-card h3 {
        font-size: 1.25rem !important;
    }

    .pain-bento-card p {
        font-size: 0.95rem !important;
    }

    .pb-visual {
        width: 100% !important;
        height: auto !important;
        min-height: 120px;
    }

    /* --- Общие заголовки секций --- */
    .section-header h2 {
        font-size: 1.8rem;
        line-height: 1.25;
    }

    .section-header p {
        font-size: 0.92rem;
    }

    /* --- Секция Этапы (#process) — горизонтальный скролл --- */
    #process {
        padding: 60px 0;
        overflow: visible;
    }

    #process .bento-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        padding: 10px 16px 2rem !important;
        margin: 0 -16px !important;
        scrollbar-width: none;
    }

    #process .bento-grid::-webkit-scrollbar {
        display: none;
    }

    #process .card,
    #process .card.card-wide {
        flex: 0 0 85vw !important;
        max-width: 320px;
        scroll-snap-align: center;
        padding: 2rem;
        border-radius: 24px;
        gap: 1.25rem;
    }

    /* Номера-водяные знаки — делаем крупнее, как на ПК */
    #process .card::after {
        font-size: 7rem;
        bottom: -12px;
        right: 0;
    }

    /* Шапка карточки */
    .card-header {
        gap: 12px;
    }

    .step-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    #process .card-icon {
        width: 52px;
        height: 52px;
        border-radius: 14px;
    }

    #process .card-icon svg {
        width: 24px;
        height: 24px;
    }

    /* Текст карточек */
    .card-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .card-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* CTA мини-карточка */
    #process .cta-mini-card {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .centered-cta h3 {
        font-size: 1.3rem;
    }

    .bonus-badge {
        font-size: 0.8rem;
    }

    /* Hover-эффекты оставляем (красиво срабатывают по тапу) */

    /* --- Баннер Solution --- */
    .solution-banner {
        border-radius: 20px;
        padding: 2rem;
    }

    .solution-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .solution-text h3 {
        font-size: 1.4rem;
    }

    .solution-banner .btn-primary {
        padding: 16px 32px;
        width: 100%;
        justify-content: center;
    }

    /* --- Счётчики (#stats) --- */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
    }

    .stat-counter-card {
        padding: 24px 16px;
        border-radius: 20px;
    }

    .stat-counter-number {
        font-size: 2.5rem;
    }

    .stat-counter-suffix {
        font-size: 1.5rem;
    }

    .stat-counter-label {
        font-size: 0.75rem;
    }

    .stat-counter-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
    }

    /* --- Кейсы (3D Slider) --- */
    .cases {
        padding: 60px 0;
    }

    .cases-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .cases-slider-3d {
        height: 480px;
        perspective: 600px;
    }

    .case-card {
        width: 85vw;
        max-width: 340px;
    }

    .case-img {
        aspect-ratio: 4 / 3;
    }

    /* Подсказка о свайпе */
    .slider-dots::after {
        content: '← свайп →';
        display: block;
        text-align: center;
        font-size: 0.75rem;
        color: var(--text-muted);
        margin-top: 8px;
        opacity: 0.6;
    }

    /* Суммарный баннер кейсов */
    .cases-summary-banner {
        border-radius: 20px;
    }

    .summary-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .sc-number {
        font-size: 3rem;
    }

    .summary-btn {
        width: 100%;
        justify-content: center;
    }

    /* --- Отзывы --- */
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonials-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .testimonials-header .section-header {
        text-align: left;
    }

    .testimonials-header .section-header h2 {
        font-size: 1.8rem;
    }

    /* Отзывы: горизонтальный скролл */
    .testimonials-section {
        overflow: visible;
    }

    .testimonials-container {
        overflow: visible;
    }

    .testimonials-track {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        padding: 10px 16px 40px !important;
        scrollbar-width: none;
    }

    .testimonials-track::-webkit-scrollbar {
        display: none;
    }

    .testimonial-card {
        flex: 0 0 85vw !important;
        max-width: none !important;
        width: auto !important;
        scroll-snap-align: center;
        padding: 28px;
        border-radius: 24px;
    }

    .testimonial-card:hover {
        transform: none !important;
    }

    .testimonial-text {
        font-size: 0.92rem;
    }

    /* --- Сертификат --- */
    .certificate-section {
        padding: 60px 0;
    }

    .cert-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .cert-text h2 {
        font-size: 1.8rem;
    }

    .cert-list li {
        justify-content: center;
    }

    .cert-3d-wrap {
        max-width: 280px;
        margin: 0 auto;
    }

    /* --- Сравнение (Я vs Агентство) --- */
    .comparison-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .comp-col {
        border-radius: 20px;
    }

    /* --- Форматы работы / Услуги — горизонтальный скролл --- */
    .services {
        overflow: visible;
    }

    .services-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1rem !important;
        padding: 10px 16px 2rem !important;
        margin: 0 -16px !important;
        scrollbar-width: none;
    }

    .services-grid::-webkit-scrollbar {
        display: none;
    }

    .service-card {
        flex: 0 0 85vw !important;
        max-width: 320px !important;
        scroll-snap-align: center;
        border-radius: 24px;
        transform: none !important;
    }

    .service-card.popular {
        transform: none !important;
        order: -1;
    }

    .service-card:hover,
    .service-card.popular:hover {
        transform: none !important;
    }

    .fire-glow {
        display: none;
    }

    .price-value {
        font-size: 2.5rem;
    }

    /* --- Калькулятор --- */
    .calculator-wrapper {
        border-radius: 24px;
    }

    .calculator-wrapper {
        flex-direction: column;
    }

    .calc-info,
    .calc-body {
        width: 100%;
    }

    /* --- Гарантии (Bento) — горизонтальный скролл --- */
    .guarantees-bento-section {
        padding: 50px 0;
        overflow: visible;
    }

    .guarantees-bento-section .section-header h2 {
        font-size: 1.8rem;
    }

    .guarantees-bento-section .section-header p {
        font-size: 0.92rem;
    }

    .guarantees-bento-section .bento-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        padding: 10px 16px 2rem !important;
        margin: 0 -16px !important;
        scrollbar-width: none;
    }

    .guarantees-bento-section .bento-grid::-webkit-scrollbar {
        display: none;
    }

    .guarantees-bento-section .bento-card {
        flex: 0 0 85vw !important;
        max-width: 320px;
        scroll-snap-align: center;
        border-radius: 24px;
        padding: 2rem;
    }

    .guarantees-bento-section .bento-boss,
    .guarantees-bento-section .bento-medium,
    .guarantees-bento-section .bento-standard,
    .guarantees-bento-section .bento-full {
        grid-column: auto !important;
    }

    /* Контент карточек гарантий — гибкий, больше как на ПК */
    .guarantees-bento-section .bento-content {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1.25rem;
    }

    /* Иконки гарантий */
    .guarantees-bento-section .bento-icon-box {
        width: 56px !important;
        height: 56px !important;
        border-radius: 16px;
    }

    .guarantees-bento-section .bento-icon-box svg {
        width: 26px;
        height: 26px;
    }

    /* Текст карточек гарантий */
    .guarantees-bento-section .bento-text h3 {
        font-size: 1.25rem;
        line-height: 1.35;
    }

    .guarantees-bento-section .bento-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* Hover-эффекты оставляем (красиво срабатывают по тапу) */

    /* Фоновые свечения — уменьшаем, чтобы не грузить GPU */
    .guarantees-bento-section .ambient-glows .glow-blue,
    .guarantees-bento-section .ambient-glows .glow-light {
        width: 300px;
        height: 300px;
    }

    /* --- Форма контакта --- */
    .contact-section {
        padding: 60px 0;
    }

    .contact-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-info,
    .contact-form-container {
        width: 100%;
    }

    .contact-lead-large {
        font-size: 1.05rem;
    }

    .submit-btn {
        width: 100%;
    }

    /* --- FAQ --- */
    .faq-grid {
        grid-template-columns: 1fr !important;
    }

    .faq-header {
        text-align: center;
    }

    .faq-header h2 {
        font-size: 2rem;
    }

    .faq-arrow-curvy {
        display: none; /* Скрываем декоративную стрелку */
    }

    .faq-question span {
        font-size: 1rem;
    }

    /* --- Модальное окно --- */
    .modal-container {
        width: 95vw;
        max-height: 90vh;
        border-radius: 24px;
        overflow-y: auto; /* позволить скролл внутри, если контент не влезает */
    }

    .modal-header {
        padding: 32px 24px 20px;
    }

    .modal-header h2 {
        font-size: 1.4rem;
    }

    .modal-form {
        padding: 0 24px 32px;
    }

    .modal-close {
        top: 16px;
        right: 16px;
        width: 36px;
        height: 36px;
    }

    /* --- Футер --- */
    .footer-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links,
    .footer-social {
        align-items: center;
    }

    /* --- Плавающая кнопка --- */
    .floating-contact {
        bottom: 20px;
        right: 16px;
    }

    /* ============================================
       ГЛОБАЛЬНАЯ ЗАЩИТА ОТ ГОРИЗОНТАЛЬНОГО СКРОЛЛА
       ============================================ */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw;
    }

    /* === Pains Bento: Мобильные фиксы === */
    .pains-section {
        overflow: visible;
    }

    .pains-header h2 {
        font-size: 1.6rem;
    }

    .pains-header p {
        font-size: 0.92rem;
    }

    .pb-visual-bg-glow {
        display: none !important;
    }

    .pb-visual {
        animation: none !important;
    }

    .pain-bento-card:hover {
        transform: none !important;
    }

    .pb-notifications { padding: 16px; }
    .mock-notification { padding: 12px; border-radius: 12px; }
    .mn-icon { width: 34px; height: 34px; font-size: 1rem; }
    .mn-text strong { font-size: 0.82rem; }
    .mn-text span { font-size: 0.75rem; }

    .pb-search-mockup { margin-top: 16px; padding: 16px; }
    .sm-thumb { width: 48px; height: 48px; }
    .sm-title { font-size: 0.82rem; }
    .sm-price { font-size: 0.95rem; }

    .pb-chat-spam { margin-top: 16px; padding: 16px; height: 150px; }
    .spam-bubble { font-size: 0.8rem; padding: 8px 12px; }
    .spam-avatar { width: 24px; height: 24px; font-size: 0.6rem; }
    .spam-badge { top: 12px; right: 12px; font-size: 0.7rem; padding: 4px 10px; }

    /* Pains CTA */
    .pains-cta {
        padding: 20px;
        gap: 16px;
        border-radius: 20px;
        flex-direction: column;
    }
    .pains-cta .btn { width: 100%; justify-content: center; }
    .pc-content h4 { font-size: 1.2rem; }
    .pc-content p { font-size: 0.9rem; }

    /* === Этапы (#process) — горизонтальный скролл === */
    #process {
        overflow: visible;
    }

    /* === Кейсы — убираем обрезку снизу === */
    .cases {
        overflow: visible;
        padding-bottom: 80px;
    }

    .cases-slider-3d {
        overflow: visible;
        padding-top: 0;
        min-height: 600px;
    }

    .case-card.active:hover {
        transform: translate(-50%, 0) scale(1) !important;
    }

    /* Блок после кейсов (cases-summary-banner) — убираем обрезку */
    .cases-summary-banner {
        overflow: visible;
        margin-top: 2rem;
    }

    /* === Отзывы — горизонтальный скролл === */
    .testimonials-section {
        overflow: visible;
    }

    .testimonials-track {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        padding: 10px 16px 40px !important;
        scrollbar-width: none;
    }

    .testimonials-track::-webkit-scrollbar {
        display: none;
    }

    .testimonial-card {
        flex: 0 0 85vw !important;
        max-width: none !important;
        width: auto !important;
        scroll-snap-align: center;
    }

    .testimonial-card:hover {
        transform: none !important;
    }

    /* === Сертификат — убираем обрезку === */
    .certificate-section {
        overflow: visible;
    }

    /* === About Me — убираем обрезку === */
    .about-section {
        overflow: visible;
    }

    /* === Сравнение === */
    .comparison-section {
        overflow: visible;
    }

    .comparison-grid {
        gap: 16px !important;
    }

    .comp-col {
        padding: 28px 20px;
    }
    .comp-agency, .comp-me { border-radius: 20px; }
    .comp-col:hover { transform: none !important; }

    /* === Калькулятор — убираем обрезку и фиксированную высоту === */
    .calculator-section {
        overflow: visible;
    }

    .calculator-wrapper {
        overflow: visible !important;
        min-height: auto !important;
        grid-template-columns: 1fr !important;
    }

    .calc-info {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 30px 20px;
    }

    .calc-body {
        padding: 30px 20px;
    }

    /* === Гарантии — горизонтальный скролл === */
    .guarantees-bento-section {
        overflow: visible;
    }

    /* === Форма контакта — убираем обрезку === */
    .contact-section {
        overflow: visible;
    }

    .contact-wrapper {
        grid-template-columns: 1fr !important;
        border-radius: 24px;
        overflow: visible !important;
    }

    /* === Stats — без hover-трансформаций === */
    .stats-section {
        overflow: visible;
    }

    .stat-counter-card:hover {
        transform: none !important;
    }

    /* === FAQ — убираем прокрутку === */
    .faq-section {
        overflow: visible;
    }

    .faq-grid {
        overflow: visible;
    }

    /* === Footer === */
    .footer {
        overflow: visible;
    }

    /* === Сброс hover-эффектов на тач === */
    .bento-card:hover,
    .service-card:hover,
    .service-card.popular:hover,
    .about-image-wrap:hover img {
        transform: none !important;
    }
}

/* --- Маленькие экраны (до 380px) --- */
@media (max-width: 380px) {
    .hero-content h1 { font-size: 1.7rem; }
    .stats-grid { grid-template-columns: 1fr !important; }
    .stat-counter-number { font-size: 2.2rem; }
    .case-card { width: 90vw; }
    .testimonial-card { flex: 0 0 90vw !important; }
    .price-value { font-size: 2rem; }
    .pain-bento-card h3 { font-size: 1.2rem; }
    .pain-bento-card p { font-size: 0.9rem; }
    .pains-header h2 { font-size: 1.4rem; }
    .comp-col { padding: 24px 16px; }
    .comp-header { font-size: 1.1rem; }
}