import type { Metadata } from "next";
import { BreadcrumbJsonLd, WebPageJsonLd } from "@/components/seo";
import PricingDocsContent from "./PricingDocsContent";

const BASE_URL = "https://llmhosts.com";

export const metadata: Metadata = {
  title: "Pricing Guide — Free, Pro, and Team Plans",
  description:
    "Detailed comparison of LLMHosts plans. Free for local inference, Pro at $29/mo for multi-device mesh, Team at $99/seat/mo for enterprise features.",
  alternates: {
    canonical: `${BASE_URL}/docs/pricing`,
  },
  openGraph: {
    title: "LLMHosts Pricing Guide",
    description:
      "Free, Pro, and Team plans compared. Start free, scale when you need.",
    url: `${BASE_URL}/docs/pricing`,
    siteName: "LLMHosts",
    type: "website",
    images: [
      {
        url: `${BASE_URL}/og?page=pricing`,
        width: 1200,
        height: 630,
        alt: "LLMHosts Pricing",
      },
    ],
  },
  twitter: {
    card: "summary_large_image",
    title: "LLMHosts Pricing Guide",
    description: "Free, Pro, and Team plans compared side by side.",
    images: [`${BASE_URL}/og?page=pricing`],
  },
};

export default function PricingDocsPage() {
  return (
    <>
      <BreadcrumbJsonLd
        items={[
          { name: "Home", url: BASE_URL },
          { name: "Documentation", url: `${BASE_URL}/docs` },
          { name: "Pricing", url: `${BASE_URL}/docs/pricing` },
        ]}
      />
      <WebPageJsonLd
        name="LLMHosts Pricing Guide"
        description="Detailed comparison of LLMHosts Free, Pro, and Team plans."
        url={`${BASE_URL}/docs/pricing`}
      />
      <PricingDocsContent />
    </>
  );
}
