// =====================
// PLATFORM — Core enum & config
// =====================

export type Platform =
  | "seedance"
  | "gemini_omni"
  | "kling_motion"
  | "higgsfield"
  | "tiktok_ugc";

export type GeneratorMode   = "simple" | "advanced";
export type OutputFormat    = "text" | "json" | "shot_list" | "script";
export type VariationCount  = 1 | 3 | 5;

export interface PlatformConfig {
  id: Platform;
  name: string;
  description: string;
  icon: string;
  color: string;
  gradientFrom: string;
  gradientTo: string;
  badge?: string;
  features: string[];
}

export const PLATFORM_CONFIGS: Record<Platform, PlatformConfig> = {
  seedance: {
    id: "seedance",
    name: "Seedance",
    description: "Video generation dengan cinematic quality tinggi",
    icon: "🎬",
    color: "from-purple-500 to-indigo-600",
    gradientFrom: "#7C3AED",
    gradientTo: "#4F46E5",
    features: ["Camera motion", "Scene composition", "Lighting control"],
  },
  gemini_omni: {
    id: "gemini_omni",
    name: "Gemini Omni Flash",
    description: "Google AI multimodal generation yang powerful",
    icon: "✨",
    color: "from-blue-500 to-cyan-600",
    gradientFrom: "#3B82F6",
    gradientTo: "#06B6D4",
    badge: "Google AI",
    features: ["Multimodal input", "Fast generation", "High accuracy"],
  },
  kling_motion: {
    id: "kling_motion",
    name: "Kling Motion Control",
    description: "Kontrol gerakan presisi untuk video AI",
    icon: "🎯",
    color: "from-orange-500 to-red-600",
    gradientFrom: "#F97316",
    gradientTo: "#DC2626",
    features: ["Motion control", "Camera path", "Subject tracking"],
  },
  higgsfield: {
    id: "higgsfield",
    name: "Higgsfield",
    description: "Cinematic AI video dengan physics simulation",
    icon: "🌊",
    color: "from-teal-500 to-emerald-600",
    gradientFrom: "#14B8A6",
    gradientTo: "#059669",
    features: ["Physics sim", "Particle effects", "Fluid dynamics"],
  },
  tiktok_ugc: {
    id: "tiktok_ugc",
    name: "UGC TikTok",
    description: "Script dan prompt untuk konten viral TikTok",
    icon: "📱",
    color: "from-pink-500 to-rose-600",
    gradientFrom: "#EC4899",
    gradientTo: "#E11D48",
    features: ["Hook writing", "UGC scripts", "Viral formulas"],
  },
};
