/**
 * Estilo de componentes públicos - Gestión unificada de estilos CSS repetidos
 * Eliminar código CSS repetido, proporcionar componentes de estilo reutilizables
 */

/* Estilo de barra de navegación de pie de página - Unificar estilo de navegación en todas las páginas */
.footer-nav-bar {
    width: 100%;
    background: #23272f;
    border-top: 1px solid rgba(0,245,255,0.08);
    padding: 1.2rem 0 0.7rem 0;
    margin-top: 2rem;
    text-align: center;
}

.footer-nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.footer-nav-links a {
    color: #b0eaff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-nav-links a:hover {
    color: #00f5ff;
    text-decoration: underline;
}

.footer-nav-links a.active {
    color: #00f5ff;
    font-weight: 600;
}

/* Estilo de botón LINE flotante - Unificar estilo de botones flotantes en todas las páginas */
.floating-line {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00C300, #00A000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 195, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: float 3s ease-in-out infinite;
}

.floating-line:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 195, 0, 0.4);
}

.floating-line .line-icon-text {
    font-size: 24px;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Animación flotante */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Estilo de botón CTA flotante - Exclusivo para página FAQ */
.floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.floating-cta-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #00C300, #00A000);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 20px rgba(0, 195, 0, 0.3);
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.floating-cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 195, 0, 0.4);
    text-decoration: none;
    color: white;
}

.floating-cta-icon {
    font-size: 18px;
}

.floating-cta-text {
    font-size: 14px;
}

/* Diseño responsivo - Unificar adaptación móvil en todas las páginas */
@media (max-width: 768px) {
    .footer-nav-links {
        gap: 1rem;
    }
    .footer-nav-links a {
        font-size: 0.9rem;
    }
    .footer-nav-bar {
        padding: 1rem 0 0.8rem 0;
    }
    
    .floating-line {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    
    .floating-line .line-icon-text {
        font-size: 20px;
    }
    
    .floating-cta-button {
        padding: 10px 16px;
        font-size: 13px;
    }
}

@media (max-width: 600px) {
    .footer-nav-links {
        gap: 0.7rem;
    }
    .footer-nav-links a {
        font-size: 0.85rem;
        padding: 0.2rem 0.4rem;
    }
    .footer-nav-bar {
        padding: 0.8rem 0 0.5rem 0;
    }
    
    .floating-line {
        width: 45px;
        height: 45px;
        bottom: 10px;
        right: 10px;
    }
    
    .floating-line .line-icon-text {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .footer-nav-links {
        gap: 0.5rem;
    }
    .footer-nav-links a {
        font-size: 0.8rem;
        padding: 0.2rem 0.3rem;
    }
    .footer-nav-bar {
        padding: 0.6rem 0 0.4rem 0;
    }
    
    .floating-line {
        width: 40px;
        height: 40px;
        bottom: 8px;
        right: 8px;
    }
    
    .floating-line .line-icon-text {
        font-size: 16px;
    }
    
    .floating-cta-button {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* Estilos de animación genéricos - Unificar efectos de animación en todas las páginas */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Clases de utilidad genéricas - Reducir definiciones de estilo repetidas */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in {
    animation: slideIn 0.6s ease-out;
}

.pulse {
    animation: pulse 2s infinite;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* Estilo de botones genéricos - Unificar estilo de botones en todas las páginas */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #00f5ff, #0080ff);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0080ff, #00f5ff);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 245, 255, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, #8A2BE2, #4B0082);
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #4B0082, #8A2BE2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #00C300, #00A000);
    color: white;
}

.btn-success:hover {
    background: linear-gradient(135deg, #00A000, #00C300);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 195, 0, 0.3);
}
