/* ==========================================================================
   1. ОБЩИЕ НАСТРОЙКИ И ПЕРЕМЕННЫЕ
   ========================================================================== */
:root {
    --bg-charcoal: #010205;   
    --bg-main: #03050a;       
    --bg-dark-chat: #0a1428;
    --accent-cyan: #06b6d4;   
    --accent-blue: #2f80ed;   
    --cyan-bright: #00d4ff;
    --cyan-dark: #0096d9;
    --cyan-border: rgba(0, 212, 255, 0.25);
    --cyan-glow: rgba(0, 212, 255, 0.15);
    --text-light: #f5f5f7;    
    --text-muted: #86868b;    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    
    --apple-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    --apple-border: 1px solid rgba(255, 255, 255, 0.12);
    --apple-blur: blur(30px) saturate(160%);
    --apple-shadow: 0 4px 30px rgba(0, 0, 0, 0.2), 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html {
    font-size: 20px; 
    scroll-behavior: smooth;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    background-color: var(--bg-main);
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.85rem;
}

h1, h2, h3, .step-num, .chat-title, .route-title, .tab-toggle-btn, .review-toggle-btn, .review-submit-btn, .toast-notification-hub, .nav-menu a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: 1.5px;
}

body::before {
    content: ''; 
    position: fixed; 
    top: 0; left: 0; 
    width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 0);
    background-size: 40px 40px; 
    z-index: -1; 
    pointer-events: none;
}

.honey-field {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
}

/* ==========================================================================
   2. АНИМАЦИИ
   ========================================================================== */
@keyframes slideDown { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes fadeInUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes scaleReveal { from { transform: scale(0.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes pulseCyan { 0% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4); } 70% { box-shadow: 0 0 20px 10px rgba(0, 212, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0); } }
@keyframes pulseGreen { 0% { opacity: 0.4; transform: scale(1); } 50% { opacity: 1; transform: scale(1.1); } 100% { opacity: 0.4; transform: scale(1); } }
@keyframes bounceDots { 0%, 80%, 100% { transform: scale(0); opacity: 0.4; } 40% { transform: scale(1.2); opacity: 1; } }
@keyframes hintBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ==========================================================================
   3. ШАПКА САЙТА (HEADER) И ЛОГОТИП
   ========================================================================== */
header {
    position: fixed; 
    top: 0; left: 0; 
    width: 100%;
    background: rgba(1, 2, 5, 0.85);
    backdrop-filter: var(--apple-blur);
    -webkit-backdrop-filter: var(--apple-blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 1000;
    animation: slideDown 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.nav-container { 
    max-width: 1600px; 
    margin: 0 auto; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 14px 35px; 
    width: 100%;
}

.logo-brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-brand-link:hover {
    transform: translateY(-1px);
}

.header-logo-svg {
    width: 250px !important;
    height: auto !important;
    overflow: visible;
}

.nav-menu { display: flex; list-style: none; gap: 12px; white-space: nowrap; margin-left: auto; }
.nav-menu a { 
    display: flex; 
    align-items: center; 
    text-decoration: none; 
    color: var(--text-light); 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    font-weight: 800; 
    letter-spacing: 1.5px;
    transition: var(--transition-smooth); 
    padding: 10px 16px; 
    border-radius: 8px; 
    opacity: 0.85;
}
.nav-menu a:hover { opacity: 1; color: var(--accent-cyan); background: rgba(255, 255, 255, 0.04); }

.burger-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1010;
    flex-shrink: 0 !important;
}
.burger-menu-btn span { display: block; width: 100%; height: 3px; background-color: #ffffff; border-radius: 2px; transition: var(--transition-smooth); }
.burger-menu-btn.active span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); background-color: var(--accent-cyan); }
.burger-menu-btn.active span:nth-child(2) { opacity: 0; }
.burger-menu-btn.active span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); background-color: var(--accent-cyan); }

/* ==========================================================================
   4. ГЛАВНЫЙ БАННЕР (HERO SECTION)
   ========================================================================== */
