/* Estilos específicos para la sección de Entrevista con IA */

/* Sección principal */
.ai-interview {
    padding: 120px 0 !important;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%) !important;
    color: white !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 100vh !important;
}

.ai-interview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="ai-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23475569" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23ai-grid)"/></svg>');
    opacity: 0.4;
    z-index: 0;
}

/* Contenido principal */
.ai-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 80px !important;
    align-items: center !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Badge de IA */
.ai-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6) !important;
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 50px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-bottom: 24px !important;
    animation: glow 2s ease-in-out infinite alternate !important;
}

.ai-badge i {
    width: 16px !important;
    height: 16px !important;
}

/* Texto principal */
.ai-text h2 {
    font-size: 42px !important;
    font-weight: 800 !important;
    margin-bottom: 24px !important;
    background: linear-gradient(135deg, #ffffff, #e2e8f0) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    line-height: 1.2 !important;
    color: white !important;
}

.ai-text p {
    font-size: 18px !important;
    color: #cbd5e1 !important;
    margin-bottom: 40px !important;
    line-height: 1.7 !important;
}

/* Características de IA */
.ai-features {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
    margin-bottom: 40px !important;
}

.ai-feature {
    display: flex !important;
    gap: 16px !important;
    align-items: flex-start !important;
}

.ai-feature-icon {
    width: 48px !important;
    height: 48px !important;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    animation: pulse 2s infinite !important;
}

.ai-feature-icon i {
    width: 24px !important;
    height: 24px !important;
    color: white !important;
}

.ai-feature h4 {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: white !important;
    margin-bottom: 4px !important;
}

.ai-feature p {
    font-size: 14px !important;
    color: #94a3b8 !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

/* Visual de la entrevista */
.ai-visual {
    position: relative !important;
}

.interview-mockup {
    background: #1e293b !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5) !important;
    overflow: hidden !important;
    border: 1px solid #334155 !important;
    animation: float 6s ease-in-out infinite !important;
}

/* Header del mockup */
.mockup-header {
    background: #0f172a !important;
    padding: 16px 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    border-bottom: 1px solid #334155 !important;
}

.mockup-controls {
    display: flex !important;
    gap: 8px !important;
}

.control {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
}

.control.red {
    background: #ef4444 !important;
}

.control.yellow {
    background: #f59e0b !important;
}

.control.green {
    background: #10b981 !important;
}

.mockup-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #e2e8f0 !important;
}

.mockup-content {
    padding: 24px !important;
}

/* Vista previa del cónsul */
.consul-preview {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 16px !important;
    background: linear-gradient(135deg, #1e40af, #3b82f6) !important;
    border-radius: 12px !important;
    margin-bottom: 20px !important;
}

.consul-avatar {
    width: 48px !important;
    height: 48px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.consul-avatar i {
    width: 24px !important;
    height: 24px !important;
    color: white !important;
}

.consul-info h4 {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: white !important;
    margin: 0 0 4px 0 !important;
}

.consul-info p {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0 0 8px 0 !important;
}

.status-online {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.status-dot {
    width: 8px !important;
    height: 8px !important;
    background: #10b981 !important;
    border-radius: 50% !important;
    animation: blink 2s infinite !important;
}

/* Vista previa del chat */
.chat-preview {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    margin-bottom: 20px !important;
}

.message {
    display: flex !important;
    gap: 12px !important;
    animation: messageSlide 0.5s ease-out !important;
}

.message.user-msg {
    flex-direction: row-reverse !important;
}

.msg-avatar {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.consul-msg .msg-avatar {
    background: #3b82f6 !important;
}

.user-msg .msg-avatar {
    background: #64748b !important;
}

.msg-avatar i {
    width: 16px !important;
    height: 16px !important;
    color: white !important;
}

.msg-content {
    max-width: 70% !important;
    padding: 12px 16px !important;
    border-radius: 16px !important;
    position: relative !important;
}

.consul-msg .msg-content {
    background: #334155 !important;
    color: #e2e8f0 !important;
    border-bottom-left-radius: 4px !important;
}

.user-msg .msg-content {
    background: #3b82f6 !important;
    color: white !important;
    border-bottom-right-radius: 4px !important;
}

.msg-content p {
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

.msg-time {
    font-size: 10px !important;
    opacity: 0.7 !important;
    margin-top: 4px !important;
    display: block !important;
}

/* Indicador de escritura */
.typing-preview {
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
}

.typing-indicator {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 12px 16px !important;
    background: #334155 !important;
    border-radius: 16px !important;
    border-bottom-left-radius: 4px !important;
}

.typing-dots {
    display: flex !important;
    gap: 4px !important;
}

.dot {
    width: 6px !important;
    height: 6px !important;
    background: #94a3b8 !important;
    border-radius: 50% !important;
    animation: typingDot 1.4s infinite !important;
}

.dot:nth-child(2) {
    animation-delay: 0.2s !important;
}

.dot:nth-child(3) {
    animation-delay: 0.4s !important;
}

.typing-indicator span {
    font-size: 12px !important;
    color: #94a3b8 !important;
}

/* Barra de estado */
.interview-status-preview {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 16px !important;
    background: #0f172a !important;
    border-radius: 8px !important;
    border: 1px solid #334155 !important;
}

.status-item {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 12px !important;
    color: #94a3b8 !important;
}

.status-item i {
    width: 14px !important;
    height: 14px !important;
}

.status-item.ai-powered {
    color: #3b82f6 !important;
    font-weight: 600 !important;
}

/* Elementos flotantes de IA */
.ai-elements {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    pointer-events: none !important;
}

.ai-element {
    position: absolute !important;
    width: 60px !important;
    height: 60px !important;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0.1 !important;
}

.ai-element i {
    width: 30px !important;
    height: 30px !important;
    color: white !important;
}

.ai-element-1 {
    top: 10% !important;
    right: 10% !important;
    animation: floatElement 8s ease-in-out infinite !important;
}

.ai-element-2 {
    bottom: 20% !important;
    right: 20% !important;
    animation: floatElement 6s ease-in-out infinite reverse !important;
}

.ai-element-3 {
    top: 60% !important;
    right: 5% !important;
    animation: floatElement 10s ease-in-out infinite !important;
}

/* Animaciones */
@keyframes glow {
    from {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    }
    to {
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.8);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(5px) rotate(-1deg); }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes typingDot {
    0%, 60%, 100% { opacity: 0.3; }
    30% { opacity: 1; }
}

@keyframes floatElement {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(10px) rotate(180deg); }
    75% { transform: translateY(-10px) rotate(270deg); }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ai-text {
    animation: slideInFromLeft 0.8s ease-out !important;
}

.ai-visual {
    animation: slideInFromRight 0.8s ease-out !important;
}

/* Estilos específicos para botones en la sección de IA */
.ai-interview .btn {
    position: relative !important;
    overflow: hidden !important;
}

.ai-interview .btn::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
    transition: left 0.5s ease !important;
}

.ai-interview .btn:hover::before {
    left: 100% !important;
}

.ai-interview .btn-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6) !important;
    border: none !important;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3) !important;
}

.ai-interview .btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4) !important;
}

