/* Lead-Gen Chatbot Styles */
#mv-lead-bot {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

/* Chat Button */
.mv-bot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold-primary), #fff);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 24px;
}

.mv-bot-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.mv-bot-toggle .bot-icon {
    font-size: 30px;
}

/* Chat Window */
.mv-bot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    max-height: 80vh;
    background: #111;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mv-bot-window.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

/* Header */
.mv-bot-header {
    background: #000;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.mv-bot-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mv-bot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #000;
}

.mv-bot-title {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    margin: 0;
}

.mv-bot-subtitle {
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    margin: 0;
}

.mv-bot-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    font-size: 20px;
    padding: 5px;
}

.mv-bot-close:hover {
    color: #fff;
}

/* Messages Area */
.mv-bot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #111;
}

.mv-msg {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.4;
    animation: popIn 0.3s ease;
}

.mv-msg.bot {
    background: #222;
    color: #fff;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.mv-msg.user {
    background: var(--color-gold-primary);
    color: #000;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    font-weight: 600;
}

/* Options */
.mv-bot-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 5px;
}

.mv-bot-option-btn {
    background: transparent;
    border: 1px solid var(--color-gold-primary);
    color: var(--color-gold-primary);
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
    text-align: left;
}

.mv-bot-option-btn:hover {
    background: rgba(212, 175, 55, 0.1);
}

/* Input Area */
.mv-bot-input-area {
    padding: 15px;
    background: #000;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    gap: 10px;
}

.mv-bot-input {
    flex: 1;
    background: #222;
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

.mv-bot-input:focus {
    border-color: var(--color-gold-primary);
}

.mv-bot-send {
    background: var(--color-gold-primary);
    color: #000;
    border: none;
    width: 44px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: opacity 0.2s;
}

.mv-bot-send:hover {
    opacity: 0.9;
}

/* Animations */
@keyframes popIn {
    from { opacity: 0; transform: translateY(10px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.mv-typing-indicator {
    display: flex;
    gap: 4px;
    padding: 5px 0;
}

.mv-typing-dot {
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.mv-typing-dot:nth-child(1) { animation-delay: 0s; }
.mv-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.mv-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    #mv-lead-bot {
        bottom: 20px;
        right: 20px;
    }
    
    .mv-bot-window {
        width: calc(100vw - 40px);
        bottom: 70px;
    }
}
