/* ============================================
   HUMANPRO - COMPONENT STYLES
   Estilos para elementos flotantes y popups
   ============================================ */

/* ============================================
   CHATBOT
   ============================================ */
.chatbot-container {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 9990;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
    transition: all 0.3s ease;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(124, 58, 237, 0.6);
}

.chatbot-toggle.active {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

.chatbot-toggle i {
    font-size: 1.5rem;
    color: #fff;
}

.chatbot-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    max-height: 450px;
    background: linear-gradient(180deg, #0a0f2c 0%, #050a30 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.chatbot-window.active {
    display: flex;
    animation: slideUp 0.3s ease;
}

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

.chatbot-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(168, 85, 247, 0.1));
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-avatar i {
    color: #fff;
    font-size: 1.2rem;
}

.chatbot-info h4 {
    font-size: 0.95rem;
    margin: 0;
    color: #fff;
}

.chatbot-info span {
    font-size: 0.75rem;
    color: #10b981;
}

.chatbot-close {
    margin-left: auto;
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.chatbot-close:hover {
    color: #fff;
}

.chatbot-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    max-height: 250px;
}

.chat-message {
    margin-bottom: 0.75rem;
    max-width: 85%;
}

.chat-message.bot {
    margin-right: auto;
}

.chat-message.user {
    margin-left: auto;
}

