"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FaqDouble from '@/components/sections/faq/FaqDouble';
import FeatureCardSix from '@/components/sections/feature/FeatureCardSix';
import FooterCard from '@/components/sections/footer/FooterCard';
import HeroBillboardTestimonial from '@/components/sections/hero/HeroBillboardTestimonial';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import PricingCardTwo from '@/components/sections/pricing/PricingCardTwo';
import TeamCardSix from '@/components/sections/team/TeamCardSix';
import { Github, Twitter, Linkedin } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="text-shift"
        defaultTextAnimation="entrance-slide"
        borderRadius="soft"
        contentWidth="smallMedium"
        sizing="largeSmallSizeMediumTitles"
        background="aurora"
        cardStyle="gradient-radial"
        primaryButtonStyle="gradient"
        secondaryButtonStyle="layered"
        headingFontWeight="normal"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleCentered
      navItems={[
        {
          name: "Home",          id: "/"},
        {
          name: "About",          id: "/about"},
        {
          name: "Services",          id: "/services"},
        {
          name: "Portfolio",          id: "/portfolio"},
        {
          name: "Contact",          id: "/contact"},
      ]}
      brandName="AiViqo"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroBillboardTestimonial
      background={{
        variant: "gradient-bars"}}
      title="Intelligent Automation for Fast-Growing Businesses"
      description="We build AI systems that automate lead generation, workflows, CRM, outreach, and operations for SaaS, agencies, and ecommerce brands."
      testimonials={[
        {
          name: "Sarah J.",          handle: "@saas_ceo",          testimonial: "AiViqo revolutionized our CRM efficiency.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/black-businessman-happy-expression_1194-2579.jpg"},
        {
          name: "Marcus V.",          handle: "@growth_lab",          testimonial: "The lead gen automation increased our pipeline by 40%.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/middle-age-businessman-smiling-happy-standing-city_839833-25759.jpg"},
        {
          name: "Elena R.",          handle: "@ecommerce_scale",          testimonial: "Incredible service, truly customized solutions.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/black-businessman-happy-expression_1194-2547.jpg"},
        {
          name: "David W.",          handle: "@tech_ops",          testimonial: "Finally, an agency that understands complex API workflows.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-businessman-with-hands-head_1262-2009.jpg"},
        {
          name: "Linda M.",          handle: "@creative_mgmt",          testimonial: "Our manual data entry is gone. Pure magic.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/smiling-senior-businessman-sitting-stairs_1262-3109.jpg"},
      ]}
      buttons={[
        {
          text: "Book a Strategy Call",          href: "https://calendly.com/visuallabstudios/30min"},
        {
          text: "View Services",          href: "/services"},
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/futuristic-ai-data-visualization_23-2151977857.jpg"
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/middle-age-businessman-smiling-happy-standing-city_839833-25759.jpg",          alt: "Sarah"},
        {
          src: "http://img.b2bpic.net/free-photo/black-businessman-happy-expression_1194-2547.jpg",          alt: "Marcus"},
        {
          src: "http://img.b2bpic.net/free-photo/smiling-young-businessman-with-hands-head_1262-2009.jpg",          alt: "Elena"},
        {
          src: "http://img.b2bpic.net/free-photo/smiling-senior-businessman-sitting-stairs_1262-3109.jpg",          alt: "David"},
        {
          src: "http://img.b2bpic.net/free-photo/black-businessman-happy-expression_1194-2579.jpg",          alt: "Linda"},
      ]}
      marqueeItems={[
        {
          type: "text",          text: "AI Integration"},
        {
          type: "text",          text: "Workflow Automation"},
        {
          type: "text",          text: "CRM Optimization"},
        {
          type: "text",          text: "Lead Generation"},
        {
          type: "text",          text: "Scalable Infrastructure"},
      ]}
    />
  </div>

  <div id="solutions" data-section="solutions">
      <FeatureCardSix
      textboxLayout="default"
      useInvertedBackground={false}
      features={[
        {
          title: "AI Lead Gen",          description: "High-conversion automated lead systems.",          imageSrc: "http://img.b2bpic.net/free-photo/circuit-board-close-up-with-different-connections_23-2149174317.jpg"},
        {
          title: "CRM Automation",          description: "Integrating Hubspot and GHL seamlessly.",          imageSrc: "http://img.b2bpic.net/free-vector/technology-elements-background-flat-style_23-2147756997.jpg"},
        {
          title: "Custom AI Agents",          description: "Intelligent bots working 24/7.",          imageSrc: "http://img.b2bpic.net/free-photo/programmer-developing-software-large-computer-screen_53876-101149.jpg"},
        {
          title: "API Integrations",          description: "Connect all your software tools.",          imageSrc: "http://img.b2bpic.net/free-photo/futuristic-data-center-cityscape_23-2152020917.jpg"},
        {
          title: "Data Analytics",          description: "Insights that drive better decisions.",          imageSrc: "http://img.b2bpic.net/free-photo/group-people-network-circuit-board-link-connection-technology_1379-887.jpg"},
        {
          title: "Workflow Design",          description: "Optimize operations automatically.",          imageSrc: "http://img.b2bpic.net/free-photo/abstract-technology-background_1048-9652.jpg"},
      ]}
      title="Our AI Automation Solutions"
      description="Powerful systems built to scale your business."
    />
  </div>

  <div id="pricing" data-section="pricing">
      <PricingCardTwo
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      title="Investment Plans"
      description="Scale your operations with transparent pricing."
      plans={[
        {
          id: "basic",          badge: "Starter",          price: "$1,999",          subtitle: "For small agencies",          buttons: [
            {
              text: "Select",              href: "/contact"},
          ],
          features: [
            "Setup",            "Basic CRM",            "Standard Support"],
        },
        {
          id: "pro",          badge: "Pro",          price: "$4,999",          subtitle: "For growing teams",          buttons: [
            {
              text: "Select",              href: "/contact"},
          ],
          features: [
            "Everything in Basic",            "Advanced Automation",            "Priority Support"],
        },
      ]}
    />
  </div>

  <div id="team" data-section="team">
      <TeamCardSix
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={false}
      title="Meet Our Engineers"
      description="The minds behind the automation."
      members={[
        {
          id: "t1",          name: "Alex R.",          role: "Lead Architect",          imageSrc: "http://img.b2bpic.net/free-photo/smiling-businessman-standing-airport-terminal_107420-85070.jpg"},
        {
          id: "t2",          name: "Sam K.",          role: "Automation Specialist",          imageSrc: "http://img.b2bpic.net/free-photo/businessman-with-tablet_1098-135.jpg"},
      ]}
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqDouble
      textboxLayout="default"
      useInvertedBackground={false}
      title="Frequently Asked Questions"
      description="Get clarity on our AI services."
      faqs={[
        {
          id: "q1",          title: "How long for setup?",          content: "Typically 2-4 weeks depending on scope."},
        {
          id: "q2",          title: "Which CRMs do you support?",          content: "Hubspot, GHL, Pipedrive, and more."},
      ]}
      faqsAnimation="blur-reveal"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterCard
      logoText="AiViqo"
      socialLinks={[
        { icon: Github, href: "#", ariaLabel: "GitHub" },
        { icon: Twitter, href: "#", ariaLabel: "Twitter" },
        { icon: Linkedin, href: "#", ariaLabel: "LinkedIn" },
      ]}
      copyrightText="© 2025 | AiViqo Inc. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}