"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import HeroLogoBillboardSplit from '@/components/sections/hero/HeroLogoBillboardSplit';
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import PricingCardThree from '@/components/sections/pricing/PricingCardThree';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterCard from '@/components/sections/footer/FooterCard';
import { Briefcase, TrendingUp, Package, DollarSign, Sparkles, Phone, Linkedin, Twitter, Mail } from 'lucide-react';

export default function HomePage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="background-highlight"
      borderRadius="sharp"
      contentWidth="smallMedium"
      sizing="mediumLargeSizeLargeTitles"
      background="aurora"
      cardStyle="glass-depth"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal
          brandName="MyToYou"
          button={{
            text: "Get Started",
            href: "/contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogoBillboardSplit
          logoText="MyToYou"
          description="Grow your wealth with intelligent investment strategies tailored to your financial goals. We deliver consistent returns through expert portfolio management."
          background={{
            variant: "radial-gradient"
          }}
          buttons={[
            {
              text: "Start Investing Today",
              href: "/pricing"
            },
            {
              text: "Learn More",
              href: "/about"
            }
          ]}
          layoutOrder="default"
          imageSrc="https://img.b2bpic.net/free-photo/graph-growth-development-improvement-profit-success-concept_53876-133598.jpg"
          imageAlt="Professional investment portfolio visualization"
          frameStyle="card"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardTwo
          title="By The Numbers"
          description="Our proven track record of delivering consistent value and growth for our clients."
          tag="Performance"
          tagIcon={TrendingUp}
          metrics={[
            {
              id: "1",
              value: "$2.5B+",
              description: "Assets Under Management"
            },
            {
              id: "2",
              value: "15,000+",
              description: "Active Clients Worldwide"
            },
            {
              id: "3",
              value: "12-15%",
              description: "Average Annual Returns"
            },
            {
              id: "4",
              value: "99.2%",
              description: "Client Satisfaction Rate"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardThree
          title="Investment Portfolio Options"
          description="Choose from our curated selection of investment packages tailored to different risk profiles and financial goals."
          tag="Portfolio Selection"
          tagIcon={Package}
          products={[
            {
              id: "1",
              name: "Conservative Growth Fund",
              price: "$10,000 Min",
              imageSrc: "https://img.b2bpic.net/free-photo/business-concept-with-copy-space-office-desk-table-with-pen-focus-analysis-chart-computer-notebook-cup-coffee-desk-vintage-tone-retro-filter-selective-focus_1418-679.jpg",
              imageAlt: "Conservative investment portfolio"
            },
            {
              id: "2",
              name: "Balanced Opportunity Fund",
              price: "$25,000 Min",
              imageSrc: "https://img.b2bpic.net/free-photo/top-view-office-desk-with-growth-chart-calculator_23-2148780608.jpg",
              imageAlt: "Balanced investment strategy"
            },
            {
              id: "3",
              name: "Aggressive Growth Fund",
              price: "$50,000 Min",
              imageSrc: "https://img.b2bpic.net/free-photo/top-view-office-desk-with-growth-chart-coffee-with-glasses_23-2148780611.jpg",
              imageAlt: "Aggressive growth portfolio"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="pricing" data-section="pricing">
        <PricingCardThree
          title="Investment Plans"
          description="Select a plan that matches your investment capacity and financial objectives."
          tag="Transparent Pricing"
          tagIcon={DollarSign}
          plans={[
            {
              id: "starter",
              price: "0.75%",
              name: "Starter Plan",
              buttons: [
                {
                  text: "Get Started",
                  href: "/contact"
                },
                {
                  text: "Learn More",
                  href: "#"
                }
              ],
              features: [
                "Minimum investment $10,000",
                "Portfolio review quarterly",
                "Email support",
                "Basic diversification strategy",
                "Annual performance report"
              ]
            },
            {
              id: "professional",
              badge: "Most Popular",
              badgeIcon: Sparkles,
              price: "0.50%",
              name: "Professional Plan",
              buttons: [
                {
                  text: "Get Started",
                  href: "/contact"
                },
                {
                  text: "Schedule Call",
                  href: "#"
                }
              ],
              features: [
                "Minimum investment $25,000",
                "Bi-monthly portfolio reviews",
                "Priority phone support",
                "Advanced diversification",
                "Tax optimization strategies",
                "Quarterly webinars"
              ]
            },
            {
              id: "premium",
              price: "0.35%",
              name: "Premium Plan",
              buttons: [
                {
                  text: "Schedule Consultation",
                  href: "/contact"
                },
                {
                  text: "Request Details",
                  href: "#"
                }
              ],
              features: [
                "Minimum investment $50,000",
                "Monthly personal reviews",
                "Dedicated advisor",
                "Custom portfolio design",
                "Estate planning consultation",
                "VIP event access",
                "24/7 priority support"
              ]
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Get in Touch"
          title="Start Your Investment Journey Today"
          description="Join thousands of satisfied investors who trust MyToYou with their financial future. Schedule a consultation with our expert advisors to create a personalized investment strategy."
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/top-view-financial-reports-cup-coffee_1232-486.jpg"
          imageAlt="Investment consultation meeting"
          mediaPosition="right"
          tagIcon={Phone}
          inputPlaceholder="Enter your email address"
          buttonText="Get Started"
          termsText="We respect your privacy. Your information will only be used to contact you about investment opportunities."
        />
      </div>

      <FooterCard
        logoText="MyToYou"
        copyrightText="© 2025 MyToYou Investment Agency. All rights reserved."
        socialLinks={[
          {
            icon: Linkedin,
            href: "https://linkedin.com/company/mytoYou",
            ariaLabel: "LinkedIn"
          },
          {
            icon: Twitter,
            href: "https://twitter.com/mytoYouInvest",
            ariaLabel: "Twitter"
          },
          {
            icon: Mail,
            href: "mailto:info@mytoYou.com",
            ariaLabel: "Email"
          }
        ]}
      />
    </ThemeProvider>
  );
}