/* Переменные для удобства */
:root {
    /* Primary Colors */
    --primary-color: #007BFF;
    --primary-dark: #0056b3;
    --primary-light: #4da3ff;
    
    /* Accent Colors */
    --accent-color: #28A745;
    --accent-dark: #1e7e34;
    --accent-light: #48c764;
    
    /* Alert Colors */
    --alert-color: #DC3545;
    --alert-light: #FFCCD1;
    
    /* Expert/Gold Color */
    --expert-color: #FFC107;
    --expert-light: #FFE082;
    
    /* Neutral Colors */
    --dark-color: #212529;
    --light-color: #F8F9FA;
    --text-color: #333;
    --text-muted: #6c757d;
    
    /* Background Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-hero: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 50%, #d5dbe6 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --gradient-accent: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 50%;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Общие стилы и сброс */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth; /* Для плавного перехода */
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: white;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
    color: var(--dark-color);
    text-align: center;
}

/* Кнопки и ссылки */
.button {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
}

.primary-btn:hover {
    background-color: #0056b3;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.large-btn {
    padding: 15px 30px;
    font-size: 1.1em;
}

/* НОВЫЙ КЛАСС для кнопки-заголовка */
.huge-btn {
    width: 100%; /* Растягиваем на всю ширину контейнера */
    text-align: center;
    padding: 25px 30px;
    font-size: 1.4em;
    margin-bottom: 50px;
    background-color: var(--accent-color); /* Выделим зеленым */
    color: white;
    border: none;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.huge-btn:hover {
    background-color: #1e7e34;
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.6);
}

