/* Фоновое изображение с фиксацией, размытием и затемнением (только для ПК) */
@media (min-width: 769px) {
    body::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        
        /* Укажите путь к вашему изображению */
        background-image: url('static/IMG_0635.WEBP'); 
        
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        
        /* Размытие (blur) и затемнение (через уменьшение яркости brightness) */
        filter: blur(8px) brightness(0.4); 
        
        z-index: -1;          /* Отводит фон на самый задний план */
        pointer-events: none; /* Гарантирует, что фон не будет мешать кликам по сайту */
    }
}

/* Переменные проекта */
:root {
    --bg-color: #030a0d;
    --card-bg: rgba(5, 20, 26, 0.75);
    --accent-color: #00f0ff;
    --accent-glow: rgba(0, 240, 255, 0.35);
    --text-primary: #e0f2f1;
    --text-muted: #8ab4f8;
    --font-family: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Ограничители ширины */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 800px;
}

/* Шапка сайта */
.header {
    background: rgba(3, 10, 13, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo {
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-glow);
}

.nav a {
    color: var(--text-primary);
    text-decoration: none;
    margin-right: 25px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--accent-color);
}

/* Кнопки */
.btn-outline {
    background: rgba(0, 240, 255, 0.05); /* Полупрозрачный бирюзовый тон */
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 0 15px var(--accent-glow);
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-outline:hover {
    background: var(--accent-color);
    color: #030a0d !important;
    box-shadow: 0 0 25px var(--accent-color);
    transform: translateY(-2px);
}

.btn-glow {
    background: rgba(0, 240, 255, 0.05); /* Полупрозрачный бирюзовый тон */
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 0 15px var(--accent-glow);
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-glow:hover {
    background: var(--accent-color);
    color: #030a0d;
    box-shadow: 0 0 25px var(--accent-color);
    transform: translateY(-2px);
}

/* Глобальное центрирование названий всех блоков */
.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.text-center {
    text-align: center;
}

/* 1. Главный экран (Центрированный вертикальный стек) */
.hero-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 30px 0;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px; /* Уменьшили общий отступ между смысловыми блоками */
    width: 100%;
}

.hero-visual {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative !important;
    left: -30px !important;
}

.main-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 5px;
    position: relative !important;
    left: -30px !important;
}

.glow-text {
    color: var(--accent-color);
    text-shadow: 0 0 20px var(--accent-glow);
}

.subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0 auto 5px auto; /* Сжали расстояние от описания до компьютера */
    max-width: 650px;
    position: relative !important;
    left: -30px !important;
}

/* Блок характеристик (Горизонтальный ряд под компьютером) */
.features {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    margin: -30px auto 20px auto; /* Уменьшили внешние отступы снизу компьютера */
    width: 100%;
    max-width: 750px;
    position: relative !important;
    left: -30px !important;
}

.feature-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

/* Увеличенные светящиеся коробочки для значков */
.feature-icon-box {
    width: 80px;
    height: 80px;
    background: rgba(5, 20, 26, 0.4);
    border: 1.5px solid rgba(0, 240, 255, 0.35);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.12);
    transition: all 0.3s ease;
}

/* Эффект свечения при наведении на элемент */
.feature-item:hover .feature-icon-box {
    border-color: var(--accent-color);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.5);
    transform: translateY(-3px);
}

/* Увеличенные значки внутри */
.feature-icon-box svg {
    width: 46px;
    height: 46px;
}

.feature-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.feature-text strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.feature-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* СЦЕНА ГОЛОГРАММЫ (Высота сжата, убирая мертвые зоны) */
.hologram-container {
    height: 250px; /* Сильно сжали общую высоту контейнера */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    perspective: 1200px;
    margin: -80px 0 10px 0; /* Минимизировали внешние рамки */
}

.hologram-scene {
    position: relative;
    width: 480px;
    height: 220px; /* Сжали рабочую высоту сцены */
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

/* Подсветка под сценой */
.light-projector {
    position: absolute;
    width: 360px;
    height: 90px;
    background: radial-gradient(ellipse at center, var(--accent-color) 0%, transparent 75%);
    border-radius: 50%;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.7;
    filter: blur(20px);
    z-index: 1;
    pointer-events: none;
}

/* Ноутбук и Луч */
.neon-laptop {
    position: relative;
    width: 220px;
    z-index: 4;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: laptopFloat 6s ease-in-out infinite;
}

/* Экран (Слой 1) */
.laptop-screen {
    width: 190px;
    height: 120px;
    background: rgba(3, 10, 13, 0.98);
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2), inset 0 0 15px rgba(0, 240, 255, 0.15);
    position: relative;
    padding: 8px;
    display: flex;
    flex-grow: 0;
    flex-direction: column;
    z-index: 1;
}

/* Конус проекции (Слой 2 - поверх экрана) */
.hologram-light-beam {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 200px;
    background: linear-gradient(to top, rgba(0, 240, 255, 0.65) 0%, rgba(0, 240, 255, 0.18) 50%, transparent 100%);
    clip-path: polygon(42% 100%, 58% 100%, 100% 0%, 0% 0%);
    filter: blur(1.5px);
    z-index: 2;
    pointer-events: none;
    animation: beamPulse 3.5s ease-in-out infinite;
}

/* Telegram (Слой 3 - поверх луча) */
.telegram-hologram {
    position: absolute;
    width: 70px;
    height: 70px;
    bottom: 75px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: hologramPulse 3s ease-in-out infinite;
}

.bubble-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 8px var(--accent-color)) drop-shadow(0 0 15px rgba(0, 240, 255, 0.5));
}

.telegram-plane-icon {
    position: absolute;
    width: 28px;
    height: 28px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 0 5px var(--accent-color));
}

.telegram-plane-icon svg {
    width: 100%;
    height: 100%;
}

/* Подставка ноутбука (Слой 4) */
.laptop-base {
    width: 226px;
    height: 10px;
    background: #030a0d;
    border: 2px solid var(--accent-color);
    border-top: none;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 5px 20px rgba(0, 240, 255, 0.4);
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 4;
}

.keyboard-glow-source {
    position: absolute;
    top: -3px;
    width: 48px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 
        0 0 10px #ffffff,
        0 0 20px var(--accent-color),
        0 0 40px var(--accent-color);
}

.laptop-trackpad {
    position: absolute;
    bottom: 2px;
    width: 32px;
    height: 2px;
    background: rgba(0, 240, 255, 0.3);
    border-radius: 1px;
}

/* Наполнение экрана */
.screen-controls {
    display: flex;
    gap: 4px;
    margin-bottom: 6px;
}

.ctrl-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 5px var(--accent-color);
}

.screen-content-mock {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 8px;
}

.screen-top-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.screen-green-square {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-color);
    border-radius: 2px;
}

.screen-oval-pill {
    width: 30px;
    height: 5px;
    border: 1px solid rgba(0, 240, 255, 0.4);
    border-radius: 3px;
}

.screen-middle-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}