.chat-message p {
    padding: 0.75rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.chat-message.bot p {
    background: rgba(124, 58, 237, 0.2);
    border: 1px solid rgba(124, 58, 237, 0.3);
    color: #fff;
}

.chat-message.user p {
    background: linear-gradient(135deg, #233dff, #00d4ff);
    color: #fff;
}

.chat-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.chat-options button {
    padding: 0.5rem 0.75rem;
    background: rgba(35, 61, 255, 0.1);
    border: 1px solid rgba(35, 61, 255, 0.3);
    border-radius: 20px;
    color: #fff;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}

.chat-options button:hover {
    background: rgba(35, 61, 255, 0.3);
    border-color: #00d4ff;
}

.chatbot-input {
    display: flex;
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    gap: 0.5rem;
}

.chatbot-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    color: #fff;
    font-size: 0.9rem;
}

.chatbot-input input:focus {
    outline: none;
    border-color: #7c3aed;
}

.chatbot-input button {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.chatbot-input button:hover {
    transform: scale(1.1);
}

/* ============================================
   WHATSAPP FLOTANTE
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9995;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    color: #fff;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: #fff;
}

/* ============================================
   URGENCY BANNER
   ============================================ */
.urgency-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #dc2626, #ef4444);
    padding: 0.75rem 1rem;
    z-index: 9998;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.urgency-banner.active {
    transform: translateY(0);
}

.urgency-banner.hidden {
    display: none !important;
}

.urgency-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.urgency-icon {
    font-size: 1.25rem;
    animation: pulse 1s infinite;
}

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

.urgency-text {
    font-size: 0.9rem;
    color: #fff;
}

.urgency-count {
    display: inline-block;
    background: #fff;
    color: #dc2626;
    padding: 0.1rem 0.5rem;
    border-radius: 4px;
    font-weight: 800;
    margin: 0 0.25rem;
}

.urgency-discount {
    background: #fbbf24;
    color: #000;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
}

.urgency-cta {
    padding: 0.5rem 1.25rem;
    background: #fff;
    color: #dc2626;
    border-radius: 20px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.85rem;
    transition: transform 0.3s;
}

.urgency-cta:hover {
    transform: scale(1.05);
}

.urgency-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0.25rem 0.5rem;
    transition: color 0.3s;
}

.urgency-close:hover {
    color: #fff;
}

/* ============================================
   EXIT INTENT POPUP
   ============================================ */
.exit-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 100000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.exit-popup-overlay.active {
    display: flex;
}

.exit-popup-content {
    background: linear-gradient(135deg, #050a30 0%, #0a1550 100%);
    border: 2px solid #00d4ff;
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 420px;
    text-align: center;
    position: relative;
    animation: popIn 0.4s ease;
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.exit-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exit-popup-close:hover {
    background: rgba(255,255,255,0.2);
}

.exit-popup-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.exit-popup-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.exit-popup-content > p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 1.5rem;
}

.exit-popup-offer {
    background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(52,211,153,0.1));
    border: 2px dashed #10b981;
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.exit-discount {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #10b981;
}

.exit-code {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
}

.exit-code strong {
    color: #00d4ff;
    letter-spacing: 2px;
}

.exit-popup-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 30px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;
}

.exit-popup-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.exit-skip {
    display: block;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    text-decoration: underline;
}

.exit-skip:hover {
    color: rgba(255,255,255,0.6);
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top-btn {
    position: fixed;
    bottom: 100px;
    right: 90px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #233dff, #00d4ff);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 9985;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(35, 61, 255, 0.4);
}

/* ============================================
   TRUST BADGES
   ============================================ */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1.5rem 5%;
    background: rgba(5,10,48,0.8);
    border-top: 1px solid rgba(35,61,255,0.2);
    border-bottom: 1px solid rgba(35,61,255,0.2);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(35,61,255,0.1);
    border-radius: 25px;
    font-size: 0.9rem;
    color: #fff;
}

.trust-badge i {
    color: #00d4ff;
}

.trust-badge strong {
    color: #10b981;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .chatbot-container {
        bottom: 90px;
        right: 15px;
    }
    
    .chatbot-window {
        width: calc(100vw - 30px);
        right: -5px;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-button {
        width: 55px;
        height: 55px;
    }
    
    .urgency-content {
        font-size: 0.85rem;
        padding: 0 1rem;
    }
    
    .urgency-cta {
        display: none;
    }
    
    .scroll-top-btn {
        right: 15px;
        bottom: 160px;
    }
    
    .trust-badges {
        gap: 0.75rem;
    }
    
    .trust-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* ============================================
   MEGA MENU - Navegación Mejorada
   ============================================ */
.mega-dropdown {
    position: relative;
}

.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 700px;
    background: linear-gradient(180deg, #0a0f2c 0%, #050a30 100%);
    border: 1px solid rgba(35, 61, 255, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    z-index: 1000;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.mega-dropdown:hover .mega-menu {
    display: grid;
    animation: fadeDown 0.3s ease;
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.mega-column {
    padding: 0 1rem;
}

.mega-column:not(:last-child) {
    border-right: 1px solid rgba(255,255,255,0.1);
}

.mega-column h4 {
    font-size: 0.85rem;
    color: #00d4ff;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0,212,255,0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mega-column h4 i {
    font-size: 0.9rem;
}

.mega-column a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.mega-column a:hover {
    background: rgba(35, 61, 255, 0.2);
    color: #fff;
    transform: translateX(5px);
}

.mega-column a i {
    width: 20px;
    text-align: center;
    color: rgba(255,255,255,0.5);
}

.mega-column a:hover i {
    color: #00d4ff;
}

.highlight-link {
    background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(52,211,153,0.1)) !important;
    border: 1px solid rgba(16,185,129,0.3) !important;
    margin-top: 0.5rem !important;
}

.highlight-link:hover {
    background: linear-gradient(135deg, rgba(16,185,129,0.3), rgba(52,211,153,0.2)) !important;
}

/* Coming Soon Links */
.coming-soon-column {
    background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(234,88,12,0.05));
    border-radius: 12px;
    padding: 1rem !important;
    margin: -0.5rem;
}

.coming-soon-link {
    flex-direction: column !important;
    align-items: flex-start !important;
    background: rgba(0,0,0,0.2);
    border: 1px dashed rgba(245,158,11,0.3);
    margin-bottom: 0.5rem;
    position: relative;
    overflow: hidden;
}

.coming-soon-link::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, transparent 50%, rgba(245,158,11,0.2) 50%);
}

.coming-soon-link .coming-badge {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.coming-soon-link span:not(.coming-badge) {
    font-weight: 600;
    color: #f59e0b;
}

.coming-soon-link small {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    margin-top: 0.25rem;
}

.coming-soon-link:hover {
    border-color: #f59e0b;
    background: rgba(245,158,11,0.1) !important;
}

/* Responsive Mega Menu */
@media (max-width: 900px) {
    .mega-menu {
        min-width: 95vw;
        left: 0;
        transform: none;
        grid-template-columns: 1fr;
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .mega-column {
        border-right: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
    
    .mega-column:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }
}

/* ============================================
   MENÚ FLOTANTE UNIFICADO (WhatsApp + Asistente)
   ============================================ */
.floating-hub {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9990;
}

.floating-hub-trigger {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #233dff, #00d4ff);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(35, 61, 255, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.floating-hub-trigger:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(35, 61, 255, 0.6);
}

.floating-hub-trigger i {
    font-size: 1.5rem;
    color: #fff;
    transition: transform 0.3s;
}

.floating-hub-trigger.active i {
    transform: rotate(45deg);
}

.floating-hub-trigger .hub-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: #ef4444;
    border-radius: 50%;
    font-size: 0.7rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    animation: pulse 2s infinite;
}

.floating-hub-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.floating-hub.active .floating-hub-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hub-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #0a0f2c;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s;
    cursor: pointer;
}

.hub-option:hover {
    background: rgba(35, 61, 255, 0.2);
    border-color: #00d4ff;
    transform: translateX(-5px);
}

.hub-option i {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.1rem;
}

.hub-option.whatsapp i {
    background: #25D366;
}

.hub-option.chatbot i {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.hub-option.scroll-top i {
    background: linear-gradient(135deg, #233dff, #00d4ff);
}

.hub-option span {
    font-size: 0.9rem;
    font-weight: 500;
}

.hub-option small {
    display: block;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
}

/* ============================================
   FIX: PROCESO "TU CAMINO AL ÉXITO"
   ============================================ */
.process-steps {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 1rem;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 70px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: linear-gradient(90deg, #233dff, #00d4ff, #7c3aed);
    border-radius: 4px;
    z-index: 1;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    background: rgba(5,10,48,0.95);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    border: 1px solid rgba(35,61,255,0.2);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
    border-color: #00d4ff;
    box-shadow: 0 20px 40px rgba(0,212,255,0.2);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #050a30, #0a1550);
    border: 3px solid #233dff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #00d4ff;
    transition: all 0.4s ease;
    position: relative;
    z-index: 3;
}

.process-step:hover .step-number {
    background: linear-gradient(135deg, #233dff, #00d4ff);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(35,61,255,0.5);
}

.process-step h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.process-step p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .process-steps::before {
        display: none;
    }
    
    .process-step {
        min-width: 140px;
        padding: 1rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* ============================================
   HUB FLOTANTE MEJORADO - MÁS LLAMATIVO
   ============================================ */
.floating-hub-trigger {
    animation: hubPulse 2s ease-in-out infinite;
}

@keyframes hubPulse {
    0%, 100% { 
        box-shadow: 0 4px 20px rgba(35, 61, 255, 0.4),
                    0 0 0 0 rgba(35, 61, 255, 0.4);
    }
    50% { 
        box-shadow: 0 6px 30px rgba(35, 61, 255, 0.6),
                    0 0 0 15px rgba(35, 61, 255, 0);
    }
}

.floating-hub-trigger::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #233dff, #00d4ff, #7c3aed);
    z-index: -1;
    animation: rotateGlow 3s linear infinite;
    opacity: 0.5;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hub-badge {
    animation: badgeBounce 1s ease-in-out infinite;
}

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

/* Opción del chatbot más destacada */
.hub-option.chatbot {
    background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(168,85,247,0.1));
    border: 1px solid rgba(124,58,237,0.3);
}

.hub-option.chatbot i {
    animation: robotBlink 2s ease-in-out infinite;
}

@keyframes robotBlink {
    0%, 90%, 100% { opacity: 1; }
    95% { opacity: 0.5; }
}

/* ================================================
   PROMOCIONES MIXTAS - PERSONA Y EMPRESA
   ================================================ */
.offer-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
}

.offer-tag.persona {
    background: linear-gradient(135deg, rgba(35,61,255,0.9), rgba(0,212,255,0.9));
    color: #fff;
}

.offer-tag.empresa {
    background: linear-gradient(135deg, rgba(16,185,129,0.9), rgba(5,150,105,0.9));
    color: #fff;
}

.offer-card {
    position: relative;
}

.offer-card.empresa {
    border-color: rgba(16,185,129,0.3);
}

.offer-card.empresa:hover {
    border-color: #10b981;
    box-shadow: 0 20px 40px rgba(16,185,129,0.2);
}

.offer-card.featured.empresa {
    border-color: #10b981;
    background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(5,150,105,0.05));
}

.offer-card.featured.empresa .offer-ribbon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.offer-ribbon.gratis {
    background: linear-gradient(135deg, #10b981, #34d399) !important;
}

/* Grid de 6 ofertas en 3 columnas */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (max-width: 1024px) {
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .offers-grid {
        grid-template-columns: 1fr;
    }
}

/* CTA Buttons */
.launch-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-cta.persona {
    background: linear-gradient(135deg, #233dff, #00d4ff);
    color: #fff;
}

.btn-cta.empresa {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Ajustes para cards más compactas */
.offer-card {
    padding-top: 3.5rem;
}

.offer-card h3 {
    font-size: 1.1rem;
}

.offer-features li {
    font-size: 0.85rem;
    padding: 0.4rem 0;
}


/* ═══════════════════════════════════════════════════════════════
   SECCIÓN DE PROMOCIONES - DISEÑO PROFESIONAL

/* ═══════════════════════════════════════════════════════════════
   BANNER SALARIO MÍNIMO 2026 - CORREGIDO
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   BANNER DE SALARIO MÍNIMO - VERSIÓN COMPACTA ESQUINA
   ═══════════════════════════════════════════════════════════════ */

.salary-banner {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: linear-gradient(135deg, #10b981, #059669);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    z-index: 9998;
    box-shadow: 0 4px 20px rgba(16,185,129,0.4);
    max-width: 200px;
    animation: slideInRight 0.5s ease;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.salary-banner-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

.salary-banner-text {
    color: #fff;
    font-size: 0.75rem;
    line-height: 1.3;
}

.salary-banner-text strong {
    display: block;
    font-size: 0.85rem;
}

.salary-banner-text .amount {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin: 0.3rem 0;
}

.salary-banner-link {
    background: #fff;
    color: #059669;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.salary-banner-link:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.salary-banner-close {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    background: #fff;
    border: none;
    border-radius: 50%;
    color: #059669;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.salary-banner-close:hover {
    background: #f0f0f0;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .salary-banner {
        bottom: 80px;
        right: 10px;
        max-width: 170px;
        padding: 0.6rem 0.8rem;
    }
    
    .salary-banner-text { font-size: 0.7rem; }
    .salary-banner-text .amount { font-size: 1rem; }
}
/* Ajustar el padding del contenido */
body:has(.salary-banner) .services-app {
    padding-top: 125px;
}

body:has(.salary-banner) main {
    padding-top: 45px;
}

@media (max-width: 600px) {
    .salary-banner {
        padding: 0.5rem 3%;
    }
    .salary-banner-text {
        font-size: 0.8rem;
    }
    .salary-banner-link {
        font-size: 0.7rem;
        padding: 0.3rem 0.75rem;
    }
    body:has(.salary-banner) .header {
        top: 50px;
    }
}


/* ═══════════════════════════════════════════════════════════════
   BANNER SALARIO - MEJORAS RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .salary-banner {
        padding: 0.6rem 3rem 0.6rem 1rem;
    }
    
    .salary-banner-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .salary-banner-text {
        font-size: 0.8rem;
        text-align: center;
    }
    
    .salary-banner-link {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }
    
    .salary-banner-close {
        right: 0.5rem;
        font-size: 1.5rem;
        padding: 0.3rem;
    }
}

@media (max-width: 480px) {
    .salary-banner {
        padding: 0.5rem 2.5rem 0.5rem 0.5rem;
    }
    
    .salary-banner-text {
        font-size: 0.75rem;
    }
    
    .salary-banner-text .amount {
        display: block;
        margin-top: 0.3rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   FILTROS DE CATEGORÍAS - HORIZONTAL (Servicios)
   ═══════════════════════════════════════════════════════════════ */

.service-categories,
.service-categories-b2b {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding: 1rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.service-categories::-webkit-scrollbar,
.service-categories-b2b::-webkit-scrollbar {
    display: none;
}

.category-btn,
.category-btn-b2b {
    flex-shrink: 0;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    border: 2px solid rgba(35,61,255,0.3);
    background: rgba(5,10,48,0.8);
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.category-btn:hover,
.category-btn-b2b:hover {
    border-color: #233dff;
    color: #fff;
    background: rgba(35,61,255,0.2);
}

.category-btn.active,
.category-btn-b2b.active {
    background: linear-gradient(135deg, #233dff, #00d4ff);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(35,61,255,0.4);
}

.category-btn i,
.category-btn-b2b i {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .service-categories,
    .service-categories-b2b {
        justify-content: flex-start;
        padding: 0.5rem 1rem;
    }
    
    .category-btn,
    .category-btn-b2b {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   SECCIÓN PRÓXIMAMENTE - DISEÑO MEJORADO
   ═══════════════════════════════════════════════════════════════ */

.coming-soon-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(251,191,36,0.1), rgba(245,158,11,0.1));
    border: 1px solid rgba(251,191,36,0.3);
    border-radius: 12px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.coming-soon-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(251,191,36,0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.coming-soon-link:hover {
    transform: translateX(5px);
    border-color: #fbbf24;
    box-shadow: 0 4px 15px rgba(251,191,36,0.3);
}

.coming-badge {
    font-size: 1.5rem;
    animation: bounce 1s infinite;
}

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

.coming-soon-link span {
    font-weight: 600;
    color: #fbbf24;
}

.coming-soon-link small {
    display: block;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    font-style: italic;
}

/* Botón de diagnóstico */
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(251,191,36,0.4); }
    50% { box-shadow: 0 0 0 10px rgba(251,191,36,0); }
}

.btn-diagnostic:hover {
    background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
    color: #000 !important;
    transform: translateY(-3px);
}

/* ═══════════════════════════════════════════════════════════════
   EBOOKS PAGE - DISEÑO MEJORADO
   ═══════════════════════════════════════════════════════════════ */

/* Hero mejorado */
.ebooks-hero {
    min-height: 60vh;
    background: linear-gradient(135deg, rgba(5,10,48,0.95), rgba(35,61,255,0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 5% 60px;
    position: relative;
    overflow: hidden;
}

.ebooks-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10h40v40H10z' fill='none' stroke='rgba(35,61,255,0.1)' stroke-width='1'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.floating-books {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.float-book {
    position: absolute;
    width: 50px;
    height: 60px;
    background: linear-gradient(135deg, #233dff, #00d4ff);
    border-radius: 4px;
    opacity: 0.2;
    animation: floatBook 10s infinite ease-in-out;
}

.float-book:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.float-book:nth-child(2) { left: 80%; top: 30%; animation-delay: 2s; }
.float-book:nth-child(3) { left: 60%; top: 70%; animation-delay: 4s; }
.float-book:nth-child(4) { left: 20%; top: 80%; animation-delay: 6s; }

@keyframes floatBook {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

/* Cards de ebooks mejorados */
.ebook-card {
    background: rgba(5,10,48,0.9);
    border: 2px solid rgba(35,61,255,0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.ebook-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #00d4ff;
    box-shadow: 0 20px 60px rgba(0,212,255,0.3);
}

.ebook-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #233dff, #00d4ff);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.ebook-card:hover::before {
    transform: scaleX(1);
}

/* Badge de gratis */
.ebook-badge-free {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    animation: pulse 2s infinite;
}

/* Filtros mejorados */
.filter-section {
    padding: 2rem 5%;
    background: rgba(5,10,48,0.5);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.75rem 1.5rem;
    background: rgba(35,61,255,0.1);
    border: 2px solid rgba(35,61,255,0.3);
    border-radius: 30px;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-tab:hover {
    border-color: #233dff;
    color: #fff;
}

.filter-tab.active {
    background: linear-gradient(135deg, #233dff, #00d4ff);
    border-color: transparent;
    color: #fff;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FILTROS DE SERVICIOS - CSS REFUERZO (Alta prioridad)
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Contenedor de filtros */
.service-categories,
.service-categories-b2b {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding: 1rem;
}

/* Botones de filtro base */
.category-btn,
.category-btn-b2b {
    padding: 0.75rem 1.5rem !important;
    border-radius: 30px !important;
    border: 2px solid rgba(35,61,255,0.3) !important;
    background: rgba(5,10,48,0.8) !important;
    color: rgba(255,255,255,0.7) !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    white-space: nowrap;
}

/* Hover de botones */
.category-btn:hover,
.category-btn-b2b:hover {
    border-color: #233dff !important;
    color: #fff !important;
    background: rgba(35,61,255,0.2) !important;
    transform: translateY(-2px);
}

/* Botón activo */
.category-btn.active,
.category-btn-b2b.active {
    background: linear-gradient(135deg, #233dff, #00d4ff) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(35,61,255,0.4) !important;
}

/* Iconos en botones */
.category-btn i,
.category-btn-b2b i {
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .service-categories,
    .service-categories-b2b {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0.75rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .service-categories::-webkit-scrollbar,
    .service-categories-b2b::-webkit-scrollbar {
        display: none;
    }
    
    .category-btn,
    .category-btn-b2b {
        flex-shrink: 0;
        padding: 0.6rem 1rem !important;
        font-size: 0.85rem !important;
    }
}

/* ============================================
   OCULTAR ELEMENTOS NO DESEADOS
   ============================================ */
.tools-fab,
#toolsFab,
.scroll-top-btn,
#scrollTopBtn {
    display: none !important;
}
