/* etoir.ru landing styles — extracted from inline <style> on 2026-05-19 */
/* ===== CSS Custom Properties ===== */
        :root {
            --bg: #FAFBFF;
            --bg-alt: #F1F5F9;
            --primary: #2563EB;
            --primary-dark: #1E40AF;
            --primary-light: #DBEAFE;
            --primary-glow: rgba(37, 99, 235, 0.15);
            --accent: #F59E0B;
            --accent-dark: #D97706;
            --accent-light: #FEF3C7;
            --text: #1E293B;
            --text-secondary: #64748B;
            --text-light: #94A3B8;
            --card-bg: #FFFFFF;
            --card-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
            --card-shadow-hover: 0 12px 40px rgba(15, 23, 42, 0.12);
            --border: #E2E8F0;
            --success: #10B981;
            --danger: #EF4444;
            --radius: 16px;
            --radius-sm: 10px;
            --radius-lg: 24px;
            --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            --font-mono: 'JetBrains Mono', monospace;
        }

        /* ===== Reset & Base ===== */
        *, *::before, *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            scroll-padding-top: 80px;
        }

        body {
            font-family: var(--font);
            font-size: 18px;
            line-height: 1.7;
            color: var(--text);
            background: var(--bg);
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }

        img { max-width: 100%; height: auto; display: block; }
        a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
        a:hover { color: var(--primary-dark); }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
        }

        /* ===== Utility ===== */
        .section-label {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-family: var(--font-mono);
            font-size: 13px;
            font-weight: 500;
            color: var(--primary);
            background: var(--primary-light);
            padding: 6px 16px;
            border-radius: 100px;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            margin-bottom: 16px;
        }

        .section-title {
            font-size: clamp(32px, 5vw, 44px);
            font-weight: 800;
            line-height: 1.2;
            color: var(--text);
            margin-bottom: 16px;
        }

        .section-subtitle {
            font-size: 18px;
            color: var(--text-secondary);
            max-width: 640px;
            line-height: 1.7;
        }

        .section-header {
            text-align: center;
            margin-bottom: 64px;
        }
        .section-postfix {
            text-align: left;
            font-size: 12px;
            margin-top: 20px;
        }

        .section-header .section-subtitle {
            margin: 0 auto;
        }

        /* ===== Animations ===== */
        .fade-up {
            opacity: 0;
            transform: translateY(32px);
            transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .fade-up.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .fade-up:nth-child(2) { transition-delay: 0.1s; }
        .fade-up:nth-child(3) { transition-delay: 0.2s; }
        .fade-up:nth-child(4) { transition-delay: 0.3s; }
        .fade-up:nth-child(5) { transition-delay: 0.4s; }
        .fade-up:nth-child(6) { transition-delay: 0.5s; }

        @keyframes float {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(3deg); }
        }

        @keyframes pulse-glow {
            0%, 100% { box-shadow: 0 0 0 0 var(--primary-glow); }
            50% { box-shadow: 0 0 0 20px transparent; }
        }

        @keyframes blob-move {
            0%, 100% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; transform: translate(0, 0) scale(1); }
            25% { border-radius: 70% 30% 50% 50% / 30% 65% 35% 70%; transform: translate(20px, -30px) scale(1.05); }
            50% { border-radius: 30% 70% 40% 60% / 55% 30% 70% 45%; transform: translate(-10px, 20px) scale(0.95); }
            75% { border-radius: 55% 45% 60% 40% / 40% 70% 30% 60%; transform: translate(15px, 10px) scale(1.02); }
        }

        @keyframes spin-slow {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        /* ===== Buttons ===== */
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 16px 32px;
            border-radius: 12px;
            font-family: var(--font);
            font-size: 16px;
            font-weight: 600;
            border: none;
            cursor: pointer;
            transition: all var(--transition);
            white-space: nowrap;
        }

        .btn-primary {
            background: var(--primary);
            color: #fff;
            box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
        }

        .btn-primary:hover {
            background: var(--primary-dark);
            box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
            transform: translateY(-2px);
            color: #fff;
        }

        .btn-accent {
            background: var(--accent);
            color: #fff;
            box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
        }

        .btn-accent:hover {
            background: var(--accent-dark);
            box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
            transform: translateY(-2px);
            color: #fff;
        }

        .btn-outline {
            background: transparent;
            color: var(--primary);
            border: 2px solid var(--primary);
        }

        .btn-outline:hover {
            background: var(--primary);
            color: #fff;
            transform: translateY(-2px);
        }

        .btn-lg {
            padding: 20px 40px;
            font-size: 18px;
            border-radius: 14px;
        }

        .btn svg {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
        }

        /* ===== HEADER ===== */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(250, 251, 255, 0.8);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid transparent;
            transition: all var(--transition);
        }

        .header.scrolled {
            border-bottom-color: var(--border);
            box-shadow: 0 1px 12px rgba(15, 23, 42, 0.04);
        }

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

        .logo {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 24px;
            font-weight: 800;
            color: var(--text);
        }

        .logo span {
            color: var(--primary);
        }

        .logo-dot {
            display: inline-block;
            width: 8px;
            height: 8px;
            background: var(--accent);
            border-radius: 50%;
            margin-left: 2px;
            animation: pulse-glow 2s infinite;
        }

        .nav {
            display: flex;
            align-items: center;
            gap: 32px;
        }

        .nav a {
            font-size: 15px;
            font-weight: 500;
            color: var(--text-secondary);
            transition: color var(--transition);
            position: relative;
        }

        .nav a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary);
            border-radius: 1px;
            transition: width var(--transition);
        }

        .nav a:hover {
            color: var(--primary);
        }

        .nav a:hover::after {
            width: 100%;
        }

        .header-cta {
            padding: 10px 24px;
            font-size: 14px;
        }

        .header-email {
            font-size: 14px;
            color: #64748b;
            text-decoration: none;
            transition: color .2s;
            white-space: nowrap;
        }
        .header-email:hover { color: #2563EB; }

        .cta-email-link {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            font-size: 15px;
            font-weight: 500;
            color: #2563EB;
            text-decoration: none;
            margin-bottom: 20px;
        }
        .cta-email-link:hover { text-decoration: underline; }

        .mobile-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
        }

        .mobile-toggle span {
            display: block;
            width: 24px;
            height: 2px;
            background: var(--text);
            border-radius: 2px;
            transition: all var(--transition);
        }

        /* ===== HERO ===== */
        .hero {
            position: relative;
            padding: 160px 0 120px;
            overflow: hidden;
        }

        .hero-bg {
            position: absolute;
            inset: 0;
            z-index: 0;
            overflow: hidden;
        }

        .hero-blob {
            position: absolute;
            border-radius: 50%;
            filter: blur(80px);
            opacity: 0.5;
            animation: blob-move 12s ease-in-out infinite;
        }

        .hero-blob-1 {
            width: 600px;
            height: 600px;
            background: linear-gradient(135deg, var(--primary-light), rgba(37, 99, 235, 0.1));
            top: -200px;
            right: -100px;
            animation-delay: 0s;
        }

        .hero-blob-2 {
            width: 400px;
            height: 400px;
            background: linear-gradient(135deg, var(--accent-light), rgba(245, 158, 11, 0.08));
            bottom: -100px;
            left: -100px;
            animation-delay: -4s;
        }

        .hero-blob-3 {
            width: 300px;
            height: 300px;
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(37, 99, 235, 0.05));
            top: 50%;
            left: 50%;
            animation-delay: -8s;
        }

        .hero-grid {
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
            background-size: 60px 60px;
            mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
            -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
        }

        .hero-content {
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .hero-text {
            max-width: 720px;
            width: 100%;
        }

        .hero-text h1 {
            font-size: clamp(36px, 5vw, 56px);
            font-weight: 800;
            line-height: 1.15;
            margin-bottom: 24px;
            color: var(--text);
        }

        .hero-text h1 .highlight {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-text p {
            font-size: 20px;
            color: var(--text-secondary);
            margin-bottom: 40px;
            line-height: 1.7;
        }

        .hero-actions {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .hero-stats {
            display: flex;
            gap: 48px;
            margin-top: 48px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .hero-stat-row {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .hero-stat-value {
            font-family: var(--font-mono);
            font-size: 48px;
            font-weight: 700;
            color: var(--primary);
            line-height: 1;
        }

        .stat-arrow {
            color: #22c55e;
            flex-shrink: 0;
        }

        .hero-stat-label {
            font-size: 15px;
            color: var(--text-secondary);
            margin-top: 8px;
        }

        /* Hero Visual */
        .hero-visual {
            width: 100%;
            max-width: 1100px;
            margin: 60px auto 0;
        }

        .hero-mockup {
            position: relative;
            width: 100%;
        }

        .mockup-window {
            background: var(--card-bg);
            border-radius: var(--radius-lg);
            box-shadow: var(--card-shadow-hover);
            overflow: hidden;
            border: 1px solid var(--border);
        }

        .mockup-titlebar {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 14px 18px;
            background: var(--bg-alt);
            border-bottom: 1px solid var(--border);
        }

        .mockup-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
        }

        .mockup-dot:nth-child(1) { background: #EF4444; }
        .mockup-dot:nth-child(2) { background: #F59E0B; }
        .mockup-dot:nth-child(3) { background: #10B981; }

        .mockup-url {
            flex: 1;
            background: var(--card-bg);
            border-radius: 8px;
            padding: 6px 14px;
            font-size: 13px;
            color: var(--text-secondary);
            margin-left: 8px;
            font-family: var(--font-mono);
        }

        .mockup-body {
            padding: 24px;
            min-height: 280px;
        }

        .mockup-dashboard {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
            margin-bottom: 20px;
        }

        .mockup-kpi {
            background: var(--bg);
            border-radius: var(--radius-sm);
            padding: 16px;
            text-align: center;
            border: 1px solid var(--border);
        }

        .mockup-kpi-value {
            font-family: var(--font-mono);
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 4px;
        }

        .mockup-kpi-value.green { color: var(--success); }
        .mockup-kpi-value.blue { color: var(--primary); }
        .mockup-kpi-value.amber { color: var(--accent); }

        .mockup-kpi-label {
            font-size: 11px;
            color: var(--text-secondary);
        }

        .mockup-chart {
            background: var(--bg);
            border-radius: var(--radius-sm);
            padding: 16px;
            border: 1px solid var(--border);
        }

        .mockup-chart-title {
            font-size: 12px;
            font-weight: 600;
            color: var(--text-secondary);
            margin-bottom: 12px;
        }

        .mockup-bars {
            display: flex;
            align-items: flex-end;
            gap: 8px;
            height: 80px;
        }

        .mockup-bar {
            flex: 1;
            background: linear-gradient(to top, var(--primary), var(--primary-light));
            border-radius: 4px 4px 0 0;
            transition: height 1s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .hero-float-card {
            position: absolute;
            background: var(--card-bg);
            border-radius: var(--radius);
            padding: 14px 20px;
            box-shadow: var(--card-shadow-hover);
            border: 1px solid var(--border);
            animation: float 6s ease-in-out infinite;
            z-index: 2;
        }

        .hero-float-card.card-1 {
            top: -10px;
            right: -30px;
            animation-delay: 0s;
        }

        .hero-float-card.card-2 {
            bottom: 40px;
            left: -40px;
            animation-delay: -3s;
        }

        .float-card-row {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .float-card-icon {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .float-card-icon.green { background: rgba(16, 185, 129, 0.1); color: var(--success); }
        .float-card-icon.red { background: rgba(239, 68, 68, 0.1); color: var(--danger); }

        .float-card-text {
            font-size: 13px;
            font-weight: 600;
        }

        .float-card-sub {
            font-size: 11px;
            color: var(--text-secondary);
        }

        /* ===== PAIN POINTS ===== */
        .pain-points {
            padding: 100px 0;
            background: var(--bg-alt);
            position: relative;
        }

        .pain-points::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--border), transparent);
        }

        .pain-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }

        .pain-card {
            background: var(--card-bg);
            border-radius: var(--radius);
            padding: 32px 24px;
            border: 1px solid var(--border);
            transition: all var(--transition);
            position: relative;
            overflow: hidden;
        }

        .pain-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--danger), var(--accent));
            opacity: 0;
            transition: opacity var(--transition);
        }

        .pain-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--card-shadow-hover);
        }

        .pain-card:hover::before {
            opacity: 1;
        }

        .pain-icon {
            width: 56px;
            height: 56px;
            border-radius: 14px;
            background: rgba(239, 68, 68, 0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            color: var(--danger);
        }

        .pain-icon svg {
            width: 28px;
            height: 28px;
        }

        .pain-card h3 {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 10px;
            line-height: 1.3;
        }

        .pain-card p {
            font-size: 15px;
            color: var(--text-secondary);
            line-height: 1.6;
        }


        /* ===== CTA INLINE ===== */
        .cta-inline {
            padding: 80px 0;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            position: relative;
            overflow: hidden;
        }

        .cta-inline::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image:
                radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 40%);
        }

        .cta-inline-content {
            position: relative;
            z-index: 1;
            text-align: center;
        }

        .cta-inline h2 {
            font-size: clamp(28px, 4vw, 40px);
            font-weight: 800;
            color: #fff;
            margin-bottom: 16px;
        }

        .cta-inline p {
            font-size: 18px;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 32px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-inline .btn-accent {
            font-size: 18px;
            padding: 18px 40px;
        }


        /* ===== HOW IT WORKS ===== */
        .how-it-works {
            padding: 100px 0;
        }

        .steps-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 32px;
            position: relative;
        }

        .steps-grid::before {
            content: '';
            position: absolute;
            top: 48px;
            left: calc(16.66% + 48px);
            right: calc(16.66% + 48px);
            height: 2px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            opacity: 0.3;
        }

        .step-card {
            text-align: center;
            position: relative;
        }

        .step-number {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 96px;
            height: 96px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-light), var(--bg));
            font-family: var(--font-mono);
            font-size: 36px;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 24px;
            position: relative;
            border: 2px solid var(--primary);
        }

        .step-card h3 {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 12px;
        }

        .step-card p {
            font-size: 15px;
            color: var(--text-secondary);
            line-height: 1.6;
            max-width: 280px;
            margin: 0 auto;
        }

        /* ===== ADVANTAGES ===== */
        .advantages {
            padding: 100px 0;
            background: var(--bg-alt);
        }

        .advantages-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0;
        }

        .advantage-item {
            padding: 32px 28px 32px 0;
            border-top: 1px solid var(--border);
        }

        .advantage-item:nth-child(3n+2),
        .advantage-item:nth-child(3n+3) {
            padding-left: 28px;
            border-left: 1px solid var(--border);
        }

        .advantage-item h3 {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 8px;
            line-height: 1.3;
        }

        .advantage-item p {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.6;
        }

        /* ===== CTA FORM ===== */
        .cta-form-section {
            padding: 100px 0;
            position: relative;
            overflow: hidden;
        }

        .cta-form-section::before {
            content: '';
            position: absolute;
            width: 500px;
            height: 500px;
            border-radius: 50%;
            background: var(--primary-glow);
            filter: blur(100px);
            top: -200px;
            right: -200px;
        }

        .cta-form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 64px;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .cta-form-text h2 {
            font-size: clamp(32px, 4vw, 44px);
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 20px;
        }

        .cta-form-text p {
            font-size: 18px;
            color: var(--text-secondary);
            margin-bottom: 32px;
            line-height: 1.7;
        }

        .cta-benefits-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .cta-benefits-list li {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 16px;
            font-weight: 500;
        }

        .cta-benefits-list li svg {
            width: 20px;
            height: 20px;
            color: var(--success);
            flex-shrink: 0;
        }

        .form-card {
            background: var(--card-bg);
            border-radius: var(--radius-lg);
            padding: 40px;
            box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
            border: 1px solid var(--border);
        }

        .form-card h3 {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .form-card .form-subtitle {
            font-size: 15px;
            color: var(--text-secondary);
            margin-bottom: 28px;
        }

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

        .form-group label {
            display: block;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 6px;
            color: var(--text);
        }

        .form-group label .optional {
            font-weight: 400;
            color: var(--text-light);
        }

        .form-input {
            width: 100%;
            padding: 14px 18px;
            border: 1.5px solid var(--border);
            border-radius: var(--radius-sm);
            font-family: var(--font);
            font-size: 15px;
            color: var(--text);
            background: var(--bg);
            transition: all var(--transition);
            outline: none;
        }

        .form-input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 4px var(--primary-glow);
            background: var(--card-bg);
        }

        .form-input::placeholder {
            color: var(--text-light);
        }

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

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }

        .form-submit {
            width: 100%;
            margin-top: 8px;
        }

        .form-consent {
            margin-top: 16px;
        }

        .consent-label {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            cursor: pointer;
        }

        .consent-checkbox {
            flex-shrink: 0;
            width: 18px;
            height: 18px;
            margin-top: 2px;
            accent-color: var(--primary);
            cursor: pointer;
        }

        .consent-text {
            font-size: 13px;
            color: var(--text-secondary);
            line-height: 1.5;
        }

        .consent-text a {
            color: var(--primary);
            text-decoration: underline;
        }

        .consent-text a:hover {
            color: var(--primary-dark);
        }

        .form-consent.error .consent-text {
            color: var(--danger);
        }

        .form-consent.error .consent-checkbox {
            outline: 2px solid var(--danger);
            border-radius: 2px;
        }

        .form-success {
            display: none;
            text-align: center;
            padding: 40px 20px;
        }

        .form-success.visible {
            display: block;
        }

        .form-success svg {
            width: 64px;
            height: 64px;
            color: var(--success);
            margin-bottom: 16px;
        }

        .form-success h4 {
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .form-success p {
            font-size: 15px;
            color: var(--text-secondary);
        }

        /* ===== FAQ ===== */
        .faq {
            padding: 100px 0;
            background: var(--bg-alt);
        }

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

        .faq-item {
            background: var(--card-bg);
            border-radius: var(--radius);
            border: 1px solid var(--border);
            margin-bottom: 12px;
            overflow: hidden;
            transition: all var(--transition);
        }

        .faq-item:hover {
            border-color: var(--primary-light);
        }

        .faq-question {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 22px 28px;
            cursor: pointer;
            gap: 16px;
            user-select: none;
        }

        .faq-question h3 {
            font-size: 17px;
            font-weight: 600;
            line-height: 1.4;
        }

        .faq-toggle {
            flex-shrink: 0;
            width: 32px;
            height: 32px;
            border-radius: 8px;
            background: var(--bg-alt);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all var(--transition);
        }

        .faq-toggle svg {
            width: 18px;
            height: 18px;
            color: var(--text-secondary);
            transition: transform var(--transition);
        }

        .faq-item.open .faq-toggle {
            background: var(--primary-light);
        }

        .faq-item.open .faq-toggle svg {
            transform: rotate(180deg);
            color: var(--primary);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .faq-answer-inner {
            padding: 0 28px 22px;
            font-size: 15px;
            color: var(--text-secondary);
            line-height: 1.7;
        }

        /* ===== CTA FINAL ===== */
        .cta-final {
            padding: 100px 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .cta-final-bg {
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, var(--bg) 0%, var(--primary-light) 100%);
            opacity: 0.5;
        }

        .cta-final-content {
            position: relative;
            z-index: 1;
        }

        .cta-final h2 {
            font-size: clamp(32px, 5vw, 48px);
            font-weight: 800;
            margin-bottom: 16px;
        }

        .cta-final p {
            font-size: 20px;
            color: var(--text-secondary);
            margin-bottom: 40px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        /* ===== FOOTER ===== */
        .footer {
            padding: 48px 0;
            background: var(--text);
            color: rgba(255, 255, 255, 0.6);
        }

        .footer-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 20px;
        }

        .footer-logo {
            font-size: 20px;
            font-weight: 800;
            color: #fff;
        }

        .footer-logo span {
            color: var(--primary);
        }

        .footer-links {
            display: flex;
            gap: 24px;
        }

        .footer-links a {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.5);
            transition: color var(--transition);
        }

        .footer-links a:hover {
            color: #fff;
        }

        .footer-copy {
            font-size: 13px;
        }

        .footer-email {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.6);
            text-decoration: none;
            transition: color var(--transition);
        }
        .footer-email:hover { color: #fff; }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 1024px) {
            .hero-visual {
                display: none;
            }

            .hero-stats {
                display: none;
            }

            .pain-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .cta-form-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            body { font-size: 16px; }

            .nav { display: none; }
            .header-cta { display: none; }
            .header-email { display: none; }
            .mobile-toggle { display: flex; }

            .nav.open {
                display: flex;
                flex-direction: column;
                position: absolute;
                top: 72px;
                left: 0;
                right: 0;
                background: var(--card-bg);
                padding: 24px;
                border-bottom: 1px solid var(--border);
                box-shadow: 0 8px 24px rgba(0,0,0,0.08);
                gap: 16px;
            }

            .nav.open + .header-cta-mobile {
                display: block;
            }

            .hero {
                padding: 120px 0 80px;
            }

            .hero-text h1 {
                font-size: 32px;
            }

            .hero-stats {
                flex-direction: column;
                gap: 20px;
                align-items: center;
            }

            .pain-grid {
                grid-template-columns: 1fr;
            }

            .steps-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .steps-grid::before {
                display: none;
            }

            .advantages-grid {
                grid-template-columns: 1fr;
            }

            .advantage-item:nth-child(3n+2),
            .advantage-item:nth-child(3n+3) {
                padding-left: 0;
                border-left: none;
            }

            .form-row {
                grid-template-columns: 1fr;
            }

            .btn-lg {
                padding: 16px 32px;
                font-size: 16px;
            }

            .footer-inner {
                flex-direction: column;
                text-align: center;
            }

            .footer-links {
                justify-content: center;
                flex-wrap: wrap;
            }

            .section-header {
                margin-bottom: 40px;
            }

            /* Скрываем сноску статистики, т.к. сами цифры скрыты на мобильном */
            .hero .section-postfix {
                display: none;
            }

            /* Показываем скриншот дашборда в hero на мобилке */
            .hero-visual {
                display: block;
                margin-top: 32px;
                max-width: 100%;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 16px;
            }

            .hero {
                padding: 110px 0 60px;
            }

            .hero-text h1 {
                font-size: 28px;
            }

            .form-card {
                padding: 24px;
            }

            .cta-form-grid {
                gap: 32px;
            }

            .fsw-screen-area {
                height: 200px;
            }

            .pain-points,
            .how-it-works,
            .advantages,
            .faq,
            .cta-final {
                padding: 64px 0;
            }
        }

        /* ===== FEATURES SCROLL (replaces features grid + showcase) ===== */

        .features-scroll-wrapper {
            position: relative;
            height: 400vh; /* 100vh × 4 tabs */
            margin-bottom: 56px;
        }

        .features-sticky {
            position: sticky;
            top: 0;
            height: 100vh;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            background: var(--bg);
            border-bottom: 1px solid var(--border);
        }

        .fsw-header {
            text-align: center;
            padding: 20px 24px 0;
            flex-shrink: 0;
        }

        .fsw-header .section-label {
            margin-bottom: 8px;
        }

        .fsw-header .section-title {
            font-size: clamp(22px, 3vw, 32px);
            margin-bottom: 0;
        }

        .fsw-tabs {
            display: flex;
            justify-content: center;
            gap: 0;
            padding: 0 24px;
            margin-top: 20px;
            border-bottom: 2px solid var(--border);
            overflow-x: auto;
            scrollbar-width: none;
            flex-shrink: 0;
        }
        .fsw-tabs::-webkit-scrollbar { display: none; }

        .fsw-tab {
            flex-shrink: 0;
            padding: 10px 22px;
            font-size: 14px;
            font-weight: 500;
            color: var(--text-secondary);
            cursor: pointer;
            border: none;
            background: none;
            border-bottom: 2px solid transparent;
            margin-bottom: -2px;
            transition: color var(--transition), border-color var(--transition);
            font-family: var(--font);
            white-space: nowrap;
        }
        .fsw-tab:hover { color: var(--text); }
        .fsw-tab.active {
            color: var(--primary);
            border-bottom-color: var(--primary);
            font-weight: 600;
        }

        .fsw-progress {
            height: 3px;
            background: var(--border);
            flex-shrink: 0;
        }
        .fsw-progress-fill {
            height: 100%;
            background: var(--primary);
            transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            width: 25%;
        }

        .fsw-info {
            display: flex;
            flex-direction: column;
            align-items: center;
            align-self: center;
            text-align: center;
            gap: 8px;
            padding: 12px 32px 10px;
            flex-shrink: 0;
            max-width: 800px;
            width: 100%;
        }

        .fsw-icon {
            width: 44px;
            height: 44px;
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        .fsw-icon svg { width: 20px; height: 20px; }

        .fsw-body { width: 100%; }
        .fsw-title {
            font-size: 20px;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 4px;
        }
        .fsw-desc {
            font-size: 15px;
            color: var(--text-secondary);
            line-height: 1.55;
            max-width: 600px;
            margin: 0 auto 10px;
        }
        .fsw-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            justify-content: center;
        }
        .fsw-tag {
            font-size: 12px;
            font-weight: 500;
            padding: 3px 12px;
            border-radius: 100px;
            background: var(--primary-light);
            color: var(--primary);
        }

        .fsw-screen-area {
            flex: 1;
            position: relative;
            overflow: hidden;
            background: var(--bg-alt);
            margin: 0 32px 32px;
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
        }

        .fsw-screen {
            position: absolute;
            inset: 0;
            display: none;
            overflow: hidden;
            cursor: zoom-in;
        }
        .fsw-screen.active { display: block; }

        .fsw-screen img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: top center;
            display: block;
            transform: scale(1);
            transition: transform 0.45s ease;
            transform-origin: top center;
        }
        .fsw-screen:hover img {
            transform: scale(1.12);
        }

        .fsw-zoom-hint {
            position: absolute;
            bottom: 10px;
            right: 14px;
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 12px;
            color: var(--text-muted);
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: 100px;
            padding: 3px 10px 3px 8px;
            pointer-events: none;
            opacity: 1;
            transition: opacity 0.3s;
        }
        .fsw-screen:hover .fsw-zoom-hint { opacity: 0; }
        .fsw-zoom-hint svg { flex-shrink: 0; }

        @keyframes fsw-slide-in-right  { from { opacity:0; transform:translateX(40px) } to { opacity:1; transform:translateX(0) } }
        @keyframes fsw-slide-out-left  { from { opacity:1; transform:translateX(0) }    to { opacity:0; transform:translateX(-40px) } }
        @keyframes fsw-slide-in-left   { from { opacity:0; transform:translateX(-40px)} to { opacity:1; transform:translateX(0) } }
        @keyframes fsw-slide-out-right { from { opacity:1; transform:translateX(0) }    to { opacity:0; transform:translateX(40px) } }

        .fsw-screen.enter-right { animation: fsw-slide-in-right 0.35s ease forwards; }
        .fsw-screen.exit-left   { animation: fsw-slide-out-left 0.35s ease forwards; display: flex !important; }
        .fsw-screen.enter-left  { animation: fsw-slide-in-left  0.35s ease forwards; }
        .fsw-screen.exit-right  { animation: fsw-slide-out-right 0.35s ease forwards; display: flex !important; }

        @media (prefers-reduced-motion: reduce) {
            .fsw-screen.enter-right,
            .fsw-screen.exit-left,
            .fsw-screen.enter-left,
            .fsw-screen.exit-right { animation: none; }
            .fsw-progress-fill { transition: none; }
            .fsw-tab { transition: none; }
        }

        .fsw-swipe-hint {
            display: none;
            align-items: center;
            justify-content: center;
            gap: 6px;
            font-size: 12px;
            color: var(--text-light);
            padding: 6px 0 2px;
            user-select: none;
            pointer-events: none;
        }
        .fsw-swipe-hint svg { width: 14px; height: 14px; flex-shrink: 0; }

        @media (max-width: 768px) {
            .fsw-swipe-hint { display: flex; }
            .features-scroll-wrapper { height: auto; }
            .features-sticky {
                position: static;
                height: auto;
                overflow: visible;
            }
            .fsw-screen-area {
                flex: none; /* prevents flex-basis:0% from collapsing height */
                height: 240px;
                margin: 0 16px 16px;
            }
            .fsw-info { padding: 16px 16px 12px; }
            .fsw-header { padding: 28px 16px 0; }
            .fsw-tabs {
                justify-content: flex-start; /* fix: center+overflow-x обрезает первый таб слева */
                padding: 0 16px;
                scroll-snap-type: x mandatory;
            }
            .fsw-tab { scroll-snap-align: start; }
        }

        /* ===== LIGHTBOX ===== */
        .fsw-lightbox {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 9999;
            background: rgba(0, 0, 0, 0.88);
            align-items: center;
            justify-content: center;
            cursor: zoom-out;
        }
        .fsw-lightbox.open {
            display: flex;
            animation: lb-fade-in 0.25s ease;
        }
        @keyframes lb-fade-in { from { opacity: 0 } to { opacity: 1 } }

        .fsw-lightbox img {
            max-width: 92vw;
            max-height: 92vh;
            object-fit: contain;
            border-radius: 8px;
            box-shadow: 0 24px 80px rgba(0,0,0,0.5);
            animation: lb-scale-in 0.25s ease;
            cursor: default;
        }
        @keyframes lb-scale-in { from { opacity: 0; transform: scale(0.94) } to { opacity: 1; transform: scale(1) } }

        .fsw-lightbox-close {
            position: absolute;
            top: 16px;
            right: 20px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: none;
            background: rgba(255,255,255,0.12);
            color: #fff;
            font-size: 22px;
            line-height: 1;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
        }
        .fsw-lightbox-close:hover { background: rgba(255,255,255,0.22); }

        /* ===== COOKIE BANNER ===== */
        .cookie-banner {
            position: fixed;
            bottom: 24px;
            left: 24px;
            max-width: 380px;
            z-index: 9000;
            background: var(--text);
            border-radius: 12px;
            padding: 16px 20px;
            display: flex;
            flex-direction: column;
            gap: 12px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.25);
            transform: translateY(calc(100% + 32px));
            transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .cookie-banner.visible { transform: translateY(0); }

        .cookie-banner-text {
            font-size: 13px;
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.5;
        }

        .cookie-banner-actions {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .cookie-btn-accept {
            padding: 8px 20px;
            background: var(--primary);
            color: #fff;
            border: none;
            border-radius: 8px;
            font-family: var(--font);
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: background var(--transition);
        }
        .cookie-btn-accept:hover { background: var(--primary-dark); }

        @media (max-width: 480px) {
            .cookie-banner { bottom: 16px; left: 16px; right: 16px; max-width: none; padding: 14px 16px; }
            .cookie-banner-text { font-size: 12px; }
        }

        /* ===== RESULTS / STATS ===== */
        #results-section { padding: 80px 20px; background: #f5f7fb; text-align: center; }
        .rs-badge { display: inline-block; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #2563eb; background: rgba(37,99,235,.08); border: 1px solid rgba(37,99,235,.2); border-radius: 20px; padding: 4px 16px; margin-bottom: 18px; }
        .rs-title { font-size: clamp(24px, 4vw, 36px); font-weight: 700; color: #111827; margin: 0 0 12px; line-height: 1.2; }
        .rs-sub { font-size: 15px; color: #6b7280; margin: 0 auto 48px; max-width: 500px; line-height: 1.6; }
        .rs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; }
        .rs-card { background: #fff; border: 1px solid #dbeafe; border-radius: 16px; padding: 44px 32px 40px; position: relative; overflow: hidden; transition: box-shadow .25s, transform .25s; }
        .rs-card:hover { box-shadow: 0 8px 32px rgba(37,99,235,.1); transform: translateY(-3px); }
        .rs-topbar { position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 16px 16px 0 0; background: linear-gradient(90deg, #2563eb, #60a5fa); }
        .rs-num { font-size: clamp(48px, 6vw, 68px); font-weight: 800; color: #2563eb; line-height: 1; margin-bottom: 8px; letter-spacing: -.02em; }
        .rs-arrow-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; background: #dbeafe; color: #1d4ed8; border-radius: 20px; padding: 5px 14px; margin-bottom: 18px; }
        .rs-label { font-size: 18px; font-weight: 700; color: #1f2937; margin-bottom: 10px; }
        .rs-desc { font-size: 15px; color: #9ca3af; line-height: 1.6; }
        .rs-footnote { margin-top: 24px; font-size: 12px; color: #9ca3af; }
        @media (max-width: 540px) { .rs-grid { grid-template-columns: 1fr; } }

        /* ===== FEATURES STICKY SCROLL ===== */
        #features-section { background: #fff; padding: 64px 0 0; }
        .fw-header-wrap { padding: 0 24px; text-align: center; }
        .fw-badge { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #2563eb; background: rgba(37,99,235,.08); border: 1px solid rgba(37,99,235,.2); border-radius: 20px; padding: 4px 14px; display: inline-block; margin-bottom: 16px; }
        .fw-h2 { font-size: clamp(24px, 3.5vw, 36px); font-weight: 700; color: #111827; margin: 0 0 10px; line-height: 1.25; }
        .fw-lead { font-size: 15px; color: #6b7280; margin: 0 auto 32px; max-width: 520px; line-height: 1.6; }
        #fw-sticky-inner { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding: 0 24px 20px; }
        .fw-body { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: start; width: 100%; max-width: 1400px; margin: 0 auto; }
        .fw-tabs { display: flex; flex-direction: column; gap: 8px; }
        .fw-tab { display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; border-radius: 14px; cursor: pointer; border: 1px solid transparent; transition: background .25s, border-color .25s; text-align: left; background: none; width: 100%; position: relative; }
        .fw-tab:hover { background: #f5f7fb; }
        .fw-tab.active { background: #eff6ff; border-color: #bfdbfe; }
        .fw-tab-icon { width: 52px; height: 52px; border-radius: 12px; background: #dbeafe; color: #2563eb; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; transition: background .25s, color .25s; }
        .fw-tab.active .fw-tab-icon { background: #2563eb; color: #fff; }
        .fw-tab-icon svg { width: 26px; height: 26px; }
        .fw-tab-name { font-size: 18px; font-weight: 700; color: #374151; line-height: 1.3; margin-bottom: 6px; transition: color .25s; }
        .fw-tab.active .fw-tab-name { color: #1d4ed8; }
        .fw-tab-desc { font-size: 15px; color: #9ca3af; line-height: 1.5; }
        .fw-tab-progress { position: absolute; left: 0; top: 0; width: 3px; height: 0%; background: #2563eb; border-radius: 2px; transition: height .05s linear; }
        .fw-right { position: relative; }
        .fw-panel { display: none; }
        .fw-panel.active { display: block; animation: fw-fadein .3s ease; }
        @keyframes fw-fadein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
        .fw-screen { background: #f8faff; border: 1px solid #e0e7ff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 32px rgba(37,99,235,.09); }
        .fw-screen-bar { background: #1e293b; padding: 12px 18px; display: flex; align-items: center; gap: 8px; }
        .fw-dot { width: 10px; height: 10px; border-radius: 50%; }
        .fw-screen-url { flex: 1; background: #334155; border-radius: 6px; padding: 4px 12px; font-size: 12px; color: #94a3b8; }
        .fw-screen-body { min-height: 0; }
        .fw-screen-body img { width: 100%; display: block; max-height: calc(100vh - 110px); object-fit: cover; object-position: top left; }
        .fw-mobile-title { display: none; }
        .fw-mobile-desc { display: none; }
        #fw-scroll-hint { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); font-size: 12px; color: #9ca3af; display: flex; align-items: center; gap: 6px; opacity: 1; transition: opacity .4s; pointer-events: none; white-space: nowrap; }
        #fw-scroll-hint svg { animation: fw-bounce 1.4s ease-in-out infinite; }
        @keyframes fw-bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
        @media (max-width: 700px) {
            #fw-sticky-wrapper { height: auto !important; }
            #fw-sticky-inner { position: static; height: auto; padding: 16px 16px 32px; }
            .fw-body { display: block; }
            .fw-tabs { display: none; }
            .fw-right { display: flex; flex-direction: column; gap: 24px; }
            .fw-panel { display: block !important; animation: none !important; }
            .fw-mobile-title { display: block; font-size: 16px; font-weight: 700; color: #111827; margin-bottom: 6px; }
            .fw-mobile-desc { display: block; font-size: 14px; color: #6b7280; margin-bottom: 10px; line-height: 1.5; }
            .fw-screen-body img { max-height: none; }
            #fw-scroll-hint { display: none; }
        }

  /* ===== AI FEATURES SECTION ===== */
  .section-label--dark {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: 11px;
      font-weight: 700;
      font-family: var(--font-mono);
      letter-spacing: 0.09em;
      color: #60a5fa;
      background: rgba(96,165,250,0.1);
      border: 1px solid rgba(96,165,250,0.25);
      border-radius: 20px;
      padding: 5px 16px;
  }

  .ai-features-section {
      background: linear-gradient(140deg, #060c18, #0f2060, #1a0f35, #060c18);
      background-size: 300% 300%;
      animation: ai-bg-shift 8s ease infinite;
      padding: 80px 0;
      position: relative;
      overflow: hidden;
  }

  .ai-features-section .section-header {
      text-align: center;
      margin-bottom: 52px;
      position: relative;
      z-index: 1;
  }

  .ai-features-section .container { position: relative; z-index: 1; }

  .ai-features-section .section-title {
      color: #f8fafc;
      font-size: 32px;
      font-weight: 800;
      letter-spacing: -0.5px;
      margin-bottom: 14px;
  }

  .ai-features-section .section-subtitle {
      color: #94a3b8;
      font-size: 15px;
      max-width: 460px;
      margin: 0 auto;
      line-height: 1.7;
  }

  .ai-features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
  }

  .ai-card {
      background: rgba(255,255,255,0.035);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 18px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
  }

  .ai-card-header {
      padding: 22px 22px 0;
      min-height: 92px;
  }

  .ai-card-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      border-radius: 8px;
      padding: 5px 10px;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.05em;
      margin-bottom: 10px;
  }

  .ai-card-tag--blue  { background: rgba(37,99,235,0.15);  color: #60a5fa; }
  .ai-card-tag--green { background: rgba(34,197,94,0.12);  color: #4ade80; }
  .ai-card-tag--amber { background: rgba(245,158,11,0.12); color: #fbbf24; }

  .ai-card-title {
      color: #f1f5f9;
      font-size: 17px;
      font-weight: 700;
      line-height: 1.25;
      margin-bottom: 18px;
  }

  .ai-card-illustration {
      margin: 0 14px;
      background: linear-gradient(160deg, #1a2744, #162032);
      border-radius: 12px;
      padding: 14px;
      border: 1px solid rgba(255,255,255,0.06);
      margin-bottom: 14px;
      height: 272px;
      overflow: hidden;
  }

  /* Card 1 chat illustration: flex column so input stays at bottom */
  .ai-card-illustration--chat {
      display: flex;
      flex-direction: column;
  }

  .ai-card-body {
      padding: 0 22px 22px;
      display: flex;
      flex-direction: column;
      gap: 8px;
      flex: 1;
  }

  .ai-card-desc {
      color: #94a3b8;
      font-size: 15px;
      line-height: 1.65;
  }

  .ai-card-checks {
      display: flex;
      flex-direction: column;
      gap: 5px;
      margin-top: 4px;
  }

  .ai-card-checks li {
      list-style: none;
      color: #64748b;
      font-size: 11.5px;
      display: flex;
      gap: 7px;
  }

  .ai-card-checks li::before {
      content: '✓';
      color: #22d3ee;
      flex-shrink: 0;
  }

  /* Stagger animation for AI cards */
  .ai-features-grid > .ai-card:nth-child(1) { transition-delay: 0s;   }
  .ai-features-grid > .ai-card:nth-child(2) { transition-delay: 0.1s; }
  .ai-features-grid > .ai-card:nth-child(3) { transition-delay: 0.2s; }

  /* Tablet: 2 columns, 3rd card full width */
  @media (max-width: 1024px) {
      .ai-features-grid {
          grid-template-columns: repeat(2, 1fr);
      }
      .ai-features-grid > .ai-card:nth-child(3) {
          grid-column: 1 / -1;
      }
  }

  /* Mobile: 1 column */
  @media (max-width: 768px) {
      .ai-features-section { padding: 48px 0; }
      .ai-features-grid {
          grid-template-columns: 1fr;
      }
      .ai-features-grid > .ai-card:nth-child(3) {
          grid-column: auto;
      }
      .ai-features-section .section-title { font-size: 26px; }
  }

  @media (max-width: 480px) {
      .ai-card-header { padding: 16px 16px 0; }
      .ai-card-body   { padding: 0 16px 16px; }
      .ai-card-title  { font-size: 15px; }
  }

  /* ===== INTEGRATIONS SECTION ===== */
  .integrations-section {
      background: #f5f7fb;
      padding: 80px 0;
  }

  .int-flow {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0;
      margin: 48px 0 0;
  }

  .int-col {
      display: flex;
      flex-direction: column;
      gap: 12px;
      flex-shrink: 0;
      width: 230px;
  }

  .int-node {
      background: #fff;
      border: 1.5px solid #e2e8f0;
      border-radius: 12px;
      padding: 14px 18px;
      display: flex;
      align-items: center;
      gap: 12px;
  }

  .int-node--dashed {
      border-style: dashed;
      border-color: #cbd5e1;
  }

  .int-node--out {
      background: #eff6ff;
      border-color: #bfdbfe;
  }

  .int-node-badge {
      background: #e8f0ff;
      color: #2563EB;
      font-size: 15px;
      font-weight: 800;
      padding: 5px 10px;
      border-radius: 7px;
      flex-shrink: 0;
  }

  .int-node-label {
      font-size: 15px;
      font-weight: 600;
      color: #1e293b;
  }

  .int-node-sub {
      font-size: 13px;
      color: #94a3b8;
      margin-top: 2px;
  }

  .int-node-icon {
      font-size: 22px;
      flex-shrink: 0;
  }

  .int-node-text {
      font-size: 15px;
      font-weight: 600;
      color: #2563EB;
  }

  /* Arrows column */
  .int-arrows {
      display: flex;
      flex-direction: column;
      gap: 10px;
      align-items: center;
      padding: 0 16px;
      flex-shrink: 0;
  }

  .int-arrow {
      display: flex;
      align-items: center;
      height: 42px;
  }

  .int-arrow-line {
      height: 2px;
      width: 32px;
  }

  .int-arrow-head {
      width: 0;
      height: 0;
      border-top: 5px solid transparent;
      border-bottom: 5px solid transparent;
  }

  /* incoming arrow: grey, pointing right */
  .int-arrow--in .int-arrow-line  { background: #cbd5e1; }
  .int-arrow--in .int-arrow-head  { border-left: 7px solid #cbd5e1; }

  /* outgoing arrow: blue, pointing right */
  .int-arrow--out .int-arrow-line { background: #2563EB; }
  .int-arrow--out .int-arrow-head { border-left: 7px solid #2563EB; }

  /* reversed outgoing arrow: blue, pointing left (from center outward to left col) */
  .int-arrow--rev .int-arrow-line { background: #2563EB; }
  .int-arrow--rev .int-arrow-head { border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-right: 7px solid #2563EB; border-left: none; }

  /* Center: эТОИР box */
  .int-center {
      background: linear-gradient(135deg, #2563EB, #1d4ed8);
      border-radius: 14px;
      padding: 24px 20px;
      box-shadow: 0 8px 24px rgba(37,99,235,0.35);
      text-align: center;
      flex-shrink: 0;
  }

  .int-center-title {
      color: #fff;
      font-size: 20px;
      font-weight: 800;
      line-height: 1;
      margin-bottom: 4px;
  }

  .int-center-sub {
      color: rgba(255,255,255,0.65);
      font-size: 10px;
  }

  /* Tags row below flow */
  .int-tags {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 32px;
  }

  .int-tag {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 20px;
      padding: 5px 14px;
      font-size: 12px;
      color: #475569;
  }

  .int-tag-sep {
      color: #cbd5e1;
      font-size: 14px;
  }

  /* CTA under tags */
  .int-cta {
      text-align: center;
      margin-top: 32px;
  }

  .int-cta p {
      color: #64748b;
      font-size: 15px;
      margin-bottom: 16px;
  }

  /* Mobile: vertical stack */
  @media (max-width: 768px) {
      .integrations-section { padding: 48px 0; }

      .int-flow {
          flex-direction: column;
          align-items: stretch;
          gap: 0;
          margin-top: 32px;
      }

      .int-col { width: 100%; }

      .int-arrows {
          flex-direction: row;
          justify-content: center;
          padding: 10px 0;
          gap: 0;
      }

      /* Vertical arrow for mobile */
      .int-arrow {
          flex-direction: column;
          height: auto;
          width: 24px;
      }

      .int-arrow-line {
          width: 2px;
          height: 24px;
      }

      /* vertical arrowhead: pointing down */
      .int-arrow-head {
          border-top: 0;
          border-bottom: 0;
          border-left: 5px solid transparent;
          border-right: 5px solid transparent;
      }

      .int-arrow--in  .int-arrow-line  { background: #cbd5e1; }
      .int-arrow--in  .int-arrow-head  {
          border-left: 5px solid transparent;
          border-right: 5px solid transparent;
          border-top: 7px solid #cbd5e1;
          border-bottom: 0;
      }

      .int-arrow--out .int-arrow-line  { background: #2563EB; }
      .int-arrow--out .int-arrow-head  {
          border-left: 5px solid transparent;
          border-right: 5px solid transparent;
          border-top: 7px solid #2563EB;
          border-bottom: 0;
      }

      /* reversed arrow on mobile: points up */
      .int-arrow--rev .int-arrow-line  { background: #2563EB; }
      .int-arrow--rev .int-arrow-head  {
          border-left: 5px solid transparent;
          border-right: 5px solid transparent;
          border-bottom: 7px solid #2563EB;
          border-top: 0;
      }

      .int-center { padding: 20px; }
  }
/* ===== AI ANIMATIONS ===== */

/* Shared keyframes */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

@keyframes ai-bg-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes ai-float-1 {
  0%, 100% { transform: translateY(0px);   opacity: 0.85; }
  50%       { transform: translateY(-32px); opacity: 0.4; }
}
@keyframes ai-float-2 {
  0%, 100% { transform: translateY(0px);   opacity: 0.75; }
  50%       { transform: translateY(-22px); opacity: 0.35; }
}
@keyframes ai-float-3 {
  0%, 100% { transform: translateY(0px);  opacity: 0.7; }
  50%       { transform: translateY(26px); opacity: 0.9; }
}
@keyframes ai-float-4 {
  0%, 100% { transform: translateY(0px);   opacity: 0.8; }
  50%       { transform: translateY(-38px); opacity: 0.3; }
}

/* Particles */
.ai-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.ai-particle--1 { width:6px; height:6px; top:12%;left:8%;   background:#60a5fa;opacity:.85;box-shadow:0 0 14px 4px #60a5fa;animation:ai-float-1 9s  ease-in-out infinite; }
.ai-particle--2 { width:4px; height:4px; top:70%;left:15%;  background:#818cf8;opacity:.75;box-shadow:0 0 12px 3px #818cf8;animation:ai-float-2 13s ease-in-out infinite 1.5s; }
.ai-particle--3 { width:7px; height:7px; top:25%;left:82%;  background:#60a5fa;opacity:.8; box-shadow:0 0 18px 5px #60a5fa;animation:ai-float-1 11s ease-in-out infinite 3s; }
.ai-particle--4 { width:4px; height:4px; top:80%;left:75%;  background:#818cf8;opacity:.7; box-shadow:0 0 12px 3px #818cf8;animation:ai-float-3 8s  ease-in-out infinite 0.5s; }
.ai-particle--5 { width:8px; height:8px; top:50%;left:50%;  background:#60a5fa;opacity:.65;box-shadow:0 0 22px 6px #60a5fa;animation:ai-float-2 14s ease-in-out infinite 2s; }
.ai-particle--6 { width:3px; height:3px; top:8%; left:60%;  background:#a78bfa;opacity:.8; box-shadow:0 0 10px 3px #a78bfa;animation:ai-float-4 10s ease-in-out infinite 4s; }
.ai-particle--7 { width:5px; height:5px; top:60%;left:90%;  background:#60a5fa;opacity:.75;box-shadow:0 0 14px 4px #60a5fa;animation:ai-float-3 12s ease-in-out infinite 1s; }
.ai-particle--8  { width:3px; height:3px; top:90%;left:40%;  background:#818cf8;opacity:.7; box-shadow:0 0 10px 3px #818cf8;animation:ai-float-4 7s  ease-in-out infinite 3.5s; }
.ai-particle--9  { width:5px; height:5px; top:35%;left:22%;  background:#60a5fa;opacity:.8; box-shadow:0 0 14px 4px #60a5fa;animation:ai-float-3 10s ease-in-out infinite 2s; }
.ai-particle--10 { width:4px; height:4px; top:48%;left:68%;  background:#a78bfa;opacity:.75;box-shadow:0 0 12px 3px #a78bfa;animation:ai-float-1 12s ease-in-out infinite 0.5s; }
.ai-particle--11 { width:6px; height:6px; top:18%;left:45%;  background:#818cf8;opacity:.8; box-shadow:0 0 16px 5px #818cf8;animation:ai-float-2 9s  ease-in-out infinite 3.5s; }
.ai-particle--12 { width:3px; height:3px; top:62%;left:33%;  background:#22d3ee;opacity:.85;box-shadow:0 0 10px 4px #22d3ee;animation:ai-float-4 11s ease-in-out infinite 1s; }
.ai-particle--13 { width:7px; height:7px; top:5%; left:22%;  background:#60a5fa;opacity:.7; box-shadow:0 0 20px 6px #60a5fa;animation:ai-float-1 15s ease-in-out infinite 4s; }
.ai-particle--14 { width:4px; height:4px; top:88%;left:58%;  background:#a78bfa;opacity:.75;box-shadow:0 0 12px 3px #a78bfa;animation:ai-float-3 8s  ease-in-out infinite 0.8s; }
.ai-particle--15 { width:5px; height:5px; top:38%;left:95%;  background:#60a5fa;opacity:.8; box-shadow:0 0 14px 4px #60a5fa;animation:ai-float-2 13s ease-in-out infinite 2.5s; }
.ai-particle--16 { width:3px; height:3px; top:72%;left:48%;  background:#818cf8;opacity:.7; box-shadow:0 0 10px 3px #818cf8;animation:ai-float-4 9s  ease-in-out infinite 1.8s; }

/* Chat bubble animation states */
.ai-chat-bubble {
  display: none;
}
.ai-chat-bubble.ai-chat-bubble--visible {
  display: flex;
  animation: bubble-appear 0.35s ease forwards;
}
@keyframes bubble-appear {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* Task row animation states */
.ai-task-row {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.ai-card.is-visible .ai-task-row:nth-child(1) { opacity:1;transform:translateY(0);transition-delay:0s; }
.ai-card.is-visible .ai-task-row:nth-child(2) { opacity:1;transform:translateY(0);transition-delay:.15s; }
.ai-card.is-visible .ai-task-row:nth-child(3) { opacity:1;transform:translateY(0);transition-delay:.3s; }

/* Status dot pulse */
.ai-status-dot { animation: pulse-dot 1.4s ease-in-out infinite; }

/* Card hover effects */
.ai-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.ai-card:nth-child(1):hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(37,99,235,0.25);
  border-color: rgba(37,99,235,0.3);
}
.ai-card:nth-child(2):hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(34,197,94,0.2);
  border-color: rgba(34,197,94,0.3);
}
.ai-card:nth-child(3):hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(245,158,11,0.2);
  border-color: rgba(245,158,11,0.3);
}

/* ===== INTEGRATIONS ARROW ANIMATION ===== */
/* Note: NO overflow:hidden — .int-arrow-line is 2px tall, it would clip the 6px dot.
   Edge fade is handled by opacity:0 at 0%/100% of the keyframe. */
.int-arrow-line {
  position: relative;
}
.int-arrow-line::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: int-flow-h 2s ease-in-out infinite;
}
.int-arrow--in  .int-arrow-line::after { background:#94a3b8; box-shadow:0 0 5px #94a3b8; }
.int-arrow--out .int-arrow-line::after { background:#2563EB; box-shadow:0 0 6px rgba(37,99,235,.8); }
.int-arrow--rev .int-arrow-line::after { background:#2563EB; box-shadow:0 0 6px rgba(37,99,235,.8); animation-name: int-flow-h-rev; }

@keyframes int-flow-h {
  0%   { left:-6px;              opacity:0; }
  10%  { opacity:1; }
  90%  { opacity:1; }
  100% { left:calc(100% + 6px);  opacity:0; }
}

@keyframes int-flow-h-rev {
  0%   { left:calc(100% + 6px);  opacity:0; }
  10%  { opacity:1; }
  90%  { opacity:1; }
  100% { left:-6px;              opacity:0; }
}

/* Stagger: incoming arrows (first .int-arrows) */
.int-arrows:first-of-type .int-arrow:nth-child(1) .int-arrow-line::after { animation-delay:0s; }
.int-arrows:first-of-type .int-arrow:nth-child(2) .int-arrow-line::after { animation-delay:0.65s; }
.int-arrows:first-of-type .int-arrow:nth-child(3) .int-arrow-line::after { animation-delay:1.3s; }

/* Stagger: outgoing arrows (last .int-arrows) */
.int-arrows:last-of-type .int-arrow:nth-child(1) .int-arrow-line::after { animation-delay:0.2s; }
.int-arrows:last-of-type .int-arrow:nth-child(2) .int-arrow-line::after { animation-delay:0.85s; }
.int-arrows:last-of-type .int-arrow:nth-child(3) .int-arrow-line::after { animation-delay:1.5s; }

/* Mobile: vertical dot animation for integration arrows */
@keyframes int-flow-v {
  0%   { top: -6px;             opacity: 0; }
  15%  { top: 0;                opacity: 1; }
  85%  { top: 100%;             opacity: 1; }
  100% { top: calc(100% + 6px); opacity: 0; }
}
@keyframes int-flow-v-rev {
  0%   { top: calc(100% + 6px); opacity: 0; }
  15%  { top: 100%;             opacity: 1; }
  85%  { top: 0;                opacity: 1; }
  100% { top: -6px;             opacity: 0; }
}
@media (max-width: 768px) {
  .int-arrow-line::after {
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    animation: int-flow-v 2s ease-in-out infinite;
  }
  .int-arrow--rev .int-arrow-line::after {
    top: calc(100% + 6px);
    animation-name: int-flow-v-rev;
  }
}

/* ===== PREFERS-REDUCED-MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .ai-features-section                    { animation: none; background-position: 0% 50%; }
  .ai-particle                            { animation: none; }
  .ai-status-dot                          { animation: none; }
  .ai-chat-bubble.ai-chat-bubble--visible { animation: none; }
  .ai-card                                { transition: none; }
  .ai-task-row                            { transition: none; }
  .int-arrow-line::after                  { display: none; }
  /* IoT reduced-motion */
  .iot-button                             { animation: none; }
  .iot-button-cap                         { animation: none; transition: none; }
  .iot-led--active                        { animation: none; }
  .iot-tag                                { transition: none; }
  .iot-arrow-line::after                  { display: none; }
}

/* ===== IOT SECTION ===== */
.iot-section {
  padding: 80px 0;
  background: #fff;
}

.iot-illustration {
  display: flex;
  align-items: center;
  gap: 56px;
  max-width: 1000px;
  margin: 48px auto 0;
  justify-content: center;
  padding: 0 20px;
}

/* Button wrapper — fixed size so tags have a stable absolute positioning context */
.iot-button-wrap {
  position: relative;
  width: 260px;
  height: 290px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Industrial button base */
.iot-button {
  width: 160px;
  height: 190px;
  background: #1e293b;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.06);
  animation: iot-breathe 2.5s ease-in-out infinite;
}

.iot-button-ring {
  width: 120px;
  height: 120px;
  background: #334155;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.iot-button-cap {
  width: 98px;
  height: 98px;
  background: radial-gradient(circle at 35% 35%, #ef4444, #dc2626 60%, #b91c1c);
  border-radius: 50%;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  box-shadow: 0 4px 16px rgba(220,38,38,0.4), inset 0 3px 0 rgba(255,255,255,0.2);
  position: relative;
}

/* Ripple ring on the cap */
.iot-button-cap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(220,38,38,0.5);
  animation: iot-ripple 2.5s ease-out infinite;
}

.iot-button-cap.iot-pressed {
  transform: scale(0.88);
  box-shadow: 0 0 30px 12px rgba(220,38,38,0.5), inset 0 2px 0 rgba(255,255,255,0.1);
}

.iot-button-label {
  font-size: 11px;
  font-family: monospace;
  color: #94a3b8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* LEDs */
.iot-leds {
  display: flex;
  gap: 6px;
  position: absolute;
  bottom: 10px;
}
.iot-led {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #334155;
}
.iot-led--active {
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  animation: pulse-dot 1.4s ease-in-out infinite; /* reuse existing keyframe */
}

/* Assignment tags — stacked at same position, one visible at a time */
.iot-tag {
  position: absolute;
  top: 0;
  right: -10px;
  z-index: 1;
  white-space: nowrap;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.iot-tag--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Arrow */
.iot-arrow {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.iot-arrow-line {
  position: relative;
  width: 110px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    #cbd5e1 0px, #cbd5e1 6px,
    transparent 6px, transparent 12px
  );
}
.iot-arrow-line::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -6px;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 6px rgba(37,99,235,0.6);
  opacity: 0; /* dot is hidden until fired by JS */
}
.iot-arrow-line--firing::after {
  animation: int-flow-h 0.75s ease-in-out 1 forwards; /* single pass on each press */
}
.iot-arrow-head {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid #cbd5e1;
}

/* Task card */
.iot-card {
  width: 300px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  overflow: hidden;
}
.iot-card-header {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
}
.iot-card-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
}
.iot-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.iot-card-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  letter-spacing: 0.04em;
}
.iot-card-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.iot-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
}
.iot-card-meta {
  font-size: 13px;
  color: #64748b;
}

/* Facts grid */
.iot-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 48px 0 0;
  list-style: none;
}
.iot-fact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 24px;
}
.iot-fact-icon {
  width: 40px;
  height: 40px;
  background: #f1f5f9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  flex-shrink: 0;
}
.iot-fact-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}
.iot-fact-desc {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
}

/* Keyframes */
@keyframes iot-breathe {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.03); }
}
@keyframes iot-ripple {
  0%   { transform: scale(1);   opacity: 0.55; }
  100% { transform: scale(2.5); opacity: 0; }
}
@keyframes iot-card-appear {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1023px) {
  .iot-facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .iot-section      { padding: 48px 0; }
  .iot-illustration { flex-direction: column; gap: 24px; }
  .iot-arrow        { display: none; }
  .iot-card         { width: 100%; max-width: 320px; }
}
@media (max-width: 479px) {
  .iot-facts { grid-template-columns: 1fr; }
}

/* ===== FLOORMAP SECTION ===== */
.floormap-section {
  padding: 80px 0;
  background: #f8fafc;
}
.fmap-illustration {
  max-width: 720px;
  margin: 48px auto 0;
  padding: 0 20px;
  position: relative;
}
.fmap-canvas {
  background: #fff;
  border: 2px solid #334155;
  border-radius: 16px;
  padding: 28px 28px 24px;
  position: relative;
  box-shadow: 0 8px 40px rgba(15,23,42,0.07);
}
.fmap-canvas-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 16px;
  display: block;
}
.fmap-row {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.fmap-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 16px 0;
  position: relative;
}
.fmap-divider::after {
  content: 'ЗОНА B';
  position: absolute;
  left: 0;
  top: -9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #cbd5e1;
}
.fmap-machine {
  width: 94px;
  height: 78px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  flex-shrink: 0;
}
.fmap-machine--alarm {
  box-shadow: 0 0 0 2px #ef4444, 0 4px 16px rgba(239,68,68,0.18);
  border-color: #ef4444;
  background: #fff5f5;
}
.fmap-machine--maint {
  box-shadow: 0 0 0 2px #f59e0b, 0 4px 16px rgba(245,158,11,0.14);
  border-color: #f59e0b;
  background: #fffbeb;
}
.fmap-machine-icon { color: #64748b; }
.fmap-machine-label {
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  letter-spacing: 0.06em;
  font-family: monospace;
}
.fmap-machine-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  transition: background 0.3s ease;
}
.fmap-machine--alarm .fmap-machine-dot {
  background: #ef4444;
  animation: fmap-pulse-dot 1.3s ease-in-out infinite;
}
.fmap-machine--maint .fmap-machine-dot { background: #f59e0b; }

@keyframes fmap-pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.5); }
  60%       { box-shadow: 0 0 0 6px rgba(239,68,68,0); }
}

/* Floating alert card */
.fmap-alert-card {
  position: absolute;
  top: -14px;
  right: 20px;
  background: #fff;
  border: 1px solid #fecaca;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(239,68,68,0.12);
  padding: 11px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  min-width: 210px;
  z-index: 10;
}
.fmap-alert-card--visible {
  opacity: 1;
  transform: translateY(0);
}
.fmap-alert-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  flex-shrink: 0;
  animation: fmap-pulse-dot 1.3s ease-in-out infinite;
}
.fmap-alert-body { display: flex; flex-direction: column; gap: 2px; }
.fmap-alert-title { font-size: 13px; font-weight: 700; color: #0f172a; }
.fmap-alert-sub   { font-size: 12px; color: #64748b; }

/* Legend */
.fmap-legend {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  margin-top: 14px;
  flex-wrap: wrap;
}
.fmap-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
}
.fmap-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Facts */
.fmap-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 48px 0 0;
  list-style: none;
}
.fmap-fact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 24px;
}
.fmap-fact-icon {
  width: 40px;
  height: 40px;
  background: #f1f5f9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  flex-shrink: 0;
}
.fmap-fact-title { font-size: 18px; font-weight: 700; color: #0f172a; }
.fmap-fact-desc  { font-size: 15px; color: #64748b; line-height: 1.6; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fmap-machine-dot     { animation: none; }
  .fmap-alert-dot       { animation: none; }
  .fmap-machine         { transition: none; }
  .fmap-alert-card      { transition: none; }
}

/* Responsive */
@media (max-width: 1023px) {
  .fmap-facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .floormap-section { padding: 48px 0; }
  .fmap-row         { gap: 8px; }
  .fmap-machine     { width: 76px; height: 65px; }
  .fmap-alert-card  { right: 8px; top: -48px; min-width: 180px; }
}
@media (max-width: 479px) {
  .fmap-facts   { grid-template-columns: 1fr; }
  .fmap-row     { flex-wrap: wrap; justify-content: center; }
  .fmap-machine { width: 88px; }
}

/* ===== Comparison ===== */
.comparison-section { padding: 80px 0; background: var(--bg); }
.comparison-table-wrapper { overflow-x: auto; margin-top: 32px; }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.comparison-table th, .comparison-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); }
.comparison-table thead th { background: var(--bg-alt); font-weight: 600; color: var(--text); }
.comparison-table .col-etoir { background: var(--primary-light); }
.comparison-table tbody tr:hover { background: var(--bg-alt); }
.comparison-table .etoir-mark { display: block; font-weight: 700; color: var(--primary); font-size: 1.1rem; line-height: 1; margin-bottom: 4px; }
.comparison-table .etoir-sub { display: block; font-size: 0.875rem; color: var(--text-secondary); }
@media (max-width: 768px) {
  .comparison-table { font-size: 0.9rem; min-width: 600px; }
  .comparison-table th, .comparison-table td { padding: 12px 14px; }
}

/* ===== Industries ===== */
.industries-section { padding: 80px 0; background: var(--bg-alt); }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.industry-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.industry-card .industry-icon { font-size: 40px; margin-bottom: 16px; }
.industry-card h3 { font-size: 1.25rem; margin: 0 0 12px; color: var(--text); }
.industry-card p { color: var(--text-secondary); line-height: 1.6; margin: 0; }
@media (max-width: 768px) {
  .industries-grid { grid-template-columns: 1fr; gap: 16px; }
  .industry-card { padding: 24px; }
}

/* ROI calculator */
.roi-section{background:linear-gradient(135deg,var(--bg) 0%,var(--primary-light) 100%);padding:80px 0}
.roi-section .section-subtitle{text-align:center;color:var(--text-secondary);max-width:720px;margin:12px auto 0}
.roi-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;margin:48px auto 0;align-items:start;max-width:1100px}
.roi-field{display:block;margin-bottom:28px}
.roi-label{display:block;font-weight:500;color:var(--text);margin-bottom:8px}
.roi-field input[type="range"]{width:100%;height:6px;background:#cbd5e1;border-radius:3px;outline:none;-webkit-appearance:none;appearance:none}
.roi-field input[type="range"]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;background:var(--primary);border-radius:50%;cursor:pointer;box-shadow:0 2px 6px rgba(37,99,235,.4)}
.roi-field input[type="range"]::-moz-range-thumb{width:20px;height:20px;background:var(--primary);border:none;border-radius:50%;cursor:pointer}
.roi-output{display:inline-block;margin-top:8px;font-weight:600;color:var(--primary)}
.roi-result{background:var(--card-bg);border-radius:20px;padding:40px;box-shadow:var(--card-shadow);border:1px solid var(--border)}
.roi-result-label{font-size:.875rem;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.05em;margin-bottom:12px}
.roi-result-total{font-size:2.75rem;font-weight:700;color:var(--primary);margin-bottom:24px;line-height:1.1;font-feature-settings:"tnum"}
.roi-breakdown{list-style:none;padding:0;margin:0 0 24px}
.roi-breakdown li{padding:6px 0;color:var(--text-secondary)}
.roi-payback{padding:16px;background:#f0fdf4;border-radius:12px;color:#166534;margin-bottom:24px}
.roi-payback strong{color:#15803d}
.roi-cta{display:inline-block;margin-bottom:16px;background:var(--primary);color:#fff;padding:14px 28px;border-radius:var(--radius-sm);font-weight:600;text-decoration:none;transition:background .2s,box-shadow .2s,transform .2s;box-shadow:0 4px 12px rgba(37,99,235,.25)}
.roi-cta:hover,.roi-cta:focus-visible{background:var(--primary-dark);color:#fff;box-shadow:0 6px 18px rgba(30,64,175,.35);transform:translateY(-1px)}
.roi-methodology-link{display:inline-flex;align-items:center;gap:6px;margin-top:4px;background:transparent;border:1px solid rgba(37,99,235,.25);color:var(--primary);cursor:pointer;text-decoration:none;font-size:.875rem;font-weight:500;padding:8px 14px;border-radius:999px;transition:background .2s,border-color .2s,color .2s}
.roi-methodology-link::before{content:"?";display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;background:rgba(37,99,235,.12);font-size:.75rem;font-weight:700;line-height:1}
.roi-methodology-link:hover,.roi-methodology-link:focus-visible{background:rgba(37,99,235,.08);border-color:var(--primary);color:var(--primary-dark)}
@media (max-width:768px){.roi-grid{grid-template-columns:1fr;gap:32px}.roi-result{padding:28px}.roi-result-total{font-size:2rem}}

/* Methodology accordion */
.methodology-section{padding:80px 0;background:var(--card-bg)}
.methodology-list{max-width:800px;margin:48px auto 0}
.methodology-list details{border:1px solid var(--border);border-radius:12px;margin-bottom:12px;padding:20px 24px;background:var(--card-bg);transition:box-shadow .2s}
.methodology-list details[open]{box-shadow:0 4px 12px rgba(0,0,0,.04)}
.methodology-list summary{cursor:pointer;font-weight:600;color:var(--text);list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px}
.methodology-list summary::after{content:'+';font-size:1.5rem;color:var(--primary);transition:transform .2s;flex-shrink:0}
.methodology-list details[open] summary::after{content:'−'}
.methodology-list summary::-webkit-details-marker{display:none}
.methodology-list p{margin:16px 0 0;line-height:1.7;color:var(--text-secondary)}
.methodology-list a{color:var(--primary)}

/* Product-demo slideshow */
.demo-section{padding:80px 0;background:var(--bg-alt)}
.demo-section .section-subtitle{text-align:center;color:var(--text-secondary);max-width:720px;margin:12px auto 0}
.slideshow{position:relative;max-width:1100px;margin:48px auto 0;border-radius:20px;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.12);background:var(--card-bg)}
.slideshow-track{position:relative;aspect-ratio:16/10}
.slide{position:absolute;inset:0;opacity:0;transition:opacity .5s ease;pointer-events:none}
.slide.active{opacity:1;pointer-events:auto}
.slide img{width:100%;height:100%;object-fit:cover;display:block}
.slide-caption{position:absolute;bottom:0;left:0;right:0;padding:16px 24px;background:linear-gradient(to top,rgba(0,0,0,.7),transparent);color:#fff;font-weight:500}
.slideshow-nav{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;border:none;background:rgba(255,255,255,.9);color:var(--text);font-size:24px;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px rgba(0,0,0,.15);z-index:2}
.slideshow-prev{left:16px}.slideshow-next{right:16px}
.slideshow-dots{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);display:flex;gap:8px;z-index:2}
.slideshow-dot{width:8px;height:8px;border-radius:50%;border:none;background:rgba(255,255,255,.5);cursor:pointer;transition:background .2s,transform .2s;padding:0}
.slideshow-dot.active{background:#fff;transform:scale(1.3)}
@media (max-width:768px){.slideshow{border-radius:12px}.slideshow-nav{width:36px;height:36px;font-size:18px}}

/* Sticky mobile CTA */
.sticky-cta-mobile{display:none;position:fixed;bottom:0;left:0;right:0;height:56px;background:var(--primary);color:#fff;align-items:center;justify-content:space-between;padding:0 16px;z-index:100;transform:translateY(100%);transition:transform .3s ease;box-shadow:0 -4px 12px rgba(0,0,0,.12)}
.sticky-cta-mobile.visible{transform:translateY(0)}
.sticky-cta-text{font-size:.875rem;font-weight:500;flex:1;padding-right:12px}
.sticky-cta-btn{background:var(--accent);color:var(--text);padding:8px 16px;border-radius:8px;font-weight:600;text-decoration:none;font-size:.875rem;white-space:nowrap}
.sticky-cta-close{background:none;border:none;color:rgba(255,255,255,.7);font-size:18px;padding:0 8px;cursor:pointer}
@media (max-width:768px){.sticky-cta-mobile{display:flex}}


/* ===== Blog preview section (added 2026-05-19) ===== */
.blog-preview { padding: 80px 0; background: var(--bg-alt); }
.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 48px 0 32px;
}
.blog-preview-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-preview-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.blog-preview-card .blog-preview-meta { color: var(--text-secondary); font-size: 0.875rem; margin-bottom: 12px; }
.blog-preview-card h3 { font-size: 1.25rem; margin: 0 0 12px; color: var(--text); line-height: 1.3; }
.blog-preview-card p { color: var(--text-secondary); line-height: 1.6; margin: 0 0 16px; flex: 1; }
.blog-preview-card .blog-preview-link { color: var(--primary); font-weight: 600; }
.blog-preview-all { text-align: center; }
.blog-preview-all a { color: var(--primary); font-weight: 600; font-size: 1.0625rem; }
.blog-preview-all a:hover { text-decoration: underline; }


/* ===== Inline CTA banners (added 2026-05-19) ===== */
.inline-cta { padding: 32px 0; }
.inline-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 36px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}
.inline-cta-banner--accent {
  background: linear-gradient(135deg, var(--primary), #1e40af);
  border-color: transparent;
  color: #fff;
}
.inline-cta-banner--accent .inline-cta-text strong { color: #fff; }
.inline-cta-banner--accent .inline-cta-text span { color: rgba(255,255,255,0.85); }
.inline-cta-text { display: flex; flex-direction: column; gap: 4px; }
.inline-cta-text strong { font-size: 1.125rem; color: var(--text); font-weight: 700; }
.inline-cta-text span { color: var(--text-secondary); font-size: 0.9375rem; }
.inline-cta-banner .btn { flex-shrink: 0; white-space: nowrap; }
.btn-light {
  background: #fff;
  color: var(--primary);
  border: none;
}
.btn-light:hover { background: #f8fafc; }

@media (max-width: 720px) {
  .inline-cta-banner { flex-direction: column; align-items: flex-start; padding: 24px; gap: 16px; }
  .inline-cta-banner .btn { width: 100%; text-align: center; }
}


/* ===== Industries accordion (refactor 2026-05-19) ===== */
.industries-list {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin: 48px auto 0;
}
.industry-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.industry-item[open] { box-shadow: var(--card-shadow); }
.industry-item summary {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--text);
  list-style: none;
  user-select: none;
}
.industry-item summary::-webkit-details-marker { display: none; }
.industry-item summary::after {
  content: '+';
  margin-left: auto;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: transform 0.2s;
  line-height: 1;
}
.industry-item[open] summary::after { transform: rotate(45deg); }
.industry-item .industry-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.industry-item p {
  padding: 0 24px 22px;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.65;
}
@media (max-width: 640px) {
  .industry-item summary { padding: 16px 18px; font-size: 1rem; }
  .industry-item p { padding: 0 18px 18px; }
}


/* ===== Icon overrides for SVG sprite (2026-05-19) ===== */
.industry-item .industry-icon {
  width: 28px;
  height: 28px;
  font-size: 0;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.industry-item .industry-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}
.int-node-icon {
  width: 28px;
  height: 28px;
  font-size: 0;
  color: #60a5fa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.int-node-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}
.comparison-table .etoir-mark {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0;
  margin-bottom: 4px;
}
.comparison-table .etoir-mark svg {
  width: 18px;
  height: 18px;
  display: block;
}
