# products.yaml — ChurchWiseAI product portfolio
#
# Sources:
#   - C:\dev\churchwiseai-web\src\lib\brand.ts (brand identity, ecosystem links)
#   - C:\dev\churchwiseai-web\src\lib\social-brand.ts (ShareWiseAI brand)
#   - C:\dev\CLAUDE.md (Brand Architecture section, codebase ownership)
#
# This file describes WHAT each product is and WHERE it lives.
# For pricing, see pricing.yaml. For features per tier, see features.yaml.

company:
  legal_name: "ChurchWiseAI LTD"
  founded_year: 2024
  owner: "ChurchWiseAI LTD"

brand:
  name: "ChurchWiseAI"
  short_name: "CW"
  tagline: "AI-Powered Ministry Tools"
  description: >
    Answer every call. Engage every visitor. Grow your ministry. ChurchWiseAI gives
    your church a 24/7 AI voice agent, intelligent chatbot, and digital presence.
  domain: "churchwiseai.com"
  site_url: "https://churchwiseai.com"
  colors:
    primary: "#D4AF37"         # Sacred Gold
    primary_light: "#e8cc6a"
    primary_dark: "#a07d1c"
    secondary: "#1B365D"       # Navy
    secondary_light: "#2b6cb0"
    background: "#FEFCF8"      # Cream
    foreground: "#1c1917"
  email:
    general: "hello@churchwiseai.com"
    support: "support@churchwiseai.com"
    privacy: "privacy@churchwiseai.com"
  social:
    twitter: "https://twitter.com/churchwiseai"
    linkedin: "https://linkedin.com/company/churchwiseai"
    facebook: "https://facebook.com/churchwiseai"
  stats:
    - { value: "218K+", label: "Churches in Directory" }
    - { value: "30K+", label: "Sermon Resources" }
    - { value: "17", label: "Theological Traditions" }

# ═══════════════════════════════════════════════════════════════
# Active Products
# ═══════════════════════════════════════════════════════════════

products:
  churchwiseai:
    name: "ChurchWiseAI"
    tagline: "AI-Powered Ministry Tools"
    url: "https://churchwiseai.com"
    description: >
      Voice agent + chatbot for churches. The core AI product brand.
      A church sees a Google ad, clicks, lands on churchwiseai.com, buys a plan,
      gets a magic link, manages everything on churchwiseai.com. PewSearch never appears.
    codebase: "churchwiseai-web/"
    deploy_branch: "main"
    hosting: "Vercel + LiveKit Cloud (voice)"
    framework: "Next.js 16, React 19, Tailwind 4"
    status: "live"
    what_it_sells: "Voice Agent + Chatbot + Pro Website (all AI + web products)"
    admin_location: "churchwiseai.com/admin/[token]"
    subdomains:
      - { host: "*.john316.church", purpose: "Pro Website public renderer per-church", added: "2026-04-16" }
    key_pages:
      - { path: "/", purpose: "Homepage" }
      - { path: "/voice", purpose: "Voice Agent product page" }
      - { path: "/chatbot", purpose: "Chatbot product page" }
      - { path: "/pro-website", purpose: "Pro Website marketing page — standalone $19.95/mo", added: "2026-04-16" }
      - { path: "/pricing", purpose: "Unified pricing" }
      - { path: "/care", purpose: "Care Messaging feature" }
      - { path: "/demo", purpose: "Live demo + book-a-call" }
      - { path: "/integrations", purpose: "Integration partners" }
      - { path: "/admin/[token]", purpose: "Church admin dashboard" }
      - { path: "/onboard", purpose: "New church onboarding (plans: cwa_*, cwa_pro_website)" }
      - { path: "/s/[slug]", purpose: "Pro Website public renderer — accessed via *.john316.church" }

  pewsearch:
    name: "PewSearch"
    tagline: "Find Your Church"
    url: "https://pewsearch.com"
    description: >
      Church directory with 218K+ listings. Distribution channel for ChurchWiseAI.
      PewSearch is an integration/distribution channel — optional, not required.
      Think of it like Planning Center: its own product that can surface ChurchWiseAI features.
    codebase: "pewsearch/web/"
    deploy_branch: "master"
    hosting: "Vercel"
    framework: "Next.js 16"
    status: "live"
    what_it_sells: "Premium Pages ONLY ($4.95/mo directory listing)"
    admin_location: "pewsearch.com/admin/[token] — directory features only"
    listing_count: 218000
    critical_rule: >
      NEVER build AI product features inside pewsearch/web/.
      All AI features (chatbot, voice agent, analytics, marketplace, documents) go in churchwiseai-web.

  illustratetheword:
    name: "IllustrateTheWord"
    tagline: "Sermon Illustrations for Every Sunday"
    url: "https://illustratetheword.com"
    description: >
      Sermon illustration library for pastors. B2C content platform.
    codebase: "sermon-illustrations/"
    deploy_branch: "master"
    hosting: "Vercel"
    framework: "Next.js 16"
    status: "live"
    what_it_sells: "ITW Premium ($9.95/mo illustration library)"
    admin_location: "N/A (Supabase Auth)"
    auth: "Supabase Auth"

  sermonwise:
    name: "SermonWise"
    tagline: "AI Sermon Preparation Tools"
    url: "https://sermonwise.ai"
    description: >
      AI-powered sermon preparation tools. Hostname rewrite to churchwiseai-web /sermons.
      Same codebase as churchwiseai-web.
    codebase: "churchwiseai-web/src/app/sermons/"
    deploy_branch: "main"
    hosting: "Vercel (hostname rewrite)"
    framework: "Next.js 16 (shared with churchwiseai-web)"
    status: "live"
    what_it_sells: "SermonWise Pro ($19.95/mo sermon tools)"

  sharewiseai:
    name: "ShareWiseAI"
    tagline: "AI-Powered Social Media for Churches & Ministries"
    url: "https://sharewiseai.com"
    description: >
      AI social media management for churches. Schedule, create, and automate
      social media across all platforms. Hostname rewrite to churchwiseai-web /social.
      Same codebase as churchwiseai-web.
    codebase: "churchwiseai-web/src/app/social/"
    deploy_branch: "main"
    hosting: "Vercel (hostname rewrite)"
    framework: "Next.js 16 (shared with churchwiseai-web)"
    status: "coming_soon"
    what_it_sells: "ShareWiseAI social media SaaS ($19.95-99.95/mo)"
    blocker: "OAuth integration pending"

