/* ============================================
   NEXUS COPIER - MAIN STYLESHEET v2.1
   Version: 2.1 Updated
   Description: Estilos completos con todas las nuevas secciones
   ============================================ */

/* ============================================
   1. BASE & TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    color: var(--nexus-primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--nexus-accent);
}

strong {
    color: var(--text-light);
    font-weight: 600;
}

/* ============================================
   SCROLL ANIMATIONS - Suave y fluido
   ============================================ */

.pillar-card:not(.fade-in),
.feature-card:not(.fade-in),
.pricing-card:not(.fade-in),
.testimonial-card:not(.fade-in),
.faq-item:not(.fade-in),
.feature-item:not(.fade-in) {
    opacity: 0 !important;
    transform: translateY(60px) !important;
}

/* Timeline steps visible by default, animate on scroll */
.timeline-step {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-step:not(.fade-in) {
    opacity: 0;
    transform: translateY(60px);
}

.pillar-card.fade-in,
.feature-card.fade-in,
.pricing-card.fade-in,
.testimonial-card.fade-in,
.faq-item.fade-in,
.feature-item.fade-in,
.timeline-step.fade-in {
    animation: smoothSlideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
}

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


/* Fallback automático si JS falla */
@media (prefers-reduced-motion: no-preference) {
    .pillar-card,
    .feature-card,
    .pricing-card,
    .testimonial-card,
    .faq-item,
    .feature-item,
    .timeline-step {
        animation: autoShowFallback 0.8s ease-out 1s forwards;
    }
}

@keyframes autoShowFallback {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   TRUST BAR - ANIMATED BADGES
   ============================================ */

.trust-badge-animated strong {
    color: var(--nexus-accent);
    font-weight: 700;
    font-size: 1.05em;
    text-shadow: 0 0 10px rgba(70, 248, 212, 0.3);
}

.trust-badge-animated {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.85;
    }
}

/* ============================================
   PILLAR BADGE - PROP FIRM GUARANTEE
   ============================================ */

.pillar-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

/* ============================================
   HOW IT WORKS - TIMELINE
   ============================================ */

.timeline-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.timeline-step {
    position: relative;
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border-radius: 1rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    z-index: 1;
    overflow: hidden;
    /* Forzar ocultamiento inicial con máxima prioridad */
    opacity: 0 !important;
    transform: translateY(60px) !important;
    transition: none !important;
}

/* Timeline steps visible después de fade-in */
.timeline-step.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: all 1.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Hover solo funciona cuando está visible */
.timeline-step.fade-in:hover {
    border-color: rgba(139, 92, 246, 0.7);
    background: rgba(26, 31, 46, 0.95);
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow: 
        0 25px 50px rgba(139, 92, 246, 0.25),
        0 15px 30px rgba(0, 169, 255, 0.15),
        0 5px 15px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(139, 92, 246, 0.5);
    animation: timeline-pulse 2s ease-in-out infinite;
}

/* Efecto de brillo deslizante */
.timeline-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(139, 92, 246, 0.3),
        transparent
    );
    transition: left 0.7s ease;
    z-index: 0;
    border-radius: 1rem;
}

.timeline-step:hover::before {
    left: 100%;
}

/* Resplandor de fondo al hacer hover */
.timeline-step::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.1),
        rgba(0, 169, 255, 0.1)
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    border-radius: 1rem;
}

.timeline-step:hover::after {
    opacity: 1;
}

@keyframes timeline-pulse {
    0%, 100% {
        border-color: rgba(139, 92, 246, 0.7);
    }
    50% {
        border-color: rgba(0, 169, 255, 0.8);
    }
}

.timeline-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(0, 169, 255, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
}

.timeline-step:hover .timeline-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 
        0 10px 30px rgba(0, 169, 255, 0.4),
        0 0 40px rgba(139, 92, 246, 0.3);
}

.timeline-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.timeline-step:hover .timeline-title {
    color: #FFFFFF;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    transform: translateX(3px);
}