.hero {
    position: relative; height: 640px; max-width: 100%;
    border: var(--apple-border); overflow: hidden; border-radius: 40px; margin: 105px 20px 0 20px; 
    box-shadow: var(--apple-shadow); animation: scaleReveal 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-video {
    position: absolute; top: 0; left: 0; width: 100%; height: 145%;
    object-fit: cover; object-position: 50% 0%; z-index: 0; border-radius: 40px !important;
}

.pc-video { display: block; }
.mobile-video { display: none; }

.hero::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(3, 5, 10, 0.2), rgba(3, 5, 10, 0.7)); z-index: 1; pointer-events: none;
}

.hero-glass-card { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 3; 
    padding: 70px 40px 60px; display: flex; flex-direction: column; justify-content: space-between; align-items: center;
    animation: fadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1) 0.3s forwards; opacity: 0; pointer-events: none; 
}

.hero-title-brand { display: flex; align-items: baseline; justify-content: center; margin-top: 20px; pointer-events: auto; }
.hero-title-brand .brand-global { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 3.5rem; color: #ffffff; letter-spacing: 1px; text-shadow: 0 0 20px rgba(6, 182, 212, 0.5), 0 0 40px rgba(6, 182, 212, 0.2); }
.hero-title-brand .brand-line { font-family: 'Caveat', cursive; font-size: 4.5rem; color: #a5f3fc; margin-left: 8px; text-shadow: 0 0 25px rgba(6, 182, 212, 0.7); }

.assistant-trigger-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto;
}

.assistant-hint-badge {
    position: absolute;
    bottom: 115%;
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid var(--accent-cyan);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 18px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: hintBounce 3s infinite ease-in-out;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.assistant-hint-badge::after {
    content: '';
    position: absolute;
    top: 100%; left: 50%;
    transform: translateX(-50%);
    border-width: 7px;
    border-style: solid;
    border-color: var(--accent-cyan) transparent transparent transparent;
}

.assistant-hint-badge.visible { opacity: 1; transform: translateY(0); }

.hero .btn {
    display: inline-block; background: rgba(0, 0, 0, 0.35); color: #ffffff; 
    padding: 24px 70px; border-radius: 45px; text-decoration: none;
    font-weight: 800; font-size: 0.95rem; border: 1px solid rgba(255,255,255,0.4); 
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); 
    transition: var(--transition-smooth); text-transform: uppercase; letter-spacing: 2px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); margin-bottom: 10px;
}
.hero .btn:hover { background: #ffffff; color: #000000; box-shadow: 0 0 35px rgba(255,255,255,0.5); transform: translateY(-3px); }

/* ==========================================================================
   5. АЛГОРИТМЫ ДОСТАВКИ И ИНТЕРАКТИВНЫЕ ВКЛАДКИ
   ========================================================================== */
.tabs-outer-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 45px;
}

.tabs-container {
    display: flex;
    gap: 20px;
    width: 100%;
    max-width: 650px; 
}

.tab-toggle-btn {
    flex: 1; 
    text-align: center;
    padding: 16px 24px; font-size: 0.75rem; font-weight: 800; color: var(--text-muted);
    background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 35px; cursor: pointer; text-transform: uppercase; transition: var(--transition-smooth);
    white-space: nowrap;
}

.tab-toggle-btn.active {
    color: #ffffff; background: rgba(6, 182, 212, 0.1); border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.step {
    background: rgba(255, 255, 255, 0.01); 
    border: 1px solid rgba(255, 255, 255, 0.06); 
    padding: 32px 24px; border-radius: 16px; 
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.3s ease, 
                border-color 0.3s ease, 
                background-color 0.3s ease;
    will-change: transform;
}

.step:hover,
.step.touch-active {
    transform: scale(1.03) translateY(-4px) !important;
    border-color: rgba(6, 182, 212, 0.4) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(6, 182, 212, 0.15) !important;
}

.step p, 
.step .step-num, 
.step h3, 
.step h4 {
    transform: none !important;
    transition: color 0.3s ease;
}

