"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen";
import FaqSplitMedia from "@/components/sections/faq/FaqSplitMedia";
import ContactText from "@/components/sections/contact/ContactText";
import FooterMedia from "@/components/sections/footer/FooterMedia";
import Link from "next/link";
import { HelpCircle, Star } from "lucide-react";

export default function FaqPage() {
  const navItems = [
    { name: "Home", id: "/" },
    { name: "Services", id: "/services" },
    { name: "Features", id: "/features" },
    { name: "Pricing", id: "/pricing" },
    { name: "Contact", id: "/contact" },
  ];

  const footerColumns = [
    {
      title: "Product",      items: [
        { label: "Features", href: "/features" },
        { label: "Services", href: "/services" },
        { label: "Pricing", href: "/pricing" },
        { label: "Security", href: "#" },
        { label: "API", href: "#" },
      ],
    },
    {
      title: "Company",      items: [
        { label: "About", href: "/about" },
        { label: "Blog", href: "#" },
        { label: "Careers", href: "#" },
        { label: "Contact", href: "/contact" },
        { label: "Partners", href: "#" },
      ],
    },
    {
      title: "Resources",      items: [
        { label: "Documentation", href: "#" },
        { label: "Help Center", href: "#" },
        { label: "FAQ", href: "/faq" },
        { label: "Community", href: "#" },
        { label: "Status Page", href: "#" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="smallMedium"
      sizing="largeSmall"
      background="circleGradient"
      cardStyle="solid"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="layered"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={navItems}
          brandName="SponsorDesk"
          bottomLeftText="HR & Legal Solutions"
          bottomRightText="support@sponsordesk.com"
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqSplitMedia
          faqs={[
            {
              id: "1",              title: "Is my data secure with SponsorDesk?",              content:
                "Yes. We use enterprise-grade encryption, compliance with ISO 27001 standards, and comply with all Middle East data protection regulations. All documents are encrypted at rest and in transit."},
            {
              id: "2",              title: "How do automated reminders work?",              content:
                "Our system continuously monitors expiry dates for all documents. You receive notifications via email and dashboard alerts weeks before expiration, ensuring you never miss critical deadlines."},
            {
              id: "3",              title: "Can I integrate with my existing HR system?",              content:
                "Yes. SponsorDesk offers API integrations with popular HR management systems. Our team can help set up seamless data synchronization for your specific requirements."},
            {
              id: "4",              title: "What support does your team provide?",              content:
                "We offer 24/7 email support, dedicated account managers for enterprise clients, comprehensive documentation, and regular training sessions for your HR team."},
            {
              id: "5",              title: "How quickly can we get started?",              content:
                "Onboarding typically takes 1-2 weeks. Our team handles setup, data migration, and staff training. Most customers are fully operational within 30 days."},
            {
              id: "6",              title: "Do you support bilingual documents?",              content:
                "Absolutely. SponsorDesk fully supports Arabic and English with proper RTL/LTR formatting. All documents, workflows, and the dashboard are available in both languages."},
          ]}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Aev8H9mL7eFI9KHWlmK4WotoLx/modern-illustration-representing-faq-sup-1772966295233-817188c7.png?_wi=2"
          imageAlt="FAQ Support Team"
          mediaAnimation="blur-reveal"
          mediaPosition="left"
          title="Frequently Asked Questions"
          description="Everything you need to know about SponsorDesk and how we help manage your employee documentation."
          tag="Help & Support"
          tagIcon={HelpCircle}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          faqsAnimation="slide-up"
          animationType="smooth"
        />
      </div>

      <div id="contact-cta" data-section="contact-cta">
        <ContactText
          text="Ready to streamline your employee document management? Let's transform how your organization handles governmental procedures and compliance."
          animationType="entrance-slide"
          buttons={[
            {
              text: "Start Free Trial",              href: "/signup"},
            {
              text: "Contact Sales",              href: "/contact"},
          ]}
          background={{
            variant: "plain"}}
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Aev8H9mL7eFI9KHWlmK4WotoLx/modern-professional-footer-background-im-1772966297548-b6b1fe45.png?_wi=4"
          imageAlt="Footer background"
          columns={footerColumns}
          logoText="SponsorDesk"
          copyrightText="© 2025 SponsorDesk. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}