/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6EC1E4;
    --primary-dark: #5BA8D1;
    --secondary-color: #54595F;
    --accent-color: #61CE70;
    --accent-dark: #4FB85F;
    --accent-blue: #002DFF;
    --accent-green: #75c32c;
    --text-primary: #54595F;
    --text-secondary: #7A7A7A;
    --text-light: #A1A6A9;
    --background-light: #F8F9FA;
    --background-white: #ffffff;
    --border-color: #E9ECEF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-white);
}

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

/* Breakpoints responsive mejorados */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
}

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

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

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-green);
    border-color: var(--accent-green);
}

.btn-outline:hover {
    background-color: var(--accent-green);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-large:hover::before {
    left: 100%;
}

/* Header y Navegación */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo .logo {
    text-decoration: none;
    transition: var(--transition);
    display: block;
}

.nav-logo .logo {
    text-decoration: none;
    transition: var(--transition);
    display: block;
}

.nav-logo .logo img {
    height: 40px;
    width: auto;
    transition: var(--transition);
}

.nav-logo .logo:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-green);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--accent-green);
}

.nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-header-whatsapp {
    background: #25d366;
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-header-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-header-whatsapp i {
    animation: pulse 2s infinite;
}

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

/* Estilos para los puntos de navegación */
.nav-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--text-light);
    transition: var(--transition);
    cursor: pointer;
}

.nav-dot:hover {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.nav-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-blue) 100%);
    color: white;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--accent-green);
    text-shadow: 0 0 20px rgba(117, 195, 44, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.hero-features .feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.hero-features .feature i {
    color: var(--accent-green);
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

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

/* Plans Preview Section */
.plans-preview {
    padding: 60px 0 80px 0;
    background-color: var(--background-light);
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}



/* Transiciones de Planes Ordenados */
.plan-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: 2px solid transparent;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translateY(20px);
    display: flex;
    flex-direction: column;
    height: 500px;
    width: 100%;
    max-width: 280px;
    box-sizing: border-box;
}

.plan-card.animate-in {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.plan-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-lg);
}

.plan-card.featured {
    border: 3px solid var(--accent-color);
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(110, 193, 228, 0.2), 0 5px 15px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    z-index: 3;
}

.plan-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-green), var(--accent-color));
    background-size: 200% 100%;
    animation: rainbowFlow 3s linear infinite;
    z-index: 2;
}

.plan-card.featured::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(110, 193, 228, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

@keyframes rainbowFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes featuredPulse {
    0%, 100% { 
        box-shadow: 0 15px 40px rgba(110, 193, 228, 0.2), 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    50% { 
        box-shadow: 0 20px 50px rgba(110, 193, 228, 0.25), 0 8px 20px rgba(0, 0, 0, 0.12);
    }
}

.plan-card.featured {
    animation: featuredPulse 4s ease-in-out infinite;
}

/* Grid de planes simple y limpio */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    justify-items: center;
    align-items: start;
}

@media (max-width: 1024px) {
    .plans-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.5rem;
    }
    
    .plan-card {
        max-width: 240px;
        padding: 1.5rem;
        height: 450px;
    }
    
    .plan-header {
        height: 70px;
    }
    
    .plan-features {
        min-height: 180px;
    }
}

@media (max-width: 768px) {
    .plans-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1rem;
    }
    
    .plan-card {
        padding: 1.25rem;
        max-width: 200px;
        height: 400px;
    }
    
    .plan-header {
        height: 60px;
    }
    
    .plan-features {
        min-height: 160px;
    }
    
    .plan-price {
        height: 50px;
    }
    
    .plan-cta {
        height: 50px;
    }
}

.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #2C3E50;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: badgeGlow 2s ease-in-out infinite alternate;
}

.plan-badge i {
    color: #FF6B35;
    font-size: 1rem;
    animation: starSpin 3s linear infinite;
}

@keyframes badgeGlow {
    0% { box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4); }
    100% { box-shadow: 0 6px 25px rgba(255, 215, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.3); }
}

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

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.plan-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.plan-title-section {
    margin-bottom: 1.5rem;
}

.plan-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.plan-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    height: 60px;
    justify-content: center;
}

.price-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0;
}

.price-savings {
    margin-top: 0.5rem;
}

.savings-badge {
    background: linear-gradient(135deg, #61CE70, #4FB85F);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(97, 206, 112, 0.4);
    animation: savingsPulse 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.savings-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.savings-badge:hover::before {
    left: 100%;
}

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

.plan-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-right: 0;
}

.plan-price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-blue);
}

.plan-price .period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.plan-features {
    margin-bottom: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}

.plan-features .feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    min-height: 24px;
}

