export const pricingPlans = {
	monthly: [
		{
			id: 'tropfen',
			name: 'Mana Tropfen',
			price: 0,
			priceText: 'Kostenlos',
			startMana: 150,
			regeneration: 5,
			storage: 150,
			icon: '💧',
			popular: false,
			features: ['150 Start-Mana', '5 Mana täglich', '150 Mana Speicher', 'Basis KI-Tools'],
		},
		{
			id: 'kleiner-stream',
			name: 'Kleiner Stream',
			price: 5.99,
			priceText: '5,99€',
			startMana: 600,
			regeneration: 20,
			storage: 600,
			icon: '🌊',
			popular: false,
			features: ['600 Start-Mana', '20 Mana täglich', '600 Mana Speicher', 'Alle Apps verfügbar'],
		},
		{
			id: 'mittlerer-stream',
			name: 'Mittlerer Stream',
			price: 14.99,
			priceText: '14,99€',
			startMana: 1500,
			regeneration: 50,
			storage: 1500,
			icon: '💫',
			popular: true,
			features: ['1.500 Start-Mana', '50 Mana täglich', '1.500 Mana Speicher', 'Priority Support'],
		},
		{
			id: 'grosser-stream',
			name: 'Großer Stream',
			price: 29.99,
			priceText: '29,99€',
			startMana: 3000,
			regeneration: 100,
			storage: 3000,
			icon: '⭐',
			popular: false,
			features: ['3.000 Start-Mana', '100 Mana täglich', '3.000 Mana Speicher', 'Premium Support'],
		},
		{
			id: 'riesiger-stream',
			name: 'Riesiger Stream',
			price: 49.99,
			priceText: '49,99€',
			startMana: 5000,
			regeneration: 167,
			storage: 5000,
			icon: '🌟',
			popular: false,
			features: [
				'5.000 Start-Mana',
				'167 Mana täglich',
				'5.000 Mana Speicher',
				'Enterprise Features',
			],
		},
	],
	yearly: [
		{
			id: 'tropfen',
			name: 'Mana Tropfen',
			price: 0,
			priceText: 'Kostenlos',
			monthlyEquivalent: 0,
			startMana: 150,
			regeneration: 5,
			storage: 150,
			icon: '💧',
			popular: false,
			features: ['150 Start-Mana', '5 Mana täglich', '150 Mana Speicher', 'Basis KI-Tools'],
		},
		{
			id: 'kleiner-stream',
			name: 'Kleiner Stream',
			price: 59.9,
			priceText: '59,90€',
			monthlyEquivalent: 4.99,
			startMana: 600,
			regeneration: 20,
			storage: 600,
			icon: '🌊',
			popular: false,
			features: [
				'600 Start-Mana',
				'20 Mana täglich',
				'600 Mana Speicher',
				'Alle Apps verfügbar',
				'✨ 2 Monate gespart',
			],
		},
		{
			id: 'mittlerer-stream',
			name: 'Mittlerer Stream',
			price: 149.9,
			priceText: '149,90€',
			monthlyEquivalent: 12.49,
			startMana: 1500,
			regeneration: 50,
			storage: 1500,
			icon: '💫',
			popular: true,
			features: [
				'1.500 Start-Mana',
				'50 Mana täglich',
				'1.500 Mana Speicher',
				'Priority Support',
				'✨ 2 Monate gespart',
			],
		},
		{
			id: 'grosser-stream',
			name: 'Großer Stream',
			price: 299.9,
			priceText: '299,90€',
			monthlyEquivalent: 24.99,
			startMana: 3000,
			regeneration: 100,
			storage: 3000,
			icon: '⭐',
			popular: false,
			features: [
				'3.000 Start-Mana',
				'100 Mana täglich',
				'3.000 Mana Speicher',
				'Premium Support',
				'✨ 2 Monate gespart',
			],
		},
		{
			id: 'riesiger-stream',
			name: 'Riesiger Stream',
			price: 499.9,
			priceText: '499,90€',
			monthlyEquivalent: 41.66,
			startMana: 5000,
			regeneration: 167,
			storage: 5000,
			icon: '🌟',
			popular: false,
			features: [
				'5.000 Start-Mana',
				'167 Mana täglich',
				'5.000 Mana Speicher',
				'Enterprise Features',
				'✨ 2 Monate gespart',
			],
		},
	],
	oneTime: [
		{
			id: 'small',
			name: 'Kleiner Mana Trank',
			price: 4.99,
			priceText: '4,99€',
			mana: 350,
			icon: '🧪',
			pricePerMana: 0.0143,
		},
		{
			id: 'medium',
			name: 'Mittlerer Mana Trank',
			price: 9.99,
			priceText: '9,99€',
			mana: 700,
			icon: '⚗️',
			pricePerMana: 0.0143,
		},
		{
			id: 'large',
			name: 'Großer Mana Trank',
			price: 19.99,
			priceText: '19,99€',
			mana: 1400,
			icon: '🏺',
			pricePerMana: 0.0143,
		},
		{
			id: 'huge',
			name: 'Riesiger Mana Trank',
			price: 39.99,
			priceText: '39,99€',
			mana: 2800,
			icon: '🏛️',
			pricePerMana: 0.0143,
		},
	],
};

// Helper functions
export function getMonthlyValue(regenerationPerDay, daysInMonth = 30) {
	return regenerationPerDay * daysInMonth;
}

export function getYearlyValue(regenerationPerDay) {
	return regenerationPerDay * 365;
}

export function formatMana(value) {
	return value.toLocaleString('de-DE');
}
