import type { Metadata } from "next";
import SolutionsPage from "./solutions-page";

export const metadata: Metadata = {
  title: "NEXORA AI | حلول الذكاء الاصطناعي لخدمة العملاء والمبيعات والأتمتة",
  description: "حلول ذكية للشركات تجمع خدمة العملاء والمبيعات وإدارة المحادثات والأتمتة والوكلاء الرقميين في منصة واحدة.",
  alternates: { canonical: "/solutions", languages: { "ar-SA": "/solutions", en: "/en/solutions" } },
  openGraph: {
    title: "NEXORA AI | حلول الذكاء الاصطناعي للشركات",
    description: "خدمة العملاء والمبيعات وإدارة المحادثات والأتمتة في منصة واحدة.",
    type: "website",
    locale: "ar_SA",
  },
};

export default function ArabicSolutionsPage() {
  const structuredData = {
    "@context": "https://schema.org",
    "@type": "Service",
    name: "حلول NEXORA AI للشركات",
    serviceType: "حلول الوكلاء الرقميين والأتمتة وإدارة المحادثات",
    provider: { "@type": "Organization", name: "NEXORA AI" },
    areaServed: "Worldwide",
    inLanguage: "ar",
    description: metadata.description,
  };
  return <><script type="application/ld+json" dangerouslySetInnerHTML={{ __html: JSON.stringify(structuredData) }} /><SolutionsPage lang="ar" /></>;
}