.plan-features .feature i {
    color: var(--accent-green);
    font-size: 1.1rem;
}

.plan-features .feature span {
    color: var(--text-primary);
}

.feature.highlight-feature {
    background: linear-gradient(135deg, rgba(110, 193, 228, 0.1), rgba(97, 206, 112, 0.1));
    padding: 8px 12px;
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
    margin: 0.5rem 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature.highlight-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(110, 193, 228, 0.2), transparent);
    transition: left 0.5s;
}

.feature.highlight-feature:hover::before {
    left: 100%;
}

.feature.highlight-feature:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(110, 193, 228, 0.2);
}

.feature.highlight-feature i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.feature.highlight-feature span {
    font-weight: 600;
    color: var(--text-primary);
}

.plan-cta {
    text-align: center;
    margin-top: 2rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Asegurar que los botones de los planes estén a la misma altura */
.plan-card .btn {
    margin-top: auto;
    width: 100%;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.plan-guarantee i {
    color: var(--accent-color);
    font-size: 1rem;
}

/* Sección de Características - Diseño Moderno */
.features {
    padding: 40px 0 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e9ecef" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

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

.features .section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
}

.features .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-blue));
    border-radius: 2px;
}

.features .section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1rem;
    justify-content: center;
}

/* Tarjetas de Características Modernas */
.feature-card {
    flex: 1 1 350px;
    max-width: 400px;
    min-width: 300px;
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-blue), var(--accent-green));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.feature-card.animate-in {
    animation: slideInUp 0.6s ease forwards;
}

/* Iconos de Características */
.feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-blue));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(110, 193, 228, 0.3);
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

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

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(110, 193, 228, 0.5);
}

