/* ========================================
   MODERN LANDING PAGE - PLANNYAPP
   ======================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent; /* Transparente inicialmente */
    backdrop-filter: none; /* Sin blur inicialmente */
    border-bottom: none; /* Sin borde inicialmente */
    z-index: 1001; /* Asegurar que esté por encima de videos y overlay */
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Estilos para navbar cuando se hace scroll - colores normales */
.navbar.scrolled .nav-brand {
    color: #333; /* Color negro como en el header de /me */
}

.navbar.scrolled .nav-link {
    color: #333; /* Volver al color oscuro */
}

.navbar.scrolled .nav-link:hover {
    color: #667eea !important; /* Hover azul */
    background: rgba(102, 126, 234, 0.1) !important; /* Fondo azul transparente como en navbar estático */
    border-radius: 6px !important; /* Mismo border-radius que el estilo base */
    padding: 8px 12px !important; /* Mismo padding que el estilo base */
}

/* Estilos adicionales para elementos del navbar cuando se hace scroll */
.navbar.scrolled .bar {
    background: #333; /* Volver al color oscuro */
}

.nav-container {
    max-width: 1400px; /* Aumentado para más espacio */
    margin: 0 auto;
    padding: 0 40px; /* Aumentado padding lateral para mejor espaciado */
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.5rem;
    color: white; /* Blanco inicialmente para ser visible sobre videos */
    transition: all 0.3s ease;
}

.brand-logo {
    height: 40px;
    width: auto;
    /* Sin filtros - mantener el logo en su color original siempre */
    transition: none; /* Sin transición */
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 12px; /* Espaciado muy compacto */
}

/* Navbar desktop específico */
.nav-menu-desktop {
    display: flex;
    align-items: center;
    gap: 12px; /* Espaciado muy compacto */
}

/* Ocultar menú móvil en desktop */
.nav-menu {
    display: none;
}

/* Mostrar menú desktop en desktop */
@media (min-width: 769px) {
    .nav-menu-desktop {
        display: flex !important;
    }
    
    .nav-menu {
        display: none !important;
    }
}

/* Icon handling: show icons by default on mobile; limit hiding to desktop non-CTA links */
.nav-menu a i { /* mobile menu: keep icons visible */
    display: inline-block;
}
.nav-menu-desktop a i { /* hide by default on desktop except CTA */
    display: none;
}

/* Mostrar solo el ícono de play en "Ver el Sistema" desktop */
.nav-menu .nav-cta i,
.nav-menu-desktop .nav-cta i {
    display: inline-block;
    margin-right: 8px;
    font-size: 14px;
}

/* Links del navbar desktop */
.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 12px; /* Agregado padding para mejor área de click */
    border-radius: 6px;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
}

.nav-link {
    text-decoration: none;
    color: white; /* Blanco inicialmente */
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.8); /* Hover blanco semitransparente */
}
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

.nav-cta {
    background: #667eea;
    color: white;
    border: 2px solid #667eea;
    padding: 10px 24px; /* Aumentado padding para mejor proporción */
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: 10px; /* Reducido para espaciado más compacto */
    white-space: nowrap; /* Evitar que el texto se rompa */
}

/* Ocultar ícono del CTA en desktop */
.nav-cta i {
    display: none;
}

.nav-cta:hover {
    background: #5a67d8;
    border-color: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: white; /* Blanco inicialmente */
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* Login button styles */
.nav-login {
    margin-left: 15px; /* Margen más pequeño para estar más junto */
}

/* Desktop navbar login styles duplication */
.nav-menu-desktop .nav-login {
    margin-left: 15px; /* Mismo margen reducido */
}

/* Hide mobile login in desktop by default */
.nav-login-mobile {
    display: none !important;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 10px; /* Aumentado gap entre ícono y texto */
    padding: 10px 20px; /* Aumentado padding para mejor proporción */
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px; /* Más redondeado para consistencia */
    color: white;
    text-decoration: none;
    font-size: 0.95rem; /* Ligeramente más grande */
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap; /* Evitar ruptura de texto */
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.login-btn i {
    font-size: 1rem;
    color: white;
    transition: color 0.3s ease;
}

/* Login button styles when navbar is scrolled */
.navbar.scrolled .login-btn {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.2);
    color: #333;
}

.navbar.scrolled .login-btn:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.navbar.scrolled .login-btn i {
    color: #667eea;
}

/* Hide mobile login in desktop */
.nav-login-mobile {
    display: none;
}

/* Desktop navbar styles */
@media (min-width: 769px) {
    /* Ocultar menú móvil completo en desktop */
    .nav-menu {
        display: none !important;
    }
    
    /* Mostrar solo el menú desktop */
    .nav-menu-desktop {
        display: flex !important;
        align-items: center;
        gap: 12px; /* Espaciado muy compacto */
    }
    
    /* Ocultar toggle en desktop */
    .nav-toggle {
        display: none !important;
    }
}

/* Mobile navbar styles */
@media (max-width: 768px) {
    /* Ocultar menú desktop en móvil */
    .nav-menu-desktop {
        display: none !important;
    }
    
    /* El nav-menu móvil mantiene sus estilos del media query principal */
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Video Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Overlay negro para mejorar legibilidad del texto */
.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45); /* Overlay ligeramente más oscuro para mejor contraste con navbar */
    z-index: 2;
    pointer-events: none;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0;
    /* Sin transición para cambio instantáneo */
    z-index: 1;
    /* Optimizaciones de performance */
    backface-visibility: hidden;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.hero-video.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 5; /* Reducido pero suficiente para estar sobre videos */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 24px;
}

.highlight {
    background: linear-gradient(45deg, #764ba2, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none; /* Sin sombra en el texto con gradiente */
}

.hero-description {
    font-size: 1.2rem;
    color: white;
    line-height: 1.6;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Sombra para visibilidad sobre video */
}
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-primary {
    background: white;
    color: #667eea;
    border-color: white;
}

.btn-primary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    border-color: white;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border-color: #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 30px; /* Espaciado superior */
}

.stat {
    text-align: center;
    color: white !important; /* Forzar color blanco */
    min-width: 120px; /* Ancho fijo para evitar movimiento */
    flex-shrink: 0; /* No se encoge */
    background: none !important; /* Sin background que pueda interferir */
    border: none !important; /* Sin bordes */
    padding: 0 !important; /* Sin padding extra */
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800; /* Peso más fuerte para mejor visibilidad */
    display: block;
    margin-bottom: 5px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; /* Usar Inter */
    font-feature-settings: 'tnum' 1; /* Números tabulares (ancho fijo) */
    letter-spacing: 1px; /* Espaciado uniforme */
    width: 100%; /* Ocupa todo el ancho disponible */
    text-align: center;
    line-height: 1.1; /* Altura de línea consistente */
    white-space: nowrap; /* Evita salto de línea */
    overflow: hidden; /* Oculta desbordamiento */
    color: white !important; /* Forzar color blanco */
}

/* Estadísticas del hero deben ser blancas */
.hero-stats .stat-label {
    color: white !important;
    opacity: 0.9 !important;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 5px;
    text-align: center;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9; /* Mayor opacidad para mejor legibilidad */
    color: white !important; /* Forzar color blanco */
    font-weight: 500; /* Peso medio para mejor legibilidad */
}
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.dashboard-preview {
    position: relative;
    border-radius: 20px;
    overflow: visible;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: all 0.3s ease;
}

.dashboard-preview:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(2deg) translateY(-10px);
}

.dashboard-mockup {
    background: white;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    min-height: 400px;
}

.mockup-header {
    background: #f8fafc;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.mockup-tabs {
    display: flex;
    gap: 20px;
}

