<?php
/**
 * DiscordBooster — Example Service Page Using PHP Includes
 * ─────────────────────────────────────────────────────────
 * Copy this file as the starting point for any new service page.
 * Replace the variables and body content below.
 *
 * FILE STRUCTURE ON YOUR SERVER:
 * ─────────────────────────────
 *  /public_html/
 *  ├── header.php               ← shared header (include once at top)
 *  ├── footer.php               ← shared footer (include once at bottom)
 *  ├── buy-instagram-followers.php
 *  ├── buy-tiktok-likes.php
 *  ├── buy-youtube-subscribers.php
 *  └── ... (all other service pages)
 *
 * If your pages are in a subdirectory, adjust the include path:
 *   include '../header.php';
 *   include '../footer.php';
 */

/* ═══════════════════════════════════════════════════════════════
   1. PAGE-SPECIFIC META VARIABLES
   Set ALL of these before including header.php
═══════════════════════════════════════════════════════════════ */

$page_title       = "Buy Instagram Followers — Real, Instant & Safe | DiscordBooster (2026)";
$meta_description = "Buy real Instagram followers from the most trusted growth service since 2019. Instant delivery, 30-day refill guarantee. No password required. Starts at \$4.";
$meta_keywords    = "buy instagram followers, real instagram followers, buy instagram followers instant, cheap instagram followers, instagram followers service 2026";
$canonical_url    = "https://discordbooster.com/buy-instagram-followers";
$og_title         = "Buy Instagram Followers — Real, Instant & Safe | DiscordBooster";
$og_description   = "Real Instagram followers from \$4. Instant delivery, 30-day refill. No password needed. 120,000+ happy customers since 2019.";
$og_image         = "https://discordbooster.com/og-instagram-followers.jpg";
$active_platform  = "instagram"; // highlights Instagram in the nav

// Optional: page-specific Schema.org JSON-LD (as a string)
$schema_json = json_encode([
  "@context" => "https://schema.org",
  "@graph"   => [
    [
      "@type"       => "WebPage",
      "@id"         => "https://discordbooster.com/buy-instagram-followers#webpage",
      "url"         => "https://discordbooster.com/buy-instagram-followers",
      "name"        => $page_title,
      "description" => $meta_description,
      "inLanguage"  => "en-US",
      "dateModified"=> "2026-06-01",
    ],
    [
      "@type"  => "Product",
      "name"   => "Instagram Followers",
      "brand"  => ["@type" => "Brand", "name" => "DiscordBooster"],
      "offers" => [
        ["@type" => "Offer", "name" => "100 Instagram Followers", "price" => "4.00", "priceCurrency" => "USD", "availability" => "https://schema.org/InStock"],
        ["@type" => "Offer", "name" => "500 Instagram Followers", "price" => "16.00", "priceCurrency" => "USD", "availability" => "https://schema.org/InStock"],
      ],
      "aggregateRating" => [
        "@type" => "AggregateRating",
        "ratingValue" => "4.9",
        "reviewCount" => "4800",
        "bestRating"  => "5",
        "worstRating" => "1",
      ],
    ],
  ],
]);

// Optional: override the footer disclaimer for platform-specific pages
$footer_disclaimer = "Not affiliated with Meta Platforms Inc., Instagram LLC, or any social platform.";

/* ═══════════════════════════════════════════════════════════════
   2. INCLUDE HEADER
   This outputs <!DOCTYPE html> through <header id="site-nav">
═══════════════════════════════════════════════════════════════ */
include 'header.php';
?>

<!-- ═══════════════════════════════════════════════════════════════
     3. PAGE-SPECIFIC CSS
     Add any styles unique to THIS page after the header include.
     Global design tokens from header.php are already available.