/* Diseño responsivo */
@media (max-width: 1024px) {
    .ai-content {
        grid-template-columns: 1fr !important;
        gap: 60px !important;
        text-align: center !important;
    }
    
    .ai-text h2 {
        font-size: 36px !important;
    }
    
    .ai-features {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .interview-mockup {
        max-width: 500px !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 768px) {
    .ai-interview {
        padding: 80px 0 !important;
    }
    
    .ai-content {
        gap: 40px !important;
    }
    
    .ai-text h2 {
        font-size: 28px !important;
    }
    
    .ai-text p {
        font-size: 16px !important;
    }
    
    .ai-features {
        grid-template-columns: 1fr !important;
    }
    
    .ai-feature {
        flex-direction: column !important;
        text-align: center !important;
        gap: 12px !important;
    }
    
    .mockup-content {
        padding: 16px !important;
    }
    
    .consul-preview {
        flex-direction: column !important;
        text-align: center !important;
        gap: 12px !important;
    }
    
    .msg-content {
        max-width: 85% !important;
    }
    
    .interview-status-preview {
        flex-direction: column !important;
        gap: 8px !important;
        align-items: flex-start !important;
    }
}

@media (max-width: 480px) {
    .ai-text h2 {
        font-size: 24px !important;
    }
    
    .interview-mockup {
        margin: 0 -20px !important;
        border-radius: 0 !important;
    }
    
    .mockup-header {
        padding: 12px 16px !important;
    }
    
    .mockup-content {
        padding: 12px !important;
    }
    
    .ai-elements {
        display: none !important;
    }
} 