.tab {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab.active {
    background: #667eea;
    color: white;
}

.mockup-content {
    padding: 30px;
}

.mockup-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.mockup-stat {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.stat-icon {
    font-size: 1.5rem;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b !important; /* Forzar color oscuro para el dashboard simulado */
    margin-bottom: 2px;
}

/* Reglas específicas para el dashboard simulado */
.dashboard-mockup .stat-value {
    color: #1e293b !important; /* Texto oscuro para valores del dashboard */
}

.dashboard-mockup .stat-label {
    color: #64748b !important; /* Texto gris para labels del dashboard */
}

/* Reglas específicas para las estadísticas del hero (deben ser blancas) */
.hero-stats .stat-label {
    color: white !important; /* Forzar blanco para estadísticas del hero */
    opacity: 0.9 !important;
    font-size: 0.8rem;
}

/* Regla general para stat-label (usada por dashboard) */
.dashboard-mockup .stat-label,
.mockup-stat .stat-label {
    font-size: 0.8rem;
    color: #64748b !important; /* Color por defecto para dashboard */
}

.mockup-calendar {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
}

.calendar-header {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
    text-align: center;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    text-align: center;
}

.calendar-day {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    padding: 8px 4px;
}

.calendar-date {
    font-size: 0.85rem;
    color: #475569;
    padding: 8px 4px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-date:hover {
    background: #e2e8f0;
}

.calendar-date.today {
    background: #667eea;
    color: white;
}

.dashboard-image {
    width: 100%;
    height: auto;
    display: block;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 15px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    animation: float 6s ease-in-out infinite;
    z-index: 10;
}

.card-1 {
    top: 20%;
    left: -40px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    right: -40px;
    animation-delay: 3s;
}

.floating-card i {
    font-size: 1.5rem;
    color: #667eea;
}

.card-title {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.card-subtitle {
    color: #666;
    font-size: 0.8rem;
}

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

/* ========================================
   FEATURES SECTION - DYNAMIC & COLORFUL
   ======================================== */
.features-section {
    padding: 0;
    background: #fafbff;
    overflow: hidden;
}

/* Feature Hero */
.feature-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 120px 0 60px;
    color: white;
    position: relative;
    overflow: hidden;
}

.feature-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="1"/></g></svg>');
    pointer-events: none;
}

/* Emojis flotantes animados */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    animation: floating var(--duration, 15s) ease-in-out infinite var(--delay, 0s);
    opacity: 0.8;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Colores específicos para cada emoji */
.floating-icon:nth-child(1) { background: linear-gradient(135deg, #4285f4, #1a73e8); } /* 📅 Azul calendario */
.floating-icon:nth-child(2) { background: linear-gradient(135deg, #ff6b6b, #ee5a52); } /* ✂️ Rojo tijeras */
.floating-icon:nth-child(3) { background: linear-gradient(135deg, #8b4513, #654321); } /* 💼 Marrón maletín */
.floating-icon:nth-child(4) { background: linear-gradient(135deg, #ffd700, #ffb300); } /* ⏰ Dorado reloj */
.floating-icon:nth-child(5) { background: linear-gradient(135deg, #ff69b4, #e91e63); } /* 💇‍♀️ Rosa peluquería */
.floating-icon:nth-child(6) { background: linear-gradient(135deg, #00c851, #00a040); } /* 📊 Verde gráfico */
.floating-icon:nth-child(7) { background: linear-gradient(135deg, #6c757d, #495057); } /* 💻 Gris laptop */
.floating-icon:nth-child(8) { background: linear-gradient(135deg, #007bff, #0056b3); } /* 📱 Azul móvil */
.floating-icon:nth-child(9) { background: linear-gradient(135deg, #dc3545, #c82333); } /* 🎯 Rojo diana */
.floating-icon:nth-child(10) { background: linear-gradient(135deg, #ffc107, #e0a800); } /* 🌟 Amarillo estrella */
.floating-icon:nth-child(11) { background: linear-gradient(135deg, #fd7e14, #e55100); } /* 💡 Naranja bombilla */
.floating-icon:nth-child(12) { background: linear-gradient(135deg, #6f42c1, #5a2d91); } /* 🚀 Púrpura cohete */
.floating-icon:nth-child(13) { background: linear-gradient(135deg, #28a745, #1e7e34); } /* 💳 Verde tarjeta */
.floating-icon:nth-child(14) { background: linear-gradient(135deg, #17a2b8, #117a8b); } /* 🔔 Cian notificación */
.floating-icon:nth-child(15) { background: linear-gradient(135deg, #20c997, #198754); } /* 📈 Verde crecimiento */
.floating-icon:nth-child(16) { background: linear-gradient(135deg, #6610f2, #520dc2); } /* 👥 Púrpura usuarios */
.floating-icon:nth-child(17) { background: linear-gradient(135deg, #e83e8c, #d21160); } /* 🏆 Rosa premio */
.floating-icon:nth-child(18) { background: linear-gradient(135deg, #00d4aa, #00a085); } /* 💎 Turquesa diamante */
.floating-icon:nth-child(19) { background: linear-gradient(135deg, #ff8c00, #ff6b00); } /* 🎨 Naranja arte */
.floating-icon:nth-child(20) { background: linear-gradient(135deg, #ffed4e, #fbc02d); } /* ⚡ Amarillo energía */

.floating-icon::before {
    content: attr(data-emoji);
    display: block;
    transform: scale(1);
    transition: transform 0.3s ease;
}

@keyframes floating {
    0% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(90deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-40px) translateX(-5px) rotate(180deg);
        opacity: 1;
    }
    75% {
        transform: translateY(-20px) translateX(-15px) rotate(270deg);
        opacity: 0.8;
    }
    100% {
        transform: translateY(0px) translateX(0px) rotate(360deg);
        opacity: 0.6;
    }
}

/* Posicionamiento inicial aleatorio */
.floating-icon:nth-child(1) { left: 5%; top: 15%; }
.floating-icon:nth-child(2) { left: 15%; top: 65%; }
.floating-icon:nth-child(3) { left: 25%; top: 30%; }
.floating-icon:nth-child(4) { left: 35%; top: 80%; }
.floating-icon:nth-child(5) { left: 45%; top: 10%; }
.floating-icon:nth-child(6) { left: 55%; top: 55%; }
.floating-icon:nth-child(7) { left: 65%; top: 85%; }
.floating-icon:nth-child(8) { left: 75%; top: 20%; }
.floating-icon:nth-child(9) { left: 85%; top: 70%; }
.floating-icon:nth-child(10) { left: 10%; top: 40%; }
.floating-icon:nth-child(11) { left: 30%; top: 90%; }
.floating-icon:nth-child(12) { left: 70%; top: 5%; }
.floating-icon:nth-child(13) { left: 20%; top: 25%; }
.floating-icon:nth-child(14) { left: 40%; top: 60%; }
.floating-icon:nth-child(15) { left: 60%; top: 35%; }
.floating-icon:nth-child(16) { left: 80%; top: 45%; }
.floating-icon:nth-child(17) { left: 50%; top: 75%; }
.floating-icon:nth-child(18) { left: 90%; top: 30%; }
.floating-icon:nth-child(19) { left: 12%; top: 85%; }
.floating-icon:nth-child(20) { left: 68%; top: 15%; }

.feature-hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-hero h2 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.feature-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    line-height: 1.6;
}

.feature-hero-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-circle {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
}

.stat-circle .stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-circle .stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 500;
}

/* WhatsApp Spotlight */
.whatsapp-spotlight {
    background: #ffffff;
    padding: 80px 0;
    color: #1a202c;
    position: relative;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.whatsapp-spotlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.spotlight-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.spotlight-badge {
    background: linear-gradient(135deg, #25d366, #20c05c);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    border: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.spotlight-info h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #1a202c;
}

.spotlight-info p {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 30px;
    line-height: 1.6;
}

.spotlight-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #4a5568;
}

.benefit-item i {
    color: #25d366;
    font-size: 1.2rem;
}

.spotlight-visual {
    display: flex;
    justify-content: center;
}

.whatsapp-demo {
    position: relative;
}

.phone-frame {
    width: 300px;
    height: 650px;
    background: #333;
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.whatsapp-interface {
    height: 100%;
    background: #e5ddd5;
    display: flex;
    flex-direction: column;
}

.whatsapp-header {
    background: #075e54;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.business-name {
    font-weight: 600;
    font-size: 1rem;
}

.business-status {
    font-size: 0.8rem;
    opacity: 0.8;
}

.chat-messages {
    flex: 1;
    padding: 20px 20px 60px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
}

.message-received {
    max-width: 85%;
}

.message-bubble-received {
    background: white;
    border-radius: 15px 15px 15px 5px;
    padding: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 0.85rem;
    line-height: 1.3;
    color: #333;
}

.appointment-card {
    background: #f0f8ff;
    border-radius: 12px;
    padding: 12px;
    margin: 8px 0;
    border-left: 4px solid #667eea;
}

.appointment-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #667eea;
    font-size: 0.8rem;
}

.appointment-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #555;
}

.quick-replies {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 5px;
    padding: 0;
    flex-shrink: 0;
}

.reply-btn {
    background: #25d366;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    text-align: center;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reply-btn:hover {
    background: #20b858;
    transform: translateY(-1px);
}

.reply-btn.cancel {
    background: #dc3545;
}

.reply-btn.cancel:hover {
    background: #c82333;
}

/* Barra de escritura de WhatsApp */
.whatsapp-input-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f0f2f5;
    padding: 8px 12px 12px 12px;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    z-index: 2;
}

.input-container {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 25px;
    padding: 8px 15px;
    gap: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.input-icon {
    color: #54656f;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.input-icon:hover {
    color: #128C7E;
}

.message-input {
    flex: 1;
    min-height: 20px;
    display: flex;
    align-items: center;
}

.input-placeholder {
    color: #667781;
    font-size: 15px;
    user-select: none;
}

/* Features Showcase con patrón tech integrado */

.showcase-container {
    padding: 80px 0 80px;
    background: transparent;
    position: relative;
    z-index: 20;
}

.showcase-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.showcase-item {
    display: grid;
    grid-template-columns: 80px 1fr 300px;
    gap: 40px;
    align-items: center;
    padding: 50px;
    background: #ffffff;
    border-radius: 30px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.showcase-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.02), transparent);
    transition: left 0.6s ease;
}

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

.showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(102, 126, 234, 0.2);
}

.showcase-item.reverse {
    grid-template-columns: 300px 1fr 80px;
    background: #ffffff;
    border-color: #e2e8f0;
}

.showcase-item.reverse::before {
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.02), transparent);
}

.showcase-item.reverse:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(102, 126, 234, 0.2);
}

.showcase-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.showcase-item.reverse .showcase-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.showcase-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.showcase-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.showcase-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.showcase-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: #555;
    font-weight: 500;
}

.showcase-features i {
    color: #ffd700;
    font-size: 0.9rem;
}

.pro-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 8px;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.2);
}

.showcase-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Mini Dashboards */
.mini-dashboard, .mini-chart, .mini-rrhh, .mini-website {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    width: 100%;
    max-width: 280px;
}

/* Solo el dashboard de María García tiene altura fija para el historial */
.mini-dashboard {
    min-height: 280px;
    padding: 16px;
}

/* Dashboard header más compacto */
.mini-dashboard .dashboard-header {
    font-size: 0.9rem;
    margin-bottom: 12px;
    padding-bottom: 8px;
}

/* Contenido de stats más compacto */
.mini-dashboard .dashboard-content {
    gap: 15px;
    margin-bottom: 12px;
}

.mini-dashboard .client-stat .stat-value {
    font-size: 1.3rem;
    margin-bottom: 3px;
}

.mini-dashboard .client-stat .stat-text {
    font-size: 0.75rem;
}

.dashboard-header, .chart-header, .rrhh-header, .website-header {
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    font-size: 0.95rem;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
}

.dashboard-content {
    display: flex;
    gap: 20px;
}

.client-stat {
    text-align: center;
    flex: 1;
}

.client-stat .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 5px;
}

.client-stat .stat-text {
    font-size: 0.8rem;
    color: #666;
}

/* Historial de servicios animado - versión compacta */
.services-history {
    margin-top: 12px;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
}

.history-header {
    font-size: 0.8rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.services-list {
    max-height: 96px;
    min-height: 96px;
    overflow: hidden;
    position: relative;
    /* Reservar espacio para exactamente 3 servicios compactos */
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    min-height: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: serviceAppear 0.6s ease forwards;
}

.service-item.initial-service {
    opacity: 1;
    transform: translateY(0);
    animation: none;
}

/* Placeholders para reservar espacio visual - compactos */
.service-placeholder {
    min-height: 30px;
    padding: 6px 0;
    opacity: 0;
    pointer-events: none;
}

.service-box {
    font-size: 0.7rem;
    padding: 3px 6px;
    border-radius: 6px;
    color: white;
    font-weight: 500;
    flex: 1;
    text-align: center;
    margin-right: 6px;
}

.service-box.corte {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.service-box.tinte {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.service-box.unas {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.service-box.dental {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.service-box.masaje {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

.service-box.facial {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
}

.service-price {
    font-size: 0.7rem;
    font-weight: 600;
    color: #667eea;
    min-width: 32px;
    text-align: right;
}

@keyframes serviceAppear {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    60% {
        transform: translateY(-2px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes serviceDisappear {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
}

/* Animación de contador incrementando */
@keyframes counterIncrement {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
        color: #667eea;
    }
    100% {
        transform: scale(1);
    }
}

.chart-container {
    margin-top: 15px;
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 6px;
    height: 80px;
    margin-bottom: 10px;
    justify-content: space-between;
}

.chart-bar {
    background: linear-gradient(to top, #667eea, #764ba2);
    width: 100%;
    max-width: 25px;
    border-radius: 4px 4px 0 0;
    min-height: 20px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.chart-bar:hover {
    transform: translateY(-3px);
    background: linear-gradient(to top, #5a67d8, #6b46c1);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.chart-bar:hover::before {
    content: attr(data-value);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    white-space: nowrap;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    font-size: 0.7rem;
    color: #666;
    margin-bottom: 15px;
}

.chart-labels span {
    flex: 1;
    text-align: center;
}

.chart-summary {
    border-top: 1px solid #e2e8f0;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.summary-label {
    color: #666;
    font-weight: 500;
}

.summary-value {
    font-weight: 600;
    color: #333;
}

.summary-item.growth .summary-value {
    color: #10b981;
}

.employee-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.employee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: #f8fafc;
    border-radius: 6px;
    font-size: 0.85rem;
}

.employee-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
}

.website-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.website-element {
    height: 12px;
    background: #e2e8f0;
    border-radius: 6px;
}

.website-element.short {
    width: 60%;
}

.website-button {
    background: #667eea;
    color: white;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 10px;
}

/* Competitive Section */
.competitive-section {
    background: #ffffff;
    padding: 80px 0;
    color: #1a202c;
    border-top: 1px solid #e2e8f0;
}

/* ===========================
   TESTIMONIALS SECTION 
   =========================== */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

/* Single wave animation layer - no overlapping issues */
.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 300%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 3600 400"><defs><linearGradient id="wave-grad" x1="0%" y1="0%" x2="100%" y2="0%"><stop offset="0%" style="stop-color:%23ffffff;stop-opacity:0.1"/><stop offset="50%" style="stop-color:%23ffffff;stop-opacity:0.05"/><stop offset="100%" style="stop-color:%23ffffff;stop-opacity:0.1"/></linearGradient></defs><path d="M0,200 Q300,150 600,200 T1200,200 T1800,200 T2400,200 T3000,200 T3600,200 L3600,400 L0,400 Z" fill="url(%23wave-grad)"/></svg>');
    background-size: 100% 100%;
    animation: seamless-wave 30s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        radial-gradient(circle at 60% 80%, rgba(255, 255, 255, 0.04) 1.5px, transparent 1.5px),
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 400px 400px, 300px 300px, 500px 500px, 350px 350px;
    animation: gentle-particles 45s linear infinite;
    pointer-events: none;
    z-index: 2;
}

.testimonials-section .container {
    position: relative;
    z-index: 2;
}

/* Floating particles for extra tranquility */
.testimonials-section .testimonials-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 60% 80%, rgba(102, 126, 234, 0.08) 1.5px, transparent 1.5px),
        radial-gradient(circle at 30% 70%, rgba(118, 75, 162, 0.08) 1px, transparent 1px);
    background-size: 400px 400px, 300px 300px, 500px 500px, 350px 350px;
    animation: particles-float 60s linear infinite;
    pointer-events: none;
    z-index: 1;
}

/* Seamless wave animation - no overlapping issues */
@keyframes seamless-wave {
    0% { 
        transform: translateX(0%) scale(1.02); 
        opacity: 0.8;
    }
    25% { 
        transform: translateX(-16.66%) scale(1.05); 
        opacity: 0.6;
    }
    50% { 
        transform: translateX(-33.33%) scale(1.02); 
        opacity: 0.8;
    }
    75% { 
        transform: translateX(-16.66%) scale(1.05); 
        opacity: 0.6;
    }
    100% { 
        transform: translateX(0%) scale(1.02); 
        opacity: 0.8;
    }
}

/* Gentle particle animation */
@keyframes gentle-particles {
    0% { 
        background-position: 0% 0%, 100% 100%, 50% 0%, 0% 100%; 
        opacity: 0.7;
    }
    33% { 
        background-position: 100% 30%, 30% 70%, 80% 40%, 20% 60%; 
        opacity: 1;
    }
    66% { 
        background-position: 30% 100%, 70% 0%, 10% 80%, 90% 20%; 
        opacity: 0.7;
    }
    100% { 
        background-position: 0% 0%, 100% 100%, 50% 0%, 0% 100%; 
        opacity: 0.7;
    }
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-avatar {
    font-size: 50px;
    color: #667eea;
    margin-right: 15px;
    animation: float 6s ease-in-out infinite;
}

.testimonial-info h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

.testimonial-info span {
    color: #7f8c8d;
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
}

.testimonial-rating {
    display: flex;
    gap: 2px;
}

.testimonial-rating i {
    color: #f39c12;
    font-size: 14px;
}

.testimonial-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #34495e;
    margin-bottom: 20px;
    font-style: italic;
    quotes: '"' '"';
}

.testimonial-content p::before {
    content: open-quote;
    font-size: 24px;
    color: #667eea;
}

.testimonial-content p::after {
    content: close-quote;
    font-size: 24px;
    color: #667eea;
}

.testimonial-highlight {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 12px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    animation: pulse-soft 3s infinite;
}

.testimonial-highlight i {
    margin-right: 8px;
    font-size: 16px;
}

/* Stats Section */
.testimonials-stats {
    margin-top: 60px;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    background: linear-gradient(135deg, #f7f9fc 0%, rgba(102, 126, 234, 0.05) 100%);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(102, 126, 234, 0.15) 100%);
}

.stat-number-big {
    font-size: 48px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 10px;
    display: block;
    line-height: 1;
}

.testimonials-stats .stat-item .stat-label {
    font-size: 16px;
    color: #667eea !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animaciones para contadores */
@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.stat-number-big.counting {
    animation: countUp 0.5s ease-out;
}

/* Responsive Testimonials */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 40px 0;
        padding: 0 20px; /* Padding lateral */
    }
    
    .testimonial-card {
        padding: 25px 20px;
        border-radius: 16px;
        margin-bottom: 15px;
    }
    
    .testimonial-card:hover {
        transform: translateY(-5px); /* Menos movimiento en móvil */
    }
    
    .testimonial-header {
        margin-bottom: 15px; /* Menos espacio */
    }
    
    .testimonial-avatar {
        font-size: 35px;
        margin-right: 12px;
    }
    
    .testimonial-info h4 {
        font-size: 16px;
        margin-bottom: 3px;
    }
    
    .testimonial-info span {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .testimonial-rating {
        margin-bottom: 8px;
    }
    
    .testimonial-rating i {
        font-size: 12px;
    }
    
    .testimonial-content p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    .testimonial-content p::before,
    .testimonial-content p::after {
        font-size: 18px; /* Comillas más pequeñas */
        margin: 0; /* Sin espacios */
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number-big {
        font-size: 36px;
    }
    
    .testimonials-stats {
        margin-top: 40px;
        padding: 30px 20px;
        border-radius: 16px;
    }
}

/* Testimonials - Móviles pequeños */
@media (max-width: 480px) {
    .testimonials-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem !important;
        padding: 0 20px;
        line-height: 1.3;
        margin-bottom: 10px;
    }
    
    .section-subtitle {
        font-size: 0.95rem !important;
        padding: 0 20px;
        margin-bottom: 30px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 30px 0;
        padding: 0 15px;
    }
    
    .testimonial-card {
        padding: 20px 15px;
        border-radius: 12px;
        margin-bottom: 10px;
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.08);
    }
    
    .testimonial-card:hover {
        transform: none; /* Sin animación hover en móvil pequeño */
    }
    
    .testimonial-header {
        margin-bottom: 12px;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .testimonial-avatar {
        font-size: 28px;
        margin-right: 10px;
    }
    
    .testimonial-info {
        flex: 1;
        min-width: 0;
    }
    
    .testimonial-info h4 {
        font-size: 14px;
        margin-bottom: 2px;
        line-height: 1.3;
    }
    
    .testimonial-info span {
        font-size: 11px;
        margin-bottom: 4px;
        opacity: 0.8;
    }
    
    .testimonial-rating {
        margin-bottom: 6px;
        align-self: flex-start;
    }
    
    .testimonial-rating i {
        font-size: 10px;
    }
    
    .testimonial-content p {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 12px;
    }
    
    .testimonial-content p::before,
    .testimonial-content p::after {
        font-size: 14px;
        margin: 0; /* Sin espacios */
    }
    
    /* Estadísticas profesionales para móvil */
    .testimonials-stats {
        margin-top: 30px;
        padding: 25px 20px;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .stats-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
        max-width: 100%;
    }
    
    .testimonials-stats .stat-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 18px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(20px);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.25);
        box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
        min-width: 0;
        box-sizing: border-box;
    }
    
    .testimonials-stats .stat-number-big {
        font-size: 24px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        margin: 0 !important;
        line-height: 1;
        text-shadow: 0 2px 4px rgba(0,0,0,0.4);
        flex-shrink: 0;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif !important;
    }
    
    .testimonials-stats .stat-item .stat-label {
        font-size: 13px !important;
        line-height: 1.3;
        color: #ffffff !important;
        text-align: left;
        margin-left: 15px;
        text-transform: none !important;
        letter-spacing: 0 !important;
        flex: 1;
        text-shadow: 0 1px 2px rgba(0,0,0,0.3);
        font-weight: 500 !important;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif !important;
    }
    
    /* Optimización de animaciones de fondo */
    .testimonials-section::before {
        animation-duration: 40s; /* Animación más lenta */
    }
    
    .testimonials-section::after {
        background-size: 200px 200px, 150px 150px, 250px 250px, 180px 180px;
        animation-duration: 50s;
    }
}

@keyframes pulse-soft {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* ===========================
   EXISTING COMPETITIVE STYLES (keep for pricing section)
   =========================== */

.competitive-header {
    text-align: center;
    margin-bottom: 60px;
}

.competitive-header h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.competitive-header p {
    font-size: 1.1rem;
    color: #4a5568;
}

/* Text styles specifically for testimonials section */
.testimonials-section .competitive-header h3 {
    color: white;
}

.testimonials-section .competitive-header p {
    color: rgba(255, 255, 255, 0.9);
}

.competitive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.competitive-advantage {
    background: #f7f9fc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.competitive-advantage:hover {
    transform: translateY(-10px);
    background: #ffffff;
    border-color: rgba(102, 126, 234, 0.2);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 25px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.advantage-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a202c;
}

.advantage-content p {
    color: #4a5568;
    line-height: 1.6;
}

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing-section {
    padding: 80px 0;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px 30px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 600px;
    justify-content: space-between;
}

.pricing-featured {
    border-color: #667eea;
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #667eea;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.plan-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

/* Marketing-friendly pricing structure */
.plan-price {
    margin: 20px 0;
    text-align: center;
}

/* Simple price display for Solo and Pro */
.simple-price {
    margin-bottom: 8px;
}

.simple-price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
}

.simple-price .period {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
    margin-left: 4px;
}

.price-note {
    margin-top: 5px;
}

.note-text {
    font-size: 0.85rem;
    color: #10b981;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
}

/* Trial price display for Business (featured plan) */
.trial-price {
    margin-bottom: 12px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 20px;
    display: inline-block;
}

.trial-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.trial-period {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-left: 8px;
}

.regular-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.then-text {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
}

.amount {
    font-size: 1.6rem;
    font-weight: 700;
    color: #374151;
}

/* Override for simple price display */
.simple-price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
}

.period {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
}

.currency {
    font-size: 1.2rem;
    color: #666;
    vertical-align: top;
    margin-left: 2px;
}

.plan-description {
    color: #666;
    font-size: 0.95rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 0;
    flex-grow: 1;
}

/* Contenedores para alineación perfecta */
.pricing-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pricing-footer {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

/* Trial text styling */
.trial-text {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
    text-align: center;
}

/* Botones de pricing cards alineados */
.pricing-card .btn {
    width: 100%;
    max-width: 220px;
    text-align: center;
    padding: 12px 20px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    margin: 0 auto;
    display: block;
    white-space: nowrap; /* Evita división del texto */
}

/* Estilo especial para el botón "Comenzar Gratis" del plan Business */
.pricing-featured .btn-primary {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    border: 2px solid #10b981 !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.pricing-featured .btn-primary:hover {
    background: linear-gradient(135deg, #059669, #047857) !important;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    border-color: #059669 !important;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #555;
}

.plan-features i {
    color: #10b981;
    font-size: 0.8rem;
}

.pricing-guarantee {
    text-align: center;
    background: #f0f7ff;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #e0f2ff;
}

.guarantee-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.guarantee-content i {
    font-size: 2rem;
    color: #667eea;
}

.guarantee-content h4 {
    color: #333;
    margin-bottom: 5px;
}

.guarantee-content p {
    color: #666;
    font-size: 0.95rem;
}

/* Responsive Pricing */
@media (max-width: 768px) {
    .pricing-section {
        padding: 30px 0; /* Más compacto para tablet - reducido de 40px */
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 20px;
    }
    
    .pricing-card {
        padding: 30px 25px;
        border-radius: 16px;
    }
    
    .pricing-header h3 {
        font-size: 1.5rem;
    }
    
    .pricing-price {
        font-size: 2.5rem;
    }
    
    .pricing-features li {
        font-size: 0.9rem;
        padding: 8px 0;
    }
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Cajas glassmorphism globales */
.glass-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 15px 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
}

.glass-container:last-child {
    margin-bottom: 0;
}

/* Cajas glassmorphism para CTA (mantener compatibilidad) */
.cta-section .glass-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 15px 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
}

.cta-section .glass-container:last-child {
    margin-bottom: 0;
}

/* Asegurar que los iconos flotantes del CTA tengan el mismo aspecto que feature-hero */
.cta-section .floating-icon {
    border-radius: 15px !important;
}

/* Features Showcase con patrón tech integrado */
.features-showcase {
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 50%, #f7f9fc 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.tech-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.network-svg {
    width: 100%;
    height: 100%;
    opacity: 1;
}

.network-nodes,
.network-lines {
    /* Contenedores estáticos */
}

.network-node {
    fill: #667eea;
    stroke: rgba(102, 126, 234, 0.2);
    stroke-width: 1;
    filter: drop-shadow(0 0 4px rgba(102, 126, 234, 0.3));
    animation: techNodePulse 4s ease-in-out infinite;
    animation-delay: var(--delay);
    /* Estado inicial para animación de scroll */
    fill-opacity: 0.2;
    transform: scale(0.5);
    transition: all 0.6s ease;
}

/* Nodos endpoint - mismo color pero tamaño ligeramente menor */
.network-node.endpoint {
    fill: #667eea;
    stroke: rgba(102, 126, 234, 0.2);
    filter: drop-shadow(0 0 3px rgba(102, 126, 234, 0.3));
    animation: endpointPulse 4.5s ease-in-out infinite;
    animation-delay: var(--delay);
    /* Estado inicial */
    fill-opacity: 0.2;
    transform: scale(0.5);
    transition: all 0.6s ease;
}

.network-line {
    stroke: #667eea;
    stroke-width: 1;
    stroke-opacity: 0;
    stroke-linecap: round;
    stroke-dasharray: 0 1000;
    animation: techDataFlow 3s linear infinite;
    animation-delay: var(--delay);
    /* Estado inicial para animación de scroll */
    transition: stroke-opacity 0.8s ease, stroke-dasharray 0.8s ease;
}

@keyframes techNodePulse {
    0%, 100% {
        fill-opacity: 0.4;
        r: 3;
    }
    50% {
        fill-opacity: 0.8;
        r: 5;
    }
}

@keyframes endpointPulse {
    0%, 100% {
        fill-opacity: 0.5;
        r: 2.5;
    }
    50% {
        fill-opacity: 0.9;
        r: 4;
    }
}

@keyframes techDataFlow {
    0% {
        stroke-dashoffset: 0;
        stroke-opacity: 0.2;
    }
    50% {
        stroke-dashoffset: 9;
        stroke-opacity: 0.6;
    }
    100% {
        stroke-dashoffset: 18;
        stroke-opacity: 0.2;
    }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 15px;
}

.footer-brand p {
    color: #ccc;
    margin-bottom: 25px;
    line-height: 1.6;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 15px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #333;
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: #667eea;
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: #667eea;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
}

.footer-badges {
    display: flex;
    gap: 15px;
}

.badge {
    background: #333;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    /* Reglas de seguridad para prevenir overflow horizontal */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    * {
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    /* Hide desktop login button completely in mobile */
    .nav-login {
        display: none !important;
        visibility: hidden;
    }

    /* Show mobile login in menu with glassmorphism style */
    .nav-login-mobile {
        color: white !important;
        font-weight: 500;
        background: rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 25px !important;
        box-shadow: 0 6px 25px rgba(102, 126, 234, 0.1) !important;
        margin: 20px 0 0 0 !important;
        padding: 14px 20px !important;
        transition: all 0.3s ease !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
        display: flex !important;
        position: relative;
        z-index: 10;
        border-style: dashed !important;
        text-decoration: none !important;
        font-size: 0.9rem;
    }

    .nav-login-mobile:hover {
        background: rgba(255, 255, 255, 0.2) !important;
        /* Removed transform & heavy shadow to avoid visual jump */
        box-shadow: none !important;
        border-style: solid !important;
        color: white !important;
    }

    .nav-login-mobile i {
        color: white !important;
        font-size: 16px !important;
    }

    /* Separador visual para login */
    .nav-login-separator {
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        margin: 30px 20px 20px 20px;
        position: relative;
        z-index: 10;
    }

    .nav-login-separator::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 40px;
        height: 2px;
        background: rgba(255,255,255,0.5);
        border-radius: 2px;
    }

    .nav-menu {
        position: fixed;
        right: -100vw;
        top: 70px; /* debajo del navbar */
        flex-direction: column;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        width: 100vw;
        height: calc(100vh - 70px);
        text-align: center;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 0 0 env(safe-area-inset-bottom); /* padding vertical gestionado por contenedor interno */
        gap: 0;
        z-index: 1000;
        overflow: hidden;
        display: flex;
        align-items: stretch;
        justify-content: flex-start; /* contenido arriba */
        opacity: 0;
        visibility: hidden;
    }

    .nav-menu.active {
        right: 0;
        opacity: 1;
        visibility: visible;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                    opacity 0.3s ease 0.1s,
                    visibility 0s ease 0s;
    }

    /* Emojis flotantes para el menú móvil */
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="1"/></g></svg>');
        pointer-events: none;
        z-index: 1;
    }

    /* Contenedor de emojis flotantes para el menú */
    .nav-menu .mobile-floating-icons {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        overflow: hidden;
        z-index: 1;
    }

    .nav-menu .mobile-floating-icon {
        position: absolute;
        width: 45px;
        height: 45px;
        backdrop-filter: blur(10px);
        border-radius: 12px;
        border: 1px solid rgba(255,255,255,0.3);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        animation: floating var(--duration, 15s) ease-in-out infinite var(--delay, 0s);
        opacity: 0.8;
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

    /* Colores específicos para cada emoji del menú móvil */
    .nav-menu .mobile-floating-icon:nth-child(1) { background: linear-gradient(135deg, #4285f4, #1a73e8); } /* 📅 Azul calendario */
    .nav-menu .mobile-floating-icon:nth-child(2) { background: linear-gradient(135deg, #ff6b6b, #ee5a52); } /* ✂️ Rojo tijeras */
    .nav-menu .mobile-floating-icon:nth-child(3) { background: linear-gradient(135deg, #8b4513, #654321); } /* 💼 Marrón maletín */
    .nav-menu .mobile-floating-icon:nth-child(4) { background: linear-gradient(135deg, #ffd700, #ffb300); } /* ⏰ Dorado reloj */
    .nav-menu .mobile-floating-icon:nth-child(5) { background: linear-gradient(135deg, #ff69b4, #e91e63); } /* 💇‍♀️ Rosa peluquería */
    .nav-menu .mobile-floating-icon:nth-child(6) { background: linear-gradient(135deg, #00c851, #00a040); } /* 📊 Verde gráfico */
    .nav-menu .mobile-floating-icon:nth-child(7) { background: linear-gradient(135deg, #6c757d, #495057); } /* 💻 Gris laptop */
    .nav-menu .mobile-floating-icon:nth-child(8) { background: linear-gradient(135deg, #007bff, #0056b3); } /* 📱 Azul móvil */
    .nav-menu .mobile-floating-icon:nth-child(9) { background: linear-gradient(135deg, #dc3545, #c82333); } /* 🎯 Rojo diana */
    .nav-menu .mobile-floating-icon:nth-child(10) { background: linear-gradient(135deg, #ffc107, #e0a800); } /* 🌟 Amarillo estrella */

    .nav-menu .mobile-floating-icon::before {
        content: attr(data-emoji);
        display: block;
        transform: scale(1);
        transition: transform 0.3s ease;
    }

    /* Contenedor de menú con z-index superior */
    .nav-menu-container {
        position: relative;
        z-index: 10;
        width: 100%;
        max-width: 300px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        color: white !important;
        padding: 12px 16px;
        text-decoration: none;
        font-weight: 500;
        border-radius: 10px;
    margin: 2px 0;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.1);
        transition: background-color 0.2s ease;
        position: relative;
        z-index: 10;
        line-height: 1.2;
        min-height: 44px; /* Touch target estable */
        box-sizing: border-box;
    }

    .nav-menu a i {
        color: white !important;
        font-size: 15px;
        width: 18px;
        text-align: center;
        display: inline-block !important;
        flex-shrink: 0;
    }
    
    .nav-menu a span {
        color: white !important;
        font-weight: 500;
        font-size: 14px;
    }

    .nav-menu a:last-child {
        border-bottom: none;
    }

    .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.25) !important;
        font-weight: 500 !important; /* Evita reflow por cambios de peso */
        padding: 12px 16px !important; /* Evita cambios de padding heredados */
    }

    /* Mobile menu links override - white on gradient background */
    .nav-menu .nav-link {
        color: white !important;
        opacity: 0;
        transition: opacity 0.2s ease;
    }
    
    .nav-menu .nav-link span {
        color: white !important;
    }
    
    .nav-menu .nav-link i {
        color: white !important;
    }
    
    .nav-menu.active .nav-link {
        opacity: 1;
    }
    
    /* Animación escalonada para los links */
    .nav-menu.active .nav-link:nth-child(1) { transition-delay: 0.05s; }
    .nav-menu.active .nav-link:nth-child(2) { transition-delay: 0.1s; }
    .nav-menu.active .nav-link:nth-child(3) { transition-delay: 0.15s; }
    .nav-menu.active .nav-link:nth-child(4) { transition-delay: 0.2s; }
    .nav-menu.active .nav-link:nth-child(5) { transition-delay: 0.25s; }

    .nav-menu .nav-cta {
        color: white !important;
        font-weight: 600;
        background: rgba(255, 255, 255, 0.2) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        border-radius: 10px !important;
        margin: 6px 0;
        padding: 12px 16px;
        transition: background-color 0.2s ease !important;
        opacity: 0;
    }
    
    .nav-menu.active .nav-cta {
        opacity: 1;
        transition-delay: 0.3s;
    }

    .nav-menu .nav-cta:hover {
        background: rgba(255, 255, 255, 0.3) !important;
    }

    /* Botón especial destacado "Ver el Sistema" */
    .nav-menu .nav-cta-special {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2)) !important;
        border: 2px solid rgba(255, 255, 255, 0.4) !important;
        font-weight: 700 !important;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin: 20px 0 !important;
        justify-content: center !important;
    }

    .nav-menu .nav-cta-special:hover {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.3)) !important;
    }

    .nav-menu .nav-cta-special i {
        font-size: 18px !important;
        color: white !important;
        display: inline-block !important; /* Mostrar ícono en móvil */
    }
    
    /* Mobile user info and login styles */
    .nav-menu .mobile-user-info-clickable {
        color: white !important;
        padding: 10px 16px !important;
        margin: 4px 0 !important;
        border-radius: 10px !important;
    }
    
    .nav-menu .mobile-user-name,
    .nav-menu .mobile-user-tenant {
        color: white !important;
        font-size: 14px !important;
    }
    
    .nav-menu .nav-login-mobile {
        color: white !important;
        padding: 10px 16px !important;
        margin: 4px 0 !important;
        font-size: 14px !important;
    }
    
    .nav-menu .nav-login-mobile span {
        color: white !important;
    }
    
    .nav-menu .nav-login-mobile i {
        color: white !important;
        font-size: 15px !important;
    }

    /* Duplicar estilos para .nav-menu-desktop */
    .nav-menu-desktop .nav-link {
        color: white !important;
    }

    .nav-menu-desktop .nav-cta {
        color: white !important;
        font-weight: 600;
        background: rgba(255, 255, 255, 0.2) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        border-radius: 15px !important;
        box-shadow: 0 8px 32px rgba(102, 126, 234, 0.15) !important;
        margin: 10px 20px;
        padding: 12px 18px;
        transition: all 0.3s ease !important;
    }

    .nav-menu-desktop .nav-cta:hover {
        background: rgba(255, 255, 255, 0.3) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 12px 40px rgba(102, 126, 234, 0.25) !important;
    }

    .nav-menu-desktop .nav-cta-special {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2)) !important;
        border: 2px solid rgba(255, 255, 255, 0.4) !important;
        font-weight: 700 !important;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin: 20px 0 !important;
        justify-content: center !important;
        box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2) !important;
    }

    .nav-menu-desktop .nav-cta-special:hover {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.3)) !important;
        transform: translateY(-3px) scale(1.02) !important;
        box-shadow: 0 15px 50px rgba(102, 126, 234, 0.3) !important;
    }

    .nav-menu-desktop .nav-cta-special i {
        font-size: 18px !important;
        color: white !important;
        display: inline-block !important;
    }

    /* Separador visual */
    .nav-login-separator {
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        margin: 30px 20px 20px 20px;
        position: relative;
        z-index: 10;
    }

    .nav-login-separator::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 40px;
        height: 2px;
        background: rgba(255,255,255,0.5);
        border-radius: 2px;
    }

    .nav-toggle {
        display: flex;
    }

    /* Ensure proper mobile navbar layout */
    .nav-container {
        justify-content: space-between;
        position: relative;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hero optimizado para móvil */
    .hero {
        padding: 80px 0 60px; /* Padding ajustado */
        min-height: 100vh; /* Altura completa para centrado vertical */
        display: flex;
        align-items: center; /* Centrar verticalmente */
        justify-content: center; /* Centrar horizontalmente */
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px; /* Gap aumentado para mejor spacing */
        text-align: center;
        justify-items: center; /* Centrar elementos horizontalmente */
        align-items: center; /* Centrar elementos verticalmente */
        width: 100%;
        max-width: 600px; /* Limitar ancho máximo para mejor legibilidad */
        margin: 0 auto; /* Centrar el contenido */
    }

    /* Ocultar dashboard preview en móvil */
    .hero-visual {
        display: none;
    }

    .hero-text {
        max-width: 100%; /* Ocupar todo el ancho disponible */
        width: 100%;
    }

    .hero-title {
        font-size: 2.2rem; /* Tamaño más compacto */
        line-height: 1.1;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 1.1rem; /* Texto ligeramente más grande */
        margin-bottom: 35px; /* Más espacio */
        line-height: 1.6;
        max-width: 90%; /* Limitar ancho para mejor legibilidad */
        margin-left: auto;
        margin-right: auto;
    }

    /* Optimización de videos para móvil */    
    .hero-video {
        /* Para móvil, priorizar el ancho completo y centrar verticalmente */
        width: 100%;
        height: 100%;
        min-width: 100%;
        min-height: 100%;
        object-fit: cover;
        object-position: center center;
        /* Reducir calidad en móvil para mejor performance */
        filter: contrast(0.9) brightness(1.1);
        /* Asegurar que no se desborde horizontalmente */
        max-width: 100vw;
    }
    
    /* Para videos verticales o cuadrados en móvil */
    .video-background {
        overflow: hidden;
        /* Asegurar que el contenedor no se desborde */
        max-width: 100vw;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 20px; /* Gap aumentado para mejor spacing */
        margin-bottom: 50px; /* Más margen para separar de estadísticas */
    }

    .btn {
        width: 100%; /* Botones full width en móvil */
        max-width: 300px; /* Límite máximo más amplio */
        justify-content: center;
        padding: 16px 24px; /* Padding más generoso */
        font-size: 1rem; /* Tamaño normal */
    }

    .hero-stats {
        justify-content: center;
        gap: 25px; /* Gap optimizado */
        flex-wrap: nowrap; /* Forzar que no se envuelvan */
        margin-top: 0; /* Sin margen superior extra */
        width: 100%;
        overflow: hidden; /* Por si acaso */
        max-width: 350px; /* Limitar ancho máximo */
        margin-left: auto;
        margin-right: auto;
    }

    .stat {
        min-width: 85px; /* Ancho optimizado */
        max-width: 100px; /* Límite máximo */
        flex-shrink: 1; /* Permitir que se reduzcan si es necesario */
        flex-grow: 0; /* No crecer */
        color: white !important;
        background: none !important;
        border: none !important;
        padding: 0 !important;
        text-align: center;
    }

    .stat-number {
        font-size: 1.8rem; /* Reducido para que quepan en línea */
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
        font-feature-settings: 'tnum' 1;
        font-weight: 800;
        color: white !important;
        letter-spacing: 0.3px; /* Reducido */
        margin-bottom: 3px; /* Menos separación */
        line-height: 1;
    }

    .stat-label {
        color: white !important;
        opacity: 0.9 !important;
        font-weight: 500;
        font-size: 0.75rem; /* Texto más pequeño */
        line-height: 1.2;
        word-break: keep-all; /* Evitar cortes de palabras */
        white-space: nowrap; /* Evitar saltos de línea */
        overflow: hidden;
        text-overflow: ellipsis; /* Mostrar ... si es muy largo */
    }

    /* Optimización completa de features para móvil */
    .features-section {
        padding: 60px 0; /* Menos padding */
    }

    .section-header {
        margin-bottom: 40px; /* Menos margen */
        padding: 0 20px; /* Padding lateral */
    }

    .section-title {
        font-size: 2rem; /* Título más pequeño */
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .section-subtitle {
        font-size: 1rem; /* Subtítulo más pequeño */
    }

    .features-grid {
        grid-template-columns: 1fr; /* Una sola columna */
        gap: 20px; /* Gap reducido */
        padding: 0 20px; /* Padding lateral */
    }

    .feature-card {
        padding: 25px 20px; /* Padding más compacto */
        border-radius: 15px; /* Radio más pequeño */
        margin-bottom: 15px;
    }

    .feature-card:hover {
        transform: none; /* Sin animación hover en móvil */
    }

    .feature-icon {
        width: 50px; /* Icono más pequeño */
        height: 50px;
        margin-bottom: 15px;
    }

    .feature-title {
        font-size: 1.3rem; /* Título más compacto */
        margin-bottom: 10px;
    }

    .feature-description {
        font-size: 0.9rem; /* Descripción más pequeña */
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .feature-list li {
        font-size: 0.85rem; /* Lista más pequeña */
        padding: 5px 0;
    }

    /* Optimización del dashboard preview */
    .floating-card {
        position: relative;
        margin: 15px auto;
        max-width: 95%; /* Más ancho en móvil */
    }

    .card-1, .card-2 {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        margin-bottom: 15px; /* Margen entre cards */
    }

    .dashboard-preview {
        transform: none;
        margin-bottom: 30px; /* Menos margen */
    }

    .dashboard-preview:hover {
        transform: none;
    }

    .mockup-header {
        padding: 12px 15px; /* Padding más compacto */
    }

    .mockup-tabs .tab {
        padding: 6px 12px; /* Tabs más pequeñas */
        font-size: 0.8rem;
    }

    .mockup-content {
        padding: 15px; /* Padding reducido */
    }

    .mockup-stats {
        grid-template-columns: 1fr; /* Una columna en móvil */
        gap: 12px; /* Gap reducido */
    }

    .mockup-stat {
        padding: 12px; /* Padding más compacto */
    }

    .mockup-number {
        font-size: 1.3rem; /* Números más pequeños */
    }

    .mockup-label {
        font-size: 0.75rem; /* Labels más pequeñas */
    }

    .mockup-content {
        padding: 20px;
    }

    .calendar-grid {
        gap: 4px;
    }

    .calendar-date, .calendar-day {
        padding: 6px 2px;
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-featured {
        transform: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-section {
        padding: 60px 0; /* Reducir padding vertical para móvil */
    }

    .cta-section .glass-container {
        margin-bottom: 15px; /* Reducir margen entre glass containers */
        padding: 20px 15px; /* Padding más compacto */
    }

    .cta-section .glass-container:last-child {
        margin-bottom: 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .guarantee-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .container-wide {
        padding: 0 10px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    /* Optimización de precios para móvil */
    .pricing-section {
        padding: 20px 0; /* Muy compacto para móviles pequeños - reducido de 30px */
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 15px; /* Reducir gap entre tarjetas - de 20px a 15px */
        padding: 0 20px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .pricing-card {
        padding: 25px 20px 20px 20px;
        margin-bottom: 15px;
        border-radius: 15px;
        display: flex;
        flex-direction: column;
        min-height: 500px;
        justify-content: space-between;
    }    .pricing-header {
        margin-bottom: 20px; /* Menos margen */
    }

    .plan-name {
        font-size: 1.3rem; /* Nombre más pequeño */
    }

    .plan-price {
        font-size: 2rem; /* Precio más compacto */
        margin: 10px 0;
    }

    .plan-period {
        font-size: 0.85rem; /* Periodo más pequeño */
    }

    .pricing-features {
        margin: 20px 0 0 0;
        flex-grow: 1;
    }

    .pricing-features li {
        font-size: 0.9rem;
        padding: 8px 0;
    }
    
    /* Mantener estructura en móvil */
    .pricing-content {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }
    
    .pricing-footer {
        margin-top: 15px;
        display: flex;
        justify-content: center;
    }
    
    .pricing-card .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 12px 20px;
        font-size: 0.9rem;
        white-space: nowrap; /* Evita que el texto se divida */
    }

    /* Optimización general de secciones */
    .section {
        padding: 50px 0; /* Padding global reducido */
    }

    /* Optimización específica de CTA section para móvil pequeño */
    .cta-section {
        padding: 40px 0; /* Muy compacto para móviles */
    }

    .cta-section .glass-container {
        margin: 0 15px 12px; /* Márgenes laterales y reducir spacing vertical */
        padding: 18px 12px; /* Padding muy compacto */
    }

    .cta-section .glass-container:last-child {
        margin-bottom: 0;
    }

    .cta-title {
        font-size: 1.6rem; /* Título más pequeño para móvil */
        margin-bottom: 15px; /* Menos margen */
    }

    .cta-description {
        font-size: 1rem; /* Descripción más compacta */
        margin-bottom: 25px; /* Menos margen */
    }

    .container {
        padding: 0 20px; /* Padding lateral consistente */
    }

    .container-wide {
        padding: 0 15px; /* Padding más ajustado para móviles */
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.1rem; }
    h5 { font-size: 1rem; }
    h6 { font-size: 0.9rem; }

    /* Optimización del footer para móvil */
    .footer {
        padding: 40px 0 20px; /* Padding reducido */
    }

    .footer-content {
        padding: 0 20px; /* Padding lateral */
    }

    .footer-logo img {
        height: 35px; /* Logo más pequeño */
    }

    .footer-links {
        grid-template-columns: 1fr; /* Una columna */
        gap: 25px; /* Gap reducido */
        margin: 30px 0; /* Margen reducido */
    }

    .footer-column h4 {
        font-size: 1.1rem; /* Títulos más pequeños */
        margin-bottom: 15px;
    }

    .footer-column li {
        margin-bottom: 8px; /* Margen reducido */
    }

    .footer-column a {
        font-size: 0.9rem; /* Links más pequeños */
    }

    .footer-bottom {
        flex-direction: column; /* Columna en móvil */
        gap: 15px;
        text-align: center;
        padding-top: 20px;
    }

    .footer-badges {
        justify-content: center;
    }

    .badge {
        font-size: 0.75rem; /* Badges más pequeñas */
        padding: 5px 10px;
    }

    /* Optimización del indicador de video */
    .video-indicator {
        top: 15px !important;
        right: 15px !important;
        font-size: 11px !important;
        padding: 4px 8px !important;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Smooth scrolling for anchor links */
html {
    scroll-padding-top: 80px;
}

/* Reglas específicas para videos en móvil con diferentes orientaciones */
@media (max-width: 768px) {
    .hero-video {
        /* Para móvil, optimizar para videos verticales/cuadrados */
        width: 100vw !important;
        height: 100vh !important;
        min-width: 100vw !important;
        min-height: 100vh !important;
        object-fit: cover !important;
        object-position: center center !important;
        transform: translate(-50%, -50%) !important;
        /* Escalar ligeramente para cubrir mejor */
        scale: 1.05;
        /* Asegurar visibilidad */
        display: block !important;
        visibility: visible !important;
    }
    
    .video-background {
        width: 100vw !important;
        height: 100vh !important;
        overflow: hidden !important;
        left: 0 !important;
        top: 0 !important;
        /* Asegurar visibilidad */
        display: block !important;
        visibility: visible !important;
    }
}

/* Media query para pantallas muy pequeñas Y con altura muy limitada - Fallback sin videos para mejor performance */
@media (max-width: 375px) and (max-height: 550px) {
    .video-background {
        display: none; /* Ocultar videos solo en dispositivos MUY pequeños */
    }
    
    .hero-background {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }
}
}

/* Media query adicional para pantallas extra pequeñas */
@media (max-width: 480px) {
    .hero {
        padding: 60px 0; /* Padding aún más reducido */
    }

    .hero-content {
        gap: 30px; /* Gap reducido */
        max-width: 95%; /* Más ancho en pantallas pequeñas */
    }

    /* Ajustes específicos de video para pantallas muy pequeñas */
    .hero-video {
        /* En pantallas muy pequeñas, asegurar que el video llene todo el ancho */
        width: 100vw;
        height: 100vh;
        min-width: 100vw;
        min-height: 100vh;
        object-fit: cover;
        object-position: center center;
        /* Forzar que se ajuste al viewport completo */
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) scale(1.1);
    }
    
    .video-background {
        /* Asegurar que el contenedor ocupe todo el viewport */
        width: 100vw;
        height: 100vh;
        left: 0;
        top: 0;
        overflow: hidden;
    }

    .hero-title {
        font-size: 1.9rem; /* Título más compacto */
        margin-bottom: 15px;
    }

    .hero-description {
        font-size: 0.95rem; /* Descripción más pequeña */
        margin-bottom: 25px;
        max-width: 95%;
    }

    .hero-buttons {
        gap: 15px; /* Gap reducido */
        margin-bottom: 40px;
    }

    .btn {
        padding: 14px 20px; /* Botones más compactos */
        font-size: 0.95rem;
        max-width: 280px;
    }

    .hero-stats {
        gap: 15px; /* Gap muy reducido para pantallas pequeñas */
        flex-wrap: nowrap; /* Forzar una sola línea */
        justify-content: space-around; /* Distribución más uniforme */
        padding: 0 5px; /* Padding muy pequeño */
        width: 100%;
        max-width: 320px; /* Limitar ancho máximo */
        margin: 0 auto; /* Centrar */
    }
    
    .stat {
        min-width: 65px; /* Ancho mínimo optimizado */
        max-width: 90px;
        flex-shrink: 1;
        flex-grow: 1; /* Permitir crecer uniformemente */
        text-align: center;
    }

    .stat-number {
        font-size: 1.5rem; /* Números más compactos */
        line-height: 1;
        letter-spacing: 0.1px;
        margin-bottom: 2px;
    }

    .stat-label {
        font-size: 0.7rem; /* Labels más pequeñas */
        line-height: 1.1;
        word-break: keep-all;
        white-space: nowrap; /* Evitar saltos de línea */
        overflow: hidden;
        text-overflow: ellipsis; /* Mostrar ... si es muy largo */
    }

    .section-title {
        font-size: 1.6rem; /* Títulos de sección más pequeños */
    }

    .feature-card {
        padding: 20px 15px; /* Padding muy compacto */
    }

    .container {
        padding: 0 15px; /* Padding lateral muy compacto */
    }

    .container-wide {
        padding: 0 10px; /* Padding mínimo para móviles pequeños */
    }
}

/* ========================================
   BUSINESS TYPES SECTION - SLIDER INFINITO
   ======================================== */
.business-types-section {
    background: #ffffff;
    padding: 80px 0;
    color: #1a202c;
    border-top: 1px solid #e2e8f0;
}

.business-types-slider {
    width: 100%;
    overflow: visible;
    margin: 40px 0;
    padding: 15px 0 35px 0;
    position: relative;
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 5%,
        black 95%,
        transparent 100%
    );
}

.business-types-track {
    display: flex;
    gap: 20px;
    animation: slideInfinite 60s linear infinite;
    width: calc(320px * 27); /* Ancho total: 18 cards originales + 9 duplicadas */
}

/* Animación de deslizamiento infinito */
@keyframes slideInfinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-320px * 18)); /* Mover el ancho de las 18 cards originales */
    }
}

.business-card {
    flex: 0 0 300px;
    background: white;
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(102, 126, 234, 0.05) 50%,
        transparent 100%
    );
}

.business-card:hover::before {
    left: 100%;
    transition: left 0.6s ease;
}

.business-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
    z-index: 2;
}

.business-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.business-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
    border-radius: inherit;
}

.business-card:hover .business-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.3);
}

.business-icon i {
    font-size: 32px;
    color: white;
    position: relative;
    z-index: 1;
}

.business-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 12px;
    line-height: 1.2;
}

.business-description {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Pausar animación al hacer hover sobre el slider */
/* ========================================
   PRICING ENHANCEMENTS - EMPLEADOS EXTRA
   ======================================== */
.plan-features li .fas.fa-plus {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    padding: 2px;
    font-size: 0.8rem;
}

.plan-features li strong {
    color: #667eea;
    font-weight: 600;
}

/* Estilos para limitaciones de funcionalidades */
.plan-features li.feature-limitation {
    color: #9ca3af;
    opacity: 0.7;
}

.plan-features li.feature-limitation .fas.fa-times {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    padding: 3px;
    font-size: 0.75rem;
}

/* Destacar features del plan Business */
.pricing-featured .plan-features li strong {
    color: #667eea;
    font-weight: 700;
}

.pricing-featured .plan-features li i {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    padding: 3px;
    font-size: 0.75rem;
}

/* Estilo especial para el icono de corona */
.plan-features li .fas.fa-crown {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 50%;
    padding: 2px;
    font-size: 0.8rem;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.3);
}

/* Estilo para icono de warning */
.plan-features li .fas.fa-warning {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    padding: 2px;
    font-size: 0.8rem;
}

/* Estilo para icono de RRHH */
.plan-features li .fas.fa-user-tie {
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 50%;
    padding: 2px;
    font-size: 0.8rem;
}

/* ========================================
   RESPONSIVE - BUSINESS TYPES
   ======================================== */
@media (max-width: 768px) {
    .business-types-section {
        padding: 50px 0 0px 0; /* Padding inferior casi cero */
    }
    
    .business-types-slider {
        margin: 25px 0 15px 0; /* Espacio mínimo para sombras */
        padding: 20px 0 0px 0; /* Padding inferior CERO - eliminar espacio blanco */
    }
    
    .business-card {
        flex: 0 0 180px; /* Más pequeño para mostrar más tarjetas */
        padding: 20px 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06); /* Sombra más sutil */
    }
    
    .business-card:hover {
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.12); /* Sombra hover más sutil */
    }
    
    .business-types-track {
        animation-duration: 35s; /* Más rápido en móvil */
        gap: 15px;
        width: calc(200px * 27); /* Ajustar ancho total */
    }
    
    @keyframes slideInfinite {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-200px * 18)); /* Ajustar desplazamiento */
        }
    }
    
    .business-icon {
        width: 60px;
        height: 60px;
        border-radius: 15px;
        margin-bottom: 15px;
    }
    
    .business-icon i {
        font-size: 24px;
    }
    
    .business-title {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .business-description {
        font-size: 0.85rem;
        line-height: 1.3;
    }
}
    
    .business-icon i {
        font-size: 26px;
    }
    
    .business-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .business-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .business-types-section {
        padding: 30px 0 0px 0; /* Padding inferior cero */
    }
    
    .business-types-slider {
        margin: 20px 0 10px 0; /* Espacio mínimo para sombras */
        padding: 15px 0 0px 0; /* Padding inferior CERO - eliminar espacio blanco */
    }
    
    .business-card {
        flex: 0 0 160px; /* Más pequeño para mostrar 2+ tarjetas */
        padding: 18px 12px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Sombra muy sutil */
    }
    
    .business-card:hover {
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.1); /* Sombra hover muy sutil */
    }
    
    .business-types-track {
        gap: 10px;
        width: calc(180px * 27); /* Ajustar ancho total */
        animation-duration: 30s; /* Más dinámico */
    }
    
    @keyframes slideInfinite {
        100% {
            transform: translateX(calc(-180px * 18)); /* Ajustar desplazamiento */
        }
    }
    
    .business-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
        margin-bottom: 12px;
    }
    
    .business-icon i {
        font-size: 20px;
    }
    
    .business-title {
        font-size: 0.9rem;
        margin-bottom: 6px;
        line-height: 1.2;
    }
    
    .business-description {
        font-size: 0.75rem;
        line-height: 1.2;
    }
}


/* ========================================
   RESPONSIVE - FEATURES SECTION
   ======================================== */
@media (max-width: 768px) {
    .features-section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    /* Adaptación móvil de iconos flotantes */
    .floating-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
        border-radius: 12px;
    }
    
    /* Redistribución vertical para móvil */
    .floating-icon:nth-child(1) { left: 5%; top: 8%; }
    .floating-icon:nth-child(2) { left: 80%; top: 15%; }
    .floating-icon:nth-child(3) { left: 15%; top: 22%; }
    .floating-icon:nth-child(4) { left: 70%; top: 30%; }
    .floating-icon:nth-child(5) { left: 10%; top: 38%; }
    .floating-icon:nth-child(6) { left: 85%; top: 45%; }
    .floating-icon:nth-child(7) { left: 5%; top: 52%; }
    .floating-icon:nth-child(8) { left: 75%; top: 60%; }
    .floating-icon:nth-child(9) { left: 20%; top: 68%; }
    .floating-icon:nth-child(10) { left: 80%; top: 75%; }
    .floating-icon:nth-child(11) { left: 10%; top: 82%; }
    .floating-icon:nth-child(12) { left: 70%; top: 88%; }
    .floating-icon:nth-child(13) { left: 25%; top: 95%; }
    .floating-icon:nth-child(14) { left: 85%; top: 102%; }
    .floating-icon:nth-child(15) { left: 5%; top: 110%; }
    .floating-icon:nth-child(16) { left: 75%; top: 118%; }
    .floating-icon:nth-child(17) { left: 15%; top: 125%; }
    .floating-icon:nth-child(18) { left: 80%; top: 132%; }
    .floating-icon:nth-child(19) { left: 10%; top: 140%; }
    .floating-icon:nth-child(20) { left: 70%; top: 147%; }
    
    .hero-feature-content {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .hero-feature-text {
        padding: 40px 30px;
    }
    
    .hero-feature-text h3 {
        font-size: 1.8rem;
    }
    
    .hero-feature-text p {
        font-size: 1rem;
    }
    
    .stats-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .hero-feature-visual {
        padding: 30px;
    }
    
    .phone-mockup {
        width: 250px;
        height: 450px;
    }
    
    .feature-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-row:nth-child(2) {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        padding: 30px;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .feature-content h3 {
        font-size: 1.3rem;
    }
    
    .value-prop-content {
        grid-template-columns: 1fr;
    }
    
    .value-prop-text {
        padding: 40px 30px;
    }
    
    .value-prop-text h3 {
        font-size: 1.6rem;
    }
    
    .value-prop-visual {
        padding: 40px 30px;
    }
    
    .competitor-comparison {
        flex-direction: column;
        gap: 20px;
        padding: 25px;
    }
    
    .vs-divider {
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    .features-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        padding: 0 20px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    /* Iconos flotantes optimizados para móviles pequeños */
    .floating-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
        border-radius: 10px;
        opacity: 0.6;
    }
    
    /* Patrón vertical más concentrado para pantallas pequeñas */
    .floating-icon:nth-child(1) { left: 8%; top: 5%; }
    .floating-icon:nth-child(2) { left: 85%; top: 12%; }
    .floating-icon:nth-child(3) { left: 12%; top: 20%; }
    .floating-icon:nth-child(4) { left: 78%; top: 28%; }
    .floating-icon:nth-child(5) { left: 5%; top: 35%; }
    .floating-icon:nth-child(6) { left: 88%; top: 43%; }
    .floating-icon:nth-child(7) { left: 15%; top: 50%; }
    .floating-icon:nth-child(8) { left: 82%; top: 58%; }
    .floating-icon:nth-child(9) { left: 8%; top: 65%; }
    .floating-icon:nth-child(10) { left: 85%; top: 73%; }
    .floating-icon:nth-child(11) { left: 12%; top: 80%; }
    .floating-icon:nth-child(12) { left: 78%; top: 88%; }
    .floating-icon:nth-child(13) { left: 5%; top: 95%; }
    .floating-icon:nth-child(14) { left: 88%; top: 103%; }
    .floating-icon:nth-child(15) { left: 15%; top: 110%; }
    .floating-icon:nth-child(16) { left: 82%; top: 118%; }
    .floating-icon:nth-child(17) { left: 8%; top: 125%; }
    .floating-icon:nth-child(18) { left: 85%; top: 133%; }
    .floating-icon:nth-child(19) { left: 12%; top: 140%; }
    .floating-icon:nth-child(20) { left: 78%; top: 148%; }
    
    .hero-feature {
        margin: 0 20px 60px 20px;
        border-radius: 20px;
    }
    
    .hero-feature-text {
        padding: 30px 25px;
    }
    
    .hero-feature-text h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .hero-feature-text p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    .stats-row {
        gap: 15px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 360px;
    }
    
    .whatsapp-header {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .whatsapp-message {
        padding: 15px;
    }
    
    .message-bubble {
        max-width: 180px;
        padding: 12px;
        font-size: 0.8rem;
    }
    
    .features-grid-modern {
        margin: 0 20px 60px 20px;
    }
    
    .feature-item {
        padding: 25px 20px;
        gap: 15px;
    }
    
    .feature-icon-modern {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .feature-content h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .feature-content p {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .highlight-badge {
        font-size: 0.75rem;
        padding: 5px 12px;
    }
    
    .value-proposition {
        margin: 0 20px;
        border-radius: 20px;
    }
    
    .value-prop-text {
        padding: 30px 25px;
    }
    
    .value-prop-text h3 {
        font-size: 1.4rem;
        margin-bottom: 25px;
    }
    
    .comparison-point {
        gap: 15px;
    }
    
    .comparison-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .comparison-text {
        font-size: 1rem;
    }
    
    .value-prop-visual {
        padding: 30px 25px;
    }
    
    .competitor-comparison {
        padding: 20px;
        gap: 15px;
    }
    
    .competitor-item {
        padding: 15px;
    }
    
    .competitor-name {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .competitor-price {
        font-size: 1.5rem;
    }
    
    .vs-divider {
        font-size: 1rem;
    }
}


/* ========================================
   RESPONSIVE - NEW FEATURES SECTION
   ======================================== */
@media (max-width: 768px) {
    .feature-hero {
        padding: 80px 0 40px; /* Restaurar padding original para equilibrio */
    }
    
    .feature-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .feature-hero h2 {
        font-size: 2.2rem;
    }
    
    .feature-hero p {
        font-size: 1.1rem;
    }
    
    .feature-hero-stats {
        flex-direction: row;
        justify-content: center;
    }
    
    /* Glass container responsive para tablets */
    .feature-hero .glass-container {
        margin: 0 20px 25px;
        padding: 25px 20px;
    }
    
    .feature-hero .glass-container h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .feature-hero .glass-container p {
        font-size: 1.05rem;
        line-height: 1.5;
    }
    
    /* Reducir algunos iconos flotantes en tablets */
    .feature-hero .floating-icon:nth-child(n+18) {
        display: none;
    }
    
    .feature-hero .floating-icon {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
    
    /* También aplicar los mismos cambios al CTA section - IGUAL que feature-hero */
    .cta-section .floating-icon:nth-child(n+18) {
        display: none;
    }
    
    .cta-section .floating-icon {
        width: 55px;
        height: 55px;
        font-size: 24px;
        opacity: 0.7;
        border-radius: 15px !important;
    }
    
    .feature-hero-stats {
        gap: 20px;
        justify-content: center;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 0 10px;
    }
    
    .stat-circle {
        padding: 15px 10px;
        min-width: 90px;
        flex-shrink: 0;
        box-shadow: 0 4px 16px rgba(102, 126, 234, 0.08); /* Sombra más sutil */
        border: 1px solid rgba(255, 255, 255, 0.15); /* Borde más sutil */
    }
    
    .stat-circle .stat-number {
        font-size: 1.6rem;
        margin-bottom: 4px;
    }
    
    .stat-circle .stat-label {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    
    .whatsapp-spotlight {
        padding: 60px 0;
    }
    
    .spotlight-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .spotlight-info {
        order: 2; /* Poner el texto después del teléfono en móvil */
    }
    
    .spotlight-visual {
        order: 1; /* Poner el teléfono primero en móvil */
    }
    
    .spotlight-info h3 {
        font-size: 2rem;
    }
    
    .spotlight-info p {
        font-size: 1.1rem;
    }
    
    .spotlight-benefits {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
        text-align: left;
    }
    
    .benefit-item {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 1rem;
        max-width: 300px;
        width: 100%;
    }
    
    .benefit-item i {
        flex-shrink: 0;
        width: 20px;
        text-align: center;
    }
    
    .phone-frame {
        width: 250px;
        height: 520px;
        margin: 0 auto;
    }
    
    /* Optimizar header de WhatsApp para tablets */
    .whatsapp-header {
        padding: 15px;
    }
    
    .header-info {
        gap: 10px;
    }
    
    .business-name {
        font-size: 0.95rem;
        line-height: 1.1;
    }
    
    /* Optimizar botones para tablets */
    .quick-replies {
        flex-direction: column !important; /* Forzar columna */
        gap: 8px;
        margin-top: 8px;
    }
    
    .reply-btn {
        width: 100%;
        padding: 8px 15px;
        font-size: 0.8rem;
        flex: none;
    }
    
    .showcase-container {
        padding: 80px 0 60px;
    }
    
    .showcase-grid {
        padding: 0 20px;
        gap: 60px;
    }
    
    .showcase-item {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 30px;
        text-align: center;
    }
    
    .showcase-item.reverse {
        grid-template-columns: 1fr;
    }
    
    /* Flujo consistente para móvil: icono → descripción → gráfico */
    .showcase-icon {
        order: 1;
        margin: 0 auto; /* Centrar icono */
    }
    
    .showcase-content {
        order: 2;
    }
    
    .showcase-visual {
        order: 3;
    }
    
    /* Aplicar el mismo orden para items reverse */
    .showcase-item.reverse .showcase-icon {
        order: 1;
        margin: 0 auto; /* Centrar icono también en reverse */
    }
    
    .showcase-item.reverse .showcase-content {
        order: 2;
    }
    
    .showcase-item.reverse .showcase-visual {
        order: 3;
    }
    
    .showcase-content h3 {
        font-size: 1.6rem;
    }
    
    .showcase-content p {
        font-size: 1rem;
    }
    
    .competitive-section {
        padding: 60px 0;
    }
    
    .competitive-header h3 {
        font-size: 1.8rem;
    }
    
    .competitive-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .competitive-advantage {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .feature-hero {
        padding: 60px 0 30px; /* Restaurar padding original para equilibrio */
    }
    
    .feature-hero h2 {
        font-size: 1.8rem;
        padding: 0 20px;
    }
    
    .feature-hero p {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .feature-hero-stats {
        flex-wrap: nowrap;
        gap: 10px;
        justify-content: center;
        overflow-x: auto;
        padding: 0 5px;
    }
    
    .stat-circle {
        padding: 12px 8px;
        min-width: 80px;
        flex-shrink: 0;
        box-shadow: 0 2px 12px rgba(102, 126, 234, 0.06); /* Sombra muy sutil */
        border: 1px solid rgba(255, 255, 255, 0.1); /* Borde muy sutil */
    }
    
    .stat-circle .stat-number {
        font-size: 1.4rem;
        margin-bottom: 2px;
    }
    
    .stat-circle .stat-label {
        font-size: 0.75rem;
        line-height: 1.1;
    }
    
    /* Glass container responsive para feature-hero */
    .feature-hero .glass-container {
        margin: 0 15px 20px;
        padding: 20px 15px;
    }
    
    .feature-hero .glass-container h2 {
        font-size: 1.6rem;
        margin-bottom: 12px;
        padding: 0;
    }
    
    .feature-hero .glass-container p {
        font-size: 0.9rem;
        line-height: 1.4;
        padding: 0;
        margin-bottom: 0;
    }
    
    /* Reducir iconos flotantes en móviles pero no tanto */
    .feature-hero .floating-icon:nth-child(n+15) {
        display: none !important;
    }
    
    .feature-hero .floating-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
        opacity: 0.7;
    }
    
    /* También reducir iconos en CTA section para móviles - IGUAL que feature-hero */
    .cta-section .floating-icon:nth-child(n+15) {
        display: none !important;
    }
    
    .cta-section .floating-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
        opacity: 0.7;
        border-radius: 15px !important;
    }
    
    .whatsapp-spotlight {
        padding: 50px 0;
    }
    
    .spotlight-content {
        gap: 30px;
    }
    
    .spotlight-info h3 {
        font-size: 1.6rem;
        padding: 0 20px;
    }
    
    .spotlight-info p {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .spotlight-benefits {
        padding: 0 20px;
        gap: 10px;
        align-items: center;
    }
    
    .benefit-item {
        font-size: 0.95rem;
        gap: 10px;
        max-width: 280px;
        justify-content: flex-start;
    }
    
    .benefit-item i {
        flex-shrink: 0;
        width: 18px;
        font-size: 1.1rem;
    }
    
    .phone-frame {
        width: 200px;
        height: 420px;
        margin: 0 auto;
    }
    
    .whatsapp-header {
        padding: 12px 15px;
        font-size: 0.85rem;
    }
    
    .header-info {
        gap: 10px;
    }
    
    .header-avatar {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .business-name {
        font-size: 0.9rem;
        line-height: 1.1; /* Evitar salto de línea */
    }
    
    .business-status {
        font-size: 0.75rem;
    }
    
    .chat-messages {
        padding: 15px;
    }
    
    .message-bubble-received {
        padding: 10px;
        font-size: 0.8rem;
    }
    
    .appointment-card {
        padding: 10px;
        margin: 6px 0;
    }
    
    .appointment-header {
        font-size: 0.75rem;
        margin-bottom: 6px;
    }
    
    .detail-row {
        font-size: 0.75rem;
        gap: 6px;
    }
    
    .quick-replies {
        gap: 6px;
        margin-top: 8px;
        flex-direction: column !important; /* Forzar columna en móvil */
    }
    
    .reply-btn {
        padding: 8px 12px;
        font-size: 0.75rem;
        min-height: 32px;
        flex: none; /* Sin flex para columna */
        width: 100%; /* Ancho completo */
    }
    
    /* Optimizar input-bar para móvil */
    .whatsapp-input-bar {
        padding: 6px 10px 8px 10px; /* Más compacto */
    }
    
    .input-container {
        padding: 6px 12px; /* Más compacto */
        gap: 8px;
    }
    
    .input-icon {
        font-size: 14px; /* Iconos más pequeños */
    }
    
    .input-placeholder {
        font-size: 13px; /* Texto más pequeño */
    }
    
    .header-avatar {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .business-name {
        font-size: 0.9rem;
    }
    
    .business-status {
        font-size: 0.75rem;
    }
    
    .message-bubble-received {
        padding: 12px 12px 8px 12px;
        font-size: 0.85rem;
    }
    
    .appointment-card {
        padding: 12px;
        margin: 8px 0;
    }
    
    .quick-replies {
        flex-direction: row;
        gap: 10px;
        margin-bottom: 8px;
        padding: 0 3px;
    }
    
    .reply-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    
    .showcase-container {
        padding: 60px 0 40px;
    }
    
    .showcase-grid {
        padding: 0 15px;
        gap: 40px;
    }
    
    .showcase-item {
        padding: 30px 20px;
        gap: 20px;
    }
    
    /* Flujo consistente para móvil pequeño: icono → descripción → gráfico */
    .showcase-icon {
        order: 1;
        margin: 0 auto; /* Centrar icono */
    }
    
    .showcase-content {
        order: 2;
    }
    
    .showcase-visual {
        order: 3;
    }
    
    /* Aplicar el mismo orden para items reverse */
    .showcase-item.reverse .showcase-icon {
        order: 1;
        margin: 0 auto; /* Centrar icono también en reverse */
    }
    
    .showcase-item.reverse .showcase-content {
        order: 2;
    }
    
    .showcase-item.reverse .showcase-visual {
        order: 3;
    }
    
    .showcase-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Mockups optimizados para móviles pequeños */
    .mini-dashboard, .mini-chart, .mini-rrhh, .mini-website {
        max-width: 250px;
        padding: 15px;
        margin: 0 auto;
        border-radius: 10px;
    }
    
    .mini-dashboard {
        min-height: 180px;
        padding: 12px;
    }
    
    .dashboard-header, .chart-header, .rrhh-header, .website-header {
        font-size: 0.8rem;
        margin-bottom: 10px;
        padding-bottom: 6px;
    }
    
    .dashboard-content {
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .client-stat .stat-value {
        font-size: 1.1rem;
    }
    
    .client-stat .stat-text {
        font-size: 0.65rem;
    }
    
    .chart-bars {
        height: 60px;
        gap: 4px;
    }
    
    .chart-bar {
        max-width: 18px;
    }
    
    .chart-labels {
        font-size: 0.6rem;
        gap: 4px;
    }
    
    .chart-summary {
        gap: 6px;
        margin-top: 8px;
    }
    
    .summary-item {
        font-size: 0.65rem;
        gap: 4px;
    }
    
    /* Optimizar elementos específicos de cada mockup */
    .services-history {
        margin-top: 8px;
        padding-top: 8px;
    }
    
    .history-header {
        font-size: 0.7rem;
        margin-bottom: 6px;
    }
    
    .service-item {
        padding: 6px 8px;
        margin-bottom: 4px;
        font-size: 0.65rem;
    }
    
    /* Website mockup */
    .website-element {
        height: 10px;
        margin-bottom: 4px;
    }
    
    .website-button {
        height: 25px;
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    /* RRHH mockup */
    .employee-list {
        gap: 6px;
    }
    
    .employee-item {
        padding: 8px;
        font-size: 0.7rem;
    }
    
    .employee-name {
        font-size: 0.7rem;
    }
    
    .employee-role {
        font-size: 0.6rem;
    }
    
    .showcase-content h3 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .showcase-content p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .showcase-features li {
        font-size: 0.9rem;
    }
    
    .mini-dashboard, .mini-chart, .mini-rrhh, .mini-website {
        max-width: 280px;
        padding: 18px;
        margin: 0 auto; /* Centrar mockups */
        border-radius: 12px; /* Más compacto */
    }
    
    /* Optimizar dashboard específicamente para tablets */
    .mini-dashboard {
        min-height: 220px; /* Altura intermedia */
        padding: 16px;
    }
    
    .dashboard-header, .chart-header, .rrhh-header, .website-header {
        font-size: 0.85rem;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }
    
    .dashboard-content {
        gap: 12px; /* Reducir gap */
    }
    
    .client-stat .stat-value {
        font-size: 1.25rem; /* Reducir tamaño */
    }
    
    .client-stat .stat-text {
        font-size: 0.72rem;
    }
    
    .chart-bars {
        height: 80px; /* Altura intermedia */
        gap: 6px;
    }
    
    .chart-bar {
        max-width: 25px;
    }
    
    .chart-labels {
        font-size: 0.7rem;
    }
    
    .chart-summary {
        gap: 8px;
    }
    
    .summary-item {
        font-size: 0.75rem;
    }
    
    .competitive-section {
        padding: 50px 0;
    }
    
    .competitive-header {
        padding: 0 20px;
        margin-bottom: 40px;
    }
    
    .competitive-header h3 {
        font-size: 1.6rem;
    }
    
    .competitive-header p {
        font-size: 1rem;
    }
    
    .competitive-grid {
        padding: 0 20px;
    }
    
    .competitive-advantage {
        padding: 25px 20px;
    }
    
    .advantage-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .advantage-content h4 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .advantage-content p {
        font-size: 0.95rem;
    }
}

/* ======================================== 
   PALETA MINIMALISTA PROFESIONAL - AJUSTES 
   ======================================== */

/* Asegurar que las secciones alternen fondos neutros */
.features-section {
    background: #ffffff;
}

/* Mejorar contraste en elementos de texto */
.showcase-content h3 {
    color: #1a202c;
}

.showcase-content p {
    color: #4a5568;
}

.showcase-features li {
    color: #6b7280;
}

/* Unificar iconos de características con color primario */
.showcase-features i {
    color: #667eea;
}

/* Mejorar legibilidad en pro-badge */
.pro-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
}

/* Asegurar que los mini dashboards mantengan coherencia */
.mini-dashboard, .mini-chart, .mini-rrhh, .mini-website {
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

/* ==========================================
   SCROLL ANIMATIONS SYSTEM - MODERN & DYNAMIC
   ========================================== */

/* Base animation classes */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animate {
    opacity: 1;
}

/* Vertical Animations */
.fade-up {
    transform: translateY(50px);
}

.fade-up.animate {
    transform: translateY(0);
}

.fade-down {
    transform: translateY(-50px);
}

.fade-down.animate {
    transform: translateY(0);
}

/* Horizontal Animations */
.fade-left {
    transform: translateX(50px);
}

.fade-left.animate {
    transform: translateX(0);
}

.fade-right {
    transform: translateX(-50px);
}

.fade-right.animate {
    transform: translateX(0);
}

/* Scale Animations */
.scale-up {
    transform: scale(0.9);
}

.scale-up.animate {
    transform: scale(1);
}

/* Rotation Animations */
.rotate-in {
    transform: rotate(-10deg) scale(0.9);
}

.rotate-in.animate {
    transform: rotate(0deg) scale(1);
}

/* Stagger Animations for multiple elements */
.stagger-animation {
    transition-delay: calc(var(--stagger-delay, 0) * 0.1s);
}

/* Phone mockup special animation */
.phone-float {
    animation: phoneFloat 3s ease-in-out infinite;
}

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

/* Cards hover enhanced with scroll animations */
.animate-card:hover {
    transform: translateY(-8px) scale(1.02);
    transition: all 0.3s ease;
}

/* Stats counter animation */
.counter-animate {
    transition: all 1s ease-out;
}

/* Spotlight badge pulse */
.badge-pulse {
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5); }
}

/* Competitive advantages entrance */
.competitive-entrance {
    transform: translateY(30px) scale(0.95);
    opacity: 0;
}

.competitive-entrance.animate {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Chart bars animation */
.chart-bar-animate {
    height: 0 !important;
    transition: height 1.5s ease-out;
    transition-delay: var(--bar-delay, 0s);
}

.chart-bar-animate.animate {
    height: var(--target-height) !important;
}
