<?php
declare(strict_types=1);
// ==================================================
// Nuclear Fancy Pants Edition™ — NUCLEAR+++
// File: /includes/billing.php
// Description: Billing plan definitions — data only, no rendering
// Last Edited: 2026-03-30
// ==================================================
if (!defined('ABSPATH')) {
    exit;
}

function amai_get_plans(): array
{
    return [
        'free' => [
            'name'                    => 'Basic',
            'price_monthly'           => 0,
            'price_yearly'            => 0,
            'stripe_price_id_monthly' => '',
            'stripe_price_id_yearly'  => '',
            'modules'                 => 'Facebook + Instagram + 1 AI provider (bring your own key)',
            'features'                => [
                'Facebook and Instagram - both included free',
                'AI-powered captions and scheduling (bring your own API key)',
                '1 AI image provider - generate images for every post (bring your own key)',
                'Unlimited posts - no caps, no throttling',
                'Full scheduling, approval workflow and monitoring',
            ],
            'bottom_text' => 'Full AI power, zero cost. Bring your own API key from OpenAI, Claude, Gemini or Grok and start posting immediately. No trial. No expiry. No card needed.',
        ],
        'starter' => [
            'name'                    => 'Starter',
            'price_monthly'           => 29,
            'price_yearly'            => 290,
            'stripe_price_id_monthly' => 'price_1TAYegJfH56oJEdkSgQPS5bx',
            'stripe_price_id_yearly'  => 'price_1TAYfhJfH56oJEdkb03ncBO1',
            'modules'                 => 'Both social channels + 5 additional modules',
            'features'                => [
                'All Basic features',
                'Both Facebook and Instagram (no channel limit)',
                '5 additional channel modules - LinkedIn, Pinterest, X and more as they ship',
                'Unlimited posts across every connected channel',
            ],
            'bottom_text' => 'You\'ve got Facebook and Instagram covered. When you\'re ready to go wider - LinkedIn, Pinterest, X, and more - Starter Pro has you covered, automatically.',
        ],
        'starter_pro' => [
            'name'                    => 'Starter Pro',
            'price_monthly'           => 49,
            'price_yearly'            => 490,
            'stripe_price_id_monthly' => 'price_1TAYgyJfH56oJEdkP9mcO8ni',
            'stripe_price_id_yearly'  => 'price_1TAYhnJfH56oJEdkxKPnfbCR',
            'modules'                 => 'Every channel module - now and forever',
            'features'                => [
                'All Starter features',
                'Every channel module - unlimited access, no exceptions',
                'Every new channel we build ships to you automatically',
                'Premium AI modules not included',
            ],
            'bottom_text' => 'Stop thinking about which channels you have. Every channel module we build - now and in the future - is yours automatically. One plan, every channel.',
        ],
        'unlimited_ai' => [
            'name'                    => 'Unlimited AI',
            'price_monthly'           => 99,
            'price_yearly'            => 990,
            'stripe_price_id_monthly' => 'price_1TAYjAJfH56oJEdkt8jufrgM',
            'stripe_price_id_yearly'  => 'price_1TAYkYJfH56oJEdkCBvqRIFH',
            'modules'                 => 'Every channel + Premium AI modules',
            'features'                => [
                'All Starter Pro features',
                'AI image generation for every post',
                'Content repurposer - one post, every channel, automatically adapted',
                'Analytics hub - see what\'s working across all your channels',
                'Review responder - AI replies to Google and Facebook reviews',
            ],
            'bottom_text' => 'Every premium AI module we build is included - image generation, analytics, content repurposing, and more. Set it up once, let it run.',
        ],
        'agency' => [
            'name'                    => 'Agency',
            'price_monthly'           => 199,
            'price_yearly'            => 1990,
            'stripe_price_id_monthly' => 'price_1TAYsYJfH56oJEdkwUdzpjkW',
            'stripe_price_id_yearly'  => 'price_1TAYtHJfH56oJEdkgion9Gzy',
            'modules'                 => 'Everything + Multi-Client Dashboard',
            'features'                => [
                'All Unlimited AI features',
                'Unlimited client accounts - manage everyone from one login',
                'Agency dashboard - monitor all clients, generate reports, white-label the UI',
                'Priority support + custom module API',
            ],
            'bottom_text' => 'Built for agencies managing multiple clients. One login, every client, full visibility. Deliver reports, scale without extra work, and white-label the whole thing.',
        ],
    ];
}
