/* Configuración General */
:root {
    --bs-primary: #0d6efd; /* Puedes cambiar esto a tu azul preferido */
    --bs-success: #198754; /* Puedes cambiar esto a tu verde preferido */
    --font-family-sans-serif: 'Inter', sans-serif;
}

body {
    font-family: var(--font-family-sans-serif);
    padding-top: 70px; /* Espacio para la navbar fija */
}

/* Secciones */
.section-padding {
    padding: 96px 0;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
.navbar-brand {
    font-family: var(--font-family-sans-serif);
}

/* Hero Section */
#hero {
    min-height: 85vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
}

.hero-img {
    /* Pequeña animación de entrada */
    animation: float 3s ease-in-out infinite;
}

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

/* Tarjetas de Características */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tarjeta de Precio */
.pricing-card {
    transition: transform 0.3s ease;
}
.pricing-card:hover {
    transform: scale(1.02);
}

/* Ajustes Responsivos */
@media (max-width: 991.98px) {
    .section-padding {
        padding: 72px 0;
    }
    #hero {
        min-height: auto;
        padding: 40px 0 60px 0;
        text-align: center;
    }
    .hero-img {
        margin-top: 40px;
    }
}

/* ===== Mejoras landing ===== */
html { scroll-padding-top: 80px; }

.hero-pills span {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.85rem;
    color: #495057;
}
.hero-pills i { color: var(--bs-success); margin-right: 4px; }

.rubros span { font-size: 0.95rem; color: #495057; white-space: nowrap; }
.rubros i { color: var(--bs-primary); margin-right: 6px; }

.icon-box-sm {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
.step-num {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--bs-primary);
    color: #fff;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.module-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.module-card:hover { transform: translateY(-5px); box-shadow: 0 12px 24px rgba(0,0,0,0.1); }
.module-list { list-style: none; padding: 0; margin: 0; }
.module-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #6c757d;
    font-size: 0.93rem;
}
.module-list li::before {
    content: "\F26E"; /* bi-check2 */
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    color: var(--bs-success);
}

.accordion-button:not(.collapsed) { background: #e7f1ff; color: #0a58ca; }

.cta-band {
    background: linear-gradient(135deg, #198754 0%, #0d6efd 100%);
    padding: 80px 0;
}

.wa-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 1.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    z-index: 1050;
    transition: transform 0.2s ease;
}
.wa-float:hover { color: #fff; transform: scale(1.08); }

@media (max-width: 575.98px) {
    .cta-band { padding: 60px 0; }
    .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; font-size: 1.6rem; }
}

/* Suscripciones (panel ilustrativo) */
.subs-mock {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 1.25rem;
    padding: 1.5rem;
}
.subs-kpi { background: #f8f9fa; border-radius: 0.75rem; padding: 0.75rem 0.25rem; }
.subs-kpi-num { font-weight: 800; font-size: 1.35rem; line-height: 1.1; }
.subs-kpi-label { font-size: 0.72rem; color: #6c757d; margin-top: 2px; }
.subs-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f3f5;
}
.subs-row small { display: block; color: #6c757d; font-size: 0.8rem; }

/* Facturación electrónica (factura ilustrativa) */
.fe-mock {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 1.25rem;
    padding: 1.5rem;
    max-width: 460px;
    margin: 0 auto;
}
.fe-letter {
    width: 48px; height: 48px;
    border: 2px solid #212529;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fe-line {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px dashed #e9ecef;
    font-size: 0.95rem;
    color: #495057;
}
.fe-total { font-weight: 800; color: #212529; border-bottom: 0; font-size: 1.1rem; }
.fe-qr {
    width: 56px; height: 56px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Panel Fiscal (diferencial) */
.pf-section {
    background: radial-gradient(circle at 85% 10%, rgba(255, 193, 7, 0.18), transparent 35%),
                linear-gradient(135deg, #0b2545 0%, #13315c 55%, #134074 100%);
}
.pf-badge { background: #ffc107; color: #212529; letter-spacing: 0.04em; }
.pf-lead { color: rgba(255, 255, 255, 0.82); font-size: 1.1rem; }
.pf-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1.25rem;
    padding: 1.75rem;
    transition: transform 0.3s ease, background 0.3s ease;
}
.pf-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.11); }
.pf-card p { color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; }
.pf-icon {
    width: 54px; height: 54px;
    border-radius: 14px;
    background: #ffc107;
    color: #0b2545;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.pf-mock {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
.pf-alert {
    background: #fff3cd;
    color: #664d03;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}
.pf-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.pf-list li { display: flex; gap: 0.75rem; margin-bottom: 1rem; color: rgba(255, 255, 255, 0.85); }
.pf-list i { color: #ffc107; font-size: 1.2rem; flex-shrink: 0; }
.pf-list strong { color: #fff; }
.pf-note { color: rgba(255, 255, 255, 0.6); }

.hero-pills a.pf-pill {
    background: #fff8e1;
    border: 1px solid #ffc107;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.85rem;
    color: #664d03;
    font-weight: 600;
    text-decoration: none;
}
.hero-pills a.pf-pill i { color: #e0a800; margin-right: 4px; }
