       /* --- 1. CORE VARIABLES & RESET --- */
        :root {
            --primary-color: #0056b3;
            --primary-dark: #003d82;
            --bright-blue: #0099ff;
            --cyan-footer: #00acff;
            --accent-color: #a4d619;
            --accent-hover: #8fc00f;
            --purple-wl: #a855f7;
            --text-dark: #1a1a1a;
            --text-gray: #555555;
            --bg-light: #f9fbfd;
            --white: #ffffff;
            --border-radius: 12px;
            --shadow: 0 10px 30px rgba(0,0,0,0.08);
            --transition: all 0.3s ease;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        
        html { scroll-behavior: smooth; }
        
        body {
            font-family: 'Inter', sans-serif;
            color: var(--text-dark);
            background-color: var(--white);
            line-height: 1.6;
            overflow-x: hidden;
            font-size: 16px;
        }

        a { text-decoration: none; color: inherit; transition: var(--transition); }
        ul { list-style: none; }
        img, video { max-width: 100%; height: auto; display: block; }
        button, input, select, textarea { font-family: inherit; }

        /* --- UTILITY CLASSES --- */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            width: 100%;
        }

        .section-title {
            text-align: center;
            font-size: clamp(2rem, 5vw, 2.5rem);
            font-weight: 800;
            margin-bottom: 1rem;
            line-height: 1.2;
            color: var(--text-dark);
        }

       /* Press Block - Corrected Styles */
        .press-section { 
            padding: 50px 0; /* COMPACTED: Reduced from 60px */
            text-align: center; 
        }
        .press-header { text-align: center; margin-bottom: 25px; }
        .press-title-main { font-size: 22px; font-weight: 800; color: #374151; margin: 0; display: inline-block; border-bottom: 2px solid #cbd5e1; padding-bottom: 5px; }
        .press-grid { 
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
            gap: 15px; 
            max-width: 1000px; /* Constrain max width for centering on large screens */
            margin: 0 auto; /* Center the grid container */
        }
        .press-card {
            background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 16px;
            transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; gap: 8px; text-decoration: none;
        }
        .press-card:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-color: #93c5fd; }
        .press-top { display: flex; justify-content: space-between; align-items: center; }
        .press-source { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
       
	    .source-haqqin { color: #991b1b; } 
		.source-azertag { color: #1f2f4a; } 
		.source-bakuws { color: #FFD525; } 
		.source-trend { color: #dc2626; }
        .source-marja { color: #af0000; }
		.source-oxu { color: #1894A0; }
		.source-1news { color: #e60026; }
		.source-qafqazinfo { color: #1F4F82; }
		.source-report { color: #353535; }
		.source-milli { color: #1f4498; }

		.press-icon { color: #9ca3af; font-size: 14px; }
        .press-news-title { font-size: 13px; font-weight: 600; color: #1f2937; margin: 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

        /* --- NEW: Press Cards Hidden Logic --- */
        .press-card.press-hidden {
            display: none; /* Hide cards beyond the first 4 */
        }
        .press-more-btn {
            background: none;
            border: 2px solid var(--primary-color);
            color: var(--primary-color);
            padding: 10px 30px;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            margin-top: 25px;
            font-size: 1rem;
            transition: var(--transition);
            display: inline-block;
        }
        .press-more-btn:hover {
            background: var(--primary-color);
            color: var(--white);
        }
        .press-more-btn.hidden {
            display: none;
        }
        /* --- END NEW: Press Cards Hidden Logic --- */

        .section-subtitle {
            text-align: center;
            color: var(--text-gray);
            max-width: 700px;
            margin: 0 auto 2rem auto; /* COMPACTED: Reduced from 3rem */
            font-size: 1.1rem;
        }

        /* Buttons */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 14px 32px;
            font-weight: 700;
            text-transform: uppercase;
            border-radius: 50px;
            cursor: pointer;
            border: none;
            font-size: 0.9rem;
            letter-spacing: 0.5px;
            text-align: center;
            transition: var(--transition);
            white-space: nowrap;
        }

        .btn-accent { background-color: var(--accent-color); color: var(--text-dark); }
        .btn-accent:hover { background-color: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(164, 214, 25, 0.4); }
        
        .btn-primary { background-color: var(--primary-color); color: var(--white); }
        .btn-primary:hover { background-color: var(--primary-dark); }
        
        .btn-blue { background-color: #0077cc; color: white; }
        .btn-blue:hover { background-color: #005fa3; }
        
        .btn-outline { background: transparent; border: 2px solid var(--bright-blue); color: var(--bright-blue); padding: 12px 40px; border-radius: 50px; font-weight: 700; text-transform: uppercase; font-size: 0.85rem; }
        .btn-outline:hover { background: var(--bright-blue); color: white; }

        .btn-outline-blue { display: inline-block; background: transparent; border: 2px solid var(--bright-blue); color: var(--bright-blue); padding: 12px 35px; border-radius: 6px; font-weight: 600; text-transform: none; }
        .btn-outline-blue:hover { background: var(--bright-blue); color: white; }

        /* --- BACK TO TOP --- */
        #backToTopBtn {
            display: none; /* Hidden by default */
            position: fixed; 
            bottom: 30px; 
            right: 30px;
            z-index: 999; /* Ensure it's above other content */
            border: none;
            outline: none;
            background-color: var(--accent-color); /* MODIFIED: 5) Changed from var(--bright-blue) to var(--accent-color) */
            color: white;
            cursor: pointer;
            padding: 15px;
            border-radius: 50%;
            font-size: 18px;
            line-height: 0;
            opacity: 0.8;
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
            transition: opacity 0.3s, transform 0.3s, background-color 0.3s;
        }
        #backToTopBtn:hover {
            opacity: 1;
            background-color: var(--accent-hover); /* MODIFIED: 5) Changed from var(--primary-dark) to var(--accent-hover) */
            transform: scale(1.05);
        }
        /* --- 2. HEADER --- */
        header {
            background: var(--white);
            padding: 15px 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .nav-wrapper {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            font-size: 1.4rem;
            font-weight: 800;
            color: var(--text-dark);
            z-index: 1002;
        }
        .logo i { margin-right: 10px; font-size: 1.8rem; }

        /* Desktop Nav */
        .nav-links {
            display: flex;
            gap: 25px;
            align-items: center;
        }
        .nav-links a { font-weight: 600; font-size: 0.9rem; text-transform: uppercase; }
        .nav-links a:hover { color: var(--bright-blue); }

        .header-actions { display: flex; align-items: center; gap: 15px; z-index: 1002; }

        /* Language Dropdown */
        .lang-dropdown { position: relative; }
        .lang-btn {
            background: none; border: 1px solid #ddd; padding: 8px 15px; border-radius: 20px;
            cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: 5px;
            font-size: 0.85rem; color: var(--text-dark); transition: var(--transition);
        }
        .lang-btn:hover { background: #f0f0f0; }
        .lang-content {
            display: none; position: absolute; top: 120%; right: 0;
            background: white; min-width: 120px; box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            border-radius: 8px; overflow: hidden; animation: fadeIn 0.2s ease;
        }
        .lang-content.show { display: block; }
        .lang-content a { display: block; padding: 10px 15px; color: var(--text-dark); font-size: 0.9rem; }
        .lang-content a:hover { background: #f5f5f5; color: var(--bright-blue); }

        /* Mobile Menu Toggle */
        .mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--text-dark); }

        /* --- 3. HERO SECTION --- */
        .hero {
            padding: 60px 0; /* COMPACTED: Reduced from 60px 0 80px */
            background: radial-gradient(circle at top right, #f0f8ff, #ffffff);
            overflow: hidden;
        }
        .hero-content {
            display: flex;
            align-items: center;
            gap: 50px;
        }
        .hero-text { flex: 1; }
        .hero-text h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1.1; margin-bottom: 20px; }
        
        .hero-video-container {
            flex: 1;
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
            aspect-ratio: 16/9;
            background: #000;
            cursor: pointer;
        }
        .hero-video-container img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: 0.5s; }
        .hero-video-container:hover img { transform: scale(1.05); opacity: 0.7; }
        
        .play-btn {
            position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
            width: 70px; height: 70px; background: white; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            color: var(--bright-blue); font-size: 1.8rem; padding-left: 4px;
            animation: pulse 2s infinite; pointer-events: none;
        }

        /* --- 4. TRUSTED BY (Compact) --- */
        .trusted-by { padding: 30px 0; border-bottom: 1px solid #eee; background: white; }
        .trusted-wrapper { display: flex; justify-content: center; align-items: center; gap: 30px; flex-wrap: wrap; }
        .trusted-title { font-weight: 700; color: #555; margin-right: 10px; }
        .logos-row { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center; opacity: 0.7; align-items: center; }
        .logo-item { font-weight: 700; font-size: 1.2rem; color: #666; display: flex; align-items: center; gap: 5px; filter: grayscale(100%); transition: 0.3s; }
        .logo-item:hover { filter: grayscale(0); color: var(--text-dark); opacity: 1; }

        /* --- 5. AI ECOSYSTEM --- */
        .ai-ecosystem { padding: 40px 0; /* COMPACTED: Reduced from 50px */ text-align: center; border-bottom: 1px solid #f0f0f0; }
        .ai-compact-wrapper { display: flex; flex-direction: column; gap: 15px; }
        .ai-text-row h2 { font-size: clamp(1.5rem, 4vw, 1.8rem); margin: 0; display: inline-block; margin-right: 15px; color: var(--text-dark); }
        .ai-text-row p { display: inline-block; color: #666; margin: 0; }
        .ai-logos-row { 
            display: flex; 
            justify-content: center; 
            gap: 20px; /* Reduced gap from 40px for better fit */
            flex-wrap: nowrap; /* CRITICAL: Force logos to stay on one line */
            margin-top: 10px; 
            align-items: center; 
            overflow: hidden; /* Hide potential slight overflow */
        }
        /* CRITICAL FIX: Allow logos to shrink responsively */
        .ai-logo-item img {
            height: clamp(30px, 8vw, 50px); /* Responsive height (min 30px, max 50px) */
            width: auto; /* Maintain aspect ratio */
            min-width: 0; /* Essential for flex-shrink to work */
            max-width: 100%; /* Ensure responsiveness on small screens */
            object-fit: contain; /* Good practice for logos */
            flex-shrink: 1; /* Explicitly allow shrinking to fit */
        }
        /* End CRITICAL FIX */
        .ai-logo-item { 
            display: flex; 
            align-items: center; 
            justify-content: center;
        }
        .logo-gemini { background: -webkit-linear-gradient(45deg, #4E89FF, #FF5544); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

        /* --- 6. RAAS --- */
        .raas-section { padding: 60px 0; /* COMPACTED: Reduced from 80px */ text-align: center; background: white; }
        .raas-title { font-size: 2.2rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 20px; }
        .raas-text { max-width: 800px; margin: 0 auto 30px; color: #444; font-size: 1.1rem; }

        /* --- 7. AUTONOMOUS MEDIA --- */
        .autonomous-media { 
            background-color: var(--cyan-footer); /* MODIFIED: 4) Changed from #1a1a2e to var(--cyan-footer) */ 
            color: white; 
            padding: 60px 0; /* COMPACTED: Reduced from 80px */ 
            position: relative; 
            overflow: hidden; 
        }
        .auto-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; /* COMPACTED: Reduced from 50px */ }
        .auto-card { background: rgba(255,255,255,0.05); padding: 40px 30px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.1); text-align: center; transition: var(--transition); }
        .auto-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-10px); border-color: var(--accent-color); }
        .auto-card-icon { width: 70px; height: 70px; background: linear-gradient(135deg); border-radius: 50%; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
        .auto-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: white; }
        .no-human-badge { display: inline-block; background: rgba(255, 59, 48, 0.2); color: #ffffff; padding: 6px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; margin-top: 15px; text-transform: uppercase; }

        /* --- 8. FEATURES TABS --- */
        .features-tabs { 
            padding: 60px 0; /* COMPACTED: Reduced from 80px */ 
            background-color: var(--bg-light); /* MODIFIED: 6) Added background color */
        }
        .tab-buttons { display: flex; justify-content: center; margin-bottom: 40px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
        .tab-btn { background: none; border: none; font-size: 1.1rem; font-weight: 600; color: var(--text-gray); padding: 10px 20px; cursor: pointer; position: relative; white-space: nowrap; }
        .tab-btn.active { color: var(--primary-color); }
        .tab-btn.active::after { content: ''; position: absolute; bottom: -11px; left: 0; width: 100%; height: 3px; background: var(--primary-color); }
        
        .tab-content { display: none; gap: 40px; align-items: center; animation: fadeIn 0.5s ease; }
        .tab-content.active { display: flex; }
        .feature-list { flex: 1; }
        .feature-list li { margin-bottom: 15px; font-size: 1.1rem; display: flex; align-items: center; }
        .feature-list li i { 
            color: var(--accent-color); /* MODIFIED: 1) Changed icon color to accent-color */ 
            margin-right: 15px; 
            flex-shrink: 0; 
        }
        .tab-image { flex: 1.2; }
        .tab-image img { border-radius: 12px; box-shadow: var(--shadow); }

        /* --- 9. BENTO GRID --- */
        .solutions-bento { padding: 60px 0; /* COMPACTED: Reduced from 80px */ background: var(--white); }
        .bento-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            margin-top: 40px;
        }
        .bento-card { border-radius: 24px; padding: 30px; position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 250px; }
        .bento-light { background: #f9fbfd; border: 1px solid #edf2f9; }
        .bento-blue { background: var(--bright-blue); color: white; }
        .bento-card h3 { font-size: 1.5rem; margin-bottom: 20px; font-weight: 700; z-index: 2; }
        .tag-container { display: flex; flex-wrap: wrap; gap: 8px; z-index: 2; }
        .sol-tag { padding: 6px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 500; }
        .bento-light .sol-tag { border: 1px solid var(--bright-blue); color: var(--bright-blue); background: white; }
        .bento-blue .sol-tag { border: 1px solid rgba(255,255,255,0.4); color: white; background: rgba(255,255,255,0.1); }
        
        /* Specific Grid Areas */
        .card-role { grid-column: span 2; }
        .card-need { grid-column: span 1; }
        .card-industry { grid-column: span 1; }
        .card-tool { grid-column: span 2; }
        .card-scope { grid-column: span 3; }

        .role-img, .tool-img, .scope-img { position: absolute; z-index: 1; transition: 0.3s; }
        .role-img { right: 20px; bottom: 0; height: 120px; }
        .tool-img { right: 20px; bottom: -20px; width: 180px; }
        .scope-img { right: 0; top: 0; height: 100%; width: 50%; object-fit: cover; mask-image: linear-gradient(to right, transparent, black 20%); -webkit-mask-image: linear-gradient(to right, transparent, black 20%); }

        /* --- 10. WHITE LABEL --- */
        .white-label-section { padding: 60px 0; /* COMPACTED: Reduced from 80px */ background-color: #f9fbfd; }
        .wl-title { font-size: 2.5rem; text-align: center; font-weight: 800; margin-bottom: 20px; }
        .wl-text-purple { color: var(--purple-wl); }
        .wl-grid-custom { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 30px; margin-top: 40px; /* COMPACTED: Reduced from 50px */ }
        .wl-card-custom { display: flex; gap: 20px; padding: 30px; background: white; border-radius: 12px; border: 1px solid #e0e0e0; transition: var(--transition); }
        .wl-card-custom:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
        .wl-icon { 
            font-size: 2rem; 
            color: var(--accent-color); /* MODIFIED: 3) Changed icon color to accent-color */ 
            flex-shrink: 0; 
        }

        /* --- 11. SHOWROOM (ИСПРАВЛЕННЫЕ СТИЛИ) --- */
        .showroom-section { padding: 60px 0; /* COMPACTED: Reduced from 80px  background: linear-gradient(to bottom, #ffffff, #e0f2ff); */}
        
        /* ИЗМЕНЕНИЕ: Grid layout для адаптивного отображения 3/2/1 колонки */
        .showroom-wrapper { 
            display: grid;
            grid-template-columns: repeat(3, 1fr); /* Desktop: 3 columns */
            gap: 30px; /* Spacing between cards */
            margin: 40px 0; 
        }

        .project-card {
            background: white; border-radius: 20px; box-shadow: 0 15px 30px rgba(0,0,0,0.08);
            width: 100%; /* Take full grid cell width */
            padding: 30px; /* Compactness: Reduced from 40px */
            position: relative; 
            overflow: hidden;
            display: flex; 
            flex-direction: column; 
            min-height: 200px; /* Compactness: Reduced from 320px */
            transition: var(--transition);
        }
        .project-card:hover { transform: translateY(-5px); }

        /* NEW: Styles for the Logo Container */
        .project-logo {
            display: flex;
            align-items: center;
            justify-content: flex-start; /* Logo to the left */
            margin-bottom: 20px;
            /* Optional: Add a subtle border or background if needed, but keeping it minimal for logo visibility */
        }
        
        .project-logo img {
            max-height: 40px; /* Optimal height for desktop/tablet */
            max-width: 100%; 
            height: auto;
            width: auto;
            object-fit: contain; /* Ensures logo fits without stretching */
        }

        .project-content {
            flex-grow: 1; /* Pushes the link to the bottom */
        }
        .project-card h3 {
            font-size: 1.3rem; /* Compact title */
            margin-top: 0;
            margin-bottom: 5px; 
            color: var(--text-dark);
        }
        .project-type {
            font-size: 0.9rem;
            color: #777;
            margin-bottom: 15px; /* Spacing before link */
        }

        .project-link { 
            margin-top: auto; 
            color: var(--bright-blue); 
            font-weight: 700; 
            text-decoration: none; /* Removed default underline */
            font-size: 0.9rem;
            z-index: 5; 
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }
        .project-link:hover { text-decoration: underline; }
        
        /* REMOVED/HIDDEN OLD VISUALS */
        .project-visual { display: none; }
        .project-icon-circle { display: none; }


        /* --- 12. BACKSTORY (COMPACT LAYOUT) --- */
        .backstory-section { padding: 60px 0; /* COMPACTED: Reduced from 80px */ background-color: #f9fbfd; }
        .backstory-wrapper { position: relative; padding-top: 0; } 
        .backstory-bg { display: none; } 

        .backstory-card {
            position: relative; z-index: 2; background: white; max-width: 1000px;
            margin: 40px auto; 
            border-radius: 20px; box-shadow: 0 15px 40px rgba(0,0,0,0.05);
            padding: 40px; 
        }
        .backstory-layout {
            display: flex;
            gap: 40px;
            align-items: center;
        }
        .backstory-layout .backstory-image-container {
            flex: 1; 
            margin-top: 0; 
            margin-bottom: 0; 
        }
        .backstory-layout .backstory-image-container img {
            height: auto;
            max-height: 400px;
            object-fit: cover;
            display: block;
            border-radius: 12px; 
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            width: 100%; 
        }
        .backstory-layout .backstory-content {
            flex: 1.2; 
        }
        .backstory-layout h2 { margin-top: 0; } 

        /* --- 13. PARTNERS --- */
        .partners-section { padding: 40px 0 60px; /* COMPACTED: Reduced from 80px bottom */ }
        .partners-filter-bar { background: #f2f6f9; padding: 20px; border-radius: 12px; display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-top: 40px; }
        .filter-item { width: 200px; max-width: 100%; }
        .filter-input { background: white; padding: 10px; border-radius: 6px; border: 1px solid #ddd; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
        .partners-grid-display { display: flex; justify-content: flex-start; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
        .partner-card { border: 1px solid #ddd; border-radius: 8px; padding: 30px; width: 100%; max-width: 400px; transition: var(--transition); }
        .partner-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
        .partner-header { display: flex; justify-content: space-between; margin-bottom: 20px; }
        .partner-icons { display: flex; gap: 5px; }
        .icon-circle { width: 30px; height: 30px; border: 1px solid #ccc; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; }
        .icon-gold { border-color: gold; color: gold; }

        /* --- 14. CONTACT --- */
        .contact { padding: 60px 0; /* COMPACTED: Reduced from 80px */ background: var(--bg-light); }
        .contact-split-layout { display: flex; gap: 60px; }
        .contact-form-card { flex: 1; background: white; padding: 40px; border-radius: 12px; box-shadow: var(--shadow); }
        .contact-info-side { flex: 0.8; padding-top: 20px; }
        
        .form-row { display: flex; gap: 20px; margin-bottom: 20px; }
        .form-col { flex: 1; }
        .form-col input, .form-col select { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 6px; margin-top: 5px; }
        .btn-submit { width: 100%; background: #0077cc; color: white; border: none; padding: 14px; border-radius: 6px; font-weight: 700; cursor: pointer; transition: 0.3s; }
        .btn-submit:hover { background: #005fa3; }

        /* ИСПРАВЛЕНИЕ: Добавлено justify-content: center для центрирования методов контакта */
        .contact-method { 
            display: flex; 
            gap: 30px; 
            margin-bottom: 30px; 
            align-items: center; 
            justify-content: center; /* КЛЮЧЕВОЕ ИЗМЕНЕНИЕ */
            flex-wrap: wrap; 
        }
        .contact-icon { width: 40px; height: 40px; background: #e0f2ff; color: #0077cc; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

        /* --- 15. FOOTER COLLAPSIBLE LOGIC (DESKTOP DEFAULT) --- */
        footer { background: var(--cyan-footer); color: white; padding: 60px 0 40px; /* COMPACTED: Reduced from 80px top */ }
        .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 40px; }
        
        /* h5 and icon alignment (Desktop - icon hidden) */
        .footer-col h5 { 
            font-size: 0.8rem; 
            text-transform: uppercase; 
            margin-bottom: 20px; 
            opacity: 0.9;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        /* Collapsible content wrapper (Desktop - expanded by default) */
        .footer-links-content {
            max-height: 500px; /* Desktop expanded state */
            opacity: 1;
            pointer-events: auto;
            transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out, padding-top 0.4s ease-in-out;
        }
        .footer-links-content a { display: block; color: white; margin-bottom: 10px; opacity: 0.9; }
        .footer-links-content a:hover { text-decoration: underline; opacity: 1; }

        /* Toggle icon default state (Hidden on desktop) */
        .toggle-icon {
            margin-left: 10px;
            transition: transform 0.3s ease;
            font-size: 0.8rem;
            display: none; /* Hide on desktop */
        }
        .footer-col {
             /* Remove default clickable appearance on desktop */
             cursor: default; 
        }


        .footer-seo { margin-bottom: 40px; font-size: 0.85rem; opacity: 0.8; max-width: 800px; }
        .footer-separator { height: 1px; background: rgba(255,255,255,0.3); margin-bottom: 30px; }
        
        /* ИСПРАВЛЕНИЕ: Новая структура футера */
        .footer-bottom { 
            display: flex; 
            flex-direction: column; 
            gap: 15px; 
        }
        .footer-info-row {
            display: flex;
            justify-content: space-between; 
            align-items: center;
            width: 100%;
        }
        .legal-links { display: flex; gap: 20px; font-size: 0.75rem; text-transform: uppercase; font-weight: 700; }
        .copyright-text { 
            font-size: 0.75rem; 
            opacity: 0.8;
            margin-top: 10px; 
        }
        .footer-social-lang { display: flex; align-items: center; gap: 20px; } 
        .footer-lang-btn { background: none; border: none; color: white; cursor: pointer; display: flex; align-items: center; gap: 5px; font-weight: 600; }

        /* --- ANIMATIONS --- */
        @keyframes pulse {
            0% { transform: translate(-50%, -50%) scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
            70% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); }
            100% { transform: translate(-50%, -50%) scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
        }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

        /* --- RESPONSIVE MEDIA QUERIES --- */
        
        /* Tablet & Mobile Menu Logic */
        @media (max-width: 992px) {
            /* ... (existing styles) ... */
            .nav-links {
                position: absolute; top: 100%; left: 0; width: 100%;
                background: white; flex-direction: column; padding: 20px;
                box-shadow: 0 10px 20px rgba(0,0,0,0.1);
                display: none; /* Hidden by default */
            }
            .nav-links.active { display: flex; }
            .mobile-toggle { display: block; }
            .header-actions .btn { display: none; } /* Hide heavy CTA on mobile header */
            
            .hero-content { flex-direction: column; text-align: center; }
            .tab-content.active { flex-direction: column-reverse; }
            .bento-grid { grid-template-columns: repeat(2, 1fr); }
            .card-scope { grid-column: span 2; }
            
            .contact-split-layout { flex-direction: column; }
            .contact-info-side { padding-top: 0; text-align: center; }
            
            .footer-top-grid { grid-template-columns: repeat(2, 1fr); }
            .wl-grid-custom { grid-template-columns: 1fr; }

            /* Backstory: Stack columns vertically on tablet */
            .backstory-layout {
                flex-direction: column;
            }

            /* ИСПРАВЛЕНИЕ: Tabs for Publishers/Corporates/Government */
            .tab-buttons {
                flex-wrap: wrap; /* Allow wrapping */
                gap: 10px 15px; /* Add vertical and horizontal gap */
            }
            .tab-btn {
                flex: 1 1 auto; /* Allow buttons to share space more evenly when wrapped */
            }

            /* ИСПРАВЛЕНИЕ: Скрыть изображения в табах на планшетах/мобильных */
            .tab-image {
                display: none;
            }
            
            /* SHOWROOM: 2 колонки на планшетах */
            .showroom-wrapper {
                grid-template-columns: repeat(2, 1fr); 
            }
            
            /* COMPACTNESS OVERRIDE FOR TABLET/MOBILE */
            .hero, .autonomous-media, .raas-section, .features-tabs, .solutions-bento, 
            .white-label-section, .showroom-section, .backstory-section, .contact {
                padding: 40px 0; /* Reduced general section padding for smaller devices */
            }
            .ai-ecosystem { padding: 30px 0; }
            .partners-section { padding: 30px 0 40px; }
            .press-section { padding: 40px 0; }
            .footer { padding: 40px 0 20px; }
        }

        /* Mobile specific (768px and below) - Collapsible Footer */
        @media (max-width: 768px) {
            .section-title { font-size: 2rem; }
            .bento-grid { grid-template-columns: 1fr; }
            .bento-card { grid-column: span 1 !important; min-height: auto; }
            
            /* ИЗМЕНЕНИЕ: Убираем .scope-img из группировки и скрываем его */
            .role-img, .tool-img { position: relative; width: 100%; height: auto; margin-top: 20px; right: auto; bottom: auto; }
            .scope-img { display: none; } /* NEW: Скрываем изображение в карточке Scope на мобильных */

            .form-row { flex-direction: column; gap: 10px; }

            /* COLLAPSIBLE FOOTER STYLES */
            .footer-top-grid { 
                grid-template-columns: 1fr; /* Stacked columns */
                text-align: left; /* Left align content for dropdowns */
                gap: 0; /* Remove gap */
            }
            .footer-col {
                border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Separator */
                padding: 15px 0; /* Vertical padding for each section */
                cursor: pointer; /* Enable clickable on mobile */
                text-align: left;
            }
            .footer-col:first-child {
                padding-top: 0;
            }
            .footer-col:last-child {
                border-bottom: none;
            }
            .footer-col h5 {
                margin-bottom: 0; /* Remove margin from h5 on mobile */
            }
            .toggle-icon {
                display: block; /* Show the icon on mobile */
            }
            .footer-col.active .toggle-icon {
                transform: rotate(180deg);
            }
            .footer-links-content {
                max-height: 0; /* Hide by default on mobile */
                opacity: 0;
                pointer-events: none;
                padding-top: 0;
            }
            .footer-col.active .footer-links-content {
                max-height: 500px; /* Expand */
                opacity: 1;
                pointer-events: auto;
                padding-top: 15px; /* Spacing */
            }
            .footer-links-content a {
                margin-bottom: 5px; /* Adjust spacing for stacked links */
            }
            /* END COLLAPSIBLE FOOTER STYLES */

            /* ИСПРАВЛЕНИЕ: Перенос элементов футера на мобильных */
            .footer-info-row {
                flex-direction: column; /* Стек links и social/lang */
                align-items: center;
                gap: 15px;
            }
            .legal-links {
                justify-content: center;
            }
            
            /* SHOWROOM: 1 колонка на маленьких мобильных */
            .showroom-wrapper {
                grid-template-columns: 1fr; 
            }
            
            /* ЛОГОТИПЫ В SHOWROOM НА МОБИЛЬНЫХ: немного меньше, если нужно */
            .project-logo img {
                max-height: 30px; /* Слегка уменьшаем высоту логотипа на мобильных */
            }

            .footer-seo { text-align: center; }
            .logo i { font-size: 1.5rem; }
            
            /* Backstory: Simplified mobile layout */
            .backstory-bg { display: none; }
            .backstory-card { margin: 20px auto; padding: 20px; } /* Updated margin/padding for mobile */
            .backstory-image-container { margin-top: 0; }
            .partners-grid-display { justify-content: center; }

            /* ИСПРАВЛЕНИЕ: Fix for Back To Top Button causing horizontal scroll */
            #backToTopBtn {
                right: 15px; /* Reduced from 30px */
                bottom: 15px; /* Reduced from 30px */
                padding: 12px; /* Slightly smaller size for mobile */
                font-size: 16px;
            }
        }