/* НОВАЯ мобильная версия Zebrum - универсальная для всех устройств */
/* v13.1 - Обновлен фон на new-mobile-back.jpg */
/* v13.2 - Стандартизирована прозрачность всех блоков на rgba(255, 255, 255, 0.1) */
/* v13.3 - Удален фон, установлен чистый белый фон */
/* v13.4 - Добавлен тонкий текстурированный фон с градиентами */
/* v13.5 - Отменен текстурированный фон, возвращен чистый белый фон */
/* v13.6 - Добавлен мягкий синий градиент (Вариант A) */
/* v13.7 - Усилен градиент для лучшей видимости */
/* v13.8 - Изменен градиент на вертикальный для равномерного распределения цвета */
/* v13.9 - Добавлено больше цвета к верхней части фона */
/* v14.0 - Увеличена прозрачность блока hero-audit для более белого вида */
/* v14.1 - Добавлено модальное окно для консультации */
/* v14.2 - Эксперимент с морским градиентом для более яркого фона */
/* v14.3 - Светлый голубой градиент "Морская пена" для продажной стилистики */
/* v14.4 - Хаотичные размытые градиентные пятна разного размера */
/* v14.5 - Усилены цвета градиентных пятен для лучшей видимости */
/* v14.6 - Исправлен слишком белый фон сверху - усилены цвета и контраст */
/* v14.7 - Удален фон, установлен чистый белый фон */
/* v14.8 - Применен Вариант 8: Мягкие пятна - минималистичный и чистый */
/* v14.9 - Отменен фон, возвращен чистый белый фон */
/* v15.0 - Добавлен динамический геометрический фон */
/* v15.2 - Удален динамический фон, возвращен чистый белый фон */

/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    /* Темно-серый/черный текст */
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    /* Универсальные настройки */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

/* Простой белый фон - без разрывов между блоками */
html {
    background: #ffffff;
    height: 100%;
    min-height: 100%;
}

body {
    background: #ffffff;
    min-height: 100vh;
    height: auto; /* Растягивается на весь контент */
}


/* Overlay удален - чистый белый фон */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(243, 244, 246, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(156, 163, 175, 0.2);
    z-index: 1000;
    padding: 15px 0;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    display: none;
    /* Скрываем текстовый логотип */
}

.logo-image {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    display: block;
    margin: 0;
    padding: 0;
}

