<?php
$page_title = "Services";
$page_description = "Browse our complete catalog of digital services — social media growth, virtual numbers, airtime, data & bill payments.";
include('include/header.php');

$services=[
  ['cat'=>'instagram','icon'=>'fa-brands fa-instagram','color'=>'text-pink-500','name'=>'Instagram Followers','desc'=>'Get real-looking Instagram followers instantly. High retention, no password needed.','from'=>'₦150'],
  ['cat'=>'instagram','icon'=>'fa-solid fa-heart','color'=>'text-red-500','name'=>'Instagram Likes','desc'=>'Boost your post likes instantly. High-quality engagement for maximum visibility.','from'=>'₦50'],
  ['cat'=>'instagram','icon'=>'fa-solid fa-eye','color'=>'text-purple-500','name'=>'Instagram Views','desc'=>'Increase your Reels and video views. Boost your algorithm reach significantly.','from'=>'₦30'],
  ['cat'=>'tiktok','icon'=>'fa-brands fa-tiktok','color'=>'text-slate-800','name'=>'TikTok Followers','desc'=>'Grow your TikTok audience with real-looking followers. Fast and reliable delivery.','from'=>'₦100'],
  ['cat'=>'tiktok','icon'=>'fa-solid fa-heart','color'=>'text-red-500','name'=>'TikTok Likes','desc'=>'Get your TikTok posts trending with high-quality likes and engagement.','from'=>'₦40'],
  ['cat'=>'tiktok','icon'=>'fa-solid fa-eye','color'=>'text-blue-500','name'=>'TikTok Views','desc'=>'Boost your TikTok video views and improve your chances of going viral.','from'=>'₦20'],
  ['cat'=>'facebook','icon'=>'fa-brands fa-facebook','color'=>'text-blue-600','name'=>'Facebook Page Likes','desc'=>'Grow your Facebook page with genuine-looking followers and page likes.','from'=>'₦80'],
  ['cat'=>'facebook','icon'=>'fa-solid fa-thumbs-up','color'=>'text-blue-500','name'=>'Facebook Post Likes','desc'=>'Increase engagement on your Facebook posts to boost organic reach.','from'=>'₦60'],
  ['cat'=>'youtube','icon'=>'fa-brands fa-youtube','color'=>'text-red-600','name'=>'YouTube Subscribers','desc'=>'Grow your YouTube channel with high-retention subscribers for better monetization.','from'=>'₦200'],
  ['cat'=>'youtube','icon'=>'fa-solid fa-eye','color'=>'text-red-500','name'=>'YouTube Views','desc'=>'Get more views on your YouTube videos and improve your ranking.','from'=>'₦50'],
  ['cat'=>'twitter','icon'=>'fa-brands fa-x-twitter','color'=>'text-slate-800','name'=>'Twitter/X Followers','desc'=>'Grow your Twitter/X presence with real-looking followers for better credibility.','from'=>'₦120'],
  ['cat'=>'twitter','icon'=>'fa-solid fa-retweet','color'=>'text-blue-400','name'=>'Twitter Retweets','desc'=>'Boost your tweet reach with quality retweets from active accounts.','from'=>'₦80'],
  ['cat'=>'telegram','icon'=>'fa-brands fa-telegram','color'=>'text-sky-500','name'=>'Telegram Members','desc'=>'Grow your Telegram channel or group with active-looking members fast.','from'=>'₦90'],
  ['cat'=>'telegram','icon'=>'fa-solid fa-eye','color'=>'text-sky-400','name'=>'Telegram Post Views','desc'=>'Increase your Telegram post views for better credibility and engagement.','from'=>'₦30'],
  ['cat'=>'snapchat','icon'=>'fa-brands fa-snapchat','color'=>'text-yellow-500','name'=>'Snapchat Followers','desc'=>'Boost your Snapchat presence with quality followers for better reach.','from'=>'₦100'],
];
?>

<!-- Hero -->
<section class="pt-16 pb-12 px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto text-center">
  <div class="inline-flex items-center gap-2 bg-primary/10 border border-primary/20 rounded-full px-4 py-1.5 mb-6">
    <span class="text-xs font-semibold text-slate-800 tracking-wide uppercase">Our Services</span>
  </div>
  <h1 class="text-4xl sm:text-5xl font-extrabold text-slate-900 mb-4">All Digital <span class="text-accent italic">Services</span></h1>
  <p class="text-slate-600 max-w-lg mx-auto">Browse our complete catalog of social media growth services — all at the best prices with instant delivery.</p>
