/* ===== ARCHIVO CSS OPTIMIZADO - SOLO CLASES UTILIZADAS ===== */

/* ===== TIPOGRAFÍA PROFESIONAL ===== */
body { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a202c;
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

/* ===== VARIABLES CSS ===== */
:root {
    --primary-color: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #1a202c;
    --light-color: #f8fafc;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== GRADIENTES PROFESIONALES ===== */
.hero-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #5a67d8 100%);
    position: relative;
    overflow: hidden;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #5a67d8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ===== NAVEGACIÓN ===== */
/* ===== NAVEGACIÓN PERSONALIZADA SIN CONFLICTOS ===== */
.custom-navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10010 !important;
    transition: all 0.3s ease;
    height: 80px;
    display: flex;
    align-items: center;
}

.custom-navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.custom-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.custom-navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

/* ===== LOGO/BRAND ===== */
.custom-navbar-brand {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none !important;
    transition: all 0.3s ease;
    cursor: pointer;
}

.custom-navbar-brand i {
    font-size: 1.75rem !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.custom-navbar-brand:hover {
    transform: scale(1.02);
}

/* ===== MENÚ DESKTOP ===== */
.custom-navbar-menu {
    display: none;
    align-items: center;
    gap: 2.5rem;
}

.custom-navbar-link {
    position: relative;
    color: #4a5568 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 1rem !important;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.custom-navbar-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.custom-navbar-link:hover {
    color: #667eea !important;
    text-decoration: none !important;
}

.custom-navbar-link:hover::before {
    width: 100%;
}

/* ===== BOTONES DE ACCIÓN DESKTOP ===== */
.custom-navbar-actions {
    display: none;
    align-items: center;
    gap: 1rem;
}

.custom-btn-login {
    color: #4a5568 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.custom-btn-login:hover {
    color: #667eea !important;
    background-color: rgba(102, 126, 234, 0.05);
    text-decoration: none !important;
}

.custom-btn-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    border: none !important;
}

.custom-btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    color: white !important;
    text-decoration: none !important;
}

/* ===== BOTÓN MENÚ MÓVIL ===== */
.custom-mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: transparent !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    position: relative;
}

/* Asegurar visibilidad del botón en móviles si algún estilo externo lo oculta */
@media (max-width: 1023px) {
    .custom-mobile-menu-btn {
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
    }
}

.custom-mobile-menu-btn:hover {
    border-color: #667eea !important;
    background-color: rgba(102, 126, 234, 0.05) !important;
}

.custom-mobile-menu-btn:focus {
    outline: none !important;
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
}

.custom-hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 20px;
    height: 16px;
    position: relative;
}

.custom-hamburger span {
    width: 100%;
    height: 2px;
    background-color: #4a5568 !important;
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.custom-mobile-menu-btn:hover .custom-hamburger span {
    background-color: #667eea !important;
}

/* Animación del hamburger */
.custom-mobile-menu-btn.active .custom-hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background-color: #667eea !important;
}

.custom-mobile-menu-btn.active .custom-hamburger span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.custom-mobile-menu-btn.active .custom-hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background-color: #667eea !important;
}

/* ===== MENÚ MÓVIL OVERLAY ===== */
.custom-mobile-overlay {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9998 !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-mobile-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
}

.custom-mobile-menu {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 100vh;
    background: white !important;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.custom-mobile-overlay.active .custom-mobile-menu {
    transform: translateX(0);
}

/* ===== HEADER DEL MENÚ MÓVIL ===== */
.custom-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.custom-mobile-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.custom-mobile-close {
    width: 40px;
    height: 40px;
    background: transparent !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px;
    color: #4a5568 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-mobile-close:hover {
    background-color: #f7fafc !important;
    border-color: #667eea !important;
    color: #667eea !important;
}

/* ===== CONTENIDO DEL MENÚ MÓVIL ===== */
.custom-mobile-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.custom-mobile-link {
    display: flex !important;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1rem;
    color: #4a5568 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.custom-mobile-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    transition: width 0.3s ease;
}

.custom-mobile-link:hover::before {
    width: 100%;
}

.custom-mobile-link:hover {
    color: #667eea !important;
    transform: translateX(8px);
    text-decoration: none !important;
}

.custom-mobile-link i:first-child {
    width: 20px;
    text-align: center;
    color: #667eea !important;
    z-index: 1;
    position: relative;
}

.custom-mobile-link span {
    z-index: 1;
    position: relative;
}

.custom-mobile-link i:last-child {
    margin-left: auto;
    font-size: 0.875rem;
    opacity: 0.5;
    z-index: 1;
    position: relative;
    transition: all 0.3s ease;
}

.custom-mobile-link:hover i:last-child {
    opacity: 1;
    transform: translateX(5px);
}

.custom-mobile-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e2e8f0 50%, transparent 100%);
    margin: 1.5rem 0;
}

/* ===== SECCIÓN DE AUTENTICACIÓN MÓVIL ===== */
.custom-mobile-auth {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.custom-mobile-login {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    color: #4a5568 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.custom-mobile-login:hover {
    border-color: #667eea !important;
    color: #667eea !important;
    background-color: rgba(102, 126, 234, 0.05) !important;
    text-decoration: none !important;
}

.custom-mobile-register {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    border: none !important;
}

.custom-mobile-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white !important;
    text-decoration: none !important;
}



/* ===== RESPONSIVE DESIGN ===== */
@media (min-width: 768px) {
    .navbar-content {
        padding: 1.25rem 2rem;
    }
}

