/* ==========================================================================
   1. СКИДАННЯ СТИЛІВ ТА ГЛОБАЛЬНІ НАЛАШТУВАННЯ
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #050b0d;
    color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Контейнер розширено до 1400px. Відступи справа і зліва 15px для мобільної адаптації */
.container {
    width: 100%;
    max-width: 1400px; 
    margin: 0 auto;
    padding: 0 15px; 
}

/* ==========================================================================
   2. ГОЛОВНА СЕКЦІЯ (HERO) ТА ФОНОВІ ШАРИ
   ========================================================================== */
#hero-section {
    position: relative !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden !important;
    padding: 60px 0; /* Комфортні зовнішні поля для всієї плашки */
    
    /* Живий анімований градієнт */
    background: linear-gradient(270deg, #050b0d, #0f2027, #162e3a) !important;
    background-size: 400% 400% !important;
    animation: gradientMove 15s ease infinite !important;
    z-index: 1 !important;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Фонова картинка hed.webp на весь екран */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/hed.webp') center center / cover no-repeat;
    z-index: 2;
    opacity: 0.25;
    pointer-events: none;
}

/* Оверлей для глибини та читабельності */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 20%, rgba(5, 11, 13, 0.6) 100%);
    z-index: 3;
    pointer-events: none;
}

/* Канвас (Інтерактивна технологічна сітка з JS) */
.bg-canvas {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 4 !important;
    pointer-events: none !important;
    opacity: 0.5;
}

/* Контейнер для контенту (вище сітки) */
.hero-container {
    position: relative !important;
    z-index: 10 !important;
    display: flex;
    flex-direction: column;
    min-height: 80vh;
}

/* Тіні для тексту задля ідеального контрасту */
#hero-section h1, 
#hero-section p,
#hero-section .hero-subtitle,
#hero-section .hero-header,
#hero-section .btn {
    position: relative !important;
    z-index: 12 !important;
    color: #ffffff !important; 
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   3. ХЕДЕР ТА АДАПТИВНИЙ ЛОГОТИП
   ========================================================================== */
.hero-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin-bottom: 60px; /* Оптимальний простір від шапки до контенту */
}