.timeline-description {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.timeline-step:hover .timeline-description {
    color: var(--text-light);
}

.timeline-duration {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(70, 248, 212, 0.1);
    border: 1px solid rgba(70, 248, 212, 0.3);
    border-radius: 2rem;
    color: var(--nexus-accent);
    font-size: 0.875rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

@media (max-width: 767px) {
    .timeline-container {
        grid-template-columns: 1fr;
    }
}

.timeline-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.timeline-description {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Asegurar que elementos internos estén sobre los efectos */
.timeline-title,
.timeline-description,
.timeline-duration {
    position: relative;
    z-index: 1;
}

/* Si el usuario prefiere sin movimiento */
@media (prefers-reduced-motion: reduce) {
    .pillar-card,
    .feature-card,
    .pricing-card,
    .testimonial-card,
    .faq-item,
    .feature-item,
    .timeline-step {
        opacity: 1;
        transform: none;
        transition: none;
        animation: none;
    }
}
.section-dark {
    background: rgba(0, 0, 0, 0.3);
}

.section-darker {
    background: rgba(0, 0, 0, 0.5);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   3. FEATURE PILLARS
   ============================================ */

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pillar-card {
    background: rgba(26, 31, 46, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

/* Efecto de brillo deslizante para pillar-card */
.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(139, 92, 246, 0.3),
        transparent
    );
    transition: left 0.7s ease;
    z-index: 0;
}

.pillar-card:hover::before {
    left: 100%;
}

/* Resplandor de fondo al hacer hover */
.pillar-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.1),
        rgba(0, 169, 255, 0.1)
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.pillar-card:hover::after {
    opacity: 1;
}

.pillar-card:hover {
    border-color: rgba(139, 92, 246, 0.7);
    background: rgba(26, 31, 46, 0.7);
    /* Efecto 3D de elevación y profundidad */
    transform: 
        translateY(-12px)
        translateZ(60px)
        scale(1.04)
        rotateX(2deg);
    box-shadow: 
        0 25px 50px rgba(139, 92, 246, 0.25),
        0 15px 30px rgba(0, 169, 255, 0.15),
        0 5px 15px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(139, 92, 246, 0.5);
}

/* Animación del icono del pilar */
.pillar-card:hover .pillar-icon {
    transform: 
        scale(1.15)
        rotate(5deg)
        translateZ(20px);
    box-shadow: 
        0 10px 30px rgba(0, 169, 255, 0.4),
        0 0 40px rgba(139, 92, 246, 0.3);
}

.pillar-icon {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--nexus-primary), var(--nexus-secondary));
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
}

.pillar-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.pillar-card:hover .pillar-title {
    color: #FFFFFF;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    transform: translateX(3px);
}

.pillar-description {
    color: var(--text-muted);
    line-height: 1.6;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.pillar-card:hover .pillar-description {
    color: var(--text-light);
}

/* Animación de pulso en el borde */
.pillar-card:hover {
    animation: pillar-pulse 2s ease-in-out infinite;
}

@keyframes pillar-pulse {
    0%, 100% {
        border-color: rgba(139, 92, 246, 0.7);
    }
    50% {
        border-color: rgba(0, 169, 255, 0.8);
    }
}

/* ============================================
   4. ALL FEATURES GRID (NEW)
   ============================================ */

.all-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;           /* ← Aumentado para dar espacio */
    margin-top: 3rem;
    padding: 1rem;       /* ← Añadido para evitar cortes */
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.25rem;
    background: rgba(26, 31, 46, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 0.75rem;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); /* Bounce effect */
    cursor: pointer;
    position: relative;
    overflow: hidden;
    /* Preparar para el efecto 3D */
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Capa de fondo oscuro que se revela al hacer hover */
.feature-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 169, 255, 0.05),
        rgba(139, 92, 246, 0.05)
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

/* Brillo deslizante */
.feature-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 169, 255, 0.3),
        transparent
    );
    transition: left 0.7s ease;
    z-index: 1;
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item:hover::after {
    left: 150%;
}