@media (min-width: 1024px) {
    .custom-navbar-menu {
        display: flex !important;
    }
    
    .custom-navbar-actions {
        display: flex !important;
    }
    
    .custom-mobile-menu-btn {
        display: none !important;
    }
    
    .custom-mobile-overlay {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    .custom-navbar-menu {
        display: none !important;
    }
    
    .custom-navbar-actions {
        display: none !important;
    }
    
    .custom-mobile-menu-btn {
        display: flex !important;
    }
}

@media (max-width: 480px) {
    .navbar-content {
        padding: 1rem;
    }
    
    .mobile-menu {
        width: 100%;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-brand i {
        font-size: 1.5rem;
    }
}

/* ===== HERO SECTION ===== */
.custom-hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.custom-hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.custom-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== BOTONES PROFESIONALES ===== */
.btn-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-gradient:hover::before {
    left: 100%;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.btn-outline {
    border: 2px solid currentColor;
    color: inherit;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-outline:hover {
    background: currentColor;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-free {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-free:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    color: white;
    text-decoration: none;
}

/* ===== TARJETAS PROFESIONALES ===== */
.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: white;
    position: relative;
    overflow: hidden;
}

.card-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-hover:hover::before {
    opacity: 1;
}

.card-hover:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

/* ===== ICONOS PROFESIONALES ===== */
.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.feature-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

/* ===== GRIDS PERSONALIZADOS ===== */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

/* ===== PRICING CARDS ===== */
.pricing-card {
    background: white;
    border-radius: 24px;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card:hover {
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.pricing-card-featured {
    border-color: #667eea;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
}

.pricing-card-featured::before {
    opacity: 1;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.6) 0%, rgba(118, 75, 162, 0) 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    pointer-events: none;
    z-index: 3;
}

/* Estructura interna uniforme para Premium/Enterprise */
.pricing-header {
    text-align: center;
    margin-bottom: 1rem;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pricing-footer {
    margin-top: auto;
    position: relative;
    z-index: 4;
}

/* Alinear contenido de todos los pricing cards al fondo de forma consistente */
.pricing-card > .text-center,
.pricing-card > div {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Uniformar estructura del Plan Gratuito (usa un contenedor .text-center) */
.pricing-card .text-center {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 0.75rem;
}

.pricing-card .text-center > .mt-auto,
.pricing-card .pricing-footer {
    margin-top: auto !important;
}

.pricing-card ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pricing-card .btn-free,
.pricing-card .btn {
    min-height: 48px;
    border-radius: 12px;
}

/* ===== TESTIMONIALES ===== */
.testimonial-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 4rem;
    color: rgba(102, 126, 234, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

/* ===== SECCIONES ===== */
.section-padding {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.section-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: #6b7280;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== STATS COUNTER ===== */
.stats-counter {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

/* ===== FOOTER PROFESIONAL ===== */
.footer-section {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 4rem 0 2rem;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.brand-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.brand-tagline {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    color: white;
}

.contact-info {
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer-badges {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.badge-item {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 0;
    }
    
    .custom-stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-card-featured {
        transform: none;
    }
    
    .footer-badges {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
        max-width: 900px;
        margin: 0 auto;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
        max-width: 1200px;
    }
}

/* ===== MEJORAS DE ACCESIBILIDAD ===== */
.btn-gradient:focus,
.btn-outline:focus,
.btn-free:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* ===== AJUSTES PARA EVITAR CONFLICTOS ===== */
body {
    padding-top: 80px; /* Espacio para navbar fija */
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
}

/* ===== UTILIDADES ===== */
.text-center {
    text-align: center;
}

.d-flex {
    display: flex;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.gap-3 {
    gap: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.h-100 {
    height: 100%;
}

.text-azul-gris {
    color: #6b7280 !important;
}

.text-azul-oscuro {
    color: var(--dark-color);
}

/* ===== TARJETAS DE CARACTERÍSTICAS MEJORADAS ===== */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, rgba(118, 75, 162, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(102, 126, 234, 0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

/* ===== ICONOS DE CARACTERÍSTICAS MEJORADOS ===== */
.feature-icon-container {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.1;
    transition: all 0.3s ease;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.2rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.feature-card:hover .feature-icon {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.feature-card:hover .feature-icon-bg {
    opacity: 0.15;
    transform: scale(1.1);
}

/* ===== CONTENIDO DE CARACTERÍSTICAS ===== */
.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-description {
    color: #6b7280;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* ===== VARIACIONES DE COLORES PARA ICONOS ===== */
.feature-card:nth-child(1) .feature-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.feature-card:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.feature-card:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
}

.feature-card:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
}

.feature-card:nth-child(5) .feature-icon {
    background: linear-gradient(135deg, #A8EDEA 0%, #667eea 100%);
}

.feature-card:nth-child(6) .feature-icon {
    background: linear-gradient(135deg, #FD79A8 0%, #FDCB6E 100%);
}

/* ===== RESPONSIVE DESIGN MEJORADO ===== */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .feature-card {
        padding: 2.5rem 1.5rem;
    }
    
    .feature-icon-container {
        width: 90px;
        height: 90px;
        margin-bottom: 1.5rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .feature-title {
        font-size: 1.3rem;
    }
    
    .feature-description {
        font-size: 0.95rem;
    }
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    .feature-card {
        padding: 3rem 2.5rem;
    }
}

@media (min-width: 1280px) {
    .features-grid {
        gap: 3.5rem;
    }
    
    .feature-card {
        padding: 3.5rem 3rem;
    }
}