"use client";
import { Heading } from "./heading";
import { Subheading } from "./subheading";

export const FAQ = () => {
  const faqs = [
    {
      question: "Is cold email legal?",
      answer: "Yes, 100%. We operate with GDPR-aware processes, ensuring all outreach is compliant, targeted, and includes clear opt-out mechanisms.",
    },
    {
      question: "How long until results?",
      answer: "Typically, you'll see consistent replies within 2-4 weeks. The first 14 days are dedicated to technical setup, warmup, and strategy alignment.",
    },
    {
      question: "Do you need access to my CRM?",
      answer: "It's optional but recommended for seamless lead handoff. We can integrate with HubSpot, Salesforce, Pipedrive, and more.",
    },
    {
      question: "Do you handle replies / booking?",
      answer: "We offer reply handling as an optional add-on for our Growth package, allowing you to focus solely on the closing calls.",
    },
  ];

  return (
    <section className="py-20 lg:py-40 relative z-20">
      <Heading as="h2">Frequently Asked Questions</Heading>
      <Subheading className="text-center mb-12">
        Everything you need to know about our outbound engine.
      </Subheading>
      <div className="max-w-3xl mx-auto px-6">
        <div className="space-y-8">
          {faqs.map((faq, index) => (
            <div key={index} className="border-b border-neutral-200 dark:border-neutral-800 pb-6">
              <h3 className="text-xl font-semibold text-black dark:text-white mb-2">
                {faq.question}
              </h3>
              <p className="text-muted dark:text-muted-dark">
                {faq.answer}
              </p>
            </div>
          ))}
        </div>
      </div>
    </section>
  );
};
