// Central place for every price shown on the site, so the navbar, dashboard,
// tool pages and payment flow never drift out of sync with each other.

// One-time bundle that removes ads + the 4-use limit from every FREE tool.
// Doesn't touch Pro tools — those are priced individually below.
export const FREE_BUNDLE_SLUG = "remove-ads-limits";
export const FREE_BUNDLE_NAME = "Remove Ads & Limits";
export const FREE_BUNDLE_PRICE = 10;

// Every paid tool is $5 individually, no ads once unlocked. Buying the
// bundle of all 10 paid tools at once is a bulk discount — $25 instead of
// $50 (10 x $5) — and unlocks every one of them.
export const PAID_TOOL_PRICE = 5;
export const PRO_BUNDLE_PRICE = 25;
export const PRO_BUNDLE_NAME = "All Paid Tools Bundle";

export function formatPrice(amount: number): string {
  return `$${Number.isInteger(amount) ? amount : amount.toFixed(2)}`;
}
