/* Video Funnel Single View Styles */

.video-funnel-section {
    padding: var(--space-24) 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.funnel-progress-container {
    max-width: 600px;
    margin: 1.5rem auto 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--color-primary, #10B981);
    transition: width 0.5s ease;
}

.progress-percentage {
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    white-space: nowrap;
}

.video-display-container {
    max-width: 900px;
    margin: 3rem auto 0;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.video-player-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0f172a;
}

.video-placeholder-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: rgba(15, 23, 42, 0.8);
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.video-placeholder-overlay:hover {
    background: rgba(15, 23, 42, 0.7);
}

.play-btn-large {
    width: 80px;
    height: 80px;
    background: var(--color-primary, #10B981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.video-nav-controls {
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border-top: 1px solid #f1f5f9;
}

.video-info-box .step-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--color-primary, #10B981);
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.current-step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.next-video-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: #0f172a;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.next-video-btn:hover {
    background: var(--color-primary, #10B981);
    transform: translateX(5px);
}

/* Opt-in Form Overlay */
.optin-overlay {
    max-width: 400px;
    width: 100%;
}

.optin-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.optin-form {
    display: flex;
    gap: 0.5rem;
}

.optin-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.optin-btn {
    padding: 0.75rem 1.25rem;
    background: var(--color-primary, #10B981);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 768px) {
    .video-nav-controls {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .next-video-btn {
        width: 100%;
        justify-content: center;
    }
    
    .optin-form {
        flex-direction: column;
    }
}

.script-content-view {
    color: #e2e8f0;
    line-height: 1.6;
    font-size: 1.1rem;
}

.script-content-view h2, .script-content-view h3 {
    color: var(--color-primary, #10B981);
    margin-top: 1.5rem;
}

.script-content-view strong {
    color: white;
}
