import Link from "next/link";
import { useI18n } from "@/lib/i18n";

export function SiteFooter() {
  const { t } = useI18n();
  return (
    <footer className="border-t border-border py-6 text-center text-xs text-muted-foreground">
      <div className="mx-auto max-w-5xl px-6 flex flex-col sm:flex-row items-center justify-between gap-4">
        <span>{t('landing.footer.rights')}</span>
        <div className="flex items-center gap-6">
          <Link href="/pricing" className="hover:text-foreground transition-colors">
            {t('landing.nav.pricing')}
          </Link>
          <Link href="/pricing#terms" className="hover:text-foreground transition-colors">
            {t('layout.footer.terms')}
          </Link>
          <Link href="/pricing#privacy" className="hover:text-foreground transition-colors">
            {t('layout.footer.privacy')}
          </Link>
        </div>
      </div>
    </footer>
  );
}
