import { Button } from "@/components/ui/button"
import { Card, CardContent } from "@/components/ui/card"
import { Users, Search, MessageCircle, Target, ArrowRight } from "lucide-react"

const whatsappUrl =
  "https://wa.me/918796625333?text=Hello%2C%20I%20am%20interested%20in%20Agmont%20Advisory%27s%20services.%20Please%20guide%20me."

const calendarUrl = "https://advisory-in.youcanbook.me/"

export const metadata = {
  title: "How We Work - Agmont Advisory | Our Process",
  description: "Discover our proven methodology for business success. Collaborative consulting, deep understanding, and strategic execution.",
}

export default function HowWeWorkPage() {
  const steps = [
    {
      icon: Users,
      title: "Collaborative Consulting",
      description: "We work closely with you to understand your unique challenges and goals",
    },
    {
      icon: Search,
      title: "Deep Understanding",
      description: "Thorough analysis of your business needs and market environment",
    },
    {
      icon: Target,
      title: "Research-Based Solutions",
      description: "Evidence-driven strategies tailored to your specific situation",
    },
    {
      icon: MessageCircle,
      title: "Transparent Communication",
      description: "Clear, honest communication throughout our partnership",
    },
    {
      icon: ArrowRight,
      title: "Strategic Execution",
      description: "Flawless implementation of strategic plans for measurable results",
    },
  ]

  return (
    <div className="flex flex-col">
      <section className="py-24 bg-gradient-to-br from-slate-900 to-slate-800 text-white">
        <div className="container mx-auto px-4 md:px-6">
          <div className="max-w-4xl mx-auto text-center space-y-6">
            <h1 className="text-5xl md:text-6xl font-bold text-balance">{"How We Work"}</h1>
            <p className="text-xl text-slate-300 leading-relaxed">
              {"Our proven methodology ensures your business success"}
            </p>
          </div>
        </div>
      </section>

      <section className="py-24 bg-background">
        <div className="container mx-auto px-4 md:px-6">
          <div className="max-w-6xl mx-auto grid md:grid-cols-2 lg:grid-cols-3 gap-8">
            {steps.map((step, i) => {
              const Icon = step.icon
              return (
                <Card key={i} className="border-2">
                  <CardContent className="p-8 space-y-4">
                    <div className="w-14 h-14 rounded-xl bg-slate-900 flex items-center justify-center">
                      <Icon className="h-7 w-7 text-white" />
                    </div>
                    <h3 className="text-2xl font-bold text-slate-900">{step.title}</h3>
                    <p className="text-muted-foreground leading-relaxed">{step.description}</p>
                  </CardContent>
                </Card>
              )
            })}
          </div>
          <div className="text-center mt-12">
            <Button asChild size="lg" className="bg-slate-900 hover:bg-slate-800 text-lg h-14">
              <a href={whatsappUrl} target="_blank" rel="noopener noreferrer">
                {"Experience Our Process"} <ArrowRight className="ml-2 h-5 w-5" />
              </a>
            </Button>
          </div>
        </div>
      </section>
    </div>
  )
}