.menu-toggle {
    background: none;
    border: none;
    color: #3b82f6;
    /* Синий цвет */
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
    transition: left 0.3s ease;
    padding-top: 80px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav.active {
    left: 0;
}

.nav-content {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 20px;
    border: 1px solid rgba(59, 130, 246, 0.1); /* Легкая синяя граница */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-link {
    color: #3b82f6;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 15px 20px;
    border-radius: 12px;
    margin: 5px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(59, 130, 246, 0.1); /* Легкая синяя граница */
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    background: #ffffff; /* Явный белый фон для устранения разрывов */
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #3b82f6, #60a5fa, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #374151;
    /* Темно-серый цвет */
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #4b5563;
    /* Серый цвет */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-audit {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(59, 130, 246, 0.1); /* Легкая синяя граница */
}

.audit-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
    /* Темно-серый цвет */
}

.audit-description {
    font-size: 1rem;
    color: #4b5563;
    /* Серый цвет */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    
    /* Градиентный текст - хорошо виден на морфном фоне */
    background: linear-gradient(135deg, #3b82f6, #60a5fa, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    color: transparent;
    
    position: relative;
    z-index: 1;
    padding: 10px 14px;
    border-radius: 16px;
    
    /* Убираем backdrop-filter - он конфликтует с background-clip: text */
    /* Градиентный текст сам по себе хорошо читается на морфном фоне */
}


/* Cards */
.card {
    background: #ffffff; /* Полностью белый фон - единый для всех блоков */
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.1); /* Легкая синяя граница */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Уменьшенная тень для единого фона */
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Benefits */
.benefits {
    padding: 60px 0; /* Уменьшен padding для более плавного перехода */
    background: #ffffff; /* Единый белый фон для всех блоков */
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.benefit-card {
    background: #ffffff; /* Полностью белый фон - единый для всех блоков */
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.1); /* Легкая синяя граница */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Уменьшенная тень для единого фона */
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    font-size: 3rem;
    color: #3b82f6;
    /* Голубой цвет */
    margin-bottom: 1rem;
}

.benefit-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefit-description {
    color: #374151;
    /* Темно-серый цвет */
    font-size: 1rem;
}

/* Services */
.services {
    padding: 60px 0; /* Уменьшен padding для более плавного перехода */
    background: #ffffff; /* Единый белый фон для всех блоков */
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    background: #ffffff; /* Полностью белый фон - единый для всех блоков */
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.1); /* Легкая синяя граница */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Уменьшенная тень для единого фона */
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: #3b82f6;
    /* Голубой цвет */
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-description {
    color: #374151;
    /* Темно-серый цвет */
    font-size: 1rem;
}

/* Problems */
.problems {
    padding: 60px 0; /* Уменьшен padding для более плавного перехода */
    background: #ffffff; /* Единый белый фон для всех блоков */
}

.problems-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.problem-card {
    background: #ffffff; /* Полностью белый фон - единый для всех блоков */
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.1); /* Легкая синяя граница */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Уменьшенная тень для единого фона */
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.problem-icon {
    font-size: 3rem;
    color: #3b82f6;
    /* Голубой цвет */
    margin-bottom: 1rem;
}

.problem-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.problem-description {
    color: #374151;
    /* Темно-серый цвет */
    font-size: 1rem;
}

/* Pricing */
.pricing {
    padding: 60px 0; /* Уменьшен padding для более плавного перехода */
    background: #ffffff; /* Единый белый фон для всех блоков */
}

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

.pricing-card {
    background: #ffffff; /* Полностью белый фон - единый для всех блоков */
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.1); /* Легкая синяя граница */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Уменьшенная тень для единого фона */
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    border: 2px solid #667eea;
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-price {
    font-size: 2rem;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 1rem;
}

.pricing-description {
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

.pricing-description p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #4b5563;
    /* Серый цвет */
}

.pricing-features i {
    color: #4ade80;
    font-size: 1.1rem;
}

.pricing-footer {
    text-align: center;
    margin-top: 2rem;
}

.pricing-note {
    text-align: center;
    background: #ffffff; /* Полностью белый фон - единый для всех блоков */
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.1); /* Легкая синяя граница */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Уменьшенная тень для единого фона */
}

.pricing-note p {
    color: #374151;
    /* Темно-серый цвет */
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.pricing-note i {
    color: #4ade80;
    margin-right: 10px;
}

/* Cases */
.cases {
    padding: 80px 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.case-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.1); /* Легкая синяя граница */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.case-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.case-description {
    color: #374151;
    /* Темно-серый цвет */
    font-size: 1rem;
    line-height: 1.6;
}

.case-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.case-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.case-info {
    flex-grow: 1;
}

.case-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.case-industry {
    color: #6b7280;
    /* Светло-серый цвет */
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

.case-results {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.result-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.1); /* Легкая синяя граница */
    min-width: 80px;
}

.result-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #4ade80;
    margin-bottom: 0.25rem;
}

.result-label {
    font-size: 0.8rem;
    color: #4b5563;
    /* Серый цвет */
    text-align: center;
    line-height: 1.2;
}

/* Case Benefits */
.case-benefits {
    display: flex;
    flex-direction: column;
    margin: 20px 0;
    gap: 12px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 8px;
    border-left: 3px solid #3b82f6;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateX(3px);
}

.benefit-item i {
    color: #3b82f6;
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

.benefit-item span {
    font-size: 0.9rem;
    color: #374151;
    font-weight: 500;
}

/* FAQ */
.faq {
    padding: 60px 0; /* Уменьшен padding для более плавного перехода */
    background: #ffffff; /* Единый белый фон для всех блоков */
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff; /* Полностью белый фон - единый для всех блоков */
    border-radius: 20px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Уменьшенная тень для единого фона */
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa, #93c5fd);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow:
        0 20px 60px rgba(59, 130, 246, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.9),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    border-color: rgba(59, 130, 246, 0.25);
}

.faq-item:hover::before {
    opacity: 1;
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow:
        0 15px 50px rgba(59, 130, 246, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.95),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.faq-item.active::before {
    opacity: 1;
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02), rgba(96, 165, 250, 0.02));
}

.faq-question:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(96, 165, 250, 0.05));
    transform: translateX(5px);
}

