"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FaqBase from '@/components/sections/faq/FaqBase';
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import { Mail, HelpCircle, Clock } from "lucide-react";

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="small"
      sizing="largeSmall"
      background="floatingGradient"
      cardStyle="solid"
      primaryButtonStyle="inset-glow"
      secondaryButtonStyle="layered"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          brandName="Link AI"
          navItems={[
            { name: "Features", id: "/" },
            { name: "Pricing", id: "/" },
            { name: "About", id: "/about" },
            { name: "Blog", id: "https://blog.example.com" },
            { name: "Contact", id: "/contact" }
          ]}
          bottomLeftText="AI-Powered Automation"
          bottomRightText="hello@linkAI.com"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Get In Touch"
          tagIcon={Mail}
          title="Ready to automate your customer conversations?"
          description="Join hundreds of companies using Link AI to scale support and increase customer satisfaction. Book a demo or start your free trial today."
          imageSrc="https://img.b2bpic.net/free-photo/disabled-man-wheelchair-working-his-office-job_23-2149571107.jpg"
          imageAlt="Contact and communication illustration"
          mediaPosition="right"
          inputPlaceholder="your@company.com"
          buttonText="Get Started Free"
          termsText="Start your 14-day free trial. No credit card required. Instant setup."
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="support" data-section="support">
        <MetricCardTwo
          title="Support When You Need It"
          description="Our team is here to help you succeed with Link AI."
          tag="Support"
          tagIcon={Clock}
          metrics={[
            { id: "1", value: "<30s", description: "Average Response Time" },
            { id: "2", value: "24/7", description: "Live Chat Support" }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqBase
          title="Common Questions"
          description="Everything you need to know about Link AI and getting started."
          tag="FAQ"
          tagIcon={HelpCircle}
          faqs={[
            {
              id: "1",
              title: "How long does it take to set up Link AI?",
              content: "Most customers are up and running within 24 hours. Our team handles the setup, AI training, and integration with your existing systems. We provide white-glove onboarding for enterprise clients."
            },
            {
              id: "2",
              title: "Can I integrate Link AI with my CRM?",
              content: "Yes! Link AI integrates with Salesforce, HubSpot, Pipedrive, and 50+ other platforms via our API. Pre-built integrations make setup quick and easy. Contact our team for custom integrations."
            },
            {
              id: "3",
              title: "What languages does Link AI support?",
              content: "Link AI currently supports 25+ languages including English, Spanish, French, German, Chinese, Japanese, and many more. Our AI automatically detects and responds in the customer's language."
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="smooth"
        />
      </div>

      <FooterLogoEmphasis
        logoText="Link AI"
        columns={[
          {
            items: [
              { label: "Home", href: "/" },
              { label: "Features", href: "/" },
              { label: "Pricing", href: "/" },
              { label: "About", href: "/about" }
            ]
          },
          {
            items: [
              { label: "Blog", href: "https://blog.linkAI.com" },
              { label: "Documentation", href: "https://docs.linkAI.com" },
              { label: "API Docs", href: "https://api.linkAI.com" },
              { label: "Status", href: "https://status.linkAI.com" }
            ]
          },
          {
            items: [
              { label: "Contact", href: "/contact" },
              { label: "Support", href: "https://support.linkAI.com" },
              { label: "Privacy", href: "/privacy" },
              { label: "Terms", href: "/terms" }
            ]
          },
          {
            items: [
              { label: "Twitter", href: "https://twitter.com/linkAI" },
              { label: "LinkedIn", href: "https://linkedin.com/company/linkAI" },
              { label: "GitHub", href: "https://github.com/linkAI" },
              { label: "Discord", href: "https://discord.gg/linkAI" }
            ]
          }
        ]}
      />
    </ThemeProvider>
  );
}