{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"pricing-tiers","type":"registry:block","title":"Pricing Tiers","description":"Three-tier pricing layout with an interactive Monthly / Annual billing switch and highlighted recommended plan.","dependencies":["lucide-react"],"files":[{"path":"components/incepture/pricing-tiers.tsx","type":"registry:block","target":"components/incepture/pricing-tiers.tsx","content":"\"use client\";\n\nimport { useState } from \"react\";\nimport { Check } from \"lucide-react\";\n\ninterface Tier {\n  name: string;\n  tagline: string;\n  monthly: number;\n  annual: number;\n  featured?: boolean;\n  cta: string;\n  features: string[];\n}\n\nconst TIERS: Tier[] = [\n  {\n    name: \"Hobby\",\n    tagline: \"For weekend hacks and personal experiments.\",\n    monthly: 0,\n    annual: 0,\n    cta: \"Start free\",\n    features: [\n      \"Up to 3 active projects\",\n      \"Community support\",\n      \"Automatic preview URLs\",\n      \"100 GB bandwidth / month\",\n    ],\n  },\n  {\n    name: \"Pro\",\n    tagline: \"For indie makers shipping real products.\",\n    monthly: 19,\n    annual: 15,\n    featured: true,\n    cta: \"Upgrade to Pro\",\n    features: [\n      \"Unlimited projects & domains\",\n      \"Serverless & edge functions\",\n      \"Real-time logs & analytics\",\n      \"Priority email support\",\n    ],\n  },\n  {\n    name: \"Team\",\n    tagline: \"For small teams collaborating in production.\",\n    monthly: 49,\n    annual: 39,\n    cta: \"Contact sales\",\n    features: [\n      \"Up to 10 team seats included\",\n      \"Role-based access controls\",\n      \"SSO / SAML authentication\",\n      \"99.99% uptime SLA\",\n    ],\n  },\n];\n\nexport function PricingTiers() {\n  const [annual, setAnnual] = useState(true);\n\n  return (\n    <section className=\"w-full bg-stone-50 px-6 py-16 text-stone-900 dark:bg-stone-950 dark:text-stone-100\">\n      <div className=\"mx-auto max-w-6xl\">\n        <div className=\"flex flex-col sm:flex-row sm:items-end justify-between gap-6 border-b border-stone-200 pb-8 dark:border-stone-800\">\n          <div>\n            <p className=\"font-mono text-xs uppercase tracking-[0.14em] text-orange-700 dark:text-orange-400\">\n              Pricing\n            </p>\n            <h2 className=\"mt-2 text-3xl sm:text-4xl font-semibold tracking-[-0.035em]\">\n              Simple, predictable plans.\n            </h2>\n          </div>\n\n          <div\n            className=\"inline-flex self-start rounded-lg border border-stone-200 bg-white p-1 dark:border-stone-800 dark:bg-stone-900\"\n            role=\"group\"\n            aria-label=\"Billing interval\"\n          >\n            <button\n              type=\"button\"\n              onClick={() => setAnnual(false)}\n              className={`rounded-md px-3.5 py-1.5 text-xs font-medium transition ${\n                !annual\n                  ? \"bg-stone-900 text-stone-50 dark:bg-stone-100 dark:text-stone-950\"\n                  : \"text-stone-600 hover:text-stone-900 dark:text-stone-400\"\n              }`}\n            >\n              Monthly\n            </button>\n            <button\n              type=\"button\"\n              onClick={() => setAnnual(true)}\n              className={`rounded-md px-3.5 py-1.5 text-xs font-medium transition ${\n                annual\n                  ? \"bg-stone-900 text-stone-50 dark:bg-stone-100 dark:text-stone-950\"\n                  : \"text-stone-600 hover:text-stone-900 dark:text-stone-400\"\n              }`}\n            >\n              Annual <span className=\"opacity-75\">(-20%)</span>\n            </button>\n          </div>\n        </div>\n\n        <div className=\"mt-10 grid grid-cols-1 md:grid-cols-3 gap-6\">\n          {TIERS.map((tier) => {\n            const price = annual ? tier.annual : tier.monthly;\n            return (\n              <div\n                key={tier.name}\n                className={`flex flex-col justify-between rounded-xl border p-6 transition ${\n                  tier.featured\n                    ? \"border-stone-900 bg-white shadow-md dark:border-stone-200 dark:bg-stone-900\"\n                    : \"border-stone-200 bg-white/70 dark:border-stone-800 dark:bg-stone-900/50\"\n                }`}\n              >\n                <div>\n                  <div className=\"flex items-center justify-between\">\n                    <h3 className=\"text-lg font-semibold tracking-tight\">\n                      {tier.name}\n                    </h3>\n                    {tier.featured && (\n                      <span className=\"font-mono text-[11px] uppercase tracking-wider text-orange-700 dark:text-orange-400\">\n                        Recommended\n                      </span>\n                    )}\n                  </div>\n                  <p className=\"mt-1.5 text-sm text-stone-600 dark:text-stone-400\">\n                    {tier.tagline}\n                  </p>\n\n                  <div className=\"mt-6 flex items-baseline gap-1\">\n                    <span className=\"text-4xl font-semibold tracking-tight tabular-nums\">\n                      ${price}\n                    </span>\n                    <span className=\"text-sm text-stone-500\">/ month</span>\n                  </div>\n\n                  <ul className=\"mt-6 space-y-3 border-t border-stone-200 pt-6 dark:border-stone-800\">\n                    {tier.features.map((feat) => (\n                      <li\n                        key={feat}\n                        className=\"flex items-start gap-2.5 text-sm text-stone-700 dark:text-stone-300\"\n                      >\n                        <Check className=\"mt-0.5 h-4 w-4 shrink-0 text-orange-600 dark:text-orange-400\" />\n                        <span>{feat}</span>\n                      </li>\n                    ))}\n                  </ul>\n                </div>\n\n                <button\n                  type=\"button\"\n                  className={`mt-8 w-full rounded-lg px-4 py-2.5 text-sm font-medium transition ${\n                    tier.featured\n                      ? \"bg-stone-900 text-stone-50 hover:bg-stone-800 dark:bg-stone-100 dark:text-stone-950 dark:hover:bg-white\"\n                      : \"border border-stone-300 text-stone-900 hover:bg-stone-100 dark:border-stone-700 dark:text-stone-100 dark:hover:bg-stone-800\"\n                  }`}\n                >\n                  {tier.cta}\n                </button>\n              </div>\n            );\n          })}\n        </div>\n      </div>\n    </section>\n  );\n}\n"}]}