/** Homepage pricing cards — crm-html/index.html pricing-sec (monthly tab). */

export interface PricingPlan {
  id: number;
  name: string;
  price: string;
  period: string;
  features: string[];
  highlighted: boolean;
  ctaLabel: string;
  ctaHref: string;
  creditNote: string;
  ctaVariantClass: "" | "v2";
}

export interface PricingBillingTab {
  id: string;
  label: string;
  panelId: string;
}

export interface PricingSectionCopy {
  subTitle: string;
  title: string;
  description: string;
  billingTabs: PricingBillingTab[];
}

export const pricingSectionCopy: PricingSectionCopy = {
  subTitle: "Choose your Plan",
  title: "Flexible Pricing for Every Stage",
  description:
    "Whether you're just getting started or scaling fast, we’ve got a pricing plan that fits your needs. Our transparent and flexible packages are designed",
  billingTabs: [
    { id: "monthly", label: "Monthly", panelId: "monthly" },
    { id: "yearly", label: "Yearly - Save 23%", panelId: "yearly" },
  ],
};

const basicFeatures = [
  "1 chatbot platforms",
  "100 conversations/month",
  "Basic NLP support",
  "Limited customization",
  "Basic SEO Optimization",
  "Email support",
];

const standardFeatures = [
  "5 chatbot platforms",
  "500 conversations/month",
  "Advance NLP support",
  "Limited customization",
  "Advance SEO Optimization",
  "Email support",
];

const customFeatures = [
  "Unlimited chatbot platforms",
  "Unlimited conversations/month",
  "Basic NLP support",
  "Limited customization",
  "Basic SEO Optimization",
  "Email support",
];

export const PricingMonthlyPlans: PricingPlan[] = [
  {
    id: 1,
    name: "Basic Package",
    price: "$18.00",
    period: "/ monthly",
    features: basicFeatures,
    highlighted: false,
    ctaLabel: "Start 7th Days Free Trial",
    ctaHref: "/contact",
    creditNote: "No credit card required",
    ctaVariantClass: "v2",
  },
  {
    id: 2,
    name: "Standard Package",
    price: "$58.00",
    period: "/ monthly",
    features: standardFeatures,
    highlighted: true,
    ctaLabel: "Start 7th Days Free Trial",
    ctaHref: "/contact",
    creditNote: "No credit card required",
    ctaVariantClass: "",
  },
  {
    id: 3,
    name: "Custom Package",
    price: "$98.00",
    period: "/ monthly",
    features: customFeatures,
    highlighted: false,
    ctaLabel: "Start 7th Days Free Trial",
    ctaHref: "/contact",
    creditNote: "No credit card required",
    ctaVariantClass: "v2",
  },
];

/** Yearly billing (~23% off vs monthly) — tab “Yearly - Save 23%”. */
export const PricingYearlyPlans: PricingPlan[] = [
  {
    id: 11,
    name: "Basic Package",
    price: "$13.99",
    period: "/ yearly",
    features: basicFeatures,
    highlighted: false,
    ctaLabel: "Start 7th Days Free Trial",
    ctaHref: "/contact",
    creditNote: "No credit card required",
    ctaVariantClass: "v2",
  },
  {
    id: 12,
    name: "Standard Package",
    price: "$44.99",
    period: "/ yearly",
    features: standardFeatures,
    highlighted: true,
    ctaLabel: "Start 7th Days Free Trial",
    ctaHref: "/contact",
    creditNote: "No credit card required",
    ctaVariantClass: "",
  },
  {
    id: 13,
    name: "Custom Package",
    price: "$75.99",
    period: "/ yearly",
    features: customFeatures,
    highlighted: false,
    ctaLabel: "Start 7th Days Free Trial",
    ctaHref: "/contact",
    creditNote: "No credit card required",
    ctaVariantClass: "v2",
  },
];
