:root {
    --indigo-depth: #08091a;
    --cyan: #00f2ff;
    --gold: #ff9d00;
    --white: #ffffff;
    --font-main: 'Montserrat', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* ПЛАВНЫЙ СКРОЛЛ */
html {
    scroll-behavior: smooth;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--indigo-depth);
    color: var(--white);
    font-family: var(--font-main);
    line-height: 1.4;
    overflow-x: hidden; /* Чтобы не было горизонтальной прокрутки при блюре */
}

/* Навигация — лого и ссылки слева */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 40px 8%;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Все элементы влево */
    gap: 60px;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(8,9,26,0.8), transparent);
}

.logo {
    font-size: 26px;
    font-weight: 900;
    color: var(--cyan);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--cyan); }

/* КНОПКА ЛИЧНЫЙ КАБИНЕТ */
.lk-button {
    margin-left: auto; /* Прижимает вправо */
    font-family: var(--font-mono);
    color: var(--cyan);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 22px;
    border: 1px solid var(--cyan);
    border-radius: 2px;
    transition: 0.3s;
    letter-spacing: 1px;
}

.lk-button:hover {
    background: var(--cyan);
    color: var(--indigo-depth);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
}

/* Первый блок — текст слева, без подложки */
.hero {
    height: 100vh;
    width: 100%;
    background: url('chatblok2.webp') no-repeat center right; /* Картинка уходит вправо */
    background-size: cover;
    display: flex;
    align-items: center;
    position: relative;
}

/* Затемнение фона слева для читаемости текста */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--indigo-depth) 20%, rgba(8,9,26,0.2) 100%);
}

/* ПЛАВНОЕ РАЗМЫТИЕ МЕЖДУ БЛОКАМИ */
.blur-divider {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 10;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    mask-image: linear-gradient(to bottom, transparent, black, transparent);
    background: rgba(8, 9, 26, 0.2);
}

.container {
    position: relative;
    z-index: 2;
    padding-left: 8%;
    width: 100%;
}

.hero-content {
    max-width: 750px;
    text-align: left; /* Четкое выравнивание по левому краю */
}

.main-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
}

.cyan-glow {
    color: var(--cyan);
    text-shadow: 0 0 30px rgba(0, 242, 255, 0.4);
}

.subtitle {
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    margin-bottom: 60px;
}

.info-block {
    border-left: 2px solid var(--cyan); /* Тонкая направляющая линия вместо блока */
    padding-left: 30px;
}

.accent-title {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
}

.main-text {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 25px;
    max-width: 600px;
}

.gold-text {
    color: var(--gold);
    font-weight: 700;
}

.stats {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.dot {
    color: var(--cyan);
    margin-right: 15px;
    font-size: 14px;
}

.mono {
    font-family: var(--font-mono);
    color: var(--cyan);
    font-size: 24px;
    margin-left: 8px;
}

/* Адаптив */
@media (max-width: 1024px) {
    .navbar { padding: 20px 5%; gap: 30px; }
    .nav-links { display: none; } /* Для мобилок обычно прячем в бургер */
    .container { padding-left: 5%; }
}

/* Второй блок — Текст справа */
.features {
    min-height: 100vh;
    width: 100%;
    background: url('chatblok3.webp') no-repeat center left; /* Изображение слева */
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Контент вправо */
    position: relative;
    padding: 100px 0;
}

/* Затемнение фона справа для читаемости */
.features::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(-90deg, var(--indigo-depth) 30%, rgba(8,9,26,0.3) 100%);
    z-index: 1;
}