.screen-text-skeleton {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.skeleton-line {
    height: 3px;
    background: rgba(0, 240, 255, 0.2);
    border-radius: 1px;
}
.skeleton-line.long { width: 45%; }
.skeleton-line.short { width: 25%; }

.screen-right-dots {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.screen-right-dots span {
    width: 2px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 50%;
}

.screen-bottom-columns {
    display: flex;
    gap: 6px;
    margin-top: auto;
}

.screen-col-box {
    flex: 1;
    height: 24px;
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 3px;
    padding: 4px;
    background: rgba(0, 240, 255, 0.03);
}

.col-line {
    width: 60%;
    height: 2px;
    background: rgba(0, 240, 255, 0.2);
    border-radius: 1px;
}

/* БОКОВЫЕ КАРТОЧКИ (Выровнены по сжатой высоте) */
.floating-card {
    position: absolute;
    background: rgba(4, 18, 23, 0.9);
    border: 1.5px solid rgba(0, 240, 255, 0.45);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    z-index: 2;
    transition: border-color 0.3s ease;
}

.floating-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.card-line {
    height: 4px;
    background: rgba(0, 240, 255, 0.25);
    border-radius: 2px;
}
.card-line.long { width: 100%; }
.card-line.short { width: 55%; }
.card-line.accent-line {
    height: 5px;
    background: var(--accent-color);
    width: 80%;
    box-shadow: 0 0 5px var(--accent-glow);
}

/* Левая группа */
.far-left-phone {
    width: 48px;
    height: 85px;
    left: -30px;
    bottom: 35px;
    padding: 8px 6px;
    gap: 6px;
    border-radius: 10px;
    animation: farLeftFloat 5.2s ease-in-out infinite;
}

.phone-status-bar {
    display: flex;
    justify-content: flex-end;
    gap: 2px;
}

.phone-dot {
    width: 2px;
    height: 2px;
    background: rgba(0, 240, 255, 0.4);
    border-radius: 50%;
}

.phone-home-btn {
    width: 14px;
    height: 2px;
    background: rgba(0, 240, 255, 0.3);
    border-radius: 1px;
    margin-top: auto;
    align-self: center;
}

.left-card {
    width: 72px;
    height: 95px;
    left: 35px;
    bottom: 55px;
    padding: 12px;
    gap: 8px;
    animation: leftCardFloat 4.8s ease-in-out infinite;
}

.card-accent-header {
    height: 6px;
    background: var(--accent-color);
    width: 45%;
    border-radius: 3px;
    box-shadow: 0 0 8px var(--accent-color);
    margin-bottom: 2px;
}

/* Правая группа */
.right-card {
    width: 72px;
    height: 95px;
    right: 35px;
    bottom: 55px;
    padding: 12px;
    gap: 8px;
    align-items: center;
    animation: rightCardFloat 5.5s ease-in-out infinite;
}

.card-avatar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 4px;
}

.avatar-head {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid var(--accent-color);
    background: rgba(0, 240, 255, 0.15);
    box-shadow: 0 0 5px var(--accent-color);
}

.avatar-body {
    width: 22px;
    height: 8px;
    border: 1.5px solid var(--accent-color);
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    background: rgba(0, 240, 255, 0.15);
    margin-top: 1px;
}

.card-thick-pill {
    width: 100%;
    height: 8px;
    border: 1px solid rgba(0, 240, 255, 0.4);
    border-radius: 4px;
    background: rgba(0, 240, 255, 0.05);
}

.far-right-card {
    width: 44px;
    height: 68px;
    right: -30px;
    bottom: 40px;
    padding: 8px;
    gap: 6px;
    animation: farRightFloat 4.5s ease-in-out infinite;
}

.far-right-circle {
    width: 14px;
    height: 14px;
    border: 1.5px solid var(--accent-color);
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.15);
    box-shadow: 0 0 5px var(--accent-color);
    align-self: center;
    margin-bottom: 2px;
}

/* 2. Наши инструменты */
.tools-section {
    padding: 40px 0;
    position: relative;
}

.tools-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 0; /* Увеличен верхний паддинг */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


.tool-card {
    background: rgba(8, 25, 35, 0.45);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 60px 30px 30px; /* Верхний паддинг 60px обеспечивает идеальный баланс */
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.tool-card:hover {
    transform: translateY(-4px);
}

.tool-card.cyan:hover {
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.12);
}
.tool-card.purple:hover {
    border-color: rgba(162, 89, 255, 0.3);
    box-shadow: 0 0 25px rgba(162, 89, 255, 0.12);
}
.tool-icon-box {
    position: absolute;
    top: -44px;
    left: 50%;
    transform: translateX(-50%);
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none !important;
    background: none !important;
    margin-bottom: 0;
    z-index: 2;
}
.tool-icon-box::before {
    content: "";
    position: absolute;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    filter: blur(16px);
    opacity: 0.55;
    z-index: -1;
}
.tool-icon-box.cyan {
    border: 1.5px solid rgba(0, 240, 255, 0.35);
    background: rgba(0, 240, 255, 0.05);
}
.tool-icon-box.cyan::before {
    background: #00f0ff;
}

.tool-icon-box.purple {
    border: 1.5px solid rgba(162, 89, 255, 0.35);
    background: rgba(162, 89, 255, 0.05);
}
.tool-icon-box.purple::before {
    background: #a259ff;
}
/* Заголовки и тексты */
.tool-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px 0;
}

.tool-card p {
    font-size: 0.92rem;
    color: #a0aec0;
    line-height: 1.6;
    margin: 0 0 28px 0;
}

/* Кнопка-пилюля */
.tool-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px 24px;
    border-radius: 8px; /* Углы слегка закруглены по референсу */
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    margin-top: auto;
    box-sizing: border-box;
    
    /* Технология градиентной рамки */
    background: linear-gradient(#081923, #081923) padding-box,
                linear-gradient(135deg, #ea80fc, #00f0ff) border-box;
    border: 1.5px solid transparent;
    color: #00f0ff;
    
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.05);
    transition: transform 0.2s ease, box-shadow 0.3s ease, filter 0.2s ease;
}

.tool-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
    filter: brightness(1.15); /* Делает градиент кнопки сочнее при наведении */
}

.tool-btn.cyan {
    background: linear-gradient(#081923, #081923) padding-box,
                linear-gradient(135deg, #e29bf7, #6fa2fa, #46f0f3) border-box; /* Точные цвета: розовый -> синий -> бирюзовый */
    border: 1.5px solid transparent;
    border-radius: 8px;
    color: #46f0f3;
    box-shadow: 0 0 10px rgba(70, 240, 243, 0.05);
}
.tool-btn.cyan:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 15px rgba(70, 240, 243, 0.25);
    filter: brightness(1.12);
}

.tool-btn.purple {
    border: 1.5px solid rgba(162, 89, 255, 0.45);
    color: #a259ff;
}
.tool-btn.purple:hover {
    background: rgba(162, 89, 255, 0.1);
    box-shadow: 0 0 15px rgba(162, 89, 255, 0.25);
}

/* Адаптив под планшеты и мобилки */
@media (max-width: 992px) {
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
/* 3. Квиз */
.quiz-section {
    padding: 100px 0;
    background: radial-gradient(circle at center, rgba(0, 240, 255, 0.03) 0%, transparent 70%);
}

.quiz-container {
    margin-top: -25px;
    background: var(--card-bg);
    border: 1px solid var(--accent-color);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.08);
}

.quiz-option {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 16px;
    margin: 12px 0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.quiz-option:hover {
    border-color: var(--accent-color);
    background: rgba(0, 240, 255, 0.05);
}

.quiz-option input {
    margin-right: 15px;
    accent-color: var(--accent-color);
}

.input-field {
    width: 100%;
    padding: 14px;
    margin: 12px 0;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 240, 255, 0.25);
    color: var(--text-primary);
    border-radius: 8px;
    font-family: var(--font-family);
    transition: border-color 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-glow);
}

.quiz-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}
#quiz-step-content p,
#quiz-step-content h4 {
    text-align: center !important;
    display: block !important;
}

/* 4. Кейсы */
.cases-section {
    padding: 100px 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.case-card:hover {
    transform: scale(1.02);
    border-color: rgba(0, 240, 255, 0.3);
}

.case-img-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #051a24 0%, #030a0d 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-muted);
}

