"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import HeroCentered from '@/components/sections/hero/HeroCentered';
import FeatureBento from '@/components/sections/feature/FeatureBento';
import FeatureBorderGlow from '@/components/sections/feature/featureBorderGlow/FeatureBorderGlow';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import PricingCardEight from '@/components/sections/pricing/PricingCardEight';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import { Award, BarChart3, CheckCircle, Crown, Globe, Mail, Rocket, Shield, Sparkles, Star, Target, Users, Zap } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="medium"
      sizing="medium"
      background="none"
      cardStyle="gradient-bordered"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="layered"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="Spike Media"
          navItems={[
            { name: "Features", id: "features" },
            { name: "Pricing", id: "pricing" },
            { name: "About", id: "testimonials" }
          ]}
          button={{
            text: "Get Started",            href: "contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroCentered
          title="UGC Content That Powers Tech Giants"
          description="Authentic user-generated content campaigns for Apple, Google, Meta, and the world's biggest tech companies. Spike Media connects brands with creators who drive real engagement."
          background={{ variant: "sparkles-gradient" }}
          avatars={[
            { src: "https://img.b2bpic.net/free-photo/portrait-handsome-bearded-man-suit_23-2149705918.jpg", alt: "Creator 1" },
            { src: "https://img.b2bpic.net/free-photo/male-freelancer-using-computer-plan-financial-analysis-with-business-charts-statistics-working-online-network-economy-growth-office-employee-planning-growth-strategy-close-up_482257-40931.jpg", alt: "Creator 2" },
            { src: "https://img.b2bpic.net/free-photo/pov-businessman-attending-videocall-meeting-office-using-online-videoconference-talk-consultant-about-financial-strategy-company-employee-chatting-remote-teleconference-close-up_482257-40929.jpg", alt: "Creator 3" }
          ]}
          avatarText="Trusted by 500+ tech creators"
          buttons={[
            { text: "View Portfolio", href: "features" },
            { text: "Book a Demo", href: "contact" }
          ]}
        />
      </div>

      <div id="features" data-section="features">
        <FeatureBento
          title="Powerful UGC Content Creation"
          description="Everything you need to launch high-impact user-generated content campaigns at scale. From creator discovery to performance analytics."
          tag="Capabilities"
          tagIcon={Sparkles}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="invertDefault"
          features={[
            {
              title: "Creator Network",              description: "Access to 500+ vetted tech creators and influencers",              bentoComponent: "orbiting-icons",              centerIcon: Users,
              items: [
                { icon: Zap, ring: 1 },
                { icon: Star, ring: 2 },
                { icon: Award, ring: 3 }
              ]
            },
            {
              title: "Content Performance",              description: "Real-time analytics and engagement metrics",              bentoComponent: "animated-bar-chart"
            },
            {
              title: "Global Reach",              description: "Campaigns spanning 50+ countries and markets",              bentoComponent: "map"
            },
            {
              title: "Quality Assurance",              description: "Multi-tier review process ensuring brand safety",              bentoComponent: "icon-info-cards",              items: [
                { icon: CheckCircle, label: "Brand Safety", value: "100%" },
                { icon: Shield, label: "Compliance", value: "Verified" },
                { icon: Zap, label: "Speed", value: "48hrs" }
              ]
            }
          ]}
        />
      </div>

      <div id="capabilities" data-section="capabilities">
        <FeatureBorderGlow
          title="Why Brands Choose Spike Media"
          description="Industry-leading expertise in authentic creator marketing and UGC strategy"
          textboxLayout="default"
          animationType="blur-reveal"
          useInvertedBackground="noInvert"
          features={[
            {
              icon: Zap,
              title: "Lightning-Fast Delivery",              description: "Campaign launch in 48 hours with rapid iteration and optimization"
            },
            {
              icon: Target,
              title: "Precision Targeting",              description: "Data-driven creator matching for maximum ROI and audience alignment"
            },
            {
              icon: BarChart3,
              title: "Measurable Results",              description: "Detailed analytics tracking engagement, conversions, and brand lift"
            },
            {
              icon: Shield,
              title: "Brand Safe Content",              description: "Rigorous vetting and compliance checking for every creator partnership"
            },
            {
              icon: Globe,
              title: "Scalable Campaigns",              description: "From pilot programs to enterprise-wide rollouts across markets"
            },
            {
              icon: Sparkles,
              title: "Authentic Storytelling",              description: "Genuine creator narratives that resonate with tech-savvy audiences"
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFifteen
          testimonial="Spike Media transformed our UGC strategy. Their creator network delivered authentic content that drove a 340% increase in engagement within the first month. The entire process was seamless and professional."
          rating={5}
          author="Sarah Chen, Senior Marketing Manager at a Fortune 500 Tech Company"
          avatars={[
            { src: "https://img.b2bpic.net/free-photo/medium-shot-transgender-wearing-shells-necklace_23-2149105401.jpg", alt: "Creator testimonial" },
            { src: "https://img.b2bpic.net/free-photo/closeup-portrait-caucasian-happy-teacher-glasses_74855-9736.jpg", alt: "Brand partner" },
            { src: "https://img.b2bpic.net/free-photo/close-up-portrait-bearded-smiling-black-man-wool-suit_613910-15883.jpg", alt: "Marketing lead" },
            { src: "https://img.b2bpic.net/free-photo/portrait-bearded-man-with-ear-bandage_23-2149705925.jpg", alt: "Agency partner" }
          ]}
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="pricing" data-section="pricing">
        <PricingCardEight
          title="Flexible Pricing for Every Brand"
          description="Choose the plan that fits your campaign needs and budget"
          tag="Pricing"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          plans={[
            {
              id: "starter",              badge: "For Pilots",              badgeIcon: Rocket,
              price: "$5,000",              subtitle: "Perfect for testing UGC strategy",              buttons: [
                { text: "Get Started", href: "contact" }
              ],
              features: [
                "5-10 UGC creators",                "1 campaign month",                "Basic analytics",                "Email support",                "Content rights included"
              ]
            },
            {
              id: "professional",              badge: "Most Popular",              badgeIcon: Star,
              price: "$15,000",              subtitle: "Best for ongoing campaigns",              buttons: [
                { text: "Select Plan", href: "contact" }
              ],
              features: [
                "20-30 UGC creators",                "3 campaign months",                "Advanced analytics dashboard",                "Priority support",                "Content rights & repurposing",                "A/B testing optimization"
              ]
            },
            {
              id: "enterprise",              badge: "For Scale",              badgeIcon: Crown,
              price: "Custom",              subtitle: "Enterprise campaigns & partnerships",              buttons: [
                { text: "Contact Sales", href: "contact" }
              ],
              features: [
                "50+ UGC creators",                "Ongoing campaigns",                "Custom analytics suite",                "Dedicated account manager",                "Full media rights & exclusivity",                "Strategic consulting included"
              ]
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Stay Updated"
          tagIcon={Mail}
          title="Ready to Elevate Your UGC Strategy?"
          description="Join leading tech companies creating authentic, high-performing user-generated content campaigns. Get in touch with our team to discuss your next big campaign."
          background={{ variant: "rotated-rays-animated" }}
          useInvertedBackground="invertDefault"
          inputPlaceholder="your@company.com"
          buttonText="Get Started"
          termsText="We respect your privacy. We'll only use your email to discuss UGC campaigns. Unsubscribe anytime."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal
          columns={[
            {
              title: "Product",              items: [
                { label: "Features", href: "features" },
                { label: "Pricing", href: "pricing" },
                { label: "Security", href: "https://spike-media.com/security" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "testimonials" },
                { label: "Blog", href: "https://spike-media.com/blog" },
                { label: "Careers", href: "https://spike-media.com/careers" }
              ]
            },
            {
              title: "Legal",              items: [
                { label: "Privacy Policy", href: "https://spike-media.com/privacy" },
                { label: "Terms of Service", href: "https://spike-media.com/terms" },
                { label: "Contact", href: "contact" }
              ]
            }
          ]}
          copyrightText="© 2025 Spike Media. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}