<section class="text-center py-20 px-4 bg-white">
  <span class="inline-block bg-blue-50 text-blue-600 font-semibold px-4 py-1.5 rounded-lg mb-3">Your Complete Home Fit Companion</span>
  <h1 class="text-3xl sm:text-4xl font-semibold mb-2">Free Tools for Home Buyers & Travelers</h1>
  <p class="text-gray-500 max-w-xl mx-auto">
    Access a powerful suite of tools designed to help you confidently choose the right-sized TV, sofa, fridge, oven, washer, or carry-on suitcase.
  </p>
  <!-- Features Grid -->
  <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mt-12 max-w-6xl mx-auto">
    <div class="p-6 border rounded-xl text-left flex items-start gap-4">
      <div class="bg-blue-100 rounded-full p-2"><i data-lucide="zap" class="w-6 h-6 text-blue-500"></i></div>
      <div><h3 class="font-semibold">Easy to Use</h3><p class="text-gray-600 text-sm">Just enter dimensions and see instantly if it fits—no design or tech skills needed.</p></div>
    </div>
    <div class="p-6 border rounded-xl text-left flex items-start gap-4">
      <div class="bg-blue-100 rounded-full p-2"><i data-lucide="check-circle" class="w-6 h-6 text-blue-500"></i></div>
      <div><h3 class="font-semibold">100% Free</h3><p class="text-gray-600 text-sm">Use all tools with no sign-ups or fees—just open and start checking fits today.</p></div>
    </div>
    <div class="p-6 border rounded-xl text-left flex items-start gap-4">
      <div class="bg-blue-100 rounded-full p-2"><i data-lucide="layout" class="w-6 h-6 text-blue-500"></i></div>
      <div><h3 class="font-semibold">Works with What You Use</h3><p class="text-gray-600 text-sm">Perfectly complements online shopping, travel planning, and room layout apps.</p></div>
    </div>
    <div class="p-6 border rounded-xl text-left flex items-start gap-4">
      <div class="bg-blue-100 rounded-full p-2"><i data-lucide="activity" class="w-6 h-6 text-blue-500"></i></div>
      <div><h3 class="font-semibold">See Real-World Fit</h3><p class="text-gray-600 text-sm">Visualize exact sizes in context so you know exactly what will fit where.</p></div>
    </div>
    <div class="p-6 border rounded-xl text-left flex items-start gap-4">
      <div class="bg-blue-100 rounded-full p-2"><i data-lucide="layers" class="w-6 h-6 text-blue-500"></i></div>
      <div><h3 class="font-semibold">Wide Range of Tools</h3><p class="text-gray-600 text-sm">From TVs to suitcases, we’ve got all the essential tools to avoid fitting mistakes.</p></div>
    </div>
    <div class="p-6 border rounded-xl text-left flex items-start gap-4">
      <div class="bg-blue-100 rounded-full p-2"><i data-lucide="lightbulb" class="w-6 h-6 text-blue-500"></i></div>
      <div><h3 class="font-semibold">Built by Space Experts</h3><p class="text-gray-600 text-sm">Tools inspired by real-life furniture and travel challenges—simple, accurate, and reliable.</p></div>
    </div>
  </div>
</section>

<section class="relative bg-gray-900 text-white py-20 px-6 text-center rounded-3xl max-w-7xl mx-auto overflow-hidden">
  <!-- Gradient Overlay -->
  <div class="absolute inset-0 pointer-events-none z-0" style="background: radial-gradient(ellipse at 50% 20%, #1666DB70 0.51%, #000 100%);"></div>
  <div class="relative z-10">
    <span class="inline-block bg-gray-800 text-gray-100 font-medium px-4 py-1.5 rounded-lg text-sm mb-2" style="background: radial-gradient(ellipse at 50% 20%, #93A8C73B 0.51%, #34374B00 100%);">
      Made to Help You Avoid Fitting Mistakes
    </span>
    <h2 class="text-3xl sm:text-4xl font-semibold mb-8">Every Tool You Need for Confident Buying Decisions</h2>
    <p class="text-gray-300 max-w-xl mx-auto mb-10">
      Whether you're buying furniture, appliances, or packing for a trip—<?= $name ?> gives you clear visualizations and measurements to ensure perfect fit every time.
    </p>
    <div class="max-w-4xl mx-auto">
      <a href="#" class="mt-8 inline-block px-6 py-2 bg-blue-600 text-white rounded-lg shadow hover:bg-blue-700 transition">
        Browse Tools Now
      </a>
    </div>
  </div>
</section>

