/* Apple-style animations */
        @keyframes fade-in-up {
            from { 
                opacity: 0; 
                transform: translateY(30px); 
            }
            to { 
                opacity: 1; 
                transform: translateY(0); 
            }
        }
        .animate-fade-in-up {
            animation: fade-in-up 0.8s ease-out forwards;
        }
        .section-padding {
            padding: 80px 0;
        }
        @media (min-width: 768px) {
            .section-padding {
                padding: 120px 0;
            }
        }
        /* Smooth scrolling */
        html {
            scroll-behavior: smooth;
        }
        /* Металлический фон сайта */
        body {
            background: linear-gradient(135deg, #c4c8cc 0%, #e2e4e8 20%, #d0d4d8 40%, #e8eaee 60%, #d8dce0 80%, #c8ccd0 100%);
            background-attachment: fixed;
        }
        /* Apple-style navigation */
        .nav-glass {
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: saturate(180%) blur(20px);
            -webkit-backdrop-filter: saturate(180%) blur(20px);
        }
        /* Feature blocks */
        .feature-block {
            transition: all 0.3s ease;
            position: relative;
        }
        
        /* Вариант 1: Легкое поднятие с тенью (Блок 1) */
        .feature-block.hover-variant-1:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
        }
        
        /* Вариант 2: Масштабирование с рамкой (Блок 2) */
        .feature-block.hover-variant-2 {
            border-radius: 16px;
            padding: 2rem;
            margin: -2rem;
        }
        .feature-block.hover-variant-2:hover {
            transform: scale(1.02);
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(147, 51, 234, 0.05) 100%);
            border: 2px solid rgba(59, 130, 246, 0.2);
        }
        
        /* Вариант 3: Подсветка с градиентом (Блок 3) */
        .feature-block.hover-variant-3:hover {
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(16, 185, 129, 0.03) 100%);
            border-left: 4px solid #ea580c;
            padding-left: 1.5rem;
            margin-left: -1.5rem;
        }
        
        /* Вариант 4: Блоки возможностей — акцент как tech-success.ru */
        .feature-block.hover-variant-4 {
            border-radius: 24px;
            padding: 0;
            margin: -2rem;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
            overflow: hidden;
            position: relative;
            transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
        }
        .feature-block.hover-variant-4::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #ea580c, #0ea5e9);
            z-index: 1;
        }
        .feature-block.hover-variant-4:hover {
            transform: translateY(-6px);
            box-shadow: 0 20px 50px rgba(59, 130, 246, 0.12), 0 0 0 1px rgba(59, 130, 246, 0.08);
            border-color: rgba(59, 130, 246, 0.2);
        }
        
        /* Вариант 5: Анимация границы (альтернатива для Блока 1) */
        .feature-block.hover-variant-5 {
            border-radius: 16px;
            padding: 2rem;
            margin: -2rem;
            position: relative;
            overflow: hidden;
        }
        .feature-block.hover-variant-5::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
            transition: left 0.5s ease;
            z-index: 0;
        }
        .feature-block.hover-variant-5:hover::before {
            left: 100%;
        }
        .feature-block.hover-variant-5:hover {
            border: 2px solid rgba(59, 130, 246, 0.3);
            box-shadow: 0 15px 50px rgba(59, 130, 246, 0.15);
        }
        .feature-block.hover-variant-5 > * {
            position: relative;
            z-index: 1;
        }
        .site-logo {
            display: block;
            height: 2.5rem;
            width: auto;
            max-width: 220px;
            object-fit: contain;
        }
        .interface-placeholder {
            aspect-ratio: 16 / 10;
            border-radius: 1rem;
            border: 2px dashed #cbd5e1;
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            padding: 1.5rem;
            text-align: center;
        }
        .interface-placeholder__icon {
            width: 3rem;
            height: 3rem;
            color: #94a3b8;
        }
        .interface-placeholder__title {
            font-weight: 700;
            color: #475569;
            font-size: 1rem;
        }
        .interface-placeholder__hint {
            font-size: 0.875rem;
            color: #94a3b8;
        }
        .integration-arrow {
            stroke: #ea580c;
            stroke-width: 2;
            fill: none;
            marker-end: url(#arrowhead);
            opacity: 0.4;
            transition: opacity 0.3s ease;
        }
        /* Соответствия законодательству — акцентные карточки */
        .advantage-card {
            position: relative;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
            border: 2px solid #e2e8f0;
            overflow: hidden;
            border-radius: 24px;
        }
        .advantage-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
            opacity: 0;
            transition: opacity 0.4s ease;
            pointer-events: none;
        }
        .advantage-card:hover {
            transform: translateY(-8px) scale(1.02);
            border-color: #ea580c;
            box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2), 0 0 0 1px rgba(59, 130, 246, 0.1);
        }
        .advantage-card:hover::after {
            opacity: 1;
        }
        /* Карусель скриншотов (только #screens-carousel) */
        #screens-carousel .carousel-container {
            position: relative;
            width: 100%;
            height: auto;
            aspect-ratio: 16/9;
        }
        #screens-carousel .carousel-track {
            display: flex;
            width: 100%;
            height: 100%;
            transition: transform 0.5s ease-in-out;
        }
        #screens-carousel .carousel-slide {
            min-width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            flex-shrink: 0;
        }
        #screens-carousel .carousel-slide img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        }
        #screens-carousel .carousel-btn {
            opacity: 0.8;
        }
        #screens-carousel .carousel-btn:hover:not(:disabled) {
            opacity: 1;
            transform: translateY(-50%) scale(1.1);
        }
        #screens-carousel .carousel-btn:disabled {
            opacity: 0.4;
            cursor: not-allowed;
        }
        #screens-carousel .carousel-indicator {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #cbd5e1;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        #screens-carousel .carousel-indicator.active {
            background: #ea580c;
            width: 24px;
            border-radius: 5px;
        }
        @media (max-width: 768px) {
            #screens-carousel .carousel-btn { padding: 0.5rem; }
            #screens-carousel .carousel-btn i { width: 1rem; height: 1rem; }
            #screens-carousel .carousel-container { aspect-ratio: 4/3; }
        }
        /* Screenshot container — картинка слита с блоком (без отдельной тени) */
        #capabilities .screenshot-container {
            border-radius: 0;
            overflow: hidden;
            box-shadow: none;
            background: #f8fafc;
        }
        #capabilities .screenshot-container img {
            display: block;
        }
        /* Оборудование — иконки без фото */
        .eq-icons-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 0.75rem;
        }
        @media (min-width: 768px) {
            .eq-icons-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
            }
        }
        .eq-icon-item {
            display: flex;
            gap: 1rem;
            align-items: flex-start;
            padding: 1.15rem 1.25rem;
            background: #fff;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
        }
        .eq-icon-item:hover {
            border-color: #fdba74;
            box-shadow: 0 4px 20px -4px rgba(234, 88, 12, 0.15);
        }
        .eq-icon-item__icon {
            flex-shrink: 0;
            width: 3rem;
            height: 3rem;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #fff7ed;
            border-radius: 10px;
        }
        .eq-icon-item__title {
            font-size: 1rem;
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 0.25rem;
            line-height: 1.3;
        }
        .eq-icon-item__desc {
            font-size: 0.875rem;
            line-height: 1.5;
            color: #64748b;
            margin: 0;
        }
        .screenshot-container {
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        }
        /* Quiz styles */
        .quiz-container { display: none; }
        .quiz-container.active { display: block; }
        .quiz-question { display: none; }
        .quiz-question.active { display: block; }
        .quiz-option {
            transition: all 0.3s ease;
        }
        .quiz-option:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }
        .quiz-option.selected {
            background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
            color: white;
        }
        /* Акцентная кнопка "Подобрать решение" — заметная, привлекающая внимание */
        .quiz-cta-btn {
            animation: pulse-cta 2s ease-in-out infinite;
            position: relative;
        }
        .quiz-cta-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
        }
        .quiz-cta-btn:active {
            transform: scale(0.98);
        }
        @keyframes pulse-cta {
            0%, 100% { box-shadow: 0 4px 18px rgba(37, 99, 235, 0.5); }
            50% { box-shadow: 0 6px 28px rgba(37, 99, 235, 0.8); }
        }
        .progress-bar {
            transition: width 0.5s ease;
        }
        /* Видео Rutube */
        .aspect-video {
            aspect-ratio: 16 / 9;
        }
        /* Hero carousel — как sb-otel.ru */
        .full-bleed { width: 100vw; margin-left: calc(50% - 50vw); }
        #eda-hero-carousel .carousel-container {
            position: relative;
            width: 100%;
            height: clamp(420px, 60vh, 620px);
        }
        #eda-hero-carousel .carousel-track {
            display: flex;
            width: 100%;
            height: 100%;
            transition: transform 0.5s ease-in-out;
        }
        #eda-hero-carousel .carousel-slide {
            min-width: 100%;
            height: 100%;
            flex-shrink: 0;
        }
        #eda-hero-carousel .carousel-btn { opacity: 0.85; }
        #eda-hero-carousel .carousel-btn:hover:not(:disabled) { opacity: 1; }
        #eda-hero-carousel .carousel-btn:disabled {
            opacity: 0.4;
            cursor: not-allowed;
        }
        #eda-hero-carousel .carousel-indicator {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(255,255,255,0.35);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        #eda-hero-carousel .carousel-indicator.active {
            background: #ea580c;
            width: 24px;
            border-radius: 5px;
        }
        @media (max-width: 768px) {
            #eda-hero-carousel .carousel-btn { padding: 0.5rem; }
        }
        /* Модули — стиль r-keeper.ru */
        .rk-modules-wrap {
            background: linear-gradient(180deg, #f4f4f5 0%, #fafafa 50%, #f4f4f5 100%);
        }
        .rk-modules-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1rem;
        }
        @media (min-width: 768px) {
            .rk-modules-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.25rem;
            }
        }
        @media (min-width: 1280px) {
            .rk-modules-grid {
                gap: 1.5rem;
            }
        }
        .rk-module-card {
            display: flex;
            flex-direction: column;
            background: #fff;
            border: 1px solid #e4e4e7;
            border-radius: 14px;
            overflow: hidden;
            height: 100%;
            transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
        }
        .rk-module-card:hover {
            border-color: rgba(234, 88, 12, 0.45);
            box-shadow: 0 16px 48px -12px rgba(234, 88, 12, 0.18);
            transform: translateY(-2px);
        }
        .rk-module-card__media {
            position: relative;
            min-height: 180px;
            background: #e4e4e7;
            overflow: hidden;
        }
        @media (min-width: 640px) {
            .rk-module-card {
                flex-direction: row;
                min-height: 200px;
            }
            .rk-module-card__media {
                width: 42%;
                max-width: 280px;
                min-height: 100%;
                flex-shrink: 0;
            }
        }
        .rk-module-card__img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .rk-module-card:hover .rk-module-card__img {
            transform: scale(1.04);
        }
        .rk-module-card__body {
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 1.25rem 1.5rem;
            flex: 1;
        }
        @media (min-width: 640px) {
            .rk-module-card__body {
                padding: 1.5rem 1.75rem;
            }
        }
        .rk-module-card__kicker {
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #ea580c;
            margin-bottom: 0.35rem;
        }
        .rk-module-card__title {
            font-size: 1.35rem;
            font-weight: 800;
            line-height: 1.2;
            color: #0f172a;
            margin-bottom: 0.5rem;
        }
        @media (min-width: 768px) {
            .rk-module-card__title {
                font-size: 1.5rem;
            }
        }
        .rk-module-card__desc {
            font-size: 0.875rem;
            line-height: 1.55;
            color: #64748b;
            margin-bottom: 0.75rem;
        }
        .rk-module-card__tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.4rem;
        }
        .rk-module-tag {
            display: inline-block;
            font-size: 0.75rem;
            font-weight: 500;
            color: #475569;
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            border-radius: 9999px;
            padding: 0.25rem 0.65rem;
        }
        .rk-module-card:hover .rk-module-tag {
            border-color: #fed7aa;
            background: #fff7ed;
            color: #9a3412;
        }
        /* Возможности системы — benefits как sb-otel.ru */
        .benefits-wrap {
            background:
                radial-gradient(ellipse 100% 60% at 50% -10%, rgba(234, 88, 12, 0.07), transparent 50%),
                radial-gradient(ellipse 80% 40% at 0% 100%, rgba(249, 115, 22, 0.05), transparent 45%),
                radial-gradient(ellipse 80% 40% at 100% 60%, rgba(251, 146, 60, 0.04), transparent 45%),
                linear-gradient(180deg, #f8fafc 0%, #fafbfc 50%, #f1f5f9 100%);
        }
        .benefits-hero { background: transparent; }
        .benefits-rows { --benefit-gap: clamp(3rem, 7vw, 5.5rem); }
        .benefits-row { transition: opacity 0.35s ease; }
        .benefits-row + .benefits-row { margin-top: var(--benefit-gap); }
        .benefits-img-wrap {
            overflow: hidden;
            border-radius: 0 0 1.125rem 1.125rem;
            box-shadow:
                0 2px 4px rgba(15, 23, 42, 0.04),
                0 20px 40px -16px rgba(15, 23, 42, 0.14);
            transition: box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }
        @media (min-width: 1024px) {
            .benefits-img-wrap {
                border-radius: 1.25rem;
                min-height: min(42vh, 400px);
                align-self: stretch;
            }
            .benefits-img-wrap img {
                transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
            }
            .benefits-row:hover .benefits-img-wrap img { transform: scale(1.02); }
            .benefits-row:hover .benefits-img-wrap {
                box-shadow:
                    0 4px 8px rgba(15, 23, 42, 0.06),
                    0 28px 56px -12px rgba(234, 88, 12, 0.14);
            }
        }
        .benefits-step-num {
            font-size: clamp(3rem, 8vw, 4.5rem);
            line-height: 1;
            font-weight: 900;
            letter-spacing: -0.04em;
            color: rgba(234, 88, 12, 0.18);
        }
        /* 6 причин — белый фон на всю ширину экрана */
        #reasons-section {
            width: 100vw;
            max-width: 100vw;
            margin-left: calc(50% - 50vw);
            box-sizing: border-box;
        }
        @media (max-width: 767px) {
            .modules-row {
                grid-template-columns: 1fr;
                margin-bottom: 1rem;
            }
            .modules-row-bottom { margin-top: 1rem; }
            .modules-connections { display: none; }
        }
