Files
webb/src/components/sections/WorkflowVisualizerSection.tsx
T

89 lines
4.1 KiB
TypeScript

import React from 'react';
import { UploadCloud, Cpu, Smartphone, ShieldCheck, Zap, ArrowRight } from 'lucide-react';
export function WorkflowVisualizerSection() {
const steps = [
{
num: '01',
title: 'Upload Any Photo',
desc: 'Drag & drop JPG, PNG, or WEBP up to 12MB. Client-side signature checks ensure instantaneous, secure processing.',
icon: UploadCloud,
highlight: 'Zero Sign-Up Required',
gradient: 'from-cyan-500/20 to-blue-500/10 text-cyan-400 border-cyan-500/30',
},
{
num: '02',
title: 'In-Memory Neural Inference',
desc: 'Our neural models process pixels purely in volatile RAM buffers and stream the binary result directly back. Zero disk storage.',
icon: Cpu,
highlight: 'Zero Storage Guarantee',
gradient: 'from-purple-500/20 to-pink-500/10 text-purple-400 border-purple-500/30',
},
{
num: '03',
title: 'Instant HD & 4K Mobile Handoff',
desc: 'Download your result in standard HD or scan the dynamic QR code to unlock batch processing and 4K lossless export in our mobile apps.',
icon: Smartphone,
highlight: '50 Free App Credits',
gradient: 'from-emerald-500/20 to-teal-500/10 text-emerald-400 border-emerald-500/30',
},
];
return (
<section className="py-20 sm:py-28 bg-[#05070B] border-t border-white/[0.08] relative overflow-hidden">
{/* Ambient background glow */}
<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-3/4 h-64 bg-cyan-500/5 blur-3xl pointer-events-none" />
<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>HIGH-SPEED ZERO-STORAGE PIPELINE</span>
</div>
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-extrabold text-white tracking-tight">
How <span className="text-transparent bg-clip-text bg-gradient-to-r from-cyan-400 to-teal-300">CRE Innovations</span> Works
</h2>
<p className="text-sm sm:text-base text-slate-400 max-w-2xl mx-auto">
A frictionless pipeline engineered for microsecond latency, cryptographic user privacy, and fluid mobile transition.
</p>
</div>
<div className="grid grid-cols-1 md:grid-cols-3 gap-8">
{steps.map((st, idx) => {
const Icon = st.icon;
return (
<div
key={idx}
className="relative glass-card rounded-3xl p-7 sm:p-8 border border-white/[0.08] hover:border-cyan-500/30 transition-all duration-300 flex flex-col justify-between group"
>
<div>
<div className="flex items-center justify-between mb-6">
<span className="text-4xl font-mono font-black text-white/10 group-hover:text-cyan-400/30 transition-colors">
{st.num}
</span>
<div className={`w-12 h-12 rounded-2xl flex items-center justify-center bg-gradient-to-br ${st.gradient} border shadow-lg`}>
<Icon className="w-6 h-6" />
</div>
</div>
<h3 className="text-xl font-display font-bold text-white mb-2 group-hover:text-cyan-300 transition-colors">
{st.title}
</h3>
<p className="text-xs sm:text-sm text-slate-400 leading-relaxed mb-6">
{st.desc}
</p>
</div>
<div className="pt-4 border-t border-white/[0.08] flex items-center gap-2 text-xs font-mono text-slate-300">
<ShieldCheck className="w-4 h-4 text-emerald-400" />
<span>{st.highlight}</span>
</div>
</div>
);
})}
</div>
</div>
</section>
);
}