.feature-item:hover {
    background: rgba(26, 31, 46, 0.7);
    border-color: rgba(0, 169, 255, 0.6);
    /* EFECTO DE DESPEGUE DRAMÁTICO */
    transform: 
        translateY(-15px)      /* Se eleva 15px */
        translateZ(80px)       /* Se acerca al usuario */
        scale(1.05)            /* Ampliación del 5% */
        rotateX(2deg);         /* Ligera rotación en X para profundidad */
    
    /* SOMBRAS DRAMÁTICAS */
    box-shadow: 
        /* Sombra principal muy pronunciada */
        0 30px 60px rgba(0, 169, 255, 0.25),
        /* Sombra secundaria púrpura */
        0 20px 40px rgba(139, 92, 246, 0.2),
        /* Sombra de contacto (simula el "despegue" del fondo) */
        0 5px 15px rgba(0, 0, 0, 0.5),
        /* Brillo interior */
        inset 0 0 0 1px rgba(0, 169, 255, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
}

/* Animación dramática del icono */
.feature-item:hover .feature-icon {
    transform: 
        scale(1.4)           /* Mucho más grande */
        rotate(360deg)       /* Rotación completa */
        translateZ(30px);    /* Se acerca aún más */
    color: #00A9FF;
    filter: 
        drop-shadow(0 0 12px rgba(0, 169, 255, 0.8))
        brightness(1.2);
}

.feature-icon {
    flex-shrink: 0;
    color: #10b981;
    margin-top: 2px;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 2;
}

.feature-item span {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.feature-item:hover span {
    color: #FFFFFF;
    font-weight: 500;
    text-shadow: 
        0 0 20px rgba(0, 169, 255, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateX(3px); /* El texto se mueve ligeramente */
}

/* Partículas que aparecen al hacer hover */
.feature-item:hover {
    animation: pulse-border 2s ease-in-out infinite;
}

@keyframes pulse-border {
    0%, 100% {
        border-color: rgba(0, 169, 255, 0.6);
    }
    50% {
        border-color: rgba(139, 92, 246, 0.8);
    }
}

/* Efecto de "onda" al hacer hover (opcional - descomenta si te gusta) */
/*
@keyframes ripple {
    0% {
        box-shadow: 
            0 30px 60px rgba(0, 169, 255, 0.25),
            0 20px 40px rgba(139, 92, 246, 0.2),
            0 0 0 0 rgba(0, 169, 255, 0.5);
    }
    100% {
        box-shadow: 
            0 30px 60px rgba(0, 169, 255, 0.25),
            0 20px 40px rgba(139, 92, 246, 0.2),
            0 0 0 20px rgba(0, 169, 255, 0);
    }
}

.feature-item:hover {
    animation: ripple 1.5s ease-out infinite, pulse-border 2s ease-in-out infinite;
}
*/

/* ============================================
   5. FEATURE CARDS (6 cards)
   ============================================ */

.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;  /* Aumentado para dar espacio al efecto */
    margin-top: 3rem;
    padding: 1rem; /* Añadido para evitar cortes */
}

.feature-card {
    background: rgba(26, 31, 46, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

/* Gradiente de fondo animado */
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 169, 255, 0.08),
        rgba(139, 92, 246, 0.08)
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.feature-card:hover::before {
    opacity: 1;
}

/* Línea brillante que baja */
.feature-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent,
        rgba(0, 169, 255, 0.2),
        transparent
    );
    transition: top 0.7s ease;
    z-index: 0;
}

.feature-card:hover::after {
    top: 100%;
}

.feature-card:hover {
    border-color: rgba(0, 169, 255, 0.6);
    background: rgba(26, 31, 46, 0.7);
    transform: 
        translateY(-15px)
        translateZ(70px)
        scale(1.05)
        rotateY(2deg);
    box-shadow: 
        0 30px 60px rgba(0, 169, 255, 0.25),
        0 20px 40px rgba(139, 92, 246, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(0, 169, 255, 0.4);
}

/* Animación del icono de feature-card */
.feature-card:hover .feature-card-icon {
    transform: 
        scale(1.2)
        rotate(-10deg)
        translateZ(30px);
    background: linear-gradient(135deg, rgba(0, 169, 255, 0.4), rgba(139, 92, 246, 0.4));
    border-color: rgba(0, 169, 255, 0.6);
    box-shadow: 
        0 0 30px rgba(0, 169, 255, 0.5),
        inset 0 0 20px rgba(0, 169, 255, 0.2);
}

.feature-card-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(0, 169, 255, 0.2), rgba(139, 92, 246, 0.2));
    border: 1px solid rgba(139, 92, 246, 0.3);
    margin-bottom: 1.5rem;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
}