<section class="bg-white py-20 px-6 text-center">
  <p class="text-md text-blue-600 font-semibold mb-3">Avoid Returns & Repairs</p>
  <h3 class="text-2xl sm:text-3xl font-semibold mb-6">Make Smarter Purchases with <?= $name ?></h3>
  <p class="text-gray-600 max-w-xl mx-auto mb-10">
    Save time, money, and hassle with tools that show you exactly how things fit before you buy or pack.
  </p>
  <div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-8 max-w-5xl mx-auto">
    <div class="bg-white border border-gray-200 rounded-2xl p-6 shadow-sm hover:shadow-md transition">
      <div class="flex items-center justify-center w-12 h-12 rounded-xl bg-green-100 text-green-600 mb-4 mx-auto">
        <i data-lucide="star" class="w-6 h-6"></i>
      </div>
      <h4 class="font-semibold text-lg">Confident Buying</h4>
      <p class="text-gray-600 text-sm mt-2">Know your TV, couch, or fridge will fit before you click "buy".</p>
    </div>
    <div class="bg-white border border-gray-200 rounded-2xl p-6 shadow-sm hover:shadow-md transition">
      <div class="flex items-center justify-center w-12 h-12 rounded-xl bg-blue-100 text-blue-600 mb-4 mx-auto">
        <i data-lucide="rocket" class="w-6 h-6"></i>
      </div>
      <h4 class="font-semibold text-lg">Fast & Accurate</h4>
      <p class="text-gray-600 text-sm mt-2">Quickly compare sizes and get instant feedback on whether it fits your space or bag.</p>
    </div>
    <div class="bg-white border border-gray-200 rounded-2xl p-6 shadow-sm hover:shadow-md transition">
      <div class="flex items-center justify-center w-12 h-12 rounded-xl bg-red-100 text-red-600 mb-4 mx-auto">
        <i data-lucide="heart" class="w-6 h-6"></i>
      </div>
      <h4 class="font-semibold text-lg">Travel Smart</h4>
      <p class="text-gray-600 text-sm mt-2">Check carry-on size limits across airlines and brands to breeze through security.</p>
    </div>
  </div>
</section>

<!-- FAQ Section -->
<section id="faq" class="bg-gray-50 py-20 px-6">
  <div class="max-w-4xl mx-auto text-center mb-12">
    <p class="text-md text-blue-600 font-semibold">Need Help?</p>
    <h2 class="text-3xl sm:text-4xl font-semibold mt-2"><?= $name ?> – FAQ</h2>
    <p class="text-gray-500 mt-4">Explore answers to common questions about using our free home and travel fit tools effectively.</p>
  </div>
  <div class="max-w-3xl mx-auto space-y-4">
    <!-- FAQ Item -->
    <div class="bg-white border rounded-xl p-5 shadow-sm">
      <button class="w-full text-left flex items-center justify-between faq-toggle">
        <span class="font-semibold text-lg">Are <?= $name ?> really free?</span>
        <i data-lucide="chevron-down" class="faq-icon w-5 h-5 text-gray-500 transition-transform duration-300"></i>
      </button>
      <div class="faq-answer mt-4 text-gray-600 hidden">
        Yes! Every tool in <?= $name ?> is completely free to use—no subscriptions, no trials, just access.
      </div>
    </div>
    <div class="bg-white border rounded-xl p-5 shadow-sm">
      <button class="w-full text-left flex items-center justify-between faq-toggle">
        <span class="font-semibold text-lg">Do I need to be tech-savvy to use them?</span>
        <i data-lucide="chevron-down" class="faq-icon w-5 h-5 text-gray-500 transition-transform duration-300"></i>
      </button>
      <div class="faq-answer mt-4 text-gray-600 hidden">
        Not at all. <?= $name ?> are built with simplicity in mind. Just open your browser and go.
      </div>
    </div>
    <div class="bg-white border rounded-xl p-5 shadow-sm">
      <button class="w-full text-left flex items-center justify-between faq-toggle">
        <span class="font-semibold text-lg">Will these tools work with my shopping or travel apps?</span>
        <i data-lucide="chevron-down" class="faq-icon w-5 h-5 text-gray-500 transition-transform duration-300"></i>
      </button>
      <div class="faq-answer mt-4 text-gray-600 hidden">
        Yes. Most tools are app-agnostic and can be used alongside popular shopping, interior design, or travel planning tools.
      </div>
    </div>
    <div class="bg-white border rounded-xl p-5 shadow-sm">
      <button class="w-full text-left flex items-center justify-between faq-toggle">
        <span class="font-semibold text-lg">Will there be more tools added in the future?</span>
        <i data-lucide="chevron-down" class="faq-icon w-5 h-5 text-gray-500 transition-transform duration-300"></i>
      </button>
      <div class="faq-answer mt-4 text-gray-600 hidden">
        Definitely. We're always expanding the <?= $name ?> library to include more helpful resources for your journey.
      </div>
    </div>
  </div>
</section>



<script>
  document.querySelectorAll('.faq-toggle').forEach(btn => {
    btn.addEventListener('click', () => {
      const answer = btn.nextElementSibling;
      const icon = btn.querySelector('.faq-icon');
      answer.classList.toggle('hidden');
      icon.classList.toggle('rotate-180');
    });
  });
</script>