/* Recording Demo Section Styles */
.recording-demo-section {
    padding: 80px 0;
    margin: 60px 0 0;
    width: 100%;
    background-color: transparent;
    font-family: 'Raleway', 'Google Sans', Roboto, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.recording-demo-container {
    width: 100%;
}

/* Recording demo heading now uses .section-title class */

.recording-demo-subtitle {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.recording-demo-card {
    background: linear-gradient(180deg, rgba(230, 240, 255, 0.8) 0%, rgba(255, 255, 255, 0.9) 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin: 0 0px 0px 0px;
    width: calc(100% - 40px);
    box-sizing: border-box;
}

/* Recording Control Section */
.recording-control-section {
    margin-bottom: 40px;
}

.recording-section-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.recording-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.waveform-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 300px;
}

.pause-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1a73e8;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.pause-button:hover {
    background: #1557b0;
    transform: scale(1.05);
}

.pause-button i {
    font-size: 14px;
}

.audio-waveform {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    height: 50px;
    justify-content: center;
}

.waveform-bar {
    width: 4px;
    background: #1a73e8;
    border-radius: 2px;
    min-height: 8px;
    animation: waveformPulse 1.2s ease-in-out infinite;
}

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

@keyframes waveformPulse {
    0%, 100% {
        transform: scaleY(0.5);
        opacity: 0.7;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

.recording-timestamp {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    font-family: 'Courier New', monospace;
    min-width: 50px;
}

.recording-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.start-recording-button {
    padding: 12px 24px;
    background: #1a73e8;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.start-recording-button:hover {
    background: #1557b0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.pair-mic-button {
    padding: 10px 16px;
    background: #f0f0f0;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.pair-mic-button:hover {
    background: #e0e0e0;
    border-color: #ccc;
}

.pair-mic-button i {
    color: #1a73e8;
    font-size: 1rem;
}

.settings-button {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.settings-button:hover {
    background: #f0f0f0;
    border-color: #ccc;
    color: #333;
}

/* Transcription Section */
.transcription-section {
    margin-bottom: 0px;
}

.transcription-textarea {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    min-height: 150px;
    max-height: 300px;
    overflow-y: auto;
}

.transcription-textarea p {
    margin: 0;
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Feature Badges */
.feature-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    padding-top: 20px;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.feature-badge i {
    color: #1a73e8;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .recording-demo-section {
        padding: 60px 0;
        margin: 70px 40px 0 0;
    }
    
    
    .recording-demo-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .recording-demo-card {
        padding: 0px 0px;
        margin: 0 16px 16px 16px;
        width: calc(100% - 32px);
    }
    
    .recording-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .waveform-container {
        min-width: 100%;
    }
    
    .recording-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .start-recording-button,
    .pair-mic-button {
        flex: 1;
    }
    
    .feature-badges {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .recording-demo-section {
        padding: 40px 0;
    }
    
    .recording-demo-card {
        margin: 0 12px 12px 12px;
        width: calc(100% - 24px);
    }
    
    
    .recording-controls {
        gap: 15px;
    }
    
    .waveform-container {
        gap: 10px;
    }
    
    .audio-waveform {
        gap: 3px;
    }
    
    .waveform-bar {
        width: 3px;
    }
    
    .recording-actions {
        flex-direction: column;
    }
    
    .start-recording-button,
    .pair-mic-button {
        width: 100%;
        justify-content: center;
    }
}

