/* Importar la fuente Inter que definimos en el HTML */
body {
    font-family: 'Inter', sans-serif;
}

/* Estilo para texto con gradiente */
.gradient-text {
  background-image: linear-gradient(to right, #9333ea, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Animaciones de hover para las tarjetas */
.card-hover {
  transition: all 0.3s ease-in-out;
}
.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4), 0 0 40px rgba(147, 51, 234, 0.6);
}

/* Animación para que el contenido aparezca suavemente */
.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Nueva animación suave para los items de la lista */
.list-item-stagger {
    animation: stagger-in 0.4s ease-out both;
}
@keyframes stagger-in {
  from { opacity: 0; transform: translateX(-15px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Estilos para los enlaces de navegación */
.nav-link {
    position: relative; padding-bottom: 8px; color: #d1d5db; transition: color 0.3s;
    text-transform: uppercase; font-weight: 600; letter-spacing: 0.05em;
}
.nav-link:hover { color: #a855f7; }
.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(to right, #9333ea, #ec4899);
    transform: scaleX(0); transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.nav-link.active, .nav-link:hover { color: #a855f7; }
.nav-link.active::after, .nav-link:hover::after { transform: scaleX(1); }

/* --- ESTILOS RESPONSIVOS MEJORADOS --- */
/* Menú hamburguesa mejorado */
#mobile-menu-button {
    position: relative;
    z-index: 60;
    transition: all 0.3s ease;
}

#mobile-menu-button:hover {
    color: #a855f7;
    transform: scale(1.1);
}

#mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(31, 41, 55, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid #374151;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu:not(.hidden) {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

#mobile-menu .nav-link {
    display: block;
    padding: 12px 20px;
    margin: 0;
    border-bottom: 1px solid rgba(55, 65, 81, 0.5);
    transition: all 0.3s ease;
}

#mobile-menu .nav-link:hover {
    background: rgba(147, 51, 234, 0.1);
    padding-left: 30px;
}

/* Responsive Grid Layouts */
.responsive-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .responsive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .responsive-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .responsive-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Responsive Typography */
@media (max-width: 768px) {
    .gradient-text {
        font-size: 1.25rem;
    }
    
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
    
    h3 {
        font-size: 1.25rem !important;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
}

/* Responsive Spacing */
@media (max-width: 768px) {
    .section-padding {
        padding: 2rem 1rem;
    }
    
    .container-responsive {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Responsive Cards */
@media (max-width: 768px) {
    .card-hover {
        margin-bottom: 1rem;
    }
    
    .card-hover:hover {
        transform: translateY(-4px);
    }
}

/* Responsive Professional Price */
@media (max-width: 768px) {
    .professional-price {
        padding: 15px 20px;
        margin: 10px 0;
    }
    
    .price-value {
        font-size: 1.25rem;
    }
    
    .price-currency {
        font-size: 0.875rem;
    }
}

/* Responsive Stats Bar */
@media (max-width: 768px) {
    .free-stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .free-stats-bar {
        grid-template-columns: 1fr;
    }
}

/* Responsive Controls */
@media (max-width: 768px) {
    .free-controls-section {
        padding: 1rem;
    }
    
    .free-search-input {
        padding: 10px 14px 10px 40px;
    }
}

/* Responsive Navigation */
@media (max-width: 768px) {
    nav {
        padding: 0.75rem 1rem;
    }
    
    .nav-brand {
        font-size: 1.125rem;
    }
}

/* Responsive Hero Section */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        padding: 2rem 1rem;
    }
    
    .hero-badge {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}

/* Responsive Buttons */
@media (max-width: 768px) {
    .btn-responsive {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .btn-large-responsive {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Responsive Images */
@media (max-width: 768px) {
    .responsive-image {
        height: 200px;
        object-fit: cover;
    }
}

/* Responsive Modals and Overlays */
@media (max-width: 768px) {
    .modal-responsive {
        margin: 1rem;
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* Responsive Tables */
@media (max-width: 768px) {
    .table-responsive {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Hide/Show elements based on screen size */
.mobile-only {
    display: block;
}

.desktop-only {
    display: none;
}

@media (min-width: 768px) {
    .mobile-only {
        display: none;
    }
    
    .desktop-only {
        display: block;
    }
}

/* Responsive Flexbox utilities */
.flex-responsive {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .flex-responsive {
        flex-direction: row;
    }
}

/* Responsive Text Alignment */
.text-center-mobile {
    text-align: center;
}

.text-left-desktop {
    text-align: center;
}

@media (min-width: 768px) {
    .text-left-desktop {
        text-align: center;
    }
}


/* --- ESTILOS PARA LAS TARJETAS DE MEMBRESÍA MEJORADAS --- */
.feature-list { max-height: 220px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #9333ea #374151; }
.feature-list::-webkit-scrollbar { width: 6px; }
.feature-list::-webkit-scrollbar-track { background: #374151; border-radius: 10px; }
.feature-list::-webkit-scrollbar-thumb { background-color: #9333ea; border-radius: 10px; border: 1px solid #374151; }
.custom-select {
    appearance: none; -webkit-appearance: none; -moz-appearance: none;
    background-color: #4b5563; border: 1px solid #6b7280; border-radius: 0.5rem;
    padding: 0.5rem 2.5rem 0.5rem 1rem; font-size: 1rem; color: white; font-weight: 600; cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23d1d5db' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center; background-repeat: no-repeat; background-size: 1.5em 1.5em;
    transition: all 0.2s ease-in-out;
}
.custom-select:hover { border-color: #9333ea; }
.custom-select:focus { outline: none; border-color: #9333ea; box-shadow: 0 0 0 2px rgba(147, 51, 234, 0.4); }

/* --- ESTILOS PARA LA NUEVA SECCIÓN GRATIS (EXPLORADOR DE ARCHIVOS) --- */
#free-content-container { width: 100%; }
.free-page-wrapper { display: flex; justify-content: center; padding: 0 20px; }
.free-main-content { max-width: 1200px; width: 100%; padding: 0 20px; }
#free-loading { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: #111827; display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 1000; transition: opacity 0.5s ease-out; }
.free-loading-spinner { width: 60px; height: 60px; border: 3px solid #374151; border-top: 3px solid #9333ea; border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 2rem; }

.free-controls-section { background-color: #1f2937; border-radius: 12px; padding: 1.5rem; margin-bottom: 2rem; border: 1px solid #374151; }
.free-section-title { font-size: 1.5rem; font-weight: 700; color: #9333ea; text-align: center; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 1px; }
.free-search-input { width: 100%; padding: 12px 16px 12px 48px; background-color: #111827; border: 2px solid #374151; border-radius: 12px; color: white; outline: none; }
.free-search-input:focus { border-color: #9333ea; box-shadow: 0 0 0 4px rgba(147, 51, 234, 0.1); }
.free-filter-select { padding: 8px 12px; background-color: #111827; border: 1px solid #374151; border-radius: 8px; color: white; font-size: 0.9rem; outline: none; }

.free-stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.free-stats-item { text-align: center; background-color: #1f2937; padding: 1rem; border-radius: 12px; border: 1px solid #374151; transition: all 0.3s; }
.free-stats-item:hover { transform: translateY(-5px); border-color: #9333ea; }
.free-stats-value { font-size: 1.5rem; font-weight: 700; color: #9333ea; }

.free-breadcrumb a { color: #9333ea; cursor: pointer; text-decoration: none; }
.free-breadcrumb span { user-select: none; }

.free-download-all-btn { background: linear-gradient(45deg, #9333ea, #ec4899); }
.free-list-item { background-color: #1f2937; border: 1px solid #374151; border-radius: 12px; transition: all 0.2s ease-out; }
.free-list-item:hover { background-color: #374151; border-color: #9333ea; transform: translateY(-3px); }
.free-item-icon-wrapper { color: #9333ea; }
.free-download-btn-item:hover { color: #9333ea; transform: scale(1.1); }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* --- ESTILOS PROFESIONALES PARA PRECIOS --- */
.professional-price {
    position: relative;
    display: inline-block;
    padding: 20px 30px;
    margin: 15px 0;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-radius: 16px;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.professional-price::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #9333ea, #ec4899, #06b6d4, #9333ea);
    border-radius: 18px;
    z-index: -1;
    background-size: 300% 300%;
    animation: gradientShift 3s ease infinite;
}

.professional-price:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(147, 51, 234, 0.4);
}

.price-decorative-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #9333ea, #ec4899);
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.price-decorative-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #9333ea, #ec4899, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(147, 51, 234, 0.5);
    letter-spacing: -1px;
    margin: 12px 0;
    position: relative;
}

.price-currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: #9ca3af;
    vertical-align: top;
    margin-right: 2px;
}

.price-amount {
    position: relative;
}

.price-container {
    text-align: center;
    padding: 10px;
    position: relative;
}

/* Efecto de brillo en hover */
.professional-price:hover .price-value {
    animation: priceGlow 1.5s ease-in-out infinite alternate;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes priceGlow {
    0% { text-shadow: 0 0 20px rgba(147, 51, 234, 0.5); }
    100% { text-shadow: 0 0 30px rgba(147, 51, 234, 0.8), 0 0 40px rgba(236, 72, 153, 0.6); }
}

/* Estilos para precios en botones */
.button-price {
    position: relative;
    font-weight: 700;
    background: linear-gradient(135deg, #9333ea, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(147, 51, 234, 0.3);
}

/* Responsive para precios */
@media (max-width: 768px) {
    .price-value {
        font-size: 2rem;
    }
    
    .professional-price {
        padding: 15px 20px;
        margin: 10px 0;
    }
    
    .price-decorative-line {
        width: 40px;
        height: 2px;
    }
}

/* --- ESTILOS PARA EL CARRUSEL DE TESTIMONIOS INFINITO --- */
#testimonial-carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;
}

#testimonials-container {
    display: flex;
    width: max-content;
    animation: scroll-infinite 60s linear infinite;
    will-change: transform;
}

#testimonials-container:hover {
    animation-play-state: paused;
}

.testimonial-card {
    flex-shrink: 0;
    width: 350px;
    margin-right: 1rem;
}

.testimonial-indicator {
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-indicator:hover {
    transform: scale(1.2);
}

/* Asegurar que la animación funcione correctamente */
@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.333%);
    }
}

/* Estilos para truncar texto largo */
.line-clamp-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive para el carrusel */
@media (max-width: 768px) {
    .testimonial-card {
        width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .testimonial-card {
        width: 33.333%;
    }
}

@media (min-width: 1024px) {
    .testimonial-card {
        width: 20%;
    }
}


/* --- ESTILOS PARA EL WIDGET DE MINI-CHAT DE WHATSAPP --- */
#whatsapp-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

.whatsapp-chat-toggle {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    background-image: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulse-whatsapp 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.whatsapp-chat-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-whatsapp {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
}

#whatsapp-chat-widget .whatsapp-chat-toggle .fa-times {
    display: none;
}
#whatsapp-chat-widget.open .whatsapp-chat-toggle .fa-times {
    display: block;
}
#whatsapp-chat-widget.open .whatsapp-chat-toggle .fa-whatsapp {
    display: none;
}
#whatsapp-chat-widget.open .whatsapp-chat-toggle {
    animation: none; /* Detener pulso al abrir */
}


.whatsapp-chat-window {
    position: absolute;
    bottom: 80px; /* Espacio sobre el botón */
    right: 0;
    width: 350px;
    background-color: #1E1E1E;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out, visibility 0s 0.3s;
    transform-origin: bottom right;
}

#whatsapp-chat-widget.open .whatsapp-chat-window {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out, visibility 0s 0s;
    animation: bounceIn 0.4s;
}

@keyframes bounceIn {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.95); }
    100% { transform: scale(1); opacity: 1; }
}

.whatsapp-header {
    background-color: #374151;
    padding: 1rem;
    color: white;
    font-weight: bold;
    text-align: center;
}
.whatsapp-header .title { font-size: 1.1rem; }
.whatsapp-header .subtitle { font-size: 0.8rem; color: #d1d5db; }

.whatsapp-body {
    padding: 1rem;
    background-color: #111827;
}

.whatsapp-message {
    background-color: #374151;
    padding: 0.75rem;
    border-radius: 8px;
    color: #e5e7eb;
    font-size: 0.9rem;
    line-height: 1.4;
}

.whatsapp-footer {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    background-color: #1f2937;
    border-top: 1px solid #374151;
}

#whatsapp-message-input {
    flex-grow: 1;
    background-color: #374151;
    border: 1px solid #4b5563;
    border-radius: 8px;
    padding: 0.75rem;
    color: white;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
#whatsapp-message-input:focus {
    border-color: #9333ea;
    box-shadow: 0 0 0 2px rgba(147, 51, 234, 0.4);
}

#whatsapp-send-btn {
    flex-shrink: 0;
    width: 50px;
    border: none;
    background: linear-gradient(to right, #9333ea, #ec4899);
    color: white;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s;
}
#whatsapp-send-btn:hover {
    transform: scale(1.1);
}

/* Estilos adicionales para el carrusel de testimonios */
.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* Estilos para el efecto 3D en tarjetas */
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-3d:hover {
    transform: translateY(-5px) rotateX(5deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Estilos para la sección de llamada a la acción */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate.visible, 
.scroll-animate.animate-fadeInUp {
    opacity: 1;
    transform: translateY(0);
}

/* Estilos para las partículas de fondo */
#particles-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.5), rgba(139, 92, 246, 0.3));
    border-radius: 50%;
    pointer-events: none;
    transition: opacity 0.3s ease;
    box-shadow: 0 0 12px rgba(79, 172, 254, 0.2), 0 0 24px rgba(139, 92, 246, 0.1);
    z-index: 1;
}

/* Partículas específicas para la sección hero */
.hero-particle {
    position: absolute;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.3), rgba(236, 72, 153, 0.2));
    border-radius: 50%;
    pointer-events: none;
    transition: opacity 0.5s ease;
    box-shadow: 0 0 12px rgba(147, 51, 234, 0.15), 0 0 25px rgba(236, 72, 153, 0.1);
    animation: float-gentle 8s ease-in-out infinite;
}

/* Partículas específicas para la sección CTA */
.cta-particle {
    position: absolute;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), rgba(139, 92, 246, 0.1));
    border-radius: 50%;
    pointer-events: none;
    transition: opacity 0.4s ease;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.1), 0 0 15px rgba(139, 92, 246, 0.05);
    animation: drift 12s linear infinite;
}

/* Partículas de páginas generales */
.page-particle {
    position: absolute;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.6) 0%, rgba(75, 0, 130, 0.4) 50%, transparent 100%);
    border-radius: 50%;
    pointer-events: none;
    transition: opacity 0.5s ease;
    box-shadow: 0 0 6px rgba(138, 43, 226, 0.4);
    z-index: 1;
}

/* Animaciones suaves para las partículas */
@keyframes float-gentle {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(90deg); }
    50% { transform: translateY(-5px) rotate(180deg); }
    75% { transform: translateY(-15px) rotate(270deg); }
}

@keyframes drift {
    0% { transform: translateX(0px) translateY(0px); }
    25% { transform: translateX(5px) translateY(-3px); }
    50% { transform: translateX(-3px) translateY(-8px); }
    75% { transform: translateX(-8px) translateY(-2px); }
    100% { transform: translateX(0px) translateY(0px); }
}

/* Gradiente de fondo principal para todas las secciones */
.section-background {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #533483 100%);
    position: relative;
    color: #ffffff;
}

.section-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(15, 15, 35, 0.3) 0%, rgba(26, 26, 46, 0.2) 25%, rgba(22, 33, 62, 0.1) 50%, rgba(15, 52, 96, 0.2) 75%, rgba(83, 52, 131, 0.3) 100%);
    z-index: 1;
    pointer-events: none;
}

.section-background > * {
    position: relative;
    z-index: 2;
}

/* Mejorar contraste para texto en secciones con fondo oscuro */
.section-background h1,
.section-background h2,
.section-background h3,
.section-background h4,
.section-background h5,
.section-background h6 {
    color: #ffffff !important;
}

.section-background p,
.section-background span,
.section-background div {
    color: #e5e7eb !important;
}

.section-background .text-gray-600,
.section-background .text-gray-700,
.section-background .text-gray-800,
.section-background .text-gray-900 {
    color: #d1d5db !important;
}

/* ===== RESPONSIVE DESIGN COMPLETO ===== */

/* Tablets (768px - 1023px) */
@media (max-width: 1023px) {
    /* Header y navegación */
    .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    /* Hero section */
    .hero-section h1 {
        font-size: 3rem !important;
        line-height: 1.1;
    }
    
    .hero-section p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    /* Estadísticas */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Tarjetas de membresía */
    .membership-card {
        margin-bottom: 1.5rem;
    }
    
    /* WhatsApp widget */
    .whatsapp-chat-window {
        width: 350px;
        bottom: 80px;
        transform-origin: bottom right;
    }
    
    .whatsapp-chat-toggle {
        width: 58px;
        height: 58px;
        font-size: 2rem;
        bottom: 20px;
        right: 20px;
    }
}

/* Móviles grandes (481px - 767px) */
@media (max-width: 767px) {
    /* Contenedor principal */
    .max-w-7xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Header */
    .nav-brand {
        font-size: 1.2rem;
    }
    
    .nav-brand img {
        height: 2rem;
        width: 2rem;
    }
    
    /* Hero section */
    .hero-section {
        padding: 4rem 1rem;
        min-height: 80vh;
    }
    
    .hero-section h1 {
        font-size: 2.5rem !important;
        margin-bottom: 1.5rem;
    }
    
    .hero-section p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* Botones */
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons button {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Estadísticas */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .stats-item {
        padding: 1rem;
    }
    
    .stats-item .text-3xl {
        font-size: 1.5rem;
    }
    
    /* Secciones */
    .section-padding {
        padding: 3rem 1rem;
    }
    
    /* Tarjetas */
    .card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Testimonios */
    .testimonial-card {
        width: 100%;
        margin: 0 0.5rem;
    }
    
    /* WhatsApp widget */
    .whatsapp-chat-window {
        width: calc(100vw - 2rem);
        max-width: 340px;
        right: 1rem;
        left: auto;
        bottom: 80px;
        transform-origin: bottom right;
    }
    
    .whatsapp-chat-toggle {
        width: 55px;
        height: 55px;
        font-size: 1.9rem;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-header {
        padding: 1rem;
    }
    
    .whatsapp-body {
        padding: 1rem;
    }
    
    .whatsapp-footer {
        padding: 1rem;
        gap: 0.5rem;
    }
    
    #whatsapp-message-input {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
    
    #whatsapp-send-btn {
        width: 45px;
        font-size: 1.1rem;
    }
    
    /* Formularios */
    .form-input {
        padding: 0.75rem;
        font-size: 1rem;
    }
    
    /* Modales */
    .modal-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }
}

/* Móviles pequeños (320px - 480px) */
@media (max-width: 480px) {
    /* Tipografía base */
    body {
        font-size: 14px;
    }
    
    /* Header */
    .nav-brand {
        font-size: 1rem;
    }
    
    .nav-brand img {
        height: 1.75rem;
        width: 1.75rem;
    }
    
    /* Hero section */
    .hero-section {
        padding: 3rem 0.75rem;
    }
    
    .hero-section h1 {
        font-size: 2rem !important;
        line-height: 1.2;
    }
    
    .hero-section p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Badge superior */
    .hero-badge {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    /* Botones */
    .hero-buttons button {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Estadísticas */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .stats-item {
        padding: 0.75rem;
    }
    
    .stats-item .text-3xl {
        font-size: 1.25rem;
    }
    
    .stats-item .text-base {
        font-size: 0.8rem;
    }
    
    /* Secciones */
    .section-padding {
        padding: 2rem 0.75rem;
    }
    
    /* Títulos de sección */
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
    
    /* Tarjetas de membresía */
    .membership-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .membership-card h3 {
        font-size: 1.25rem;
    }
    
    .membership-card .price {
        font-size: 1.5rem;
    }
    
    /* Lista de características */
    .feature-list {
        max-height: 180px;
        font-size: 0.85rem;
    }
    
    /* Botones de tarjetas */
    .card-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* WhatsApp widget */
    .whatsapp-chat-toggle {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-chat-window {
        width: calc(100vw - 2rem);
        max-width: 320px;
        right: 1rem;
        left: auto;
        bottom: 80px;
        transform-origin: bottom right;
    }
    
    .whatsapp-header {
        padding: 0.875rem;
    }
    
    .whatsapp-header .title {
        font-size: 1rem;
    }
    
    .whatsapp-header .subtitle {
        font-size: 0.75rem;
    }
    
    .whatsapp-body {
        padding: 0.875rem;
    }
    
    .whatsapp-message {
        padding: 0.625rem;
        font-size: 0.85rem;
    }
    
    .whatsapp-footer {
        padding: 0.875rem;
        gap: 0.375rem;
    }
    
    #whatsapp-message-input {
        padding: 0.625rem;
        font-size: 0.9rem;
    }
    
    #whatsapp-send-btn {
        width: 42px;
        font-size: 1rem;
    }
    
    /* Controles de sección gratis */
    .free-controls-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .free-search-input {
        padding: 0.75rem 0.75rem 0.75rem 2.5rem;
        font-size: 0.9rem;
    }
    
    .free-stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .free-stats-item {
        padding: 0.75rem;
    }
    
    .free-stats-value {
        font-size: 1.1rem;
    }
    
    /* Lista de archivos gratis */
    .free-list-item {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    /* Modales y overlays */
    .modal-content {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
}

/* Ajustes específicos para orientación horizontal en móviles */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding: 2rem 1rem;
    }
    
    .hero-section h1 {
        font-size: 2rem !important;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===== ESTILOS RESPONSIVE PARA PÁGINAS ESPECÍFICAS ===== */

/* FAQ, Privacy Policy y Contact Pages - Móviles pequeños (320px - 480px) */
@media (max-width: 480px) {
    /* Encabezados de páginas */
    .relative.overflow-hidden.py-20 {
        padding: 2rem 0;
    }
    
    .relative.overflow-hidden.py-20 h1 {
        font-size: 2.5rem !important;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .relative.overflow-hidden.py-20 p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* FAQ Cards */
    .bg-gray-800\/50.backdrop-blur-sm.p-6 {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .bg-gray-800\/50 h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .bg-gray-800\/50 p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Contact Form */
    .grid.grid-cols-1.md\:grid-cols-2 {
        gap: 2rem;
    }
    
    .bg-gray-800\/50.backdrop-blur-sm.p-8 {
        padding: 1.5rem;
    }
    
    /* Contact Channels */
    .flex.items-center.p-6 {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .flex.items-center.p-6 i {
        margin-right: 0;
        margin-bottom: 0.75rem;
        font-size: 2.5rem !important;
    }
    
    /* Privacy Policy Content */
    .prose.prose-invert.lg\:prose-xl {
        font-size: 0.9rem;
    }
    
    .prose h2 {
        font-size: 1.3rem;
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .prose ul {
        padding-left: 1rem;
    }
    
    .prose li {
        margin-bottom: 0.5rem;
    }
}

/* FAQ, Privacy Policy y Contact Pages - Móviles grandes (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    /* Encabezados de páginas */
    .relative.overflow-hidden.py-20 {
        padding: 3rem 0;
    }
    
    .relative.overflow-hidden.py-20 h1 {
        font-size: 3.5rem !important;
        line-height: 1.1;
    }
    
    .relative.overflow-hidden.py-20 p {
        font-size: 1.1rem;
    }
    
    /* FAQ Cards */
    .bg-gray-800\/50.backdrop-blur-sm.p-6 {
        padding: 1.25rem;
    }
    
    .bg-gray-800\/50 h3 {
        font-size: 1.2rem;
    }
    
    .bg-gray-800\/50 p {
        font-size: 0.95rem;
    }
    
    /* Contact Form */
    .grid.grid-cols-1.md\:grid-cols-2 {
        gap: 3rem;
    }
    
    .bg-gray-800\/50.backdrop-blur-sm.p-8 {
        padding: 2rem;
    }
    
    /* Contact Channels */
    .flex.items-center.p-6 {
        padding: 1.25rem;
    }
    
    .flex.items-center.p-6 i {
        font-size: 3rem !important;
        margin-right: 1rem;
    }
    
    /* Privacy Policy Content */
    .prose.prose-invert.lg\:prose-xl {
        font-size: 0.95rem;
    }
    
    .prose h2 {
        font-size: 1.5rem;
    }
}

/* FAQ, Privacy Policy y Contact Pages - Tablets (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Encabezados de páginas */
    .relative.overflow-hidden.py-20 h1 {
        font-size: 4rem !important;
    }
    
    /* Contact Form Grid */
    .grid.grid-cols-1.md\:grid-cols-2 {
        gap: 2rem;
    }
    
    /* FAQ Cards */
    .bg-gray-800\/50.backdrop-blur-sm.p-6 {
        padding: 1.5rem;
    }
    
    /* Contact Channels */
    .flex.items-center.p-6 {
        padding: 1.5rem;
    }
    
    /* Privacy Policy Content */
    .prose.prose-invert.lg\:prose-xl {
        font-size: 1rem;
    }
}

/* Mejoras adicionales para páginas específicas en móviles */
@media (max-width: 767px) {
    /* Formularios en Contact Page */
    .contact-form input,
    .contact-form textarea,
    input[type="text"],
    input[type="email"],
    textarea {
        padding: 0.875rem !important;
        font-size: 1rem !important;
        border-radius: 0.5rem !important;
    }
    
    /* Botones de formulario */
    button[type="submit"],
    .btn-submit {
        padding: 1rem 1.5rem !important;
        font-size: 1rem !important;
        min-height: 48px;
    }
    
    /* Secciones de contacto */
    .contact-section .space-y-8 > * {
        margin-bottom: 1.5rem !important;
    }
    
    /* Enlaces de redes sociales */
    .flex.space-x-6 {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .flex.space-x-6 a {
        font-size: 2rem !important;
        padding: 0.5rem;
    }
    
    /* Botones de contacto en FAQ */
    .flex.flex-wrap.justify-center.gap-6 {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .flex.flex-wrap.justify-center.gap-6 a {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Mejoras para Privacy Policy */
    .max-w-4xl.mx-auto {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Espaciado entre secciones */
    .py-16 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    /* Títulos de sección */
    .text-3xl.font-bold.mb-8 {
        font-size: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* Contenido de FAQ */
    .space-y-6 > * {
        margin-bottom: 1rem !important;
    }
}

/* Mejoras para tablets */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Formularios en tablets */
    .contact-form input,
    .contact-form textarea {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
    
    /* Grid de contacto en tablets */
    .grid.grid-cols-1.md\:grid-cols-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* FAQ cards en tablets */
    .space-y-6 > .bg-gray-800\/50 {
        margin-bottom: 1.25rem;
    }
}

/* Mejoras para accesibilidad táctil */
@media (hover: none) and (pointer: coarse) {
    .hover\:scale-105:hover {
        transform: scale(1.02);
    }
    
    .hover\:border-purple-500:hover {
        border-color: #9333ea;
    }
    
    .hover\:bg-gray-800:hover {
        background-color: #1f2937;
    }
    
    /* Aumentar área táctil para botones */
    .nav-link,
    .card-button,
    .hero-buttons button {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Eliminar efectos hover en dispositivos táctiles */
    .card-hover:hover {
        transform: none;
        box-shadow: none;
    }
    
    .nav-link:hover {
        transform: none;
    }
    
    /* Aumentar área táctil de botones */
    button, .btn, a[role="button"] {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Optimizaciones para pantallas de alta densidad */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .nav-brand img,
    .logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Ajustes para modo oscuro del sistema */
@media (prefers-color-scheme: dark) {
    /* Ya está optimizado para modo oscuro */
}

/* Reducir animaciones para usuarios que prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .particle,
    .hero-particle,
    .cta-particle {
        animation: none;
    }
}