"use client"; import { useState } from "react"; import { motion } from "framer-motion"; import { Check, X, Zap, Crown, Rocket, Sparkles, ArrowRight, } from "lucide-react"; import { cn } from "@/lib/utils"; const plans = [ { id: "free", name: "Free", icon: Sparkles, monthlyPrice: 0, yearlyPrice: 0, credits: 3, description: "AI video üretimini keşfet", color: "emerald", gradient: "from-emerald-500/15 to-emerald-600/5", borderActive: "border-emerald-500/30", buttonClass: "btn-ghost", buttonLabel: "Mevcut Plan", features: [ { label: "3 kredi / ay", included: true }, { label: "720p video kalitesi", included: true }, { label: "Max 30 saniye", included: true }, { label: "5 proje limiti", included: true }, { label: "Temel şablonlar", included: true }, { label: "Öncelikli kuyruk", included: false }, { label: "Marka kaldırma", included: false }, { label: "API erişimi", included: false }, ], }, { id: "pro", name: "Pro", icon: Zap, monthlyPrice: 19, yearlyPrice: 190, credits: 50, description: "İçerik üreticileri için güçlü araçlar", color: "violet", gradient: "from-violet-500/20 to-violet-600/8", borderActive: "border-violet-500/40", buttonClass: "btn-primary", buttonLabel: "Pro'ya Yükselt", recommended: true, features: [ { label: "50 kredi / ay", included: true }, { label: "1080p video kalitesi", included: true }, { label: "Max 120 saniye", included: true }, { label: "50 proje limiti", included: true }, { label: "Tüm şablonlar", included: true }, { label: "Öncelikli kuyruk", included: true }, { label: "Marka kaldırma", included: true }, { label: "API erişimi", included: false }, ], }, { id: "business", name: "Business", icon: Crown, monthlyPrice: 49, yearlyPrice: 490, credits: -1, description: "Ajanslar ve profesyonel ekipler", color: "cyan", gradient: "from-cyan-500/15 to-cyan-600/5", borderActive: "border-cyan-500/30", buttonClass: "btn-primary", buttonLabel: "Business'a Yükselt", features: [ { label: "Sınırsız kredi", included: true }, { label: "1080p video kalitesi", included: true }, { label: "Max 180 saniye", included: true }, { label: "Sınırsız proje", included: true }, { label: "Tüm şablonlar + Özel", included: true }, { label: "Öncelikli kuyruk", included: true }, { label: "Marka kaldırma", included: true }, { label: "API erişimi", included: true }, ], }, ]; const fadeUp = { hidden: { opacity: 0, y: 20 }, show: { opacity: 1, y: 0, transition: { duration: 0.6, ease: [0.16, 1, 0.3, 1] as const } }, }; export default function PricingPage() { const [isYearly, setIsYearly] = useState(false); return (
Her plan ücretsiz deneme ile başlar. İstediğin zaman yükselt veya iptal et.
{/* Aylık / Yıllık Toggle */}{plan.description}
{plan.credits === -1 ? "Sınırsız video üretimi" : `${plan.credits} kredi dahil`}
🔒 Güvenli ödeme • İstediğin zaman iptal • 7 gün para iade garantisi
Stripe ile güvenli ödeme altyapısı