.container-right {
    position: relative;
    z-index: 2;
    padding-right: 8%;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.features-content {
    max-width: 700px;
    text-align: right; /* Выравнивание всего текста по правому краю */
}

.gold-glow {
    color: var(--gold);
    text-shadow: 0 0 25px rgba(255, 157, 0, 0.3);
}

.subtitle-text {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    margin: 30px 0 60px auto;
    max-width: 600px;
    line-height: 1.6;
}

/* Сетка шагов */
.steps-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.step-item {
    display: flex;
    flex-direction: row-reverse; /* Цифра справа от текста для правого выравнивания */
    align-items: flex-start;
    gap: 30px;
}

.step-num {
    font-family: var(--font-mono);
    font-size: 48px;
    font-weight: 700;
    color: var(--cyan);
    line-height: 1;
    opacity: 0.8;
}

.step-info {
    max-width: 500px;
}

.step-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cyan-text { color: var(--cyan); }

.step-info p {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
}

/* АДАПТАЦИЯ ПОД ТЕЛЕФОНЫ (ДОПОЛНЕНИЕ) */
@media (max-width: 768px) {
    .navbar { padding: 15px 5%; justify-content: space-between; }
    .logo { font-size: 18px; }
    .lk-button { padding: 6px 12px; font-size: 10px; margin-left: 0; }
    
    .hero { background-position: 75% center; text-align: center; }
    .hero::before { background: rgba(8, 9, 26, 0.7); }
    .container { padding: 0 5%; }
    .hero-content { text-align: center; margin-top: 50px; }
    .info-block { border-left: none; border-top: 1px solid var(--cyan); padding: 20px 0 0 0; }
    .main-text { margin: 0 auto 25px auto; }
    .stats { justify-content: center; }

    .features { background-position: 25% center; padding: 60px 0; }
    .features::before { background: rgba(8, 9, 26, 0.8); }
    .container-right { padding: 0 5%; justify-content: center; }
    .features-content { text-align: center; }
    .subtitle-text { margin: 20px auto 40px auto; }
    .step-item { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
    .step-num { font-size: 36px; }
}





/* Третий блок — Маркетинг */
.marketing {
    min-height: 110vh;
    width: 100%;
    background: url('cubchat.png') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

/* Затемнение фона для контраста */
.marketing::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(8, 9, 26, 0.3) 0%, rgba(8, 9, 26, 0.85) 100%);
    z-index: 1;
}

/* Размытие на стыках (плавный переход) */
.blur-mask-top, .blur-mask-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 180px;
    z-index: 5;
    pointer-events: none;
}

.blur-mask-top {
    top: 0;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    background: linear-gradient(to bottom, var(--indigo-depth), transparent);
}

.blur-mask-bottom {
    bottom: 0;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    background: linear-gradient(to top, var(--indigo-depth), transparent);
}

.container-center {
    width: 100%;
    max-width: 1400px;
    padding: 0 5%;
    position: relative;
    z-index: 10;
}

/* Группа заголовков — теперь всё строго по центру */
.header-group {
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрирует заголовок и подзаголовок относительно друг друга */
    text-align: center;
    margin-bottom: 100px;
}

.main-title.centered {
    font-size: clamp(32px, 5vw, 64px);
    line-height: 1.1;
    margin-bottom: 30px; /* Расстояние до подзаголовка */
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9);
}

.subtitle.centered {
    font-size: clamp(16px, 2vw, 22px);
    max-width: 850px;
    margin: 0 auto; /* Гарантирует центровку */
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 1);
    line-height: 1.5;
    font-weight: 400;
}

/* Сетка для расположения вокруг куба */
.marketing-layout {
    display: grid;
    grid-template-columns: 1fr 400px 1fr;
    gap: 40px;
    align-items: center;
}