.case-info {
    padding: 20px;
    text-align: center;
}

.case-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.case-info p {
    font-size: 0.85rem;
    color: var(--accent-color);
}

/* 5. FAQ */
.faq-section {
    padding: 70px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px; 
    padding-bottom: 30px;
}

.faq-list {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px 30px;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    text-align: left;
    padding: 22px 0;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    color: var(--accent-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    color: var(--text-muted);
}

.faq-answer p {
    padding-bottom: 22px;
    font-size: 0.95rem;
}

/* Футер */
.footer {
    background: #02070a;
    padding: 60px 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
}

.footer-brand .logo {
    margin-bottom: 15px;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-contacts h4 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-contacts p {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer-contacts a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contacts a:hover {
    color: var(--accent-color);
}

/* --- АНИМАЦИИ СЦЕНЫ (Синхронизированные) --- */

@keyframes laptopFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-7px); }
}

@keyframes hologramPulse {
    0%, 100% { 
        transform: translateX(-50%) translateY(0px) scale(1); 
    }
    50% { 
        transform: translateX(-50%) translateY(-10px) scale(1.04); 
    }
}

@keyframes beamPulse {
    0%, 100% { opacity: 0.75; transform: translateX(-50%) scaleX(1); }
    50% { opacity: 0.95; transform: translateX(-50%) scaleX(1.05); }
}

@keyframes farLeftFloat {
    0%, 100% { transform: translateY(0px) rotate(-4deg); }
    50% { transform: translateY(-7px) rotate(-2deg); }
}

@keyframes leftCardFloat {
    0%, 100% { transform: translateY(0px) rotate(-1deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes rightCardFloat {
    0%, 100% { transform: translateY(0px) rotate(2deg); }
    50% { transform: translateY(-8px) rotate(0deg); }
}

@keyframes farRightFloat {
    0%, 100% { transform: translateY(0px) rotate(5deg); }
    50% { transform: translateY(-6px) rotate(3deg); }
}

/* --- Адаптивность --- */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .features {
        align-items: center;
    }
    .tools-grid {
        grid-template-columns: 1fr 1fr;
    }
    .cases-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
        gap: 15px;
    }
    .header {
        position: relative !important; /* Убирает фиксацию (sticky) */
        top: auto !important;
    }
    .nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .nav a {
        margin: 0 10px;
    }
    .main-title {
        font-size: 2.2rem;
    }
    .tools-grid {
        grid-template-columns: 1fr;
    }
    .cases-grid {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 1.6rem;
    }
}

/* Сохраняем горизонтальный ряд иконок на мобильных телефонах */
@media (max-width: 576px) {
    .features {
        flex-direction: row; /* Оставляем строго в ряд */
        justify-content: center;
        gap: 12px; /* Сужаем расстояние между колонками */
        padding: 0 5px;
    }
    .feature-item {
        gap: 8px; /* Уменьшаем отступ между иконкой и текстом */
    }
    .feature-icon-box {
        width: 58px; /* Компактный размер коробочки на телефонах */
        height: 58px;
        border-radius: 10px;
    }
    .feature-icon-box svg {
        width: 32px; /* Пропорционально уменьшаем саму иконку */
        height: 32px;
    }
    .feature-text strong {
        font-size: 0.72rem; /* Адаптивный размер главного текста */
        line-height: 1.2;
    }
    .feature-text span {
        font-size: 0.62rem; /* Адаптивный размер подзаголовка */
        line-height: 1.1;
    }
}

/* --- СТИЛИ ДЛЯ СТРАНИЦ-СТАТЕЙ (УСЛУГИ) --- */

.article-section {
    padding: 60px 0;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--accent-color);
    text-shadow: 0 0 15px var(--accent-glow);
}

.article-intro {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.5;
}

/* Сетка преимуществ и недостатков */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr; /* На телефонах блоки встают друг под друга */
    }
}

/* Коробка плюсов */
.pros-box {
    background: rgba(0, 255, 100, 0.02);
    border: 1px solid rgba(0, 255, 100, 0.15);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 0 15px rgba(0, 255, 100, 0.03);
}

