export default function Process() {
  const steps = [
    { t: "Free check", d: "We assess scope, risks and impact in 20–30 minutes." },
    { t: "Sprint or managed", d: "Pick a fixed sprint or managed plan with clear outcomes." },
    { t: "Proof", d: "We deliver and prove it: reports, tests, and notes you keep." },
  ];

  return (
    <section className="relative py-24 bg-gradient-to-br from-blue-50/30 via-white to-purple-50/30 dark:from-blue-950/10 dark:to-purple-950/10">
      <div className="container mx-auto max-w-6xl px-4 text-center">
        <h2 className="text-3xl font-bold tracking-tight bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent">
          How we work
        </h2>
        <div className="mt-12 grid gap-8 sm:grid-cols-3">
          {steps.map((s, i) => (
            <div
              key={i}
              className="rounded-2xl border border-neutral-200 dark:border-neutral-800 bg-white/60 dark:bg-neutral-900/60 p-8 shadow-sm hover:shadow-md transition backdrop-blur animate-[fadeInUp_0.6s_ease_forwards]"
              style={{ animationDelay: `${i * 120}ms` }}
            >
              <div className="mx-auto h-10 w-10 rounded-xl bg-gradient-to-r from-blue-600 to-purple-600 text-white grid place-items-center font-semibold">
                {i + 1}
              </div>
              <div className="mt-4 text-lg font-semibold text-neutral-900 dark:text-white">{s.t}</div>
              <p className="mt-2 text-sm text-neutral-600 dark:text-neutral-300">{s.d}</p>
            </div>
          ))}
        </div>
      </div>
    </section>
  );
}
