'use client' import { useState } from 'react' import { useSearchParams } from 'next/navigation' import { Card } from '@/components/ui/card' import { CheckoutSteps } from '@/components/checkout/checkout-steps' import { CheckoutSummary } from '@/components/checkout/checkout-summary' import { PaymentMethodCard } from '@/components/checkout/payment-method-card' import { Button } from '@/components/ui/button' import { Input } from '@/components/ui/input' import { Label } from '@/components/ui/label' import { getPricingPlanById } from '@/lib/mock-data' import Link from 'next/link' import { Rocket, ChevronRight } from 'lucide-react' export function CheckoutContent() { const searchParams = useSearchParams() const planId = searchParams.get('plan') || 'growth-web' const step = (searchParams.get('step') as 'account' | 'billing' | 'payment') || 'account' const [currentStep, setCurrentStep] = useState<'account' | 'billing' | 'payment'>(step) const [selectedPaymentMethod, setSelectedPaymentMethod] = useState('card') const plan = getPricingPlanById(planId) if (!plan) { return (