"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FeatureCardTen from '@/components/sections/feature/FeatureCardTen';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import HeroLogoBillboard from '@/components/sections/hero/HeroLogoBillboard';
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import PricingCardEight from '@/components/sections/pricing/PricingCardEight';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import { BookOpen, Calendar, Globe, Mic, Trophy, Volume2 } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="shift-hover"
        defaultTextAnimation="reveal-blur"
        borderRadius="pill"
        contentWidth="smallMedium"
        sizing="medium"
        background="aurora"
        cardStyle="gradient-mesh"
        primaryButtonStyle="shadow"
        secondaryButtonStyle="radial-glow"
        headingFontWeight="medium"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleFullscreen
      navItems={[
        {
          name: "Features",
          id: "features",
        },
        {
          name: "About",
          id: "about",
        },
        {
          name: "Pricing",
          id: "pricing",
        },
      ]}
      brandName="LinguistPro"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroLogoBillboard
      background={{
        variant: "plain",
      }}
      logoText="Master Any Language Effortlessly"
      description="LinguistPro uses cutting-edge AI to personalize your learning journey. Start speaking fluently in record time with our interactive platform."
      buttons={[
        {
          text: "Start Learning",
          href: "#",
        },
        {
          text: "See How It Works",
          href: "#features",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/close-up-employee-working-with-charts-papers-computer-doing-annual-data-analysis-plan-business-project-woman-holding-files-with-financial-information-development_482257-32215.jpg?_wi=1"
      imageAlt="LinguistPro learning interface"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="about" data-section="about">
      <MetricSplitMediaAbout
      useInvertedBackground={false}
      title="Your Journey to Fluency"
      description="We believe language is the bridge to new cultures. Our approach combines neuroscience-backed methodology with intuitive AI tools to ensure your growth is consistent and fun."
      metrics={[
        {
          value: "50+",
          title: "Languages",
        },
        {
          value: "1M+",
          title: "Users",
        },
        {
          value: "95%",
          title: "Retention",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/smiling-woman-chatting-laptop-outdoors_23-2148154983.jpg?_wi=1"
      imageAlt="Studying language anywhere"
      mediaAnimation="blur-reveal"
      metricsAnimation="slide-up"
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardTen
      animationType="slide-up"
      textboxLayout="split-description"
      useInvertedBackground={true}
      features={[
        {
          title: "Speech Recognition",
          description: "Perfect your pronunciation with AI-driven voice analysis.",
          media: {
            imageSrc: "http://img.b2bpic.net/free-photo/hearing-issues-collage-design_23-2149831038.jpg?_wi=1",
            imageAlt: "Speech recognition feature",
          },
          items: [
            {
              icon: Mic,
              text: "Instant feedback",
            },
            {
              icon: Volume2,
              text: "Native speaker audio",
            },
          ],
          reverse: false,
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-employee-working-with-charts-papers-computer-doing-annual-data-analysis-plan-business-project-woman-holding-files-with-financial-information-development_482257-32215.jpg?_wi=2",
          imageAlt: "language learning dashboard ui",
        },
        {
          title: "Gamified Goals",
          description: "Stay motivated with streaks, badges, and daily challenges.",
          media: {
            imageSrc: "http://img.b2bpic.net/free-vector/flat-badges-teacher-s-day_23-2147570651.jpg",
            imageAlt: "Gamified progress feature",
          },
          items: [
            {
              icon: Trophy,
              text: "Leaderboards",
            },
            {
              icon: Calendar,
              text: "Daily goals",
            },
          ],
          reverse: true,
          imageSrc: "http://img.b2bpic.net/free-photo/smiling-woman-chatting-laptop-outdoors_23-2148154983.jpg?_wi=2",
          imageAlt: "student studying language in cafe",
        },
        {
          title: "Global Immersion",
          description: "Learn cultures with context-rich content and real-world scenarios.",
          media: {
            imageSrc: "http://img.b2bpic.net/free-photo/our-world-connected-social-networking-interconnection-concept_53876-21158.jpg",
            imageAlt: "Global immersion feature",
          },
          items: [
            {
              icon: Globe,
              text: "Real scenarios",
            },
            {
              icon: BookOpen,
              text: "Contextual learning",
            },
          ],
          reverse: false,
          imageSrc: "http://img.b2bpic.net/free-photo/hearing-issues-collage-design_23-2149831038.jpg?_wi=2",
          imageAlt: "speech recognition tech icon",
        },
      ]}
      title="Everything You Need to Succeed"
      description="Advanced tools to master reading, writing, and speaking."
    />
  </div>

  <div id="testimonial" data-section="testimonial">
      <TestimonialCardFifteen
      useInvertedBackground={false}
      testimonial="LinguistPro completely changed how I learn languages. The AI feedback is incredibly helpful and the lessons are so engaging."
      rating={5}
      author="Elena Rossi"
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/cheerful-pretty-mixed-race-girl-has-perfect-charming-smile-shows-white-teeth-wears-blue-headband-head-busy-with-writing-necessary-notes_273609-18155.jpg",
          alt: "User 1",
        },
        {
          src: "http://img.b2bpic.net/free-photo/young-beautiful-lady-with-dark-curly-hair-khaki-shirt-holding-laptop-with-notepad-cup-coffee-go-hands-dreamily-looking-camera-isolated_574295-2237.jpg",
          alt: "User 2",
        },
        {
          src: "http://img.b2bpic.net/free-photo/medium-shot-woman-posing-studio_23-2150172205.jpg",
          alt: "User 3",
        },
        {
          src: "http://img.b2bpic.net/free-photo/smiling-african-american-girl-sitting-cafe_1262-3083.jpg",
          alt: "User 4",
        },
        {
          src: "http://img.b2bpic.net/free-photo/young-successful-businesswoman-smiling-standing-near-business-centre_176420-16777.jpg",
          alt: "User 5",
        },
      ]}
      ratingAnimation="slide-up"
      avatarsAnimation="slide-up"
    />
  </div>

  <div id="pricing" data-section="pricing">
      <PricingCardEight
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={true}
      plans={[
        {
          id: "basic",
          badge: "Basic",
          price: "$12/mo",
          subtitle: "Perfect for casual learners.",
          buttons: [
            {
              text: "Subscribe",
              href: "#",
            },
          ],
          features: [
            "1 Language",
            "Standard AI feedback",
            "Daily challenges",
          ],
        },
        {
          id: "pro",
          badge: "Pro",
          price: "$29/mo",
          subtitle: "The ultimate learning package.",
          buttons: [
            {
              text: "Get Pro",
              href: "#",
            },
          ],
          features: [
            "Unlimited Languages",
            "Advanced AI analytics",
            "Offline access",
            "Live support",
          ],
        },
      ]}
      title="Transparent Pricing"
      description="Choose a plan that fits your pace."
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactCenter
      useInvertedBackground={false}
      background={{
        variant: "plain",
      }}
      tag="Contact"
      title="Ready to Start Your Journey?"
      description="Join thousands of learners today and reach your fluency goals."
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoEmphasis
      columns={[
        {
          items: [
            {
              label: "Features",
              href: "#features",
            },
            {
              label: "About",
              href: "#about",
            },
            {
              label: "Contact",
              href: "#contact",
            },
          ],
        },
        {
          items: [
            {
              label: "Privacy Policy",
              href: "#",
            },
            {
              label: "Terms of Service",
              href: "#",
            },
          ],
        },
      ]}
      logoText="LinguistPro"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
