/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.4;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ========== КНОПКА НАВЕРХ ========== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #6c63ff;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(108,99,255,0.3);
}

.scroll-top:hover {
    background: #5a52d9;
    transform: translateY(-3px);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.nav {
    display: flex;
    gap: 24px;
    flex: 1;
    justify-content: center;
}

.nav__link {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav__link:hover {
    color: #6c63ff;
}

.mobile-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    flex-shrink: 0;
    color: #333;
}

/* Адаптив для планшетов */
@media (max-width: 1024px) {
    .nav {
        gap: 16px;
    }
    
    .nav__link {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-btn {
        display: block;
    }
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
}

.btn--primary {
    background: #1a1a1a;
    color: #fff;
}

.btn--primary:hover {
    background: #333;
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    border: 1px solid #6c63ff;
    color: #6c63ff;
}

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

.section__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: transparent;
    border: 1px solid #6c63ff;
    color: #6c63ff;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    cursor: pointer;
    width: auto;
    align-self: flex-start;
}

.section__link:hover {
    background: #6c63ff;
    color: #fff;
    transform: translateY(-2px);
}

.section__link:hover::after {
    transform: translateX(4px);
}

.section__link::after {
    content: '→';
    transition: transform 0.2s;
}

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0c1a 0%, #0a0a1a 50%, #0f0c1a 100%);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__glow-1 {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.25), transparent 70%);
    border-radius: 50%;
    animation: float 12s ease-in-out infinite;
}

.hero__glow-2 {
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(67, 97, 238, 0.2), transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

.hero__dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#6c63ff 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.15;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(2%, -2%); }
}

.hero__container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Левый блок с текстом - ПО ЦЕНТРУ */
.hero__content {
    flex: 1;
    text-align: center;
}

.hero__line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #6c63ff, #b8b0ff);
    margin: 0 auto 24px auto;
}

.hero__title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: #fff;
    text-align: center;
}

