/* Interaction Studies Styles */

.ai-voice-visualization {
    background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%);
}

.ai-voice-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: var(--spacing-xl);
    position: relative;
}

#ai-voice-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ai-voice-controls {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.ai-voice-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

.ai-voice-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.6);
}

.ai-voice-btn:active {
    transform: translateY(0);
}

.ai-voice-btn i {
    font-size: 24px;
}

.ai-voice-status {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.ai-voice-transcript {
    min-height: 60px;
    max-width: 500px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
    font-style: italic;
}

.ai-voice-info {
    position: absolute;
    bottom: 40px;
    left: 40px;
    max-width: 400px;
    padding: 24px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.ai-voice-info h3 {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ai-voice-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ai-voice-info li {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.ai-voice-info strong {
    color: #667eea;
    font-weight: 600;
}

/* Component Interaction Study Styles */
.component-study {
    padding: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.component-study-header {
    margin-bottom: 48px;
}

.component-study-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--color-text-primary);
}

.component-study-description {
    font-size: 20px;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

.component-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.component-example {
    padding: 32px;
    background: var(--color-surface-secondary);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.component-example:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.component-example h3 {
    margin: 0 0 16px 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-primary);
}

.component-example p {
    margin: 0 0 24px 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

.component-demo {
    padding: 24px;
    background: var(--color-surface-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ai-voice-content {
        padding: var(--spacing-lg);
    }

    .ai-voice-controls {
        padding: 24px;
        width: 90%;
        max-width: 400px;
    }

    .ai-voice-btn {
        padding: 14px 24px;
        font-size: 16px;
    }

    .ai-voice-info {
        position: static;
        margin-top: auto;
        width: 90%;
        max-width: 400px;
    }

    .component-study {
        padding: var(--spacing-lg);
    }

    .component-study-title {
        font-size: 32px;
    }

    .component-examples {
        grid-template-columns: 1fr;
    }
}

/* Dark Mode */
[data-theme="dark"] .component-example {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