.pros-box h4 {
    color: #00ff64;
    font-size: 1.15rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Коробка минусов */
.cons-box {
    background: rgba(255, 50, 50, 0.02);
    border: 1px solid rgba(255, 50, 50, 0.15);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 0 15px rgba(255, 50, 50, 0.03);
}

.cons-box h4 {
    color: #ff3232;
    font-size: 1.15rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Красивые списки для статей */
.article-list {
    list-style: none;
}

.article-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.article-list li::before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Группа кнопок заказа */
.cta-box {
    background: var(--card-bg);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 12px;
    padding: 40px;
    margin-top: 60px;
}

.cta-buttons-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

@media (max-width: 576px) {
    .cta-buttons-group {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .cta-buttons-group a {
        width: 100%;
        text-align: center;
        white-space: nowrap !important;
    }
}

/* --- СТИЛИ СТРАНИЦЫ TELEGRAM-БОТОВ (ПО НОВОМУ РЕФЕРЕНСУ) --- */

/* --- СЖАТИЕ ОТСТУПОВ ВОКРУГ ЗАГОЛОВКА "TELEGRAM-БОТЫ" --- */

/* Уменьшаем пустое пространство сверху над заголовком */
.bot-landing-body .article-section {
    padding-top: 15px !important; /* Было 60px, прижали заголовок ближе к шапке */
    padding-bottom: 30px !important;
}

/* Сжимаем отступы у самого заголовка «TELEGRAM-БОТЫ» */
.bot-landing-body .bot-page-title {
    margin-top: 0px !important;
    margin-bottom: 5px !important; /* Сжали расстояние между заголовком и описанием до минимума */
}

/* Класс для фонового изображения, если захотите наложить картинку ASUS VivoBook клавиатуры на фон */
.bot-landing-body {
    background: linear-gradient(180deg, rgba(3, 10, 13, 0.94) 0%, rgba(3, 10, 13, 0.98) 100%), 
                url('../assets/images/keyboard-bg.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

/* Заголовок шрифтом Lora из референса */
.bot-page-title {
    font-family: 'Lora', 'Georgia', serif;
    font-size: 3.5rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    text-shadow: 0 0 20px var(--accent-glow);
    margin-bottom: 10px;
}

/* Специфические парящие инфографик-карточки (Плюсы и Минусы) */
.hologram-card {
    position: absolute;
    background: rgba(4, 18, 23, 0.85);
    border: 1.5px solid rgba(0, 240, 255, 0.45);
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
    backdrop-filter: blur(8px);
    display: flex;
    gap: 12px;
    align-items: center;
    z-index: 2; /* Уходят под ноутбук */
    text-align: left;
    transition: border-color 0.3s ease;
}

.hologram-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
}

/* Иконки слева в карточках */
.hologram-card-icon-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    filter: drop-shadow(0 0 5px var(--accent-glow));
    flex-shrink: 0;
}

.hologram-card-icon-column svg {
    width: 28px;
    height: 28px;
}

/* Текстовая колонка */
.hologram-card-text-column {
    display: flex;
    flex-direction: column;
}

.hologram-card-text-column h5 {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

/* Бирюзово-зеленый цвет для заголовка Плюсов */
.hologram-card-text-column.pros h5 {
    color: #00ffca;
    text-shadow: 0 0 8px rgba(0, 255, 202, 0.3);
}

/* Красно-бирюзовый цвет для заголовка Минусов */
.hologram-card-text-column.cons h5 {
    color: #ff4a4a;
    text-shadow: 0 0 8px rgba(255, 74, 74, 0.3);
}

.hologram-card-text-column ul {
    list-style: none;
}

.hologram-card-text-column ul li {
    font-size: 0.75rem;
    color: var(--text-primary);
    line-height: 1.35;
    padding-left: 10px;
    position: relative;
}

.hologram-card-text-column ul li::before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

/* ТОЧНЫЕ РАЗМЕРЫ И КООРДИНАТЫ КАРТОЧЕК ИЗ РЕФЕРЕНСА (ПК-версия) */

/* Плюсы (Верхняя левая) */
.pros-card-1 {
    width: 230px !important;
    left: -20px !important;
    bottom: 20px !important; /* Опустили до 20px (было 45px) */
    animation: farLeftFloat 5.2s ease-in-out infinite;
}

/* Скорость (Нижняя левая) */
.pros-card-2 {
    width: 175px !important;
    left: -10px !important;
    bottom: -45px !important; /* Опустили до -45px (было -5px) */
    animation: leftCardFloat 4.8s ease-in-out infinite;
}

/* Минусы (Верхняя правая) */
.cons-card-1 {
    width: 195px !important;
    right: -10px !important;
    bottom: 20px !important; /* Опустили до 20px (было 45px) */
    animation: rightCardFloat 5.5s ease-in-out infinite;
}

/* Минусы (Нижняя правая с двумя иконками) */
.cons-card-2 {
    width: 225px !important;
    right: -25px !important;
    bottom: -45px !important; /* Опустили до -45px (было -5px) */
    animation: farRightFloat 4.5s ease-in-out infinite;
}

/* --- АДАПТИВНОСТЬ ДЛЯ ТЕЛЕФОНОВ --- */
@media (max-width: 576px) {
    .bot-page-title {
        font-size: 1.6rem !important; /* Уменьшили размер до 25px (было 2.3rem) */
        line-height: 1.35 !important; /* Комфортное расстояние между строками */
        letter-spacing: 1px !important; /* Сузили межбуквенный интервал, чтобы слова помещались */
        text-align: center !important;
        margin-bottom: 15px !important;
    }

    /* Пропорционально сжимаем и сдвигаем карточки инфографики на телефонах, чтобы избежать наложений */
    .pros-card-1 {
        width: 165px;
        left: -40px;
    }
    .pros-card-2 {
        width: 135px;
        left: -30px;
    }
    .cons-card-1 {
        width: 145px;
        right: -30px;
    }
    .cons-card-2 {
        width: 165px;
        right: -45px;
    }
    
    .hologram-card {
        padding: 8px 10px;
        gap: 8px;
    }
    .hologram-card-icon-column svg {
        width: 22px;
        height: 22px;
    }
    .hologram-card-text-column h5 {
        font-size: 0.65rem;
    }
    .hologram-card-text-column ul li {
        font-size: 0.65rem;
    }
}
/* --- СТИЛИ СТРАНИЦЫ ТЕЛЕГРАМ-БОТОВ, лендингов и сайтов-визиток (ИЗОЛИРОВАНЫ, НЕ ВЛИЯЮТ НА СТАРТОВУЮ INDEX.HTML) --- */

/* --- СИСТЕМНЫЕ НАСТРОЙКИ И ПЕРЕМЕННЫЕ --- */
:root {
    --bg-color: #030a0d;
    --card-bg: rgba(4, 18, 23, 0.85);
    --accent-color: #00f0ff;
    --accent-glow: rgba(0, 240, 255, 0.35);
    --text-primary: #ffffff;
    --text-secondary: #b0c4de;
    --border-color: rgba(0, 240, 255, 0.25);
    --font-sans: 'Inter', 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Lora', 'Georgia', serif;
}

/* Общие стили */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.bot-landing-body {
    background-color: var(--bg-color);
    background-image: linear-gradient(180deg, rgba(3, 10, 13, 0.94) 0%, rgba(3, 10, 13, 0.98) 100%);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* --- ШАПКА САЙТА --- */
.header {
    padding: 0px  !important; /* Первое число (10px) отвечает за отступы сверху и снизу */
    border-bottom: 1px solid rgba(0, 240, 255, 0.1) !important;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-glow);
}

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--accent-color);
}

/* --- HERO СЕКЦИЯ --- */
.hero-block {
    padding: 0px 0 20px 0;
}

.bot-page-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-color);
    text-shadow: 0 0 20px var(--accent-glow);
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.btn-discuss {
    display: inline-block;
    padding: 10px 25px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
    border: 1.5px solid var(--accent-color);
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
    transition: all 0.3s ease;
    background: transparent;
}

.btn-discuss:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px var(--accent-color);
}

/* --- СЕТКА КАРТОЧЕК (2x2) --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.feature-card {
    background: var(--card-bg);
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.05);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    filter: drop-shadow(0 0 5px var(--accent-glow));
    flex-shrink: 0;
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--accent-color);
    text-shadow: 0 0 8px var(--accent-glow);
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- ШИРОКАЯ ПЛАШКА "АРХИТЕКТУРА" --- */
.wide-feature-box {
    background: var(--card-bg);
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 60px;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.05);
}

.wide-box-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.15);
    padding-bottom: 15px;
}

.wide-box-header h2 {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--accent-color);
    text-shadow: 0 0 8px var(--accent-glow);
}

.wide-box-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.wide-bullets {
    list-style: none;
}

.wide-bullets li {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.wide-bullets li::before {
    content: "•";
    color: var(--accent-color);
    font-size: 1.3rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.wide-bullets strong {
    color: var(--accent-color);
}

/* --- РАЗДВОЕННАЯ СЕКЦИЯ (SPLIT LAYOUT) --- */
.split-layout-section {
    padding-top: 20px;
    margin-bottom: 60px;
}

.split-section-title {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 40px;
    color: var(--text-primary);
    text-align: left;
}

.tag-accent {
    color: #00bcd4;
    font-weight: 500;
    font-family: monospace;
    opacity: 0.85;
}

.split-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
}

/* Левая часть */
.split-left-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.intro-paragraph {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.seo-sub-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sub-block-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-color);
}

