'use client'

import ScrollReveal from '@/components/ui/ScrollReveal'

export default function CTASection() {
  return (
    <section className="min-h-[60vh] flex flex-col items-center justify-center relative px-4 py-24">
      <div className="absolute inset-0 bg-gradient-to-b from-deep to-ocean" />

      {/* Soft glow behind CTA */}
      <div
        className="absolute top-1/3 left-1/2 -translate-x-1/2 w-[400px] h-[400px] rounded-full"
        style={{ background: 'radial-gradient(circle, rgba(45, 212, 191, 0.06) 0%, transparent 70%)' }}
      />

      <div className="relative z-10 text-center max-w-3xl">
        <ScrollReveal>
          <h2 className="font-sans font-extralight text-4xl md:text-6xl text-foam/80 mb-5 tracking-tight">
            Ready to <span className="text-flow">flow</span>?
          </h2>
        </ScrollReveal>

        <ScrollReveal delay={0.2}>
          <p className="font-caveat text-2xl text-foam/35 mb-14">
            You already are.
          </p>
        </ScrollReveal>

        <ScrollReveal delay={0.3}>
          <p className="text-mist/25 text-sm mb-10 tracking-wide font-light">
            NoFi → FlowFi → ???
          </p>
        </ScrollReveal>

        <ScrollReveal delay={0.4}>
          <a
            href="https://nofi.lol"
            className="inline-block border border-flow/15 px-10 py-4 text-foam/30 hover:text-flow/60 hover:border-flow/40 hover:bg-flow/5 transition-all duration-700 text-sm rounded-full font-light"
          >
            ← back to NoFi
          </a>
        </ScrollReveal>
      </div>

      {/* Footer — clean, minimal */}
      <footer className="relative z-10 w-full mt-24 pt-6 flex justify-between items-center max-w-4xl"
        style={{ borderTop: '1px solid rgba(45, 212, 191, 0.08)' }}
      >
        <span className="text-mist/20 text-xs font-light">
          Part of the CoFi cinematic universe
        </span>
        <a
          href="https://nofi.lol"
          className="text-mist/20 text-xs font-light hover:text-flow/40 transition-all duration-700"
        >
          nofi.lol
        </a>
      </footer>
    </section>
  )
}