.m-item {
    max-width: 420px;
    background: rgba(8, 9, 26, 0.4); /* Подложка для текста */
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Направление линий и выравнивание */
.item-left { 
    grid-column: 1; 
    text-align: right; 
    border-right: 3px solid var(--cyan); 
}

.item-right { 
    grid-column: 3; 
    text-align: left; 
    border-left: 3px solid var(--cyan); 
}

.item-bottom { 
    grid-column: 2; 
    text-align: center; 
    margin-top: 60px; 
    border-bottom: 3px solid var(--cyan);
    padding-bottom: 30px;
}

.cube-space { 
    grid-column: 2; 
    height: 380px; /* Место для куба на картинке */
}

/* Стилизация текста в пунктах */
.m-icon { 
    font-size: 45px; 
    margin-bottom: 20px; 
    display: block; 
}

.m-item h3 {
    color: var(--cyan);
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 1px;
}

.m-item p {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.error-price {
    font-family: var(--font-mono);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.error-price .gold-text {
    color: var(--gold);
    font-weight: 700;
}

/* Адаптив под мобильные устройства */
@media (max-width: 1024px) {
    .marketing-layout { 
        display: flex; 
        flex-direction: column; 
        gap: 50px; 
    }
    .cube-space { display: none; }
    .m-item { 
        text-align: center; 
        border-right: none;
        border-left: none;
        border-top: 2px solid var(--cyan); 
        background: rgba(8, 9, 26, 0.7); 
        max-width: 100%;
    }
    .item-bottom {
        border-bottom: none;
        border-top: 2px solid var(--cyan);
        margin-top: 0;
    }
}





/* УБИРАЕМ "МУТНУЮ" ПОЛОСУ — ИСПРАВЛЕННЫЙ ПЕРЕХОД */

/* 1. Сначала подправим общие маски, убрав из них blur */
.blur-mask-top, .blur-mask-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 150px; /* Уменьшили высоту, чтобы не лезло на головы */
    z-index: 5;
    pointer-events: none;
    backdrop-filter: none !important; /* УДАЛЯЕМ МУТНОЕ РАЗМЫТИЕ */
    -webkit-backdrop-filter: none !important;
}

.blur-mask-top {
    top: 0;
    /* Плавное растворение из фонового цвета в прозрачность */
    background: linear-gradient(to bottom, var(--indigo-depth) 0%, transparent 100%);
}

.blur-mask-bottom {
    bottom: 0;
    /* Плавное растворение из прозрачности в фоновый цвет */
    background: linear-gradient(to top, var(--indigo-depth) 0%, transparent 100%);
}

/* 2. Обновленный блок сравнения */
.comparison {
    min-height: 100vh;
    width: 100%;
    background: url('chelchat.png') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 0;
    /* Убираем жесткий срез картинки */
}

/* Затемнение фона — делаем его радиальным, чтобы центр с таблицей был чистым, а края мягко уходили в тень */
.comparison::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(8, 9, 26, 0.2) 0%, rgba(8, 9, 26, 0.8) 100%);
    z-index: 1;
}

/* Контейнер таблицы */
.container-table {
    width: 100%;
    max-width: 1200px;
    padding: 0 5%;
    position: relative;
    z-index: 10;
}

/* Стили самой таблицы (без изменений структуры, только аккуратность) */
.compare-table {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.table-header, .table-row {
    display: grid;
    grid-template-columns: 1fr 220px 1fr;
    align-items: center;
    text-align: center;
}

.table-header {
    margin-bottom: 25px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 1px;
}

.side-ai { color: var(--cyan); text-align: right; padding-right: 30px; }
.side-human { color: rgba(255,255,255,0.5); text-align: left; padding-left: 30px; }
.side-label { font-size: 12px; opacity: 0.4; text-transform: uppercase; }

.table-row {
    background: rgba(255, 255, 255, 0.02);
    padding: 18px 0;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.val-ai {
    font-family: var(--font-mono);
    font-size: 18px;
    color: var(--cyan);
    text-align: right;
    padding-right: 30px;
}

.val-human {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    text-align: left;
    padding-left: 30px;
}

.val-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
    opacity: 0.7;
}

/* Футер с экономией */
.compare-footer {
    text-align: center;
    margin-top: 40px;
}

.economy-box {
    display: inline-block;
    padding: 15px 35px;
    border: 1px solid var(--gold);
    border-radius: 12px;
    background: rgba(255, 157, 0, 0.03);
    margin-bottom: 20px;
}

.economy-box .gold-glow {
    font-size: 38px;
    font-weight: 900;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(255, 157, 0, 0.4);
}











/* ПЛАВНОЕ ИСЧЕЗНОВЕНИЕ ГРАНИЦ (БЕЗ ИЗМЕНЕНИЯ ЦВЕТА) */

/* Для всех блоков, кроме первого: делаем плавный вход и выход */
.features, .marketing, .comparison {
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 150px, black calc(100% - 150px), transparent);
    mask-image: linear-gradient(to bottom, transparent, black 150px, black calc(100% - 150px), transparent);
    margin-top: -100px; /* Немного накладываем блоки друг на друга для бесшовности */
}

/* Для самого первого блока: только плавный выход снизу */
.hero {
    -webkit-mask-image: linear-gradient(to bottom, black calc(100% - 150px), transparent);
    mask-image: linear-gradient(to bottom, black calc(100% - 150px), transparent);
    z-index: 2;
}

