USE imosai;

-- NOTE: password_hash here is just a placeholder.
-- You will generate a real hash in PHP with password_hash().
INSERT INTO users (email, password_hash, name, role)
VALUES ('admin@imosai.com', '$2y$10$REPLACE_WITH_REAL_HASH', 'IMOSAI Owner', 'owner');

INSERT INTO projects (user_id, title, niche, language)
VALUES (1, 'IMOSAI Demo Project', 'Digital marketing kits', 'bg');

-- Global default prompts
INSERT INTO prompts (project_id, module, name, template, is_active) VALUES
(NULL, 'idea', 'Default Idea Prompt', 'Generate a clear business idea structure: problem, audience, promise, constraints. Language: BG.', 1),
(NULL, 'product', 'Default Product Prompt', 'Turn idea into product: deliverables, format, pricing model, differentiation. Language: BG.', 1),
(NULL, 'offer', 'Default Offer Prompt', 'Create offer: positioning, objections handling, guarantee, CTA, pricing text. Language: BG.', 1),
(NULL, 'campaign', 'Default Campaign Prompt', 'Create campaign plan: channels, angle, content plan, ad copies, DM scripts. Language: BG.', 1),
(NULL, 'funnel', 'Default Funnel Prompt', 'Create funnel: steps, landing copy, checkout copy, email sequence. Language: BG.', 1);
