{"
CREATE TABLE public.faqs (
  id UUID NOT NULL DEFAULT gen_random_uuid() PRIMARY KEY,
  question TEXT NOT NULL,
  answer TEXT NOT NULL,
  sort_order INTEGER NOT NULL DEFAULT 0,
  is_active BOOLEAN NOT NULL DEFAULT true,
  created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
  updated_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now()
);

ALTER TABLE public.faqs ENABLE ROW LEVEL SECURITY;

CREATE POLICY \"FAQs are publicly readable\"
ON public.faqs
FOR SELECT
USING (true);

INSERT INTO public.faqs (question, answer, sort_order) VALUES
('How does the free trial work?', 'You get 14 days of full access to all Growth plan features — no credit card required. At the end of the trial you can choose a plan or continue on our limited free tier.', 1),
('Can I switch plans later?', 'Absolutely. You can upgrade or downgrade your plan at any time. Changes take effect immediately and we''ll prorate the difference.', 2),
('What integrations do you support?', 'MailForge integrates with Salesforce, HubSpot, Zapier, Slack, Segment, and 50+ other tools out of the box. Custom integrations are available on Enterprise plans.', 3),
('Is my data secure?', 'Yes. We''re SOC 2 Type II certified, GDPR compliant, and encrypt all data at rest and in transit. We never sell your data.', 4),
('Do you offer onboarding support?', 'All paid plans include guided onboarding. Enterprise customers get a dedicated success manager and custom training sessions.', 5),
('What''s your deliverability rate?', 'Our customers see an average inbox placement rate of 98.5%, thanks to our built-in deliverability tools and dedicated IP options.', 6);
"}