</main>
<section class="mj-app-cta py-5 mt-5">
  <div class="container">
    <div class="row align-items-center g-4">
      <div class="col-lg-7">
        <span class="badge text-bg-light rounded-pill mb-3"><i class="bi bi-stars me-1"></i>MJ Marketplace Global Pro</span>
        <h2 class="fw-bold mb-2">Build a safer global marketplace with local country control.</h2>
        <p class="mb-0 text-white-50">Standalone country marketplaces, business directory, company claims, imports, chat, offers and local timezone support.</p>
      </div>
      <div class="col-lg-5 text-lg-end">
        <a class="btn btn-light btn-lg rounded-pill me-2" href="<?= base_url('add-company.php') ?>"><i class="bi bi-building-add me-1"></i>Add Company</a>
        <a class="btn btn-outline-light btn-lg rounded-pill" href="<?= base_url('safety.php') ?>"><i class="bi bi-shield-check me-1"></i>Safety</a>
      </div>
    </div>
  </div>
</section>
<footer class="mj-footer pt-5 pb-4">
  <div class="container">
    <div class="row g-4">
      <div class="col-lg-4">
        <a class="mj-brand text-white mb-3 d-inline-flex" href="<?= base_url('/') ?>"><span class="mj-brand-mark"><i class="bi bi-shop"></i></span><span><b>MJ</b> Marketplace</span></a>
        <p class="text-white-50">Buy, sell, chat, make offers, list companies and manage country marketplaces from one scalable platform.</p>
        <div class="d-flex gap-2"><span class="mj-social"><i class="bi bi-facebook"></i></span><span class="mj-social"><i class="bi bi-instagram"></i></span><span class="mj-social"><i class="bi bi-whatsapp"></i></span><span class="mj-social"><i class="bi bi-linkedin"></i></span></div>
      </div>
      <div class="col-6 col-lg-2"><h6>Marketplace</h6><a href="<?= base_url('browse.php') ?>">Browse</a><a href="<?= base_url('post-listing.php') ?>">Post Listing</a><a href="<?= base_url('companies.php') ?>">Companies</a><a href="<?= base_url('add-company.php') ?>">Add Company</a></div>
      <div class="col-6 col-lg-2"><h6>Support</h6><a href="<?= base_url('help.php') ?>">Help Centre</a><a href="<?= base_url('safety.php') ?>">Safety Tips</a><a href="<?= base_url('terms.php') ?>">Terms</a><a href="<?= base_url('privacy.php') ?>">Privacy</a></div>
      <div class="col-lg-4"><h6>Popular options</h6><div class="mj-footer-tags"><span>Country marketplace</span><span>Company claims</span><span>Food shops</span><span>ACRA import</span><span>Open now</span><span>Local time</span><span>RFQ</span><span>Bookings</span></div></div>
    </div>
    <?php include __DIR__.'/payment-logos.php'; ?>
    <hr class="border-secondary my-4">
    <div class="d-flex flex-column flex-md-row justify-content-between text-white-50 small"><span>© <?= date('Y') ?> <?= e(setting('site_name','MJ Marketplace')) ?>. All rights reserved.</span><span>Version Global Pro • v2.8.2 Unified Frontend • PHP/MySQL</span></div>
  </div>
</footer>
<?php $mjCurrent = basename((string)($_SERVER['SCRIPT_NAME'] ?? 'index.php')); ?>
<nav class="mj-mobile-bottom">
  <a href="<?= base_url('/') ?>" class="<?= in_array($mjCurrent,['index.php','country.php','state.php','city.php'],true)?'active':'' ?>"><i class="bi bi-house-door"></i><span>Home</span></a>
  <a href="<?= base_url('browse.php') ?>" class="<?= $mjCurrent==='browse.php'?'active':'' ?>"><i class="bi bi-search"></i><span>Search</span></a>
  <a href="<?= base_url('post-listing.php') ?>" class="<?= $mjCurrent==='post-listing.php'?'active':'' ?>"><i class="bi bi-plus-circle"></i><span>Post</span></a>
  <a href="<?= base_url('messages.php') ?>" class="<?= in_array($mjCurrent,['messages.php','chat.php'],true)?'active':'' ?>"><i class="bi bi-chat-dots"></i><span>Chat</span><em data-mj-chat-unread-count class="mj-mobile-count" style="<?= !empty($mjChatUnread) ? '' : 'display:none' ?>"><?= e($mjChatUnread ?? 0) ?></em></a>
  <a href="<?= base_url('my-account.php') ?>" class="<?= (str_starts_with($mjCurrent,'my-') || in_array($mjCurrent,['account-center.php','billing-payments.php','trust-verification.php','help-support.php','notifications.php','wallet.php','verification.php','privacy-center.php'],true))?'active':'' ?>"><i class="bi bi-person"></i><span>Account</span></a>
</nav>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/aos@2.3.4/dist/aos.js"></script>
<script src="https://cdn.jsdelivr.net/npm/leaflet@1.9.4/dist/leaflet.js"></script>
<script src="<?= e(asset_versioned('js/main.js')) ?>"></script>
<script src="<?= e(asset_versioned('js/geo-country.js')) ?>"></script>
<script src="<?= e(asset_versioned('js/ultimate-mj.js')) ?>"></script>
<script src="<?= e(asset_versioned('js/listing-module.js')) ?>"></script>
<script src="<?= e(asset_versioned('js/chat.js')) ?>"></script>
<script src="<?= e(asset_versioned('js/live-chat-overlay.js')) ?>"></script>
<link rel="stylesheet" href="<?= e(asset_versioned('css/mj-v3041-location-notifications.css')) ?>">
<script src="<?= e(asset_versioned('js/mj-v3041-location-search.js')) ?>"></script>
<script src="<?= e(asset_versioned('js/mj-v3041-notifications.js')) ?>"></script>
<link rel="stylesheet" href="<?= e(asset_versioned('css/mj-v30429-leads.css')) ?>">
<script src="<?= e(asset_versioned('js/mj-v30428-popup-speed.js')) ?>"></script>
<script src="<?= e(asset_versioned('js/mj-v30429-lead-actions.js')) ?>"></script>

</body>
</html>
