import Link from "next/link";

const Topbar = () => {
  return (
    <aside
      aria-label="ChatHiro product announcement"
      className="bg-brand px-4 py-2.5 text-white sm:py-3"
    >
      <div className="mx-auto flex max-w-7xl flex-wrap items-center justify-center gap-x-3 gap-y-1.5 text-center">
        <span className="rounded-full bg-white/20 px-2.5 py-0.5 text-[11px] font-bold uppercase tracking-wide sm:px-3 sm:py-1 sm:text-xs">
          New
        </span>

        <p className="text-xs leading-relaxed sm:text-sm">
          Meet <strong>ChatHiro</strong> — your 24/7 AI-powered customer support
          teammate.
          <Link
            href="/features"
            className="ml-1 font-semibold underline underline-offset-4 transition-colors hover:text-white/80 focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-white"
          >
            Explore ChatHiro
            <span className="sr-only"> customer support features</span>
          </Link>
        </p>
      </div>
    </aside>
  );
};

export default Topbar;
