"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroSignup from '@/components/sections/hero/HeroSignup';
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
import FeatureCardTwentyOne from '@/components/sections/feature/FeatureCardTwentyOne';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
import MetricCardThree from '@/components/sections/metrics/MetricCardThree';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FooterBase from '@/components/sections/footer/FooterBase';
import { Sparkles, Leaf, Mail, Users, Star, TrendingUp, Award } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="medium"
      sizing="mediumLargeSizeLargeTitles"
      background="noise"
      cardStyle="gradient-radial"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Home", id: "hero" },
            { name: "About", id: "about" },
            { name: "Products", id: "products" },
            { name: "Reviews", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          brandName="Luminous"
          bottomLeftText="Skincare for Women"
          bottomRightText="hello@luminous.com"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSignup
          title="Radiant Skin Starts Within"
          description="Discover our luxurious serums formulated for women who demand results. Transform your skin with potent ingredients and premium care."
          background={{ variant: "sparkles-gradient" }}
          tag="Premium Skincare"
          tagIcon={Sparkles}
          inputPlaceholder="Enter your email for exclusive access"
          buttonText="Get Early Access"
        />
      </div>

      <div id="about" data-section="about">
        <MetricSplitMediaAbout
          tag="Our Story"
          tagIcon={Leaf}
          title="Skincare Science Meets Luxury"
          description="At Luminous, we believe that every woman deserves radiant, healthy skin. Our serums are meticulously crafted with clinically-proven ingredients and sustainable practices. We combine cutting-edge dermatological research with natural botanicals to deliver visible results without compromise."
          metrics={[
            { value: "10+", title: "Years of Research" },
            { value: "95%", title: "Customer Satisfaction" }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/happy-serene-young-woman-with-beautiful-olive-skin-curly-hair-ideal-skin-brown-eyes-studio_633478-1098.jpg"
          imageAlt="Woman with glowing, healthy skin"
          useInvertedBackground={false}
          mediaAnimation="slide-up"
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardTwentyOne
          tag="Why Choose Luminous"
          title="Science-Backed Serum Benefits"
          description="Experience the power of our expertly formulated serums designed specifically for women's unique skin needs."
          accordionItems={[
            {
              id: "1",              title: "Advanced Hydration Technology",              content: "Our hyaluronic acid complex penetrates deep into skin layers, delivering moisture that lasts 24+ hours. Clinically proven to reduce fine lines and plump skin texture."
            },
            {
              id: "2",              title: "Natural Botanical Extracts",              content: "Infused with sustainably-sourced ingredients like vitamin C from kakadu plum, niacinamide, and rose extract. Nature and science working together for visible results."
            },
            {
              id: "3",              title: "Cruelty-Free & Eco-Conscious",              content: "100% vegan formulations, never tested on animals, and packaged in recyclable glass bottles. Beauty that doesn't compromise your values."
            },
            {
              id: "4",              title: "Fast-Absorbing Formula",              content: "Lightweight serum texture absorbs in seconds without greasy residue. Perfect for layering under makeup or moisturizer."
            }
          ]}
          imageSrc="https://img.b2bpic.net/free-vector/organic-cosmetic-ingredients-set_1284-19243.jpg"
          imageAlt="Natural skincare ingredients and botanicals"
          buttons={[{ text: "Learn More", href: "#" }]}
          useInvertedBackground={true}
          mediaPosition="right"
          mediaAnimation="slide-up"
          buttonAnimation="slide-up"
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardThree
          title="Our Signature Serums"
          description="Choose from our curated collection of premium face serums, each designed to address specific skin concerns."
          tag="Shop Now"
          products={[
            {
              id: "1",              name: "Radiance Boost Vitamin C Serum",              price: "$65.00",              imageSrc: "https://img.b2bpic.net/free-photo/elegant-metallic-cosmetic-bottle-with-pump_187299-47646.jpg",              imageAlt: "Vitamin C serum bottle",              initialQuantity: 1
            },
            {
              id: "2",              name: "Hydra-Lock Hyaluronic Serum",              price: "$59.00",              imageSrc: "https://img.b2bpic.net/free-vector/night-cosmetic-serum-face-skin-care_88138-248.jpg",              imageAlt: "Hyaluronic acid serum",              initialQuantity: 1
            },
            {
              id: "3",              name: "Renewal Retinol Advanced Formula",              price: "$72.00",              imageSrc: "https://img.b2bpic.net/free-photo/beautiful-girl-standing-with-cream_1157-29505.jpg",              imageAlt: "Retinol serum product",              initialQuantity: 1
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          buttons={[{ text: "View All Products", href: "#" }]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTen
          title="Loved by Women Everywhere"
          description="See what our customers are saying about their transformation with Luminous serums."
          tag="Customer Reviews"
          textboxLayout="default"
          useInvertedBackground={false}
          testimonials={[
            {
              id: "1",              title: "My Skin Has Never Looked Better",              quote: "After just two weeks of using the Radiance Boost serum, my complexion is noticeably brighter and more even. The lightweight formula absorbs instantly and doesn't interfere with my makeup.",              name: "Sarah Mitchell",              role: "Marketing Executive",              imageSrc: "https://img.b2bpic.net/free-photo/successful-businesswoman-ready-challenges_1163-4336.jpg",              imageAlt: "Sarah Mitchell"
            },
            {
              id: "2",              title: "Finally, A Serum That Works",              quote: "I've tried countless serums, but Luminous is the first one that delivered real results. My fine lines are softer, and my skin feels deeply hydrated without any greasy feeling.",              name: "Jessica Chen",              role: "Dermatology Consultant",              imageSrc: "https://img.b2bpic.net/free-photo/business-lady-looking-copyspace-with-interest_1262-2957.jpg",              imageAlt: "Jessica Chen"
            },
            {
              id: "3",              title: "Premium Quality, Excellent Service",              quote: "The attention to detail in every aspect of Luminous impressed me—from the sustainable packaging to the efficacy of the formulas. This is skincare done right.",              name: "Amanda Rodriguez",              role: "Wellness Coach",              imageSrc: "https://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-standing-with-arms-folded_74855-10328.jpg",              imageAlt: "Amanda Rodriguez"
            },
            {
              id: "4",              title: "Transformed My Skin Routine",              quote: "I switched to all Luminous serums and my skin has never been better. The Hydra-Lock serum is my go-to for dry days, and the Renewal Retinol has minimized my pores.",              name: "Emily Watson",              role: "Creative Director",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-young-woman-with-long-brown-hair-black-t-shirt-white-jacket_613910-8245.jpg",              imageAlt: "Emily Watson"
            },
            {
              id: "5",              title: "Worth Every Penny",              quote: "As someone with sensitive skin, I was hesitant to try new products. But Luminous serums are gentle yet effective. My acne-prone areas have cleared significantly.",              name: "Michelle Park",              role: "Fashion Designer",              imageSrc: "https://img.b2bpic.net/free-photo/happy-female-posing-office-desk_1163-3983.jpg",              imageAlt: "Michelle Park"
            },
            {
              id: "6",              title: "Best Investment in My Skin",              quote: "The results speak for themselves. My skin is more radiant, hydrated, and youthful-looking. I recommend Luminous to all my friends and family.",              name: "Lisa Anderson",              role: "Yoga Instructor",              imageSrc: "https://img.b2bpic.net/free-photo/smiling-girl-student-looking-camera-sitting-cafe-table_1163-5164.jpg",              imageAlt: "Lisa Anderson"
            }
          ]}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardThree
          title="Proven Results"
          description="Our commitment to excellence is backed by impressive numbers and genuine customer feedback."
          tag="Impact"
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="scale-rotate"
          metrics={[
            { id: "1", icon: Users, title: "Happy Customers", value: "50,000+" },
            { id: "2", icon: Star, title: "Average Rating", value: "4.9/5" },
            { id: "3", icon: TrendingUp, title: "Repeat Customers", value: "87%" },
            { id: "4", icon: Award, title: "Awards Won", value: "15+" }
          ]}
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqDouble
          title="Frequently Asked Questions"
          description="Have questions about our serums? We've got answers to help you make the best choice for your skin."
          tag="Help & Support"
          textboxLayout="default"
          useInvertedBackground={true}
          faqsAnimation="slide-up"
          faqs={[
            {
              id: "1",              title: "Are your serums suitable for all skin types?",              content: "Yes! Our serums are formulated to work with all skin types, including sensitive, oily, combination, and dry skin. Each serum is dermatologist-tested and hypoallergenic. If you have specific sensitivities, we recommend patch testing first."
            },
            {
              id: "2",              title: "How often should I use the serums?",              content: "For best results, apply our serums twice daily—morning and night—after cleansing but before moisturizing. A few drops go a long way due to the concentrated formula. Consistency is key for visible results."
            },
            {
              id: "3",              title: "Can I layer multiple serums together?",              content: "Absolutely! Our serums are designed to work synergistically. Apply from lightest to heaviest texture, waiting 30-60 seconds between applications. The Hydra-Lock pairs beautifully with either of our other serums."
            },
            {
              id: "4",              title: "What's the difference between the three serums?",              content: "Radiance Boost targets brightness and uneven tone with vitamin C. Hydra-Lock focuses on deep hydration with hyaluronic acid. Renewal Retinol addresses fine lines and skin texture with advanced retinol technology."
            },
            {
              id: "5",              title: "When can I expect to see results?",              content: "Most customers notice improved hydration within 3-5 days. Brighter complexion and reduced fine lines become visible after 4-6 weeks of consistent use. Dramatic results typically appear after 8-12 weeks."
            },
            {
              id: "6",              title: "Are your products cruelty-free and vegan?",              content: "Yes! All Luminous serums are 100% vegan, cruelty-free, and never tested on animals. We're certified by leading animal welfare organizations and committed to ethical beauty."
            },
            {
              id: "7",              title: "What's your return policy?",              content: "We offer a 60-day money-back guarantee. If you're not completely satisfied with your results, simply return the product for a full refund—no questions asked."
            },
            {
              id: "8",              title: "Do you offer shipping internationally?",              content: "Yes, we ship to over 150 countries worldwide. Standard international shipping takes 7-14 business days. We also offer expedited shipping options at checkout."
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCTA
          tag="Get in Touch"
          tagIcon={Mail}
          title="Ready to Transform Your Skin?"
          description="Have questions about our serums or need personalized skincare advice? Our beauty experts are here to help guide you to your perfect match."
          buttons={[
            { text: "Contact Us", href: "mailto:hello@luminous.com" },
            { text: "Shop Now", href: "#products" }
          ]}
          background={{ variant: "plain" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBase
          logoText="Luminous"
          copyrightText="© 2025 Luminous Skincare. All rights reserved."
          columns={[
            {
              title: "Product",              items: [
                { label: "Serums", href: "#products" },
                { label: "Ingredients", href: "#features" },
                { label: "How to Use", href: "#faq" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "#about" },
                { label: "Our Story", href: "#about" },
                { label: "Sustainability", href: "#" }
              ]
            },
            {
              title: "Support",              items: [
                { label: "Contact", href: "#contact" },
                { label: "FAQ", href: "#faq" },
                { label: "Shipping Info", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}