.sub-block-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* Кнопки призыва к действию */
.cta-buttons-container {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.btn-glow {
    background: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    padding: 12px 24px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 15px var(--accent-glow);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 0 25px var(--accent-color);
}

.btn-outline {
    background: transparent;
    color: #00f0ff !important;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    padding: 12px 24px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-glow);
}

/* Правая часть (Цитата и воронка) */
.split-right-visual {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.quote-card {
    background: var(--card-bg);
    border-left: 3.5px solid var(--accent-color);
    padding: 20px;
    border-radius: 0 12px 12px 0;
    position: relative;
}

.quote-mark {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: var(--accent-color);
    position: absolute;
    top: -15px;
    left: 15px;
    opacity: 0.15;
    line-height: 1;
}

.quote-text {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--accent-color);
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.funnel-infographic {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.funnel-svg {
    width: 100%;
    max-width: 250px;
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

/* --- ПОДВАЛ (FOOTER) --- */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
    background: rgba(1, 6, 8, 0.95);
}

.footer-container {
    display: flex;
    justify-content: space-between;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-contacts h4 {
    font-size: 0.95rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.footer-contacts p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.footer-contacts a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contacts a:hover {
    color: var(--accent-color);
}

/* --- АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ --- */
@media (max-width: 992px) {
    .split-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .funnel-infographic {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .bot-page-title {
        font-size: 2.6rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .nav a {
        margin: 0;
    }
    
    .cta-buttons-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
}


/* === ТРЁХКОЛОНОЧНЫЙ ЛЭЙАУТ (ТОЛЬКО ДЕСКТОП ≥993px) === */
@media (min-width: 993px) {

    .triple-layout {
        display: grid;
        grid-template-columns: 380px 1fr 300px;
        grid-template-areas: "left center right";
        align-items: start;
        padding: 0 20px;
        padding-top: 0;
        width: 100%;
        max-width: 1600px;
        margin: -10px auto;
    }

    .triple-left {
        grid-area: left;
        padding: 24px 20px 40px 20px;
        align-self: start;
    }

    .triple-center {
        grid-area: center;
    }

    .triple-right {
        grid-area: right;
        padding: 24px 20px 40px 20px;
        align-self: start;
    }
    .triple-center.hero-section {
        min-height: auto !important;
        padding: 24px 0 40px 0;
    }
    .triple-tools {
        grid-column: 1 / -1;  /* растягивается на все 3 колонки */
        order: 10;             /* уходит ниже трёх колонок */
        padding: 60px 20px;
    }

    /* Кейсы в столбик */
    .cases-column {
        margin-top: -25px;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .cases-column .case-card {
        width: 100%;
    }

    .cases-column .case-img-placeholder {
        height: 120px;
    }

    /* Квиз без лишних отступов в колонке */
    .triple-left .quiz-container {
        padding: 24px;
    }

    .triple-left .quiz-section {
        padding: 0;
    }
    .triple-right .case-img-placeholder {
        height: 90px;
    }
    .triple-right .case-card {
        margin-bottom: 12px;
    }
    /* Шапка повторяет сетку тройного лэйаута */
    .header-container {
        display: grid;
        grid-template-columns: 380px 1fr 300px;
        max-width: 1600px;
        padding: 0 20px;
    }

    /* Лого — по центру левой колонки (над "Умный расчет") */
    .header-container .logo {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Навигация — по центру средней колонки */
    .header-container .nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 25px;
    }

    .header-container .nav a {
        margin-right: 0;
    }

    /* Кнопка — по центру правой колонки (над "Наши кейсы") */
    .header-container .btn-outline {
        justify-self: center;
        align-self: center;
    }
}
/* ═══════════════════════════════════════
   СЕКЦИЯ КОНТАКТЫ
═══════════════════════════════════════ */

.contacts-section {
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px; 
    padding-bottom: 30px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.contact-card {
    background: rgba(8, 25, 35, 0.85);
    border: 1px solid rgba(0, 240, 255, 0.12);
    border-radius: 60px;
    padding: 18px 28px 18px 18px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-card:hover {
    border-color: rgba(0, 240, 255, 0.45);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
    transform: translateY(-2px);
}

/* Базовая круглая иконка */
.contact-card-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.1);
    border: 1.5px solid rgba(0, 240, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.15);
}

.contact-card-icon svg {
    width: 26px;
    height: 26px;
}

/* Telegram — синий фон */
.contact-card-icon--tg {
    background: rgba(0, 136, 204, 0.18);
    border-color: rgba(0, 136, 204, 0.4);
    color: #29b6f6;
    box-shadow: 0 0 14px rgba(0, 136, 204, 0.2);
}

/* WhatsApp — зелёный фон */
.contact-card-icon--wa {
    background: rgba(0, 136, 204, 0.18);
    border-color: rgba(0, 136, 204, 0.4);
    color: #29b6f6;
    box-shadow: 0 0 14px rgba(37, 211, 102, 0.18);
}

.contact-card-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.contact-card-body h4 {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0;
}

.contact-card-body p:not(.contact-sub) {
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.35;
}

.contact-link {
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.35;
}

.contact-link:hover {
    color: var(--accent-color);
}

.contact-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0 !important;
}

/* Подвал: правовые ссылки */
.footer-legal-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.footer-legal-links a {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--accent-color);
}

/* Адаптив */
@media (max-width: 768px) {
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .footer-legal-links {
        align-items: center;
        margin-top: 16px;
    }
}

@media (max-width: 576px) {
    .contact-card {
        padding: 14px 20px 14px 14px;
        gap: 14px;
    }
    .contact-card-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }
    .contact-card-icon svg {
        width: 22px;
        height: 22px;
    }
}
/* ═══════════════════════════════════════
   КОНТАКТЫ — МОБИЛЬ
═══════════════════════════════════════ */

@media (max-width: 768px) {

    .contacts-section {
        padding: 30px 0;
    }

    .contacts-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-top: 28px;
    }

    /* Карточка строго горизонтальная, не колонка */
    .contact-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        border-radius: 18px !important;
        padding: 16px 20px !important;
        gap: 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Иконка — жёстко фиксированный квадрат */
    .contact-card-icon {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
        max-width: 52px !important;
        min-height: 52px !important;
        max-height: 52px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        overflow: hidden !important;
    }

    /* SVG внутри иконки — строго ограничен */
    .contact-card-icon svg {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        max-width: 24px !important;
        display: block !important;
        flex-shrink: 0 !important;
    }

    /* Текстовая часть не разъезжается */
    .contact-card-body {
        display: flex !important;
        flex-direction: column !important;
        gap: 3px !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .contact-card-body h4 {
        font-size: 0.68rem !important;
        white-space: nowrap;
    }

    .contact-card-body p:not(.contact-sub),
    .contact-link {
        font-size: 0.9rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Исполнитель — длинное имя разрешаем переносить */
    .contact-card:first-child .contact-card-body p:not(.contact-sub) {
        white-space: normal !important;
        word-break: break-word;
    }

    .contact-sub {
        font-size: 0.78rem !important;
    }

    .footer-legal-links {
        align-items: center !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 12px !important;
        margin-top: 16px;
    }
}
/* ════════════════════════════════════
   ФУТЕР (ПК ВЕРСИЯ)
════════════════════════════════════ */

.footer {
    background: #02070a;
    border-top: 1px solid rgba(0, 240, 255, 0.08);
    padding: 0;
}

.footer-container { 
    display: none !important; 
}

.footer-main {
    padding: 30px 0;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    /* Настройка колонок в точности под референс ноутбука */
    grid-template-columns: 220px 280px 1fr 250px;
    gap: 40px;
    align-items: start;
}

/* Логотип */
.footer-logo-big {
    font-size: 4.0rem;
    font-weight: 900;
    line-height: 1.10;
    letter-spacing: 1px;
    font-family: var(--font-family), sans-serif;
}
.footer-col-logo {
    margin-left: -80px !important /* Сдвинет логотип влево на 15px. Можете настроить это значение под себя */
}

.logo-accent {
    color: #00f0ff;
    text-shadow: 0 0 12px rgba(0, 240, 255, 0.45);
}

.logo-white {
    color: #ffffff;
}

/* Слоган */
.footer-tagline {
    font-size: 1.2rem;
    color: #a0aec0; /* Светлый приятный серо-голубой цвет */
    line-height: 1.2;
    margin-top: 75px !important;
}

/* Скрываем правовые документы под слоганом на ПК */
.footer-legal-col {
    display: none;
}

/* Заголовки колонок */
.footer-col-title {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff; /* Белые заголовки */
    margin-bottom: 22px;
}

/* Навигация */
.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-nav-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-nav-list li svg { 
    color: #00f0ff; 
    filter: drop-shadow(0 0 4px rgba(0, 240, 255, 0.3));
    flex-shrink: 0; 
}

.footer-nav-list a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.footer-nav-list a:hover { 
    color: #00f0ff; 
}

/* Контакты */
.footer-contact-line {
    display: block;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.fc-label {
    font-weight: 600;
    color: #a0aec0;
    margin-right: 4px;
}

.footer-contact-line a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-line a:hover { 
    color: #00f0ff; 
}

/* Соцсети */
.footer-social-row {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.footer-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff; /* Белые значки */
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-social-btn:hover { 
    transform: translateY(-2px); 
}

.footer-social-tg {
    background: #0088cc;
    box-shadow: 0 0 10px rgba(0, 136, 204, 0.25);
}

.footer-social-tg:hover { 
    box-shadow: 0 0 16px rgba(0, 136, 204, 0.5); 
}

.footer-social-wa {
    background: #25d366;
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.25);
}

.footer-social-wa:hover { 
    box-shadow: 0 0 16px rgba(37, 211, 102, 0.5); 
}

/* Нижняя полоса */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 0;
}

/* Сетка для идеального распределения элементов */
.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* Левая часть - Центр - Правая часть */
    align-items: center;
}

.footer-copyright {
    grid-column: 2; /* Строго по центру */
    font-size: 0.7rem;
    color: #a0aec0;
    text-align: center;
    margin: 0;
}

.footer-legal-link-left {
    grid-column: 1; /* Прижата к левому краю */
    justify-self: start;
    font-size: 0.8rem;
    color: #00f0ff;
    text-decoration: none;
    border-bottom: 1.5px solid rgba(0, 240, 255, 0.25);
    padding-bottom: 2px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.footer-legal-link-right {
    grid-column: 3; /* Прижата к правому краю */
    justify-self: end;
    font-size: 0.8rem;
    color: #00f0ff;
    text-decoration: none;
    border-bottom: 1.5px solid rgba(0, 240, 255, 0.25);
    padding-bottom: 2px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.footer-legal-link-left:hover,
.footer-legal-link-right:hover {
    color: #ffffff;
    border-color: #ffffff;
}


/* ════════════════════════════════════════════
   МОБИЛЬНЫЙ ФУТЕР (ДО 768px)
   ════════════════════════════════════════════ */

@media (max-width: 768px) {
    .footer-main {
        padding: 15px 0 !important;
    }

    .footer-grid {
        display: flex !important;
        flex-direction: row !important; /* в одну линию */
        align-items: center !important; /* центрируем по вертикали */
        justify-content: flex-start !important; /* прижимаем к левому краю */
        gap: 20px !important; /* расстояние между логотипом и слоганом */
        padding: 0 16px !important;
    }

    .footer-col-nav,
    .footer-col-contacts {
        display: none !important;
    }

    .footer-col-logo {
    display: flex !important;
    align-items: center !important;
    margin-left: 0 !important;
    flex-shrink: 0 !important; /* не дает логотипу сжиматься */
    }


    .footer-col-tagline {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important; /* все тексты прижаты влево */
    text-align: left !important;
    }

    .footer-logo-big {
        font-size: 2.0rem !important;
        line-height: 1.10 !important;
        text-align: left !important;
    }

    .footer-tagline {
    font-size: 0.85rem !important;
    line-height: 1.25 !important;
    text-align: center !important;
    max-width: 200px !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important; /* отступ до документов под ним */
    margin-left: 30px !important;
    }

    /* Отображаем правовые ссылки под слоганом */
    .footer-legal-col {
    display: flex !important;
    flex-direction: column !important; /* ссылки друг под другом */
    align-items: center !important;
    gap: 4px !important;
    margin-top: 15px;
    }

    .footer-legal-col a {
    font-size: 0.5rem !important; /* мелкий шрифт */
    color: #00f0ff !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2) !important;
    padding-bottom: 1px !important;
    margin-left: 52px;
    }

    /* Мобильный вид нижней полосы */
    .footer-bottom {
    padding: 10px 0 !important; /* тонкий блок */
    }
    .footer-bottom-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        text-align: center !important;
    }

    /* Скрываем десктопные крайние ссылки внизу */
    .footer-legal-link-left,
    .footer-legal-link-right {
    display: inline-block !important; /* Показываем их */
    font-size: 0.85rem !important;
    color: #00f0ff !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2) !important;
    padding-bottom: 2px !important;
    }

    .footer-copyright {
    font-size: 0.5rem !important;
    line-height: 1.2 !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 !important;
    }
    /* ДОБАВИТЬ: полностью скрываем дублирующие ссылки из нижней полосы на мобилке */
    .footer-legal-link-left,
    .footer-legal-link-right {
    display: none !important;
    }
}
@media (max-width: 768px) {
    
    /* 1. Делаем body главным флекс-контейнером */
    body {
        display: flex;
        flex-direction: column;
    }

    /* 2. Заставляем браузер игнорировать контейнер трех колонок на мобильных */
    .triple-layout {
        display: contents;
    }

    /* 3. Задаем точный порядок всех блоков от верха до футера */
    
    .header {
        order: 0; /* Шапка всегда сверху */
    }

    .hero-section {
        order: 1; /* 1. Основной блок */
    }

    .tools-section {
        order: 2; /* 2. Наши инструменты */
    }

    #cases {
        order: 3; /* 3. Кейсы */
    }

    #quiz-section {
        order: 4; /* 4. Умный расчет */
    }

    .faq-section {
        order: 5; /* Ответы на вопросы (оставляем после расчета) */
    }

    .contacts-section {
        order: 6; /* 5. Контакты */
    }

    .footer {
        order: 7; /* 6. Футер */
    }
}
/* ════════════════════════════════════
   СТИЛИ МОДАЛЬНЫХ ОКН
════════════════════════════════════ */

/* Делаем карточки кликабельными */
.case-card {
    cursor: pointer;
    transition: transform 0.2s ease;
}
.case-card:hover {
    transform: translateY(-2px);
}

/* Фон модального окна */
.case-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 7, 10, 0.85);
    backdrop-filter: blur(8px);
    visibility: hidden;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Состояние "Открыто" */
.case-modal.active {
    visibility: visible;
    opacity: 1;
}

/* Контейнер с контентом */
.case-modal-content {
    background: #081923;
    border: 1.5px solid rgba(0, 240, 255, 0.25);
    border-radius: 16px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 85vh;      /* Максимальная высота окна — 85% от высоты экрана телефона */
    overflow-y: auto;      /* Если текст не влезает по высоте, внутри окна появится прокрутка */
    padding: 30px 20px;    /* Слегка уменьшим боковые отступы для мобилок */
}

.case-modal.active .case-modal-content {
    transform: scale(1);
}

/* Кнопка закрытия (крестик) */
.case-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #a0aec0;
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.case-modal-close:hover {
    color: #00f0ff;
}

/* Тексты внутри модалки */
.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
}

.modal-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    color: #00f0ff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 16px 0;
}

.modal-body p {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

/* Теги технологий */
.modal-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tech-badge {
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.25);
    color: #00f0ff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Кнопка действия */
.modal-action-btn {
    display: inline-block;
    text-align: center;
    width: 100%;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    box-sizing: border-box;
    cursor: pointer;
}
/* ════════════════════════════════════
   СТИЛИ КНОПОК ДЛЯ ОКНА СВЯЗИ
════════════════════════════════════ */

.modal-contact-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    color: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.contact-modal-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.15);
}

