import Link from "next/link";
import { Building2 } from "lucide-react";

export function Footer() {
  return (
    <footer className="bg-navy-900 text-white">
      <div className="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 py-12">
        <div className="grid grid-cols-1 md:grid-cols-4 gap-8">
          {/* Brand */}
          <div className="col-span-1 md:col-span-2">
            <Link href="/" className="flex items-center gap-2 mb-4">
              <div className="flex h-9 w-9 items-center justify-center rounded-lg bg-navy-700">
                <Building2 className="h-5 w-5 text-gold-400" />
              </div>
              <span className="text-xl font-bold">
                CRE<span className="text-gold-400">dispo</span>
              </span>
            </Link>
            <p className="text-navy-300 text-sm max-w-md leading-relaxed">
              The intelligent disposition platform for commercial real estate professionals. 
              Automate buyer-seller matching, streamline outreach, and close deals faster.
            </p>
          </div>

          {/* Product */}
          <div>
            <h4 className="text-sm font-semibold text-gold-400 uppercase tracking-wider mb-4">
              Product
            </h4>
            <ul className="space-y-2">
              <li>
                <Link href="#features" className="text-sm text-navy-300 hover:text-white transition-colors">
                  Features
                </Link>
              </li>
              <li>
                <Link href="#pricing" className="text-sm text-navy-300 hover:text-white transition-colors">
                  Pricing
                </Link>
              </li>
              <li>
                <Link href="/login" className="text-sm text-navy-300 hover:text-white transition-colors">
                  Agent Login
                </Link>
              </li>
              <li>
                <Link href="/portal" className="text-sm text-navy-300 hover:text-white transition-colors">
                  Buyer Portal
                </Link>
              </li>
            </ul>
          </div>

          {/* Company */}
          <div>
            <h4 className="text-sm font-semibold text-gold-400 uppercase tracking-wider mb-4">
              Company
            </h4>
            <ul className="space-y-2">
              <li>
                <span className="text-sm text-navy-300">About</span>
              </li>
              <li>
                <span className="text-sm text-navy-300">Privacy Policy</span>
              </li>
              <li>
                <span className="text-sm text-navy-300">Terms of Service</span>
              </li>
              <li>
                <a href="mailto:support@credispo.com" className="text-sm text-navy-300 hover:text-white transition-colors">
                  Support
                </a>
              </li>
            </ul>
          </div>
        </div>

        <div className="border-t border-navy-700 mt-10 pt-8 flex flex-col sm:flex-row justify-between items-center gap-4">
          <p className="text-sm text-navy-400">
            © {new Date().getFullYear()} CREdispo. All rights reserved.
          </p>
          <p className="text-sm text-navy-500">
            Built for CRE professionals who close deals.
          </p>
        </div>
      </div>
    </footer>
  );
}
