/* ==========================================================================
   ConvertFast - Sistema de Vídeos e Demonstrações Passo a Passo por Ferramenta
   ========================================================================== */

.cf-video-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.35);
    border-radius: 20px;
    color: #a78bfa;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    margin: 10px 0;
}
.cf-video-trigger-btn:hover {
    background: rgba(124, 58, 237, 0.25);
    border-color: #a78bfa;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.cf-video-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    padding: 16px;
}
.cf-video-modal-backdrop.open {
    display: flex;
    animation: cfFadeIn 0.25s ease forwards;
}

.cf-video-modal-box {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    max-width: 720px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(124, 58, 237, 0.2);
    animation: cfSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cfFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes cfSlideUp {
    from { transform: translateY(30px) scale(0.97); }
    to { transform: translateY(0) scale(1); }
}

.cf-vmodal-header {
    background: #1e293b;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cf-vmodal-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cf-vmodal-close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.2s;
}
.cf-vmodal-close:hover {
    color: #ffffff;
}

.cf-vmodal-screen {
    position: relative;
    min-height: 280px;
    background: #090d16;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    text-align: center;
    overflow: hidden;
    user-select: none;
}

.cf-vmodal-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(6, 182, 212, 0.15);
    color: #06b6d4;
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.cf-vmodal-step-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.cf-vmodal-step-desc {
    font-size: 0.9rem;
    color: #94a3b8;
    max-width: 480px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.cf-vmodal-visual-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 16px 24px;
    font-size: 0.95rem;
    color: #38bdf8;
    font-weight: 600;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.cf-vmodal-cursor {
    position: absolute;
    width: 22px;
    height: 22px;
    pointer-events: none;
    z-index: 20;
    transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.cf-vmodal-footer {
    background: #111827;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cf-vmodal-play-btn {
    background: #7c3aed;
    border: none;
    color: #ffffff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: transform 0.2s;
}
.cf-vmodal-play-btn:hover {
    transform: scale(1.08);
}

.cf-vmodal-progress-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cf-vmodal-progress-bar {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
}
.cf-vmodal-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #7c3aed, #06b6d4);
    transition: width 0.1s linear;
}

.cf-vmodal-time {
    font-size: 0.75rem;
    color: #94a3b8;
    font-family: monospace;
}
