import { Metadata } from "next";
import Image from "next/image";

export const metadata: Metadata = {
  title: "Opp lens - AI-Powered Tender Management for SMEs | Win More Tenders",
  description:
    "Automated tender management platform for SMEs. Find tailored tenders, automate document handling, and get real-time alerts. Win more opportunities with less effort.",
  keywords:
    "tender management, AI tender search, SME tenders, public procurement, automated bidding, tender alerts",
  authors: [{ name: "PBL Partners AB" }],
  openGraph: {
    title: "Opp lens - AI-Powered Tender Management",
    description: "Win more tenders automatically with our AI-powered platform",
    type: "website",
    locale: "en_US",
    siteName: "Opp lens",
  },
  icons: {
    icon: "/fav-icon.svg",
  },
};

export default function Home() {
  const advItems = [
    {
      title: "EU Public market.",
      amount: "€2 Trillion",
      description:
        "The colossal market that only 15% of the value reaches SMEs. It's time to compete.",
    },
    {
      title: "The Missing Share.",
      amount: "85%",
      description:
        "This contract value is currently monopolized by large firms. It's the revenue you are losing.",
    },
    {
      title: "Relevant Tenders.",
      amount: "+1500",
      description:
        "Massive of daily opportunities OppLens AI analyzes and matches to your business.",
    },
  ];
  return (
    <main className="lg:px-20">
      <section className="flex flex-col gap-4 justify-between lg:flex-row ">
        <div className="w-full flex flex-col  gap-10 lg:gap-4 lg:w-1/2 lg:p-0">
          <h1 className="font-black text-6xl text-[#013280]">AI-Powered</h1>
          <h2 className="font-black text-(--primary) text-5xl lg:text-3xl leading-14">
            Tender Management
          </h2>
          <div className="flex flex-col gap-6 ">
            <h3 className="font-black text-3xl lg:text-xl text-[#222]">
              Win more tenders, automatically!
            </h3>
            <p className="font-normal text-[#777]">
              Our platform finds tenders tailored to your business, automates
              document handling, and sends real-time alerts. Win more
              opportunities with less effort and zero manual search.
            </p>
          </div>
        </div>
        <div className="mx-12 md:mx-52 lg:mx-28 -z-20 relative flex justify-center h-[650px] lg:h-[505px]">
          <span className="opacity-0 lg:opacity-100">
            <Image
              src={"/dynamic-island.svg"}
              alt="dynamic island"
              width={60}
              height={22}
              className="absolute top-4 left-1/2 -translate-x-1/2"
            />
          </span>
          <span className="opacity-100 lg:opacity-0">
            <Image
              src={"/dynamic-island.svg"}
              alt="dynamic island"
              width={90}
              height={22}
              className="absolute top-4 left-1/2 -translate-x-1/2"
            />
          </span>
          <Image
            className="-z-10 border-8 border-black rounded-4xl overflow-hidden h-full w-full"
            src="/mobile.gif"
            width={300}
            height={920}
            loading="lazy"
            alt="phone"
          />
        </div>
      </section>
      <section className="flex flex-col gap-6 bg-gradient-to-b from-[#011132] to-[#012B80] text-white rounded-[56px] relative py-13 px-14 -mt-36 z-20 md:grid lg:grid-cols-3 lg:flex-row">
        {advItems.map((item) => (
          <article
            key={item.title}
            className="flex flex-col gap-4 text-center items-center">
            <p className="font-black text-[90px] lg:text-7xl">{item.amount}</p>
            <h3 className="font-semibold  lg:text-xl text-3xl capitalize text-[#99dde5]">
              {item.title}
            </h3>

            <p className="font-normal text-[16px]">{item.description}</p>
          </article>
        ))}
      </section>
    </main>
  );
}
