    .ai-chat-window {
        position: fixed;
        bottom: 80px;
        right: 30px;
        width: 360px;
        height: 520px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 24px;
        box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
        display: flex;
        flex-direction: column;
        z-index: 9998;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.5);
        opacity: 0;
        pointer-events: none;
        transform-origin: top right;
        transform: translateY(-20px) scale(0.9);
        transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .ai-chat-window.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }
    .lux-avatar {
        width: 38px; height: 38px; border-radius: 50%; background: #ffffff;
        display: flex; align-items: center; justify-content: center;
        color: #4f46e5; font-size: 1.1rem; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    .ai-chat-header {
        background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
        color: white;
        padding: 15px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .ai-chat-header h6 { margin: 0; font-weight: 800; font-size: 1.05rem; letter-spacing: 0.5px; }
    .ai-chat-body {
        flex: 1; padding: 20px; overflow-y: auto; background: transparent;
        display: flex; flex-direction: column; gap: 12px;
    }
    .ai-chat-footer { padding: 15px; background: #ffffff; border-top: 1px solid #e2e8f0; }
    .ai-msg { max-width: 85%; padding: 14px 18px; border-radius: 18px; font-size: 0.9rem; line-height: 1.5; }
    .ai-msg.bot { background: #ffffff; border: 1px solid #e2e8f0; color: #334155; align-self: flex-start; border-bottom-left-radius: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
    .ai-msg.user { background: linear-gradient(135deg, #017dd3 0%, #016cb6 100%); color: #ffffff; align-self: flex-end; border-bottom-right-radius: 4px; box-shadow: 0 4px 10px rgba(1,125,211,0.2); }
    .ai-input-group { display: flex; align-items: center; background: #f1f5f9; border-radius: 50px; padding: 6px 15px; border: 1px solid #e2e8f0; transition: border 0.3s; }
    .ai-input-group:focus-within { border-color: #6366f1; background: #fff; box-shadow: 0 0 0 3px rgba(99,102,241,0.1); }
    .ai-input-group input { border: none; background: transparent; box-shadow: none; flex: 1; padding: 8px 0; outline: none; color: #1e293b; }
    .ai-input-group button { background: transparent; border: none; color: #6366f1; font-size: 1.2rem; cursor: pointer; padding: 5px; transition: transform 0.2s; }
    .ai-input-group button:hover { transform: scale(1.1); }
    /* Typing dots animation */
    .typing-dots { display: inline-flex; gap: 4px; align-items: center; padding: 2px 4px; }
    .typing-dots span { width: 6px; height: 6px; background-color: #94a3b8; border-radius: 50%; animation: aiTyping 1.4s infinite ease-in-out both; }
    .typing-dots span:nth-child(1) { animation-delay: -0.32s; }
    .typing-dots span:nth-child(2) { animation-delay: -0.16s; }
    @keyframes aiTyping { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }
    @media (max-width: 991px) {
        .ai-chat-window { top: 70px; right: 10px; bottom: auto; width: calc(100vw - 20px); height: 70vh; }
    }
