
/**
 * Stripe Subscription Plans Configuration
 * 
 * INSTRUCTIONS FOR ADDING NEW PLANS:
 * 1. Log in to your Stripe Dashboard (https://dashboard.stripe.com/)
 * 2. Navigate to Products -> Add a Product
 * 3. Create a product (e.g., "Pro Plan")
 * 4. Add pricing (e.g., $29.00 USD, Recurring, Monthly)
 * 5. Copy the Price ID (starts with 'price_...') and paste it below.
 * 6. Repeat for annual pricing if applicable.
 */

export const SUBSCRIPTION_PLANS = {
  basic: {
    id: 'basic',
    name: 'Basic',
    description: 'Essential features for small associations.',
    features: [
      'Up to 50 Units',
      'Basic Reporting',
      'Email Support',
      'Standard Templates'
    ],
    prices: {
      monthly: {
        id: import.meta.env.VITE_STRIPE_PRICE_BASIC_MONTHLY || 'price_1_dummy_basic_mo',
        amount: 29,
        interval: 'month'
      },
      annual: {
        id: import.meta.env.VITE_STRIPE_PRICE_BASIC_ANNUAL || 'price_1_dummy_basic_yr',
        amount: 290,
        interval: 'year'
      }
    }
  },
  pro: {
    id: 'pro',
    name: 'Pro',
    description: 'Advanced tools for growing management companies.',
    features: [
      'Up to 250 Units',
      'Advanced Financial Reports',
      'Priority Support',
      'Custom Form Builder',
      'Stripe Payment Collection'
    ],
    isPopular: true,
    prices: {
      monthly: {
        id: import.meta.env.VITE_STRIPE_PRICE_PRO_MONTHLY || 'price_1_dummy_pro_mo',
        amount: 79,
        interval: 'month'
      },
      annual: {
        id: import.meta.env.VITE_STRIPE_PRICE_PRO_ANNUAL || 'price_1_dummy_pro_yr',
        amount: 790,
        interval: 'year'
      }
    }
  },
  premium: {
    id: 'premium',
    name: 'Premium',
    description: 'Enterprise-grade features for unlimited scale.',
    features: [
      'Unlimited Units',
      'Custom Financial Integrations',
      '24/7 Phone Support',
      'White-labeling Options',
      'Dedicated Account Manager'
    ],
    prices: {
      monthly: {
        id: import.meta.env.VITE_STRIPE_PRICE_PREMIUM_MONTHLY || 'price_1_dummy_premium_mo',
        amount: 199,
        interval: 'month'
      },
      annual: {
        id: import.meta.env.VITE_STRIPE_PRICE_PREMIUM_ANNUAL || 'price_1_dummy_premium_yr',
        amount: 1990,
        interval: 'year'
      }
    }
  }
};
