"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { HelpCircle, Mail } from 'lucide-react';
import Link from 'next/link';

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="background-highlight"
      borderRadius="rounded"
      contentWidth="medium"
      sizing="medium"
      background="none"
      cardStyle="gradient-bordered"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="layered"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Home", id: "/" },
            { name: "Pricing", id: "/pricing" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" }
          ]}
          brandName="LogiAI"
          bottomLeftText="Global E-commerce Solutions"
          bottomRightText="hello@logiai.com"
          logoOnClick={() => window.location.href = "/"}
          logoHref="/"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCTA
          tag="Get Started"
          tagIcon={Mail}
          title="Ready to Transform Your Logistics?"
          description="Join thousands of e-commerce companies optimizing their supply chains with AI. Book a demo or start your free trial today."
          buttons={[
            { text: "Start Free Trial", href: "https://app.logiai.com/signup" },
            { text: "Book a Demo", href: "#" }
          ]}
          background={{ variant: "gradient-bars" }}
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqDouble
          title="Have Questions? We're Here to Help"
          description="Find quick answers to common questions about our AI logistics platform, implementation, and support."
          tag="Support"
          tagIcon={HelpCircle}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="smooth"
          faqs={[
            {
              id: "1",
              title: "How can I schedule a demo?",
              content: "You can book a personalized demo by clicking the 'Book a Demo' button above, or email us directly at hello@logiai.com. Our team will respond within 4 hours to schedule a time that works for you."
            },
            {
              id: "2",
              title: "What information do you need for a consultation?",
              content: "We'll need to understand your current shipping volume, carriers you work with, existing systems (WMS, ERP), and your main logistics challenges. This helps us tailor the demo to your specific needs."
            },
            {
              id: "3",
              title: "Do you offer implementation support?",
              content: "Yes, we provide complete implementation support including technical integration, team training, and ongoing optimization. Our customer success team works with you every step of the way."
            },
            {
              id: "4",
              title: "What's your response time for support requests?",
              content: "Professional plans receive priority support with 4-hour response times. Enterprise customers get dedicated support with 1-hour response times and direct access to our technical team."
            },
            {
              id: "5",
              title: "Can you handle enterprise compliance requirements?",
              content: "Absolutely. We maintain SOC 2 Type II, ISO 27001, and support custom compliance frameworks. Our enterprise team works with your security and compliance teams to meet all requirements."
            },
            {
              id: "6",
              title: "Do you provide training for our team?",
              content: "Yes, we offer comprehensive training including platform walkthrough, API documentation review, best practices workshops, and ongoing education as new features are released."
            }
          ]}
        />
      </div>

      <FooterBaseCard
        logoText="LogiAI"
        columns={[
          {
            title: "Product",
            items: [
              { label: "Features", href: "#features" },
              { label: "Pricing", href: "/pricing" },
              { label: "Security", href: "#" },
              { label: "API Docs", href: "#" }
            ]
          },
          {
            title: "Company",
            items: [
              { label: "About", href: "/about" },
              { label: "Blog", href: "#" },
              { label: "Careers", href: "#" },
              { label: "Press", href: "#" }
            ]
          },
          {
            title: "Resources",
            items: [
              { label: "Documentation", href: "#" },
              { label: "Case Studies", href: "#" },
              { label: "Guides", href: "#" },
              { label: "Community", href: "#" }
            ]
          },
          {
            title: "Legal",
            items: [
              { label: "Privacy", href: "#" },
              { label: "Terms", href: "#" },
              { label: "Compliance", href: "#" },
              { label: "Contact", href: "/contact" }
            ]
          }
        ]}
        copyrightText="© 2025 LogiAI. AI-Powered Logistics for E-commerce."
      />
    </ThemeProvider>
  );
}