        :root{--error-color:#dc3545;--primary-color:#28a745;--primary-hover:#218838;--text-color:#333;--bg-color:#f9fafb;--card-bg:#fff}*{margin:0;padding:0;box-sizing:border-box}body{font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;background-color:var(--bg-color);color:var(--text-color);line-height:1.6;overflow-x:hidden}.container{max-width:1200px;margin:0 auto;padding:0 20px}

        .header{display:flex;justify-content:space-between;align-items:center;padding:30px 0;transition:opacity .5s ease}.header .logo svg{display:block;height:120px;width:auto}.header-right{display:flex;align-items:center;gap:30px}
        .contact-phone { display: flex; align-items: center; gap: 10px; color: var(--primary-color); text-decoration: none; font-weight: 600; border: 2px solid var(--primary-color); padding: 10px 20px; border-radius: 50px; transition: all 0.3s ease; font-size: 1rem; }
        .contact-phone svg { width: 20px; height: 20px; }
        .contact-phone:hover { background-color: var(--primary-color); color: white; }
        .lang-switcher { display: flex; gap: 5px; border: 1px solid #ddd; border-radius: 20px; padding: 5px; background: var(--card-bg); }
        .lang-switcher button { border: none; background: transparent; padding: 7px 16px; border-radius: 16px; cursor: pointer; font-weight: 600; font-size: 1rem; transition: all 0.3s ease; }
        .lang-switcher button.active { background-color: var(--primary-color); color: white; }

        /* --- Главный экран (Hero) --- */
        .hero { text-align: center; padding: 60px 20px; transition: opacity 0.5s ease; min-height: calc(100vh - 180px); display: flex; flex-direction: column; justify-content: center; }
        .hero h1 { font-size: 3.8rem; font-weight: 900; margin-bottom: 15px; line-height: 1.1; color: #1F2937; }
        .hero .highlight { color: var(--primary-color); }
        .hero p { font-size: 1.2rem; max-width: 750px; margin: 0 auto 35px; color: #4B5563; }
        .cta-button { 
            background-color: var(--primary-color); color: white; border: none; padding: 18px 40px; font-size: 1.2rem; font-weight: bold; 
            border-radius: 50px; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 10px 30px rgba(40, 167, 69, 0.3); 
            animation: pulse 2.5s infinite;
        }
        .cta-button:hover { 
            transform: translateY(-3px) scale(1.02); box-shadow: 0 15px 40px rgba(40, 167, 69, 0.4); background-color: var(--primary-hover);
            animation-play-state: paused;
        }

        /* --- БЛОК: Элементы доверия на главном экране --- */
        .hero-trust-bar { display: flex; justify-content: center; gap: 40px; margin-top: 50px; flex-wrap: wrap; }
        .trust-item { display: flex; align-items: center; gap: 12px; color: #4B5563; font-size: 1rem; font-weight: 500; }
        .trust-item svg { width: 24px; height: 24px; color: var(--primary-color); }

        /* --- Стили для блоков ВНУТРИ модального окна --- */
        .modal-section-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 15px; text-align: center; color: #555;}
        .calculator-modal .features-section { padding: 0; margin-top: 30px; }
        .calculator-modal .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; text-align: center; }
        .calculator-modal .feature-item { padding: 15px; background: #f9fafb; border: 1px solid #f0f0f0; border-radius: var(--border-radius); box-shadow: none; }
        .calculator-modal .feature-icon { width: 40px; height: 40px; margin: 0 auto 10px; display: inline-flex; justify-content: center; align-items: center; background: #e9f7eb; border-radius: 50%;}
        .calculator-modal .feature-icon svg { width: 22px; height: 22px; color: var(--primary-color); }
        .calculator-modal .feature-item h3 { font-size: 0.9rem; }
        .calculator-modal .feature-item p { display: none; }
        .calculator-modal .testimonials-section { margin-top: 40px; padding: 20px 0; background-color: #f9fafb; border-radius: var(--border-radius); }
        
        .testimonials-slider-container { overflow-x: auto; padding-bottom: 15px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--primary-color) #f0f0f0; }
        .testimonials-slider-container::-webkit-scrollbar { height: 6px; }
        .testimonials-slider-container::-webkit-scrollbar-track { background: #f0f0f0; border-radius: 3px; }
        .testimonials-slider-container::-webkit-scrollbar-thumb { background-color: var(--primary-color); border-radius: 3px; }
        
        .testimonials-slider { display: flex; gap: 15px; padding: 0 20px; }
        .calculator-modal .testimonial-card { padding: 15px; background: white; border: 1px solid #eee; border-radius: var(--border-radius); display: flex; gap: 15px; align-items: flex-start; flex: 0 0 85%; min-width: 280px; }
        .calculator-modal .testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; }
        .testimonial-content { text-align: left; }
        .testimonial-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
        .testimonial-author { font-size: 0.9rem; font-weight: bold; color: #333; }
        .testimonial-rating { display: flex; }
        .testimonial-rating svg { width: 16px; height: 16px; color: #facc15; }
        .calculator-modal .testimonial-text { font-size: 0.9rem; font-style: normal; color: #555; line-height: 1.5; }
        
        /* --- Модальное окно Калькулятора --- */
        .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: all 0.4s ease; z-index: 1000; padding: 20px 0; }
        .modal-overlay.active { opacity: 1; visibility: visible; }
        .calculator-modal { background: var(--card-bg); padding: 30px; border-radius: var(--border-radius); width: 90%; max-width: 650px; box-shadow: var(--box-shadow); transform: scale(0.9); transition: all 0.4s ease; position: relative; max-height: 95vh; overflow-y: auto; }
        .modal-overlay.active .calculator-modal { transform: scale(1); }
        .modal-close { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 1.8rem; cursor: pointer; color: #aaa; }
        .calc-step { display: none; }
        .calc-step.active { display: block; animation: fadeIn 0.5s; }
        .calc-step h3 { text-align: center; margin-bottom: 20px; font-size: 1.3rem; }
        
        /* --- Индикатор шагов --- */
        .step-counter { text-align: center; margin-bottom: 15px; }
        .step-counter span { 
            background-color: #f8f9fa; 
            color: #6c757d; 
            padding: 8px 16px; 
            border-radius: 20px; 
            font-size: 0.9rem; 
            font-weight: 600;
            border: 1px solid #e9ecef;
        }

        /* --- Телефон в футере модального окна --- */
        .modal-footer-contact { text-align: center; padding-top: 20px; margin-top: 20px; border-top: 1px solid #eee; font-size: 0.9rem; }
        .modal-footer-contact a { color: var(--primary-color); text-decoration: none; font-weight: 600; }

        /* --- Индикатор прогресса --- */
        .progress-bar-container { width: 100%; background-color: #e9ecef; border-radius: 5px; margin-bottom: 25px; height: 8px; overflow: hidden; }
        .progress-bar { width: 0%; height: 100%; background-color: var(--primary-color); border-radius: 5px; transition: width 0.5s ease; }

        /* --- Кнопки выбора --- */
        .options-grid { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }
        .option-btn { background: #f8f9fa; border: 2px solid #e9ecef; border-radius: 10px; padding: 15px 10px; text-align: center; cursor: pointer; transition: all 0.25s ease-in-out; font-size: 1rem; font-weight: 600; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #495057; flex-basis: calc(33.333% - 10px); min-height: 110px; }
        .option-btn .icon svg { width: 35px; height: 35px; transition: all 0.25s ease-in-out; stroke-width: 1.5; color: #6c757d; stroke: currentColor; }
        .option-btn:hover { transform: translateY(-4px); border-color: var(--primary-color); background: #e9f7eb; color: var(--primary-color); box-shadow: 0 5px 15px rgba(40, 167, 69, 0.1); }
        .option-btn:hover .icon svg { color: var(--primary-color); transform: scale(1.1); }

        /* --- Стили для слайдера --- */
        .slider-container { text-align: center; padding: 20px 0; }
        .slider-value { font-size: 2.5rem; font-weight: bold; color: var(--primary-color); margin-bottom: 20px; }
        .slider { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 5px; background: #e9ecef; outline: none; opacity: 0.9; transition: opacity .2s; }
        .slider:hover { opacity: 1; }
        .slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--primary-color); cursor: pointer; box-shadow: 0 0 10px rgba(0,0,0,0.1); }
        .slider::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--primary-color); cursor: pointer; border: none; }
        
        /* --- Результаты и Форма --- */
        #results-step { text-align: center; }
        .results-container { display: flex; justify-content: space-around; gap: 20px; margin: 15px 0 30px; }
        .result-item { background: #e9f7eb; padding: 15px; border-radius: var(--border-radius); width: 100%; border: 1px solid #d4edda; }
        .result-item h4 { margin: 0 0 5px; font-size: 0.95rem; color: #155724; }
        .result-item p { margin: 0; font-size: 1.8rem; font-weight: bold; color: var(--primary-color); }
        #phone-form { margin-top: 25px; border-top: 1px solid #eee; padding-top: 20px; }
        .form-group { position: relative; }
        #phone { width: 100%; box-sizing: border-box; padding: 12px 12px 12px 95px; border: 2px solid #ccc; border-radius: 8px; font-size: 1.1rem; transition: border-color 0.3s; }
        #phone:focus { outline: none; border-color: var(--primary-color); }
        #phone.error { border-color: var(--error-color); }
        .iti { width: 100%; }
        #error-msg { color: var(--error-color); font-size: 0.9rem; margin-top: 5px; display: none; text-align: left; }
        .submit-btn { width: 100%; background-color: var(--primary-color); color: white; border: none; padding: 15px; font-size: 1.1rem; font-weight: bold; border-radius: 8px; cursor: pointer; margin-top: 10px; transition: all 0.3s ease; }
        .submit-btn:hover { background-color: var(--primary-hover); }
        .submit-btn:disabled { background-color: #aaa; cursor: not-allowed; }
        .bonus-text { text-align: center; margin-top: 10px; font-size: 0.9rem; color: #555; }
        .bonus-text svg { width: 16px; height: 16px; vertical-align: middle; margin-right: 5px; fill: var(--primary-color); }


        /* --- Страница Благодарности --- */
        #thank-you-page { display: none; text-align: center; padding: 60px 20px; animation: fadeIn 0.8s; min-height: 100vh; }
        #thank-you-page h2 { font-size: 3rem; color: var(--primary-color); margin-bottom: 15px; }
        #thank-you-page p { font-size: 1.2rem; color: #555; margin-bottom: 40px; }
        .link-cubes-container { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 30px; max-width: 900px; margin-left: auto; margin-right: auto; }
        .link-cube { background: var(--card-bg); border: 1px solid #eee; border-radius: var(--border-radius); padding: 30px; text-decoration: none; color: var(--text-color); transition: all 0.3s ease; box-shadow: var(--box-shadow); }
        .link-cube:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); border-color: var(--primary-color); }
        .link-cube .icon svg { width: 48px; height: 48px; margin-bottom: 15px; color: var(--primary-color); }
        .link-cube h4 { margin: 0 0 10px; font-size: 1.3rem; }
        .link-cube p { margin: 0; font-size: 1rem; color: #777; }
        .video-section { margin-top: 60px; padding-bottom: 40px; }
        .video-section h3 { font-size: 1.8rem; margin-bottom: 20px; }
        .video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 900px; margin: 0 auto; background: #000; border-radius: var(--border-radius); box-shadow: var(--box-shadow); }
        .video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
        
        /* --- Cookie Banner (улучшенный для лучшего принятия) --- */
        #cookie-banner { 
            position: fixed; 
            bottom: -100%; 
            left: 50%; 
            transform: translateX(-50%);
            width: 95%; 
            max-width: 600px; /* Уменьшаем размер */
            background: rgba(255, 255, 255, 0.95); /* Светлый фон вместо темного */
            backdrop-filter: blur(10px); 
            color: #333; /* Темный текст на светлом фоне */
            padding: 20px; /* Уменьшаем отступы */
            border-radius: 12px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* Менее агрессивная тень */
            border: 1px solid rgba(40, 167, 69, 0.3); /* Более тонкая граница */
            box-sizing: border-box; 
            z-index: 10000; 
            transition: all 0.4s ease-in-out; /* Более быстрая анимация */
            /* Убираем display: none - используем только bottom: -100% для скрытия */
        }
        #cookie-banner.show { 
            bottom: 20px !important;
            display: block !important;
            opacity: 1 !important;
            visibility: visible !important;
            animation: none;
        }
        
        /* Принудительное скрытие при удалении класса show */
        #cookie-banner:not(.show) {
            bottom: -100% !important;
            animation: none !important;
        }
        
        
        .cookie-content { 
            text-align: center;
        }
        .cookie-text { 
            font-size: 16px; 
            line-height: 1.5;
            margin-bottom: 20px;
            font-weight: 500;
        }
        
        .cookie-buttons {
            display: flex;
            gap: 20px;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
        }
        
        #cookie-accept-btn { 
            background: linear-gradient(135deg, var(--primary-color) 0%, #20c997 100%);
            color: white; 
            border: none; 
            padding: 15px 30px; 
            border-radius: 50px; 
            cursor: pointer; 
            font-weight: bold; 
            font-size: 16px;
            white-space: nowrap; 
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            min-width: 160px;
            touch-action: manipulation;
            -webkit-appearance: none;
            appearance: none;
            user-select: none;
        }
        
        #cookie-accept-btn:before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }
        
        #cookie-accept-btn:hover:before {
            left: 100%;
        }
        
        #cookie-accept-btn:hover { 
            background: linear-gradient(135deg, var(--primary-hover) 0%, #17a085 100%);
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(40, 167, 69, 0.4);
        }
        
        .cookie-decline-btn {
            background: transparent;
            color: #bdc3c7;
            border: 2px solid #7f8c8d;
            padding: 13px 25px;
            border-radius: 50px;
            cursor: pointer;
            font-weight: 600;
            font-size: 14px;
            transition: all 0.3s ease;
            min-width: 120px;
            touch-action: manipulation;
            -webkit-appearance: none;
            appearance: none;
            user-select: none;
        }
        
        .cookie-decline-btn:hover {
            background: #7f8c8d;
            color: white;
            transform: translateY(-2px);
        }
        
        /* Стили для десктопа */
        @media (min-width: 769px) {
            #cookie-banner {
                max-width: 700px;
                padding: 25px 30px;
            }
            .cookie-content {
                display: flex;
                align-items: center;
                gap: 30px;
            }
            .cookie-text {
                flex: 1;
                margin-bottom: 0;
                text-align: left;
                font-size: 16px;
            }
            .cookie-buttons {
                flex-shrink: 0;
                gap: 15px;
            }
            #cookie-accept-btn {
                min-width: 180px;
            }
            .cookie-decline-btn {
                min-width: 140px;
            }
        }

        @media (max-width: 768px) {
            #cookie-banner {
                width: 95%;
                padding: 20px;
                bottom: 10px;
            }
            .cookie-text {
                font-size: 15px;
                margin-bottom: 15px;
            }
            .cookie-buttons {
                flex-direction: column;
                gap: 15px;
            }
            #cookie-accept-btn, .cookie-decline-btn {
                width: 100%;
                min-width: auto;
                padding: 18px 25px; /* Увеличиваем область нажатия */
                font-size: 16px; /* Увеличиваем шрифт для лучшей читаемости */
                touch-action: manipulation; /* Улучшаем отзывчивость на касания */
                -webkit-tap-highlight-color: rgba(0,0,0,0.1); /* Подсветка при касании */
            }
            
            /* Дополнительные улучшения для мобильных */
            #cookie-accept-btn {
                order: 1; /* Кнопка принять всегда первая */
            }
            .cookie-decline-btn {
                order: 2;
                padding: 16px 25px; /* Немного меньше чем accept */
            }
        }
        
        /* --- ПАНЕЛЬ ТЕСТИРОВАНИЯ --- */
        #test-panel {
            position: fixed;
            bottom: 20px;
            left: 20px;
            background: #222;
            color: white;
            padding: 15px;
            border-radius: var(--border-radius);
            z-index: 9999;
            box-shadow: 0 5px 20px rgba(0,0,0,0.3);
            display: none; /* Скрыта по умолчанию */
        }
        #test-panel h4 { margin-top: 0; margin-bottom: 10px; }
        #test-panel button {
            display: block;
            width: 100%;
            padding: 8px 12px;
            margin-bottom: 5px;
            border: 1px solid #555;
            background: #333;
            color: white;
            cursor: pointer;
            border-radius: 5px;
        }
        #test-panel button:hover { background: #444; }

        /* --- Анимации --- */
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes pulse {
            0% { transform: scale(1); box-shadow: 0 10px 30px rgba(40, 167, 69, 0.3); }
            50% { transform: scale(1.03); box-shadow: 0 12px 35px rgba(40, 167, 69, 0.4); }
            100% { transform: scale(1); box-shadow: 0 10px 30px rgba(40, 167, 69, 0.3); }
        }

        /* --- Адаптивность --- */
        @media (max-width: 768px) {
            .hero h1 { font-size: 2.2rem; }
            .hero p { font-size: 1rem; }
            .hero { padding: 40px 10px; }
            .header { padding: 15px 0; }
            .header .logo svg { height: 75px; } /* Увеличено на 50% для мобильных */
            .contact-phone span { display: none; } 
            .calculator-modal { padding: 20px; width: 95%; }
            .calc-step h3 { font-size: 1.2rem; }
            .option-btn { flex-basis: calc(50% - 8px); }
            .results-container { flex-direction: column; }
            .link-cubes-container { grid-template-columns: 1fr; }
            #thank-you-page h2 { font-size: 2rem; }
            .cookie-content { flex-direction: column; text-align: center; }
            .modal-section-title { font-size: 1.3rem; }
            .calculator-modal .testimonial-card { flex-direction: column; align-items: center; text-align: center;}
        }

        /* --- СТИЛИ ДЛЯ ЭЛЕМЕНТОВ НИЖЕ ПЕРВОГО ЭКРАНА (Below the Fold) --- */
        .testimonials-main, .faq-section { padding: 80px 0; background: var(--card-bg); }
        .testimonials-main { background: var(--bg-color); }
        .section-title { text-align: center; font-size: 2.5rem; font-weight: 700; margin-bottom: 50px; color: var(--text-color); }
        .testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
        .testimonial-card { background: var(--card-bg); padding: 30px; border-radius: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
        .testimonial-rating { display: flex; gap: 5px; margin-bottom: 15px; color: #ffd700; }
        .testimonial-rating svg { width: 20px; height: 20px; }
        .testimonial-text { font-size: 1.1rem; line-height: 1.6; margin-bottom: 20px; }
        .testimonial-author { font-weight: 600; color: var(--primary-color); }
        .faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
        .faq-item { background: var(--card-bg); padding: 25px; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
        .faq-item h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 15px; color: var(--text-color); }
        .faq-item p { line-height: 1.6; color: #666; }
        
        /* --- ФУТЕР --- */
        .site-footer { background: #2c5530; color: white; padding: 40px 0 20px; margin-top: 60px; }
        .footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 30px; }
        .footer-logo img { max-height: 60px; width: auto; }
        .footer-links { display: flex; flex-direction: column; gap: 10px; }
        .footer-links a { color: #d4f4d7; text-decoration: none; transition: color 0.3s; }
        .footer-links a:hover { color: white; }
        .footer-info p { margin: 5px 0; color: #d4f4d7; font-size: 14px; }
        
        /* --- ДОПОЛНИТЕЛЬНАЯ CTA СЕКЦИЯ --- */
        .bottom-cta { background: linear-gradient(135deg, #28a745 0%, #20c997 100%); padding: 80px 0; text-align: center; color: white; }
        .bottom-cta-content h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 20px; color: white; }
        .bottom-cta-content p { font-size: 1.2rem; margin-bottom: 40px; color: rgba(255,255,255,0.95); max-width: 600px; margin-left: auto; margin-right: auto; }
        .bottom-cta .btn-primary { background: rgba(255,255,255,0.2); border: 2px solid white; color: white; backdrop-filter: blur(10px); }
        .bottom-cta .btn-primary:hover { background: white; color: #28a745; transform: translateY(-3px); }
        
        /* --- АДАПТИВНОСТЬ ДЛЯ НОВЫХ ЭЛЕМЕНТОВ --- */
        @media (max-width: 768px) {
            .footer-content { flex-direction: column; text-align: center; gap: 20px; }
            .footer-links { align-items: center; }
            .bottom-cta-content h2 { font-size: 2rem; }
            .bottom-cta-content p { font-size: 1.1rem; }
        }