"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import Link from "next/link";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FaqBase from '@/components/sections/faq/FaqBase';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { Award, Zap } from 'lucide-react';

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="mediumLarge"
      sizing="mediumLargeSizeMediumTitles"
      background="floatingGradient"
      cardStyle="gradient-bordered"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="glass"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="AgentAI"
          navItems={[
            { name: "Features", id: "/#features" },
            { name: "Pricing", id: "/pricing" },
            { name: "About", id: "/about" },
            { name: "Docs", id: "https://docs.example.com" }
          ]}
          button={{ text: "Start Free Trial", href: "/contact" }}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Get Started"
          title="Ready to Transform Your Operations?"
          description="Join hundreds of enterprises using AgentAI to automate complex workflows, reduce costs, and accelerate growth. Start your free trial today or schedule a demo with our team."
          tagIcon={Zap}
          inputPlaceholder="Enter your work email"
          buttonText="Start Free Trial"
          termsText="By signing up, you agree to our Terms of Service and Privacy Policy. No credit card required."
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqBase
          title="Frequently Asked Questions"
          description="Everything you need to know about AgentAI and our AI automation platform"
          tag="Support"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          faqs={[
            {
              id: "1",              title: "How long does it take to deploy an AI agent?",              content: "Most deployments are completed within 2-4 weeks. Our expert implementation team handles setup, training, and integration with your existing systems. For simple use cases, you can have agents running in days using our pre-built templates."
            },
            {
              id: "2",              title: "What kind of support do you provide?",              content: "We offer 24/7 priority support for all enterprise customers, dedicated account managers, regular training sessions, and comprehensive documentation. Our support team includes AI specialists who understand your business needs."
            },
            {
              id: "3",              title: "How secure is AgentAI?",              content: "AgentAI meets the highest enterprise security standards including SOC 2 Type II compliance, end-to-end encryption, role-based access control, and comprehensive audit trails. We also support on-premise deployment for maximum security."
            },
            {
              id: "4",              title: "Can AgentAI integrate with our existing systems?",              content: "Yes, AgentAI integrates seamlessly with most enterprise systems via APIs, webhooks, and pre-built connectors. Our integration team can build custom connections for any legacy or specialized systems you use."
            }
          ]}
          animationType="smooth"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwelve
          testimonials={[
            {
              id: "1",              name: "Michael Torres",              imageSrc: "http://img.b2bpic.net/free-photo/confident-european-businessman-smiling-closeup-portrait-jobs-career-campaign_53876-128975.jpg",              imageAlt: "Michael Torres"
            },
            {
              id: "2",              name: "Jennifer Wu",              imageSrc: "http://img.b2bpic.net/free-photo/young-businessman-happy-expression_1194-1563.jpg",              imageAlt: "Jennifer Wu"
            },
            {
              id: "3",              name: "David Patel",              imageSrc: "http://img.b2bpic.net/free-photo/young-businessman-happy-expression_1194-1664.jpg",              imageAlt: "David Patel"
            },
            {
              id: "4",              name: "Lisa Anderson",              imageSrc: "http://img.b2bpic.net/free-photo/close-up-businessman-with-tie_1098-2867.jpg",              imageAlt: "Lisa Anderson"
            }
          ]}
          cardTitle="Over 500+ enterprise teams trust AgentAI to power their autonomous operations"
          cardTag="Industry Leaders"
          cardTagIcon={Award}
          useInvertedBackground="noInvert"
        />
      </div>

      <FooterBaseCard
        logoText="AgentAI"
        copyrightText="© 2025 AgentAI Inc. All rights reserved."
        columns={[
          {
            title: "Product",            items: [
              { label: "Features", href: "/#features" },
              { label: "Pricing", href: "/pricing" },
              { label: "Security", href: "#" },
              { label: "Roadmap", href: "#" }
            ]
          },
          {
            title: "Company",            items: [
              { label: "About", href: "/about" },
              { label: "Blog", href: "#" },
              { label: "Careers", href: "#" },
              { label: "Contact", href: "/contact" }
            ]
          },
          {
            title: "Developers",            items: [
              { label: "Documentation", href: "https://docs.example.com" },
              { label: "API Reference", href: "#" },
              { label: "GitHub", href: "#" },
              { label: "Integration Hub", href: "#" }
            ]
          },
          {
            title: "Legal",            items: [
              { label: "Privacy Policy", href: "#" },
              { label: "Terms of Service", href: "#" },
              { label: "Compliance", href: "#" },
              { label: "Cookie Settings", href: "#" }
            ]
          }
        ]}
      />
    </ThemeProvider>
  );
}