/* Фикс: чтобы текст не пропадал из-за маски */
.container, .container-right, .container-center, .container-table {
    position: relative;
    z-index: 20;
}






/* Пятый блок — Цены */
.prices {
    min-height: 100vh;
    width: 100%;
    background: url('pricechat.png') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 150px, black calc(100% - 150px), transparent);
    mask-image: linear-gradient(to bottom, transparent, black 150px, black calc(100% - 150px), transparent);
}

.prices::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(8, 9, 26, 0.75) 0%, rgba(8, 9, 26, 0.95) 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1;
}

.prices .container-center {
    z-index: 10;
    position: relative;
}

.stages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.stage-card {
    text-align: left;
}

.stage-num {
    font-family: var(--font-mono);
    font-size: 42px;
    color: var(--cyan);
    font-weight: 700;
    margin-bottom: 15px;
    opacity: 0.9;
    text-shadow: 0 0 15px rgba(0, 242, 255, 0.4);
}

.stage-card h3 {
    font-size: 19px;
    line-height: 1.3;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-shadow: 0 4px 10px rgba(0,0,0,1);
}

.stage-card p {
    font-size: 15px;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    margin-bottom: 15px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

/* Общий стиль "Результата" для 1 и 2 колонки */
.stage-result {
    font-size: 14px;
    line-height: 1.5;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 242, 255, 0.3);
    color: rgba(255,255,255,0.9);
}

/* Стили для 3 колонки без контейнера */
.price-items-clean {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-item {
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255,255,255,0.8);
}

/* Секция "Почему это выгодно" */
.benefits-row {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 60px;
}

.benefits-flex {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 30px;
}

.benefit-point {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* Адаптив */
@media (max-width: 1024px) {
    .stages-grid { grid-template-columns: 1fr; gap: 60px; }
    .stage-card { text-align: center; max-width: 600px; margin: 0 auto; }
    .benefits-flex { flex-direction: column; align-items: center; gap: 20px; }
    .prices { background-position: center; padding: 100px 0; }
}

@media (max-width: 768px) {
    .stage-num { font-size: 32px; }
    .stage-card h3 { font-size: 17px; }
    .benefit-point { font-size: 14px; }
}









/* КНОПКА CTA */
.cta-button {
    margin-top: 40px;
    background: transparent;
    border: 2px solid var(--cyan);
    color: var(--white);
    padding: 18px 35px;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.2);
}

.cta-button:hover {
    background: var(--cyan);
    color: var(--indigo-depth);
    box-shadow: 0 0 35px rgba(0, 242, 255, 0.5);
}

/* МОДАЛЬНОЕ ОКНО */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none; /* Скрыто до нажатия */
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(8px);
}

.modal-card {
    background: #121528;
    width: 90%;
    max-width: 440px;
    padding: 50px 40px;
    border-radius: 24px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
    animation: modalSlide 0.4s ease-out;
}

@keyframes modalSlide {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.3);
    font-size: 32px;
    cursor: pointer;
}

.modal-title {
    text-align: center;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 35px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255,255,255,0.03);
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 12px;
    border: 1px solid transparent;
    transition: 0.3s;
}

.contact-item:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(0, 242, 255, 0.3);
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 242, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-info span {
    display: block;
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-info a {
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
}

/* Адаптив для кнопки */
@media (max-width: 768px) {
    .cta-button { width: 100%; padding: 15px; font-size: 13px; }
}









/* Шестой блок — Финальный */
.final-block {
    min-height: 100vh;
    width: 100%;
    background: url('chatfin.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 0;
    /* Тот самый бесшовный переход Dissolve сверху */
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 150px);
    mask-image: linear-gradient(to bottom, transparent, black 150px);
}

/* Затемнение фона для глубины */
.final-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(8, 9, 26, 0.4) 0%, rgba(8, 9, 26, 0.9) 100%);
    z-index: 1;
}

.final-block .container-center {
    z-index: 10;
    position: relative;
}

.final-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Стили формы Glassmorphism */
.lead-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px); /* Эффект стекла */
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.form-group {
    margin-bottom: 20px;
}

.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form input[type="email"] {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 25px;
    border-radius: 12px;
    color: var(--white);
    font-family: var(--font-main);
    font-size: 16px;
    outline: none;
    transition: 0.3s;
}