# ═══════════════════════════════════════════════════════════════
# Legacy Codebase
# ═══════════════════════════════════════════════════════════════

legacy:
  ai_sermon_assistant:
    name: "AI Sermon Assistant"
    codebase: "ai-sermon-assistant/"
    status: "legacy"
    description: >
      Old React/Nx monorepo. NOT deployed and NOT the target for new work.
      Contains valuable reference code (B2C app logic, shared packages, RAG patterns)
      that may be ported to churchwiseai-web over time.
    rule: "Agents may READ for reference but must NEVER build new features or fix bugs there."

# ═══════════════════════════════════════════════════════════════
# Future Verticals
# ═══════════════════════════════════════════════════════════════

future_verticals:
  - domain: "funeralwiseai.com"
    alt_name: "MemorialWiseAI"
    vertical: "Funeral Homes"
    priority: 1
  - domain: "shopwiseai.com"
    alt_name: "ShopWiseAI"
    vertical: "Auto Repair"
    priority: 2
  - domain: "veterinarywiseai.com"
    alt_name: "VetWiseAI"
    vertical: "Veterinary"
    priority: 3
  - domain: "legalwiseai.com"
    alt_name: "LegalWiseAI"
    vertical: "Small Law Firms"
    priority: 4

# ═══════════════════════════════════════════════════════════════
# Ecosystem Links (shown in footer + cross-promotion)
# ═══════════════════════════════════════════════════════════════

ecosystem:
  pewsearch:
    name: "PewSearch"
    url: "https://pewsearch.com"
    tagline: "Find Your Church"
  illustratetheword:
    name: "IllustrateTheWord"
    url: "https://illustratetheword.com"
    tagline: "Sermon Illustrations"

# ═══════════════════════════════════════════════════════════════
# Brand Rules (enforced across all properties)
# ═══════════════════════════════════════════════════════════════

brand_rules:
  - "Dashboard header says 'ChurchWiseAI' (not 'PewSearch Admin')"
  - "SEO/integration pages use 'ChurchWiseAI Voice Agent' as the product name"
  - "'Powered by ChurchWiseAI' badge on all chatbot widgets (Starter/Pro). Removable on Suite."
  - "PewSearch directory links to ChurchWiseAI for AI product pages"
  - "Voice agent greeting: church name by default, 'ChurchWiseAI' only for the sales agent"

# ═══════════════════════════════════════════════════════════════
# Product Ownership Mental Model
# ═══════════════════════════════════════════════════════════════

ownership_model: >
  Imagine churchwiseai.com has ZERO connection to PewSearch or any other funnel.
  A pastor sees a Google ad, clicks, lands on churchwiseai.com, buys a plan,
  gets a magic link, manages everything on churchwiseai.com. PewSearch never appears.
  That is the primary product flow. Everything must work this way first.
  PewSearch, ITW, and other properties are integrations — optional distribution channels
  that upsell ChurchWiseAI products to churches already in those funnels.
