/** * Landing Section: FAQ * * Accordion FAQ inside a glassmorphic card. */ import { useState, useCallback } from 'react' import { Plus, Minus } from 'lucide-react' import { ScrollReveal, GlassCard, SectionHeading, cn, motion, AnimatePresence } from '../primitives' const FAQ_ITEMS = [ { question: 'How do I get started?', answer: 'Just launch the app and follow the guided setup. You\'ll be up and running in under a minute -- no complicated configuration needed.', }, { question: 'Is it free to use?', answer: 'Yes, the core features are completely free. Premium features are available for teams and power users who need more.', }, { question: 'Can I customize it?', answer: 'Absolutely. The app is designed to be flexible -- adjust settings, layouts, and workflows to match exactly how you like to work.', }, { question: 'How does collaboration work?', answer: 'Invite your team and work together in real time. Everyone sees changes instantly, and permissions keep things organized.', }, { question: 'Where can I get help?', answer: 'Check out the built-in help section, browse the documentation, or reach out to the community. Support is always available.', }, ] function FAQItem({ item, isOpen, onToggle }: { item: typeof FAQ_ITEMS[number] isOpen: boolean onToggle: () => void }) { return (
{item.answer}