.contact-modal-btn svg {
    flex-shrink: 0;
}

/* Telegram */
.btn-modal-tg {
    background: #0088cc;
    box-shadow: 0 0 15px rgba(0, 136, 204, 0.35);
}

/* WhatsApp */
.btn-modal-wa {
    background: #25d366;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.35);
}

/* Телефон */
.btn-modal-phone {
    background: #102636;
    border: 1px solid rgba(0, 240, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}
/* Центрирование текстов и элементов во всех модальных окнах */
.case-modal-content {
    text-align: center;
}

.modal-tech-stack {
    justify-content: center; /* Центрирует теги технологий по горизонтали */
}
/* Эстетичный стиль для изображений в модальных окнах */
.modal-case-img {
    width: 100%;
    height: auto; /* Картинка масштабируется естественно, без обрезки верха и низа */
    border-radius: 8px;
    border: 1px solid rgba(0, 240, 255, 0.15); /* Тонкая неоновая рамка */
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.05); /* Мягкое свечение */
    margin-bottom: 24px;
    display: block;
}
/* Скрытие серого бегунка прокрутки в модальном окне */
.case-modal-content {
    -ms-overflow-style: none;  /* Скрывает прокрутку в IE и Edge */
    scrollbar-width: none;     /* Скрывает прокрутку в Firefox */
}

