import type { Metadata } from "next"
import { HeroSection } from "@/components/hero-section"
import { StatsSection } from "@/components/stats-section"
import { FeaturesSection } from "@/components/features-section"
import { ProductShowcaseSection } from "@/components/product-showcase-section"
import { HowItWorksSection } from "@/components/how-it-works-section"
import { ServicesSection } from "@/components/services-section"
import { ServiceAreasSection } from "@/components/service-areas-section"
import { ReviewsSection } from "@/components/reviews-section"
import { RequestMachineSection } from "@/components/request-machine-section"
import { ContactSection } from "@/components/contact-section"
import { StructuredData } from "@/components/structured-data"
import { OrganizationSchema } from "@/components/organization-schema"
import { generateSEOMetadata } from "@/lib/seo"
import { getSeoPageDefinition } from "@/lib/seo-registry"

const homeSeo = getSeoPageDefinition("home")

export const metadata: Metadata = generateSEOMetadata({
  title: homeSeo.title,
  description: homeSeo.description,
  path: homeSeo.path,
  keywords: [...homeSeo.keywords],
})

export default function Home() {
  return (
    <>
      <StructuredData />
      <OrganizationSchema />
      <HeroSection />
      <StatsSection />
      <FeaturesSection />
      <ProductShowcaseSection />
      <HowItWorksSection />
      <ServicesSection />
      <ServiceAreasSection />
      <ReviewsSection />
      <RequestMachineSection />
      <ContactSection />
    </>
  )
}
