'use client';

import { motion } from 'framer-motion';

export default function Footer() {
  const currentYear = new Date().getFullYear();

  return (
    <footer className="relative py-12 px-4">
      <div className="max-w-6xl mx-auto border-t border-gray-600 pt-12">
        <motion.div
          className="flex flex-col md:flex-row items-center justify-center gap-6"
          initial={{ opacity: 0 }}
          whileInView={{ opacity: 1 }}
          viewport={{ once: true }}
          transition={{ duration: 0.6 }}
        >
          {/* Brand Section */}
          <div className="inline-flex items-center gap-2 px-4 py-2 rounded-full border border-purple-400">
            <span className="text-base font-bold bg-clip-text text-transparent bg-gradient-to-r from-purple-400 to-cyan-400">Kit</span>
            <span className="text-base text-gray-600">•</span>
            <span className="text-base text-purple-400">Open Source</span>
          </div>

          {/* Copyright */}
          <div className="text-center">
            <p className="text-base text-gray-500">
              © {currentYear} Kit. Built with Next.js 16 & Tailwind CSS 4.
            </p>
          </div>
        </motion.div>
      </div>
    </footer>
  );
}
