import { Hero } from "@/components/marketing/hero"
import { Marquee } from "@/components/marketing/marquee"
import { Problem } from "@/components/marketing/problem"
import { Features } from "@/components/marketing/features"
import { HowItWorks } from "@/components/marketing/how-it-works"
import { Testimonials } from "@/components/marketing/testimonials"
import { PricingSection } from "@/components/marketing/pricing-section"
import { FAQ } from "@/components/marketing/faq"
import { CtaBanner } from "@/components/marketing/cta-banner"
import { annualEnabled } from "@/lib/stripe/plans"

export const metadata = {
  title: { absolute: "Property Management Software for Independent Landlords" },
  description: "Track rent, manage maintenance, monitor leases, and keep expenses organised — all in one dashboard built for independent landlords. Free to start.",
  alternates: { canonical: "/" },
  openGraph: {
    title: "Property management without the chaos",
    description: "Track rent, manage maintenance, monitor leases, and keep expenses organised — all in one dashboard built for independent landlords. Free to start.",
    url: "/",
    type: "website",
  },
}

export default function LandingPage() {
  return (
    <>
      <Hero />
      <Marquee />
      <Problem />
      <Features />
      <HowItWorks />
      <Testimonials />
      <PricingSection annualEnabled={annualEnabled()} />
      <FAQ />
      <CtaBanner />
    </>
  )
}