.step-num { font-size: 1.6rem; font-weight: 800; margin-bottom: 12px; opacity: 0.2; transition: var(--transition-smooth); color: #ffffff; }

.step.active-glow {
    border-color: rgba(6, 182, 212, 0.6) !important;
    background: rgba(6, 182, 212, 0.03) !important;
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.15);
}
.step.active-glow .step-num {
    opacity: 0.9 !important;
    color: var(--accent-cyan) !important;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

section { padding: 130px 20px 70px; max-width: 1400px; margin: 0 auto; }
.section-title { text-align: center; font-size: 1.8rem; font-weight: 900; color: var(--text-light); margin-bottom: 60px; text-transform: uppercase; letter-spacing: 2px; }
.section-title span { color: #ffffff; text-decoration: underline; text-decoration-color: var(--accent-cyan); text-underline-offset: 8px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 35px; }

.card { 
    background: var(--apple-glass); 
    backdrop-filter: var(--apple-blur); 
    -webkit-backdrop-filter: var(--apple-blur); 
    border: var(--apple-border); 
    border-radius: 18px; 
    overflow: hidden; 
    box-shadow: var(--apple-shadow); 
    transition: var(--transition-smooth); 
}
.card-img { width: 100%; height: 220px; object-fit: cover; filter: grayscale(100%) brightness(50%); transition: var(--transition-smooth); }
.card-content { padding: 32px; }
.card h3 { display: flex; align-items: center; gap: 12px; color: #ffffff; margin-bottom: 15px; font-size: 0.95rem; font-weight: 800; text-transform: uppercase; }
.content-icon { width: 22px; height: 22px; stroke: var(--accent-cyan); flex-shrink: 0; }
.card p { color: var(--text-muted); font-size: 0.8rem; }

.card:hover,
.card.touch-active,
.card:active { 
    border-color: rgba(6, 182, 212, 0.5) !important; 
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(6, 182, 212, 0.2) !important; 
    transform: translateY(-5px) scale(1.01) !important; 
    background: rgba(255, 255, 255, 0.04) !important; 
}

.card:hover .card-img,
.card.touch-active .card-img,
.card:active .card-img { 
    filter: grayscale(20%) brightness(85%) !important; 
    transform: scale(1.03) !important; 
}

.logistics-routes { display: flex; flex-direction: column; gap: 50px; margin-top: 30px; }
.route-block { background: var(--apple-glass); backdrop-filter: var(--apple-blur); -webkit-backdrop-filter: var(--apple-blur); border: var(--apple-border); box-shadow: var(--apple-shadow); padding: 50px 40px; border-radius: 26px; transition: var(--transition-smooth); }
.route-block.wed-branch { border-top: 3px solid var(--accent-cyan); }
.route-block.cargo-branch { border-top: 3px solid var(--accent-blue); }
.route-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 35px; text-transform: uppercase; display: flex; align-items: center; gap: 15px; flex-wrap: wrap; color: #ffffff; }
.route-title span { font-size: 0.7rem; padding: 6px 16px; border-radius: 20px; font-family: sans-serif; background: rgba(255,255,255,0.06); color: var(--text-light); }
.route-block .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }

/* ==========================================================================
   ОТЗЫВЫ
   ========================================================================== */
.review-card { 
    background: var(--apple-glass); 
    backdrop-filter: var(--apple-blur); 
    -webkit-backdrop-filter: var(--apple-blur); 
    border: var(--apple-border); 
    box-shadow: var(--apple-shadow); 
    border-radius: 18px; 
    overflow: hidden !important; 
    display: flex;
    flex-direction: column;
    width: 100%;
    transition: var(--transition-smooth); 
}

.review-cover-image {
    width: 100% !important;
    height: 220px !important;
    max-height: 220px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-bottom: 1px solid rgba(6, 182, 212, 0.15);
    flex-shrink: 0;
}

.review-body-content {
    padding: 28px 24px 32px;
    position: relative;
    flex-grow: 1;
}

.review-body-content::before { 
    content: "“"; 
    position: absolute; 
    top: 15px; 
    left: 20px; 
    font-size: 70px; 
    color: #ffffff; 
    opacity: 0.02; 
}

.review-card p { 
    color: var(--text-light); 
    font-style: italic; 
    font-size: 0.8rem; 
    line-height: 1.65;
    position: relative;
    z-index: 2; 
}

.review-card:hover,
.review-card.touch-active,
.review-card:active { 
    border-color: rgba(6, 182, 212, 0.4) !important; 
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4), 0 0 20px rgba(6, 182, 212, 0.1) !important;
    transform: translateY(-4px) !important; 
}

.review-action-container { margin-top: 55px; display: flex; flex-direction: column; align-items: center; width: 100%; }
.review-toggle-btn { padding: 18px 50px; font-size: 0.8rem; font-weight: 800; text-transform: uppercase; color: var(--accent-cyan); background: #060911; border: 2px solid var(--accent-cyan); border-radius: 40px; cursor: pointer; transition: var(--transition-smooth); box-shadow: 0 0 15px rgba(6, 182, 212, 0.2); }
.review-toggle-btn:hover { background: var(--accent-cyan); color: #020204; box-shadow: 0 0 25px var(--accent-cyan); transform: scale(1.03) translateY(-2px); }
.review-form-wrapper { width: 100%; max-width: 700px; margin-top: 35px; background: var(--apple-glass); border: var(--apple-border); border-radius: 22px; padding: 40px; box-shadow: var(--apple-shadow); backdrop-filter: var(--apple-blur); -webkit-backdrop-filter: var(--apple-blur); display: none; animation: fadeInUp 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
.review-form-grid { display: flex; flex-direction: column; gap: 22px; margin-bottom: 28px; }
.review-form-grid input, .review-form-wrapper textarea { width: 100%; padding: 18px 22px; background: #060911; border: 1px solid rgba(6, 182, 212, 0.3); border-radius: 14px; color: #ffffff; font-size: 0.8rem; outline: none; transition: var(--transition-smooth); }
.review-form-grid input:focus, .review-form-wrapper textarea:focus { border-color: var(--accent-cyan); box-shadow: 0 0 15px rgba(6, 182, 212, 0.2); }
.review-submit-btn { width: 100%; padding: 18px; background: rgba(6, 182, 212, 0.1); border: 1px solid var(--accent-cyan); color: var(--accent-cyan); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; border-radius: 35px; cursor: pointer; transition: var(--transition-smooth); }
.review-submit-btn:hover { background: var(--accent-cyan); color: #020204; box-shadow: 0 0 20px var(--accent-cyan); }
.review-success-msg { display: none; text-align: center; color: #10b981; font-weight: 600; font-size: 0.85rem; text-shadow: 0 0 10px rgba(16, 185, 129, 0.3); }

/* ==========================================================================
   КОНТАКТЫ
   ========================================================================== */
.contacts-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.contact-info { background: var(--apple-glass); backdrop-filter: var(--apple-blur); -webkit-backdrop-filter: var(--apple-blur); border: var(--apple-border); box-shadow: var(--apple-shadow); padding: 35px; border-radius: 18px; transition: var(--transition-smooth); }
.contact-info h3 { margin-bottom: 18px; font-size: 0.85rem; font-weight: 800; text-transform: uppercase; color: #ffffff; }
.contact-info p { color: var(--text-muted); font-size: 0.8rem; }
.contact-info:hover { border-color: rgba(255,255,255,0.25); transform: translateX(4px); }

.phone-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.phone-link { color: inherit; text-decoration: none; transition: var(--transition-smooth); }
.phone-link:hover { color: var(--accent-cyan); }

.copy-phone-btn { 
    background: rgba(255, 255, 255, 0.03); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    color: var(--text-muted); 
    width: 32px; 
    height: 32px; 
    border-radius: 8px; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: var(--transition-smooth); 
}
.copy-phone-btn:hover { background: rgba(6, 182, 212, 0.1); border-color: var(--accent-cyan); color: var(--accent-cyan); }
.copy-phone-btn svg { width: 16px; height: 16px; }

/* ==========================================================================
   6. AI АССИСТЕНТ
   ========================================================================== */
.feedback-section { 
    background: linear-gradient(180deg, #03050a 0%, #081124 50%, #0d1b38 100%); 
    padding: 100px 20px 140px; 
    border-top: 1px solid rgba(0, 212, 255, 0.1); 
}

.chat-container { 
    width: 100%; 
    max-width: 900px; 
    background: linear-gradient(145deg, #0d1b38 0%, #0a1428 100%);
    backdrop-filter: var(--apple-blur);
    -webkit-backdrop-filter: var(--apple-blur);
    border: 1px solid var(--cyan-border); 
    border-radius: 24px; 
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 25px var(--cyan-glow); 
    display: flex; 
    flex-direction: column; 
    gap: 15px;
    padding: 28px 32px;
    overflow: hidden; 
    margin: 0 auto !important; 
}

.chat-header-status { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding-bottom: 18px; 
    background: transparent; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); 
    width: 100%;
}

.header-title-group {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
}

.assistant-mini-logo {
    width: 28px;
    height: 28px;
    stroke: var(--cyan-bright);
    fill: none;
    flex-shrink: 0;
}

.status-dot { 
    width: 8px; 
    height: 8px; 
    background-color: #10b981; 
    border-radius: 50%; 
    box-shadow: 0 0 8px #10b981; 
    animation: pulseGreen 2s infinite; 
    flex-shrink: 0;
}

.chat-title { 
    color: var(--cyan-bright); 
    font-size: 0.8rem; 
    font-weight: 800; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
    margin: 0;
    line-height: 1;
}

.chat-progress {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.progress-text {
    font-size: 0.7rem;
    color: var(--cyan-bright);
    font-weight: 700;
    letter-spacing: 1px;
}

.progress-bar-bg {
    width: 110px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--cyan-dark), var(--cyan-bright));
    transition: width 0.4s ease;
}

.chat-messages { 
    padding: 10px 5px; 
    height: 380px; 
    overflow-y: auto; 
    display: flex; 
    flex-direction: column; 
    gap: 18px; 
    background: transparent; 
}

.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(0, 212, 255, 0.2); border-radius: 4px; }

.msg { 
    padding: 16px 22px; 
    border-radius: 16px; 
    max-width: 80%; 
    word-wrap: break-word; 
    font-size: 0.82rem; 
    line-height: 1.55;
    animation: fadeInUp 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards; 
}

.msg.ai { 
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(20, 35, 65, 0.8)); 
    border: 1px solid var(--cyan-border); 
    color: var(--text-light); 
    align-self: flex-start; 
    border-top-left-radius: 4px; 
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.msg.ai::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300d4ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.msg.user { 
    background: linear-gradient(135deg, var(--cyan-dark), #006699); 
    color: #ffffff; 
    align-self: flex-end; 
    border: 1px solid rgba(0, 212, 255, 0.4); 
    border-top-right-radius: 4px; 
}

.typing-indicator { display: flex; align-items: center; gap: 5px; padding: 16px 24px !important; }
.typing-indicator span { width: 7px; height: 7px; background-color: var(--cyan-bright); border-radius: 50%; display: inline-block; animation: bounceDots 1.4s infinite ease-in-out both; }
.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

.options-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    width: 100%;
}

.options-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
}

.button-container { 
    display: flex; 
    justify-content: center !important; 
    align-items: center !important;     
    gap: 16px; 
    background: transparent; 
    flex-wrap: wrap; 
    width: 100%;
}

.button-container button { 
    padding: 14px 38px; 
    font-size: 0.75rem; 
    font-weight: 800; 
    font-family: 'Montserrat', sans-serif; 
    border-radius: 30px; 
    border: 1px solid var(--cyan-bright); 
    background: rgba(0, 212, 255, 0.08); 
    color: var(--cyan-bright); 
    cursor: pointer; 
    transition: var(--transition-smooth); 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.15);
}

.button-container button:hover { 
    background: var(--cyan-bright); 
    color: #0a1428; 
    box-shadow: 0 0 25px var(--cyan-bright); 
    transform: translateY(-3px) scale(1.02) !important; 
}

.chat-input-wrapper { 
    padding: 5px 0 0 0; 
    background: transparent; 
    width: 100%;
    display: block; 
}

.chat-input { 
    display: flex; 
    position: relative; 
    padding: 6px 70px 6px 20px; 
    background: rgba(15, 23, 42, 0.8); 
    border: 1px solid rgba(0, 212, 255, 0.3); 
    border-radius: 35px; 
    align-items: center; 
    width: 100%;
    transition: var(--transition-smooth);
}

.chat-input:focus-within { 
    border-color: var(--cyan-bright); 
    box-shadow: 0 0 20px var(--cyan-glow); 
}

.chat-input input[type="text"]:not(.honey-field) { 
    flex: 1; 
    padding: 12px 0; 
    background: transparent !important; 
    border: none !important; 
    outline: none !important; 
    font-size: 0.8rem; 
    color: #ffffff !important; 
    box-shadow: none !important;
}

.chat-input input::placeholder {
    color: var(--text-muted);
    opacity: 0.5;
}

.chat-input button { 
    position: absolute; 
    right: 8px; 
    top: 50%; 
    transform: translateY(-50%) !important; 
    background: linear-gradient(135deg, var(--cyan-bright), var(--cyan-dark)); 
    border: none; 
    color: #0a1428; 
    width: 44px; 
    height: 44px; 
    border-radius: 50%; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-shrink: 0; 
    margin: 0; 
    transition: var(--transition-smooth); 
}
.chat-input button:hover { 
    transform: translateY(-50%) scale(1.08) !important; 
    box-shadow: 0 0 20px var(--cyan-bright);
}

.send-icon-svg {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   7. ПЛАВАЮЩАЯ КНОПКА МЕССЕНДЖЕРА
   ========================================================================== */
.floating-assistant-btn {
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    
    width: 60px !important; 
    height: 60px !important; 
    min-width: 60px !important;
    min-height: 60px !important;
    max-width: 60px !important;
    max-height: 60px !important;
    
    background: #060911; 
    border: 2px solid var(--accent-cyan); 
    color: var(--accent-cyan);
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    cursor: pointer; 
    z-index: 9999; 
    
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(6, 182, 212, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-assistant-btn:hover { 
    background: var(--accent-cyan); 
    color: #020204; 
    box-shadow: 0 0 30px var(--accent-cyan); 
    transform: translateY(-4px) scale(1.08) !important; 
}

.floating-assistant-btn svg { 
    width: 26px !important; 
    height: 26px !important; 
    stroke: currentColor; 
}

/* ==========================================================================
   8. TOAST УВЕДОМЛЕНИЯ
   ========================================================================== */
.toast-notification-hub {
    position: fixed;
    top: -100px; 
    right: 30px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(3, 5, 10, 0.95) 100%);
    border: 1px solid var(--accent-cyan);
    color: #ffffff;
    padding: 18px 36px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(6, 182, 212, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 2000;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.9) translateY(0);
    transition: top 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                opacity 0.4s ease, 
                transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notification-hub.show {
    top: 100px; 
    opacity: 1;
    transform: scale(1) translateY(0);
}

.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.animate-on-scroll.animated { opacity: 1; transform: translateY(0); }
.animate-left { opacity: 0; transform: translateX(-50px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.animate-left.animated { opacity: 1; transform: translateX(0); }
.animate-right { opacity: 0; transform: translateX(50px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.animate-right.animated { opacity: 1; transform: translateX(0); }

/* ==========================================================================
   9. АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ
   ========================================================================== */
@media (max-width: 900px) {
    html { font-size: 16px !important; }
    body { font-size: 14.5px !important; }

    .nav-container { 
        display: flex !important; 
        flex-direction: row !important; 
        justify-content: space-between !important; 
        align-items: center !important; 
        padding: 12px 16px !important; 
    }
    
    .header-logo-svg {
        width: 190px !important;
    }

    .burger-menu-btn { 
        display: flex !important; 
        margin-left: auto; 
    }

    .nav-menu {
        position: absolute !important; 
        top: 100%; 
        left: 0; 
        width: 100%;
        background: rgba(4, 7, 15, 0.98); 
        backdrop-filter: blur(25px); 
        -webkit-backdrop-filter: blur(25px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08); 
        flex-direction: column !important; 
        gap: 0 !important;
        padding: 10px 0 !important; 
        display: none !important; 
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
        margin: 0 !important;
    }
    .nav-menu.active { display: flex !important; }
    .nav-menu li { width: 100%; text-align: center; }
    .nav-menu a { display: block !important; padding: 18px 20px !important; font-size: 14px !important; border-bottom: 1px solid rgba(255, 255, 255, 0.02); color: var(--text-light) !important; }
    .nav-menu li:last-child a { border-bottom: none; }

    .tabs-outer-wrapper { 
        justify-content: center !important; 
        width: 100% !important; 
        padding: 0 5px 15px !important; 
        margin-bottom: 25px !important;
    }
    .tabs-container { 
        gap: 8px !important; 
        display: flex !important; 
        width: 100% !important; 
        max-width: 100% !important; 
    }
    .tab-toggle-btn { 
        flex: 1 !important; 
        padding: 12px 8px !important; 
        font-size: 10.5px !important; 
        letter-spacing: 0.5px !important;
        white-space: normal !important; 
        text-align: center !important; 
        line-height: 1.25 !important;
        border-radius: 25px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero { 
        display: block !important; height: 620px !important; min-height: 620px !important; padding: 0 !important; 
        margin: 100px 10px 0 10px !important; border: var(--apple-border) !important; border-radius: 40px !important;
        background: transparent !important; box-shadow: var(--apple-shadow) !important; overflow: hidden !important; position: relative !important;
    }
    .mobile-video { display: block !important; position: absolute !important; top: 0; left: 0; width: 100% !important; height: 145% !important; object-fit: cover !important; object-position: 50% 0%; border-radius: 40px !important; z-index: 0; }

    .hero-glass-card { 
        position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important;
        margin: 0 !important; padding: 40px 20px 30px !important; background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
        border: none !important; box-shadow: none !important; display: flex !important; flex-direction: column !important; justify-content: space-between !important; align-items: center !important; z-index: 10; pointer-events: none !important;
    }
    .hero-title-brand { margin-top: 10px !important; pointer-events: auto !important; }
    .hero-title-brand .brand-global { font-size: 32px !important; }
    .hero-title-brand .brand-line { font-size: 42px !important; }

    .hero .btn { 
        pointer-events: auto !important; position: static !important; display: inline-block !important; width: 90% !important; max-width: 340px !important; 
        padding: 20px 24px !important; font-size: 14px !important; text-align: center !important; background: rgba(0, 0, 0, 0.45) !important; 
        border: 1px solid rgba(255, 255, 255, 0.4) !important; border-radius: 35px !important; backdrop-filter: blur(12px) !important; -webkit-backdrop-filter: blur(12px) !important; margin-bottom: 25px !important;
    }

    section { padding: 60px 15px 30px !important; }
    .route-block { padding: 30px 15px; border-radius: 16px; }
    .route-block .steps { grid-template-columns: 1fr; }
    
    .chat-container { 
        width: calc(100% - 20px) !important; 
        margin: 0 auto !important; 
        border-radius: 20px; 
        padding: 20px 16px !important;
    }
    
    .button-container button {
        padding: 12px 20px !important;
        font-size: 11px !important;
        letter-spacing: 0.8px !important;
    }

    .msg { max-width: 90%; padding: 14px 18px; font-size: 13.5px; }

    .floating-assistant-btn {
        bottom: 20px;
        right: 20px;
        width: 54px !important;
        height: 54px !important;
    }
}

footer { 
    background: linear-gradient(180deg, #0d1b38 0%, #081124 50%, #03050a 100%); 
    color: rgba(255, 255, 255, 0.4); 
    text-align: center; 
    padding: 40px 20px; 
    font-size: 13px; 
    font-weight: 600;
    letter-spacing: 1px;
    border-top: 1px solid rgba(0, 212, 255, 0.12); 
}