/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.6;
    color: #283b63;
    overflow-x: hidden;
    position: relative;
    /* Убираем все ограничения по высоте для свободной прокрутки */
}

/* Color Variables from old site */
:root {
    --primary-dark: #111d35;
    --primary-blue: #1e2d4b;
    --secondary-blue: #283b63;
    --accent-blue: #303E59;
    --accent-orange: #f58319;
    --accent-yellow: #f7cf1f;
    --light-gray: #f2f3f4;
    --white: #ffffff;
    --text-dark: #283b63;
    --text-light: #666666;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(17, 29, 53, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 70px;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Navbar на первой секции */
.navbar:not(.scrolled) {
    background: rgba(17, 29, 53, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(17, 29, 53, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.nav-logo:hover {
    opacity: 0.8;
}

.logo-img {
    width: 40px;
    height: 40px;

}

.logo-text {
    font-size: 50px;
    font-weight: 900;
    color: white;

}

/* Адаптивный размер логотипа */
@media (max-width: 768px) {
    .logo-text {
        font-size: 32px !important; /* Уменьшили в 1.5 раза */
    }
    .logo-img {
        width: 32px !important;
        height: 32px !important;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 28px !important; /* Еще меньше для очень маленьких экранов */
    }
    .logo-img {
        width: 28px !important;
        height: 28px !important;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 15px;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 13px;
    transition: all 0.3s ease;
    position: relative;
    padding: 20px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-orange);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

/* Скрываем мобильные карточки на больших экранах */
.mobile-cards {
    display: none;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Language Selector */
.language-selector {
    position: relative;
    margin-left: 20px;
}

.lang-current {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Montserrat', Arial, sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    min-width: 80px;
    height: 40px; /* Такая же высота как у телефона */
    box-sizing: border-box;
}

.lang-flag {
    width: 16px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
    display: inline-block;
    vertical-align: middle;
}

.lang-current:hover {
    background: var(--accent-orange);
    color: var(--primary-dark);
    border-color: var(--accent-orange);
}

.lang-current i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.language-selector.active .lang-current i,
.lang-dropdown.active ~ .lang-current i {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 2000;
    border: 1px solid #e9ecef;
    margin-top: 5px;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}

.lang-option:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.lang-option:first-child {
    border-radius: 8px 8px 0 0;
}

.lang-option:hover {
    background: var(--light-gray);
    color: var(--primary-dark);
}

.lang-option.active {
    background: var(--accent-orange);
    color: var(--primary-dark);
    font-weight: 700;
}

.lang-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lang-code {
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
}

.lang-name {
    font-size: 10px;
    opacity: 0.8;
    line-height: 1;
}

/* Navigation Phone */
.nav-phone {
    margin-right: 15px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    height: 40px; /* Фиксированная высота */
    box-sizing: border-box;
}

.phone-link:hover {
    background: var(--accent-orange);
    color: var(--primary-dark);
    border-color: var(--accent-orange);
    transform: translateY(-1px);
}

.phone-link i {
    font-size: 12px;
}

/* Обновляем nav-right для правильного отображения */
.nav-right {
    display: flex;
    align-items: center;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    /* Добавляем резервный градиент на случай проблем с загрузкой фона */
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    overflow: visible;
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 50%;
    height: 80%;
    transform: translateY(-50%);
    background-image: url('../images/hero-background.webp');
    background-size: contain;
    background-position: center right;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 2;
    pointer-events: none;
    /* Добавляем обработку ошибок загрузки */
    transition: opacity 0.3s ease;
}

/* Резервный фон для случая, если изображение не загрузится */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at center right, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>'),
        linear-gradient(135deg, rgba(30, 45, 75, 0.8) 0%, rgba(40, 59, 99, 0.8) 100%);
    animation: float 20s ease-in-out infinite;
    opacity: 0.9;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
}

.highlight {
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-icon {
    font-size: 2rem;
    color: var(--accent-orange);
    margin-bottom: 0;
    order: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0;
    order: 2;
}

.stat-text {
    font-size: 0.9rem;
    opacity: 0.8;
    order: 3;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-orange);
    color: white;
    box-shadow: 0 5px 15px rgba(245, 131, 25, 0.4);
    border-radius: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 131, 25, 0.6);
    background: #e67516;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.1rem;
}

.hero-visual {
    position: relative;
    height: 600px;
    width: 600px;
    animation: fadeInRight 1s ease-out 0.8s both;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: floatCard 6s ease-in-out infinite;
}

/* Сетка 3x3 для floating cards */
/* Первый ряд */
.floating-card:nth-child(1) {
    top: 20px;
    left: 20px;
    width: 170px;
}

.floating-card:nth-child(2) {
    top: 20px;
    left: 210px;
    width: 170px;
    animation-delay: -1s;
}

.floating-card:nth-child(3) {
    top: 20px;
    left: 400px;
    width: 170px;
    animation-delay: -2s;
}

/* Второй ряд */
.floating-card:nth-child(4) {
    top: 200px;
    left: 20px;
    width: 170px;
    animation-delay: -3s;
}

.floating-card:nth-child(5) {
    top: 200px;
    left: 210px;
    width: 170px;
    animation-delay: -4s;
}

.floating-card:nth-child(6) {
    top: 200px;
    left: 400px;
    width: 170px;
    animation-delay: -5s;
}

/* Третий ряд */
.floating-card:nth-child(7) {
    top: 380px;
    left: 20px;
    width: 170px;
    animation-delay: -6s;
}

.floating-card:nth-child(8) {
    top: 380px;
    left: 210px;
    width: 170px;
    animation-delay: -7s;
}

.floating-card:nth-child(9) {
    top: 380px;
    left: 400px;
    width: 170px;
    animation-delay: -8s;
}

/* Убрал все дополнительные стили для карточек */

@keyframes floatCard {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(5px) rotate(-1deg); }
}

.card-content i {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

.card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.card-content p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Section Styles */
section[id] {
    scroll-margin-top: 0;
}

/* ================ ОБНОВЛЕННАЯ СИСТЕМА НАХЛЕСТА - ТОЛЬКО ДЛЯ ПРОЦЕССА МАРКИРОВКИ ================ */

/* Процесс маркировки и его шаги - обычное позиционирование без sticky */
.process,
.process-step-section {
    position: relative;
    width: 100%;
    min-height: auto;
}

/* Все остальные секции становятся обычными (не sticky) */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

.products,
.features,
.companies-section,
.news-section,
.cta {
    position: relative;
    width: 100%;
    min-height: auto;
}


/* Z-index правила - только для sticky секций процесса маркировки */
.hero {
    z-index: 1;
}

.products {
    z-index: 2;
    /* Убираем box-shadow, так как секция больше не sticky */
}

.process {
    z-index: auto;
}

.process-step-section.step-1 {
    z-index: auto;
}

.process-step-section.step-2 {
    z-index: auto;
}

.process-step-section.step-3 {
    z-index: auto;
}

.features {
    z-index: 7;
    /* Убираем box-shadow, так как секция больше не sticky */
}

.companies-section {
    z-index: 8;
    /* Убираем box-shadow, так как секция больше не sticky */
}

.news-section {
    z-index: 9;
    /* Убираем box-shadow, так как секция больше не sticky */
}

.cta {
    z-index: 10;
    /* Убираем box-shadow, так как секция больше не sticky */
}

/* Footer остается относительным */
.footer {
    position: relative;
    z-index: 11;
    /* Убираем box-shadow */
}






.navbar {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.hide-on-scroll {
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-blue);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Products Section */
.products {
    padding: 80px 0;
    background: var(--light-gray);
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    isolation: isolate;
    transform: translateZ(0);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.product-card {
    background: white;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
    z-index: 50;
    isolation: isolate;
    transform: translateZ(0);
    will-change: transform;
}

/* Простая синяя тонировка для читаемости */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 29, 53, 0.4);
    z-index: 8;
    border-radius: 20px;
    pointer-events: none;
    isolation: isolate;
    transform: translateZ(0);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--secondary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    isolation: isolate;
    transform: translateZ(0);
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: white;
    font-weight: 700;
    position: relative;
    z-index: 100;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    isolation: isolate;
    transform: translateZ(0);
}

.product-card p {
    color: white;
    line-height: 1.6;
    position: relative;
    z-index: 100;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    isolation: isolate;
    transform: translateZ(0);
}

/* Product Image - Always visible without transparency */
.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    z-index: 5;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    isolation: isolate;
    transform: translateZ(0);
}

/* Контент поверх картинки - стили уже применены выше */
/* Удалено - теперь стили определены напрямую в h3 и p */

/* Product Images */
.product-slide-1 { background-image: url('../images/slide/slide1.webp'); }
.product-slide-2 { background-image: url('../images/slide/slide2.webp'); }
.product-slide-3 { background-image: url('../images/slide/slide3.webp'); }
.product-slide-4 { background-image: url('../images/slide/slide4.webp'); }
.product-slide-5 { background-image: url('../images/slide/slide5.webp'); }
.product-slide-6 { background-image: url('../images/slide/slide6.webp'); }

/* ===== МОБИЛЬНЫЕ КОНТАКТЫ - СКРЫВАЕМ НА ПК ===== */
/* По умолчанию скрываем мобильные контакты (показываются только на мобильных) */
.mobile-contact-item {
    display: none;
}

/* Process Section */
.process {
    padding: 80px 0;
    background: white;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
    isolation: isolate;
    transform: translateZ(0);
    will-change: transform;
}

/* Timeline стили для процесса маркировки - ОБНОВЛЕНО */
/* Старые стили заменены на process-steps-timeline в конце файла */

/* Старые стили timeline удалены - используются новые process-steps-timeline */

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--primary-blue);
    color: white;
    /* Убрали sticky позиционирование, box-shadow и min-height */
    position: relative;
    z-index: 7;
    display: flex;
    align-items: center; /* Центрируем контент */
    overflow: hidden; /* Ограничиваем частицы */
}

.features .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.features .section-title {
    color: white !important;
    font-weight: 700;
}

.features .section-subtitle {
    color: white !important;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 100%;
    margin: 0 auto;
}





/* Компактные стили для планшетов и мобильных */

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 20px 15px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    height: auto;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature-card h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 10px 0;
}

