"use client";

import Link from "next/link";
import { ArrowRight, Linkedin, Quote, Users } from "lucide-react";
import ImmersivePage from "@/components/immersive/ImmersivePage";
import RevealText from "@/components/immersive/RevealText";
import Reveal from "@/components/immersive/Reveal";

const VALUES = ["Integrity", "Transparency", "Professionalism"] as const;

/** About page, styled after the immersive landing page. */
export default function AboutPage() {
  return (
    <ImmersivePage>
      <h1 className="sr-only">About Oxyfinz</h1>

      {/* Intro */}
      <section className="px-6 pt-14 lg:px-12 lg:pt-20">
        <div className="mx-auto w-full max-w-[88rem]">
          <div className="immersive-section-head">
            <span className="immersive-label">About Oxyfinz</span>
            <span className="immersive-label">[ Company ]</span>
          </div>

          <div className="grid gap-10 lg:grid-cols-12 lg:gap-16">
            <div className="lg:col-span-7">
              <RevealText as="h2" immediate className="immersive-display">
                Bridging visions with capital.
              </RevealText>
            </div>
            <Reveal delay={0.15} className="flex items-end lg:col-span-4 lg:col-start-9">
              <p className="text-base leading-relaxed text-[hsl(var(--muted-foreground))]">
                At Oxyfinz, we facilitate the business sphere by aligning diverse
                investment opportunities with end customers pursuing financial
                resources using our expertise and innovative connections. We aim to
                create a balanced financial environment that promotes growth for all
                involved parties, from investors to end customers.
              </p>
            </Reveal>
          </div>
        </div>
      </section>

      {/* Leadership */}
      <section className="immersive-section mt-16 px-6 py-16 lg:mt-24 lg:px-12 lg:py-24">
        <div className="mx-auto w-full max-w-[88rem]">
          <div className="immersive-section-head">
            <span className="immersive-label immersive-label-accent">Leadership</span>
            <span className="immersive-label">[ 01 ]</span>
          </div>

          <Reveal className="mx-auto max-w-4xl">
            <div className="immersive-card p-8 lg:p-12">
              <div className="flex items-start gap-4">
                <span className="immersive-chip shrink-0">
                  <Quote className="size-5" aria-hidden />
                </span>
                <h3 className="font-heading pt-1.5 text-2xl font-medium tracking-tight lg:text-3xl">
                  Vedant Makhija
                </h3>
              </div>
              <p className="mt-6 text-base leading-relaxed text-[hsl(var(--muted-foreground))] lg:text-lg">
                Under the leadership of Oxyfinz, a distinguished fintech expert with a
                notable track record. His proficiency covers an extensive range from
                payment processing to investing in diverse debt instruments. Supported
                by an impressive team of over 23 professionals, Vedant&apos;s vision
                ensures Oxyfinz maintains its status as a model of integrity,
                transparency, and professionalism within the finance industry.
              </p>
              <a
                href="https://www.linkedin.com/in/vedant-makhija"
                target="_blank"
                rel="noopener noreferrer"
                className="mt-8 inline-flex items-center gap-2 rounded-lg border border-[hsl(var(--primary))]/25 bg-[hsl(var(--primary))]/10 px-5 py-2.5 text-sm font-semibold text-[hsl(var(--primary))] transition-colors hover:bg-[hsl(var(--primary))]/20"
              >
                <Linkedin className="size-4" aria-hidden />
                Vedant Makhija
              </a>
            </div>
          </Reveal>

          {/* Values */}
          <Reveal stagger={0.08} className="mt-14 flex flex-wrap items-center justify-center gap-3 lg:mt-16">
            {VALUES.map((value) => (
              <span
                key={value}
                data-reveal
                className="inline-flex items-center gap-2 rounded-full border border-white/12 px-5 py-2.5 text-sm font-medium text-[hsl(var(--foreground))]"
              >
                <Users className="size-4 text-[hsl(var(--primary))]" aria-hidden />
                {value}
              </span>
            ))}
          </Reveal>

          {/* CTA */}
          <Reveal delay={0.1} className="mt-14 lg:mt-16">
            <div className="flex flex-col gap-5 rounded-xl border border-[hsl(var(--primary))]/20 bg-[hsl(var(--primary))]/[0.06] p-7 sm:flex-row sm:items-center sm:justify-between lg:p-8">
              <div>
                <p className="font-heading text-lg font-medium tracking-tight">
                  Ready to get started?
                </p>
                <p className="mt-1 text-sm text-[hsl(var(--muted-foreground))]">
                  Let&apos;s build something great together. Get in touch with our team.
                </p>
              </div>
              <Link
                href="/contact"
                className="group inline-flex shrink-0 items-center justify-center gap-2 rounded-lg bg-[hsl(var(--primary))] px-6 py-3 text-sm font-semibold text-[hsl(var(--primary-foreground))] transition-colors hover:bg-[hsl(var(--primary-hover))]"
              >
                Contact us
                <ArrowRight className="size-4 transition-transform group-hover:translate-x-0.5" />
              </Link>
            </div>
          </Reveal>
        </div>
      </section>
    </ImmersivePage>
  );
}
