import type { Metadata } from 'next';
import Pricing from '@/components/Pricing';
import styles from './pricing.module.css';

export const metadata: Metadata = {
    title: 'Pricing - SocialBuddy',
    description: 'Choose the perfect plan for your social media management needs. Free, Pro, and Premium plans available with 14-day free trial.',
};

export default function PricingPage() {
    return (
        <div className={styles.pricingPage}>
            <Pricing />

            {/* FAQ Section */}
            <section className="section">
                <div className="container">
                    <div className={styles.faqHeader}>
                        <h2 className={styles.faqTitle}>Frequently Asked Questions</h2>
                    </div>
                    <div className={styles.faqGrid}>
                        <div className={styles.faqItem}>
                            <h3 className={styles.faqQuestion}>Can I change plans later?</h3>
                            <p className={styles.faqAnswer}>
                                Yes! You can upgrade or downgrade your plan at any time. Changes take effect immediately, and we'll prorate any charges.
                            </p>
                        </div>
                        <div className={styles.faqItem}>
                            <h3 className={styles.faqQuestion}>What payment methods do you accept?</h3>
                            <p className={styles.faqAnswer}>
                                We accept all major credit cards (Visa, MasterCard, American Express), PayPal, and bank transfers for annual plans.
                            </p>
                        </div>
                        <div className={styles.faqItem}>
                            <h3 className={styles.faqQuestion}>Is there a free trial?</h3>
                            <p className={styles.faqAnswer}>
                                Yes! All paid plans come with a 14-day free trial. No credit card required to start.
                            </p>
                        </div>
                        <div className={styles.faqItem}>
                            <h3 className={styles.faqQuestion}>Can I cancel anytime?</h3>
                            <p className={styles.faqAnswer}>
                                Absolutely. You can cancel your subscription at any time with no cancellation fees. Your access continues until the end of your billing period.
                            </p>
                        </div>
                        <div className={styles.faqItem}>
                            <h3 className={styles.faqQuestion}>Do you offer discounts for nonprofits?</h3>
                            <p className={styles.faqAnswer}>
                                Yes! We offer special pricing for nonprofits and educational institutions. Contact our sales team for details.
                            </p>
                        </div>
                        <div className={styles.faqItem}>
                            <h3 className={styles.faqQuestion}>What happens to my data if I cancel?</h3>
                            <p className={styles.faqAnswer}>
                                Your data is safely stored for 30 days after cancellation. You can export all your data at any time before deletion.
                            </p>
                        </div>
                    </div>
                </div>
            </section>
        </div>
    );
}
