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

87 lines
4.0 KiB
TypeScript
Raw Normal View History

import React from 'react';
import { UploadCloud, Cpu, Smartphone, ShieldCheck, Zap } from 'lucide-react';
import { KineticText } from '@/components/magicui/kinetic-text';
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-blue-50 to-indigo-50 text-blue-600 border-blue-200',
},
{
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-indigo-50 to-purple-50 text-indigo-600 border-indigo-200',
},
{
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: 'Lossless 4K Mobile Export',
gradient: 'from-teal-50 to-emerald-50 text-emerald-600 border-emerald-200',
},
];
return (
<section className="py-24 sm:py-32 bg-[#F5F2EB] border-t border-slate-900/[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 sm:mb-20 space-y-4 preserve-3d">
<div className="badge-3d inline-flex items-center gap-2 px-3.5 py-1.5 rounded-full bg-blue-50 border border-blue-200 text-xs font-mono font-semibold text-blue-700">
<Zap className="w-3.5 h-3.5 text-blue-600" />
<span>HIGH-SPEED ZERO-STORAGE PIPELINE</span>
</div>
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-black text-slate-900 tracking-tight text-3d-chiseled">
<KineticText>How CRE Innovations Works</KineticText>
</h2>
<p className="text-base sm:text-lg text-slate-600 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 bg-white rounded-3xl p-8 border border-slate-900/[0.08] hover:border-blue-700 shadow-cream-sm hover:shadow-cream-md 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-slate-300 group-hover:text-blue-400 transition-colors stat-value">
{st.num}
</span>
<div className={`w-12 h-12 rounded-2xl flex items-center justify-center bg-gradient-to-br ${st.gradient} border shadow-sm`}>
<Icon className="w-6 h-6" />
</div>
</div>
<h3 className="text-xl font-display font-bold text-slate-900 mb-2 group-hover:text-blue-600 transition-colors text-3d-chiseled">
{st.title}
</h3>
<p className="text-xs sm:text-sm text-slate-600 leading-relaxed mb-6 font-normal">
{st.desc}
</p>
</div>
<div className="pt-4 border-t border-slate-100 flex items-center gap-2 text-xs font-mono font-bold text-slate-700">
<ShieldCheck className="w-4 h-4 text-emerald-600" />
<span>{st.highlight}</span>
</div>
</div>
);
})}
</div>
</div>
</section>
);
}