.feature-card-icon svg {
    color: var(--nexus-primary);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-card-icon svg {
    color: #FFFFFF;
    filter: drop-shadow(0 0 8px rgba(0, 169, 255, 0.8));
}

.feature-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.feature-card:hover .feature-card-title {
    color: #FFFFFF;
    text-shadow: 0 0 20px rgba(0, 169, 255, 0.4);
}

.feature-card-subtitle {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.feature-card:hover .feature-card-subtitle {
    color: var(--text-light);
}

.feature-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.feature-card-list li {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.8;
    padding: 0.25rem 0;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-card-list li {
    color: var(--text-light);
    transform: translateX(5px);
}

.feature-card-list li strong {
    color: var(--nexus-accent);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-card-list li strong {
    color: var(--nexus-primary);
    text-shadow: 0 0 10px rgba(0, 169, 255, 0.4);
}

/* ============================================
   FEATURES GRID SECTION (All Plans Include)
   ============================================ */

.features-grid-section {
    padding: 1.5rem 0 4rem 0;
    margin-top: 0;
}

.section-darker {
    background: rgba(12, 17, 29, 0.3);
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

/* Título de All Plans Include */
.features-grid-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--nexus-primary);
    margin-bottom: 1rem;
}

.features-grid-section p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(26, 31, 46, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

.feature-item svg {
    color: var(--nexus-primary);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .features-grid-section {
        padding: 1rem 0 3rem 0;
    }
    
    .features-grid-section h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ============================================
   6. PRICING SECTION
   ============================================ */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 3rem auto 0;
}

.pricing-card {
    background: rgba(26, 31, 46, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border: 2px solid var(--nexus-secondary);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 169, 255, 0.2);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--nexus-secondary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.pricing-period {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.pricing-features li svg {
    color: #10b981;
    flex-shrink: 0;
}

.pricing-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--nexus-primary), var(--nexus-secondary));
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 169, 255, 0.3);
}

.pricing-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
   PAYMENT METHODS BANNER
   ============================================ */

.payment-banner {
    max-width: 800px;
    margin: 1rem auto 0;
    padding: 0.5rem 1rem 0 1rem;
    text-align: center;
    background: transparent;
}

.payment-banner-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-weight: 400;
}

.payment-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.payment-logo {
    height: 40px !important;
    width: auto !important;
    max-width: none !important;
    opacity: 1 !important;
    transition: all 0.3s ease;
    object-fit: contain;
    display: block;
}

.payment-logo:hover {
    opacity: 1 !important;
    transform: scale(1.08);
}

/* Payment Logo Individual Sizes */
.payment-logo-visa {
    width: 64px !important;
    height: 40px !important;
}

.payment-logo-mastercard {
    width: 64px !important;
    height: 40px !important;
}

.payment-logo-paypal {
    width: 80px !important;
    height: 40px !important;
}

.payment-logo-gpay {
    width: 72px !important;
    height: 35px !important;
}

.payment-banner-footer {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 0;
    padding-bottom: 0;
}

@media (max-width: 768px) {
    .payment-banner {
        margin-top: 2rem;
        padding: 1.5rem 1rem;
    }
    
    .payment-logos {
        gap: 0.75rem;
    }
    
    .payment-logo {
        height: 24px;
        max-width: 60px;
    }
    
    .payment-banner-text,
    .payment-banner-footer {
        font-size: 0.8rem;
    }
}

/* ============================================
   TECHNOLOGY PARTNERS BANNER
   ============================================ */

.tech-partners-section {
    padding: 3rem 0;
    background: transparent;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.tech-partners-title {
    text-align: center;
    font-size: 1.25rem;
    color: var(--nexus-secondary);
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.tech-partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-partner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.tech-partner:hover {
    opacity: 1;
    transform: translateY(-4px);
}

/* Ajustes de posición individuales */
.tech-partner:nth-child(1) {
    /* Telegram */
    transform: translateX(0);
}

.tech-partner:nth-child(2) {
    /* WhatsApp */
    transform: translateX(40px);
}

.tech-partner:nth-child(3) {
    /* OpenAI */
    transform: translateX(55px);
}

.tech-partner:nth-child(4) {
    /* Kimi K2 */
    transform: translateX(45px);
}

.tech-partner:nth-child(5) {
    /* MetaTrader 5 */
    transform: translateX(-5px);
}

.tech-name {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}

/* Logos individuales - todos con altura de 50px */
.tech-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
}

.tech-logo-telegram {
    width: 50px;
    height: 50px;
}

.tech-logo-whatsapp {
    width: 50px;
    height: 50px;
}

.tech-logo-openai {
    width: 50px;
    height: 50px;
}

.tech-logo-kimi {
    width: 100px;
    height: 50px;
}

.tech-logo-mt5 {
    width: 140px;
    height: 50px;
}

@media (max-width: 768px) {
    .tech-partners-section {
        padding: 2.5rem 0;
    }
    
    .tech-partners-title {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .tech-partners-grid {
        gap: 0.5rem 0.75rem;
        padding: 0 0.5rem;
    }
    
    .tech-name {
        font-size: 0.8rem;
    }
    
    .tech-logo {
        height: 40px;
    }
    
    .tech-logo-telegram,
    .tech-logo-whatsapp,
    .tech-logo-openai {
        width: 40px;
        height: 40px;
    }
    
    .tech-logo-kimi {
        width: 80px;
        height: 40px;
    }
    
    .tech-logo-mt5 {
        width: 112px;
        height: 40px;
    }
    
    /* Reset transforms for mobile */
    .tech-partner:nth-child(1),
    .tech-partner:nth-child(2),
    .tech-partner:nth-child(3),
    .tech-partner:nth-child(4),
    .tech-partner:nth-child(5) {
        transform: translateX(0);
    }    
}

@media (max-width: 480px) {
    .tech-partners-grid {
        gap: 0.25rem 0.5rem;
    }
    
    .tech-name {
        font-size: 0.75rem;
    }
    
    .tech-logo {
        height: 30px;
    }
    
    .tech-logo-telegram,
    .tech-logo-whatsapp,
    .tech-logo-openai {
        width: 30px;
        height: 30px;
    }
    
    .tech-logo-kimi {
        width: 55px;
        height: 30px;
    }
    
    .tech-logo-mt5 {
        width: 70px;
        height: 30px;
    }
}

/* ============================================
   7. TESTIMONIALS
   ============================================ */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: rgba(26, 31, 46, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

/* Efecto de comillas brillantes */
.testimonial-card::before {
    display: none; /* Desactivamos las comillas */
    content: '"';
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 120px;
    color: rgba(0, 169, 255, 0.05);
    font-family: Georgia, serif;
    line-height: 1;
    transition: all 0.5s ease;
    z-index: 0;
}

.testimonial-card:hover::before {
    color: rgba(0, 169, 255, 0.15);
    transform: scale(1.1) rotate(5deg);
}

/* Brillo sutil de fondo */
.testimonial-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at top right,
        rgba(139, 92, 246, 0.1),
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-card:hover::after {
    opacity: 1;
}

.testimonial-card:hover {
    border-color: rgba(139, 92, 246, 0.6);
    background: rgba(26, 31, 46, 0.7);
    transform: 
        translateY(-12px) /* Un poco más de elevación */
        scale(1.03);      /* Mantenemos la escala */
    /* Eliminamos la rotación para un efecto más limpio */
    box-shadow: 
        0 20px 40px rgba(139, 92, 246, 0.2),
        0 15px 30px rgba(0, 169, 255, 0.15),
        0 5px 10px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(139, 92, 246, 0.3);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.testimonial-card:hover .testimonial-avatar {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--nexus-primary);
    box-shadow: 0 0 20px rgba(0, 169, 255, 0.5);
}

.testimonial-info h3,
.testimonial-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-info h3,
.testimonial-card:hover .testimonial-info h4 {
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
}

.testimonial-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-info p {
    color: var(--nexus-accent);
}

.testimonial-text {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.testimonial-card:hover .testimonial-text {
    color: var(--text-light);
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.testimonial-card:hover .testimonial-rating {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.6));
}

/* Animación sutil de las estrellas */
@keyframes star-twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.testimonial-card:hover .testimonial-rating {
    animation: star-twinkle 1.5s ease-in-out infinite;
}

/* ============================================
   8. FAQ SECTION
   ============================================ */

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: rgba(26, 31, 46, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
}

.faq-question:hover {
    color: var(--nexus-primary);
}

.faq-icon {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-answer.active {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.see-more-link {
    background: none;
    border: none;
    color: var(--nexus-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0.5rem 1rem;
}

.see-more-link:hover {
    color: var(--nexus-accent);
}

/* ============================================
   9. FAQ SECTION
   ============================================ */

/* Animaciones de entrada para FAQ */
.faq-item {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Efecto de brillo sutil al hacer hover en FAQ */
.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 169, 255, 0.1),
        transparent
    );
    transition: left 0.6s ease;
    z-index: 0;
}

.faq-item:hover::before {
    left: 100%;
}

/* Mejora hover en FAQ */
.faq-item:hover {
    transform: translateY(-3px) translateZ(10px);
    box-shadow: 
        0 10px 30px rgba(0, 169, 255, 0.15),
        0 5px 15px rgba(139, 92, 246, 0.1);
}

.faq-question {
    position: relative;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover .faq-question {
    color: #FFFFFF;
}

.faq-question.active {
    background: linear-gradient(
        135deg,
        rgba(0, 169, 255, 0.1),
        rgba(139, 92, 246, 0.1)
    );
}

/* ============================================
   10. COMPARISON TABLE
   ============================================ */

.comparison-table-wrapper {
    margin-top: 3rem;
}

.comparison-table {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(26, 31, 46, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 1rem;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

/* Animación de entrada desde abajo para toda la tabla */
.comparison-table:not(.fade-in) {
    opacity: 0 !important;
    transform: translateY(60px) !important;
}

.comparison-table.fade-in {
    animation: smoothSlideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
}

/* Filas - SIMPLE Y VISIBLE */
.comparison-table tbody tr {
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Celdas - PADDING REDUCIDO */
.comparison-table th,
.comparison-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    vertical-align: middle;
    line-height: 1.5;
}

/* Header */
.comparison-table thead {
    background: rgba(139, 92, 246, 0.2);
}

.comparison-table th {
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.125rem;
}

/* Distribución de columnas */
.comparison-table th:first-child,
.comparison-table td:first-child {
    width: 40%;
    text-align: left;
    font-weight: 600;
    color: var(--text-light) !important;
}

.comparison-table th:nth-child(2),
.comparison-table td:nth-child(2),
.comparison-table th:nth-child(3),
.comparison-table td:nth-child(3) {
    width: 30%;
    text-align: center;
}

/* Hover en filas */
.comparison-table tbody tr:hover {
    background: rgba(0, 169, 255, 0.1);
    box-shadow: 
        0 0 0 2px rgba(0, 169, 255, 0.3),
        0 4px 20px rgba(0, 169, 255, 0.15);
}

/* Última fila sin borde */
.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* Color de texto por defecto */
.comparison-table td {
    color: var(--text-muted);
}

/* Iconos check/cross/warning */
.comparison-table .check {
    color: #10b981;
    font-weight: 700;
    font-size: 1.25rem;
}

.comparison-table .cross {
    color: #ef4444;
    font-weight: 700;
    font-size: 1.25rem;
}

.comparison-table .warning {
    color: #f59e0b;
    font-weight: 700;
    font-size: 1.25rem;
}

/* Animación de iconos en hover */
.comparison-table tbody tr:hover .check {
    transform: scale(1.15);
    filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.5));
}

.comparison-table tbody tr:hover .cross {
    transform: scale(1.15);
    filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.5));
}

.comparison-table tbody tr:hover .warning {
    transform: scale(1.15);
    filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.5));
}

@media (max-width: 768px) {
    .comparison-table {
        font-size: 0.875rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.6rem 0.75rem;
    }
}

/* ============================================
   10. FOOTER
   ============================================ */

.footer {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding: 3rem 1rem 2rem;
    margin-top: 5rem;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--nexus-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.2);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--nexus-secondary);
    transform: translateY(-2px);
}

/* ============================================
   11. MODALS
   ============================================ */

.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #1a1f2e;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 1rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: #1a1f2e;
    z-index: 10;
}

.modal-title {
    font-size: 1.5rem;
    color: var(--text-light);
}

.modal-close {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--text-light);
}

.modal-body {
    padding: 2rem;
}

/* ============================================
   12. UTILITY CLASSES
   ============================================ */

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

.text-muted {
    color: var(--text-muted);
}

.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; }

.hidden {
    display: none;
}

/* ============================================
   13. ANIMATIONS
   ============================================ */

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

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

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

.slide-up {
    animation: slideUp 0.8s ease-out forwards;
}

/* ============================================
   14. RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }
    
    .pillars-grid,
    .pricing-grid,
    .testimonials-grid,
    .all-features-grid,
    .feature-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* ============================================
   15. LOADING STATES
   ============================================ */

.loading {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   16. PERFORMANCE OPTIMIZATIONS
   ============================================ */

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   17. NOTIFICATION ANIMATIONS
   ============================================ */

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

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

/* Desactivar animaciones en modales */
.modal .faq-item {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

.modal .faq-item:not(.fade-in) {
    opacity: 1 !important;
    transform: translateY(0) !important;
}