/* AI Chat Widget Styles */
.ai-chat-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--warm-gold);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-charcoal);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    z-index: 9999;
}

.ai-chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.5);
}

.ai-chat-toggle.open {
    background: var(--deep-charcoal);
    color: var(--ivory-white);
    border: 2px solid var(--warm-gold);
}

.ai-chat-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    height: 500px;
    background: var(--deep-charcoal);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    z-index: 9998;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-chat-header {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(46, 74, 61, 0.3) 100%);
    padding: 16px 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-chat-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ivory-white);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.ai-chat-close {
    background: none;
    border: none;
    color: rgba(248, 246, 242, 0.6);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.ai-chat-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--ivory-white);
}

.ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ai-chat-messages::-webkit-scrollbar {
    width: 6px;
}

.ai-chat-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.ai-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 3px;
}

.ai-chat-message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
}

.ai-chat-message.bot {
    background: rgba(248, 246, 242, 0.1);
    color: var(--ivory-white);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.ai-chat-message.user {
    background: var(--warm-gold);
    color: var(--deep-charcoal);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.ai-chat-message.bot p {
    margin: 0;
    padding: 2px 0;
}

.ai-chat-message.user p {
    margin: 0;
}

.ai-chat-message.typing {
    padding: 16px 20px;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: var(--warm-gold);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) {
    animation-delay: 0s;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 80%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    40% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

.ai-chat-input {
    padding: 16px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    gap: 12px;
    background: rgba(26, 26, 26, 0.5);
}

.ai-chat-input textarea {
    flex: 1;
    background: rgba(248, 246, 242, 0.05);
    border: 1px solid rgba(248, 246, 242, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--ivory-white);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    resize: none;
    outline: none;
    transition: all 0.3s ease;
    min-height: 44px;
    max-height: 120px;
}

.ai-chat-input textarea:focus {
    border-color: var(--warm-gold);
    background: rgba(248, 246, 242, 0.08);
}

.ai-chat-input textarea::placeholder {
    color: rgba(248, 246, 242, 0.4);
}

.ai-chat-send {
    background: var(--warm-gold);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-charcoal);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.ai-chat-send:hover:not(:disabled) {
    background: var(--champagne-gold);
    transform: scale(1.05);
}

.ai-chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 24px 16px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 20px;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 600;
    color: var(--warm-gold);
    margin-bottom: 8px;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: rgba(248, 246, 242, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Sticky CTA - Hidden on Desktop */
.mobile-sticky-cta {
    display: none;
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: flex;
    }
}
