/* ==========================================
   ОСНОВНІ СТИЛІ СТОРІНКИ (ПЕРЕНЕСЕНІ З HTML)
   ========================================== */
:root {
    --bg: #0b0e11;
    --blue: #00b8d9;
    --yellow: #fcd535;
    --mouse-x: 0deg;
    --mouse-y: 0deg;
}

body, html {
    margin: 0; padding: 0; 
    background-color: var(--bg); 
    color: #fff;
    font-family: 'Inter', sans-serif; 
    overflow-x: hidden;
    user-select: none; 
}

/* ==========================================
   3D СЦЕНА ТА ГЕРОЙ
   ========================================== */
.scene {
    perspective: 1500px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transform-style: preserve-3d;
    padding-bottom: 100px;
    z-index: 10;
}

.space-bg {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: radial-gradient(circle at center, #111a28 0%, #0b0e11 100%);
    z-index: 1;
}

#parallax-bg {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 2;
    pointer-events: none; overflow: hidden;
}

.abstract-shape {
    position: fixed; border-radius: 50%; filter: blur(80px); opacity: 0.4; z-index: 3; pointer-events: none;
}
.shape-1 { width: 400px; height: 400px; background: #00b8d9; top: 10%; left: 10%; transform: translateZ(-500px); }
.shape-2 { width: 500px; height: 500px; background: #3b82f6; bottom: 20%; right: 5%; transform: translateZ(-800px); }
.shape-3 { width: 300px; height: 300px; background: #fcd535; top: 40%; left: 40%; opacity: 0.15; transform: translateZ(-300px); }

.hero {
    height: 70vh;
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
    transform: rotateX(var(--mouse-y)) rotateY(var(--mouse-x));
    transform-style: preserve-3d; transition: transform 0.1s ease-out; z-index: 10;
}
.logo-3d {
    font-size: 80px; font-weight: 900; letter-spacing: 2px;
    text-shadow: 0 10px 40px rgba(0,184,217,0.6); transform: translateZ(120px); margin-bottom: 20px;
}
.logo-3d span { color: var(--blue); }
.hero h1 { 
    font-size: 50px; margin: 0; background: linear-gradient(135deg, #ffffff, #848a9c); 
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; transform: translateZ(80px); 
}
.hero p {
    font-size: 22px; color: var(--yellow); font-weight: 800; letter-spacing: 4px; text-transform: uppercase;
    margin-top: 30px; transform: translateZ(150px); text-shadow: 0 0 20px rgba(252, 213, 53, 0.5);
    background: rgba(11, 14, 17, 0.5); padding: 10px 30px; border-radius: 50px; border: 1px solid rgba(252,213,53,0.3);
}

/* ==========================================
   ВІДЕО КОНТЕЙНЕР НА ГОЛОВНІЙ
   ========================================== */
.video-container {
    position: relative;
    margin-top: 20px;
    width: 85%;
    max-width: 1100px;
    border-radius: 20px;
    padding: 8px;
    background: linear-gradient(135deg, rgba(0,184,217,0.2), rgba(252,213,53,0.1));
    box-shadow: 0 30px 60px rgba(0,0,0,0.9), 0 0 40px rgba(0,184,217,0.2);
    transform: translateZ(-200px) rotateX(20deg);
    opacity: 0;
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 10;
}
.video-container.visible {
    transform: translateZ(50px) rotateX(0deg); opacity: 1;
}

.video-switcher {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 25;
}
.video-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}
.video-dot.active {
    background: var(--blue);
    border-color: #fff;
    box-shadow: 0 0 15px var(--blue);
    transform: scale(1.2);
}
.video-dot:hover {
    background: rgba(255, 255, 255, 0.9);
}

video { 
    width: 100%; border-radius: 14px; display: block; outline: none;
    pointer-events: none; 
}

.unmute-btn {
    position: absolute; bottom: 30px; right: 30px;
    background: rgba(11, 14, 17, 0.8); color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2); padding: 10px 20px; border-radius: 12px;
    font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
    cursor: pointer; backdrop-filter: blur(5px); transition: 0.3s; z-index: 20;
    display: flex; align-items: center; gap: 8px;
}
.unmute-btn:hover { background: rgba(0, 184, 217, 0.8); border-color: var(--blue); }

.video-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 15;
    background: transparent;
}

/* ==========================================
   QA ДОСТУП ТА МОДАЛЬНЕ ВІКНО
   ========================================== */
.qa-btn {
    position: absolute; top: 20px; right: 20px;
    background: rgba(11, 14, 17, 0.5); color: #4a5568;
    border: 1px solid rgba(255,255,255,0.1); padding: 8px 15px;
    border-radius: 8px; font-size: 14px; font-weight: bold;
    cursor: pointer; z-index: 100; transition: all 0.3s;
}
.qa-btn:hover { background: rgba(0, 184, 217, 0.2); color: #fff; border-color: var(--blue); }

.qa-modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); z-index: 999;
    justify-content: center; align-items: center;
}
.qa-modal {
    background: #0b0e11; border: 1px solid var(--blue); border-radius: 16px;
    padding: 30px; width: 300px; text-align: center; box-shadow: 0 0 30px rgba(0,184,217,0.3);
}
.qa-modal h2 { margin-top: 0; color: #fff; font-size: 20px; margin-bottom: 20px; }
.qa-input {
    width: 85%; padding: 12px; margin-bottom: 15px; border-radius: 8px;
    border: 1px solid #2d3748; background: #1a202c; color: #fff; outline: none; font-size: 16px;
}
.qa-input:focus { border-color: var(--blue); }
.qa-submit {
    width: 95%; padding: 12px; border-radius: 8px; border: none;
    background: var(--blue); color: #000; font-weight: bold; font-size: 16px; cursor: pointer; margin-bottom: 15px; transition: 0.3s;
}
.qa-submit:hover { background: #00e5ff; }
.qa-close { color: #a0aec0; cursor: pointer; font-size: 14px; text-decoration: underline; transition: 0.3s; }
.qa-close:hover { color: #fff; }

/* ==========================================
   СТИЛІ ДЛЯ МОДАЛЬНОГО ВІКНА МІСІЇ ПРОЄКТУ (PROMO)
   ========================================== */
.mission-modal-overlay {
    display: none; 
    position: fixed; 
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(11, 14, 17, 0.85); 
    backdrop-filter: blur(8px); 
    z-index: 9999;
    justify-content: center; 
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mission-modal-overlay.show {
    display: flex;
    opacity: 1;
}

.mission-modal {
    background: linear-gradient(145deg, #111a28, #0b0e11);
    border: 1px solid #00b8d9;
    border-radius: 16px;
    width: 90%;
    max-width: 650px;
    max-height: 90vh;
    box-shadow: 0 0 40px rgba(0, 184, 217, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transition: transform 0.4s ease;
}

.mission-modal-overlay.show .mission-modal {
    transform: scale(1);
}

.mission-modal-header {
    background: rgba(0, 184, 217, 0.1);
    padding: 20px 25px;
    display: flex;
    justify-content: center; 
    align-items: center;
    border-bottom: 1px solid rgba(0, 184, 217, 0.3);
    position: relative; 
}

.mission-modal-header h2 {
    margin: 0;
    color: #ef4444;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    text-align: center; 
    line-height: 1.4; 
}

/* ==========================================
   АНІМАЦІЯ ДЛЯ ГОЛОВНОГО ЗАГОЛОВКА
   ========================================== */
.animated-brand {
    display: inline-block;
    margin-top: 5px; 
    background: linear-gradient(90deg, #00b8d9, #fcd535, #00e5ff, #00b8d9);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 15px rgba(0, 184, 217, 0.5);
    animation: brandShine 4s linear infinite;
}

@keyframes brandShine {
    0% { background-position: 100% 0; }
    100% { background-position: -200% 0; }
}

/* ==========================================
   АНІМАЦІЯ ДЛЯ ТЕКСТУ ЗІ ШІ
   ========================================== */
.ai-highlight {
    display: inline-block;
    color: #00b8d9;
    margin: 4px 0;
    letter-spacing: 2px;
    animation: aiPulse 2.5s ease-in-out infinite;
}

@keyframes aiPulse {
    0%, 100% { 
        color: #00b8d9;
        text-shadow: 0 0 10px rgba(0, 184, 217, 0.4); 
    }
    50% { 
        color: #00e5ff;
        text-shadow: 0 0 25px rgba(0, 229, 255, 0.9), 0 0 5px rgba(255, 255, 255, 0.5); 
    }
}

/* ==========================================
   АНІМАЦІЯ ДЛЯ "ЕКОСИСТЕМА МАЙБУТНЬОГО"
   ========================================== */
.eco-highlight {
    display: inline-block;
    color: #fcd535;
    margin: 4px 0;
    letter-spacing: 1.5px;
    animation: ecoPulse 3s ease-in-out infinite;
}

@keyframes ecoPulse {
    0%, 100% { 
        color: #fcd535;
        text-shadow: 0 0 10px rgba(252, 213, 53, 0.4); 
    }
    50% { 
        color: #ffffff;
        text-shadow: 0 0 25px rgba(252, 213, 53, 0.9), 0 0 10px rgba(255, 255, 255, 0.8); 
    }
}

.mission-close {
    color: #a0aec0;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
    position: absolute; 
    right: 25px;
    top: 50%;
    transform: translateY(-50%); 
}

.mission-close:hover {
    color: #ffffff;
}

.mission-modal-body {
    padding: 25px;
    overflow-y: auto;
    color: #e2e8f0;
}

.mission-intro {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.mission-intro strong {
    color: #00b8d9;
}

.mission-legal-info {
    font-size: 13px;
    line-height: 1.5;
    background: rgba(0, 184, 217, 0.05);
    padding: 15px;
    border-radius: 8px;
    border: 1px dashed rgba(0, 184, 217, 0.3);
    margin-bottom: 20px;
    color: #cbd5e0;
}

.mission-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: flex;
    flex-direction: column;
    gap: 15px; 
}

.mission-list li {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 15px;
    border-radius: 12px;
    border-left: 4px solid #fcd535;
    gap: 20px; 
    transition: background 0.3s ease;
}

.mission-list li:hover {
    background: rgba(255, 255, 255, 0.06);
}

.mission-icon {
    width: 140px; 
    height: auto;
    border-radius: 8px;
    flex-shrink: 0; 
    object-fit: contain;
}

.mission-text {
    font-size: 14px;
    line-height: 1.5;
    color: #e2e8f0;
}

.mission-text strong {
    color: #fcd535;
}

.mission-footer-actions {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.mission-checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #a0aec0;
    user-select: none;
    transition: color 0.3s;
}

.mission-checkbox-container:hover {
    color: #ffffff;
}

.mission-checkbox-container input {
    margin-right: 10px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: #00b8d9; 
}

.mission-btn-accept {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: none;
    background: #00b8d9;
    color: #0b0e11;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mission-btn-accept:hover {
    background: #00e5ff;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.mission-modal-body::-webkit-scrollbar {
    width: 6px;
}

.mission-modal-body::-webkit-scrollbar-track {
    background: rgba(11, 14, 17, 0.5);
    border-radius: 8px;
}

.mission-modal-body::-webkit-scrollbar-thumb {
    background: #00b8d9;
    border-radius: 8px;
}

.mission-modal-body::-webkit-scrollbar-thumb:hover {
    background: #00e5ff;
}

.mission-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px; 
}

.mission-company-logo {
    width: 150px; 
    height: auto;
    padding: 8px; 
    border-radius: 12px; 
    border: 1px solid transparent; 
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
}

.mission-company-logo:hover {
    transform: scale(1.05);
    border-color: #fbbf24; 
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.6); 
    background-color: rgba(255, 255, 255, 0.02); 
}

.mission-top-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 25px; 
    padding-top: 10px;
}

.mission-top-logo {
    width: 250px; 
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.mission-top-logo:hover {
    transform: scale(1.02); 
}

/* ==========================================
   ВІДЕО-ПРЕЛОАДЕР (ЗАВАНТАЖЕННЯ САЙТУ)
   ========================================== */
#intro-flow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999; 
    background-color: var(--bg, #0b0e11); 
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease-out;
}

#promo-intro-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hidden {
    display: none !important;
}

/* ==========================================
   ШКАЛА ПРОГРЕСУ (ОНОВЛЕНО ДО 37%)
   ========================================== */
.dev-progress-container {
    width: 70%;
    max-width: 900px;
    margin: -150px auto 30px auto; 
    z-index: 50;
    position: relative;
    cursor: pointer;
    perspective: 1000px;
}

.dev-progress-title {
    text-align: center;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.dev-progress-title::before,
.dev-progress-title::after {
    content: '';
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.dev-progress-bar {
    width: 100%;
    height: 35px;
    background: rgba(11, 14, 17, 0.9);
    border: 2px solid rgba(0, 184, 217, 0.5);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(0, 184, 217, 0.2), 0 0 10px rgba(0, 0, 0, 0.8) inset;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dev-progress-fill {
    width: 37%; 
    height: 100%;
    background: linear-gradient(90deg, #005a8f, var(--blue), #00e5ff);
    box-shadow: 0 0 30px rgba(0, 229, 255, 1);
    border-radius: 18px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.dev-progress-percent {
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    z-index: 10;
    position: relative;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
}

.dev-progress-container:hover .dev-progress-bar {
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.4), 0 0 10px rgba(0, 0, 0, 0.8) inset;
    transition: box-shadow 0.3s ease;
}

.dev-progress-container:hover .dev-progress-fill {
    animation: loadCosmicProgress 3s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
}

@keyframes loadCosmicProgress {
    0% { width: 0%; opacity: 0.5; }
    100% { width: 37%; opacity: 1; } 
}

/* ==========================================
   СТИЛІ ДЛЯ ЗБІЛЬШЕННЯ КАРТИНОК ТА ТЕКСТУ (ZOOM)
   ========================================== */
.mission-list li {
    cursor: pointer; /* Тепер весь рядок клікабельний */
}

.mission-icon {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-list li:hover .mission-icon {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 184, 217, 0.4);
}

.image-zoom-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(11, 14, 17, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100000;
    justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

.image-zoom-overlay.show {
    display: flex; opacity: 1;
}

.image-zoom-container {
    display: flex;
    flex-direction: column; /* Перенесли текст вниз */
    background: linear-gradient(145deg, #111a28, #0b0e11);
    border: 1px solid #00b8d9;
    border-radius: 16px;
    box-shadow: 0 0 40px rgba(0, 184, 217, 0.3);
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.image-zoom-container.fade-out {
    opacity: 0 !important;
    transform: scale(0.9) !important;
}

.image-zoom-overlay.show .image-zoom-container {
    transform: scale(1);
    opacity: 1;
}

.image-zoom-content {
    width: 100%;
    max-height: 55vh; /* Картинка займає максимум 55% висоти екрану */
    object-fit: contain; /* ВАЖЛИВО: картинка відображається на 100% без обрізання */
    background-color: #050709; /* Темний фон під картинкою для контрасту */
    border-bottom: 1px solid rgba(0, 184, 217, 0.3);
}

.image-zoom-text-block {
    width: 100%;
    padding: 30px 40px;
    overflow-y: auto;
    display: flex;
    align-items: flex-start;
    box-sizing: border-box; /* Забороняємо блоку вилазити за межі батька */
}

/* Красивий збільшений текст */
.zoomed-text-content {
    width: 100%; /* Гарантуємо повну ширину без зсувів */
    color: #e2e8f0;
    font-size: 18px;
    line-height: 1.6;
    word-wrap: break-word; /* Надійне перенесення довгих слів */
}

.zoomed-text-content strong {
    color: #fcd535;
    font-size: 24px;
    display: block;
    margin-bottom: 10px;
    line-height: 1.3;
}

.image-zoom-close {
    position: absolute;
    top: 20px; right: 30px;
    color: #a0aec0;
    font-size: 45px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 100001;
}

.image-zoom-close:hover {
    color: #fff; text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Кнопки навігації (Вліво / Вправо) */
.zoom-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 60px;
    cursor: pointer;
    z-index: 100001;
    padding: 20px;
    transition: all 0.3s ease;
    user-select: none;
}

.zoom-nav-btn:hover {
    color: #00b8d9;
    text-shadow: 0 0 20px rgba(0, 184, 217, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Адаптація для планшетів та телефонів */
@media (max-width: 768px) {
    .image-zoom-content {
        max-height: 40vh;
    }
    .image-zoom-text-block {
        padding: 20px;
    }
    .zoomed-text-content {
        font-size: 15px;
    }
    .zoomed-text-content strong {
        font-size: 18px;
        margin-bottom: 10px;
    }
    .image-zoom-close {
        top: 10px; right: 15px; font-size: 35px;
    }
    .zoom-nav-btn {
        font-size: 40px;
        padding: 10px;
    }
    .prev-btn {
        left: 5px;
    }
    .next-btn {
        right: 5px;
    }
}
/* ==========================================
   КНОПКА ЗВУКУ ДЛЯ ВІДЕО-ПРЕЛОАДЕРУ
   ========================================== */
.sound-control-btn {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: rgba(11, 14, 17, 0.8);
    border: 1px solid rgba(0, 184, 217, 0.5);
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.sound-control-btn:hover {
    border-color: #00b8d9;
    box-shadow: 0 0 15px rgba(0, 184, 217, 0.4);
}

.sound-control-btn.sound-active {
    border-color: #fcd535;
    color: #fcd535;
}

/* ======================================================== */
/* МЕДІА-ЗАПИТИ ДЛЯ АДАПТАЦІЇ (МОБІЛЬНА ВЕРСІЯ) */
/* ======================================================== */
@media (max-width: 768px) {
    /* Герой та текст */
    .logo-3d { font-size: 32px; margin-bottom: 15px; }
    .hero h1 { font-size: 22px; padding: 0 10px; line-height: 1.3; }
    .hero p { font-size: 12px; padding: 10px 15px; margin-top: 20px; letter-spacing: 2px; line-height: 1.4; }
    .hero { padding-top: 15vh; height: 60vh; }
    
    /* Прогрес-бар */
    .dev-progress-container { width: 95%; margin-top: -40px; }
    .dev-progress-title { font-size: 12px; letter-spacing: 1px; gap: 8px; }
    .dev-progress-title::before, .dev-progress-title::after { width: 25px; }
    .dev-progress-bar { height: 28px; }
    .dev-progress-percent { font-size: 14px; }
    
    /* Відео-контейнер */
    .video-container { width: 95%; margin-top: 20px; border-radius: 12px; padding: 4px; }
    .video-switcher { top: 10px; }
    .video-dot { width: 10px; height: 10px; }
    .unmute-btn { bottom: 10px; right: 10px; padding: 6px 12px; font-size: 11px; }
    
    /* Декорації космічного фону */
    .shape-1 { width: 200px; height: 200px; }
    .shape-2 { width: 250px; height: 250px; }
    
    /* QA Доступ та Модальні вікна */
    .qa-btn { top: 15px; right: 15px; font-size: 11px; padding: 6px 10px; }
    .qa-modal { width: 85%; max-width: 320px; padding: 20px; box-sizing: border-box; }
    .qa-input { width: 100%; box-sizing: border-box; }
    .qa-submit { width: 100%; box-sizing: border-box; }
    
    /* Адаптація інформаційного вікна місії */
    .mission-modal { width: 95% !important; max-height: 90vh; overflow-y: auto; padding: 20px 15px !important; box-sizing: border-box; }
    .mission-modal-header { position: relative; }
    .mission-modal-header h2 { font-size: 13px !important; line-height: 1.4 !important; }
    .mission-close { position: absolute; top: -10px; right: -5px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-size: 24px; background: #0b0e11; border: 1px solid rgba(0, 184, 217, 0.5); border-radius: 50%; z-index: 10; color: #fff; }
    .mission-list { gap: 10px; margin-bottom: 15px; }
    .mission-list li { flex-direction: column; text-align: left; gap: 12px; background: rgba(0, 184, 217, 0.05); padding: 15px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.05); border-left: none; border-top: 3px solid #fcd535;}
    .mission-icon { margin: 0 auto !important; width: 100% !important; height: auto !important; border-radius: 8px; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.5); }
    .eco-highlight { font-size: 12px !important; }
    .ai-highlight { font-size: 13px !important; }
    .animated-brand { font-size: 14px !important; }

    /* Логотипи */
    .mission-top-logo { width: 200px; }
    .mission-company-logo { width: 120px; }
    .mission-logo-container { margin-bottom: 15px; }
    .mission-top-logo-container { margin-bottom: 15px; }

    /* Тексти */
    .mission-intro { font-size: 14px; margin-bottom: 15px; text-align: center; }
    .mission-legal-info { font-size: 11px; padding: 10px; margin-bottom: 15px; text-align: center; }
    .mission-text { font-size: 12px; }

    /* Чекбокс та кнопка */
    .mission-footer-actions { margin-top: 15px; gap: 10px; }
    .mission-checkbox-container { font-size: 12px; }
    .mission-btn-accept { padding: 12px; font-size: 14px; }
    
    /* Зум та кнопки звуку */
    .image-zoom-close { top: 15px; right: 20px; font-size: 30px; }
    .sound-control-btn { bottom: 20px; right: 20px; padding: 10px 16px; font-size: 12px; }

    /* Відео інтро */
    #promo-intro-video {
        object-fit: contain !important;
        width: 100vw !important;
        height: 100vh !important;
        background-color: #0b0e11 !important;
    }
}

/* Додатковий фікс для дуже маленьких екранів (наприклад, iPhone SE) */
@media (max-width: 380px) {
    .logo-3d { font-size: 26px; }
    .hero h1 { font-size: 18px; }
    .dev-progress-percent { font-size: 12px; }
    .mission-top-logo { width: 160px; }
    .mission-company-logo { width: 100px; }
    .mission-modal-header h2 { font-size: 14px; }
    .mission-text { font-size: 11px; line-height: 1.4; }
    .dev-progress-title { font-size: 12px; gap: 10px; }
    .dev-progress-title::before, .dev-progress-title::after { width: 25px; }
}