"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroSplitDualMedia from '@/components/sections/hero/HeroSplitDualMedia';
import AboutMetric from '@/components/sections/about/AboutMetric';
import TeamCardTwo from '@/components/sections/team/TeamCardTwo';
import MetricCardSeven from '@/components/sections/metrics/MetricCardSeven';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { Zap, TrendingUp, Users, DollarSign, Linkedin, Twitter, Globe, Github, Mail } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="slide-background"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="small"
      sizing="medium"
      background="none"
      cardStyle="elevated"
      primaryButtonStyle="flat"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          brandName="Nexus"
          navItems={[
            { name: "About", id: "about" },
            { name: "Team", id: "team" },
            { name: "Investors", id: "investors" },
            { name: "Contact", id: "contact" },
            { name: "Blog", id: "blog" }
          ]}
          bottomLeftText="San Francisco, CA"
          bottomRightText="hello@nexusstartup.com"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplitDualMedia
          title="The Future of Startup Innovation Starts Here"
          description="Nexus empowers emerging companies to scale faster, smarter, and bolder with cutting-edge technology and strategic partnerships that unlock exponential growth."
          tag="Welcome to the Future"
          tagIcon={Zap}
          background={{ variant: "sparkles-gradient" }}
          mediaItems={[
            {
              imageSrc: "https://img.b2bpic.net/free-photo/team-diverse-coworkers-modern-office-discuss-their-project-together_93675-133516.jpg",              imageAlt: "Startup team collaboration in modern office"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/man-executive-instructing-diverse-employees-new-modern-company-office-room-before-business-meeting-with-partners-analysing-reports-tablet_482257-5242.jpg",              imageAlt: "Innovation and technology workspace"
            }
          ]}
          rating={5}
          ratingText="Trusted by 200+ startups"
          buttons={[
            { text: "Get Started", href: "#contact" },
            { text: "Learn More", href: "#about" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <AboutMetric
          title="Nexus is redefining how startups grow by combining world-class technology with strategic investor networks and exceptional talent development programs."
          useInvertedBackground="invertDefault"
          metrics={[
            { icon: TrendingUp, label: "Average Growth Rate", value: "340%" },
            { icon: Users, label: "Active Startups", value: "200+" },
            { icon: DollarSign, label: "Capital Deployed", value: "$150M" },
            { icon: Zap, label: "Years of Experience", value: "15+" }
          ]}
        />
      </div>

      <div id="team" data-section="team">
        <TeamCardTwo
          title="Meet Our Leadership Team"
          description="Exceptional founders and operators with decades of combined experience building unicorns and leading innovation."
          textboxLayout="default"
          useInvertedBackground="noInvert"
          gridVariant="four-items-2x2-equal-grid"
          animationType="slide-up"
          members={[
            {
              id: "1",              name: "Sarah Chen",              role: "Founder & CEO",              description: "Former CTO at TechVenture. Led engineering teams of 200+ at Series C scaling.",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "Sarah Chen, CEO",              socialLinks: [
                { icon: Linkedin, url: "https://linkedin.com" },
                { icon: Twitter, url: "https://twitter.com" }
              ]
            },
            {
              id: "2",              name: "Marcus Johnson",              role: "Co-Founder & COO",              description: "20 years in business operations. Previously scaled 3 companies to exit.",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-competitive-employee_1098-2870.jpg",              imageAlt: "Marcus Johnson, COO",              socialLinks: [
                { icon: Linkedin, url: "https://linkedin.com" },
                { icon: Globe, url: "https://example.com" }
              ]
            },
            {
              id: "3",              name: "Elena Rodriguez",              role: "Chief Product Officer",              description: "Designed products for 100M+ users. Former PM at leading tech companies.",              imageSrc: "https://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",              imageAlt: "Elena Rodriguez, CPO",              socialLinks: [
                { icon: Linkedin, url: "https://linkedin.com" },
                { icon: Github, url: "https://github.com" }
              ]
            },
            {
              id: "4",              name: "David Park",              role: "VP of Growth",              description: "Growth expert. Grew revenue from $0 to $50M at previous startup.",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-grey-haired-businessman-standing_74855-10324.jpg",              imageAlt: "David Park, VP Growth",              socialLinks: [
                { icon: Linkedin, url: "https://linkedin.com" },
                { icon: Twitter, url: "https://twitter.com" }
              ]
            }
          ]}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardSeven
          title="Our Impact by the Numbers"
          description="Real results from the startups we've supported and guided to success."
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="scale-rotate"
          metrics={[
            {
              id: "1",              value: "200+",              title: "Startups Supported",              items: [
                "Across 25+ industries",                "Global presence in 40+ countries",                "Diverse founding teams"
              ]
            },
            {
              id: "2",              value: "$8B+",              title: "Total Valuation Created",              items: [
                "15 unicorn companies",                "35 successful exits",                "Compound annual growth 220%"
              ]
            },
            {
              id: "3",              value: "10K+",              title: "Jobs Created",              items: [
                "High-quality employment opportunities",                "Average salary 40% above market",                "Global talent community"
              ]
            },
            {
              id: "4",              value: "$150M",              title: "Capital Deployed",              items: [
                "Seed to Series C funding",                "Strategic partnerships active",                "Portfolio diversification strong"
              ]
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Get In Touch"
          tagIcon={Mail}
          title="Ready to Scale Your Startup?"
          description="Join hundreds of founders building the next generation of unicorns. Schedule a consultation with our team today and discover how Nexus can accelerate your growth journey."
          background={{ variant: "plain" }}
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/team-diverse-coworkers-modern-office-discuss-their-project-together_93675-134863.jpg"
          imageAlt="Team meeting and collaboration"
          mediaPosition="right"
          inputPlaceholder="Your email address"
          buttonText="Subscribe"
          termsText="We respect your privacy. Unsubscribe anytime. By subscribing, you agree to our Privacy Policy."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="https://img.b2bpic.net/free-photo/group-three-young-multi-ethnic-successful-business-people-sitting-coworking-space-talking-about-new-project-competitor-team-making-plans-bypass-their-project_176420-8311.jpg"
          imageAlt="Startup team workspace"
          logoText="Nexus"
          copyrightText="© 2025 Nexus Ventures. All rights reserved."
          columns={[
            {
              title: "Product",              items: [
                { label: "Features", href: "#features" },
                { label: "Pricing", href: "#pricing" },
                { label: "Security", href: "#security" },
                { label: "Enterprise", href: "#enterprise" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "#about" },
                { label: "Blog", href: "#blog" },
                { label: "Careers", href: "#careers" },
                { label: "Press", href: "#press" }
              ]
            },
            {
              title: "Resources",              items: [
                { label: "Documentation", href: "#docs" },
                { label: "API Reference", href: "#api" },
                { label: "Community", href: "#community" },
                { label: "Support", href: "#support" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}