/* ============================================
   CALL DEMOS PAGE
   Video player with industry tabs
   ============================================ */

/* ===== HEADER ===== */
.header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

/* ===== INDUSTRY TABS ===== */
.industry-tabs {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
}

.industry-tab {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 24px;
    font-size: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    backdrop-filter: blur(10px);
}

.industry-tab:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.industry-tab.active {
    background: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
}

/* ===== CALL PLAYER CONTAINER ===== */
.call-player-container {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: var(--space-lg);
    backdrop-filter: blur(10px);
    margin-bottom: var(--space-xl);
}

/* ===== AUDIO PLAYER SECTION ===== */
.audio-player-section {
    margin-bottom: var(--space-lg);
}

.audio-player {
    width: 100%;
    height: 48px;
    border-radius: 8px;
    outline: none;
}

.audio-player::-webkit-media-controls-panel {
    background: var(--bg-secondary);
}

.audio-player::-webkit-media-controls-play-button,
.audio-player::-webkit-media-controls-pause-button {
    background-color: var(--accent);
    border-radius: 50%;
}

/* ===== DEMO LAYOUT ===== */
.demo-content {
    display: flex;
    justify-content: center;
}

/* ===== VIDEO COLUMN ===== */
.video-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    width: 100%;
    max-width: 800px;
}

.speaker-indicators {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
}

.speaker-badge {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
}

.ai-badge {
    background: rgba(180, 255, 57, 0.1);
    color: var(--accent);
    border-color: rgba(180, 255, 57, 0.3);
}

.ai-badge.active {
    background: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
}

.caller-badge {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-color: var(--border-color);
}

.caller-badge.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.3);
}

.badge-icon {
    font-size: 16px;
}

.badge-text {
    font-size: 14px;
}

/* ===== VIDEO CONTAINER ===== */
.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.call-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.call-video.active {
    display: block;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.placeholder-icon {
    font-size: 64px;
    margin-bottom: var(--space-sm);
    opacity: 0.5;
}

.placeholder-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.placeholder-subtext {
    font-size: 14px;
    color: var(--text-muted);
}

/* ===== CTA SECTION ===== */
.cta-section {
    margin-top: var(--space-2xl);
    text-align: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: var(--space-xl);
    backdrop-filter: blur(10px);
}

.cta-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.cta-text {
    font-size: var(--font-subheadline);
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.cta-section .cta-button {
    display: inline-block;
    text-decoration: none;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .industry-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .industry-tab {
        width: 100%;
        text-align: center;
    }

    .call-player-container {
        padding: var(--space-md);
    }

    .speaker-indicators {
        flex-wrap: wrap;
    }

    .cta-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .cta-title {
        font-size: 24px;
    }

    .video-container {
        aspect-ratio: 4 / 3;
    }
}