.text-link {
    display: block;
    margin-top: 20px;
    font-size: 1.1em;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.text-link:hover {
    color: var(--dark-color);
}


/* Шапка (Header) */
.header {
    background-color: #1a1a2e;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8em;
    font-weight: 800;
    color: var(--dark-color);
    text-decoration: none; /* Убираем подчеркивание для логотипа-ссылки */
}

.logo:hover {
    color: var(--primary-color);
}

.logo strong {
    color: var(--primary-color);
}

.nav a {
    text-decoration: none;
    color: #1a1a2e;
    margin-left: 25px;
    font-weight: 700;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: #007BFF;
}

.nav .primary-btn {
    margin-left: 30px;
}


/* Главный блок (Hero Section) */
.hero {
    background: var(--gradient-hero);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Decorative elements */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(0, 123, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 50%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(40, 167, 69, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--dark-color);
    font-weight: 800;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: var(--text-muted);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.cta-buttons a {
    margin: 5px;
}

/* Decorative floating elements */
.hero-decoration {
    position: absolute;
    opacity: 0.1;
    pointer-events: none;
}

.hero-decoration-1 {
    top: 20%;
    left: 5%;
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-decoration-2 {
    bottom: 30%;
    right: 8%;
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: float 8s ease-in-out infinite reverse;
}

.hero-decoration-3 {
    top: 40%;
    right: 15%;
    width: 40px;
    height: 40px;
    border: 3px solid var(--expert-color);
    border-radius: 8px;
    transform: rotate(45deg);
    animation: spin 20s linear infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes spin {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

/* НОВАЯ СЕКЦИЯ: Заказ услуг */
.order-services {
    padding: 80px 0;
    background-color: var(--light-color); /* Светлый фон */
    text-align: center;
}

/* Удален стиль для h2, так как он заменен кнопкой */

.service-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    list-style: none;
    padding: 0;
}

.service-list li {
    background-color: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 500;
    border-left: 5px solid var(--accent-color); /* Зеленый акцент */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.service-list li i {
    color: var(--accent-color);
    margin-right: 15px;
}

/* СТИЛИ ДЛЯ СКРИНШОТА */
.demo-screenshot {
    padding: 80px 0;
    background-color: #1a1a2e; 
    text-align: center;
}

.demo-screenshot h2 {
    color: white;
    margin-bottom: 20px;
}

.demo-screenshot p.subtitle {
    color: #a0a0c0;
    font-size: 1.1em;
    margin-bottom: 40px;
}

.screenshot-wrapper {
    max-width: 1000px; 
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.9); 
}

.dashboard-img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #333; 
}

.back-to-top {
    margin-top: 50px;
}


/* Секция Проблем */
.problems {
    padding: 80px 0;
    background-color: #fff;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.problem-card {
    padding: 25px;
    border-left: 5px solid var(--alert-color);
    background-color: #FFF0F0;
    border-radius: 5px;
}

.problem-card h3 {
    color: var(--alert-color);
    margin-bottom: 10px;
}

.icon-red {
    font-size: 2em;
    color: var(--alert-color);
    margin-bottom: 15px;
}

/* СЕКЦИЯ: 1С ЭКСПЕРТИЗА */
.one-c-expertise {
    padding: 80px 0;
    background-color: #fff;
}

.one-c-expertise h2 {
    color: var(--primary-color);
}

.one-c-expertise p.main-text {
    font-size: 1.2em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    line-height: 1.5;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.expertise-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    border-top: 5px solid var(--expert-color);
}

.expertise-icon {
    font-size: 3em;
    color: var(--expert-color);
    margin-bottom: 15px;
}

.expertise-card h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}


/* Секция GenerativeBI */
.generativebi {
    padding: 80px 0;
    background-color: var(--dark-color);
    color: white;
    text-align: center;
}

.generativebi h2 {
    color: white;
}

.generativebi p {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: #ccc;
}

.bi-features {
    text-align: left;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.bi-features ul {
    list-style: none;
}

.bi-features li {
    padding: 10px 0;
    font-size: 1.1em;
    border-bottom: 1px solid #444;
}

.bi-features li:last-child {
    border-bottom: none;
}

.bi-features .fa-check-circle {
    color: var(--accent-color);
    margin-right: 15px;
}

/* Секция Типов Агентов */
.agents {
    padding: 80px 0;
    background-color: var(--light-color);
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.agent-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.agent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.agent-icon {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.agent-card h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.agent-card p {
    color: #666;
    font-size: 0.95em;
}

/* Секция Возможностей (Features Section) */
.features {
    padding: 80px 0;
    text-align: center;
    background-color: #fff;
}

.features-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    list-style: none;
}

.features-list ul {
    list-style: none;
}

.features-list li {
    background-color: #F3F9FF;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 500;
    border-left: 5px solid var(--primary-color);
}

.feature-icon {
    color: var(--primary-color);
    margin-right: 15px;
}

/* ==========================================
   CASES SECTION
   ========================================== */

.cases {
    padding: 80px 0;
    background-color: var(--light-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1em;
    margin-top: -30px;
    margin-bottom: 50px;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.case-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    border-top: 4px solid var(--primary-color);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.case-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.case-icon i {
    font-size: 1.5em;
    color: white;
}

.case-card h3 {
    font-size: 1.3em;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.case-industry {
    font-size: 0.9em;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.case-description {
    color: var(--text-muted);
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.case-results {
    display: flex;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.case-result {
    text-align: center;
    flex: 1;
}

.result-number {
    display: block;
    font-size: 1.8em;
    font-weight: 700;
    color: var(--accent-color);
}

.result-label {
    font-size: 0.85em;
    color: var(--text-muted);
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */

.testimonials {
    padding: 80px 0;
    background-color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--light-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    position: relative;
    transition: transform var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-3px);
}

.testimonial-content {
    margin-bottom: 20px;
}

.quote-icon {
    color: var(--primary-color);
    opacity: 0.3;
    font-size: 2em;
    margin-bottom: 10px;
}

.testimonial-content p {
    font-size: 1.05em;
    line-height: 1.7;
    color: var(--text-color);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    color: white;
    font-size: 1.2em;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--dark-color);
}

.author-position {
    font-size: 0.85em;
    color: var(--text-muted);
}

/* Подвал (Footer) и Контакты */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 40px 0;
    font-size: 0.9em;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-info {
    max-width: 600px;
}

.footer-info p {
    margin-bottom: 10px;
}

.contact-details {
    margin-top: 20px;
}

.contact-details i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Адаптивность (Media Queries) */
@media (max-width: 1024px) {
    .agents-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        text-align: center;
    }

    .nav {
        margin-top: 15px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav a {
        margin: 5px 10px;
    }
    
    .nav .primary-btn {
        margin: 10px 0 0 0;
        display: block;
    }

    .hero h1 {
        font-size: 2.2em;
    }

    .hero p {
        font-size: 1.1em;
    }

    .huge-btn {
        font-size: 1.2em;
        padding: 20px 15px;
        margin-bottom: 30px;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-buttons a {
        margin: 0;
    }

    .footer .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-info, .contact-details {
        text-align: center;
        margin-top: 15px;
    }
    
    .contact-details p {
        margin-bottom: 15px;
    }
    
    h2 {
        font-size: 2em;
    }
}

/* ==========================================
   MOBILE MENU (Burger Menu)
   ========================================== */

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--dark-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        margin-top: 0;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-y: auto;
    }

    .nav.active {
        right: 0;
    }

    .nav a {
        margin: 0;
        padding: 15px 0;
        font-size: 1.1em;
        border-bottom: 1px solid #eee;
        width: 100%;
    }

    .nav .primary-btn {
        margin: 20px 0 0 0;
        text-align: center;
        border-bottom: none;
    }

    .nav .cta-btn {
        margin: 10px 0 0 0;
        text-align: center;
    }

    .header .container {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ==========================================
   MODAL WINDOW STYLES
   ========================================== */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal {
    background-color: white;
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2em;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--alert-color);
}

.modal h2 {
    margin-bottom: 10px;
    font-size: 1.8em;
}

.modal-subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 1em;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--alert-color);
}

.error-message {
    color: var(--alert-color);
    font-size: 0.85em;
    margin-top: 5px;
    display: block;
}

/* Honeypot field */
.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    margin-top: 10px;
}

.form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-status.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* CTA Button in Header */
.cta-btn {
    background: linear-gradient(135deg, var(--accent-color), #20c997);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* ==========================================
   SCROLL TO TOP BUTTON
   ========================================== */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

/* ==========================================
   STATS COUNTERS (Hero Section)
   ========================================== */

.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 3em;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 1.1em;
    color: #a0a0c0;
}

/* ==========================================
   CLIENTS LOGOS (Social Proof)
   ========================================== */

.clients-section {
    padding: 80px 0;
    background-color: var(--light-color);
    overflow: hidden;
}

.clients-section h2 {
    margin-bottom: 40px;
}

.clients-track {
    display: flex;
    animation: scroll 20s linear infinite;
    gap: 60px;
}

.clients-track:hover {
    animation-play-state: paused;
}

.client-logo {
    flex-shrink: 0;
    width: 150px;
    height: 80px;
    background-color: white;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.client-logo:hover {
    transform: scale(1.05);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================
   SCROLL ANIMATIONS
   ========================================== */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 {
    transition-delay: 0.1s;
}

.animate-on-scroll.delay-2 {
    transition-delay: 0.2s;
}

.animate-on-scroll.delay-3 {
    transition-delay: 0.3s;
}

.animate-on-scroll.delay-4 {
    transition-delay: 0.4s;
}

/* ==========================================
   ENHANCED TOUCH TARGETS (Mobile)
   ========================================== */

@media (max-width: 768px) {
    .button {
        min-height: 44px;
        min-width: 44px;
    }

    .nav a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .scroll-to-top {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }

    .stat-number {
        font-size: 2.2em;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-item {
        padding: 20px 15px;
    }

    .modal {
        padding: 25px;
        margin: 10px;
    }

    .modal h2 {
        font-size: 1.5em;
    }
}

/* ==========================================
   DEMO VIDEO SECTION ENHANCEMENT
   ========================================== */

.demo-video {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--light-color) 0%, #e8f4f8 100%);
}

.demo-video h2 {
    margin-bottom: 15px;
}

.demo-video .subtitle {
    color: #666;
    font-size: 1.1em;
    margin-bottom: 30px;
}

/* ==========================================
   FOOTER ENHANCEMENT
   ========================================== */

.footer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #4da3ff;
}

/* ==========================================
   CASES & TESTIMONIALS MOBILE STYLES
   ========================================== */

@media (max-width: 768px) {
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .case-results {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-subtitle {
        font-size: 1em;
        margin-top: -20px;
        margin-bottom: 30px;
    }
}

/* ==========================================
   SEMINAR NAV HIGHLIGHT (7 августа)
   ========================================== */

@keyframes nav-seminar-glow {
    0%, 100% {
        box-shadow: 0 0 12px rgba(251, 191, 36, 0.35);
    }
    50% {
        box-shadow: 0 0 22px rgba(251, 191, 36, 0.6);
    }
}

a.nav-seminar,
.nav-links a.nav-seminar,
.header__nav a.nav-seminar {
    color: #fbbf24 !important;
    font-weight: 700 !important;
    padding: 5px 12px !important;
    margin-left: 18px !important;
    border-radius: 8px !important;
    background: rgba(251, 191, 36, 0.14) !important;
    border: 1px solid rgba(251, 191, 36, 0.55) !important;
    box-shadow: 0 0 14px rgba(251, 191, 36, 0.3);
    animation: nav-seminar-glow 2.2s ease-in-out infinite;
    white-space: nowrap;
}

a.nav-seminar:hover,
.nav-links a.nav-seminar:hover,
.header__nav a.nav-seminar:hover {
    color: #0A192F !important;
    background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 100%) !important;
    border-color: #fbbf24 !important;
}

.mobile-nav a.nav-seminar {
    color: #fbbf24 !important;
    font-weight: 700 !important;
    background: rgba(251, 191, 36, 0.12) !important;
    border-left: 4px solid #fbbf24 !important;
    padding-left: 14px !important;
    margin: 4px 0;
    border-radius: 0 8px 8px 0;
}