2026-11-03 12:43:34 +05:30
import React from 'react' ;
import Link from 'next/link' ;
2026-11-03 13:02:29 +05:30
import { Sparkles , ArrowRight , CheckCircle2 , ShoppingBag , Camera , Archive , Palette , Zap } from 'lucide-react' ;
2026-11-03 12:43:34 +05:30
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 (
2026-11-03 13:02:29 +05:30
< section className = "py-20 sm:py-28 bg-[#07090E] border-t border-white/[0.08] relative overflow-hidden" >
< div className = "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10" >
< div className = "text-center max-w-3xl mx-auto mb-16 space-y-4" >
< div className = "inline-flex items-center gap-2 px-3.5 py-1.5 rounded-full bg-cyan-950/60 border border-cyan-500/30 text-xs font-mono text-cyan-300" >
< Zap className = "w-3.5 h-3.5 text-cyan-400" />
< span > REAL - WORLD VISUAL CAPABILITIES </ span >
2026-11-03 12:43:34 +05:30
</ div >
2026-11-03 13:02:29 +05:30
< h2 className = "text-3xl sm:text-4xl lg:text-5xl font-display font-extrabold text-white tracking-tight" >
Engineered for < span className = "text-transparent bg-clip-text bg-gradient-to-r from-cyan-400 to-purple-400" > Creators & Studios </ span >
2026-11-03 12:43:34 +05:30
</ h2 >
2026-11-03 13:02:29 +05:30
< p className = "text-sm sm:text-base text-slate-400 max-w-2xl mx-auto" >
2026-11-03 12:43:34 +05:30
From single - click browser trials to full 4 K studio batch exports , CRE Innovations powers every stage of your visual workflow .
</ p >
</ div >
{ /* 2x2 Visual Cards Grid */ }
< div className = "grid grid-cols-1 lg:grid-cols-2 gap-8 sm:gap-10" >
{ useCases . map (( uc , idx ) => {
const Icon = uc . icon ;
return (
< div
key = { idx }
2026-11-03 13:02:29 +05:30
className = "group relative glass-card rounded-3xl p-6 sm:p-8 border border-white/[0.08] hover:border-cyan-500/30 transition-all duration-300 flex flex-col justify-between"
2026-11-03 12:43:34 +05:30
>
< div >
{ /* Visual Before / After Split Frame */ }
2026-11-03 13:02:29 +05:30
< div className = "relative aspect-[16/10] rounded-2xl overflow-hidden mb-6 bg-[#05070B] border border-white/[0.08] shadow-inner" >
2026-11-03 12:43:34 +05:30
< div className = "grid grid-cols-2 h-full w-full" >
< div className = "relative h-full overflow-hidden border-r border-white/20" >
{ /* eslint-disable-next-line @next/next/no-img-element */ }
< img src = { uc . beforeImg } alt = { ` ${ uc . title } before` } className = "h-full w-full object-cover" />
2026-11-03 13:02:29 +05:30
< span className = "absolute top-3 left-3 bg-black/80 backdrop-blur-md px-2.5 py-1 rounded-md text-[9px] font-mono font-bold text-slate-300 border border-white/10" >
2026-11-03 12:43:34 +05:30
Original Input
</ span >
</ div >
< div className = "relative h-full overflow-hidden" >
{ /* eslint-disable-next-line @next/next/no-img-element */ }
2026-11-03 13:02:29 +05:30
< img src = { uc . afterImg } alt = { ` ${ uc . title } after` } className = "h-full w-full object-cover group-hover:scale-105 transition-transform duration-500" />
< span className = "absolute top-3 right-3 bg-gradient-to-r from-cyan-500 to-purple-600 backdrop-blur-md px-2.5 py-1 rounded-md text-[9px] font-mono font-bold text-white shadow-md border border-white/20" >
2026-11-03 12:43:34 +05:30
CRE AI Result
</ span >
</ div >
</ div >
</ div >
{ /* Header */ }
2026-11-03 13:02:29 +05:30
< div className = "flex items-center justify-between mb-3" >
< div className = "flex items-center gap-2 text-xs font-mono font-bold text-cyan-400" >
2026-11-03 12:43:34 +05:30
< Icon className = "w-4 h-4" />
< span >{ uc . category }</ span >
</ div >
2026-11-03 13:02:29 +05:30
< span className = "text-[10.5px] font-mono text-slate-300 bg-white/[0.04] border border-white/[0.08] px-2.5 py-0.5 rounded-full" >
2026-11-03 12:43:34 +05:30
{ uc . badge }
</ span >
</ div >
2026-11-03 13:02:29 +05:30
< h3 className = "text-xl sm:text-2xl font-display font-bold text-white group-hover:text-cyan-300 transition-colors" >
2026-11-03 12:43:34 +05:30
{ uc . title }
</ h3 >
2026-11-03 13:02:29 +05:30
< p className = "mt-2 text-xs sm:text-sm text-slate-400 leading-relaxed" >
2026-11-03 12:43:34 +05:30
{ uc . desc }
</ p >
{ /* Benefit points */ }
2026-11-03 13:02:29 +05:30
< div className = "mt-5 pt-4 border-t border-white/[0.08] space-y-2" >
2026-11-03 12:43:34 +05:30
{ uc . benefits . map (( b , bIdx ) => (
2026-11-03 13:02:29 +05:30
< div key = { bIdx } className = "flex items-center gap-2 text-xs text-slate-300" >
< CheckCircle2 className = "w-3.5 h-3.5 text-cyan-400 shrink-0" />
2026-11-03 12:43:34 +05:30
< span >{ b }</ span >
</ div >
))}
</ div >
</ div >
< div className = "mt-6 pt-4" >
< Link
href = { `/tools/ ${ uc . toolSlug } ` }
2026-11-03 13:02:29 +05:30
className = "inline-flex items-center gap-2 text-xs font-mono font-bold text-cyan-400 hover:text-cyan-300 group-hover:translate-x-1 transition-all"
2026-11-03 12:43:34 +05:30
>
< span > Launch { uc . toolName } online </ span >
< ArrowRight className = "w-3.5 h-3.5" />
</ Link >
</ div >
</ div >
);
})}
</ div >
</ div >
</ section >
);
}