"use client" import { Building2, CreditCard, Landmark, Globe } from "lucide-react" interface Props { onSelect: (rail: "bank" | "gocardless" | "card" | "fpx") => void amount: number } export function PaymentStep({ onSelect, amount }: Props) { const pounds = (amount / 100).toFixed(2) const options = [ { id: "bank" as const, icon: Building2, title: "Bank Transfer", subtitle: "Zero fees — 100% goes to charity", tag: "Recommended", tagColor: "bg-success-green text-white", detail: "Use your banking app to transfer directly", }, { id: "gocardless" as const, icon: Landmark, title: "Direct Debit", subtitle: "Automatic collection — set and forget", tag: "Low fees", tagColor: "bg-trust-blue/10 text-trust-blue", detail: "We'll collect via GoCardless", }, { id: "card" as const, icon: CreditCard, title: "Card Payment via Stripe", subtitle: "Pay now by Visa, Mastercard, Amex", tag: "Stripe", tagColor: "bg-purple-100 text-purple-700", detail: "Secure payment powered by Stripe", }, { id: "fpx" as const, icon: Globe, title: "FPX Online Banking", subtitle: "Pay via Malaysian bank account", tag: "Malaysia", tagColor: "bg-amber-500/10 text-amber-700", detail: "Instant payment from 18 Malaysian banks", }, ] return (

How would you like to pay?

Pledge: £{pounds}

{options.map((opt) => ( ))}
) }