.hero__title span {
    background: linear-gradient(135deg, #b8b0ff, #6c63ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero__stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    margin-top: 0;
    flex-wrap: wrap;
}

.hero__stats div {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.hero__stats div span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

.hero__stats div {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* Правый блок с анимацией */
.hero__animation {
    flex: 1;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Круг с пульсацией */
.pulse-circle {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(108, 99, 255, 0.6);
    animation: pulse 3s ease-out infinite;
}

.pulse-ring:nth-child(1) { animation-delay: 0s; }
.pulse-ring:nth-child(2) { animation-delay: 1s; }
.pulse-ring:nth-child(3) { animation-delay: 2s; }

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
        border-color: rgba(108, 99, 255, 0.8);
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
        border-color: rgba(184, 176, 255, 0);
    }
}

/* Центральный блок */
.pulse-center {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #1a1a3a, #0f0c2a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 50px rgba(108, 99, 255, 0.5);
    animation: floatCenter 4s ease-in-out infinite;
    text-align: center;
    padding: 20px;
    border: 2px solid rgba(108, 99, 255, 0.6);
}

@keyframes floatCenter {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.pulse-center-text {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    background: linear-gradient(135deg, #fff, #b8b0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Летающие текстовые метки - БЛИЖЕ К ЦЕНТРУ */
.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.floating-icon {
    position: absolute;
    padding: 8px 18px;
    background: rgba(108, 99, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    color: #fff;
    border: 1px solid rgba(108, 99, 255, 0.4);
    animation: floatOrbit 12s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.2);
    transition: all 0.3s ease;
}

.floating-icon:hover {
    transform: scale(1.1) !important;
    background: rgba(108, 99, 255, 0.3);
    border-color: #6c63ff;
}

/* Позиции для 7 элементов - БЛИЖЕ К ЦЕНТРУ */
.floating-icon:nth-child(1) { top: 5%; left: 15%; animation-delay: 0s; }
.floating-icon:nth-child(2) { top: 25%; left: -8%; animation-delay: 1.5s; }
.floating-icon:nth-child(3) { top: 5%; right: 15%; animation-delay: 3s; }
.floating-icon:nth-child(4) { bottom: 25%; left: -8%; animation-delay: 4.5s; }
.floating-icon:nth-child(5) { bottom: 5%; left: 15%; animation-delay: 6s; }
.floating-icon:nth-child(6) { bottom: 5%; right: 15%; animation-delay: 7.5s; }
.floating-icon:nth-child(7) { right: -8%; top: 50%; transform: translateY(-50%); animation-delay: 9s; }

@keyframes floatOrbit {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.6;
    }
    25% {
        transform: translate(8px, -12px);
        opacity: 1;
    }
    50% {
        transform: translate(0, -20px);
        opacity: 0.8;
    }
    75% {
        transform: translate(-8px, -8px);
        opacity: 1;
    }
}

/* Эффект "умной сети" */
.smart-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.smart-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, #6c63ff, transparent);
    height: 1px;
    width: 0;
    animation: drawLine 3s ease-out infinite;
}

@keyframes drawLine {
    0% { width: 0; opacity: 0; }
    50% { width: 100%; opacity: 0.5; }
    100% { width: 0; opacity: 0; }
}

/* Адаптив для планшетов */
@media (max-width: 1024px) {
    .hero__title { font-size: 48px; }
    .hero__animation { min-height: 460px; }
    .pulse-circle { width: 250px; height: 250px; }
    .pulse-center { width: 130px; height: 130px; }
    .pulse-center-text { font-size: 16px; }
    .floating-icon { font-size: 12px; padding: 6px 14px; }
    .floating-icon:nth-child(1) { left: 10%; top: 3%; }
    .floating-icon:nth-child(2) { left: -12%; top: 22%; }
    .floating-icon:nth-child(3) { right: 10%; top: 3%; }
    .floating-icon:nth-child(4) { left: -12%; bottom: 22%; }
    .floating-icon:nth-child(5) { left: 10%; bottom: 3%; }
    .floating-icon:nth-child(6) { right: 10%; bottom: 3%; }
    .floating-icon:nth-child(7) { right: -12%; top: 50%; }
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .hero__container { flex-direction: column; text-align: center; padding: 0 20px; }
    .hero__content { text-align: center; }
    .hero__title { font-size: 40px; text-align: center; }
    .hero__desc { text-align: center; }
    .hero__line { margin: 0 auto 24px auto; }
    .hero__stats { justify-content: center; }
    .hero__animation { margin-top: 40px; min-height: 400px; }
    .pulse-circle { width: 220px; height: 220px; }
    .pulse-center { width: 120px; height: 120px; }
    .pulse-center-text { font-size: 14px; }
    .floating-icon { font-size: 11px; padding: 5px 12px; }
    .floating-icon:nth-child(1) { top: 0%; left: 5%; }
    .floating-icon:nth-child(2) { top: 20%; left: -15%; }
    .floating-icon:nth-child(3) { top: 0%; right: 5%; }
    .floating-icon:nth-child(4) { bottom: 20%; left: -15%; }
    .floating-icon:nth-child(5) { bottom: 0%; left: 5%; }
    .floating-icon:nth-child(6) { bottom: 0%; right: 5%; }
    .floating-icon:nth-child(7) { right: -15%; top: 50%; }
}

/* Адаптив для маленьких телефонов */
@media (max-width: 480px) {
    .hero__title { font-size: 32px; }
    .hero__desc { font-size: 14px; }
    .hero__stats div span { font-size: 24px; }
    .hero__stats div { font-size: 10px; }
    .hero__stats { gap: 20px; }
    .hero__animation { min-height: 380px; }
    .pulse-circle { width: 200px; height: 200px; }
    .pulse-center { width: 100px; height: 100px; }
    .pulse-center-text { font-size: 12px; }
    .floating-icon { font-size: 10px; padding: 4px 10px; }
    .floating-icon:nth-child(1) { left: 2%; }
    .floating-icon:nth-child(2) { left: -18%; }
    .floating-icon:nth-child(3) { right: 2%; }
    .floating-icon:nth-child(4) { left: -18%; }
    .floating-icon:nth-child(7) { right: -18%; }
}


/* ========== ПЕРЕХОДНЫЙ БЛОК ========== */
.offer-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #4a3fd6 0%, #2b2590 50%, #1a1640 100%);
    text-align: center;
    position: relative;
}

.offer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(108, 99, 255, 0.15), transparent 60%);
    pointer-events: none;
}

