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

:root {
    --primary: #5B21B6;
    --secondary: #7C3AED;
    --accent: #10B981;
    --dark: #111827;
    --light: #F9FAFB;
    --gray: #6B7280;
    --warning: #F59E0B;
}

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

/* Navigation */
nav {
    background: white;
    padding: 1.5rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
}

/* Menú de navegación mejorado */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-actions-mobile {
    display: none;
}

.nav-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.login-btn {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.login-btn:hover {
    opacity: 0.8;
}

.cta-nav {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-nav:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: white;
    margin-top: 70px;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.hero-content .highlight {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

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

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary);
    display: inline-block;
    transition: all 0.3s;
    font-size: 1.1rem;
}

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

.hero-visual {
    position: relative;
    text-align: center;
}

.hero-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

/* Stats Banner */
.stats-banner {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    padding: 25px 20px;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 500;
    color: white;
    box-shadow: 0 4px 15px rgba(17, 153, 142, 0.25);
}

.stats-banner .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: white;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

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

.section-header p {
    font-size: 1.25rem;
    color: var(--gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.features-grid-bottom {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 100%;
    margin: 0 auto;
}

.feature-card {
    padding: 2rem;
    border-radius: 12px;
    background: var(--light);
    text-align: center;
    transition: transform 0.3s;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card.wide {
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.feature-card.wide::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

.feature-card.wide .feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.feature-card.wide h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

.feature-card.wide p {
    color: rgba(255,255,255,0.95);
    font-size: 1.15rem;
    line-height: 1.5;
    font-weight: 500;
}

.feature-card.wide .badge {
    background: var(--warning);
    color: white;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
    letter-spacing: 0.5px;
}

/* Badges para feature cards normales */
.feature-card .badge {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.badge-new {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
    animation: pulse-badge 2s ease-in-out infinite;
}

.badge-featured {
    background: linear-gradient(135deg, #5B21B6 0%, #7C3AED 100%);
    color: white;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    }
}

/* Highlight para cards con badges */
.feature-card.feature-highlight {
    border: 2px solid transparent;
    background-image:
        linear-gradient(white, white),
        linear-gradient(135deg, rgba(91, 33, 182, 0.2), rgba(124, 58, 237, 0.2));
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: var(--light);
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

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

.testimonial-logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: contain;
    background: var(--light);
    padding: 5px;
}

.testimonial-info h4 {
    color: var(--dark);
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.testimonial-rating {
    color: var(--warning);
    font-size: 1.1rem;
    font-weight: 600;
}

.testimonial-content {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
}

/* How it Works */
.how-it-works {
    padding: 5rem 0;
    background: white;
}

.steps-container {
    max-width: 1000px;
    margin: 3rem auto 0;
    padding: 0 2rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(20px);
}

.step.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease-out;
}

.step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-visual {
    flex: 1;
}

.step-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.step-content {
    flex: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.step-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.step-content p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* Quote Section */
.quote-section {
    padding: 3rem 0;
    background: var(--primary);
    color: white;
    text-align: center;
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.quote-text {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.4;
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    background: var(--light);
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.pricing-toggle {
    text-align: center;
    margin-bottom: 3rem;
}

.toggle-container {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 50px;
    position: relative;
    width: 280px;
    height: 50px;
}

.toggle-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 136px;
    height: 42px;
    background: white;
    border-radius: 46px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-slider.annual {
    transform: translateX(136px);
}

.toggle-option {
    flex: 1;
    padding: 12px 20px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
    position: relative;
    z-index: 2;
    color: #64748b;
}

.toggle-option.active {
    color: var(--primary);
}

.toggle-option:not(.active) {
    color: #64748b;
}

.discount-badge {
    position: absolute;
    top: -8px;
    right: 10px;
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-weight: 700;
}

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

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card.featured {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(91, 33, 182, 0.2);
    border: 2px solid var(--primary);
}

.pricing-card.featured::before {
    content: 'Más popular';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

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

.plan-period {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

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

.plan-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.plan-features li:last-child {
    border-bottom: none;
}

.check-icon {
    color: var(--accent);
    font-weight: bold;
    margin-top: 2px;
}

/* Premium features highlighting */
.plan-features li.premium-feature-despega {
    background: rgba(124, 58, 237, 0.08);
    padding: 0.75rem 1rem;
    margin: 0.25rem -1rem;
    border-radius: 8px;
    border-bottom: none;
}

.plan-features li.premium-feature-pro-light {
    background: rgba(124, 58, 237, 0.08);
    padding: 0.75rem 1rem;
    margin: 0.25rem -1rem;
    border-radius: 8px;
    border-bottom: none;
}

.plan-features li.premium-feature-pro-intense {
    background: rgba(91, 33, 182, 0.18);
    padding: 0.75rem 1rem;
    margin: 0.25rem -1rem;
    border-radius: 8px;
    border-bottom: none;
    font-weight: 600;
    color: #5B21B6;
}

.plan-cta {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    text-align: center;
    margin-top: auto;
}

.plan-cta:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

/* Plan selection modal */
.plan-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 2rem;
}

.plan-modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.modal-close:hover {
    background-color: #f3f4f6;
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h3 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.modal-header .selected-plan {
    color: var(--primary);
    font-weight: 600;
}

.cards-section {
    margin-bottom: 2rem;
}

.cards-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.cards-choice {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.choice-option {
    padding: 2rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
    position: relative;
}

.choice-option.selected {
    border-color: var(--primary);
    border-width: 3px;
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    box-shadow: 0 4px 12px rgba(91, 33, 182, 0.2);
    transform: translateY(-2px);
}

.choice-option.selected::after {
    content: '✓';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
}

.choice-option:hover {
    border-color: var(--secondary);
    box-shadow: 0 4px 12px rgba(91, 33, 182, 0.1);
}

.choice-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.choice-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.choice-description {
    font-size: 0.9rem;
    color: var(--gray);
}

.quantity-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.quantity-option {
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
    position: relative;
}

.quantity-option.selected {
    border-color: var(--primary);
    border-width: 3px;
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    box-shadow: 0 4px 12px rgba(91, 33, 182, 0.2);
    transform: translateY(-2px);
}

.quantity-option.selected::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
}

.quantity-option:hover {
    border-color: var(--secondary);
}

.quantity-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.quantity-label {
    font-size: 0.9rem;
    color: var(--gray);
}

.quality-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quality-option {
    padding: 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
    position: relative;
}

.quality-option.selected {
    border-color: var(--primary);
    border-width: 3px;
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    box-shadow: 0 4px 12px rgba(91, 33, 182, 0.2);
    transform: translateY(-2px);
}

.quality-option.selected::after {
    content: '✓';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
}

.quality-option:hover {
    border-color: var(--secondary);
}

.quality-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.quality-description {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.quality-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

.total-summary {
    background: #f9fafb;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
}

.tax-info-message {
    background: #e0e7ff;
    color: #4338ca;
    padding: 0.625rem 0.875rem;
    border-radius: 6px;
    font-size: 0.875rem;
    text-align: center;
    margin-bottom: 1.25rem;
    border-left: 3px solid #6366f1;
    font-weight: 500;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.total-row.final {
    border-top: 2px solid #e5e7eb;
    padding-top: 0.5rem;
    margin-top: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
}

.btn-modal {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    text-align: center;
}

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

.btn-modal.primary:hover {
    background: var(--secondary);
}

.btn-modal.secondary {
    background: #f3f4f6;
    color: var(--dark);
}

.btn-modal.secondary:hover {
    background: #e5e7eb;
}

/* Custom Solutions */
.custom-solutions {
    padding: 3rem 0;
    background: white;
    text-align: center;
}

.custom-solutions .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.custom-solutions h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.custom-solutions p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

/* Personal Page Section */
/* Positive Filter Section */
.positive-filter-section {
    padding: 5rem 0;
    background: var(--light);
}

.positive-filter-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.positive-filter-section .section-header h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.positive-filter-section .subtitle {
    font-size: 1.2rem;
    color: var(--gray);
}

.filter-explanation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 2rem;
}

.filter-flow {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.flow-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 12px;
}

.flow-item.positive {
    background: rgba(16, 185, 129, 0.05);
    border: 2px solid rgba(16, 185, 129, 0.2);
}

.flow-item.negative {
    background: rgba(239, 68, 68, 0.05);
    border: 2px solid rgba(239, 68, 68, 0.2);
}

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

.flow-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.flow-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.flow-arrow {
    font-size: 1.5rem;
    color: var(--gray);
    margin: 0.5rem 0;
}

.flow-destination {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
}

.flow-destination.public {
    background: var(--accent);
    color: white;
}

.flow-destination.private {
    background: var(--gray);
    color: white;
}

.filter-benefits h3 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

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

.benefits-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    line-height: 1.6;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefit-icon {
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
}

.filter-highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.filter-highlight p {
    margin: 0;
    font-size: 1.1rem;
}

.filter-availability {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.filter-availability p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--dark);
}

/* Personal Page Section */
.personal-page {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

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

.personal-page-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.personal-page-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.personal-page-content .highlight-box {
    background: white;
    border: 2px solid #e5e7eb;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    position: relative;
}

.personal-page-content .highlight-box h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    position: relative;
    margin-top: 1.5rem;
}

.personal-page-content .highlight-box h4::before {
    content: '¡NOVEDAD!';
    position: absolute;
    top: -25px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
}

.personal-page-content .highlight-box p {
    color: var(--dark);
    opacity: 1;
}

.personal-page-visual img {
    max-width: 90%;
    height: auto;
    border-radius: 16px;
    box-shadow: none;
}

.personal-page-visual img.reduced-size {
    max-width: 60%;
    height: auto;
}

/* Trusted By */
.trusted-by {
    padding: 3rem 0;
    background: white;
}

.trusted-by-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.trusted-by h3 {
    font-size: 1.5rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.logos-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logos-track {
    display: flex;
    gap: 3rem;
    align-items: center;
    animation: slide 20s linear infinite;
    width: max-content;
}

.client-logo {
    height: 60px;
    width: 120px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s;
    background: white;
    padding: 10px;
    border-radius: 8px;
    flex-shrink: 0;
}

.client-logo:hover {
    opacity: 1;
}

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

/* FAQs */
.faqs {
    padding: 5rem 0;
    background: var(--light);
}

.faqs-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-item {
    border-bottom: 1px solid #E5E7EB;
    margin-bottom: 1rem;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    transition: background-color 0.3s;
    user-select: none;
}

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

.faq-arrow {
    font-size: 1.2rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    color: var(--gray);
    line-height: 1.6;
    padding: 0 2rem 1.5rem 2rem;
    border-left: 3px solid var(--primary);
    margin-left: 2rem;
    margin-right: 2rem;
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.faq-item.active .faq-answer {
    display: block;
}

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

/* Final CTA */
.final-cta {
    padding: 5rem 0;
    background: var(--primary);
    color: white;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.final-cta .btn-white {
    background: white;
    color: var(--primary);
    padding: 1rem 3rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s;
}

.final-cta .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s;
}

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

.copyright {
    color: #9CA3AF;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        gap: 1.5rem;
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        width: 100%;
        padding: 0.5rem 0;
    }
    
    .nav-actions {
        display: none;
    }
    
    .nav-actions-mobile {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #e5e7eb;
    }
    
    .nav-actions-mobile .login-btn,
    .nav-actions-mobile .cta-nav {
        width: 100%;
        text-align: center;
        display: block;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .personal-page-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .step {
        flex-direction: column !important;
        text-align: center;
        gap: 2rem;
    }

    .step-visual {
        order: 1;
    }

    .step-content {
        order: 2;
    }

    .pricing-card.featured {
        transform: none;
    }

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

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

    .features-grid-bottom {
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .logo svg {
        width: 22px !important;
        height: 22px !important;
    }
    
    .quantity-options {
        grid-template-columns: 1fr;
    }

    .quality-options {
        grid-template-columns: 1fr;
    }

    .cards-choice {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

/* WhatsApp Floating Button (solo móviles) */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: none; /* Oculto por defecto (desktop) */
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    color: white;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:active {
    transform: scale(0.95);
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
    }
}

/* Mostrar solo en móviles (pantallas menores a 968px) */
@media (max-width: 968px) {
    .whatsapp-float {
        display: flex;
    }
}

/* Ajuste para pantallas muy pequeñas */
@media (max-width: 480px) {
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 16px;
        right: 16px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* ============================================
   Comparison Table Section Styles
   ============================================ */

.comparison-section {
    padding: 80px 20px;
    background: white;
}

.comparison-container {
    max-width: 1000px;
    margin: 0 auto;
}

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

.comparison-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.comparison-header p {
    font-size: 1.2rem;
    color: #666;
}

/* Tabla compacta */
.comparison-table {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 2px solid #f0f0f0;
}

.table-header {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 25px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
}

.table-header div:first-child {
    text-align: left;
}

.table-row {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr;
    padding: 20px 25px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
    transition: all 0.2s ease;
}

.table-row:hover {
    background: linear-gradient(90deg, #f8f9ff 0%, white 100%);
}

.table-row:last-child {
    border-bottom: none;
}

.feature-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-emoji {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.feature-text {
    flex: 1;
}

.feature-text h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 4px 0;
}

.feature-text p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 auto;
}

.badge-no {
    background: #fee;
    color: #e74c3c;
}

.badge-yes {
    background: #e8f5e9;
    color: #27ae60;
}

.badge-pro {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cell {
    text-align: center;
}

.feature-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: 8px;
    text-transform: uppercase;
}

.badge-popular {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
}

.badge-new {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

/* Nota aclaratoria de tabla */
.table-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* CTA después de tabla */
.table-cta {
    text-align: center;
    padding: 40px 20px;
}

.table-cta .btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.table-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
}

/* Mobile responsive styles for comparison table */
@media (max-width: 768px) {
    .comparison-header h2 {
        font-size: 1.8rem;
    }

    .comparison-header p {
        font-size: 0.95rem;
    }

    /* Mantener 3 columnas pero más compactas */
    .table-header,
    .table-row {
        grid-template-columns: 2fr 70px 70px;
        padding: 12px 8px;
        gap: 8px;
        font-size: 0.85rem;
    }

    /* Ocultar emojis en móvil */
    .feature-emoji {
        display: none;
    }

    .feature-title {
        gap: 0;
    }

    .feature-text h4 {
        font-size: 0.9rem;
        line-height: 1.3;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .feature-text p {
        font-size: 0.75rem;
        line-height: 1.3;
        margin-top: 4px;
    }

    /* En móvil, poner badge arriba del título */
    .feature-badge {
        display: block;
        font-size: 0.6rem;
        padding: 3px 8px;
        margin: 0;
        align-self: flex-start;
        width: fit-content;
        order: -1; /* Esto mueve el badge al principio */
    }

    .status-badge {
        font-size: 0.7rem;
        padding: 4px 6px;
    }

    .table-note {
        font-size: 0.8rem;
        padding: 0 12px;
    }
}