import type { IconName } from "@/lib/icons";

export type FAQ = { q: string; a: string };

export type Capability = { title: string; body: string; icon: IconName };
export type Step = { title: string; body: string };
export type UseCase = { title: string; body: string };

export type Solution = {
  slug: string;
  /** Full name, e.g. "Voice Agents" */
  name: string;
  /** Short label for tiles/nav, e.g. "Voice" */
  shortName: string;
  icon: IconName;
  /** One-line outcome for cards */
  tagline: string;
  /** 1–2 sentence description */
  description: string;

  // ---- Detail-page fields (fleshed out in Phase 3) ----
  hero?: { h1: string; sub: string };
  problems?: string[];
  agentDoes?: string[];
  steps?: Step[];
  capabilities?: Capability[];
  useCases?: UseCase[];
  /** Integration names (must be true) */
  integrations?: string[];
  /** Industry slugs this solution fits */
  industries?: string[];
  faqs?: FAQ[];
  seo?: { title: string; description: string };
};

export const solutions: Solution[] = [
  {
    slug: "voice-agents",
    name: "Voice Agents",
    shortName: "Voice",
    icon: "Mic",
    tagline: "Calls answered and made, 24/7 — in a voice that sounds human.",
    description:
      "AI voice agents that qualify leads, book appointments and handle support calls in natural, real-time conversation.",
  },
  {
    slug: "whatsapp-agents",
    name: "WhatsApp Agents",
    shortName: "WhatsApp",
    icon: "MessageCircle",
    tagline: "Meet customers where they already chat.",
    description:
      "AI agents on WhatsApp that reply instantly, recover carts and guide customers to the next step.",
  },
  {
    slug: "web-agents",
    name: "Web Agents",
    shortName: "Web",
    icon: "MessagesSquare",
    tagline: "A smart agent embedded in your site and app.",
    description:
      "On-site and in-app chat agents that answer questions, capture leads and hand off to your team when it matters.",
  },
  {
    slug: "quto-chatbot-agent",
    name: "Quto Chatbot Agent",
    shortName: "Chatbot",
    icon: "Bot",
    tagline: "Point us at your website — we build a chatbot that knows it.",
    description:
      "Share your website URL and Quto reads its content to prepare a chatbot agent grounded in your business, ready to answer your visitors.",
  },
];
