/* css/index.css */

body { font-family: 'Inter', system-ui, sans-serif; background-color: #f8fafc; color: #334155; }
h1, h2, h3, h4, h5 { font-family: 'Raleway', sans-serif; font-weight: 700; }

/* Navbar & Menu Fixes */
.logo { 
    top: 20px !important; 
    left: 20px !important; 
    z-index: 100; 
    position: absolute; 
}

.logo img {
    height: 60px !important; 
    width: auto;
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0,0,0,0.8));
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .logo { top: 15px !important; left: 15px !important; }
    .logo img { height: 40px !important; }
    .hero-content { padding-top: 100px !important; }
    .hero-title { font-size: 2.5rem !important; line-height: 1.2; }
}

.logo img:hover {
    transform: scale(1.02); 
    filter: brightness(1.4) contrast(1.2) drop-shadow(0px 0px 2px rgba(255,255,255,0.9)) drop-shadow(2px 4px 8px rgba(0,0,0,0.8));
}

.open { top: 25px !important; right: 40px !important; z-index: 100; }
.open span { background-color: #0ea5e9 !important; }
.sub-menu { background-color: rgba(15, 23, 42, 0.95) !important; backdrop-filter: blur(10px); }
.oppenned span:nth-child(2) { background-color: rgba(15, 23, 42, 0.95) !important; }

/* Hero Section */
#home { 
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); 
    position: relative; overflow: hidden; height: 100vh; display: flex; align-items: center; justify-content: center; 
}
#home::before {
    content: ''; position: absolute; width: 150vw; height: 150vh; background: radial-gradient(circle, rgba(14,165,233,0.1) 0%, rgba(0,0,0,0) 60%); top: -50vh; left: -25vw; z-index: 0;
}
.hero-content { position: relative; z-index: 10; width: 100%; max-width: 1000px; margin: 0 auto; text-align: center; padding: 0 20px; }
.hero-title { font-size: 4.5rem; font-weight: 800; color: #ffffff; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 20px; text-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.hero-title .text-gradient { 
    background: linear-gradient(to right, #38bdf8, #818cf8); 
    -webkit-background-clip: text; 
    background-clip: text;
    -webkit-text-fill-color: transparent; 
    color: transparent;
}
.hero-subtitle { font-size: 1.4rem; font-weight: 400; color: #cbd5e1; margin-bottom: 40px; line-height: 1.6; max-width: 800px; margin-left: auto; margin-right: auto; }

.btn-cta-primary { 
    background: linear-gradient(135deg, #10b981 0%, #059669 100%); color: white; padding: 18px 45px; border-radius: 50px; font-size: 1.2rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4); border: none; transition: all 0.3s ease; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; 
}
.btn-cta-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(16, 185, 129, 0.6); color: white; text-decoration: none; }

.trust-line { margin-top: 20px; color: #94a3b8; font-size: 0.95rem; font-weight: 500; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.trust-line i { color: #38bdf8; margin-right: 6px; }

/* EFECTO CARRUSEL INFINITO (TICKER) */
.ticker-wrapper { overflow: hidden; width: 100%; background-color: #ffffff; padding: 25px 0; border-bottom: 1px solid #f1f5f9; display: flex; }
.ticker-track { display: flex; align-items: center; width: max-content; animation: tickerScroll 25s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-item { padding: 0 40px; white-space: nowrap; filter: grayscale(100%) opacity(70%); transition: all 0.3s ease; cursor: default; display: flex; align-items: center;}
.ticker-item:hover { filter: grayscale(0%) opacity(100%); transform: scale(1.05); }
.ticker-item h4 { margin: 0; font-family: 'Raleway', sans-serif; font-weight: 700; color: #334155; font-size: 1.3rem;}

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

/* Features Section */
.whatwedo { padding: 80px 0 50px; background: #ffffff; }
.section-title { font-size: 2.5rem; font-weight: 800; color: #0f172a; margin-bottom: 15px; text-align: center; }
.section-subtitle { font-size: 1.2rem; color: #64748b; margin-bottom: 60px; font-family: 'Inter', sans-serif; font-weight: 400; text-align: center; }

.feature-card { padding: 40px 30px; background: #ffffff; border-radius: 24px; border: 1px solid #f1f5f9; box-shadow: 0 10px 40px rgba(0,0,0,0.03); transition: all 0.4s ease; height: 100%; text-align: center; }
.feature-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); border-color: #e0f2fe; }

.icon-box { width: 80px; height: 80px; margin: 0 auto 25px; display: flex; align-items: center; justify-content: center; border-radius: 20px; font-size: 35px; color: white; }
.icon-box.blue { background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%); box-shadow: 0 10px 25px rgba(2, 132, 199, 0.3); }
.icon-box.purple { background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%); box-shadow: 0 10px 25px rgba(126, 34, 206, 0.3); }
.icon-box.emerald { background: linear-gradient(135deg, #34d399 0%, #059669 100%); box-shadow: 0 10px 25px rgba(5, 150, 105, 0.3); }

.feature-title { font-size: 1.4rem; font-weight: 700; color: #0f172a; margin-bottom: 15px; }
.feature-desc { color: #64748b; font-size: 1rem; line-height: 1.6; }

/* SHOWCASE SECTION (CAPTURAS DE PANTALLA) */
.showcase-section { padding: 80px 0; background-color: #f8fafc; border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9;}
.showcase-row { align-items: center; margin-bottom: 100px; }
.showcase-row:last-child { margin-bottom: 0; }

.browser-mockup { background-color: #ffffff; border-radius: 12px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15); overflow: hidden; border: 1px solid #e2e8f0; transition: transform 0.4s ease;}
.browser-mockup:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -12px rgba(0,0,0,0.2); }
.browser-header { background-color: #f1f5f9; padding: 12px 15px; display: flex; gap: 8px; border-bottom: 1px solid #e2e8f0;}
.browser-dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background-color: #ff5f56; }
.dot-yellow { background-color: #ffbd2e; }
.dot-green { background-color: #27c93f; }
.browser-body img { width: 100%; height: auto; display: block; object-fit: cover;}

.showcase-badge { background: rgba(14, 165, 233, 0.1); color: #0ea5e9; padding: 6px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; display: inline-block; margin-bottom: 15px; }
.showcase-title { font-size: 2.2rem; font-weight: 800; color: #0f172a; margin-bottom: 20px; line-height: 1.2;}
.showcase-desc { font-size: 1.1rem; color: #64748b; line-height: 1.7; margin-bottom: 25px; }
.showcase-list { list-style: none; padding: 0; }
.showcase-list li { margin-bottom: 12px; color: #334155; font-weight: 600; font-size: 1.05rem; display: flex; align-items: start;}
.showcase-list li i { color: #10b981; margin-right: 12px; margin-top: 4px;}

/* Pricing Section */
.pricing-section { padding: 100px 0; background-color: #ffffff; }
.pricing-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 50px; }

.pricing-card { background: #ffffff; border-radius: 24px; padding: 50px 40px; text-align: left; box-shadow: 0 10px 40px rgba(0,0,0,0.04); transition: all 0.4s ease; border: 1px solid #e2e8f0; width: 100%; max-width: 350px; position: relative; display: flex; flex-direction: column; }
.pricing-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }

.pricing-card.popular { border: 2px solid #0ea5e9; transform: scale(1.05); box-shadow: 0 25px 50px rgba(14, 165, 233, 0.15); z-index: 2; background: #ffffff; }
.pricing-card.popular:hover { transform: scale(1.05) translateY(-10px); }

.badge-popular { background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%); color: white; padding: 8px 20px; border-radius: 30px; font-size: 0.8rem; font-weight: 800; position: absolute; top: -16px; left: 50%; transform: translateX(-50%); text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4); }

.pricing-card.basic { border: 2px solid #e9530e; transform: scale(1.05); box-shadow: 0 25px 50px rgba(14, 165, 233, 0.15); z-index: 2; background: #ffffff; }
.pricing-card.basic:hover { transform: scale(1.05) translateY(-10px); }
.badge-basic { background: linear-gradient(135deg, #f18306 0%, #c79602 100%); color: white; padding: 8px 20px; border-radius: 30px; font-size: 0.8rem; font-weight: 800; position: absolute; top: -16px; left: 50%; transform: translateX(-50%); text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4); }
        
.pricing-card.empresarial { border: 2px solid #3ae90e; transform: scale(1.05); box-shadow: 0 25px 50px rgba(14, 165, 233, 0.15); z-index: 2; background: #ffffff; }
.pricing-card.empresarial:hover { transform: scale(1.05) translateY(-10px); }
.badge-empresarial { background: linear-gradient(135deg, #06f149 0%, #08b746 100%); color: white; padding: 8px 20px; border-radius: 30px; font-size: 0.8rem; font-weight: 800; position: absolute; top: -16px; left: 50%; transform: translateX(-50%); text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4); }
        
.plan-name { font-size: 1.5rem; font-weight: 800; color: #0f172a; margin-bottom: 5px; }
.plan-desc { color: #64748b; font-size: 0.9rem; min-height: 45px; }

.pricing-price { font-size: 4rem; font-weight: 800; color: #0f172a; margin: 20px 0 30px; display: flex; align-items: baseline; letter-spacing: -2px;}
.pricing-price span.currency { font-size: 2rem; color: #94a3b8; font-weight: 600; margin-right: 5px; letter-spacing: 0;}
.pricing-price span.period { font-size: 1rem; color: #94a3b8; font-weight: 500; margin-left: 5px; letter-spacing: 0;}

.pricing-features { list-style: none; padding: 0; margin-bottom: 40px; flex-grow: 1; }
.pricing-features li { padding: 12px 0; color: #334155; font-size: 1rem; border-bottom: 1px solid #f1f5f9; display: flex; align-items: center; font-weight: 500;}
.pricing-features li i { color: #10b981; font-size: 1.2rem; margin-right: 15px; }

.btn-plan { width: 100%; border: 2px solid #e2e8f0; color: #0f172a; padding: 16px 0; border-radius: 16px; font-weight: 700; text-transform: uppercase; font-size: 1rem; transition: all 0.3s; display: block; text-align: center; text-decoration: none; }
.btn-plan:hover { background: #f8fafc; border-color: #cbd5e1; color: #0f172a; text-decoration: none; }

.btn-plan.primary { background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%); border: none; color: white; box-shadow: 0 10px 20px rgba(2, 132, 199, 0.3); }
.btn-plan.primary:hover { background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); color: white; transform: translateY(-2px); box-shadow: 0 15px 25px rgba(2, 132, 199, 0.4); }

.link-pago-directo { display: block; text-align: center; margin-top: 20px; font-size: 0.85rem; color: #64748b; font-weight: 600; text-decoration: underline; cursor: pointer; transition: color 0.2s;}
.link-pago-directo:hover { color: #0ea5e9; }

/* FAQ */
#faq { padding: 80px 0; background-color: #ffffff; border-top: 1px solid #f1f5f9;}
.accordion-button { padding: 20px 25px; font-size: 1.15rem; font-weight: 700 !important; box-shadow: none !important; color: #0f172a !important; }
.accordion-button:not(.collapsed) { background-color: #f0f9ff; color: #0284c7 !important; border-bottom: 1px solid #e0f2fe; }
.accordion-button::after { background-size: 1.2rem; filter: brightness(0.5); }
.accordion-body { padding: 25px 30px; font-size: 1.05rem; line-height: 1.8; color: #334155 !important; font-weight: 500; }
.accordion-item { border: 1px solid #cbd5e1 !important; border-radius: 16px !important; margin-bottom: 15px; overflow: hidden; background: #fff; }

/* Contact & Agenda Section */
#contact, #agenda { padding: 80px 0; }
#agenda { background-color: #f8fafc; border-top: 1px solid #f1f5f9;}
#contact { background: #ffffff; border-top: 1px solid #f1f5f9;}

.contact-wrapper {
    background: white; 
    border-radius: 24px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.05); 
    border: 1px solid #f1f5f9;
    padding: 40px;
}

.form-control-custom { 
    background: #f8fafc; 
    border: 1px solid #e2e8f0; 
    border-radius: 12px; 
    padding: 16px 20px; 
    font-family: 'Inter', sans-serif; 
    width: 100%; 
    transition: all 0.3s;
    margin-bottom: 20px;
    box-sizing: border-box;
}
.form-control-custom:focus { 
    outline: none; 
    border-color: #0ea5e9; 
    background: #ffffff; 
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1); 
}

button#contact-submit, button#btn_agendar { 
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); 
    border: none; 
    height: 60px; 
    width: 100%; 
    border-radius: 12px; 
    font-size: 1.1rem; 
    color: white; 
    font-weight: 700; 
    transition: all 0.3s; 
    margin: 0;
    cursor: pointer;
}
button#btn_agendar {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
}
button#contact-submit:hover, button#btn_agendar:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.3); 
}

@media (max-width: 768px) {
    #contact, #agenda { padding: 50px 0; }
    .contact-wrapper { padding: 25px 15px; }
    .form-control-custom { padding: 14px 15px; margin-bottom: 15px; }
    button#contact-submit, button#btn_agendar { font-size: 1rem; }
    .showcase-row { flex-direction: column-reverse; text-align: center; gap: 30px;}
    .showcase-row:nth-child(even) { flex-direction: column-reverse; }
    .showcase-list li { justify-content: center; text-align: left; }
}

/* Modal Redesign */
.modal-content { border-radius: 24px; border: none; overflow: hidden; box-shadow: 0 25px 50px rgba(0,0,0,0.2); }
.modal-header { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); padding: 25px 30px; border: none; }
.modal-title { font-family: 'Raleway', sans-serif; font-weight: 800; font-size: 1.5rem; }
.wompi-btn { background: #111; color: white; border-radius: 12px; padding: 15px; font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s; display: block; text-align: center; text-decoration: none;}
.wompi-btn:hover { background: #000; color: white; transform: translateY(-2px); text-decoration: none;}
.wompi-btn.blue { background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%); box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3); }
.wompi-btn.blue:hover { background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); }