import { Github, Linkedin, Mail, MapPin, Phone } from 'lucide-react';

const footerNav = [
  { label: 'About', href: '#about' },
  { label: 'Solutions', href: '#solutions' },
  { label: 'Features', href: '#features' },
  { label: 'Technology', href: '#technology' },
];

const solutions = [
  { label: 'Laundry RFID', href: '#solutions' },
  { label: 'Instrument RFID', href: '#solutions' },
  { label: 'Asset RFID', href: '#solutions' },
  { label: 'Patient ID & EMR', href: '#solutions' },
];

export function Footer() {
  return (
    <footer className="border-t border-white/10 bg-abyss/80">
      <div className="mx-auto max-w-7xl px-4 py-16 sm:px-6 lg:px-8">
        <div className="grid gap-12 md:grid-cols-2 lg:grid-cols-4">
          <div>
            <div className="flex items-center gap-2">
              <span className="flex h-9 w-9 items-center justify-center rounded-lg bg-gradient-to-br from-cyan-400 to-sky-600 text-sm font-black text-slate-950">
                R
              </span>
              <span className="font-display text-lg font-bold text-white">
                Smart<span className="text-cyan-400">RFID</span>
              </span>
            </div>
            <p className="mt-4 text-sm leading-relaxed text-slate-400">
              Enterprise RFID cloud platform untuk healthcare & asset intelligence — tracking, tracing, dan analytics
              real-time.
            </p>
          </div>
          <div>
            <h4 className="text-sm font-semibold uppercase tracking-wider text-white">Navigation</h4>
            <ul className="mt-4 space-y-2">
              {footerNav.map((n) => (
                <li key={n.href}>
                  <a href={n.href} className="text-sm text-slate-400 transition-colors hover:text-cyan-300">
                    {n.label}
                  </a>
                </li>
              ))}
            </ul>
          </div>
          <div>
            <h4 className="text-sm font-semibold uppercase tracking-wider text-white">Solutions</h4>
            <ul className="mt-4 space-y-2">
              {solutions.map((s) => (
                <li key={s.label}>
                  <a href={s.href} className="text-sm text-slate-400 transition-colors hover:text-cyan-300">
                    {s.label}
                  </a>
                </li>
              ))}
            </ul>
          </div>
          <div>
            <h4 className="text-sm font-semibold uppercase tracking-wider text-white">Contact</h4>
            <ul className="mt-4 space-y-3 text-sm text-slate-400">
              <li className="flex items-start gap-2">
                <MapPin className="mt-0.5 h-4 w-4 shrink-0 text-cyan-400" />
                Jakarta Enterprise Tower, Indonesia
              </li>
              <li className="flex items-center gap-2">
                <Phone className="h-4 w-4 text-cyan-400" />
                +62 21 5000 8888
              </li>
              <li className="flex items-center gap-2">
                <Mail className="h-4 w-4 text-cyan-400" />
                enterprise@smartrfid.io
              </li>
            </ul>
            <div className="mt-4 flex gap-3">
              <a
                href="#"
                className="rounded-lg border border-white/10 p-2 text-slate-400 transition-colors hover:border-cyan-400/40 hover:text-cyan-300"
                aria-label="LinkedIn"
              >
                <Linkedin className="h-4 w-4" />
              </a>
              <a
                href="#"
                className="rounded-lg border border-white/10 p-2 text-slate-400 transition-colors hover:border-cyan-400/40 hover:text-cyan-300"
                aria-label="GitHub"
              >
                <Github className="h-4 w-4" />
              </a>
            </div>
          </div>
        </div>
        <div className="mt-12 flex flex-col items-center justify-between gap-4 border-t border-white/10 pt-8 text-xs text-slate-500 sm:flex-row">
          <p>© {new Date().getFullYear()} Smart RFID Integrated Management. All rights reserved.</p>
          <p className="text-slate-600">ISO-ready security · SOC2-aligned practices · Enterprise SLA</p>
        </div>
      </div>
    </footer>
  );
}