════════════════════════════════════════════════════════════════ -->
<style>
  /* Page accent — change per platform */
  :root {
    --accent:        #c13584;
    --accent-soft:   #fce8f3;
    --accent-border: #e8a8cc;
    --accent-dark:   #9b2566;
  }

  /* ── Hero ── */
  .hero {
    padding: 56px 5% 0;
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 4rem;
    align-items: start;
    max-width: 1240px;
    margin: 0 auto;
  }
  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--accent-soft); border: 1px solid var(--accent-border);
    color: var(--accent-dark); border-radius: 4px;
    padding: 0.3rem 0.8rem; font-size: 0.75rem; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
    margin-bottom: 1.5rem; animation: fadeIn 0.5s ease both;
  }
  .hero h1 {
    font-size: clamp(2.8rem, 4.5vw, 4.2rem); font-weight: 900;
    letter-spacing: -1.5px; margin-bottom: 1.5rem; line-height: 1.08;
    animation: fadeIn 0.5s 0.06s ease both;
  }
  .hero h1 em { color: var(--accent); font-style: italic; }
  .hero-desc {
    font-size: 1.1rem; color: var(--muted);
    max-width: 520px; margin-bottom: 2rem; line-height: 1.75;
    animation: fadeIn 0.5s 0.12s ease both;
  }
  .hero-trust-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; }
  .pill {
    display: inline-flex; align-items: center; gap: 0.35rem;
    background: var(--green-soft); color: var(--green);
    border: 1px solid #b6e4ce; border-radius: 100px;
    padding: 0.28rem 0.85rem; font-size: 0.78rem; font-weight: 600;
  }
  .pill::before { content: '✓'; font-weight: 800; }

  /* ── Order card ── */
  .order-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: 20px; padding: 2rem;
    box-shadow: var(--shadow-lg); position: sticky; top: 82px;
  }
  .order-card-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 800; color: var(--ink); margin-bottom: 0.4rem; }
  .order-card-sub   { font-size: 0.82rem; color: var(--muted); margin-bottom: 1.2rem; }
  .pkg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-bottom: 1.4rem; }
  .pkg-btn {
    background: var(--cream); border: 1.5px solid var(--border);
    border-radius: 10px; padding: 0.75rem 0.5rem;
    cursor: pointer; transition: all 0.15s; text-align: center;
  }
  .pkg-btn:hover, .pkg-btn.active { border-color: var(--accent); background: var(--accent-soft); }
  .pkg-btn .pkg-count { font-weight: 700; font-size: 0.88rem; color: var(--ink); display: block; }
  .pkg-btn .pkg-price { font-size: 0.8rem; color: var(--muted); }
  .order-summary { background: var(--cream); border: 1px solid var(--border); border-radius: 12px; padding: 1.2rem; margin-bottom: 1.2rem; }
  .order-price  { font-family: 'Playfair Display', serif; font-size: 2.6rem; font-weight: 900; color: var(--ink); line-height: 1; }
  .order-saving { font-size: 0.82rem; color: var(--green); font-weight: 600; margin-top: 0.25rem; }
  .order-input-label { font-size: 0.75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.4rem; display: block; }
  .order-input {
    width: 100%; border: 1.5px solid var(--border); border-radius: 8px;
    padding: 0.85rem 1rem; font-family: 'Outfit', sans-serif; font-size: 0.97rem;
    background: #fff; color: var(--ink); transition: border-color 0.15s; margin-bottom: 0.6rem;
  }
  .order-input:focus { outline: none; border-color: var(--accent); }
  .order-input::placeholder { color: var(--muted); }
  .order-hint { font-size: 0.74rem; color: var(--muted); margin-bottom: 1rem; display: block; line-height: 1.5; }
  .order-btn {
    width: 100%; background: var(--ink); color: #fff; border: none;
    padding: 1.05rem; border-radius: 10px;
    font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 700;
    cursor: pointer; transition: all 0.18s;
  }
  .order-btn:hover { background: var(--accent); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(193,53,132,0.3); }
  .order-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 0.9rem; margin-top: 0.9rem; }
  .order-meta span { font-size: 0.74rem; color: var(--muted); }
  .order-meta span::before { content: '🔒 '; }

  /* ── Responsive ── */
  @media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; gap: 2.5rem; }
    .order-card { position: relative; top: 0; max-width: 520px; }
  }
  @media (max-width: 480px) {
    .hero { padding: 40px 5% 0; }
    .hero h1 { font-size: 2.5rem; }
  }
