@php $featureKey = $data['feature_key'] ?? 'ai-replies'; $content = match($featureKey) { 'ai-replies' => [ 'title' => "You've used all your AI Replies", 'subtitle' => "Upgrade to keep replying with AI — stay fast and on-brand.", 'benefits' => [ "Unlimited AI replies", "Save tone, templates & signatures", "Reply faster when review volume spikes", ], ], 'review-creators' => [ 'title' => "You've used all your Review Creators", 'subtitle' => "Upgrade to generate more reviews with AI — keep growing your reputation.", 'benefits' => [ "Unlimited AI review creators", "Save best-performing templates", "Consistent tone across every review", ], ], 'invites' => [ 'title' => "You've used all your Invites", 'subtitle' => "Upgrade to send more review invitations — keep the feedback flowing.", 'benefits' => [ "Unlimited review invitations", "Automated invite scheduling", "Higher response rates", ], ], default => [ 'title' => "You've reached your limit", 'subtitle' => "Upgrade to continue using this feature.", 'benefits' => [ "Unlimited access", "Priority support", "Advanced features", ], ], }; @endphp