.lead-form input:focus {
    border-color: var(--cyan);
    background: rgba(0, 242, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}

/* Кастомный чек-бокс */
.legal-block {
    margin: 25px 0;
}

.checkbox-container {
    display: flex;
    cursor: pointer;
    gap: 15px;
    user-select: none;
}

.checkbox-container input {
    display: none;
}

.checkmark {
    min-width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    position: relative;
    transition: 0.3s;
}

.checkbox-container input:checked + .checkmark {
    background: var(--cyan);
    border-color: var(--cyan);
}

.checkmark:after {
    content: "✓";
    position: absolute;
    color: var(--indigo-depth);
    font-size: 14px;
    font-weight: 900;
    left: 4px;
    top: -1px;
    display: none;
}

.checkbox-container input:checked + .checkmark:after {
    display: block;
}

.legal-text {
    font-size: 11px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.5);
}

.form-btn {
    width: 100%;
    margin-top: 0;
}

.urgency-trigger {
    text-align: center;
    font-size: 13px;
    color: var(--gold);
    margin-top: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* --- АДАПТИВНОСТЬ ПОД ТЕЛЕФОН --- */
@media (max-width: 1024px) {
    .final-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .final-text {
        margin-bottom: 40px;
    }

    .lead-form-wrapper {
        padding: 30px 20px;
    }

    .final-block {
        background-position: center; /* Центровка по самому важному элементу */
    }

    .main-title {
        font-size: clamp(26px, 5vw, 42px); /* Масштабируемый шрифт заголовка */
    }
}

@media (max-width: 480px) {
    .lead-form input {
        padding: 15px;
        font-size: 14px;
    }
    
    .legal-text {
        font-size: 10px;
    }
}






/* ФУТЕР — Юридический блок */
.site-footer {
    background-color: var(--indigo-depth);
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-logo {
    flex-shrink: 0;
}

.copyright-notice {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 10px;
    font-family: var(--font-mono);
}

/* Сетка ссылок */
.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Две колонки на десктопе */
    gap: 15px 40px;
    max-width: 800px;
}

.footer-link {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: 0.3s;
    line-height: 1.4;
}

.footer-link:hover {
    color: var(--cyan);
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.4);
}

/* --- АДАПТАЦИЯ ПОД ТЕЛЕФОН --- */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 30px;
    }

    .footer-links-grid {
        grid-template-columns: 1fr; /* Одна колонка на мобильном */
        gap: 20px;
    }

    .footer-link {
        font-size: 12px;
    }
}




/* Стили ссылок внутри юридического текста */
.legal-text a {
    color: rgba(0, 242, 255, 0.7); /* Наш Cyan, но чуть приглушенный */
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: 0.3s;
}

.legal-text a:hover {
    color: var(--cyan); /* Яркий Cyan при наведении */
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.4);
}

/* Чтобы по клику на ссылку не срабатывал сам чек-бокс (необязательно, но удобно) */
.legal-text a {
    position: relative;
    z-index: 20;
}





/* ФИНАЛЬНЫЙ СТИЛЬ ГОРЯЩЕГО НЕОНА */
.cta-button.neon-blue {
    background: rgba(0, 242, 255, 0.1) !important; /* Легкая подсветка внутри */
    border: 2px solid #00f2ff !important; /* Яркий контур */
    color: #ffffff !important; /* Ослепительно белый текст */
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    
    /* ПОСТОЯННОЕ СВЕЧЕНИЕ СНАРУЖИ */
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.6), 
                inset 0 0 10px rgba(0, 242, 255, 0.4) !important;
    
    /* СВЕЧЕНИЕ БУКВ */
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.8) !important;
    
    transition: all 0.3s ease-in-out !important;
}

/* Эффект при наведении — кнопка становится еще ярче */
.cta-button.neon-blue:hover {
    background: rgba(0, 242, 255, 0.3) !important;
    box-shadow: 0 0 40px rgba(0, 242, 255, 1), 
                inset 0 0 20px rgba(0, 242, 255, 0.6) !important;
    transform: translateY(-3px);
}

/* =============================================
   МОБИЛЬНАЯ АДАПТАЦИЯ — ФИНАЛЬНЫЕ FIXES
   ============================================= */

