'use client'; import { useState } from 'react'; import type { Metadata } from 'next'; import Pricing from '@/components/Pricing'; import styles from './pricing.module.css'; export default function PricingPage() { const [openFaqIndex, setOpenFaqIndex] = useState(0); const faqs = [ { question: 'Can I change plans later?', answer: "Yes! You can upgrade or downgrade your plan at any time. Changes take effect immediately, and we'll prorate any charges." }, { question: 'What payment methods do you accept?', answer: 'We accept all major credit cards (Visa, MasterCard, American Express), PayPal, and bank transfers for annual plans.' }, { question: 'Is there a free trial?', answer: 'Yes! All paid plans come with a 14-day free trial. No credit card required to start.' }, { question: 'Can I cancel anytime?', answer: 'Absolutely. You can cancel your subscription at any time with no cancellation fees. Your access continues until the end of your billing period.' }, { question: 'Do you offer discounts for nonprofits?', answer: 'Yes! We offer special pricing for nonprofits and educational institutions. Contact our sales team for details.' }, { question: 'What happens to my data if I cancel?', answer: 'Your data is safely stored for 30 days after cancellation. You can export all your data at any time before deletion.' } ]; const toggleFaq = (index: number) => { setOpenFaqIndex(openFaqIndex === index ? null : index); }; return (
{/* Hero Section */}

Pricing

Home / Pricing
{/* FAQ Section */}
{/* Diagonal Background Lines */}
{/* Image with Decorative Borders */}
Social media management workspace

Frequently Asked Questions

{faqs.map((faq, index) => (

{faq.answer}

))}
); }