export type BillingPeriod = "monthly" | "yearly";

export type PricingTab = {
  id: BillingPeriod;
  label: string;
  saveBadge?: string;
};

export type PricingPlanPrice = {
  amount: string;
  periodNote: string;
};

export type PricingPlan = {
  id: string;
  cardVariant?: "v2";
  icon: string;
  iconAlt: string;
  titleTag: "h2" | "h3";
  priceTag: "h3" | "h4";
  title: string;
  description: string;
  monthly: PricingPlanPrice;
  yearly: PricingPlanPrice;
  ctaHref: string;
  ctaLabel: string;
  features: string[];
  aosDelay: number;
};

export const pricingTabs: PricingTab[] = [
  { id: "monthly", label: "Monthly" },
  { id: "yearly", label: "Yearly", saveBadge: "Save 23%" },
];

export const pricingAssets = {
  checkIcon: "/assets/images/icon/check1-2.svg",
  checkAlt: "Included",
  arrowIcon: "/assets/images/icon/arrow.svg",
  arrowAlt: "Arrow icon",
  creditIcon: "/assets/images/icon/credit.svg",
  creditAlt: "No credit card required icon",
  creditText: "No credit card required",
};

export const pricingPlans: PricingPlan[] = [
  {
    id: "basic",
    icon: "/assets/images/icon/price1-1.svg",
    iconAlt: "Basic Package Icon",
    titleTag: "h2",
    priceTag: "h3",
    title: "Basic Package",
    description:
      "Perfect for individuals, freelancers, small teams just starting the Starter plan",
    monthly: { amount: "$30", periodNote: "/per month cost" },
    yearly: { amount: "$23", periodNote: "/per month billed yearly" },
    ctaHref: "#",
    ctaLabel: "Start 14th Days Free Trial",
    features: [
      "Maximum 1 User Services",
      "Basic Dashboard Access",
      "Limited Integrations",
      "Community Support",
      "Simple Collaboration",
    ],
    aosDelay: 300,
  },
  {
    id: "professional",
    cardVariant: "v2",
    icon: "/assets/images/icon/price1-2.svg",
    iconAlt: "Professional Package Icon",
    titleTag: "h3",
    priceTag: "h4",
    title: "Professional Package",
    description: "Best for growing businesses that need more flexibility.",
    monthly: { amount: "$49", periodNote: "/per month cost" },
    yearly: { amount: "$38", periodNote: "/per month billed yearly" },
    ctaHref: "#",
    ctaLabel: "Start 10th Days Free Trial",
    features: [
      "Maximum 3 User Services",
      "Basic Dashboard Access",
      "Limited Integrations",
      "Community Support",
      "Simple Collaboration",
    ],
    aosDelay: 400,
  },
  {
    id: "enterprise",
    icon: "/assets/images/icon/price1-3.svg",
    iconAlt: "Enterprise Package Icon",
    titleTag: "h3",
    priceTag: "h4",
    title: "Enterprise Package",
    description:
      "Tailored for large teams and complex needs for SaaS services.",
    monthly: { amount: "$98", periodNote: "/per month cost" },
    yearly: { amount: "$75", periodNote: "/per month billed yearly" },
    ctaHref: "#",
    ctaLabel: "Get Started This Package",
    features: [
      "Maximum 5-7 User Services",
      "Basic Dashboard Access",
      "Limited Integrations",
      "Community Support",
      "Simple Collaboration",
    ],
    aosDelay: 500,
  },
];
