// Single source of truth for pricing tiers. Rendered on /pricing (all tiers)
// and as the landing-page teaser (Hobby + Pro). The landing page previously
// carried its own hardcoded copy of this data, which had already drifted —
// one array, two consumers, no drift.

export interface PricingTier {
  name: string;
  price: string;
  tag: string;
  description: string;
  model: string;
  modelDetail: string;
  features: string[];
  cta: string;
  href: string;
  highlight?: boolean;
}

export const TIERS: PricingTier[] = [
  {
    name: 'Hobby',
    price: '€0',
    tag: 'Forever free',
    description: 'For trying things out and shipping single-user tools.',
    model: 'Open-tier AI',
    modelDetail: 'Free-tier model · ~30-60s analyze',
    features: [
      '1 MCP server',
      '100,000 tool calls / month',
      '5 prompt analyses / day',
      'BuildMyMCP subdomain',
      'Community support',
    ],
    cta: 'Start free',
    href: '/login',
  },
  {
    name: 'Pro',
    price: '€49',
    tag: '/ month',
    description: 'For solo founders and small teams shipping production tools.',
    model: 'Claude AI',
    modelDetail: 'Powered by Anthropic Claude · ~10–20s analyze',
    features: [
      '5 MCP servers',
      '1M tool calls / month',
      '40 prompt analyses / day',
      'Priority build queue',
      'Custom domain · coming soon',
      'Email support, 1 business-day response',
    ],
    cta: 'Start Pro',
    href: '/settings/billing?tier=pro_monthly',
    highlight: true,
  },
  {
    name: 'Team',
    price: '€199',
    tag: '/ month',
    description: 'For teams that need an audit trail and room to scale.',
    model: 'Claude AI',
    modelDetail: "Anthropic's flagship quality",
    features: [
      '25 MCP servers',
      '10M tool calls / month',
      '50 prompt analyses / day',
      'Audit log',
      'RBAC · coming soon',
      'Shared Slack channel support',
    ],
    cta: 'Start Team',
    href: '/settings/billing?tier=team_monthly',
  },
  {
    name: 'Enterprise',
    price: 'Custom',
    tag: 'talk to us',
    description: 'For organizations with custom infrastructure, compliance and scale needs.',
    model: 'Claude AI',
    modelDetail: 'Top-tier Claude · EU data-residency option',
    features: [
      'Unlimited servers',
      'Custom infrastructure & data residency — on request',
      'Dedicated hosting — scoped per contract',
      'SSO / SAML — on request',
      'Customer success manager',
    ],
    cta: 'Contact sales',
    href: 'mailto:sales@buildmymcpserver.com',
  },
];