</section>

<!-- Filter Tabs -->
<section class="px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto mb-10">
  <div class="flex flex-wrap gap-2 justify-center" id="filterTabs">
    <button onclick="filterSvc('all',this)" class="filter-btn bg-primary text-white font-bold text-xs px-5 py-2.5 rounded-full transition-all">All</button>
    <button onclick="filterSvc('instagram',this)" class="filter-btn bg-slate-100 text-slate-600 font-semibold text-xs px-5 py-2.5 rounded-full hover:bg-primary/10 transition-all">Instagram</button>
    <button onclick="filterSvc('tiktok',this)" class="filter-btn bg-slate-100 text-slate-600 font-semibold text-xs px-5 py-2.5 rounded-full hover:bg-primary/10 transition-all">TikTok</button>
    <button onclick="filterSvc('facebook',this)" class="filter-btn bg-slate-100 text-slate-600 font-semibold text-xs px-5 py-2.5 rounded-full hover:bg-primary/10 transition-all">Facebook</button>
    <button onclick="filterSvc('youtube',this)" class="filter-btn bg-slate-100 text-slate-600 font-semibold text-xs px-5 py-2.5 rounded-full hover:bg-primary/10 transition-all">YouTube</button>
    <button onclick="filterSvc('twitter',this)" class="filter-btn bg-slate-100 text-slate-600 font-semibold text-xs px-5 py-2.5 rounded-full hover:bg-primary/10 transition-all">Twitter/X</button>
    <button onclick="filterSvc('telegram',this)" class="filter-btn bg-slate-100 text-slate-600 font-semibold text-xs px-5 py-2.5 rounded-full hover:bg-primary/10 transition-all">Telegram</button>
    <button onclick="filterSvc('snapchat',this)" class="filter-btn bg-slate-100 text-slate-600 font-semibold text-xs px-5 py-2.5 rounded-full hover:bg-primary/10 transition-all">Snapchat</button>
  </div>
</section>

<!-- Services Grid -->
<section class="px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto pb-20">
  <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6" id="svcGrid">
    <?php foreach($services as $s): ?>
    <div class="svc-card glassmorphism rounded-2xl p-6 hover:-translate-y-2 transition-all shadow-sm hover:shadow-premium hover:border-primary/30" data-cat="<?php echo $s['cat']; ?>">
      <div class="w-11 h-11 rounded-xl bg-slate-100 flex items-center justify-center mb-4">
        <i class="<?php echo $s['icon']; ?> text-xl <?php echo $s['color']; ?>"></i>
      </div>
      <span class="inline-block text-[10px] font-bold uppercase tracking-wider bg-primary/10 text-primary px-2.5 py-1 rounded-md mb-3"><?php echo ucfirst($s['cat']); ?></span>
      <h3 class="text-base font-bold text-slate-900 mb-2"><?php echo $s['name']; ?></h3>
      <p class="text-slate-600 text-sm leading-relaxed mb-4"><?php echo $s['desc']; ?></p>
      <div class="flex items-center justify-between pt-3 border-t border-slate-100">
        <span class="text-xs text-slate-400">From <strong class="text-accent text-sm"><?php echo $s['from']; ?></strong></span>
        <a href="<?php echo $site_data['web_url']; ?>/signup" class="bg-primary hover:bg-primary-light text-white text-xs font-bold px-4 py-2 rounded-lg transition-all">Order Now</a>
      </div>
    </div>
    <?php endforeach; ?>
  </div>
</section>

<script>
function filterSvc(cat, btn) {
  document.querySelectorAll('.filter-btn').forEach(function(b){
    b.className = 'filter-btn bg-slate-100 text-slate-600 font-semibold text-xs px-5 py-2.5 rounded-full hover:bg-primary/10 transition-all';
  });
  btn.className = 'filter-btn bg-primary text-white font-bold text-xs px-5 py-2.5 rounded-full transition-all';
  document.querySelectorAll('.svc-card').forEach(function(c){
    c.style.display = (cat === 'all' || c.dataset.cat === cat) ? '' : 'none';
  });
}
</script>

<?php include('include/footer.php'); ?>
