import React from 'react'; import Link from 'next/link'; import { Sparkles, ArrowRight, CheckCircle2, ShoppingBag, Camera, Archive, Palette, Zap } from 'lucide-react'; interface UseCaseCard { title: string; category: string; desc: string; toolSlug: string; toolName: string; icon: any; beforeImg: string; afterImg: string; badge: string; benefits: string[]; } const useCases: UseCaseCard[] = [ { title: 'E-Commerce & Product Isolation', category: 'Commercial Cutouts', desc: 'Isolate products, apparel, and models with sub-pixel hair strand precision and transparent PNG export ready for Shopify, Amazon, and marketplaces.', toolSlug: 'background-remover', toolName: 'P3M Background Remover', icon: ShoppingBag, beforeImg: 'https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=600&auto=format&fit=crop&q=80', afterImg: 'https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=600&auto=format&fit=crop&q=80', badge: 'P3M Dual-Stream Matting', benefits: ['Clean alpha transparent PNG', 'Flyaway hair strand detection', 'Batch cutout ready in app'], }, { title: 'Studio Portraits & Beauty Retouching', category: 'Headshots & Beauty', desc: 'Remove blemishes, acne, scars, and under-eye discoloration while safeguarding natural skin pore texture without the artificial plastic blur.', toolSlug: 'blemish-remover', toolName: 'AI Blemish Remover', icon: Camera, beforeImg: 'https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=600&auto=format&fit=crop&q=80', afterImg: 'https://images.unsplash.com/photo-1517841905240-472988babdf9?w=600&auto=format&fit=crop&q=80', badge: 'Micro-Pore Safeguard', benefits: ['Zero artificial plastic look', 'Localised neural inpainting', 'Multi-mode eye & skin fixes'], }, { title: 'Vintage Archives & Photo Restoration', category: 'Genealogy & Memories', desc: 'Erase physical folding creases, tear marks, and sepia fade from antique family photos, then breathe life into monochrome prints with deep colorization.', toolSlug: 'old-photo-restorer', toolName: 'Vintage Photo Restorer', icon: Archive, beforeImg: 'https://images.unsplash.com/photo-1509198397868-475647b2a1e5?w=600&auto=format&fit=crop&q=80', afterImg: 'https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?w=600&auto=format&fit=crop&q=80', badge: 'Historical Inpainting', benefits: ['Physical scratch & crease repair', 'Historical skin tone colorizer', 'Preserve family heritage'], }, { title: 'Creator Avatars & CartoonGAN Stylization', category: 'Social Media & Creators', desc: 'Convert any portrait selfie into striking anime cel illustrations, manga linework, or nostalgic vintage Polaroid instant camera prints.', toolSlug: 'cartoon-avatar', toolName: 'CartoonGAN Anime Avatar', icon: Palette, beforeImg: 'https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=600&auto=format&fit=crop&q=80', afterImg: 'https://images.unsplash.com/photo-1578632767115-351597cf2477?w=600&auto=format&fit=crop&q=80', badge: 'Generative Adversarial Nets', benefits: ['Facial geometry preservation', 'Manga cel shading', 'Social media ready avatars'], }, ]; export function VisualUseCasesSection() { return (
REAL-WORLD VISUAL CAPABILITIES

Engineered for Creators & Studios

From single-click browser trials to full 4K studio batch exports, CRE Innovations powers every stage of your visual workflow.

{/* 2x2 Visual Cards Grid */}
{useCases.map((uc, idx) => { const Icon = uc.icon; return (
{/* Visual Before / After Split Frame */}
{/* eslint-disable-next-line @next/next/no-img-element */} {`${uc.title} Original Input
{/* eslint-disable-next-line @next/next/no-img-element */} {`${uc.title} CRE AI Result
{/* Header */}
{uc.category}
{uc.badge}

{uc.title}

{uc.desc}

{/* Benefit points */}
{uc.benefits.map((b, bIdx) => (
{b}
))}
Launch {uc.toolName} online
); })}
); }