"use client";

import ReactLenis from "lenis/react";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import PricingCardNine from "@/components/sections/pricing/PricingCardNine";
import ContactCTA from "@/components/sections/contact/ContactCTA";
import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";

export default function PricingPage() {
    const navItems = [
        { name: "Home", id: "/" },
        { name: "About", id: "/about" },
        { name: "Services", id: "/services" },
        { name: "Pricing", id: "/pricing" },
        { name: "Contact", id: "/contact" },
    ];

    return (
        <ThemeProvider
            defaultButtonVariant="icon-arrow"
            defaultTextAnimation="entrance-slide"
            borderRadius="rounded"
            contentWidth="medium"
            sizing="medium"
            background="none"
            cardStyle="glass-elevated"
            primaryButtonStyle="shadow"
            secondaryButtonStyle="solid"
            headingFontWeight="medium"
        >
            <ReactLenis root>
                <div id="nav" data-section="nav">
                    <NavbarLayoutFloatingInline
                        navItems={navItems}
                        brandName="Coach"
                        button={{ text: "Contact", href: "/contact" }}
                    />
                </div>
                <div id="pricing" data-section="pricing">
                    <PricingCardNine
                        title="Simple Pricing"
                        description="Choose your plan."
                        animationType="slide-up"
                        textboxLayout="default"
                        useInvertedBackground={false}
                        plans={[
                            { id: "p1", title: "Starter", price: "$999", period: "/mo", features: ["Feature 1"], button: { text: "Get Started", href: "/contact" } }
                        ]}
                    />
                </div>
                <ContactCTA
                    tag="Ready?"
                    title="Get in Touch"
                    description="Contact us for more info."
                    buttons={[{ text: "Email Us", href: "/contact" }]}
                    background={{ variant: "plain" }}
                    useInvertedBackground={true}
                />
                <FooterBaseReveal
                    logoText="Coach"
                    columns={[{ title: "Legal", items: [{ label: "Privacy", href: "#" }] }]}
                />
            </ReactLenis>
        </ThemeProvider>
    );
}