// tomugi-config.jsx — editable app settings and static UI copy

const TomugiConfig = {
  tweaks: /*EDITMODE-BEGIN*/{
    accent: "#EC5B46",
    tone: "cool",
    texture: true,
  }/*EDITMODE-END*/,

  navLinks: [
    { id: "top", label: "Home" },
    { id: "organize", label: "How it works" },
    { id: "catalog", label: "Catalog" },
    { id: "pricing", label: "Pricing" },
  ],

  catalogFilters: ["All", "Ongoing", "Completed"],

  steps: [
    { n: "01", t: "Point to your folder", d: "You already downloaded the series. Pick the folder where the chapters live — tomugi reads the file names locally." },
    { n: "02", t: "Organize into volumes", d: "One click groups every chapter into the right volume, with exact ranges. No manual sorting." },
    { n: "03", t: "Review the output", d: "Check the generated volume folders, confirm chapter ranges, and keep your library tidy without manual sorting." },
  ],

  pricing: {
    // Early Bird: while spots remain, Pro is discounted from its regular price.
    // When spotsLeft hits 0 the discount and badge disappear automatically and
    // Pro reverts to its regular monthly price.
    spotsTotal: 100,
    spotsLeft: 63,
    annualDiscount: 0.25, // 25% off when paying for a full year

    free: ["Full catalog", "Organize 1 collection into volumes", "Review generated volume folders"],

    pro: {
      regular: 5,   // normal monthly price (shown once Early Bird sells out)
      early: 3,     // Early Bird monthly price (while spots remain)
      features: [
        "Everything in the Base plan",
        "Organize unlimited collections",
        "Early access to new features",
        "Early Bird badge on your profile",
        "Directly support development",
      ],
    },

    unlimited: {
      price: 8, // flat monthly price, no Early Bird discount
      features: [
        "Everything in Pro",
        "Cloud sync across all your devices",
        "Priority volume processing",
        "Priority support",
      ],
    },
  },
};

Object.assign(window, { TomugiConfig });