.logo-link {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.logo-link:hover {
    transform: scale(1.03);
}

.logo-img {
    width: 180px; /* Чітко 180px для десктопів */
    height: auto;
    display: block;
    object-fit: contain;
}

/* ==========================================================================
   4. ТИПОГРАФІКА ТА ТОЧНІ СУЧАСНІ ВІДСТУПИ (UI-GRID)
   ========================================================================== */
.hero-content {
    max-width: 1440px; /* Збалансована ширина для контейнера 1400px */
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Маленький надзаголовок */
.hero-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #4ed2ff !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.4;
    margin-bottom: 24px; /* СУВОРO ЗА ТЗ: підзаголовок → заголовок */
    text-wrap: pretty;
    max-width: 90%;
}

/* Головний оффер (Заголовок) */
.hero-title {
    font-size: 46px; 
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin: 40px 0 40px 0; /* ВИПРАВЛЕНО: Текст "дихає" */
    text-wrap: pretty;
}

/* Опис пропозиції */
.hero-description {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.65;
    color: #cedee5 !important;
    max-width: 800px;
    margin-bottom: 48px; /* СУВОРO ЗА ТЗ: опис → кнопка (максимальне дихання 48px) */
    text-wrap: pretty;
}

/* ==========================================================================
   5. КОНВЕРСІЙНА КНОПКА З ГРАДІЄНТОМ З Screenshot_1.png
   ========================================================================== */
.btn {
    display: inline-block;
    text-decoration: none;
    padding: 22px 58px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    letter-spacing: 0.5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    outline: none;
    border: none;
}

.btn-primary {
    background: linear-gradient(90deg, #961205 0%, #b82206 35%, #d83b0b 75%, #e14e14 100%) !important;
    background-size: 200% auto !important; /* Потрібно для плавності анімації */
    color: #ffffff !important;
    box-shadow: 0 6px 25px rgba(184, 34, 6, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    /* Одночасна постійна анімація переливу кольору та мікро-пульсації масштабу */
    animation: buttonGlow 4s linear infinite, buttonPulse 2.5s ease-in-out infinite !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Ефект Бліку (Світлова смуга при наведенні) */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-25deg);
    transition: none;
}

/* ХОВЕР ЕФЕКТИ */
.btn-primary:hover {
    transform: translateY(-4px) scale(1.03); /* Кнопка трохи підводиться та збільшується */
    box-shadow: 0 12px 35px rgba(216, 59, 11, 0.6);
    filter: brightness(1.08);
}

/* Запуск бліку при наведенні */
.btn-primary:hover::before {
    left: 150%;
    transition: left 0.7s ease-in-out;
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 5px 15px rgba(216, 59, 11, 0.4);
}

/* КІНЕМАТОГРАФІЧНІ АНІМАЦІЇ ДЛЯ КНОПКИ */
@keyframes buttonGlow {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

@keyframes buttonPulse {
    0% { transform: scale(1); box-shadow: 0 6px 25px rgba(184, 34, 6, 0.4); }
    50% { transform: scale(1.015); box-shadow: 0 6px 32px rgba(216, 59, 11, 0.55); }
    100% { transform: scale(1); box-shadow: 0 6px 25px rgba(184, 34, 6, 0.4); }
}

/* ==========================================================================
   6. АНІМАЦІЯ ПЛАВНОЇ ПОЯВИ ЕЛЕМЕНТІВ
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s cubic-bezier(0.215, 0.610, 0.355, 1), 
                transform 1s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}





/* ==========================================================================
   БЛОК 2. ХТО ПРОВЕДЕ ВАС ДО РЕСУРСНОГО СТАНУ (ОНОВЛЕНИЙ)
   ========================================================================== */

.expert-section {
    /* Анімований живий градієнт */
    background: linear-gradient(
        135deg,
        #3A7D8C,
        #4FA3B5,
        #2F6672,
        #1F4E57
    );
    background-size: 200% 200%;
    animation: gradientMove 6s ease infinite;

    /* Ефект розмиття */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    /* Головні відступи для дихання блоку */
    padding: 70px 20px;
    
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #ffffff;
    overflow: hidden;
}

.expert-container {
    max-width: 1140px;
    margin: 0 auto;
}

/* ==========================================================================
   ТИПОГРАФІКА ТА ВІДСТУПИ
   ========================================================================== */

.expert-header {
    margin-bottom: 50px; 
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Заголовок: Десктоп 28px, Адаптив не менше 16px */
.expert-main-title {
    font-size: clamp(20px, 2.5vw, 30px);
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 12px 0;
    letter-spacing: 0.4px;
}

/* Підзаголовок */
.expert-subtitle {
    font-size: clamp(19px, 1.8vw, 24px);
    font-weight: 600;
    opacity: 0.9;
    margin: 0;
}

/* Головна двоколонкова сітка (Фото ліворуч, Контент праворуч) */
.expert-grid {
    display: grid;
    grid-template-columns: minmax(300px, 440px) 1fr;
    gap: 50px; 
    align-items: start;
}

/* Обгортка фотокартки */
.expert-image-wrapper {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    
    /* Анімація появи */
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.expert-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Права частина з текстом, списком та бейджами */
.expert-content {
    display: flex;
    flex-direction: column;
    
    /* Анімація появи */
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.expert-intro {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.6; 
    margin: 0 0 30px 0; 
    font-weight: 400;
}

.expert-presentation-heading {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.5;
    font-weight: 600;
    margin: 0 0 20px 0;
}

/* ==========================================================================
   СПИСОК ІЗ КРУГЛИМИ ГАЛОЧКАМИ (ЧИСТИЙ CSS + ІДЕАЛЬНЕ ВИРІВНЮВАННЯ)
   ========================================================================== */

.expert-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 55px 0; /* Великий відступ перед нижнім блоком */
}

.expert-features-list li {
    font-size: clamp(16px, 1.9vw, 20px);
    line-height: 1.5;
    margin-bottom: 18px; 
    position: relative;
    padding-left: 38px; /* Чіткий відступ під коло */
    min-height: 24px;
    display: block; /* Змінено на block для коректного inline-позиціонування */
    cursor: default;
    transition: color 0.3s ease;
}

/* Малюємо біле коло */
.expert-features-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px; /* Прив'язка до верхнього краю першого рядка тексту */
    
    width: 22px;
    height: 22px;
    border: 2px solid #ffffff; 
    border-radius: 50%; 
    box-sizing: border-box;
    
    opacity: 0;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

/* Малюємо галочку всередині кола */
.expert-features-list li::after {
    content: "";
    position: absolute;
    left: 7px; 
    top: 7px; /* Суворе центрування всередині кола */
    
    width: 5px;
    height: 9px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    
    transform: rotate(45deg) scale(0); 
    transform-origin: center;
    opacity: 0;
    
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s, opacity 0.3s ease;
}

/* Ефекти наведення курсору (Hover) */
.expert-features-list li:hover::before {
    transform: scale(1.2) !important;
    border-color: #e6f7fa;
}
.expert-features-list li:hover::after {
    transform: rotate(45deg) scale(1.2) !important;
    border-color: #e6f7fa;
}
.expert-features-list li:hover {
    color: #e6f7fa; 
}


/* ==========================================================================
   ВИПРАВЛЕНИЙ БЛОК БЕЙДЖІВ (ТЕПЕР В ОДИН РЯДОК НА ДЕСКТОПІ)
   ========================================================================== */

.expert-badges-row {
    display: grid;
    /* Робимо 3 рівні колонки замість однієї вертикальної */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15); /* Елегантна лінія розділення */
    padding-top: 35px;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Контейнери для іконок / картинок */
.badge-icon {
    height: 60px; /* Зменшено гігантський розмір для балансу */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

/* Спеціальний стилістичний хак для великої цифри "2 РОКИ" */
.badge-icon-text {
    font-size: 42px;
    font-weight: 800;
    color: #ff9f43; /* Яскравий помаранчевий колір як на фото */
    line-height: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.badge-icon-text span {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ff9f43;
    margin-top: -2px;
}

.badge-icon img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

/* Текст під іконками */
.badge-text {
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.4;
    font-weight: 500;
    opacity: 0.95;
}

.text-bad {
    color: #242222 !important;
}

/* ==========================================================================
   КЛАСИ АКТИВАЦІЇ АНІМАЦІЇ (ПРИ С К РО Л І)
   ========================================================================== */

.expert-section.animated .expert-header,
.expert-section.animated .expert-image-wrapper,
.expert-section.animated .expert-content {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

.expert-section.animated .expert-features-list li::before {
    opacity: 1;
    transform: scale(1);
}

.expert-section.animated .expert-features-list li::after {
    opacity: 1;
    transform: rotate(45deg) scale(1);
}

/* Ланцюгова поява елементів списку */
.expert-section.animated .expert-features-list li:nth-child(1)::before { transition-delay: 0.2s; }
.expert-section.animated .expert-features-list li:nth-child(1)::after  { transition-delay: 0.3s; }
.expert-section.animated .expert-features-list li:nth-child(2)::before { transition-delay: 0.4s; }
.expert-section.animated .expert-features-list li:nth-child(2)::after  { transition-delay: 0.5s; }
.expert-section.animated .expert-features-list li:nth-child(3)::before { transition-delay: 0.6s; }
.expert-section.animated .expert-features-list li:nth-child(3)::after  { transition-delay: 0.7s; }
.expert-section.animated .expert-features-list li:nth-child(4)::before { transition-delay: 0.8s; }
.expert-section.animated .expert-features-list li:nth-child(4)::after  { transition-delay: 0.9s; }
.expert-section.animated .expert-features-list li:nth-child(5)::before { transition-delay: 1.0s; }
.expert-section.animated .expert-features-list li:nth-child(5)::after  { transition-delay: 1.1s; }


/* Background Keyframes */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


/* ==========================================================================
   БЛОК 3. ЧОМУ FITLINE ВАРТИЙ УВАГИ (КРЕАТИВНА 3D-АНІМАЦІЯ)
   ========================================================================== */

.benefits-section {
    background-color: #ffffff;
    padding: 70px 20px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #0b1114;
    overflow: hidden;
    /* Створюємо глибину для 3D-об'єктів всередині секції */
    perspective: 1200px; 
}

.benefits-container {
    max-width: 1140px;
    margin: 0 auto;
}

/* Адаптивний заголовок */
.benefits-title {
    font-size: clamp(16px, 2.5vw, 28px);
    font-weight: 800;
    color: #111a1e;
    margin: 0 0 50px 0;
    text-align: left;
    
    /* Початковий стан заголовка */
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Сітка карток */
.benefits-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 55px;
}

/* Базовий контейнер картки, що тримає 3D-простір */
.benefit-card {
    background: transparent;
    perspective: 1000px;
}

/* Внутрішня оболонка картки з початковим нахилом та нульовою видимістю */
.card-inner {
    background-color: #ffffff;
    border: 1px solid rgba(243, 198, 35, 0.25);
    border-radius: 16px;
    padding: 40px 20px 35px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(41, 41, 40, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
    
    /* КРЕАТИВНИЙ ПОЧАТКОВИЙ СТАН: картки завалені назад по осі X, розгорнуті по Y та зміщені вниз */
    opacity: 0;
    transform: translateY(60px) rotateX(-25deg) rotateY(15deg) scale(0.9);
    transform-origin: top center;
    
    /* Плавний вихід з кінетичною пружністю */
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), 
                opacity 0.7s ease, 
                box-shadow 0.3s ease, 
                border-color 0.3s ease;
}

.card-icon-wrapper {
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.card-icon {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

/* Адаптивний текст */
.card-text {
    font-size: clamp(16px, 1.8vw, 20px);
    line-height: 1.5;
    color: #334155;
    margin: 0;
    font-weight: 500;
}

/* ІНТЕРАКТИВНИЙ HOVER-ЕФЕКТ ПРИ НАВЕДЕННІ */
.benefit-card:hover .card-inner {
    transform: translateY(-8px) scale(1.03) rotateX(2deg) !important;
    box-shadow: 0 20px 40px rgba(243, 198, 35, 0.15);
    border-color: rgba(243, 198, 35, 0.6);
    background-color: #fffdf7; /* Легкий теплий відблиск */
}

/* Сітка нижніх бейджів */
.benefits-badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    border-top: 1px solid #f1f5f9;
    padding-top: 45px;
}

.benefit-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    
    /* Початковий стан: приховані та зміщені вбік */
    opacity: 0;
    transform: translateX(-30px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.badge-icon-wrapper {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-icon {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.badge-text {
    font-size: clamp(15px, 1.6vw, 17px);
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
}

/* ==========================================================================
   КЛАСИ АКТИВАЦІЇ КАСКАДНОЇ АНІМАЦІЇ (ПРИ СКРОЛІ)
   ========================================================================== */

/* Поява заголовка */
.benefits-section.animated .benefits-title {
    opacity: 1;
    transform: translateY(0);
}

/* Почергове "випрямлення" та випливання 3D-карток */
.benefits-section.animated .card-inner {
    opacity: 1;
    transform: translateY(0) rotateX(0) rotateY(0) scale(1);
}

/* Налаштування затримки (таймінгу) появи для кожної картки */
.benefits-section.animated .benefit-card:nth-child(1) .card-inner { transition-delay: 0.15s; }
.benefits-section.animated .benefit-card:nth-child(2) .card-inner { transition-delay: 0.30s; }
.benefits-section.animated .benefit-card:nth-child(3) .card-inner { transition-delay: 0.45s; }
.benefits-section.animated .benefit-card:nth-child(4) .card-inner { transition-delay: 0.60s; }

/* Плавна поява нижніх бейджів одразу після карток */
.benefits-section.animated .benefit-badge {
    opacity: 1;
    transform: translateX(0);
}
.benefits-section.animated .benefit-badge:nth-child(1) { transition-delay: 0.75s; }
.benefits-section.animated .benefit-badge:nth-child(2) { transition-delay: 0.85s; }
.benefits-section.animated .benefit-badge:nth-child(3) { transition-delay: 0.95s; }
.benefits-section.animated .benefit-badge:nth-child(4) { transition-delay: 1.05s; }


/* ==========================================================================
   БЛОК 4. НАУКОВА ПЕРЕВАГА: КОНЦЕПЦІЯ NTC (ПОВНА ВЕРСІЯ З ПЛАШКАМИ)
   ========================================================================== */

.ntc-section {
    /* Анімований живий градієнт */
    background: linear-gradient(
        135deg,
        #3A7D8C,
        #4FA3B5,
        #2F6672,
        #1F4E57
    );
    background-size: 200% 200%;
    animation: gradientMove 6s ease infinite;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    /* Фіксовані відступи для дихання блоку */
    padding: 70px 20px;
    
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #ffffff;
    overflow: hidden;
    position: relative;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.ntc-container {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Трохи розширили праву частину під плашки */
    align-items: center;
    gap: 60px; /* Великий простір, щоб блок дихав */
}

/* --- ЛІВА СТОРОНА (ТЕКСТ) --- */
.ntc-content-col {
    opacity: 0;
    transform: translateX(-40px);
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease;
}

/* Заголовок h2: Десктоп 28px, адаптив не менше 16px */
.ntc-title {
    font-size: clamp(16px, 2.5vw, 28px);
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 35px 0;
}

.ntc-text-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Основний текст: Десктоп 20px, адаптив не менше 16px */
.ntc-description {
    font-size: clamp(16px, 1.8vw, 20px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

.highlight-orange {
    color: #ffbc5b;
    font-weight: 700;
}

/* --- ПРАВА СТОРОНА (ГРАФІКА ТА ПЛАШКИ) --- */
.ntc-visual-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    opacity: 0;
    transform: translateY(40px);
    transition: transform 0.9s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.9s ease;
}

/* Рядок з плашками порівняння */
.ntc-comparison-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    max-width: 540px;
    margin-bottom: 30px; /* Відступ до самої картинки капсули */
}

/* Загальний стиль порівняльних плашок */
.comparison-badge {
    padding: 12px 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.5s ease;
    opacity: 0;
    transform: scale(0.9);
}

/* Сіра плашка (Звичайне засвоєння) */
.badge-normal {
    background-color: rgb(42, 44, 44);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition-delay: 0.4s;
}

/* Синя яскравіша плашка (NTC) */
.badge-ntc {
    background-color: #002d62; /* Глибокий синій колір з макету */
    border: 1px solid rgba(79, 163, 181, 0.4);
    transition-delay: 0.7s;
}

.badge-title {
    font-size: clamp(15px, 1.5vw, 18px);
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.badge-sub {
    font-size: clamp(11px, 1.2vw, 13px);
    color: rgb(255, 255, 255);
    line-height: 1.3;
}

/* Обгортка зображення людини та капсули */
.ntc-image-wrapper {
    width: 100%;
    max-width: 540px;
}

.ntc-main-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* ==========================================================================
   КЛАСИ АКТИВАЦІЇ КРЕАТИВНОЇ АНІМАЦІЇ
   ========================================================================== */

.ntc-section.animated .ntc-content-col {
    opacity: 1;
    transform: translateX(0);
}

.ntc-section.animated .ntc-visual-col {
    opacity: 1;
    transform: translateY(0);
}

/* Почергове "підсвічування" плашок після появи всього блоку */
.ntc-section.animated .comparison-badge {
    opacity: 1;
    transform: scale(1);
}

/* Створюємо мікро-ефект: звичайна плашка з часом трохи тьмяніє, виділяючи перевагу NTC */
.ntc-section.animated .badge-normal {
    opacity: 0.65; 
}
.ntc-section.animated .badge-normal:hover {
    opacity: 1;
}

/* ==========================================================================
   БЛОК 5. БЕЗКОМПРОМІСНА БЕЗПЕКА (З КРУТИННИМИ 3D АНІМАЦІЯМИ)
   ========================================================================== */

.safety-section {
    background-color: #ffffff;
    /* Відступи по 70px зверху та знизу, щоб сайт дихав */
    padding: 70px 20px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #111a1e;
    overflow: hidden;
    /* Додаємо перспективу для тривимірного перекручування картинок */
    perspective: 1500px;
}

.safety-container {
    max-width: 1140px;
    margin: 0 auto;
}

/* Заголовок h2: Десктоп 28px, на адаптивних не менше 16px */
.safety-main-title {
    font-size: clamp(16px, 2.5vw, 28px);
    font-weight: 800;
    color: #0d233a;
    margin: 0 0 50px 0;
    text-align: left;
}

/* Основна сітка блоку (Колонки інформації та продуктів) */
.safety-main-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px; /* Відступ до нижнього ряду з логотипами */
}

/* --- ЛІВА СТОРОНА: СЕРТИФІКАТИ --- */
.safety-info-col {
    display: flex;
    flex-direction: column;
    gap: 35px; /* Дихання між рядками сертифікатів */
}

.safety-row {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Контейнери медалей з налаштуванням 3D простору */
.safety-medal-wrapper {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    perspective: 1000px;
}

.safety-medal {
    width: 100%;
    height: 100%;
    object-fit: contain;
    
    /* Початковий стан: розгорнуті на 180 градусів (ребром або спиною) та невидимі */
    opacity: 0;
    transform: rotateY(-180deg);
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.6s ease;
}

.safety-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Окремі підзаголовки сертифікатів */
.safety-sub-title {
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 700;
    color: #111a1e;
    margin: 0;
}

/* Основний шрифт описів: Десктоп 20px, на адаптивних не менше 16px */
.safety-description {
    font-size: clamp(16px, 1.8vw, 18px); /* Оптимізовано під контент макету */
    line-height: 1.45;
    color: #475569;
    margin: 0;
    font-weight: 400;
}

/* --- ПРАВА СТОРОНА: ПРОДУКЦІЯ НА ПОДІУМІ --- */
.safety-visual-col {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 2000px;
}

.safety-product-wrapper {
    width: 100%;
    max-width: 460px;
}

.safety-product-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    
    /* Початковий стан для великої картинки: повний оберт назад і невидимість */
    opacity: 0;
    transform: rotateY(180deg) scale(0.95);
    transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

/* --- НИЖНІЙ РЯДОК (СПОРТ ТА ЛІДЕРИ) --- */
.safety-footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    border-top: 1px solid #e2e8f0;
    padding-top: 40px;
}

.safety-trust-badge {
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.trust-icon {
    width: 85px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.trust-text {
    font-size: clamp(16px, 1.8vw, 18px);
    line-height: 1.4;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

/* Контейнер нижніх спорт-логотипів */
.safety-logos-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.6s ease 0.2s, opacity 0.6s ease 0.2s;
}

.sport-logo {
    max-height: 85px;
    width: auto;
    object-fit: contain;
    filter: grayscale(0.2);
    transition: filter 0.3s ease;
}
.sport-logo:hover {
    filter: grayscale(0);
}

/* ==========================================================================
   КЛАСИ АКТИВАЦІЇ АНІМАЦІЇ (ПЕРЕКРУЧУВАННЯ ПРИ СКРОЛІ)
   ========================================================================== */

/* Ефект горизонтального перекручування (rotateY в 0) та зупинки */
.safety-section.animated .safety-medal {
    opacity: 1;
    transform: rotateY(0deg);
}

/* Почерговий старт перекручування медалей (каскад) */
.safety-section.animated .safety-row:nth-child(1) .safety-medal { transition-delay: 0.1s; }
.safety-section.animated .safety-row:nth-child(2) .safety-medal { transition-delay: 0.3s; }
.safety-section.animated .safety-row:nth-child(3) .safety-medal { transition-delay: 0.5s; }

/* Перекручування та фіксація великої картинки продукту справа */
.safety-section.animated .safety-product-img {
    opacity: 1;
    transform: rotateY(0deg) scale(1);
    transition-delay: 0.2s;
}

/* Активація нижнього блоку */
.safety-section.animated .safety-trust-badge,
.safety-section.animated .safety-logos-wrapper {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   БЛОК 6. НА ПРЕЗЕНТАЦІЇ МИ РОЗБЕРЕМО (ЖИВИЙ ГРАДІЄНТ ТА АДАПТИВ)
   ========================================================================== */

.presentation-section {
    /* Анімований живий градієнт користувача */
    background: linear-gradient(
        135deg,
        #3A7D8C,
        #4FA3B5,
        #2F6672,
        #1F4E57
    );
    background-size: 200% 200%;
    animation: presentationGradientMove 6s ease infinite;

    /* Ефект розмиття */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    /* Відступи за технічним завданням: зверху 70px, знизу 120px */
    padding-top: 70px;
    padding-bottom: 130px;
    padding-left: 20px;
    padding-right: 20px;
    
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #ffffff;
    overflow: hidden;
    position: relative;
}

@keyframes presentationGradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.presentation-container {
    max-width: 1140px;
    margin: 0 auto;
}

/* Заголовок h2: Десктоп 28px, на адаптивних не менше 16px */
.presentation-main-title {
    font-size: clamp(16px, 2.5vw, 28px);
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 50px 0;
    text-align: left;
    letter-spacing: -0.2px;
}

/* Сітка для списку та графіки */
.presentation-main-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px; /* Великий відступ, щоб контент "дихав" */
    align-items: center;
    margin-bottom: 50px; /* Простір перед нижньою рамкою */
}

/* --- ЛІВА СТОРОНА: СПИСОК ПУНКТІВ --- */
.presentation-list-col {
    display: flex;
    flex-direction: column;
    gap: 30px; /* Комфортна відстань між елементами списку */
}

.presentation-item {
    display: flex;
    align-items: center;
    gap: 20px;
    
    /* Початковий стан для ефекту каскадної появи */
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
}

.item-icon-wrapper {
    width: 120px;
    height: 120px;
    background-color: rgba(255, 255, 255, 0.15); /* Напівпрозора ніжна підкладка */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.item-icon {
    width: 75%;
    height: 75%;
    object-fit: contain;
}

/* Основний шрифт списку: Десктоп 20px, на адаптивних не менше 16px */
.item-text {
    font-size: clamp(16px, 1.8vw, 20px);
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-weight: 400;
}

/* --- ПРАВА СТОРОНА: МАКЕТ НОУТБУКА --- */
.presentation-visual-col {
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Початковий стан: легкий 3D-виліт з глибини */
    opacity: 0;
    transform: scale(0.9) translateY(30px);
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.9s ease;
}

.mockup-wrapper {
    width: 100%;
    max-width: 480px;
}

.mockup-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.25));
}

/* --- НИЖНЯ КОНТУРНА ПЛАШКА З КУБКОМ --- */
.presentation-summary-box {
    border: 1px solid rgba(255, 255, 255, 0.3); /* Тонка елегантна біла рамка */
    border-radius: 12px;
    padding: 25px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background-color: rgba(255, 255, 255, 0.03);
    
    /* Початковий стан анімації */
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.6s, opacity 0.8s ease 0.6s;
}

.summary-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1.2;
}

.summary-cup-wrapper {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
}

.summary-cup-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Шрифти плашки на десктопі 20px, адаптив не менше 16px */
.summary-text-main {
    font-size: clamp(16px, 1.8vw, 19px);
    line-height: 1.45;
    margin: 0;
    font-weight: 500;
    color: #ffffff;
}

/* Лінія-роздільник всередині плашки */
.summary-divider {
    width: 1px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.3);
}

.summary-right {
    flex: 0.8;
}

.summary-text-action {
    font-size: clamp(16px, 1.8vw, 19px);
    line-height: 1.45;
    margin: 0;
    font-weight: 700; /* Жирне виділення заклику до дії як на макеті */
    color: #ffffff;
}

/* ==========================================================================
   КЛАСИ ЗАПУСКУ АНІМАЦІЇ ПРИ СКРОЛІ
   ========================================================================== */

/* Почергова каскадна поява списку пунктів */
.presentation-section.animated .presentation-item {
    opacity: 1;
    transform: translateY(0);
}
.presentation-section.animated .presentation-item:nth-child(1) { transition-delay: 0.1s; }
.presentation-section.animated .presentation-item:nth-child(2) { transition-delay: 0.25s; }
.presentation-section.animated .presentation-item:nth-child(3) { transition-delay: 0.4s; }
.presentation-section.animated .presentation-item:nth-child(4) { transition-delay: 0.55s; }

/* Поява ноутбука */
.presentation-section.animated .presentation-visual-col {
    opacity: 1;
    transform: scale(1) translateY(0);
    transition-delay: 0.3s;
}

/* Поява нижньої рамки */
.presentation-section.animated .presentation-summary-box {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================================================
   БЛОК З ВІДЕО ТА ТАЙМЕРОМ КНОПОК  отдельная страница
   ========================================================================== */

.video-presentation-section {
    /* Анімований живий градієнт користувача */
    background: linear-gradient(
        135deg,
        #3A7D8C,
        #4FA3B5,
        #2F6672,
        #1F4E57
    );
    background-size: 200% 200%;
    animation: gradientMove 6s ease infinite;

    /* Ефект розмиття */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    /* Головні відступи для дихання за ТЗ: зверху 70px, знизу 120px */
    padding-top: 70px;
    padding-bottom: 120px;
    padding-left: 20px;
    padding-right: 20px;
    
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #ffffff;
    overflow: hidden;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.video-presentation-container {
    max-width: 1000px; /* Трохи вужче для фокусування уваги на відеоплеєрі */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Заголовок h1: Десктоп 48px, на адаптивних не менше 24px */
.video-main-title {
    font-size: clamp(24px, 4.5vw, 48px);
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    margin: 0 0 50px 0;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* КУПІРУВАННЯ ТА СТИЛІЗАЦІЯ YOUTUBE ПЛЕЄРА */
.video-wrapper-outer {
    width: 100%;
    max-width: 860px;
    background: #000;
    border-radius: 20px;
    padding: 10px; /* Створює рамку кіноекрана */
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    margin-bottom: 60px; /* Повітря під відео */
}

.video-inner-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Співвідношення сторін 16:9 */
    height: 0;
    border-radius: 12px;
    overflow: hidden;
}

.video-inner-container iframe {
    position: absolute;
    top: -2px;
    left: -2px;
    width: 102%;
    height: 102%; /* Легке розтягування ховає мікрорамки YouTube */
    border: none;
    z-index: 1;
}

/* Кастомне прев'ю-маска поверх iframe */
.video-custom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5)), 
                url('../img/video-cover-bg.jpg') center / cover no-repeat; /* Замініть або залиште градієнт */
    background-color: #1a3c44; 
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Стан після запуску відео */
.video-inner-container.playing .video-custom-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Кнопка запуску з пульсацією */
.play-button-pulse {
    width: 85px;
    height: 85px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
    transform: scale(1);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: playPulse 2s infinite;
}

.play-triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 26px;
    border-color: transparent transparent transparent #2f6672;
    margin-left: 6px;
}

.video-custom-overlay:hover .play-button-pulse {
    transform: scale(1.1);
    background: #ffbc5b;
}

.video-custom-overlay:hover .play-triangle {
    border-color: transparent transparent transparent #1f4e57;
}

@keyframes playPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    70% { box-shadow: 0 0 0 25px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* КРЕАТИВНИЙ ІНТЕРАКТИВНИЙ БЛОК ПІД ВІДЕО */
.creative-steps-block {
    width: 100%;
    max-width: 860px;
    margin-bottom: 60px;
}

.creative-steps-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 25px 0;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.step-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 25px 20px;
    transition: all 0.4s ease;
}

.step-card.active {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.step-num {
    font-size: 28px;
    font-weight: 900;
    color: #ffbc5b;
    margin-bottom: 12px;
}

/* Основний шрифт: Десктоп 20px, на адаптивних не менше 16px */
.step-card-text {
    font-size: clamp(16px, 1.8vw, 18px); /* Оптимізовано під картки */
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* КОНТЕЙНЕР КНОПОК ПОЯВИ (ХОВАЄТЬСЯ ЧЕРЕЗ JS НА 8 ХВ) */
/* 1. Початковий стан: кнопки повністю невидимі і на них неможливо випадково клікнути */
.action-buttons-holder {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 1s ease, visibility 1s ease; /* Плавна поява за 1 секунду */
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

/* 2. Клас, який додасть JavaScript рівно через 8 хвилин */
.action-buttons-holder.reveal-now {
    opacity: 1;
    visibility: visible;
    pointer-events: auto; /* Кнопки стають клікабельними */
}

/* ВАШІ ФІРМОВІ СТИЛІ ДЛЯ КНОПОК */
.btn {
    display: inline-block;
    text-decoration: none;
    padding: 22px 58px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    letter-spacing: 0.5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    outline: none;
    border: none;
    text-align: center;
    min-width: 280px;
}

.btn-primary {
    background: linear-gradient(90deg, #961205 0%, #b82206 35%, #d83b0b 75%, #e14e14 100%) !important;
    background-size: 200% auto !important;
    color: #ffffff !important;
    box-shadow: 0 6px 25px rgba(184, 34, 6, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: buttonGlow 4s linear infinite, buttonPulse 2.5s ease-in-out infinite !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-25deg);
    transition: none;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 35px rgba(216, 59, 11, 0.6);
    filter: brightness(1.08);
}

.btn-primary:hover::before {
    left: 150%;
    transition: left 0.7s ease-in-out;
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 5px 15px rgba(216, 59, 11, 0.4);
}

@keyframes buttonGlow {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

@keyframes buttonPulse {
    0% { transform: scale(1); box-shadow: 0 6px 25px rgba(184, 34, 6, 0.4); }
    50% { transform: scale(1.015); box-shadow: 0 6px 32px rgba(216, 59, 11, 0.55); }
    100% { transform: scale(1); box-shadow: 0 6px 25px rgba(184, 34, 6, 0.4); }
}

.video-inner-container {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background-color: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Стилизация самого стороннего плеера */
.plyr {
    border-radius: 12px;
}

/* Прячем водяные знаки, которые могут проскочить на мобильных */
.plyr__video-embed iframe {
    top: -50px !important;
    height: calc(100% + 100px) !important;
}

/* Изначальное состояние блока (скрыт, места не занимает) */
#timedButtonsBlock {
    display: none !important; /* Жестко скрываем */
    opacity: 0;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    transition: opacity 0.8s ease, margin 0.8s ease;
}

/* Состояние, когда класс добавился через JS */
#timedButtonsBlock.show-buttons {
    display: flex !important; /* Перебиваем скрытие и показываем кнопки */
    opacity: 1;
    /* Задаем красивые отступы, чтобы блок плавно отодвинулся от плеера и заголовка */
    margin-top: 30px !important; 
    margin-bottom: 40px !important; 
}

/* ==========================================================================
   АДАТИВНІСТЬ СТОРІНКИ ПЛЕЄРА
   ========================================================================== */

@media (max-width: 850px) {
    .steps-grid {
        grid-template-columns: 100%; /* Картки в один стовпчик на планшетах */
        gap: 15px;
    }
    
    .step-card {
        padding: 20px;
    }
}

@media (max-width: 650px) {
    .video-presentation-section {
        /* Строго тримаємо відступи за вашим ТЗ */
        padding-top: 70px;
        padding-bottom: 120px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .video-main-title {
        margin-bottom: 30px;
    }
    
    .video-wrapper-outer {
        margin-bottom: 40px;
        border-radius: 14px;
        padding: 6px;
    }

    .action-buttons-holder {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        min-width: 100%;
        padding: 18px 25px;
    }
} 


/* ==========================================================================
  7 ДОДАТКОВИЙ БЛОК: ФІКСОВАНА ПЛАШКА ВНИЗУ (Screenshot_5.jpg)
   ========================================================================== */

.sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.96); /* Біла плашка з прозорістю 94% */
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
    z-index: 1900; /* Трохи нижче ніж ваш попап (у якого z-index: 2000) */
    
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    /* Схована за замовчуванням */
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
}

/* Клас появи плашки (активується через JS) */
.sticky-bottom-bar.show {
    opacity: 1;
    transform: translateY(0);
}

.sticky-bar-container {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

/* Кнопки на плашці за стилем вашої головної кнопки .popup-submit-btn */
.btn-sticky {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 35px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px; /* Круглі кнопки, як і у попапі */
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    box-shadow: 0 4px 15px rgba(184, 34, 6, 0.35);
    transition: all 0.3s ease;
    opacity: 1;
    z-index: 3;
    /* Фірмовий червоно-помаранчевий градієнт, як у вашій кнопці */
    background: linear-gradient(90deg, #961205 0%, #b82206 35%, #d83b0b 75%, #e14e14 100%) !important;
    background-size: 200% auto !important; /* Потрібно для плавності анімації */
    color: #ffffff !important;
    box-shadow: 0 6px 25px rgba(184, 34, 6, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    /* Одночасна постійна анімація переливу кольору та мікро-пульсації масштабу */
    animation: buttonGlow 4s linear infinite, buttonPulse 2.5s ease-in-out infinite !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Ефект Бліку (Світлова смуга при наведенні) */
.btn-sticky::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-25deg);
    transition: none;
}

.btn-sticky:hover {
    transform: translateY(-4px) scale(1.03); /* Кнопка трохи підводиться та збільшується */
    box-shadow: 0 12px 35px rgba(216, 59, 11, 0.6);
    filter: brightness(1.08);
}

.btn-sticky:active {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 5px 15px rgba(216, 59, 11, 0.4);
}



/* Адаптивність плашки для мобільних пристроїв */
@media (max-width: 650px) {
    .sticky-bottom-bar {
        padding: 12px 15px;
    }
    .sticky-bar-container {
        flex-direction: column; /* Кнопки стають одна під одною */
        gap: 10px;
        width: 100%;
    }
    .btn-sticky {
        width: 100%; /* На мобільних кнопки розтягуються на всю ширину */
        padding: 24px 14px;
        font-size: 15px;
    }
}


/* ==========================================================================
////////////////////////////////////////////////////////////////////////////
   8. ПОПАП ВІКНО ТА ФОРМА (ПОВНА СТИЛІЗАЦІЯ З ІКОНКАМИ-КАРТИНКАМИ)
   ========================================================================== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 11, 13, 0.85); /* Затемнення бекграунду */
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

/* Клас для відкриття через JS */
.popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.popup-window {
    background-color: #0b1114;
    width: 100%;
    max-width: 620px;
    border: 1px solid rgba(243, 198, 35, 0.4); /* Золотава тонка рамка */
    border-radius: 16px;
    padding: 40px 35px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.popup-overlay.active .popup-window {
    transform: scale(1);
}

/* Кнопка закриття */
.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.popup-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Типографіка попапу */
.popup-title {
    font-size: 26px;
    font-weight: 800;
    text-align: center;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.25;
}

.popup-subtitle {
    font-size: 16px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 400;
}

/* Поле вводу телефону — Адаптація під плагін */
.input-group {
    margin-bottom: 25px;
    position: relative;
}

.input-label {
    display: block;
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 10px;
}

.label-sub {
    color: #cedee5;
    opacity: 0.7;
    font-size: 13px;
}

/* Контейнер-основа для плагіну */
.phone-input-wrapper {
    background-color: #ffffff;
    border-radius: 14px;
    height: 56px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    transition: box-shadow 0.2s ease;
}

/* Розтягуємо контейнер самого плагіну на всю ширину та висоту */
.phone-input-wrapper .iti {
    width: 100%;
    height: 100%;
}

/* Стилізація інпуту всередині плагіну */
#form-field-phone_field {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    outline: none !important;
    background-color: transparent !important;
    padding: 0 20px 0 105px !important; /* Великий відступ зліва під прапори */
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: 0.5px;
}
#form-field-phone_field::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

/* Колір тексту у випадаючому списку країн */
.iti__country-list {
    background-color: #ffffff !important;
    color: #0f172a !important;
}
.iti__selected-dial-code {
    color: #334155 !important;
    font-weight: 500;
    font-size: 16px;
}

/* Текст помилки валідації з JS */
.iti-err-txt {
    color: #ff4a4a;
    font-size: 13px;
    margin-top: 8px;
    display: none; /* Керується через JS */
    text-align: left;
    font-weight: 500;
    padding-left: 4px;
}

/* Клас помилки, який JS вішає на інпут при невдалій валідації */
.iti-invalid-field {
    box-shadow: 0 0 0 2px #ff4a4a !important;
    border-radius: 14px;
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

/* Блок вибору месенджерів */
.messengers-group {
    margin-bottom: 32px;
    text-align: center;
}

.messengers-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.messengers-subtitle {
    font-size: 13px;
    color: #4ed2ff;
    margin-bottom: 18px;
    opacity: 0.9;
}

/* Сітка для трьох кнопок */
.messengers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.messenger-box {
    cursor: pointer;
    display: block;
}

.hidden-checkbox {
    display: none;
}

/* Кастомна кнопка-чекбокс */
.messenger-button {
    background-color: #0f1619;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 14px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Збалансований відступ між картинкою та текстом */
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Контейнер під картинку */
.ms-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;  /* Фіксована ширина під пропорції шрифту */
    height: 20px; /* Фіксована висота */
}

/* Сама картинка png */
.messenger-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Захист від розтягування/стискання */
    display: block;
}

/* ПІДСВІЧУВАННЯ ТА СТИЛІ ПРИ КЛІЦІ (CHECKED) */
.hidden-checkbox:checked + .messenger-button.tg-btn {
    background-color: rgba(0, 136, 204, 0.15);
    border-color: #0088cc;
    color: #0088cc;
    box-shadow: 0 0 15px rgba(0, 136, 204, 0.4);
}

.hidden-checkbox:checked + .messenger-button.wa-btn {
    background-color: rgba(37, 211, 102, 0.15);
    border-color: #25d366;
    color: #25d366;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
}

.hidden-checkbox:checked + .messenger-button.vb-btn {
    background-color: rgba(115, 96, 242, 0.15);
    border-color: #7360f2;
    color: #7360f2;
    box-shadow: 0 0 15px rgba(115, 96, 242, 0.4);
}

/* Кнопка надіслати у попапі */
.popup-submit-btn {
    width: 100%;
    background: linear-gradient(90deg, #961205 0%, #b82206 35%, #d83b0b 75%, #e14e14 100%) !important;
    background-size: 200% auto !important;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 18px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(184, 34, 6, 0.4);
    transition: all 0.3s ease;
    margin-top: 20px;
}

.popup-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(216, 59, 11, 0.55);
    filter: brightness(1.08);
}

/* Адаптивність попапу для мобільних пристроїв */
@media (max-width: 580px) {
    .popup-window {
        padding: 30px 20px;
    }
    .popup-title {
        font-size: 20px;
    }
    .messengers-grid {
        grid-template-columns: 100%; /* На мобільних кнопки стають одна під одною */
        gap: 10px;
    }
    .messenger-button {
        padding: 16px;
        justify-content: flex-start; /* Вирівнювання по лівому краю на мобільних для краси */
        padding-left: 25px;
    }
}



/* ==========================================================================
******************************************************************************
/////////////////////////////////////////////////////////////////////////////
   9. АДАПТИВНИЙ ДИЗАЙН (ЗБЕРЕЖЕННЯ ВІДСТУПІВ 15px ДЛЯ МОБІЛЬНИХ)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title { 
        font-size: 36px; 
    }
}

@media (max-width: 768px) {
    #hero-section { 
        padding: 40px 0; 
    }
    
    /* Зміна ширини логотипу до 155px на мобільних за ТЗ */
    .logo-img { 
        width: 155px; 
    } 
    
    .hero-header { 
        justify-content: center; /* Центруємо для ідеальної мобільної симетрії */
        margin-bottom: 40px; 
    }
    
    /* Текстовий блок тримає акуратні пропорції та адаптивні мікро-відступи */
    .hero-subtitle { 
        font-size: 12px; 
        letter-spacing: 1.5px;
        margin-bottom: 18px; 
    }
    
    .hero-title { 
        font-size: 25px; 
        line-height: 1.35; 
        margin: 15% 0 15% 0; 
    }
    
    .hero-description { 
        font-size: 15px; 
        line-height: 1.55; 
        margin-bottom: 36px; 
        width: 100%;
    }
    
    .btn { 
        width: 100%; 
        max-width: 360px; 
        padding: 18px 24px; 
        font-size: 15px; 
    }
}

@media (max-width: 580px) {
    .popup-window {
        padding: 30px 20px;
    }
    .popup-title {
        font-size: 20px;
    }
    .messengers-grid {
        grid-template-columns: 100%;
        gap: 10px;
    }
    .messenger-button {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title { 
        font-size: 22px; 
        line-height: 1.4;
    }
}


/* ==========================================================================
   АДАПТИВНІСТЬ ДЛЯ ВСІХ ТИПІВ ЕКРАНІВ БЛОК 2
   ========================================================================== */

@media (max-width: 992px) {
    .expert-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .expert-image-wrapper {
        max-width: 440px;
        margin: 0 auto;
    }
    .expert-header {
        text-align: center;
        margin-bottom: 35px;
    }
}

@media (max-width: 650px) {
    .expert-section { 
        padding: 70px 15px; 
    }
    .expert-features-list { 
        margin-bottom: 40px; 
    }
    
    /* На мобільних телефонах розгортаємо бейджі знову вертикально або в один акуратний стовпчик */
    .expert-badges-row { 
        grid-template-columns: 100%; 
        gap: 25px; 
        padding-top: 25px;
    }
    .badge-item { 
        flex-direction: row; 
        text-align: left; 
        align-items: center; 
        gap: 20px; 
    }
    .badge-icon { 
        margin-bottom: 0; 
        width: 50px; 
        min-width: 50px; 
        height: 50px;
        justify-content: center; 
    }
    .badge-icon-text {
        font-size: 32px;
    }
    .badge-icon-text span {
        font-size: 11px;
    }
}


/* ==========================================================================
   АДАПТИВНІСТЬ (ПЛАТФОРМИ ТА МОБІЛЬНІ) блок 3
   ========================================================================== */

@media (max-width: 1024px) {
    .benefits-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .benefits-badges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 650px) {
    .benefits-section {
        padding: 70px 15px; /* Залишаємо 70px відступи зверху/знизу щоб сайт дихав */
    }
    
    .benefits-title {
        text-align: center;
        margin-bottom: 40px;
    }


    /* ==========================================================================
   АДАПТИВНІСТЬ БЛОКУ  4
   ========================================================================== */

@media (max-width: 991px) {
    .ntc-container {
        grid-template-columns: 100%; /* Контент стає в один стовпчик */
        gap: 45px;
    }

    .ntc-content-col {
        text-align: center;
    }

    .ntc-title {
        margin-bottom: 25px;
    }
    
    .ntc-comparison-header {
        max-width: 480px;
    }
}

@media (max-width: 650px) {
    .ntc-section {
        padding: 70px 15px; /* Зберігаємо 70px padding-top/bottom для дихання */
    }

    .ntc-container {
        gap: 35px;
    }

    /* На мобільних плашки стають одна під одною для кращого зчитування */
    .ntc-comparison-header {
        grid-template-columns: 100%;
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .comparison-badge {
        padding: 10px 12px;
    }

    /* Зміна вектору анімації для телефонів */
    .ntc-content-col {
        transform: translateY(30px) translateX(0);
    }
}
    .benefits-cards-grid {
        grid-template-columns: 100%;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    /* На мобільних вимикаємо складні 3D нахили, залишаючи класичний красивий вихід */
    .card-inner {
        padding: 35px 20px;
        transform: translateY(40px) scale(0.95);
    }
    
    .benefits-badges-grid {
        grid-template-columns: 100%;
        gap: 15px;
        padding-top: 30px;
    }
    
    .benefit-badge {
        background-color: #f8fafc;
        padding: 14px 18px;
        border-radius: 12px;
        transform: translateX(-20px);
    }
}


/* ==========================================================================
   АДАПТИВНІСТЬ ДЛЯ СЕРЕДНІХ ТА МАЛИХ ЕКРАНІВ Блок 5
   ========================================================================== */

@media (max-width: 991px) {
    .safety-main-grid {
        grid-template-columns: 100%; /* Перехід в один стовпчик */
        gap: 50px;
    }
    
    .safety-visual-col {
        order: -1; /* Картинка продукту на планшетах стає НАД текстом */
    }
    
    .safety-product-wrapper {
        max-width: 380px; /* Зменшуємо габарити картинок */
    }

    .safety-footer-grid {
        grid-template-columns: 100%;
        gap: 35px;
        text-align: center;
    }
    
    .safety-trust-badge {
        flex-direction: column;
        text-align: center;
    }
    
    .safety-logos-wrapper {
        justify-content: center;
        gap: 40px;
    }
}

@media (max-width: 650px) {
    .safety-section {
        padding: 70px 15px; /* Строго витримуємо 70px padding зверху та знизу для повітря */
    }
    
    .safety-main-title {
        text-align: center;
        margin-bottom: 35px;
    }

    .safety-row {
        flex-direction: column; /* Медалі стають над своїм текстом */
        text-align: center;
        gap: 12px;
    }

    .safety-medal-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .safety-logos-wrapper {
        flex-direction: column; /* Логотипи kaches, SPORT 1, SPORT 2 вибудовуються один під одним */
        gap: 25px;
    }
    
    .sport-logo {
        max-height: 90px;
    }
}

/* ==========================================================================
   АДАПТИВНІСТЬ ДЛЯ ПЛАНШЕТІВ ТА МОБІЛЬНИХ Блок 6
   ========================================================================== */

@media (max-width: 991px) {
    .presentation-main-grid {
        grid-template-columns: 100%; /* Перебудова в один стовпчик */
        gap: 40px;
    }
    
    .presentation-visual-col {
        order: -1; /* Ноутбук стає над списком на мобільних та планшетах */
    }
    
    .mockup-wrapper {
        max-width: 380px;
    }

    .presentation-summary-box {
        flex-direction: column; /* Елементи плашки стають один під одним */
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }

    .summary-left {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .summary-divider {
        width: 100%;
        height: 1px; /* Горизонтальна лінія замість вертикальної */
    }
}

@media (max-width: 650px) {
    .presentation-section {
        /* Зберігаємо точні відступи за ТЗ: верх 70px, низ 120px */
        padding-top: 70px;
        padding-bottom: 220px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .presentation-main-title {
        text-align: center;
        margin-bottom: 35px;
    }

    .presentation-item {
        flex-direction: column; /* Іконка стає над текстом */
        text-align: center;
        gap: 12px;
    }

    .item-icon-wrapper {
        width: 100px;
        height: 100px;
    }
}