"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import HeroSplitKpi from "@/components/sections/hero/HeroSplitKpi";
import TextAbout from "@/components/sections/about/TextAbout";
import FeatureCardNineteen from "@/components/sections/feature/FeatureCardNineteen";
import MetricCardOne from "@/components/sections/metrics/MetricCardOne";
import TestimonialCardFive from "@/components/sections/testimonial/TestimonialCardFive";
import FeatureCardTen from "@/components/sections/feature/FeatureCardTen";
import ContactText from "@/components/sections/contact/ContactText";
import FooterCard from "@/components/sections/footer/FooterCard";
import {
  Sparkles,
  Zap,
  TrendingUp,
  MessageSquare,
  CheckCircle,
  Heart,
  Award,
  Users,
  Palette,
  Code,
  Smartphone,
  BarChart3,
  Shield,
  Headphones,
  RefreshCw,
  Eye,
  Database,
  Cloud,
  Twitter,
  Linkedin,
  Github,
  Mail,
} from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="medium"
      sizing="medium"
      background="aurora"
      cardStyle="layered-gradient"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="Webild"
          navItems={[
            { name: "About", id: "about" },
            { name: "Process", id: "features" },
            { name: "Work", id: "testimonials" },
            { name: "Contact", id: "contact" },
          ]}
          button={{ text: "Get Started", href: "#contact" }}
          animateOnLoad={true}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplitKpi
          title="Elevate Your Digital Presence"
          description="We transform bold ideas into stunning digital experiences. Expert design, seamless development, and results-driven strategy for agencies that demand excellence."
          background={{ variant: "glowing-orb" }}
          kpis={[
            { value: "250+", label: "Projects Delivered" },
            { value: "98%", label: "Client Satisfaction" },
            { value: "5x", label: "Average ROI Increase" },
          ]}
          enableKpiAnimation={true}
          tag="Creative Excellence"
          tagIcon={Sparkles}
          tagAnimation="slide-up"
          buttons={[
            { text: "Get Your Free Consultation", href: "#contact" },
            { text: "View Our Work", href: "#testimonials" },
          ]}
          buttonAnimation="slide-up"
          imageSrc="http://img.b2bpic.net/free-photo/cheerful-women-office_23-2147651758.jpg"
          imageAlt="Creative team collaborating in modern workspace"
          mediaAnimation="slide-up"
          imagePosition="right"
        />
      </div>

      <div id="about" data-section="about">
        <TextAbout
          tag="About Our Agency"
          tagIcon={Zap}
          tagAnimation="slide-up"
          title="We believe in creating digital experiences that don't just look beautiful—they drive real business results and transform how people interact with brands."
          buttons={[
            { text: "Learn Our Story", href: "#" },
            { text: "See Our Process", href: "#features" },
          ]}
          buttonAnimation="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardNineteen
          title="Our Creative Process"
          description="From concept to launch, we guide you through a proven methodology designed for success and innovation at every stage."
          tag="How We Work"
          tagIcon={Zap}
          tagAnimation="slide-up"
          features={[
            {
              id: 1,
              tag: "Discovery",              title: "Strategic Planning",              subtitle: "Understanding your vision and market",              description: "We dive deep into your business goals, target audience, and competitive landscape. Through collaborative workshops and research, we build a comprehensive strategy that serves as the foundation for all creative decisions.",              imageSrc: "http://img.b2bpic.net/free-photo/close-up-rate-charts-papers-with-analysis-information-desk-man-woman-looking-files-plan-project-presentation-startup-office-colleagues-doing-teamwork-strategy_482257-28125.jpg",              imageAlt: "Strategic planning and discovery phase"},
            {
              id: 2,
              tag: "Design",              title: "Creative Design",              subtitle: "Crafting compelling visual narratives",              description: "Our award-winning designers create stunning interfaces and experiences that captivate your audience. We blend aesthetics with functionality, ensuring every pixel serves your business objectives.",              imageSrc: "http://img.b2bpic.net/free-photo/young-woman-office-looking-ui-pc-display-executing-binary-code_482257-127028.jpg",              imageAlt: "Creative design and UI development"},
            {
              id: 3,
              tag: "Development",              title: "Expert Development",              subtitle: "Building fast, scalable, secure solutions",              description: "Our experienced developers transform designs into high-performance applications. We prioritize clean code, security, and scalability to ensure your digital solution grows with your business.",              imageSrc: "http://img.b2bpic.net/free-photo/that-s-how-success-looks-like-photo-young-team-classical-clothes-celebrating-success-while-holding-drinks-modern-good-lighted-office_146671-13657.jpg",              imageAlt: "Launch and deployment phase"},
            {
              id: 4,
              tag: "Launch",              title: "Seamless Launch",              subtitle: "Flawless execution and deployment",              description: "We handle every detail of bringing your project live. From quality assurance to deployment, we ensure a smooth, successful launch that exceeds expectations.",              imageSrc: "http://img.b2bpic.net/free-photo/luxurious-boardroom-space-within-multinational-company-used-meetings_482257-124520.jpg",              imageAlt: "Monitoring and ongoing success"},
          ]}
          textboxLayout="default"
          useInvertedBackground={false}
          buttons={[]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardOne
          title="Our Impact by Numbers"
          description="Proven results that demonstrate our commitment to excellence and client success."
          tag="Success Stories"
          tagIcon={TrendingUp}
          tagAnimation="slide-up"
          metrics={[
            {
              id: "1",              value: "250",              title: "Projects",              description: "Successfully delivered across diverse industries",              icon: CheckCircle,
            },
            {
              id: "2",              value: "98",              title: "Satisfaction %",              description: "Client satisfaction and retention rate",              icon: Heart,
            },
            {
              id: "3",              value: "5",              title: "Years",              description: "Industry experience and expertise",              icon: Award,
            },
            {
              id: "4",              value: "50",              title: "Team Members",              description: "Dedicated creative professionals",              icon: Users,
            },
          ]}
          gridVariant="uniform-all-items-equal"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive
          title="What Our Clients Say"
          description="Real feedback from real clients who've transformed their digital presence with us."
          tag="Testimonials"
          tagIcon={MessageSquare}
          tagAnimation="slide-up"
          testimonials={[
            {
              id: "1",              name: "Sarah Chen, CEO of TechFlow",              date: "Date: 15 November 2024",              title: "Transformed Our Brand Completely",              quote: "Working with Webild was a game-changer. They didn't just build us a website—they created an experience that actually resonates with our customers. The team's creativity and attention to detail is unmatched.",              tag: "E-Commerce Platform",              avatarSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              avatarAlt: "Sarah Chen",              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg?_wi=1"},
            {
              id: "2",              name: "Marcus Johnson, Founder of StartupHub",              date: "Date: 22 October 2024",              title: "Our Best Investment Yet",              quote: "The ROI we've seen since launching our redesigned platform has been incredible. Webild understood our vision immediately and delivered beyond expectations. Highly recommend.",              tag: "SaaS Application",              avatarSrc: "http://img.b2bpic.net/free-photo/man-portrait-posing-loft-modern-space_158595-5367.jpg",              avatarAlt: "Marcus Johnson",              imageSrc: "http://img.b2bpic.net/free-photo/man-portrait-posing-loft-modern-space_158595-5367.jpg"},
            {
              id: "3",              name: "Emma Rodriguez, Marketing Director at BrandCo",              date: "Date: 8 September 2024",              title: "Creative Excellence Personified",              quote: "The design team at Webild is phenomenal. They captured our brand essence perfectly and created something that truly stands out in our market. Customer feedback has been overwhelmingly positive.",              tag: "Brand Redesign",              avatarSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              avatarAlt: "Emma Rodriguez",              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg?_wi=2"},
            {
              id: "4",              name: "David Kim, CTO of FinTech Solutions",              date: "Date: 3 August 2024",              title: "Technical Excellence Meets Design",              quote: "We needed a partner who could handle both complex requirements and stunning design. Webild delivered on both fronts. Their developers are world-class professionals.",              tag: "Complex Web Application",              avatarSrc: "http://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg",              avatarAlt: "David Kim",              imageSrc: "http://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg"},
            {
              id: "5",              name: "Lisa Thompson, Director of Digital at Heritage Media",              date: "Date: 20 July 2024",              title: "Partners for Growth",              quote: "Beyond the beautiful design and solid development, what impressed us most was Webild's partnership approach. They genuinely care about our success and it shows in the results.",              tag: "Media Redesign",              avatarSrc: "http://img.b2bpic.net/free-photo/positive-confident-businessman-posing-outside_74855-1183.jpg",              avatarAlt: "Lisa Thompson",              imageSrc: "http://img.b2bpic.net/free-photo/positive-confident-businessman-posing-outside_74855-1183.jpg"},
            {
              id: "6",              name: "James Nakamura, VP of Product at GrowthCo",              date: "Date: 12 June 2024",              title: "Exceeded Every Expectation",              quote: "From first consultation to launch and beyond, Webild has been exceptional. They're responsive, innovative, and truly invested in delivering outstanding results. Worth every investment.",              tag: "Product Platform",              avatarSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              avatarAlt: "James Nakamura",              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg?_wi=3"},
          ]}
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardTen
          title="Our Core Services"
          description="Comprehensive solutions tailored to elevate your digital presence and drive measurable business growth."
          tag="Services"
          tagIcon={Sparkles}
          tagAnimation="slide-up"
          features={[
            {
              id: "1",              title: "Web Design & Development",              description: "Beautiful, responsive websites and applications that engage visitors and convert them into customers. We combine stunning design with robust technical architecture.",              media: {
                imageSrc: "http://img.b2bpic.net/free-vector/flat-user-interface-mobile-design-concept-with-different-screens-buttons-web-elements_1284-45194.jpg"},
              items: [
                { icon: Palette, text: "Custom interface design" },
                { icon: Code, text: "Modern development stack" },
                { icon: Smartphone, text: "Full responsiveness" },
              ],
              reverse: false,
            },
            {
              id: "2",              title: "Performance Optimization",              description: "Lightning-fast load times and smooth interactions. We optimize every aspect of your digital experience for maximum performance and user satisfaction.",              media: {
                imageSrc: "http://img.b2bpic.net/free-photo/analyzing-business-chart_1098-19461.jpg"},
              items: [
                { icon: Zap, text: "Speed optimization" },
                { icon: BarChart3, text: "SEO enhancement" },
                { icon: Shield, text: "Security hardening" },
              ],
              reverse: true,
            },
            {
              id: "3",              title: "Ongoing Support & Maintenance",              description: "We don't just launch and disappear. Our dedicated support team ensures your digital presence remains secure, updated, and performing at its best.",              media: {
                imageSrc: "http://img.b2bpic.net/free-photo/sales-assistant-being-employed-customer-care-support-job-working-telemarketing-call-center-helpdesk-female-receptionist-with-helpline-service-helping-clients-remote-communication_482257-43021.jpg"},
              items: [
                { icon: Headphones, text: "24/7 technical support" },
                { icon: RefreshCw, text: "Regular updates" },
                { icon: Eye, text: "Performance monitoring" },
              ],
              reverse: false,
            },
            {
              id: "4",              title: "Scalable Solutions",              description: "As your business grows, your digital infrastructure should too. We build systems designed to scale seamlessly with your success and expansion.",              media: {
                imageSrc: "http://img.b2bpic.net/free-photo/business-team-planning-marketing-strategy_53876-102032.jpg"},
              items: [
                { icon: TrendingUp, text: "Growth-ready architecture" },
                { icon: Database, text: "Scalable databases" },
                { icon: Cloud, text: "Cloud infrastructure" },
              ],
              reverse: true,
            },
          ]}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactText
          text="Ready to transform your digital presence? Let's collaborate and create something extraordinary that drives real results for your business."
          animationType="entrance-slide"
          buttons={[
            { text: "Start Your Project", href: "#" },
            { text: "Schedule a Consultation", href: "#" },
          ]}
          background={{ variant: "plain" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterCard
          logoText="Webild"
          copyrightText="© 2025 Webild. All rights reserved."
          socialLinks={[
            { icon: Twitter, href: "https://twitter.com/webild", ariaLabel: "Twitter" },
            { icon: Linkedin, href: "https://linkedin.com/company/webild", ariaLabel: "LinkedIn" },
            { icon: Github, href: "https://github.com/webild", ariaLabel: "GitHub" },
            { icon: Mail, href: "mailto:hello@webild.io", ariaLabel: "Email" },
          ]}
        />
      </div>
    </ThemeProvider>
  );
}
