* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hide default Vapi widget button */
#vapi-support-btn,
.vapi-btn,
[id^="vapi-"],
button[aria-label*="question"],
iframe[src*="vapi"],
div[style*="position: fixed"][style*="bottom"],
.vapi-widget-container {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
}

/* Logo */
.logo-section {
    margin-bottom: 30px;
}

.logo {
    max-width: 400px;
    height: auto;
    padding: 10px;
}

.tagline {
    font-size: 18px;
    color: #667eea;
    font-weight: 600;
    margin-top: 15px;
    letter-spacing: 0.5px;
}

/* Waveform Animation */
.waveform-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    height: 80px;
    margin: 30px 0;
}

.wave-bar {
    width: 6px;
    background: linear-gradient(to top, #667eea, #764ba2);
    border-radius: 10px;
    animation: wave 1.2s ease-in-out infinite;
}

.wave-bar:nth-child(1) { animation-delay: 0s; }
.wave-bar:nth-child(2) { animation-delay: 0.1s; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; }
.wave-bar:nth-child(4) { animation-delay: 0.3s; }
.wave-bar:nth-child(5) { animation-delay: 0.4s; }
.wave-bar:nth-child(6) { animation-delay: 0.5s; }
.wave-bar:nth-child(7) { animation-delay: 0.6s; }
.wave-bar:nth-child(8) { animation-delay: 0.7s; }
.wave-bar:nth-child(9) { animation-delay: 0.8s; }
.wave-bar:nth-child(10) { animation-delay: 0.9s; }

@keyframes wave {
    0%, 100% {
        height: 20px;
    }
    50% {
        height: 60px;
    }
}

.waveform-container.inactive .wave-bar {
    animation: none;
    height: 20px;
    opacity: 0.3;
}

.waveform-container.listening .wave-bar {
    background: linear-gradient(to top, #11998e, #38ef7d);
}

/* Status Text */
.status-text {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-text.listening {
    color: #11998e;
}

.status-text.speaking {
    color: #667eea;
}

/* Transcript Area */
.transcript-area {
    background: #f5f5f5;
    border-radius: 15px;
    padding: 20px;
    max-height: 300px;
    overflow-y: auto;
    margin: 20px 0;
    text-align: left;
}

.transcript-item {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 10px;
    line-height: 1.5;
}

.transcript-item.user {
    background: #e3f2fd;
    margin-left: 20px;
}

.transcript-item.assistant {
    background: #f3e5f5;
    margin-right: 20px;
}

.transcript-item strong {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    opacity: 0.7;
}

/* Buttons */
.call-button, .end-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 20px 40px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 10px;
}

.call-button:hover, .end-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.call-button:active, .end-button:active {
    transform: translateY(0);
}

.end-button {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.button-icon {
    font-size: 24px;
}

/* Footer */
.footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
    color: #666;
    font-size: 14px;
}

.demo-note {
    font-size: 12px;
    margin-top: 5px;
    opacity: 0.7;
}

/* Scrollbar styling */
.transcript-area::-webkit-scrollbar {
    width: 8px;
}

.transcript-area::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
}

.transcript-area::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 10px;
}

.transcript-area::-webkit-scrollbar-thumb:hover {
    background: #764ba2;
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 20px;
    }

    .logo {
        max-width: 150px;
    }

    .call-button, .end-button {
        font-size: 16px;
        padding: 15px 30px;
    }
}
