:root {
    --primary: #4e73df;
    --primary-dark: #2e59d9;
    --text: #333;
    --text-light: #666;
    --bg-light: #f8f9fc;
    --white: #fff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; color: var(--text); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Utilities */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.btn { display: inline-block; padding: 10px 25px; border-radius: 50px; font-weight: 600; cursor: pointer; transition: 0.3s; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-white { background: var(--white); color: var(--primary); }
.text-primary { color: var(--primary); }
.section { padding: 80px 0; }
.bg-light { background: var(--bg-light); }
.text-center { text-align: center; }

/* Navbar */
.navbar { padding: 20px 0; position: fixed; width: 100%; top: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--text); }
.nav-links a { margin-left: 20px; font-weight: 500; font-size: 0.95rem; }
.nav-links .btn { margin-left: 20px; padding: 8px 20px; font-size: 0.9rem; }
.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero { padding: 140px 0 80px; background: linear-gradient(135deg, #fff 50%, #f1f4ff 100%); }
.hero-content { display: flex; align-items: center; gap: 50px; }
.hero-text { flex: 1; }
.hero-text h1 { font-size: 3rem; line-height: 1.2; margin-bottom: 20px; color: #1a1a1a; }
.hero-text p { font-size: 1.1rem; color: var(--text-light); margin-bottom: 30px; }
.hero-btns { display: flex; gap: 15px; align-items: center; }
.btn-text { color: var(--text-light); font-weight: 600; }
.trust-badges { margin-top: 30px; font-size: 0.9rem; color: var(--text-light); }
.trust-badges span { margin-right: 20px; }
.hero-img { flex: 1; }
.hero-img img { width: 100%; border-radius: 10px; }

/* Features */
.section-title { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-title h2 { font-size: 2.2rem; margin-bottom: 10px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; }
.feature-card { padding: 30px; border-radius: 15px; border: 1px solid #eee; transition: 0.3s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.icon-box { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 20px; color: white; }
.bg-blue { background: #4e73df; } .bg-green { background: #1cc88a; } .bg-purple { background: #6f42c1; } .bg-orange { background: #f6c23e; }
.feature-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.feature-card p { color: var(--text-light); font-size: 0.95rem; }

/* Showcase */
.row-split { display: flex; align-items: center; gap: 50px; }
.split-img img { width: 100%; }
.split-text h3 { font-size: 2rem; margin-bottom: 20px; }
.check-list li { margin-bottom: 10px; font-size: 1.1rem; }
.check-list i { color: var(--primary); margin-right: 10px; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 1000px; margin: 0 auto; }
.price-card { background: white; padding: 40px 30px; border-radius: 20px; border: 1px solid #eee; position: relative; text-align: center; }
.price-card.popular { border: 2px solid var(--primary); box-shadow: 0 10px 30px rgba(78, 115, 223, 0.1); transform: scale(1.05); z-index: 2; }
.badge-popular { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--primary); color: white; padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }
.price-header h4 { font-size: 1.5rem; margin-bottom: 10px; }
.price { font-size: 2.5rem; font-weight: 700; color: #1a1a1a; margin-bottom: 10px; }
.price span { font-size: 1rem; color: var(--text-light); font-weight: 400; }
.price-list { margin: 30px 0; text-align: left; }
.price-list li { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid #f8f9fc; }

/* Footer */
footer { background: #1a1a1a; color: #aaa; padding: 60px 0 20px; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.footer-col h5 { color: white; margin-bottom: 20px; }
.footer-col a { display: block; margin-bottom: 10px; transition: 0.2s; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid #333; padding-top: 20px; font-size: 0.9rem; }

/* Mobile */
@media (max-width: 768px) {
    .nav-links { display: none; } /* Simplificado para móvil */
    .menu-toggle { display: block; }
    .hero-content, .row-split { flex-direction: column; text-align: center; }
    .hero-text h1 { font-size: 2.2rem; }
    .hero-btns { justify-content: center; }
    .price-card.popular { transform: none; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
}

/* --- ESTILOS PARA PÁGINAS INTERNAS --- */

/* Page Header (Títulos de páginas internas) */
.page-header {
    background: var(--bg-light);
    padding: 120px 0 60px;
    text-align: center;
}
.page-header h1 { font-size: 2.5rem; margin-bottom: 15px; }
.page-header p { color: var(--text-light); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* Tabla Comparativa (Pricing Page) */
.table-container { overflow-x: auto; margin: 50px 0; }
.price-table { width: 100%; border-collapse: collapse; min-width: 700px; }
.price-table th, .price-table td { padding: 15px 20px; border-bottom: 1px solid #eee; text-align: center; }
.price-table th:first-child, .price-table td:first-child { text-align: left; font-weight: 600; color: var(--text); width: 30%; }
.price-table th { font-size: 1.2rem; background: #fff; }
.price-table .fa-check { color: var(--primary); }
.price-table .fa-times { color: #ccc; }
.price-table tr:hover { background-color: #fcfcfc; }

/* Detalles de Características (Features Page) */
.feature-row { display: flex; align-items: center; gap: 50px; margin-bottom: 80px; }
.feature-row.reverse { flex-direction: row-reverse; }
.feature-text { flex: 1; }
.feature-media { flex: 1; }
.feature-media img { width: 100%; border-radius: 15px; box-shadow: var(--shadow); }
.feature-text h3 { font-size: 2rem; margin-bottom: 15px; color: var(--primary); }

/* Legal Pages (Terms & Privacy) */
.legal-content { max-width: 800px; margin: 0 auto; padding: 60px 20px; }
.legal-content h2 { margin-top: 30px; margin-bottom: 15px; font-size: 1.5rem; }
.legal-content p { margin-bottom: 15px; color: #555; }
.legal-content ul { list-style: disc; margin-left: 20px; margin-bottom: 20px; }
.legal-content li { margin-bottom: 5px; }

@media (max-width: 768px) {
    /* Ocultar menú por defecto en móvil */
    .nav-links { 
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        background: white;
        width: 100%;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        text-align: center;
    } 

    /* Esta clase la agrega el JS cuando tocas el botón */
    .nav-links.active {
        display: flex;
    }

    .nav-links a, .nav-links .btn {
        margin: 10px 0;
        display: block;
        width: 100%;
    }

    .menu-toggle { display: block; }
    
    /* Ajustes generales */
    .hero-content, .row-split { flex-direction: column; text-align: center; }
    .hero-text h1 { font-size: 2.2rem; }
    .hero-btns { justify-content: center; }
    .price-card.popular { transform: none; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
}