.feature-card p {
    color: white;
    opacity: 0.9;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Results Section */
.result-card {    text-align: center;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.result-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.result-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.result-number {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 5px;
    color: var(--secondary-blue);
}

.result-text {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.result-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Companies Section */
.companies-section {
    padding: 80px 0;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 50;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    align-items: center;
    justify-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.company-logo {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
}

.company-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.company-logo img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.company-logo:hover img {
    transform: scale(1.05);
}

/* News Section */
.news-section {
    padding: 1px 0;
    background: white;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 50;
}

.news-section .section-header {
    margin-top: 40px; /* Дополнительный отступ для заголовка */
}

/* Скрываем мобильную версию на ПК */
.mobile-news-container,
.mobile-carousel-controls {
    display: none;
}

.news-carousel-container {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0 60px 20px 60px;
    overflow: hidden;
    z-index: 60;
}

.news-carousel {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 15px;
    width: fit-content;
    align-items: stretch;
    position: relative;
    z-index: 60;
}

.news-slide {
    flex: 0 0 350px;
    max-width: 350px;
    min-width: 350px;
    width: 350px;
    display: flex;
    box-sizing: border-box;
}

/* Планшеты - фиксированная ширина */
@media (max-width: 1024px) and (min-width: 993px) {
    .news-slide {
        flex: 0 0 320px;
        max-width: 320px;
        min-width: 320px;
        width: 320px;
    }
}

/* Планшеты - фиксированная ширина */
@media (max-width: 992px) and (min-width: 769px) {
    .news-slide {
        flex: 0 0 300px;
        max-width: 300px;
        min-width: 300px;
        width: 300px;
    }
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 350px);
    gap: 15px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Адаптивные размеры для news-grid */
@media (min-width: 1400px) {
    .news-grid {
        grid-template-columns: repeat(auto-fill, 360px);
        gap: 20px;
        max-width: 1500px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .news-grid {
        grid-template-columns: repeat(auto-fill, 350px);
        gap: 18px;
        max-width: 1200px;
    }
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .news-grid {
        grid-template-columns: repeat(auto-fill, 320px);
        gap: 15px;
        max-width: 1000px;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .news-grid {
        grid-template-columns: repeat(auto-fill, 300px);
        gap: 15px;
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 15px;
    }
}

.news-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 0;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

.news-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.news-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    background: white;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.news-date {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 12px;
    font-weight: 500;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: #333;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-title a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-title a:hover {
    color: var(--accent-orange);
}

.news-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.news-card-link:hover .news-title {
    color: var(--accent-orange);
}

.news-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 18px;
    font-size: 1rem;
}

.news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
}

.news-tag {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    background: #007bff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.news-tag:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 4px 15px rgba(0, 123, 255, 0.3),
        0 0 0 3px rgba(0, 123, 255, 0.1);
    filter: brightness(1.1);
    z-index: 10;
}

.news-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.news-tag:hover::before {
    left: 100%;
}

.news-category {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-loading,
.news-empty,
.news-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.news-loading i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.news-empty i,
.news-error i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.news-empty i {
    color: #ccc;
}

.news-error i {
    color: #ff6b6b;
}

.news-loading span {
    font-size: 1.1rem;
    color: #666;
}

.news-empty p,
.news-error p {
    font-size: 1.1rem;
    margin: 0;
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    position: relative;
    z-index: 10;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--secondary-blue);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(40, 59, 99, 0.3);
}

.carousel-btn:hover {
    background: var(--primary-blue);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(40, 59, 99, 0.4);
}

.carousel-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Карусель новостей - ПК версия индикаторов */
.news-carousel-container .carousel-indicators {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 5px;
    padding: 5px 0 10px 0;
    min-height: 30px;
    position: relative;
    z-index: 10;
}

.news-carousel-container .indicator {
    width: 14px !important;
    height: 14px !important;
    border-radius: 50% !important;
    background: rgba(40, 59, 99, 0.6) !important;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    box-sizing: content-box;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
}

.news-carousel-container .indicator.active {
    background: var(--secondary-blue) !important;
    transform: scale(1.3) !important;
    box-shadow: 0 3px 12px rgba(40, 59, 99, 0.6);
    border-color: rgba(255, 255, 255, 1) !important;
}

.news-carousel-container .indicator:hover {
    background: var(--accent-orange) !important;
    transform: scale(1.2) !important;
}

/* Запасные стили без специфичности */
.carousel-indicators {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 5px;
    padding: 5px 0 10px 0;
    min-height: 30px;
    position: relative;
    z-index: 10;
}

.indicator {
    width: 14px !important;
    height: 14px !important;
    border-radius: 50% !important;
    background: rgba(40, 59, 99, 0.6) !important;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    box-sizing: content-box;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
}

.indicator.active {
    background: var(--secondary-blue) !important;
    transform: scale(1.3) !important;
    box-shadow: 0 3px 12px rgba(40, 59, 99, 0.6);
    border-color: rgba(255, 255, 255, 1) !important;
}

.indicator:hover {
    background: var(--accent-orange) !important;
    transform: scale(1.2) !important;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: var(--primary-blue);
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    overflow: hidden; /* Ограничиваем частицы */
}

.cta-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 10px; /* Уменьшили отступ */
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 15px; /* Уменьшили отступ */
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 50px 0 20px;
}

/* Scroll snap для секций только на главной странице */
.home-page .hero,
.home-page .products,
.home-page .process,
.home-page .process-step-section,
.home-page .features,
.home-page .companies-section,
.home-page .news-section,
.home-page .cta,
.home-page .footer {
    /* Scroll snap отключен */
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-img {
    width: 40px;
    height: 40px;
    /* SVG уже белый, фильтр не нужен */
    display: block;
}

.footer-logo .logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .footer-logo .logo-img {
        width: 32px;
        height: 32px;
    }
    
    .footer-logo .logo-text {
        font-size: 1.5rem;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #34495e;
    opacity: 0.8;
}

/* WhatsApp иконка и ссылка */
.contact-item .fa-whatsapp {
    color: #25D366; /* Фирменный зеленый цвет WhatsApp */
}

.whatsapp-link a {
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.whatsapp-link a:hover {
    color: #128C7E !important; /* Темно-зеленый при hover */
    transform: translateX(5px);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 30px;
    border-radius: 20px;
    width: 95%;
    max-width: 800px;
    max-height: 95vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlide 0.3s ease-out;
}

@keyframes modalSlide {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
}

.close:hover {
    color: #333;
}

.modal-content h2 {
    margin-bottom: 30px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-dark);
}

.red {
    color: #ff0000;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Montserrat', Arial, sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(40, 59, 99, 0.1);
}

.form-group select {
    cursor: pointer;
    background-color: white;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="m0 1 2 2 2-2z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 40px;
    appearance: none;
}

/* Modal Form Grid Layout */
.modal-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group.submit-btn {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 10px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Улучшенный эффект перекрытия для больших экранов */
@media (min-width: 1200px) {
    
}

/* Отключение эффекта перекрытия на мобильных устройствах */
@media (max-width: 768px) {
    html {
        scroll-snap-type: none;
    }
    
    .process,
    .process-step-section {
        padding: 60px 0;
        min-height: auto;
    }
    
    /* Остальные секции уже relative по умолчанию, но можно оставить для ясности */
    .hero,
    .products,
    .features,
    .companies-section,
    .news-section,
    .cta {
        position: relative;
        top: auto;
        min-height: auto;
        box-shadow: none;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero::after {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transform: none;
        background-size: 100% auto;
        background-position: center;
        opacity: 0.15;
    }
    
    .hero::before {
        display: none;
    }
    
    .products {
        padding: 60px 0;
    }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-visual {
        height: 300px;
    }

    .floating-card {
        width: 150px !important;
        padding: 20px;
    }

    .floating-card:nth-child(2) {
        top: 150px;
        right: 20px;
    }

    .floating-card:nth-child(3) {
        bottom: 20px;
        left: 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .products-grid,
    .features-grid,
    
    
    .company-logo {
        padding: 20px;
        height: 100px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card {
        padding: 0;
    }
    
    .news-content {
        padding: 20px 15px;
    }
    
    .news-image {
        height: 160px;
    }
    
    .news-title {
        font-size: 1rem;
    }

    .step {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .step:hover {
        transform: translateY(-5px);
    }

    .modal-content {
        margin: 5% auto;
        padding: 25px 15px;
        max-height: 90vh;
    }
    
    .modal-form {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-group.full-width {
        grid-column: 1;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* ================ ДОПОЛНИТЕЛЬНАЯ ЗАЩИТА ДЛЯ LANDSCAPE ОРИЕНТАЦИИ ================ */
/* Дополнительный медиа-запрос для мобильных в горизонтальной ориентации */
@media (max-height: 600px) and (orientation: landscape) {
    /* Принудительно загружаем мобильные стили */
    body.mobile-landscape {
        /* Этот класс будет добавлен через JavaScript */
    }
    
    /* Принудительно мобильная навигация в landscape */
    @supports (orientation: landscape) {
        .navbar {
            height: 60px;
        }
        
        .nav-container {
            height: 60px;
            padding: 0 15px;
        }
        
        .logo-text {
            font-size: 28px !important;
        }
        
        .logo-img {
            width: 28px !important;
            height: 28px !important;
        }
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .companies-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }
    
    .company-logo {
        padding: 15px;
        height: 80px;
    }
    
    .product-card,
    .feature-card,
    .result-card {
        padding: 30px 20px;
    }
}

/* News Read More Link */
.news-meta .read-more {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.news-meta .read-more:hover {
    color: var(--primary-blue);
    transform: translateX(3px);
}

.news-card-link .news-meta {
    position: relative;
    z-index: 5;
}

.news-card-link .read-more {
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

/* Print Styles */
@media print {
    .navbar,
    .hero-buttons,
    .modal,
    .btn {
        display: none;
    }
    
    .hero {
        background: white;
        color: black;
    }
    
    .section-title {
        color: black;
    }
}

/* Анимации для процесса маркировки */
.stat-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.stat-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.stat-value {
    transition: all 0.3s ease;
}

.stat-value.counting {
    color: var(--accent-orange);
    text-shadow: 0 0 10px rgba(245, 131, 25, 0.5);
}

.step {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.5s ease;
}

.step.animate {
    opacity: 1;
    transform: translateX(0);
}



.process-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 40px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.6s ease;
    border: 1px solid #e9ecef;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 0px;
    background: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-blue);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

.process-steps {
    max-width: 1000px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.step {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.5s ease;
}

.step:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.step-number {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-yellow) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 15px 40px rgba(245, 131, 25, 0.4);
    position: relative;
    z-index: 100;
}

.step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 700;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .process-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin: 30px 0;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .step:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 480px) {
    .process-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px 15px;
    }
    
    .stat-value {
        font-size: 2rem;
    }
}

/* ================== ОБНОВЛЕННЫЕ СТИЛИ ДЛЯ ПЛАВАЮЩИХ БЛОКОВ ================== */

/* Расширенная визуальная область для блоков */
.hero-visual {
    overflow: visible; /* Позволяем блокам немного выходить за границы */
}

/* Задержки анимации для последовательного появления */
.delay-1 { animation-delay: -0.75s; }
.delay-2 { animation-delay: -1.5s; }
.delay-3 { animation-delay: -2.25s; }
.delay-4 { animation-delay: -3s; }
.delay-5 { animation-delay: -3.75s; }
.delay-6 { animation-delay: -4.5s; }
.delay-7 { animation-delay: -5.25s; }

/* Обновленные размеры для контента карточек */
.floating-card {
    padding: 20px;
}

.card-content i {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.card-content h3 {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.card-content p {
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Адаптивные стили для планшетов */
@media (max-width: 1024px) {
    .hero-visual {
        height: 500px;
        width: 500px;
    }
    
    .floating-card {
        width: 140px !important;
        padding: 15px;
    }
    
    /* Сжатая сетка 3x3 для планшетов */
    .floating-card:nth-child(1) { top: 15px; left: 15px; }
    .floating-card:nth-child(2) { top: 15px; left: 170px; }
    .floating-card:nth-child(3) { top: 15px; left: 325px; }
    .floating-card:nth-child(4) { top: 160px; left: 15px; }
    .floating-card:nth-child(5) { top: 160px; left: 170px; }
    .floating-card:nth-child(6) { top: 160px; left: 325px; }
    .floating-card:nth-child(7) { top: 305px; left: 15px; }
    .floating-card:nth-child(8) { top: 305px; left: 170px; }
    .floating-card:nth-child(9) { top: 305px; left: 325px; }
    
    .companies-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 768px) {
    .hero-visual {
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 30px;
        position: static;
    }
    
    .floating-card {
        position: static !important;
        width: auto !important;
        animation: none !important;
        transform: none !important;
    }
    
    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .timeline-step {
        min-height: 350px;
        padding: 20px;
    }
    
    .step-image-placeholder {
        padding: 30px 15px;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .hero-visual {
        grid-template-columns: 1fr;
    }
    
    .companies-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .timeline-step {
        min-height: 300px;
        padding: 15px;
    }
    
    .timeline-controls {
        gap: 20px;
    }
    
    .timeline-btn {
        width: 40px;
        height: 40px;
    }
}

/* ================== SCROLL-TRIGGERED STICKY PRESENTATION ================== */

/* Sticky контейнер - фиксируется в viewport */
.sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    background: white;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Контент внутри sticky контейнера */
.sticky-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    background: white;
    transform: scale(0.8) translateY(50px);
    filter: blur(5px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.sticky-content.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
    transform: scale(1) translateY(0);
    filter: blur(0);
    pointer-events: auto;
}

.sticky-content.exiting {
    opacity: 0;
    transform: scale(0.9) translateY(-30px);
    filter: blur(3px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Анимации для элементов внутри sticky-content */
.sticky-content .step-indicator {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
    position: relative;
}

.sticky-content.active .step-indicator {
    transform: translateY(0);
    opacity: 1;
}

.sticky-content .step-number {
    transform: scale(0.8) rotate(-10deg);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
    position: relative;
    z-index: 100;
}

.sticky-content.active .step-number {
    transform: scale(1) rotate(0deg);
    opacity: 1;
    animation: bounceIn 0.6s ease-out 0.4s both;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3) rotate(-10deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.1) rotate(5deg);
    }
    70% {
        transform: scale(0.95) rotate(-2deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.sticky-content .step-icon {
    transform: scale(0.7) rotate(10deg);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.25s;
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-orange);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 200;
}

.sticky-content.active .step-icon {
    transform: scale(1) rotate(0deg);
    opacity: 1;
}

.sticky-content h3 {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

.sticky-content.active h3 {
    transform: translateY(0);
    opacity: 1;
}

.sticky-content p {
    transform: translateY(15px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.5s;
}

.sticky-content.active p {
    transform: translateY(0);
    opacity: 0.9;
}

.sticky-content .step-image {
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.6s;
}

.sticky-content.active .step-image {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Spacer элемент для создания прокручиваемого пространства */
.spacer {
    height: 300vh;
    width: 100%;
    position: relative;
    background: transparent;
}

/* Индикатор прогресса */
.sticky-progress {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

.progress-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 3px solid rgba(255, 255, 255, 0.8);
    position: relative;
}

.progress-dot::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: var(--accent-orange);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-dot:hover {
    background: rgba(245, 131, 25, 0.8);
    transform: scale(1.1);
}

.progress-dot.active {
    background: var(--accent-orange);
    transform: scale(1.4);
    border-color: white;
}

.progress-dot.active::before {
    opacity: 0.3;
    transform: scale(1);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.1;
        transform: scale(1.5);
    }
}

/* Эффект наложения для каждой следующей секции */








/* Контент внутри секций */
.process-step-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Индикатор шага */
.process-step-section .step-indicator {
    position: relative;
    flex-shrink: 0;
}

.process-step-section .step-number {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-yellow) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 900;
    box-shadow: 0 15px 40px rgba(245, 131, 25, 0.4);
    margin-bottom: 20px;
    position: relative;
    z-index: 100;
}

.process-step-section .step-icon {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-orange);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 200;
}

/* Информация о шаге */
.step-info {
    flex: 1;
}

.step-info h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 800;
}

.step-info p {
    font-size: 1.3rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Изображения в секциях процесса */
.process-step-section .step-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin-top: 20px;
    display: block;
}

/* Плейсхолдер для изображения */
.process-step-section .step-image-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    border: 2px dashed #dee2e6;
    transition: all 0.3s ease;
}

.process-step-section .step-image-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.process-step-section .step-image-placeholder i {
    font-size: 4rem;
    color: #adb5bd;
    margin-bottom: 15px;
    display: block;
}

.process-step-section .step-image-placeholder span {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Фиксированная навигация по шагам */
.process-navigation {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.process-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.process-nav-dot.active {
    background: var(--accent-orange);
    transform: scale(1.5);
    border-color: white;
    box-shadow: 0 0 0 4px rgba(245, 131, 25, 0.3);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .process-step-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .process-step-section .step-number {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .step-info h3 {
        font-size: 2rem;
    }
    
    .step-info p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    /* Отключаем sticky presentation на мобильных устройствах */
    .sticky-container {
        position: relative;
        height: auto;
        display: block;
    }
    
    .sticky-content {
        position: relative;
        opacity: 1;
        visibility: visible;
        height: auto;
        padding: 60px 0;
        display: block;
    }
    
    .sticky-content:not(:first-child) {
        display: none;
    }
    
    .spacer {
        display: none;
    }
    
    .sticky-progress {
        display: none;
    }
    
    .process-step-section {
        padding: 60px 0;
        min-height: auto;
    }
    
    .process-step-section .step-number {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .process-step-section .step-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .step-info h3 {
        font-size: 1.8rem;
    }
    
    .step-info p {
        font-size: 1rem;
    }
    
    .process-navigation {
        display: none;
    }
}

/* Индикатор прокрутки для 10 слайдов */
.scroll-indicator {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px 8px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.scroll-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.scroll-dot:hover {
    background: rgba(0, 123, 255, 0.7);
    transform: scale(1.2);
}

.scroll-dot.active {
    background: #007bff;
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.6);
}

.scroll-dot.active::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

/* Адаптивность */
@media (max-width: 768px) {
    .scroll-indicator {
        right: 15px;
        gap: 8px;
        padding: 15px 6px;
    }
    .scroll-dot {
        width: 10px;
        height: 10px;
    }
}
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .products {
        padding: 40px 0;
        min-height: auto;
    }
    
    .features {
        padding: 40px 0;
        min-height: auto;
    }
}

/* Wider containers for products and features sections */
.products .container,
.features .container {
    max-width: 1200px;
    padding: 0 20px;
}/* ================== СТИЛИ ДЛЯ ВСТРОЕННОЙ ФОРМЫ В CTA ================== */

/* Контейнер формы с прозрачным стилем */
.cta-form-container {
    max-width: 800px;
    margin: 15px auto 0; /* Уменьшили верхний отступ */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 20px; /* Уменьшили паддинг */
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

/* Форма */
.cta-form {
    display: flex;
    flex-direction: column;
    gap: 14px; /* Уменьшили расстояние между элементами */
}

/* Ряды формы */
.cta-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px; /* Уменьшили расстояние */
    align-items: start;
}

/* Полношириные элементы */
.cta-form .form-group.full-width {
    grid-column: 1 / -1;
}

/* Группы форм */
.cta-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px; /* Уменьшили расстояние */
}

/* Лейблы */
.cta-form .form-group label {
    display: block;
    font-weight: 600;
    color: white;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

/* Поля ввода */
.cta-form input,
.cta-form select,
.cta-form textarea {
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    font-size: 0.95rem;
    font-family: 'Montserrat', Arial, sans-serif;
    color: #283b63;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Фокус на полях */
.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 3px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Плейсхолдеры */
.cta-form input::placeholder,
.cta-form textarea::placeholder {
    color: #999;
    opacity: 0.8;
}

/* Селекты */
.cta-form select {
    cursor: pointer;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="m0 1 2 2 2-2z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 45px;
    appearance: none;
}

/* Textarea */
.cta-form textarea {
    resize: vertical;
    min-height: 60px;
    line-height: 1.4;
}

/* Кнопка отправки */
.cta-form .submit-btn {
    text-align: center;
    margin-top: 0; /* Убрали отступ для большей компактности */
}

.cta-form .submit-btn .btn {
    display: inline-block;
    width: auto;
}

.cta-form .btn {
    background: linear-gradient(135deg, #f58319, #ff6b35);
    border: none;
    border-radius: 12px;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(245, 131, 25, 0.4);
    text-transform: none;
}

.cta-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 131, 25, 0.5);
    background: linear-gradient(135deg, #ff6b35, #f58319);
}

.cta-form .btn:active {
    transform: translateY(-1px);
}

.cta-form .btn i {
    margin-right: 10px;
    font-size: 1rem;
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .cta-form-container {
        margin: 30px 20px 0;
        padding: 35px 25px;
    }
    
    .cta-form .form-row {
        gap: 15px;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .cta {
        padding: 40px 0;
    }
    
    .cta-content h2 {
        font-size: 1.9rem;
        margin-bottom: 12px;
    }
    
    .cta-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .cta-form-container {
        margin: 20px 15px 0;
        padding: 20px;
        border-radius: 20px;
    }
    
    .cta-form {
        gap: 15px;
    }
    
    .cta-form .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .cta-form input,
    .cta-form select,
    .cta-form textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .cta-form textarea {
        min-height: 50px;
    }
    
    .cta-form .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
    .cta-form-container {
        margin: 20px 10px 0;
        padding: 20px 15px;
    }
    
    .cta-form .btn {
        padding: 12px 20px;
    }
}

/* ================== НОВЫЕ СТИЛИ ДЛЯ TIMELINE ПРОЦЕССА МАРКИРОВКИ ================== */

.process-steps-timeline {
    max-width: 1000px;
    margin: 60px auto 0;
    display: grid;
    grid-template-columns: 1fr 100px 1fr 100px 1fr;
    align-items: center;
    gap: 0;
    padding: 40px 20px;
    position: relative;
    z-index: 20;
    isolation: isolate;
    transform: translateZ(0);
    will-change: transform;
}

.timeline-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 280px;
    padding: 20px;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
    z-index: 30;
    isolation: isolate;
    will-change: transform;
}

.timeline-step[data-step="1"] {
    animation-delay: 0.2s;
}

.timeline-step[data-step="2"] {
    animation-delay: 0.4s;
}

.timeline-step[data-step="3"] {
    animation-delay: 0.6s;
}

.timeline-step:hover {
    transform: translateY(-10px);
}

.timeline-step .step-indicator {
    position: relative;
    margin-bottom: 25px;
}

.timeline-step .step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-yellow) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    box-shadow: 0 8px 25px rgba(245, 131, 25, 0.4);
    transition: all 0.3s ease;
    position: relative;
    z-index: 100;
    isolation: isolate;
    transform: translateZ(0);
    will-change: transform;
}

.timeline-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(245, 131, 25, 0.5);
}

.timeline-step .step-icon {
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 35px;
    height: 35px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--accent-orange);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    z-index: 200;
    isolation: isolate;
    transform: translateZ(0);
    will-change: transform;
}

.timeline-step .step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}

.timeline-step .step-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* Соединительные элементы таймлайна */
.timeline-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 4px;
    z-index: 1;
    position: relative;
    margin: 0;
    overflow: visible;
}

.timeline-connector:nth-of-type(4) {
    /* удаляем лишние стили */
}

.timeline-line {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-orange) 0%, var(--accent-yellow) 100%);
    border-radius: 2px;
    position: relative;
    animation: lineGrow 1s ease-out 0.8s forwards;
    transform: scaleX(0);
    transform-origin: left;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timeline-step[data-step="3"]::after,
.timeline-step[data-step="3"]::before,
.timeline-step:last-child::after,
.timeline-step:last-child::before {
    display: none !important;
}

/* Скрываем лишние соединители после последнего шага */
.timeline-step:last-child + .timeline-connector,
.timeline-connector:last-of-type,
.timeline-connector:last-child {
    display: none !important;
}

.timeline-arrow {
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 16px solid var(--accent-yellow);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    z-index: 10;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes lineGrow {
    to {
        transform: scaleX(1);
    }
}

@keyframes arrowSlide {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

@keyframes arrowSlideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) rotate(90deg) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) rotate(90deg) translateY(0);
    }
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .process-steps-timeline {
        display: flex;
        flex-direction: column;
        gap: 30px;
        max-width: 600px;
        align-items: center;
    }
    
    .timeline-connector {
        width: 4px;
        height: 30px;
        margin: -8px 0;
        transform: rotate(90deg);
    }
    
    .timeline-step {
        max-width: 100%;
        padding: 30px;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 20px;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    }
    
    .timeline-arrow {
        right: auto;
        left: 50%;
        bottom: -12px;
        top: auto;
        transform: translateX(-50%) rotate(90deg);
        border-left: 12px solid var(--accent-orange);
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
        animation: arrowSlideDown 0.5s ease-out 1.2s forwards;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .process-steps-timeline {
        display: flex;
        flex-direction: column;
        padding: 20px 10px;
        gap: 25px;
    }
    
    .timeline-connector {
        width: 4px;
        height: 25px;
        margin: -5px 0;
        transform: rotate(90deg);
    }
    
    .timeline-step {
        padding: 25px 20px;
    }
    
    .timeline-step .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .timeline-step .step-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
        bottom: -6px;
        right: -6px;
    }
    
    .timeline-step .step-content h3 {
        font-size: 1.2rem;
    }
    
    .timeline-step .step-content p {
        font-size: 0.95rem;
    }
    
    .timeline-arrow {
        right: auto;
        left: 50%;
        bottom: -12px;
        top: auto;
        transform: translateX(-50%) rotate(90deg);
        border-left: 12px solid var(--accent-orange);
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
        animation: arrowSlideDown 0.5s ease-out 1.2s forwards;
    }
}

@media (max-width: 480px) {
    .timeline-step .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .timeline-step .step-content h3 {
        font-size: 1.1rem;
    }
    
    .timeline-step .step-content p {
        font-size: 0.9rem;
    }
}

/* ================== FULLPAGE SCROLL STYLES ================== */

/* Fullpage wrapper and sections */
.fullpage-wrapper {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
}

/* Fullpage navigation dots */
.fullpage-navigation {
    position: fixed !important;
    right: 30px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 1500 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}

.fullpage-dot {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    background: transparent !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    outline: none !important;
}

.fullpage-dot:hover {
    background: rgba(255, 255, 255, 0.7) !important;
    transform: scale(1.3) !important;
}

.fullpage-dot.active {
    background: rgba(255, 255, 255, 0.9) !important;
    transform: scale(1.2) !important;
}

/* Fullpage правила удалены - используется обычная прокрутка */

/* Fullpage правила полностью удалены */

/* Smooth scrolling fallback */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Партикли для разных секций */

/* Chrome-specific fixes for particle rendering issues */
@supports (-webkit-appearance:none) {
    /* Products section Chrome fixes */
    .products {
        contain: layout style paint;
        will-change: transform;
    }
    
    .product-card {
        contain: layout style paint;
        backface-visibility: hidden;
        perspective: 1000px;
        transform-style: preserve-3d;
    }
    
    .product-card::before {
        backface-visibility: hidden;
        will-change: opacity;
    }
    
    /* Process section Chrome fixes */
    .process,
    .process-steps-timeline {
        contain: layout style paint;
        backface-visibility: hidden;
    }
    
    .timeline-step {
        contain: layout style paint;
        backface-visibility: hidden;
        perspective: 1000px;
    }
    
    .timeline-step .step-number,
    .timeline-step .step-icon {
        backface-visibility: hidden;
        perspective: 1000px;
        transform-style: preserve-3d;
    }
    
    /* Particles containers Chrome isolation */
    #particles-js,
    #features-particles-js,
    #cta-particles-js {
        contain: strict;
        will-change: transform;
        backface-visibility: hidden;
    }
    
    /* Hero background Chrome isolation */
    .hero-background,
    .animated-bg {
        contain: strict;
        backface-visibility: hidden;
    }
}

/* Particles animation styles */
#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Добавляем синий градиент как фон для частиц */
    background: linear-gradient(135deg, #1a2847 0%, #28374f 50%, #2c4a75 100%);
    pointer-events: none;
}

/* Features background for particles */
.features-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

#features-particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: transparent;
    pointer-events: none;
}

/* CTA background for particles */
.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

#cta-particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: transparent;
    pointer-events: none;
}
