'use client'; import Link from 'next/link'; import { Button } from '@/components/ui/button'; import { Badge } from '@/components/ui/badge'; import { Sparkles, ArrowRight, ArrowLeft, Check, Zap, Crown, Building2, HelpCircle, } from 'lucide-react'; import { useState } from 'react'; import { cn } from '@/lib/utils'; const plans = [ { name: 'Free', price: 0, yearlyPrice: 0, description: 'Try ScanMenu for free with basic features.', icon: Sparkles, features: [ '1 restaurant', 'Up to 15 menu items', '2 QR codes', 'Basic ordering', '50 orders/month', 'Community support', ], cta: 'Get Started', popular: false, }, { name: 'Starter', price: 29, yearlyPrice: 24, description: 'Perfect for small restaurants just getting started.', icon: Zap, features: [ '1 restaurant', 'Up to 50 menu items', '10 QR codes', 'Dine-in + Takeaway', 'Basic analytics', 'Email support', '500 orders/month', 'Custom branding', ], cta: 'Start Trial', popular: false, }, { name: 'Pro', price: 79, yearlyPrice: 66, description: 'For growing restaurants with advanced needs.', icon: Crown, features: [ 'Unlimited restaurants', 'Unlimited menu items', 'Unlimited QR codes', 'Dine-in + Takeaway + Delivery', 'Advanced analytics', 'Priority support', 'Unlimited orders', 'Custom branding', 'API access', 'Team members (up to 10)', 'Real-time order tracking', 'Product options & extras', ], cta: 'Start Trial', popular: true, }, { name: 'Enterprise', price: 199, yearlyPrice: 166, description: 'For multi-location chains and franchises.', icon: Building2, features: [ 'Everything in Pro', 'Multi-location dashboard', 'Unlimited team members', 'Dedicated account manager', 'Custom integrations', '99.9% SLA guarantee', 'White-label solution', 'Onboarding training', 'Advanced security', 'Custom API limits', 'Phone support', 'Invoice billing', ], cta: 'Contact Sales', popular: false, }, ]; const faq = [ { q: 'Can I try ScanMenu for free?', a: 'Yes! Our Free plan lets you try ScanMenu with basic features at no cost. We also offer a 14-day free trial on all paid plans — no credit card required.' }, { q: 'How do QR codes work?', a: 'Each QR code is linked to a specific table or order type (takeaway/delivery). Customers scan with their phone camera and instantly see your menu — no app download needed.' }, { q: 'Can I switch plans later?', a: 'Absolutely! You can upgrade or downgrade your plan at any time. Changes take effect at the start of your next billing cycle, and we prorate any differences.' }, { q: 'Do customers need to install an app?', a: 'No! That\'s the beauty of ScanMenu. Customers simply scan a QR code and your menu opens in their phone\'s browser. Zero friction, zero downloads.' }, { q: 'What payment methods do you accept?', a: 'We accept all major credit cards (Visa, Mastercard, Amex, Discover) through Stripe. Enterprise customers can also pay via invoice.' }, { q: 'Is my data secure?', a: 'Yes. We use Supabase (built on PostgreSQL) with row-level security, SSL encryption, and regular backups. Your data is safe and compliant.' }, ]; export default function PricingPage() { const [annual, setAnnual] = useState(false); const [openFaq, setOpenFaq] = useState(0); return (
{/* Nav */} {/* Header */}
Pricing

Simple, transparent pricing

Choose the plan that fits your restaurant. Upgrade, downgrade, or cancel anytime.

{/* Toggle */}
Monthly Annual Save 17%
{/* Plans */}
{plans.map((plan) => (
{plan.popular && (
Most Popular
)}

{plan.name}

{plan.description}

${annual ? plan.yearlyPrice : plan.price} {plan.price > 0 && /month}
{annual && plan.price > 0 && (

${plan.yearlyPrice * 12}/year (save ${(plan.price - plan.yearlyPrice) * 12})

)}
{plan.features.map((feature) => (
{feature}
))}
))}
{/* FAQ */}
FAQ

Frequently asked questions

{faq.map((item, i) => (
{openFaq === i && (

{item.a}

)}
))}
{/* Footer CTA */}

Still have questions?

We're here to help. Contact our team for a personalized demo.

); }