.feature-icon i {
    font-size: 2.5rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Contenido de las Tarjetas */
.feature-content {
    text-align: center;
}

.feature-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Estadísticas de Características */
.feature-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.feature-stats .stat {
    background: linear-gradient(135deg, var(--accent-green), var(--primary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(117, 195, 44, 0.3);
    transition: all 0.3s ease;
}

.feature-stats .stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(117, 195, 44, 0.4);
}

/* Animaciones Mejoradas */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -8px, 0);
    }
    70% {
        transform: translate3d(0, -4px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

/* Responsive Design Mejorado */
@media (max-width: 1200px) {
    .features-grid {
        gap: 1.2rem;
    }
    
    .feature-card {
        flex: 1 1 320px;
        max-width: 380px;
        min-width: 280px;
    }
    
    .features .section-header h2 {
        font-size: 2.8rem;
    }
    
    .feature-stats {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .feature-stats .stat {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

@media (max-width: 1024px) {
    .features-grid {
        gap: 1rem;
        justify-content: space-around;
    }
    
    .feature-card {
        flex: 1 1 300px;
        max-width: 350px;
        min-width: 250px;
    }
    
    .features .section-header h2 {
        font-size: 2.5rem;
    }
    
    .features .section-header p {
        font-size: 1.1rem;
    }
    
    .feature-stats {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .feature-stats .stat {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    .features {
        padding: 30px 0;
    }
    
    .features-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .feature-card {
        flex: none;
        width: 100%;
        max-width: 500px;
        min-width: auto;
    }
    
    .features .section-header h2 {
        font-size: 2.2rem;
    }
    
    .features .section-header p {
        font-size: 1rem;
    }
    
    .feature-content h3 {
        font-size: 1.4rem;
    }
    
    .feature-content p {
        font-size: 0.95rem;
    }
    
    .feature-stats {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .feature-stats .stat {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .features {
        padding: 25px 0;
    }
    
    .feature-card {
        padding: 1.2rem;
        margin: 0 10px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 1.8rem;
    }
    
    .feature-content h3 {
        font-size: 1.3rem;
    }
    
    .feature-content p {
        font-size: 0.9rem;
    }
    
    .feature-stats {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .feature-stats .stat {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-blue));
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-outline {
    color: white;
    border-color: white;
}

.cta .btn-outline:hover {
    background-color: white;
    color: var(--accent-green);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

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

.testimonials .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    position: relative;
}

.testimonials .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.testimonials .section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card.featured {
    border: 2px solid var(--accent-color);
    transform: scale(1.05);
}

.testimonial-card.featured::before {
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.testimonial-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: pulse 2s infinite;
}

.testimonial-badge i {
    color: #ff6b6b;
    animation: heartbeat 1.5s infinite;
}

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

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

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #ffd700;
    font-size: 1.1rem;
    animation: starTwinkle 2s infinite;
}

.testimonial-rating i:nth-child(2) { animation-delay: 0.2s; }
.testimonial-rating i:nth-child(3) { animation-delay: 0.4s; }
.testimonial-rating i:nth-child(4) { animation-delay: 0.6s; }
.testimonial-rating i:nth-child(5) { animation-delay: 0.8s; }

@keyframes starTwinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.3;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 30px 20px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-item:hover .stat-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
}

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

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ecf0f1;
}

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

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

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
}

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

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-green);
    transform: translateY(-2px);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #bdc3c7;
}

.contact-info i {
    color: var(--accent-green);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #bdc3c7;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 80px;
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1.5rem 0;
        opacity: 0;
        transform: translateY(20px);
        animation: slideInDown 0.3s ease forwards;
    }
    
    .nav-menu li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu li:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu li:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu li:nth-child(4) { animation-delay: 0.4s; }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .plans-grid {
        overflow: hidden;
        position: relative;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .nav-dots {
        gap: 0.3rem;
    }
    
    .nav-dot {
        width: 6px;
        height: 6px;
    }
    
    .btn-header-whatsapp {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .btn-header-whatsapp span {
        display: none;
    }
    
    .hero-features .feature {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

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

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .section-header p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .plans-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.5rem;
    }
    
    .plan-card {
        padding: 1rem;
        max-width: 160px;
        height: 350px;
    }
    
    .plan-header {
        height: 50px;
    }
    
    .plan-features {
        min-height: 140px;
    }
    
    .plan-price {
        height: 40px;
    }
    
    .plan-cta {
        height: 40px;
    }
    
    .plan-card .btn {
        height: 36px;
    }
    
    .plan-price .amount {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .btn-large {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .btn-header-whatsapp {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    

    
    .logo img {
        height: 35px;
    }
} 

 

/* Responsive styles for new sections */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 60px 0;
    }
    
    .testimonials .section-header h2 {
        font-size: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 25px;
    }
    
    .testimonial-card.featured {
        transform: none;
    }
    
    .stats {
        padding: 60px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .testimonials .section-header h2 {
        font-size: 1.8rem;
    }
    
    .testimonials .section-header p {
        font-size: 1rem;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    
    .stat-item {
        padding: 15px 10px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* ===== ESTILOS PARA PÁGINA DE CONTACTO ===== */

/* Hero de contacto */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-blue) 100%);
    color: white;
}

.contact-hero .hero-title .highlight {
    color: var(--accent-green);
}

.contact-hero .hero-features .feature {
    color: white;
}

.contact-hero .hero-features .feature i {
    color: var(--accent-green);
}

/* Métodos de contacto */
.contact-methods {
    padding: 80px 0;
    background-color: var(--background-light);
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contact-method-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-method-card.featured {
    border: 2px solid var(--accent-green);
    transform: scale(1.05);
}

.contact-method-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-green), var(--primary-color), var(--accent-green));
    animation: rainbowFlow 3s linear infinite;
}

.method-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-green);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.method-badge i {
    animation: starSpin 2s linear infinite;
}

.method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    transition: var(--transition);
}

.contact-method-card:hover .method-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-method-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.contact-method-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.method-details {
    margin-bottom: 25px;
}

.method-details > div {
    margin-bottom: 10px;
}

.method-details strong {
    display: block;
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.method-details span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Formulario de contacto */
.contact-form-section {
    padding: 80px 0;
    background: white;
}

.contact-form-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.form-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.form-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(110, 193, 228, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Sidebar del formulario */
.form-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-card,
.faq-preview {
    background: var(--background-light);
    padding: 25px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.contact-info-card h3,
.faq-preview h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 2px;
    min-width: 20px;
}

.contact-info-item strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.contact-info-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-item h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Sección FAQ */
.faq-section {
    padding: 80px 0;
    background: var(--background-light);
}

.faq-grid {
    display: grid;
    gap: 20px;
    margin-top: 50px;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--background-light);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
    font-size: 1.2rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--background-light);
}

.faq-answer p {
    padding: 0 25px 25px;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive para contacto */
@media (max-width: 1024px) {
    .contact-form-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-methods-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .contact-methods,
    .contact-form-section,
    .faq-section {
        padding: 60px 0;
    }
    
    .form-content h2 {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-methods-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-method-card {
        padding: 25px;
    }
    
    .contact-method-card.featured {
        transform: none;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-methods,
    .contact-form-section,
    .faq-section {
        padding: 40px 0;
    }
    
    .form-content h2 {
        font-size: 1.8rem;
    }
    
    .form-content p {
        font-size: 1rem;
    }
    
    .contact-method-card {
        padding: 20px;
    }
    
    .method-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .faq-question {
        padding: 15px;
    }
    
    .faq-answer p {
        padding: 0 15px 15px;
    }
} 