/**
 * 🎯 ESTILOS DO CTA DE UPGRADE PARA PRIMEIRA ANÁLISE FREE
 * 
 * Aparece APENAS na primeira análise FULL de usuários FREE
 * Modal elegante, não invasivo, estilo SaaS moderno
 */

/* ═══════════════════════════════════════════════════════════════════════════════
   OVERLAY DO CTA
   ═══════════════════════════════════════════════════════════════════════════════ */

.first-analysis-cta-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    animation: fadeInCTA 0.3s ease-out forwards;
    padding: 20px;
}

@keyframes fadeInCTA {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   MODAL DO CTA
   ═══════════════════════════════════════════════════════════════════════════════ */

.first-analysis-cta-modal {
    background: linear-gradient(145deg, #0a0e1a 0%, #111827 100%);
    border-radius: 20px;
    max-width: 560px;
    width: 100%;
    padding: 48px 40px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
    position: relative;
    transform: scale(0.9) translateY(20px);
    animation: slideUpCTA 0.4s ease-out forwards 0.1s;
    text-align: center;
}

@keyframes slideUpCTA {
    from {
        transform: scale(0.9) translateY(20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ÍCONE/EMOJI NO TOPO
   ═══════════════════════════════════════════════════════════════════════════════ */

.first-analysis-cta-icon {
    font-size: 64px;
    line-height: 1;
    margin-bottom: 24px;
    display: inline-block;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   TÍTULO E TEXTO
   ═══════════════════════════════════════════════════════════════════════════════ */

.first-analysis-cta-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.3;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
}

.first-analysis-cta-text {
    font-size: 16px;
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 32px;
    font-family: 'Poppins', sans-serif;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   BOTÕES
   ═══════════════════════════════════════════════════════════════════════════════ */

.first-analysis-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
}

.first-analysis-cta-btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

/* Botão Primário (Ver Planos) */
.first-analysis-cta-btn.primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px 0 rgba(139, 92, 246, 0.4);
}

.first-analysis-cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(139, 92, 246, 0.5);
}

.first-analysis-cta-btn.primary:active {
    transform: translateY(0);
}

/* Botão Secundário (Continuar Grátis) */
.first-analysis-cta-btn.secondary {
    background: transparent;
    color: #9ca3af;
    border: 1px solid rgba(156, 163, 175, 0.3);
}

.first-analysis-cta-btn.secondary:hover {
    background: rgba(156, 163, 175, 0.05);
    border-color: rgba(156, 163, 175, 0.5);
    color: #d1d5db;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   BADGE/DESTAQUE
   ═══════════════════════════════════════════════════════════════════════════════ */

.first-analysis-cta-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Rajdhani', sans-serif;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVIDADE MOBILE
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 640px) {
    .first-analysis-cta-modal {
        padding: 32px 24px;
        max-width: 100%;
        margin: 0 16px;
    }
    
    .first-analysis-cta-icon {
        font-size: 48px;
        margin-bottom: 16px;
    }
    
    .first-analysis-cta-title {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .first-analysis-cta-text {
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    .first-analysis-cta-btn {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .first-analysis-cta-buttons {
        gap: 10px;
        margin-top: 24px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ANIMAÇÃO DE SAÍDA
   ═══════════════════════════════════════════════════════════════════════════════ */

.first-analysis-cta-overlay.hiding {
    animation: fadeOutCTA 0.3s ease-out forwards;
}

.first-analysis-cta-overlay.hiding .first-analysis-cta-modal {
    animation: slideDownCTA 0.3s ease-out forwards;
}

@keyframes fadeOutCTA {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes slideDownCTA {
    from {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
    to {
        transform: scale(0.9) translateY(20px);
        opacity: 0;
    }
}