/* Общий overflow */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
}

/* Все контейнеры — без вылезаний */
.container, 
.container-right, 
.container-center, 
.container-table,
.hero-content,
.info-block,
.features-content,
.marketing-layout,
.steps-grid,
.compare-table,
.table-header,
.table-row,
.stages-grid,
.final-layout,
.lead-form-wrapper,
.footer-content,
.footer-links-grid {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Фикс кнопок — чтобы не вылезали за край */
.hero-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
}

.hero-buttons .cta-button {
    width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    padding: 14px 10px !important;
    font-size: 12px !important;
    margin-top: 10px !important;
    line-height: 1.3 !important;
    height: auto !important;
    min-height: 48px !important;
}

/* Фикс секции marketing на телефоне */
@media (max-width: 768px) {
    .marketing-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }
    .cube-space { display: none !important; }
    .m-item { 
        max-width: 100% !important;
        text-align: center !important;
        border-right: none !important;
        border-left: none !important;
        border-top: 2px solid var(--cyan) !important;
        padding: 25px 15px !important;
    }
    .item-bottom {
        border-bottom: none !important;
        border-top: 2px solid var(--cyan) !important;
        margin-top: 0 !important;
    }
    
    /* Фикс таблицы сравнения */
    .table-header, .table-row {
        grid-template-columns: 1fr 120px 1fr !important;
        gap: 5px !important;
    }
    .table-header { font-size: 12px !important; }
    .val-ai { font-size: 14px !important; padding-right: 10px !important; }
    .val-human { font-size: 13px !important; padding-left: 10px !important; }
    .val-label { font-size: 10px !important; }
    .side-ai { padding-right: 10px !important; }
    .side-human { padding-left: 10px !important; }
    
    /* Фикс секции prices */
    .stages-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    .stage-card { 
        text-align: center !important; 
        max-width: 100% !important; 
    }
    
    /* Фикс benefits */
    .benefits-flex {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
    }
    
    /* Фикс финального блока */
    .final-layout {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    .lead-form-wrapper {
        padding: 25px 15px !important;
    }
    
    /* Фикс футера */
    .footer-content {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .footer-links-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Убираем mask-эффекты которые могут создавать артефакты */
    .hero {
        -webkit-mask-image: none !important;
        mask-image: none !important;
    }
    .features, .marketing, .comparison, .prices, .final-block {
        -webkit-mask-image: none !important;
        mask-image: none !important;
        margin-top: 0 !important;
    }
    
    /* Hero - центровка */
    .hero-content {
        min-width: 0 !important;
        width: 100% !important;
    }
    .main-title {
        font-size: 28px !important;
        word-wrap: break-word !important;
    }
    .subtitle {
        font-size: 15px !important;
        margin-bottom: 30px !important;
    }
    
    /* Статистика */
    .stats {
        font-size: 16px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    .mono {
        font-size: 18px !important;
    }
    
    /* Навигация - упрощаем */
    .navbar {
        padding: 10px 4% !important;
        gap: 10px !important;
        flex-wrap: nowrap !important;
    }
    .logo { font-size: 16px !important; }
    .lk-button { 
        padding: 5px 8px !important; 
        font-size: 9px !important; 
        white-space: nowrap !important;
    }
    
    /* Фича секция */
    .features-content {
        width: 100% !important;
    }
    .step-item {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .step-info {
        max-width: 100% !important;
    }
    .step-info h3 {
        font-size: 16px !important;
    }
    
    /* Цена ошибки */
    .error-price {
        font-size: 12px !important;
    }
    
    /* Economy box */
    .economy-box .gold-glow {
        font-size: 28px !important;
    }
    
    /* Модальное окно на телефоне */
    .modal-card {
        padding: 30px 20px !important;
        width: 95% !important;
    }
    
    /* Кнопка neon на телефоне */
    .cta-button.neon-blue {
        padding: 12px 10px !important;
        font-size: 11px !important;
    }
}

/* Дополнительно для очень маленьких экранов */
@media (max-width: 400px) {
    .main-title {
        font-size: 24px !important;
    }
    .lk-button {
        font-size: 8px !important;
        padding: 4px 6px !important;
    }
}