</style>

<!-- ═══════════════════════════════════════════════════════════════
     4. BREADCRUMB
════════════════════════════════════════════════════════════════ -->
<nav style="padding: 82px 5% 0; font-size: 0.78rem; color: var(--muted); display: flex; align-items: center; gap: 0.4rem; max-width: 1240px; margin: 0 auto;" aria-label="Breadcrumb">
  <a href="https://discordbooster.com" style="color:var(--muted);" onmouseover="this.style.color='var(--accent)'" onmouseout="this.style.color='var(--muted)'">Home</a>
  <span style="opacity:0.4;" aria-hidden="true">›</span>
  <a href="instagram-services.html" style="color:var(--muted);" onmouseover="this.style.color='var(--accent)'" onmouseout="this.style.color='var(--muted)'">Instagram</a>
  <span style="opacity:0.4;" aria-hidden="true">›</span>
  <span aria-current="page">Buy Instagram Followers</span>
</nav>

<!-- ═══════════════════════════════════════════════════════════════
     5. PAGE CONTENT — Replace everything below with your page
════════════════════════════════════════════════════════════════ -->
<div class="page-body">
  <section class="hero" aria-labelledby="hero-h1">
    <div class="hero-left">
      <div class="hero-eyebrow">📸 #1 Instagram Followers Service — Real Accounts, Algorithm Safe, Instant Delivery</div>
      <h1 id="hero-h1">Buy Instagram Followers<br>& Build <em>Real Authority</em><br>That Compounds</h1>
      <p class="hero-desc">
        Real Instagram followers from genuine accounts, delivered gradually and safely.
        Followers are the foundation of every Instagram strategy — they seed early
        engagement on every new post, build the profile credibility that converts
        visitors into customers, and unlock algorithm distribution that only high-follower
        accounts receive.
      </p>
      <div class="hero-trust-pills" role="list">
        <span class="pill" role="listitem">Starts in 10–20 min</span>
        <span class="pill" role="listitem">Real accounts</span>
        <span class="pill" role="listitem">No password needed</span>
        <span class="pill" role="listitem">30-day refill</span>
        <span class="pill" role="listitem">From $4</span>
      </div>
    </div>

    <!-- Order card -->
    <div class="order-card" id="order" role="region" aria-label="Order Instagram followers">
      <div class="order-card-title">Grow Your Instagram</div>
      <div class="order-card-sub">Choose your followers package</div>
      <div class="pkg-grid" id="pkgGrid" role="radiogroup" aria-label="Follower packages"></div>
      <div class="order-summary">
        <div class="order-price" id="orderPrice">$4.00</div>
        <div class="order-saving" id="orderSaving">Best entry-level price</div>
      </div>
      <label class="order-input-label" for="igUsername">Instagram Username</label>
      <input class="order-input" type="text" id="igUsername" placeholder="@yourusername" autocomplete="off" aria-required="true" />
      <span class="order-hint">Enter your Instagram @username. Profile must be public. No password required — ever.</span>
      <button class="order-btn" id="orderBtn">Get Instagram Followers →</button>
      <div class="order-meta">
        <span>No password required</span>
        <span>SSL checkout</span>
        <span>30-day guarantee</span>
      </div>
    </div>
  </section>
</div>

<!-- ── Metrics bar example ── -->
<div style="background:var(--ink);color:#fff;padding:1.4rem 5%;display:flex;flex-wrap:wrap;justify-content:center;gap:0 4rem;margin-top:3rem;">
  <?php
  $stats = ['120K+'=>'Happy customers','4.9★'=>'Average rating','< 20 min'=>'Delivery start','7 yrs'=>'In business'];
  foreach ($stats as $val => $lbl): ?>
  <div style="text-align:center;padding:0.6rem 0;">
    <div style="font-family:'Playfair Display',serif;font-size:2rem;font-weight:900;line-height:1;"><?= $val ?></div>
    <div style="font-size:0.8rem;color:rgba(255,255,255,0.5);margin-top:0.2rem;"><?= $lbl ?></div>
  </div>
  <?php endforeach; ?>