.offer__title {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: #ffffff;
    margin-bottom: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.offer__title span {
    color: #c4bdff;
    font-weight: 700;
}

.offer__features {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.offer__feature {
    width: 260px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.offer__feature:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

.offer__scroll {
    margin-top: 40px;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    animation: bounce 2s infinite;
    display: inline-block;
    transition: color 0.2s;
}

.offer__scroll:hover {
    color: #ffffff;
}

.offer__feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.offer__feature img {
    display: block;
}

/* ========== ОБЩИЕ СТИЛИ СЕКЦИЙ ========== */
.section {
    padding: 100px 0;
    border-bottom: 1px solid #f0f0f0;
}

.section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.section--reverse .section__grid {
    direction: rtl;
}

.section--reverse .section__grid > * {
    direction: ltr;
}

/* ЛЕВАЯ КОЛОНКА */
.section__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section__tag {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6c63ff;
    display: inline-block;
    margin-bottom: 20px;
}

.section__title {
    font-size: 44px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.section__text {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 24px;
}

.section__price {
    font-size: 24px;
    font-weight: 700;
    color: #6c63ff;
    margin-bottom: 28px;
}

/* ПРАВАЯ КОЛОНКА — выравнивание по верхнему краю */
.section__right {
    margin-top: 0;
    padding-top: 0;
}

/* Для контента правой колонки — сбрасываем отступы */
.benefits-grid,
.benefits-grid-large,
.steps-list,
.oval-benefits,
.interface-preview,
.registry-features,
.sdo-grid {
    margin-top: 0;
    padding-top: 0;
}


/* ========== ОВАЛЬНЫЕ БЕЙДЖИ ========== */
.oval-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 24px 0;
}

.oval-badge {
    display: inline-block;
    padding: 8px 20px;
    background: #f0f0f5;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
}

/* ========== МАЛЕНЬКИЕ КРУГЛЫЕ МАРКЕРЫ ========== */
.benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: #f8f8f8;
    border-radius: 12px;
    transition: all 0.2s;
    width: 100%;
}

.benefit-item:hover {
    transform: translateX(6px);
    background: #f0f0f5;
}

.benefit-marker-circle-small {
    width: 8px;
    height: 8px;
    background: #6c63ff;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
}

.benefit-text-small {
    font-size: 15px;
    color: #1a1a1a;
    font-weight: 500;
    line-height: 1.4;
}

.benefit-text-small strong {
    color: #6c63ff;
    font-weight: 700;
}

/* ========== БОЛЬШИЕ МАРКЕРЫ ДЛЯ АУДИТА ========== */
.benefits-grid-large {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-item-large {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background: #f8f8f8;
    border-radius: 14px;
    transition: all 0.2s;
}

.benefit-item-large:hover {
    transform: translateX(6px);
    background: #f0f0f5;
}

.benefit-marker-circle-large {
    width: 24px;
    height: 24px;
    background: #6c63ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-marker-circle-large::after {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.benefit-content-large {
    flex: 1;
}

.benefit-title-large {
    font-weight: 700;
    font-size: 15px;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.benefit-desc-large {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* ========== НУМЕРОВАННЫЕ СПИСКИ ДЛЯ РИСКОВ И АУДИТА ========== */
.steps-header {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #f8f8f8;
    border-radius: 14px;
    transition: all 0.2s;
}

.step-item:hover {
    transform: translateX(6px);
    background: #f0f0f5;
}

.step-number {
    width: 32px;
    height: 32px;
    background: #6c63ff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.step-text {
    font-size: 15px;
    color: #1a1a1a;
    font-weight: 500;
}

.risk-note {
    margin-top: 20px;
    padding: 16px 20px;
    background: #f0f0f5;
    border-radius: 14px;
    font-size: 14px;
    color: #6c63ff;
    font-weight: 500;
    text-align: center;
}

.step-highlight {
    color: #6c63ff;
    font-weight: 700;
}

/* ========== КАРТИНКИ ========== */
.interface-preview {
    background: linear-gradient(135deg, #f0f0f5, #e8e8f0);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e0e0e8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 28px;
}

.app-image {
    max-width: 100%;
    border-radius: 12px;
    display: block;
}

.image-buttons {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Выравнивание левой колонки с картинкой по второй строке правой */
.section__image-wrapper {
    align-self: start;
    margin-top: 100px; /* Высота строки с тегом (примерно) */
}

/* ========== СДО ========== */
#sdo .sdo__media {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 100%;
}

#sdo .sdo__main-image {
    background: linear-gradient(135deg, #f0f0f5, #e8e8f0);
    border-radius: 24px;
    padding: 24px;
    text-align: center;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 1px solid #eef0f5;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

#sdo .sdo__main-image img {
    max-width: 100%;
    max-height: 340px;
    width: auto;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
    cursor: pointer;
}

#sdo .sdo__carousel {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border-radius: 20px;
    padding: 12px 16px;
    border: 1px solid #eef0f5;
    width: 100%;
    box-sizing: border-box;
}

#sdo .carousel-btn {
    background: #6c63ff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

#sdo .carousel-btn:hover {
    background: #5a52d9;
    transform: scale(1.05);
}

#sdo .carousel-track {
    flex: 1;
    overflow: hidden;
    position: relative;
}

#sdo .carousel-track__wrapper {
    display: flex;
    gap: 12px;
    transition: transform 0.3s ease;
    will-change: transform;
}

#sdo .carousel-track__img {
    flex-shrink: 0;
    width: 100px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    background: #f5f5f5;
}

#sdo .carousel-track__img.active {
    border-color: #6c63ff;
    box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.3);
}

