'use client' import { useState } from 'react' import { MainLayout } from '@/components/layout/MainLayout' import { Button } from '@/components/shared/Button' import { Check, ChevronDown } from 'lucide-react' const plans = [ { name: 'Starter', price: { monthly: 49, annual: 39 }, description: 'Perfect for small teams getting started with data analytics.', features: [ 'Up to 5 team members', 'Basic analytics dashboard', 'Real-time monitoring', 'Email support', '5GB storage', ], }, { name: 'Professional', price: { monthly: 99, annual: 89 }, description: 'Advanced features for growing businesses.', features: [ 'Up to 20 team members', 'Advanced analytics', 'Custom dashboards', 'Priority support', '50GB storage', 'API access', ], }, { name: 'Enterprise', price: { monthly: 199, annual: 179 }, description: 'Complete solution for large organizations.', features: [ 'Unlimited team members', 'AI-powered insights', 'Custom integrations', '24/7 phone support', 'Unlimited storage', 'Advanced security', 'Custom training', ], }, ] const faqs = [ { question: 'How does the 14-day trial work?', answer: 'You can try any plan free for 14 days. No credit card required. Cancel anytime.', }, { question: 'Can I change plans later?', answer: 'Yes, you can upgrade or downgrade your plan at any time. Changes take effect immediately.', }, { question: 'What payment methods do you accept?', answer: 'We accept all major credit cards, PayPal, and wire transfers for enterprise customers.', }, { question: 'Is there a setup fee?', answer: 'No, there are no setup fees. You only pay the monthly or annual subscription fee.', }, ] export default function PricingPage() { const [annual, setAnnual] = useState(false) const [openFaq, setOpenFaq] = useState(null) return (

Simple, transparent pricing

Choose the plan that's right for your team

{/* Billing toggle */}
{/* Pricing cards */}
{plans.map((plan) => (

{plan.name}

{plan.description}

${annual ? plan.price.annual : plan.price.monthly} /month

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

Frequently asked questions

{faqs.map((faq, index) => (
{openFaq === index && (
{faq.answer}
)}
))}
) }