import type { Metadata } from "next";
import { Syne, Inter, JetBrains_Mono } from "next/font/google";
import "./globals.css";

const syne = Syne({
  subsets: ["latin"],
  variable: "--font-syne",
  weight: ["400", "500", "600", "700", "800"],
  display: "swap",
});
const inter = Inter({
  subsets: ["latin"],
  variable: "--font-inter",
  weight: ["300", "400", "500", "600"],
  display: "swap",
});
const jetbrains = JetBrains_Mono({
  subsets: ["latin"],
  variable: "--font-jetbrains",
  weight: ["300", "400", "500", "600"],
  display: "swap",
});

export const metadata: Metadata = {
  title: "NEXUS · AI Stock Portfolio Tracker",
  description: "Upload your portfolio screenshot and let AI analyze your investments instantly.",
  keywords: ["stock portfolio", "AI analysis", "investment tracker", "Llama 4 Scout", "Groq"],
};

export default function RootLayout({ children }: { children: React.ReactNode }) {
  return (
    <html lang="en" className="dark scroll-smooth">
      <body className={`${syne.variable} ${inter.variable} ${jetbrains.variable} font-inter antialiased`}>
        {children}
      </body>
    </html>
  );
}
