/**
 * Subscriptions Upgrade Tab
 *
 * Marketing page shown to Free users to promote Pro subscription features
 */

import { FeatureUpgradeTab } from "@/components/pro/feature-upgrade-tab"
import {
  Calendar,
  Clock,
  CreditCard,
  Mail,
  RefreshCw,
  Server,
  Tag,
  UserCog,
  Users,
  Edit,
} from "lucide-react"

export function SubscriptionsUpgradeTab() {
  return (
    <FeatureUpgradeTab
      headline="Unlock the Full Power of Subscriptions"
      description="Upgrade to Swift Commerce Pro for advanced subscription management, automated renewals, and complete customer controls."
      features={[
        {
          icon: RefreshCw,
          title: "Synchronized Renewals",
          description:
            "Align all subscription renewals to a specific day of the month for easier management.",
        },
        {
          icon: CreditCard,
          title: "Failed Payment Handling",
          description:
            "Automatically retry failed payments with configurable intervals and maximum retries.",
        },
        {
          icon: Calendar,
          title: "Early Renewal",
          description:
            "Allow customers to renew their subscription before the renewal date.",
        },
        {
          icon: Users,
          title: "Customer Management Controls",
          description:
            "Let customers view details, update payment methods, and manage their subscriptions.",
        },
        {
          icon: UserCog,
          title: "Manual Subscription Creation",
          description:
            "Create subscriptions for customers directly from the admin panel.",
        },
        {
          icon: Clock,
          title: "Free Trial Periods",
          description:
            "Offer free trial periods to attract more customers with configurable trial length.",
        },
        {
          icon: Edit,
          title: "Edit Subscription Details",
          description:
            "Modify renewal dates, expiry dates, amounts, and billing cycles for existing subscriptions.",
        },
        {
          icon: Tag,
          title: "Subscription Coupons",
          description:
            "Create coupons for sign-up fees or a specific number of recurring payments.",
        },
        {
          icon: Mail,
          title: "Advanced Email Notifications",
          description:
            "Cancelled, expired, on-hold, renewal reminder, and payment failure emails.",
        },
        {
          icon: Server,
          title: "Automatic Staging Mode",
          description:
            "Prevent double charges when cloning your site to a staging environment.",
        },
      ]}
      checklist={[
        "Synchronized renewal scheduling",
        "Failed payment retry logic",
        "Force renewal button for customers",
        "Auto-suspend on failed payment",
        "Early renewal option",
        "Advanced customer management controls",
        "Manual subscription creation by admin",
        "Edit subscription details (dates, amounts, cycles)",
        "Subscription coupons for sign-up fees and recurring payments",
        "Admin email notifications (expiring, cancelled, paused, resumed)",
        "Payment notifications for admins",
        "Automatic staging mode",
        "Subscription limits (single subscription per customer)",
        "Upgrade/downgrade plan changes with proration",
        "Additional payment gateway support",
        "Free trial and renewal/expiration settings per product",
        "Customer controls per product (pause, switch, resubscribe)",
        "Cancelled, expired, on-hold, renewal reminder, and payment failure emails",
        "Priority support and updates",
      ]}
    />
  )
}
