import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
import { Toaster } from "@/components/ui/toaster";

const geistSans = Geist({
  variable: "--font-geist-sans",
  subsets: ["latin"],
});

const geistMono = Geist_Mono({
  variable: "--font-geist-mono",
  subsets: ["latin"],
});

export const metadata: Metadata = {
  title: "Filipe's Hub — Your Private Cloud",
  description: "A multi-agent AI mesh connecting 23+ services behind Cloudflare Tunnel. Zero open ports, Zero Trust security, shared memory across all agents.",
  keywords: ["self-hosted", "private cloud", "Cloudflare Tunnel", "Zero Trust", "AI agents", "Docker"],
  authors: [{ name: "Filipe" }],
  icons: {
    icon: "/logo.svg",
  },
};

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="en" suppressHydrationWarning>
      <body
        className={`${geistSans.variable} ${geistMono.variable} antialiased bg-background text-foreground`}
      >
        {children}
        <Toaster />
      </body>
    </html>
  );
}
