'use client'; import React from 'react'; import Link from 'next/link'; import { Sparkles, ArrowRight, Smartphone, CheckCircle2, Zap, Cpu, ShieldCheck } from 'lucide-react'; import { BeforeAfterSlider } from '@/components/ui/BeforeAfterSlider'; import { TiltCard } from '@/components/ui/TiltCard'; interface FlagshipBanner { id: string; badge: string; model: string; latency: string; title: string; tagline: string; description: string; toolSlug: string; appSlug: string; appName: string; beforeUrl: string; afterUrl: string; benefits: string[]; align: 'left' | 'right'; } const flagshipBanners: FlagshipBanner[] = [ { id: 'matting', badge: 'HAIR & ALPHA MATTING', model: 'P3M-Net Dual-Stream Alpha', latency: '< 520ms Stream', title: 'Hair-Strand Matting & Instant Cutout', tagline: 'Sub-pixel edge alpha isolation with zero halo artifacts.', description: 'Trained on high-resolution studio portraits, P3M-Net isolates individual flyaway hair strands, fur, and translucent fabrics without halo artifacts or jagged edges. Streams transparent alpha PNGs in real-time.', toolSlug: 'background-remover', appSlug: 'bg-cleaner-app', appName: 'Magic Cutout Studio', beforeUrl: '/management/pages/home/media/showcase_01_alpha_before.jpg', afterUrl: '/management/pages/home/media/showcase_01_alpha_after.jpg', benefits: [ 'Sub-pixel flyaway hair detection', 'Crisp alpha transparent background export', 'Zero edge bleeding or color fringes', ], align: 'left', }, { id: 'retouch', badge: 'DERMAL SKIN RETOUCHING', model: 'RetouchGAN v2.1 Micro-Pore', latency: '< 380ms Stream', title: 'Sub-Pore Skin Retouching & Blemish Removal', tagline: 'Natural texture preservation without artificial plastic smoothing.', description: 'Unlike standard beauty filters that smear your face into plastic, RetouchGAN operates at the dermal level—erasing blemishes, redness, and discoloration while reconstructing microscopic skin pore geometry.', toolSlug: 'blemish-remover', appSlug: 'portrait-app', appName: 'Portrait Studio AI', beforeUrl: '/management/pages/home/media/showcase_02_portrait_before.jpg', afterUrl: '/management/pages/home/media/showcase_02_portrait_after.jpg', benefits: [ 'Microscopic skin pore texture retained', 'Instant blemish, scar & discoloration repair', 'Authentic skin tone & micro-pore retention', ], align: 'right', }, { id: 'enhancer', badge: '4K RESOLUTION RESTORATION', model: 'GFPGAN + RealESRGAN Ultra', latency: '< 460ms Stream', title: '4K Super-Resolution & Facial Deblurring', tagline: 'Transform low-resolution snapshots into crystal-clear 4K portraits.', description: 'Deep neural priors restore authentic iris sharpness, eyelash detail, and facial contours on blurry, out-of-focus, or highly compressed photos, yielding gallery-ready clarity with zero guesswork.', toolSlug: 'photo-enhancer', appSlug: 'photo-enhancer-pro', appName: 'Enhance Ultra AI', beforeUrl: '/management/pages/home/media/showcase_03_superres_before.jpg', afterUrl: '/management/pages/home/media/showcase_03_superres_after.jpg', benefits: [ 'Iris clarity & sharp eyelash synthesis', '400% lossless resolution upscaling', 'Studio-grade portrait iris & eyelash clarity', ], align: 'left', }, ]; export function MajorToolBannersSection() { return (
{/* Section Header */}
PRECISION AI SHOWCASE

Next-Generation Transformations in Action

See how our neural models enhance portraits, isolate fine details, and restore clarity with interactive comparisons.

{/* Flagship Banners Stack */}
{flagshipBanners.map((banner, idx) => { const isSliderLeft = banner.align === 'right'; return (
{/* If slider is on left */} {isSliderLeft && (
)} {/* Text Details Column */}
{banner.badge} {banner.model} {banner.latency}

{banner.title}

{banner.tagline}

{banner.description}

{/* Feature Points */}
{banner.benefits.map((benefit, bIdx) => (
{benefit}
))}
{/* Action Buttons */}
Launch Tool Online Get in {banner.appName}
{/* If slider is on right */} {!isSliderLeft && (
)}
); })}
); }