#sdo .demo-credentials {
    margin-top: 20px;
    padding: 16px 20px;
    background: #f8f8fc;
    border-radius: 16px;
    border-left: 4px solid #6c63ff;
}

#sdo .demo-credentials__title {
    font-size: 13px;
    font-weight: 600;
    color: #6c63ff;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#sdo .demo-credentials__item {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

#sdo .demo-credentials__item:last-child {
    margin-bottom: 0;
}

#sdo .demo-credentials__label {
    font-size: 13px;
    font-weight: 500;
    color: #555;
    min-width: 55px;
}

#sdo .demo-credentials__value {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    font-family: monospace;
}

#sdo .image-buttons {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    width: 100%;
}

/* Порядок колонок: текст слева, картинки справа */
#sdo.section--reverse .section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    direction: ltr;
}

#sdo .section__image-wrapper {
    order: 2;
    margin-top: 0;
}

#sdo .section__info {
    order: 1;
}

/* Адаптив */
@media (max-width: 1024px) {
    #sdo .sdo__main-image {
        min-height: 280px;
        padding: 20px;
    }
    #sdo .sdo__main-image img {
        max-height: 280px;
    }
    #sdo .carousel-track__img {
        width: 80px;
    }
}

@media (max-width: 768px) {
    #sdo.section--reverse .section__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    #sdo .section__image-wrapper {
        order: 1;
    }
    #sdo .section__info {
        order: 2;
    }
    #sdo .sdo__main-image {
        min-height: 220px;
        padding: 16px;
    }
    #sdo .sdo__main-image img {
        max-height: 220px;
    }
    #sdo .carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    #sdo .carousel-track__img {
        width: 70px;
    }
    #sdo .demo-credentials {
        margin-top: 16px;
        padding: 12px 16px;
    }
    #sdo .demo-credentials__item {
        flex-direction: column;
        gap: 4px;
    }
    #sdo .demo-credentials__label {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    #sdo .sdo__main-image {
        min-height: 180px;
    }
    #sdo .sdo__main-image img {
        max-height: 180px;
    }
    #sdo .carousel-track__img {
        width: 60px;
    }
    #sdo .carousel-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

/* ========== ФИКС ДЛЯ СДО НА ДЕСКТОПЕ ========== */
/* Отменяем direction: rtl только для секции СДО */
#sdo.section--reverse .section__grid {
    direction: ltr;
}

