'use client' import { motion } from 'framer-motion' import { PitchProduct, Language } from '@/lib/types' import { t } from '@/lib/i18n' import { Check } from 'lucide-react' import ProductShowcase from './ProductShowcase' interface PricingCardProps { product: PitchProduct lang: Language delay?: number } export default function PricingCard({ product, lang, delay = 0 }: PricingCardProps) { const i = t(lang) const productType = product.name.includes('Mini') ? 'mini' : product.name.includes('Studio') ? 'studio' : 'cloud' const features = lang === 'de' ? product.features_de : product.features_en return ( {product.is_popular && (
{i.product.popular}
)}

{product.name}

{product.hardware}

{product.monthly_price_eur} EUR

{i.product.monthly}

{i.product.llm} {product.llm_size}
{product.hardware_cost_eur > 0 && (
{i.product.hardware} {product.hardware_cost_eur.toLocaleString('de-DE')} EUR
)}
    {(features || []).map((feature, idx) => (
  • {feature}
  • ))}
) }