/* --- [1/10] GLOBAL & FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap/');

html, body {
    margin: 0; padding: 0;
    width: 100%; min-height: 100vh;
    background: radial-gradient(circle at center, #1a1a1e 0%, #000000 100%) !important;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

* { box-sizing: border-box !important; }

/* Основной контейнер сайта */
.stealth-wrapper, .vip-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
    text-align: center;
}

/* ЗАГОЛОВОК: ЭФФЕКТ ШЛИФОВАННОЙ СТАЛИ */
.main-title {
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 15px;
    margin: 0 0 30px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #999999 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
}

.sub-title {
    color: #fff;
    opacity: 0.3;
    letter-spacing: 8px;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 80px;
}

/* --- [2/10] LAYOUT GRID --- */
.luxury-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 80px;
}
/* --- [2/10 Прод.] GLASS CARDS --- */
.glass-card {
    flex: 1;
    min-width: 320px;
    padding: 50px 35px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}

/* Световой блик */
.glass-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: 0.6s;
}

.glass-card:hover::after { left: 100%; }

.glass-card h5 {
    color: #ffffff;
    letter-spacing: 3px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 1rem;
}

.glass-card p {
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    font-size: 0.95rem;
    font-weight: 300;
    margin: 0;
}
/* --- [3/10] LUXURY TABLE --- */
.luxury-table {
    width: 100%;
    max-width: 900px;
    margin: 80px auto;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.luxury-table td {
    padding: 25px 30px;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.4s;
    font-size: 1rem;
}

.luxury-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

.luxury-table td:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
    color: rgba(255,255,255,0.8);
}

.luxury-table td:nth-child(2) {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
}

.luxury-table td:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    text-align: right;
    font-weight: 700;
    color: #ffffff;
}
/* --- [4/10] MAIN CTA BUTTON --- */
.vip-button {
    display: inline-block;
    padding: 25px 80px;
    background: #ffffff;
    color: #000000 !important;
    font-weight: 800;
    font-size: 1.2rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 6px;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.1);
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    margin-top: 50px;
}

.vip-button:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(255, 255, 255, 0.25);

}

.footer-note {
    margin-top: 40px;
    opacity: 0.2;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 5px;
}

/* --- [5/10] CHAT LAUNCHER (Кнопка чата) --- */
#new_cl_chat_launcher {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 66px !important;
    height: 66px !important;
    background: #000000 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 999999 !important;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
/* --- [5/10 Прод.] CHAT CONTAINER --- */
#new_cl_chat_container {
    display: none;
    flex-direction: column !important;
    position: fixed !important;
    bottom: 110px !important;
    right: 30px !important;
    width: 450px !important;
    height: 700px !important;
    background: rgba(10, 10, 10, 0.98) !important;
    backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    z-index: 1000000 !important;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.9) !important;
    overflow: hidden !important;
}

/* ШАПКА ЧАТА */
.new_cl_chat_header {
    height: 90px !important;
    padding: 0 25px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

.new_cl_chat_header strong {
    color: #fff !important;
    text-transform: uppercase !important;
    letter-spacing: 4px !important;
    font-size: 13px !important;
    font-weight: 700;
}

.online-dot {
    width: 6px; height: 6px;
    background: #ffffff !important;
    border-radius: 50%;
    box-shadow: 0 0 10px #fff;
    margin-right: 8px;
}
.online-text { font-size: 16px !important; color: #35cb42 !important; font-weight: 400 !important; font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important; }
/* --- [6/10] CHAT CONTENT & BUBBLES --- */
#new_cl_chat_content {
    flex: 1 !important;
    overflow-y: auto !important;
    padding: 30px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}

#new_cl_chat_content::-webkit-scrollbar { width: 2px; }
#new_cl_chat_content::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); }

/* ПУЗЫРИ СООБЩЕНИЙ */
.msg-bubble {
    padding: 15px 20px !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    border-radius: 0px !important;
    max-width: 85% !important;
}

.msg-bot {
    background: rgba(255, 255, 255, 0.04) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    align-self: flex-start !important;
}

.msg-user {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    align-self: flex-end !important;
    font-weight: 700 !important;
}

.msg-meta {
    font-size: 9px !important;
    color: rgba(255, 255, 255, 0.2) !important;
    text-transform: uppercase;
    margin-top: 5px;
}
/* --- [7/10] CHAT CHIPS & FOOTER --- */
#chat_chips_container {
    display: flex !important;
    flex-direction: column !important;
    padding: 15px 25px !important;
    gap: 8px !important;
    background: rgba(0, 0, 0, 0.2) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.chat-chip {
    width: 100% !important;
    padding: 14px 18px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    font-size: 11px !important;
    letter-spacing: 3px !important;
    cursor: pointer !important;
    transition: 0.3s;
}

.chat-chip:hover { background: #fff !important; color: #000 !important; }

/* ПАНЕЛЬ ВВОДА */
.chat-footer {
    height: 90px !important;
    padding: 0 25px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: #0a0a0a !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

#new_cl_user_input {
    flex: 1 !important;
    height: 50px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    padding: 0 20px !important;
    outline: none !important;
}

.btn-send {
    width: 50px !important; height: 50px !important;
    background: #fff !important; color: #000 !important;
    border: none !important; font-weight: 900 !important; cursor: pointer;
}
/* --- [8/10] MOBILE ADAPTATION: SITE --- */
@media screen and (max-width: 768px) {
    .stealth-wrapper, .vip-container {
        padding: 60px 15px !important;
    }

    .main-title {
        font-size: 2.1rem !important;
        letter-spacing: 6px !important;
    }

    .sub-title {
        letter-spacing: 4px !important;
        font-size: 0.65rem !important;
        margin-bottom: 50px !important;
    }

    .luxury-grid {
        flex-direction: column !important;
        align-items: center !important;
    }

    .glass-card {
        width: 100% !important;
        min-width: 100% !important;
        padding: 40px 20px !important;
    }

    .luxury-table td {
        padding: 15px 10px !important;
        font-size: 0.8rem !important;
    }

    .vip-button {
        width: 100% !important;
        padding: 22px !important;
        font-size: 1.1rem !important;
    }
}
/* --- [9/10] MOBILE ADAPTATION: CHAT FULLSCREEN --- */
@media screen and (max-width: 768px) {
    #new_cl_chat_container {
        position: fixed !important;
        top: 0 !important; left: 0 !important;
        width: 100vw !important; height: 100vh !important;
        max-width: 100vw !important; max-height: 100vh !important;
        border: none !important;
        border-radius: 0 !important;
        z-index: 2147483647 !important;
        background: #000000 !important;
    }

    .new_cl_chat_header {
        height: 80px !important;
        padding: 0 20px !important;
    }

    .btn-close {
        font-size: 44px !important;
        width: 60px !important;
        height: 60px !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        color: #291818 !important;
    }

    #new_cl_chat_content {
        padding: 20px !important;
    }

    .chat-footer {
        padding-bottom: env(safe-area-inset-bottom, 20px) !important;
        background: #000 !important;
    }

    #new_cl_chat_launcher {
        bottom: 20px !important;
        right: 20px !important;
    }
}
/* --- [10/10] LEAD FORM & ANIMATIONS --- */
.lead-form-container {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 25px !important;
    margin: 15px 0 !important;
    display: flex; flex-direction: column; gap: 15px;
}