.case-modal-content::-webkit-scrollbar {
    display: none;             /* Скрывает прокрутку в Chrome, Safari и Opera */
}
/* ════════════════════════════════════
   НОВЫЕ СТИЛИ ДЛЯ КАРТОЧЕК КЕЙСОВ (ПК)
════════════════════════════════════ */

/* Контейнер для картинки (обрезает лишнее при зуме) */
.case-img-wrap {
    width: 100%;
    height: 135px; /* Оптимальная высота превью в узкой колонке */
    overflow: hidden; /* Обрезает картинку при масштабировании */
    position: relative;
    border-bottom: 1px solid rgba(0, 240, 255, 0.15); /* Граница-разделитель */
}

/* Сама картинка превью */
.case-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Заполнение без искажения пропорций */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Плавное увеличение */
}

/* Базовые стили карточки */
.case-card {
    background: #081923; /* Темный фон под цвет вашего сайта */
    border: 1px solid rgba(255, 255, 255, 0.05); /* Едва заметная рамка по умолчанию */
    border-radius: 12px;
    overflow: hidden; /* Скругляет углы и картинки, и самой карточки */
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

/* Интерактивные эффекты при наведении на карточку */
.case-card:hover {
    border-color: rgba(0, 240, 255, 0.4); /* Бирюзовая рамка */
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.15); /* Мягкое неоновое свечение */
    transform: translateY(-3px); /* Легкий подъем вверх */
}

/* Эффект зума картинки при наведении на карточку */
.case-card:hover .case-card-img {
    transform: scale(1.08); /* Приближение на 8% */
}

/* Оформление текста внизу карточки */
.case-info {
    padding: 16px;
    text-align: left;
}

.case-info h4 {
    margin: 0 0 4px 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
}

.case-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #00f0ff;
    font-weight: 600;
}

/* ══════════════════════════════════════════════════════════
   ЛЁГКИЕ И ПРОЗРАЧНЫЕ НЕОНОВЫЕ КАРТОЧКИ ПО РЕФЕРЕНСУ (CYAN)
   ══════════════════════════════════════════════════════════ */

/* Легкий, стеклянный фон карточки с размытием заднего плана */
.tool-card {
    background: rgba(57, 100, 124, 0.22) !important; /* Прозрачный легкий фон */
    backdrop-filter: blur(12px) !important;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

/* Постоянные бирюзовые неоновые контуры и свечение для всех карточек */
.tool-card.cyan {
    border: 1.5px solid rgba(0, 240, 255, 0.35) !important; /* Бирюзовый контур до наведения */
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.08) !important; /* Мягкое свечение до наведения */
}
.tool-card.cyan:hover {
    border-color: rgba(0, 240, 255, 0.75) !important; /* Яркий контур при наведении */
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.25) !important; /* Насыщенное неоновое свечение */
}

/* Кнопки: бирюзовая обводка и контрастная заливка при наведении */
.tool-btn, 
.tool-btn.cyan {
    background: transparent !important;
    border: 1.5px solid #00f0ff !important;
    color: #00f0ff !important;
    border-radius: 8px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    margin-top: auto !important;
    padding: 11px 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1) !important;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease !important;
}

.tool-btn:hover,
.tool-btn.cyan:hover {
    background-color: #00f0ff !important;
    color: #02070a !important; /* Контрастный темный текст при заливке */
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.45), 
                0 0 40px rgba(0, 240, 255, 0.15) !important;
    transform: translateY(-1px) !important;
    filter: none !important;
}
/* ══════════════════════════════════════════════════════════
   ИСПРАВЛЕНИЕ СПЛЮЩИВАНИЯ И ЗАПУСК СКРОЛЛА КЕЙСОВ (ПК ≥993px)
   ══════════════════════════════════════════════════════════ */