/* Убираем лишний margin у правой колонки для секции СДО */
#sdo.section--reverse .section__grid > :last-child {
    margin-top: 0;
}

/* Гарантируем, что .section__image-wrapper не имеет проблем с rtl */
#sdo .section__image-wrapper {
    margin-top: 0;
    align-self: start;
}

/* Фикс для карусели - принудительные размеры */
#sdo .sdo__media {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

#sdo .sdo__carousel {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border-radius: 20px;
    padding: 12px 16px;
    border: 1px solid #eef0f5;
    width: 100%;
    box-sizing: border-box;
}

#sdo .carousel-track {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-width: 0;
}

#sdo .carousel-track__wrapper {
    display: flex;
    gap: 12px;
    transition: transform 0.3s ease;
    will-change: transform;
}

#sdo .carousel-track__img {
    flex-shrink: 0;
    width: 100px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    background: #f5f5f5;
}

/* Фикс для .image-buttons */
#sdo .image-buttons {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    width: 100%;
}

/* Обеспечиваем корректное отображение на всех разрешениях */
@media (min-width: 769px) {
    #sdo .section__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: start;
    }
    
    #sdo .section__image-wrapper {
        order: 1;
    }
    
    #sdo .section__info {
        order: 2;
    }
}

@media (max-width: 768px) {
    #sdo .carousel-track__img {
        width: 70px;
    }
}

@media (max-width: 480px) {
    #sdo .carousel-track__img {
        width: 60px;
    }
}

/* ========== ФИКС ДЛЯ КАРУСЕЛИ СДО - ОГРАНИЧЕНИЕ ШИРИНЫ ========== */

/* Ограничиваем ширину контейнера карусели */
#sdo .sdo__carousel {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border-radius: 20px;
    padding: 12px 16px;
    border: 1px solid #eef0f5;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Контейнер трека - скрываем переполнение */
#sdo .carousel-track {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-width: 0; /* Важно для flex-элемента */
}

/* Обертка с картинками */
#sdo .carousel-track__wrapper {
    display: flex;
    gap: 12px;
    transition: transform 0.3s ease;
    will-change: transform;
    flex-wrap: nowrap; /* Запрещаем перенос */
}

/* Каждая картинка имеет фиксированную ширину */
#sdo .carousel-track__img {
    flex-shrink: 0;
    flex-grow: 0;
    width: 100px;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    background: #f5f5f5;
}

/* На десктопе показываем 3 картинки */
@media (min-width: 769px) {
    #sdo .carousel-track__img {
        width: 120px;
    }
}

/* На планшете показываем 2 картинки */
@media (max-width: 768px) and (min-width: 481px) {
    #sdo .carousel-track__img {
        width: 90px;
    }
}

/* На телефоне показываем 1 картинку */
@media (max-width: 480px) {
    #sdo .carousel-track__img {
        width: 70px;
    }
}

/* Кнопки навигации */
#sdo .carousel-btn {
    background: #6c63ff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

#sdo .carousel-btn:hover {
    background: #5a52d9;
    transform: scale(1.05);
}

#sdo .carousel-btn:disabled {
    opacity: 0.4;
    cursor: default;
    transform: none;
}

/* Убираем лишние отступы */
#sdo .section__image-wrapper {
    margin-top: 0;
    align-self: start;
    overflow: hidden;
    max-width: 100%;
}

/* ========== ФИКС ДЛЯ СДО - КАРТИНКИ СПРАВА, ТЕКСТ СЛЕВА ========== */

/* Меняем порядок колонок в секции СДО */
#sdo.section--reverse .section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    direction: ltr;
}

/* Картинки (первая колонка в HTML) - отправляем в правую колонку */
#sdo .section__image-wrapper {
    order: 2;
    margin-top: 0;
    align-self: start;
}

/* Текст (вторая колонка в HTML) - отправляем в левую колонку */
#sdo .section__info {
    order: 1;
}

/* На мобильных устройствах возвращаем стандартный порядок */
@media (max-width: 768px) {
    #sdo .section__image-wrapper {
        order: 1;
    }
    
    #sdo .section__info {
        order: 2;
    }
    
    #sdo.section--reverse .section__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}