.form-title {
    font-size: 13px; font-weight: 700; color: #ffffff;
    text-transform: uppercase; letter-spacing: 3px; text-align: center;
}

.form-input {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 15px !important; color: #ffffff !important;
}

.form-submit-btn {
    background: #ffffff !important; color: #000 !important;
    padding: 18px !important; font-weight: 900 !important;
    text-transform: uppercase; letter-spacing: 4px; text-align: center;
}

/* АНИМАЦИИ ПРИ ЗАГРУЗКЕ */
@keyframes slideInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

#new_cl_chat_container { animation: slideInUp 0.4s ease-out; }
/* 9. ВСПЛЫВАЮЩАЯ ПОДСКАЗКА (HINT) */
#chat_hint_bubble {
    position: absolute !important;
    bottom: 90px !important;
    right: 0 !important;
    width: 320px !important;
    background: rgba(15, 15, 15, 0.98) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 25px !important;
    color: #ffffff !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8) !important;
    line-height: 1.7 !important;
    font-size: 14px !important;
    z-index: 1100000 !important;
}

/* ============================================================
   10. АНИМАЦИИ И ИНДИКАТОР ПЕЧАТИ
   ============================================================ */
/* ПОДСКАЗКА (ОБЛАЧКО) */
#chat_hint_bubble {
    display: none; 
    position: absolute; 
    right: 80px; 
    bottom: 10px; 
    background: white; 
    color: #333; 
    padding: 16px 20px; 
    border-radius: 20px 20px 0 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.12); 
    width: 240px; 
    font-size: 14px; 
    line-height: 1.5; 
    border: 1px solid rgba(0,0,0,0.05);
    animation: fadeInRightCustom 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hint-name { 
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
font-size: 16.5px; 
font-weight: 400; 
color: #63B22B; 
margin-bottom: 4px; 
display: block; 
}

/* ============================================================
   10. АНИМАЦИИ И ИНДИКАТОР ПЕЧАТИ
   ============================================================ */
.typing-bubble {
    align-self: flex-start !important;
    background: #f1f3f5 !important;
    padding: 14px 20px !important;
    border-radius: 4px 18px 18px 18px !important;
    display: flex !important;
    gap: 5px !important;
    width: fit-content !important;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02) !important;
}
.typing-dot {
    width: 6px; height: 6px; background: #adb5bd; border-radius: 50%;
    animation: typing-bounce 1.4s infinite ease-in-out;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(15px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes typing-bounce {
    0%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-6px); }
}
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(35, 201, 20, 0.5); }
    70% { box-shadow: 0 0 0 18px rgba(35, 201, 20, 0); }
    100% { box-shadow: 0 0 0 0 rgba(35, 201, 20, 0); }
}
@keyframes fadeInRightCustom {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes shake-launcher {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.1) rotate(-5deg); }
    20%, 40% { transform: scale(1.1) rotate(5deg); }
}
.launcher-shake { animation: shake-launcher 0.8s ease-in-out !important; }
