import type { Metadata } from "next";
import Link from "next/link";
import { Navbar } from "@/components/public/Navbar";
import { Footer } from "@/components/public/Footer";

export const metadata: Metadata = {
  title: "Terms of Use",
  description:
    "Terms of use for the Belgian Bitcoin Embassy website. Community-driven, non-commercial Bitcoin education platform in Belgium.",
  openGraph: {
    title: "Terms of Use - Belgian Bitcoin Embassy",
    description: "Terms governing the use of the Belgian Bitcoin Embassy platform.",
  },
  alternates: { canonical: "/terms" },
};

export default function TermsPage() {
  return (
    <>
      <Navbar />
      <div className="min-h-screen">
        <div className="max-w-3xl mx-auto px-8 pt-16 pb-24">
          <h1 className="text-4xl font-black mb-8">Terms of Use</h1>

          <div className="space-y-8 text-on-surface-variant leading-relaxed">
            <section>
              <h2 className="text-xl font-bold text-on-surface mb-4">About This Site</h2>
              <p>
                The Belgian Bitcoin Embassy website is a community-driven, non-commercial
                platform focused on Bitcoin education and meetups in Belgium. By using
                this site, you agree to these terms.
              </p>
            </section>

            <section>
              <h2 className="text-xl font-bold text-on-surface mb-4">Content</h2>
              <p>
                Blog content on this site is curated from the Nostr network. The
                Belgian Bitcoin Embassy does not claim ownership of third-party
                content and provides it for educational purposes only. Content
                moderation is applied locally and does not affect the Nostr network.
              </p>
            </section>

            <section>
              <h2 className="text-xl font-bold text-on-surface mb-4">No Financial Advice</h2>
              <p>
                Nothing on this website constitutes financial advice. Bitcoin is a
                volatile asset. Always do your own research and consult qualified
                professionals before making financial decisions.
              </p>
            </section>

            <section>
              <h2 className="text-xl font-bold text-on-surface mb-4">User Conduct</h2>
              <p>
                Users interacting via Nostr (likes, comments) are expected to behave
                respectfully. The moderation team reserves the right to locally hide
                content or block pubkeys that violate community standards.
              </p>
            </section>

            <section>
              <h2 className="text-xl font-bold text-on-surface mb-4">Liability</h2>
              <p>
                The Belgian Bitcoin Embassy is a community initiative, not a legal
                entity. We provide this platform as-is with no warranties. Use at
                your own discretion.
              </p>
            </section>
          </div>
        </div>
      </div>
      <Footer />
    </>
  );
}
