"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, CheckCircle, Crown, Mail, Rocket, Shield, Sparkles, 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="Raptor"
          navItems={[
            { name: "Features", id: "features" },
            { name: "Services", id: "services" },
            { name: "Pricing", id: "pricing" },
            { name: "Testimonials", id: "testimonials" }
          ]}
          button={{
            text: "Get Started",            href: "contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroCentered
          title="Precision Clipping for AI & Casino Leaders"
          description="Raptor Clipping Agency delivers enterprise-grade video editing and asset optimization for the world's top AI companies and high-stakes gaming operations. Speed, precision, and confidentiality guaranteed."
          background={{
            variant: "sparkles-gradient"
          }}
          avatars={[
            {
              src: "https://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              alt: "professional businessman portrait avatar"
            },
            {
              src: "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",              alt: "professional woman portrait avatar"
            },
            {
              src: "https://img.b2bpic.net/free-photo/confident-businessman-smiling_107420-84734.jpg",              alt: "professional person portrait avatar"
            }
          ]}
          avatarText="Trusted by 50+ Industry Leaders"
          buttons={[
            {
              text: "View Our Work",              href: "features"
            },
            {
              text: "Schedule Consultation",              href: "contact"
            }
          ]}
        />
      </div>

      <div id="features-bento" data-section="features-bento">
        <FeatureBento
          title="Why Top Companies Choose Raptor"
          description="Our specialized expertise in AI and casino sectors means we understand your unique demands—from rapid iteration cycles to strict compliance requirements."
          tag="Core Capabilities"
          tagIcon={Zap}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="invertDefault"
          features={[
            {
              title: "Ultra-Fast Turnaround",              description: "24-48 hour delivery on standard projects. Same-day expedited options available for time-critical assets.",              bentoComponent: "animated-bar-chart"
            },
            {
              title: "AI-Optimized Encoding",              description: "Custom compression profiles for training datasets, inference optimization, and streaming delivery.",              bentoComponent: "globe"
            },
            {
              title: "Enterprise Compliance",              description: "SOC 2 certified. Full audit trails, encrypted workflows, and NDA-compliant handling for sensitive content.",              bentoComponent: "map"
            },
            {
              title: "Gaming-Grade Quality",              description: "Casino-optimized color grading, frame-perfect cuts, and audio mixing for high-stakes presentation.",              bentoComponent: "line-chart"
            }
          ]}
        />
      </div>

      <div id="features-glow" data-section="features-glow">
        <FeatureBorderGlow
          title="Premium Services Built for Precision"
          description="Every detail matters when your content drives millions in revenue. Our feature set is engineered for perfectionism."
          textboxLayout="split"
          animationType="blur-reveal"
          useInvertedBackground="noInvert"
          features={[
            {
              icon: Zap,
              title: "Parallel Processing",              description: "Process unlimited simultaneous projects without quality compromise or wait times."
            },
            {
              icon: Shield,
              title: "Zero-Knowledge Security",              description: "Your content never touches external servers. Private on-premise processing available."
            },
            {
              icon: Sparkles,
              title: "Smart Automation",              description: "AI-assisted editing, auto-color correction, and intelligent frame selection."
            },
            {
              icon: Zap,
              title: "Legacy Format Support",              description: "We handle rare formats, obsolete codecs, and proprietary file types."
            },
            {
              icon: CheckCircle,
              title: "Quality Assurance",              description: "Multi-stage review process with human expertise and automated validation."
            },
            {
              icon: Award,
              title: "Dedicated Account Manager",              description: "Single point of contact for all requests, ensuring consistent excellence."
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFifteen
          testimonial="Raptor cut our video production workflow in half. Their precision with AI training datasets is unmatched, and their security protocols gave us complete peace of mind."
          rating={5}
          author="Marcus Chen, VP of Production - NeuralScale AI"
          avatars={[
            {
              src: "https://img.b2bpic.net/free-photo/close-up-businessman-with-tie_1098-2867.jpg",              alt: "professional ceo portrait business"
            },
            {
              src: "https://img.b2bpic.net/free-photo/portrait-grey-haired-businessman-standing_74855-10324.jpg",              alt: "professional manager portrait business"
            },
            {
              src: "https://img.b2bpic.net/free-photo/man-corrects-belt-fees-groom-man-s-hands-dressing-man-buttons-pants-jeans_8353-5893.jpg",              alt: "professional director portrait business"
            },
            {
              src: "https://img.b2bpic.net/free-photo/confident-european-businessman-smiling-closeup-portrait-jobs-career-campaign_53876-128975.jpg",              alt: "professional entrepreneur portrait business"
            },
            {
              src: "https://img.b2bpic.net/free-photo/handsome-groom-classy-black-suit-stands-dark-room_8353-7083.jpg",              alt: "professional specialist portrait business"
            },
            {
              src: "https://img.b2bpic.net/free-photo/happy-young-professional-posing-office_1262-21170.jpg",              alt: "professional expert portrait business"
            }
          ]}
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="pricing" data-section="pricing">
        <PricingCardEight
          title="Transparent Pricing. Zero Surprises."
          description="Flexible plans designed for startups scaling up or enterprises processing volumes. Custom contracts available."
          tag="Pricing"
          tagIcon={Sparkles}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          carouselMode="buttons"
          plans={[
            {
              id: "starter",              badge: "For Growing Teams",              badgeIcon: Rocket,
              price: "$2,999",              subtitle: "Per month / 100 hours editing",              buttons: [
                {
                  text: "Start Trial",                  href: "contact"
                }
              ],
              features: [
                "Up to 100 hours of editing/month",                "24-48 hour turnaround",                "Standard security protocols",                "Email support",                "Basic asset management"
              ]
            },
            {
              id: "professional",              badge: "Most Popular",              badgeIcon: Crown,
              price: "$7,999",              subtitle: "Per month / 250 hours editing",              buttons: [
                {
                  text: "Get Started",                  href: "contact"
                }
              ],
              features: [
                "Up to 250 hours of editing/month",                "12-24 hour turnaround",                "SOC 2 compliance",                "Priority support (2hr response)",                "Advanced asset management",                "Dedicated account manager"
              ]
            },
            {
              id: "enterprise",              badge: "For Industry Leaders",              badgeIcon: Zap,
              price: "Custom",              subtitle: "Unlimited capacity / custom SLA",              buttons: [
                {
                  text: "Schedule Call",                  href: "contact"
                }
              ],
              features: [
                "Unlimited processing capacity",                "4-hour or faster turnaround",                "Zero-knowledge security tier",                "24/7 dedicated support",                "Custom API access",                "On-premise processing option"
              ]
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Get Started"
          tagIcon={Mail}
          title="Ready to Transform Your Pipeline?"
          description="Join the elite companies that trust Raptor for mission-critical content. Reach out for a confidential consultation and custom proposal."
          background={{
            variant: "rotated-rays-static"
          }}
          useInvertedBackground="invertDefault"
          inputPlaceholder="your@company.com"
          buttonText="Request Demo"
          termsText="By signing up, you agree to our Terms of Service. We respect your privacy and will never share your information."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal
          columns={[
            {
              title: "Product",              items: [
                {
                  label: "Features",                  href: "features"
                },
                {
                  label: "Pricing",                  href: "pricing"
                },
                {
                  label: "Security",                  href: "https://raptor.io/security"
                }
              ]
            },
            {
              title: "Company",              items: [
                {
                  label: "About Us",                  href: "https://raptor.io/about"
                },
                {
                  label: "Case Studies",                  href: "https://raptor.io/cases"
                },
                {
                  label: "Contact",                  href: "contact"
                }
              ]
            },
            {
              title: "Legal",              items: [
                {
                  label: "Privacy Policy",                  href: "https://raptor.io/privacy"
                },
                {
                  label: "Terms of Service",                  href: "https://raptor.io/terms"
                },
                {
                  label: "Compliance",                  href: "https://raptor.io/compliance"
                }
              ]
            }
          ]}
          copyrightText="© 2025 Raptor Clipping Agency. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}