/* 1. VOICE RECOGNITION MIC BTN */
.chatbot-mic {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text, #f5f2e8);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 8px;
    flex-shrink: 0;
}
.chatbot-mic:hover {
    background: rgba(255,255,255,0.1);
    color: var(--gold, #d4af37);
}
.chatbot-mic.recording {
    background: #e53935;
    color: white;
    border-color: #e53935;
    animation: mic-pulse 1.5s infinite;
}

@keyframes mic-pulse {
    0% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(229, 57, 53, 0); }
    100% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0); }
}

/* Make input area flex to fit mic */
.chatbot-input-area {
    display: flex;
    align-items: center;
    padding: 12px;
}

.chatbot-input-area input {
    flex: 1;
}

/* 2. SCROLL REVEAL */
.innovative-reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.innovative-reveal-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* 3. BARRA DE PROGRESO DE SCROLL */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: var(--gold, #d4af37);
    box-shadow: 0 0 10px var(--gold, #d4af37);
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
    z-index: 99999;
    transition: width 0.1s ease;
}

/* Smooth scrolling override */
html {
    scroll-behavior: smooth;
}