.faq-question h3 {
    background: linear-gradient(135deg, #1e40af, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    text-shadow: 0 2px 4px rgba(59, 130, 246, 0.1);
}

.faq-question i {
    color: #3b82f6;
    font-size: 1.3rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.faq-question:hover i {
    background: rgba(59, 130, 246, 0.15);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(96, 165, 250, 0.08));
}

.faq-item.active .faq-question i {
    transform: rotate(180deg) scale(1.1);
    background: rgba(59, 130, 246, 0.2);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(248, 250, 252, 0.8));
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.faq-item.active .faq-answer {
    padding: 2rem;
    max-height: 500px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(248, 250, 252, 0.9));
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.faq-answer p {
    color: #374151;
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    line-height: 1.6;
    font-weight: 500;
}

.faq-answer ul {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0;
}

.faq-answer li {
    color: #374151;
    margin-bottom: 0.8rem;
    padding-left: 25px;
    position: relative;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-answer li:hover {
    color: #1e40af;
}

.faq-answer li:before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.faq-maintenance {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.maintenance-option {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(248, 250, 252, 0.9));
    padding: 1.2rem;
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
    transition: all 0.3s ease;
}

.maintenance-option:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.25);
}

.option-icon {
    font-size: 1.8rem;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.option-content h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.option-content p {
    color: #6b7280;
    /* Светло-серый цвет */
    font-size: 0.9rem;
    margin: 0;
}

.faq-integrations {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.integration-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.95));
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
    transition: all 0.3s ease;
    font-weight: 500;
}

.integration-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.25);
}