/* ========== КОНТАКТЫ ========== */
.contacts__flex {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.contacts__left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contacts__right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.contacts__text {
    margin-bottom: 0;
}

.contacts__desc {
    color: #555;
    line-height: 1.6;
    margin-top: 8px;
}

.contacts__email-link {
    color: #6c63ff;
    text-decoration: none;
    font-weight: 500;
}

.contacts__email-link:hover {
    text-decoration: underline;
}

/* Карточки контактов */
.contact-card {
    background: #f8f8fc;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eef0f5;
}

.contact-card__title {
    background: #eef0f5;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 16px;
    color: #1a1a1a;
    border-bottom: 1px solid #eef0f5;
}

.contact-card__content {
    padding: 20px;
}

/* Формы */
.contact-form input,
.contact-form textarea,
.callback-form input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    background: white;
    margin-bottom: 14px;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.callback-form input:focus {
    outline: none;
    border-color: #6c63ff;
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.btn--full {
    width: 100%;
    text-align: center;
}

/* Адаптив для планшетов */
@media (max-width: 1024px) {
    .contacts__flex {
        gap: 30px;
    }
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .contacts__flex {
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
    }
    
    .contacts__right {
        justify-content: flex-start;
    }
    
    .contact-card__title {
        font-size: 15px;
        padding: 12px 16px;
    }
    
    .contact-card__content {
        padding: 16px;
    }
}

/* Адаптив для маленьких телефонов */
@media (max-width: 480px) {
    .contact-form input,
    .contact-form textarea,
    .callback-form input {
        padding: 10px 12px;
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .contact-card__title {
        font-size: 14px;
        padding: 10px 14px;
    }
    
    .contact-card__content {
        padding: 14px;
    }
}

/* ========== ПОДВАЛ ========== */
.footer {
    background: #0a0a0a;
    color: #888;
    padding: 64px 0 48px;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.footer__col h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.footer__company-note {
    font-size: 12px;
    color: #6c63ff;
    margin-bottom: 20px !important;
    font-weight: 500;
}

.footer__links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.footer__links-list a {
    color: #888;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer__links-list a:hover {
    color: #6c63ff;
}

.footer__requisites {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.footer__requisites p {
    color: #888;
    text-decoration: none;
    font-size: 13px;
    margin: 0;
    line-height: 1.4;
}

.footer__contacts-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.footer__contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer__contact-label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer__contact-value {
    font-size: 13px;
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1.4;
}

.footer__contact-value:hover {
    color: #6c63ff;
}

.footer__social {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.footer__social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #888;
    transition: all 0.2s;
    font-size: 14px;
    font-weight: 500;
}

.footer__social a:hover {
    background: #6c63ff;
    color: #fff;
}

.footer__legal {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__legal a {
    color: #666;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s;
}

.footer__legal a:hover {
    color: #6c63ff;
}

/* ========== АДАПТИВ ПОДВАЛА ========== */
@media (max-width: 1024px) {
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 48px 0 32px;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .footer__links-list a,
    .footer__requisites p,
    .footer__contact-value {
        font-size: 12px;
    }
}

/* ========== АДАПТИВ ========== */
@media (max-width: 1024px) {
    .hero__title {
        font-size: 54px;
    }
    
    .section__title {
        font-size: 38px;
    }
    
    .section__grid {
        gap: 48px;
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-btn {
        display: block;
    }
    
    .hero__title {
        font-size: 40px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .section__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .section--reverse .section__grid {
        direction: ltr;
    }
    
    .hero__stats {
        gap: 24px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero__stats div span {
        font-size: 28px;
    }
    
    .section__title {
        font-size: 32px;
    }
    
    .offer__title {
        font-size: 28px;
    }
    
    .contacts__layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contacts__info {
        text-align: center;
        padding-right: 0;
    }
    
    .callback-form {
        flex-direction: column;
    }
    
    .callback-form button {
        width: 100%;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .section__link {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero__title {
        font-size: 32px;
    }
    
    .section__title {
        font-size: 28px;
    }
    
    .section__price {
        font-size: 20px;
    }
    
    .offer__title {
        font-size: 24px;
    }
    
    .offer__features {
        gap: 12px;
    }
    
    .offer__feature {
        font-size: 12px;
        padding: 6px 16px;
    }
    
    .contacts__form-block,
    .contacts__callback-block {
        padding: 20px;
    }
    
    .section__link {
        align-self: center;
        text-align: center;
    }
}

/* ========== LIGHTBOX (ПОЛНОЭКРАННЫЙ РЕЖИМ) ========== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox__image {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: 700;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
    transition: transform 0.2s;
}

.lightbox__close:hover {
    transform: scale(1.1);
    color: #6c63ff;
}

.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    font-weight: 700;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
    padding: 20px 15px;
    border-radius: 50%;
    transition: all 0.2s;
    z-index: 10001;
}

.lightbox__prev {
    left: 20px;
}

.lightbox__next {
    right: 20px;
}

.lightbox__prev:hover,
.lightbox__next:hover {
    background: #6c63ff;
    transform: translateY(-50%) scale(1.05);
}

.lightbox__counter {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 16px;
    width: fit-content;
    margin: 0 auto;
    border-radius: 30px;
    font-family: monospace;
}

@media (max-width: 768px) {
    .lightbox__prev,
    .lightbox__next {
        font-size: 30px;
        padding: 12px 10px;
    }
    
    .lightbox__close {
        font-size: 30px;
        top: 10px;
        right: 15px;
    }
    
    .lightbox__image {
        max-width: 95%;
        max-height: 80%;
    }
}

/* Сдвигаем правую колонку вниз на высоту тега из левой */
.section__grid > :last-child {
    margin-top: 44px;
}

@media (max-width: 768px) {
    .section__grid > :last-child {
        margin-top: 0;
    }
}







/* ========== УВЕДОМЛЕНИЕ О РАЗРАБОТКЕ ========== */
.construction-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
}

.construction-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.construction-notification__content {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #1a1a3a, #0f0c2a);
    border: 1px solid #6c63ff;
    border-radius: 50px;
    padding: 12px 24px;
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.3);
    backdrop-filter: blur(10px);
}

.construction-notification__icon {
    font-size: 28px;
    animation: notificationShake 0.5s ease-in-out;
}

.construction-notification__text {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.construction-notification__close {
    background: none;
    border: none;
    color: #888;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.construction-notification__close:hover {
    color: #6c63ff;
}

@keyframes notificationShake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(10deg); }
    75% { transform: rotate(-10deg); }
}

@media (max-width: 768px) {
    .construction-notification__content {
        padding: 10px 18px;
        gap: 12px;
    }
    
    .construction-notification__icon {
        font-size: 22px;
    }
    
    .construction-notification__text {
        font-size: 12px;
    }
}







/* ========== ЗАТЕМНЕНИЕ ШАПКИ ========== */
.header-dim .logo,
.header-dim .nav__link:not(.nav__link--highlight-temp),
.header-dim .mobile-btn {
    opacity: 0.2;
    filter: grayscale(0.8);
    pointer-events: none;
    transition: opacity 0.5s, filter 0.5s;
}

/* ========== ПОДСВЕТКА РАЗДЕЛА ========== */
@keyframes highlightGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(108, 99, 255, 0.6);
    }
    50% {
        box-shadow: 0 0 30px 8px rgba(108, 99, 255, 0.4);
    }
}

.nav__link--highlight-temp {
    position: relative;
    background: rgba(108, 99, 255, 0.25) !important;
    border-radius: 30px !important;
    padding: 6px 18px !important;
    color: #6c63ff !important;
    font-weight: 600 !important;
    animation: highlightGlow 1s ease-in-out 3;
    opacity: 1 !important;
    filter: none !important;
    pointer-events: auto !important;
}

.mobile-menu .nav__link--highlight-temp {
    background: rgba(108, 99, 255, 0.15) !important;
    border-radius: 30px !important;
    padding: 6px 18px !important;
    color: #6c63ff !important;
    font-weight: 600 !important;
    animation: highlightGlow 1s ease-in-out 3;
    opacity: 1 !important;
    filter: none !important;
    pointer-events: auto !important;
}