</div>

<div class="page-body">
  <div class="section" style="text-align:center;color:var(--muted);">
    <p style="font-size:1.05rem;">
      ← Replace this with your full page content: why-buy section, algorithm section,
      features grid, how-it-works, pricing table, reviews, FAQ, long-form SEO, and CTA banner.
    </p>
  </div>
</div>

<!-- ═══════════════════════════════════════════════════════════════
     6. PAGE-SPECIFIC JAVASCRIPT
════════════════════════════════════════════════════════════════ -->
<script>
const packages = [
  { label: '100',   price: 4.00,  original: 4.00,  discount: 0,  wooid: 'igf100'  },
  { label: '250',   price: 9.00,  original: 11.00, discount: 18, wooid: 'igf250'  },
  { label: '500',   price: 16.00, original: 20.00, discount: 20, wooid: 'igf500'  },
  { label: '1,000', price: 28.00, original: 36.00, discount: 22, wooid: 'igf1k'   },
  { label: '2,500', price: 58.00, original: 78.00, discount: 26, wooid: 'igf2500' },
  { label: '5,000', price: 98.00, original: 135.00,discount: 27, wooid: 'igf5k'   },
];

let selected = 0;

function renderPkgs() {
  document.getElementById('pkgGrid').innerHTML = packages.map((p, i) => `
    <div class="pkg-btn ${i === selected ? 'active' : ''}"
         onclick="selectPkg(${i})" role="radio"
         aria-checked="${i === selected}" tabindex="0"
         aria-label="${p.label} followers for $${p.price.toFixed(2)}">
      ${p.discount > 0 ? `<span style="position:absolute;top:-9px;right:6px;background:var(--accent);color:#fff;font-size:0.6rem;font-weight:800;padding:0.1rem 0.35rem;border-radius:3px;">${p.discount}% OFF</span>` : ''}
      <span class="pkg-count">${p.label}</span>
      <span class="pkg-price">$${p.price.toFixed(2)}</span>
    </div>
  `).join('');
  updateSummary();
}

function updateSummary() {
  const p = packages[selected];
  document.getElementById('orderPrice').textContent = '$' + p.price.toFixed(2);
  const saving = p.original - p.price;
  document.getElementById('orderSaving').textContent = saving > 0
    ? `You save $${saving.toFixed(2)} (${p.discount}% off)`
    : 'Best entry-level price';
}

function selectPkg(idx) {
  selected = idx;
  document.querySelectorAll('.pkg-btn').forEach((b, i) => {
    b.classList.toggle('active', i === idx);
    b.setAttribute('aria-checked', i === idx ? 'true' : 'false');
  });
  updateSummary();
}

document.getElementById('orderBtn').addEventListener('click', function() {
  const username = document.getElementById('igUsername').value.trim().replace(/^@/, '');
  if (!username) {
    document.getElementById('igUsername').focus();
    document.getElementById('igUsername').style.borderColor = 'var(--accent)';
    return;
  }
  const p = packages[selected];
  window.location.href =
    `https://order.discordbooster.com/checkout/?add-to-cart=${p.wooid}` +
    `&username=${encodeURIComponent(username)}&platform=instagram&product=followers`;
});

document.getElementById('igUsername').addEventListener('input', function() {
  this.style.borderColor = 'var(--border)';
});

document.addEventListener('keydown', function(e) {
  if ((e.key === 'Enter' || e.key === ' ') && e.target.classList.contains('pkg-btn')) {
    e.preventDefault();
    selectPkg([...document.querySelectorAll('.pkg-btn')].indexOf(e.target));
  }
});

renderPkgs();
</script>

<!-- ═══════════════════════════════════════════════════════════════
     7. INCLUDE FOOTER
     This outputs <footer id="site-footer"> through </html>
════════════════════════════════════════════════════════════════ -->
<?php include 'footer.php'; ?>