@media (min-width: 993px) {
    /* 1. Настраиваем контейнер кейсов как колонку с ограничением высоты */
    .cases-column {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;          /* Сохраняем красивый отступ между карточками */
        max-height: 630px !important;  /* Ограничиваем высоту блока */
        overflow-y: auto !important;    /* Включаем внутреннюю прокрутку */
        
        /* Скрываем бегунок прокрутки для Firefox и IE/Edge */
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    /* Скрываем бегунок прокрутки для Chrome, Safari и Opera */
    .cases-column::-webkit-scrollbar {
        display: none !important;
    }

    /* 2. Запрещаем карточкам сжиматься (это уберет сплющивание и запустит скролл) */
    .case-card {
        flex-shrink: 0 !important; /* Карточки сохранят исходную высоту и начнут прокручиваться */
    }
}
/* ══════════════════════════════════════════════════════════
   ПОЛНАЯ УПАКОВКА ПЕРВОГО ЭКРАНА ПОД ВЫСОТУ НОУТБУКА (≥993px)
   ══════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════
   ФИНАЛЬНЫЙ СБАЛАНСИРОВАННЫЙ ПЕРВЫЙ ЭКРАН (ПК ≥993px)
   ══════════════════════════════════════════════════════════ */

@media (min-width: 993px) {
    /* Ровная высота первого экрана без сдвигов под шапкой */
    .triple-layout {
        height: calc(100vh - 75px) !important; /* Высота под размер экрана */
        max-height: calc(100vh - 75px) !important;
        overflow: visible !important;
        box-sizing: border-box;
    }

    .triple-col {
        height: 100% !important;
        box-sizing: border-box;
    }

    /* Левая колонка (Квиз) */
    .triple-left {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }
    
    .quiz-container {
        padding: 20px !important;
    }

    .quiz-option {
        padding: 10px 14px !important;
        margin: 8px 0 !important;
        font-size: 0.9rem !important;
    }

    /* Центральная колонка (Главный экран) */
    .triple-center {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        height: 100% !important;
        padding: 15px 0 !important;
        box-sizing: border-box;
    }

    /* Сбалансированный размер главного заголовка (не мелкий и не огромный) */
    .main-title {
        font-size: 2.3rem !important; 
        line-height: 1.15 !important;
        margin-bottom: 8px !important;
    }

    .subtitle {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin: 0 auto 12px !important;
        max-width: 90% !important;
    }

    /* Масштабирование компьютера под высоту экрана */
    .hero-visual {
        flex-grow: 1 !important;
        max-height: 25vh !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 0 !important;
    }

    .features {
        margin: 10px 0 !important;
        gap: 15px !important;
    }

    .feature-item {
        gap: 8px !important;
    }

    .feature-text strong {
        font-size: 0.8rem !important;
    }
    .feature-text span {
        font-size: 0.72rem !important;
    }

    .btn-main {
        padding: 10px 24px !important;
        font-size: 0.9rem !important;
        margin-top: 5px !important;
        position: relative !important;
        left: -30px !important;
    }

    /* Правая колонка (Кейсы): независимый скрытый скролл */
    .triple-right {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
    }

    .triple-col-title {
        height: 35px;
        margin-bottom: 15px !important;
    }

    .cases-column {
        position: relative !important;
        z-index: 5 !important;
        pointer-events: auto !important;
        
        height: calc(100vh - 165px) !important;
        max-height: calc(100vh - 165px) !important;
        overflow-y: scroll !important;
        padding-right: 5px;
        box-sizing: border-box;
        
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    .cases-column::-webkit-scrollbar {
        display: none !important;
    }

    .case-card {
        flex-shrink: 0 !important;
    }
}
@media (min-width: 993px) {
 
    /* ── Layout: видимый overflow чтобы заголовки не обрезались ── */
    .triple-layout {
        height: calc(100vh - 80px) !important;
        max-height: calc(100vh - 80px) !important;
        overflow: visible !important;
        align-items: start !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
 
    /* ── Боковые колонки: от верха, без растяжки ── */
    .triple-left,
    .triple-right {
        padding-top: 12px !important;
        padding-bottom: 20px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        height: auto !important;           /* не растягивать на всю высоту */
        box-sizing: border-box !important;
        overflow: visible !important;
    }
 
    /* ── Заголовки "Умный расчет" и "Наши кейсы" ── */
    .triple-col-title {
        font-size: 1.35rem !important;
        margin-top: 0 !important;
        margin-bottom: 35px !important;    /* нормальный отступ под заголовком */
        padding-top: 0 !important;
        line-height: 1.2 !important;
        text-align: center !important;
        flex-shrink: 0 !important;
    }
 
    /* ── Квиз: только нужная высота, без растяжки ── */
    .triple-left .quiz-container {
        padding: 20px !important;
        flex-grow: 0 !important;           /* не растягивать */
        height: auto !important;
        overflow-y: visible !important;
    }
 
    /* ── Кейсы: скролл внутри ── */
    .cases-column {
        flex-grow: 0 !important;
        height: auto !important;
        max-height: calc(100vh - 160px) !important;
        overflow-y: auto !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }
    .cases-column::-webkit-scrollbar { display: none !important; }
 
    /* ── Главный заголовок ── */
    .main-title {
        font-size: 4.0rem !important;
        line-height: 1.12 !important;
        margin-bottom: 6px !important;
    }
 
    /* ── Подзаголовок ── */
    .subtitle {
        font-size: 1.15rem !important;
        line-height: 1.45 !important;
        max-width: 88% !important;
        margin: 0 auto 8px !important;
        margin-top: 20px !important;    /* Отодвинули текст значительно ниже от главного заголовка */
        margin-bottom: 20px !important; /* Сделали отступ снизу до ноутбука */
    }
 
    /* ── Иконки-фичи ── */
    .feature-icon-box {
        width: 68px !important;
        height: 68px !important;
    }
    .feature-icon-box svg {
        width: 36px !important;
        height: 36px !important;
    }
    .feature-text strong { font-size: 0.87rem !important; }
    .feature-text span   { font-size: 0.75rem !important; }
    .features {
        margin: -20px auto 8px auto !important;
        gap: 10px !important;
    }
 
    /* ── Центральная колонка ── */
    .triple-center {
        padding: 10px 0 12px 0 !important;
        justify-content: flex-start !important;
        overflow: hidden !important;
    }
    .hero-container { gap: 8px !important; }
    .hero-visual    { max-height: 21vh !important; }
    .hologram-container {
        height: 220px !important;
        margin: -65px 0 5px 0 !important;
    }
 
    /* ── Кнопка ── */
    .btn-main {
        padding: 10px 26px !important;
        font-size: 0.9rem !important;
        margin-top: 25px !important;
    }
}
@media (max-width: 768px) {
    .hero-visual,
    .main-title,
    .subtitle,
    .features {
        position: static !important;
        left: 0 !important;
    }
}

/* --- СТИЛИ БЕЗОПАСНОСТИ (ОБНОВЛЕННЫЕ) И COOKIE --- */

/* Скрываем маскировочное поле-ловушку от реальных людей */
.user-info-additional {
    display: none !important;
    visibility: hidden !important;
}

/* Стилизация Cookie-баннера */
.cookie-banner {
    display: none; /* Скрыт по умолчанию */
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 580px;
    background: rgba(5, 20, 26, 0.95);
    border: 1.5px solid var(--accent-color);
    box-shadow: 0 0 15px var(--accent-glow);
    border-radius: 8px;
    padding: 15px 25px;
    z-index: 999;
    backdrop-filter: blur(8px);
    animation: slideUp 0.4s ease;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    font-size: 0.8rem;
    color: var(--text-primary);
    line-height: 1.4;
    text-align: left;
}

.cookie-content a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-content .btn-glow {
    padding: 8px 16px !important;
    font-size: 0.8rem !important;
    white-space: nowrap !important;
}

@keyframes slideUp {
    from { transform: translate(-50%, 120px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

@media (max-width: 576px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .cookie-content .btn-glow {
        width: 100%;
        text-align: center;
    }
    .case-card a, 
    .case-card .btn-outline, 
    .case-card .btn-glow {
        font-size: 0.78rem !important; /* Слегка уменьшили шрифт, чтобы длинный текст поместился */
        padding: 12px 15px !important; /* Уменьшили боковые отступы, освободив место для скобок */
        white-space: nowrap !important; /* Намертво запретили переносить скобку ] на новую строку */
        display: inline-block !important;
        width: 100% !important;
        text-align: center !important;
    }
}



/* --- СТИЛИ СОГЛАСИЯ НА ОБРАБОТКУ ДАННЫХ (ФЗ-152) --- */

/* Сноска в модальном окне */
.modal-policy-text {
    font-size: 0.72rem !important;
    color: var(--text-muted) !important;
    line-height: 1.4 !important;
    margin-top: 18px !important;
    text-align: center !important;
}

.modal-policy-text a {
    color: var(--accent-color) !important;
    text-decoration: underline !important;
}

/* Обязательный чекбокс в квизе */
.quiz-policy-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin-top: 15px !important;
    cursor: pointer !important;
    text-align: left !important;
}

.quiz-policy-label input[type="checkbox"] {
    margin-top: 4px !important;
    accent-color: var(--accent-color) !important; /* Делает галочку бирюзовой */
    flex-shrink: 0 !important;
}

.quiz-policy-label span {
    font-size: 0.75rem !important;
    color: var(--text-muted) !important;
    line-height: 1.4 !important;
}

.quiz-policy-label a {
    color: var(--accent-color) !important;
    text-decoration: underline !important;
}

/* --- СТИЛИ ЧЕКБОКСА СОГЛАСИЯ КНОПОК СВЯЗИ --- */

.cta-policy-label {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important; /* Центрируем чекбокс по горизонтали */
    gap: 10px !important;
    margin: 40px auto 10px auto !important;
    max-width: 480px !important;
    cursor: pointer !important;
}

.cta-policy-label input[type="checkbox"] {
    margin-top: 4px !important;
    accent-color: var(--accent-color) !important; /* Делает галочку бирюзовой */
    flex-shrink: 0 !important;
}

.cta-policy-label span {
    font-size: 0.75rem !important;
    color: var(--text-muted) !important;
    line-height: 1.4 !important;
    text-align: left !important;
}

.cta-policy-label a {
    color: var(--accent-color) !important;
    text-decoration: underline !important;
}
/* --- СЖАТИЕ ЗАЗОРОВ МЕЖДУ СТАТЬЕЙ, СОГЛАСИЕМ И КНОПКАМИ --- */

/* Сжимаем отступы вокруг чекбокса согласия */
.bot-landing-body .cta-policy-label {
    margin: 15px auto 5px auto !important; /* Сжали верхний отступ до 15px (было 25px), а нижний — до 5px */
}

/* Прижимаем кнопки заказа вплотную к чекбоксу согласия */
.bot-landing-body .cta-buttons-group {
    margin-top: 12px !important; /* Уменьшили отступ сверху до 12px (было 30px) */
}