import React from 'react';

export const Footer: React.FC = () => {
  return (
    <footer className="py-12 px-6 border-t hairline bg-white">
      <div className="max-w-6xl mx-auto">
        <div className="grid md:grid-cols-12 gap-10">
          <div className="md:col-span-5">
            <div className="flex items-center gap-3 mb-3">
              <div className="w-9 h-9 rounded-md border hairline bg-slate-900 text-white flex items-center justify-center font-extrabold text-sm">
                IF
              </div>
              <div>
                <div className="font-semibold text-slate-900">InfraFabric Red Team</div>
                <div className="mono text-[11px] text-slate-500">Shadow Dossiers</div>
              </div>
            </div>
            <p className="text-sm text-slate-700 leading-relaxed max-w-md">
              Satirical critical commentary, published alongside verification artifacts (hashes, traces, evidence index).
            </p>
          </div>

          <div className="md:col-span-7 grid sm:grid-cols-3 gap-8">
            <div>
              <div className="mono text-[11px] uppercase tracking-[0.18em] text-slate-500 mb-3">Links</div>
              <ul className="space-y-2 text-sm">
                <li><a className="underline hover:no-underline" href="#dossiers">Dossiers</a></li>
                <li><a className="underline hover:no-underline" href="#editions">Editions</a></li>
                <li><a className="underline hover:no-underline" href="#dossiers" target="_blank" rel="noopener noreferrer">Evidence index</a></li>
              </ul>
            </div>
            <div>
              <div className="mono text-[11px] uppercase tracking-[0.18em] text-slate-500 mb-3">Contact</div>
              <ul className="space-y-2 text-sm">
                <li><a className="underline hover:no-underline" href="mailto:dave@infrafabric.io">dave@infrafabric.io</a></li>
                <li><a className="underline hover:no-underline" href="mailto:redteam@infrafabric.io">redteam@infrafabric.io</a></li>
                <li><a className="underline hover:no-underline" href="https://x.com/IF_Dave" target="_blank" rel="noopener noreferrer">@IF_Dave</a></li>
              </ul>
            </div>
            <div>
              <div className="mono text-[11px] uppercase tracking-[0.18em] text-slate-500 mb-3">Notice</div>
              <p className="text-sm text-slate-700 leading-relaxed">
                This is satire/parody and critical commentary; not affiliated with any vendor. Nothing here is presented as a statement of fact.
              </p>
              <a className="mt-3 inline-block text-sm font-semibold underline hover:no-underline" href="#disclaimer">Read the disclaimer</a>
            </div>
          </div>
        </div>

        <div className="mt-10 pt-6 border-t hairline">
          <p className="mono text-[11px] text-slate-500">
            © 2025 InfraFabric. Shadow Dossiers.
          </p>
        </div>
      </div>
    </footer>
  );
};
