<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>FreshXchange Scan to Source</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
      background: #f5f5f5;
      color: #333;
      text-align: center;
    }
    header {
      background: #ffffff;
      padding: 1.5rem 1rem;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    h1 {
      font-size: 2rem;
      color: #2e7d32;
    }
    .counter {
      font-size: 3rem;
      color: #444;
      margin-top: 0.5rem;
    }
    iframe {
      width: 100%;
      height: 750px;
      border: none;
      margin-top: 2rem;
    }
    .footer {
      font-size: 0.9rem;
      margin-top: 2rem;
      padding: 1rem;
      color: #777;
    }
  </style>
</head>
<body>
  <header>
    <h1>🚀 Scan-to-Source Live Tracker</h1>
    <p class="counter">🔍 Leads Captured: <span id="scanCount">...</span></p>
  </header>

  <iframe 
    src="https://your-typeform-url.typeform.com/to/xyz123" 
    title="FreshXchange Scan Form">
  </iframe>

  <div class="footer">
    Thank you for visiting us at MACFRUT 2024 — you’ll hear from us within 24 hours. 🌍
  </div>

  <script>
    // Simulated scan counter — replace with API or analytics count later
    const scanStart = 283;
    const randomFactor = Math.floor(Math.random() * 10);
    document.getElementById("scanCount").textContent = scanStart + randomFactor;
  </script>
</body>
</html>