.integration-item i {
    font-size: 1.4rem;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    padding: 8px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.integration-item span {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Footer */
.footer {
    background: #ffffff;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    color: #1f2937;
    padding: 3rem 0 1rem;
    position: relative;
}

/* Social Links */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.social-icon a {
    color: white;
    font-size: 1.3rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Navigation */
.footer-nav {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-nav h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.footer-nav ul li a {
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.footer-nav ul li a:hover {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

/* Contact */
.footer-contact {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-contact h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(29, 78, 216, 0.1));
    border-radius: 25px;
    border: 2px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
}

.contact-item:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(29, 78, 216, 0.2));
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.contact-item i {
    color: #3b82f6;
    font-size: 1.2rem;
}

.telegram-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.telegram-link:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: scale(1.05);
}

/* Copyright */
.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    color: #6b7280;
    font-size: 0.9rem;
}

/* Audit Offer */
.audit-offer {
    margin-top: 2rem;
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(29, 78, 216, 0.05));
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
}

.audit-offer h3 {
    color: #3b82f6;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.audit-offer p {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

.chat-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 320px;
    height: 450px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.1); /* Легкая синяя граница */
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-header {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 80%;
    word-wrap: break-word;
}

.message.user {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    align-self: flex-end;
    margin: 5px 0;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.message.bot {
    background: rgba(59, 130, 246, 0.1);
    color: #1f2937;
    align-self: flex-start;
    margin: 5px 0;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.message.typing {
    background: rgba(59, 130, 246, 0.05);
    color: #6b7280;
    font-style: italic;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.chat-input {
    padding: 15px;
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    outline: none;
}

.chat-input button {
    padding: 10px 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

/* AI Integration Section */
.ai-integration {
    padding: 60px 0;
    background: #ffffff; /* Явный белый фон для устранения разрывов */
}

.ai-integration-block {
    background: #ffffff; /* Полностью белый фон - единый для всех блоков */
    border: 1px solid rgba(59, 130, 246, 0.1); /* Легкая синяя граница */
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Уменьшенная тень для единого фона */
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin: 20px 0;
}

.ai-integration-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.3);
}

.ai-content {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ai-header {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.ai-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    flex-shrink: 0;
}

.ai-icon i {
    font-size: 1.8rem;
    color: white;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.ai-title-section {
    flex: 1;
    position: relative;
}

.ai-badge {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
    }

    50% {
        box-shadow: 0 4px 20px rgba(5, 150, 105, 0.5);
    }

    100% {
        box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
    }
}

.ai-title-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-price {
    color: #059669;
    font-weight: 700;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(5, 150, 105, 0.3);
}

.ai-description p {
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.ai-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.ai-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(5, 150, 105, 0.2);
    transition: all 0.3s ease;
}

.ai-feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
    border-color: rgba(5, 150, 105, 0.4);
}

.ai-feature-item i {
    color: #4caf50;
    font-size: 1rem;
    text-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
    flex-shrink: 0;
}

.ai-feature-item span {
    color: #1f2937;
    font-weight: 500;
    font-size: 0.9rem;
}

.ai-choose-btn-container {
    text-align: center;
    margin-top: 20px;
}

.ai-choose-btn {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ai-choose-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.ai-choose-btn i {
    font-size: 1.1rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }


    .faq-item {
        margin-bottom: 1rem;
    }

    .faq-question {
        padding: 1.5rem;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }

    .faq-item.active .faq-answer {
        padding: 1.5rem;
    }

    .container {
        padding: 0 15px;
    }

    .chat-container {
        width: calc(100vw - 40px);
        right: 20px;
        left: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .portfolio-section {
        padding: 1.5rem 1rem;
    }
    
    .tab-btn {
        font-size: 0.7rem;
        padding: 0.6rem 0.5rem;
        min-width: 90px;
        max-width: 32%;
    }
    
    .tab-btn span {
        font-size: 0.65rem;
    }
    
    .portfolio-item-mobile {
        padding: 1rem;
    }
    
    .app-info-mobile h3 {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .app-info-mobile p {
        font-size: 0.8rem;
    }
    
    .phone-frame-mobile {
        max-width: 220px;
        min-height: 320px;
    }


    .faq-question {
        padding: 1.2rem;
    }

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

    .faq-item.active .faq-answer {
        padding: 1.2rem;
    }

    .maintenance-option {
        padding: 1rem;
    }

    .integration-item {
        padding: 0.6rem 1rem;
    }

    .hero-audit {
        padding: 1.5rem;
    }

    .card,
    .benefit-card,
    .service-card,
    .case-card {
        padding: 1.5rem;
    }
}

/* Модальное окно для консультации */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.1); /* Легкая синяя граница */
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }

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

.modal-header {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    padding: 20px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.3s ease;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1f2937;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

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

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

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

/* Адаптивность модального окна */
@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-header {
        padding: 15px;
    }

    .modal-header h3 {
        font-size: 1.2rem;
    }
}

/* Order Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }

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

.modal-header {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    padding: 20px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body {
    padding: 30px;
}

.selected-service {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.service-info h4 {
    color: #3b82f6;
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.service-price {
    color: #059669;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #374151;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

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

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #4b5563;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.checkmark {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked+.checkmark {
    background: #3b82f6;
    border-color: #3b82f6;
}

.checkbox-label input[type="checkbox"]:checked+.checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.form-actions .btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
    border: 2px solid rgba(107, 114, 128, 0.2);
}

.btn-secondary:hover {
    background: rgba(107, 114, 128, 0.2);
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
        max-height: 85vh;
    }

    .modal-header {
        padding: 15px;
    }

    .modal-header h3 {
        font-size: 1.1rem;
    }

    .modal-body {
        padding: 20px;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }
}

/* Case Icons - Blue Styling */
.case-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    margin-right: 15px;
    flex-shrink: 0;
}

.case-icon i {
    font-size: 24px;
    color: white;
    transition: all 0.3s ease;
}

.case-card:hover .case-icon {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

.case-card:hover .case-icon i {
    transform: scale(1.1);
}

/* All case icons use the same blue gradient */
.case-card:nth-child(1) .case-icon,
.case-card:nth-child(2) .case-icon,
.case-card:nth-child(3) .case-icon,
.case-card:nth-child(4) .case-icon,
.case-card:nth-child(5) .case-icon,
.case-card:nth-child(6) .case-icon {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

/* Icon animations */
.case-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-card:hover .case-icon::before {
    opacity: 1;
}

/* Case titles - Blue Styling */
.case-title {
    color: #3b82f6 !important;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.case-industry {
    color: #374151;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Mobile optimizations for case icons */
@media (max-width: 768px) {
    .case-icon {
        width: 50px;
        height: 50px;
        margin-right: 12px;
    }

    .case-icon i {
        font-size: 20px;
    }

    .case-card:hover .case-icon {
        transform: translateY(-2px) scale(1.03);
    }
}

/* Mobile Footer Styles */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-social {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .social-icon {
        width: 45px;
        height: 45px;
    }

    .footer-nav {
        margin-bottom: 1.5rem;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-nav ul li a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .footer-contact {
        margin-bottom: 1.5rem;
    }

    .contact-item {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding-top: 1rem;
        font-size: 0.8rem;
    }
}/* Portfolio Section Styles for Mobile */
.portfolio-section {
    padding: 2rem 1rem;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    background: #ffffff; /* Явный белый фон для устранения разрывов */
}

.section-subtitle {
    text-align: center;
    margin-bottom: 2rem;
    color: #475569;
    font-size: 0.95rem;
}

.industry-tabs.mobile-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.5rem 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    max-width: 100%;
}

.industry-tabs.mobile-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    flex: 0 0 auto;
    min-width: 100px;
    max-width: 33.33%;
    padding: 0.75rem 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: normal;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    justify-content: center;
    text-align: center;
    word-wrap: break-word;
    overflow: hidden;
}

.tab-btn i {
    font-size: 0.9rem;
    flex-shrink: 0;
}

.tab-btn span {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tab-btn.active {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.tab-btn:active {
    transform: scale(0.98);
}

.portfolio-container {
    margin-top: 1.5rem;
    width: 100%;
    overflow: hidden;
}

.portfolio-item-mobile {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.portfolio-header-mobile {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    width: 100%;
    overflow: hidden;
}

.app-icon-mobile {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.app-info-mobile {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.app-info-mobile h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.app-info-mobile p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.screenshot-carousel-mobile {
    position: relative;
    margin: 1.5rem 0;
    border-radius: 20px;
    overflow: visible;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.phone-frame-mobile {
    position: relative;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    aspect-ratio: 9/19.5;
    background: #1a1a1a;
    border-radius: 28px;
    padding: 6px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    min-height: 400px;
}

.phone-screen-mobile {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 22px;
    overflow: hidden;
    background: #000;
}

.screenshot-container-mobile {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    min-height: 400px;
}

.screenshot-placeholder {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #9ca3af;
    font-size: 0.875rem;
    position: absolute;
    top: 0;
    left: 0;
}

.screenshot-slide-mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

.screenshot-slide-mobile.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    z-index: 2;
}

.screenshot-slide-mobile.prev {
    transform: translateX(-20px);
}

.screenshot-slide-mobile.next {
    transform: translateX(20px);
}

.screenshot-image-mobile {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 16px;
    background: #fff;
}

.screenshot-image-mobile[src=""],
.screenshot-image-mobile:not([src]) {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-image-mobile[src=""]::before,
.screenshot-image-mobile:not([src])::before {
    content: 'Загрузка...';
    color: #9ca3af;
    font-size: 0.875rem;
}


.screenshot-dots-mobile {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.dot-mobile {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot-mobile.active {
    background: #3b82f6;
    width: 24px;
    border-radius: 4px;
}

.carousel-controls-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding: 0 1rem;
}

.carousel-arrow-mobile {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-arrow-mobile:active {
    transform: scale(0.95);
    background: #3b82f6;
    color: white;
}

.screenshot-info-mobile {
    margin: 1.5rem 0;
    text-align: center;
}

.screenshot-info-mobile h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.screenshot-info-mobile p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

.portfolio-details-mobile {
    margin-top: 1.5rem;
}

.features-section-mobile,
.benefits-section-mobile {
    margin-bottom: 1.5rem;
}

.features-section-mobile h4,
.benefits-section-mobile h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.features-list-mobile {
    list-style: none;
    padding: 0;
}

.features-list-mobile li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: #475569;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.features-list-mobile li i {
    color: #10b981;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.benefits-grid-mobile {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.benefit-badge-mobile {
    padding: 0.75rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #1f2937;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.benefit-badge-mobile i {
    color: #3b82f6;
    font-size: 1rem;
    flex-shrink: 0;
}
