feat(3d): complete site-wide autonomous and interactive 3d cinematic typography overhaul

This commit is contained in:
2026-11-03 17:08:23 +05:30
parent c764ffca14
commit 6cba2256b4
14 changed files with 340 additions and 72 deletions
+5 -5
View File
@@ -23,9 +23,9 @@ export function AppCardsSection({
<section className="py-20 sm:py-28 bg-[#F5F2EB] border-y border-slate-900/[0.08]">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
{(title || subtitle) && (
<div className="text-center max-w-3xl mx-auto mb-16 space-y-3">
<div className="text-center max-w-3xl mx-auto mb-16 space-y-3 preserve-3d">
{title && (
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-black text-slate-900 tracking-tight">
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-black text-slate-900 tracking-tight text-3d-chiseled">
{resolveLocalised(title, locale)}
</h2>
)}
@@ -41,7 +41,7 @@ export function AppCardsSection({
{apps.map((app) => (
<div
key={app.id}
className="bg-white rounded-3xl p-7 border border-slate-900/[0.08] shadow-cream-sm hover:shadow-cream-md hover:border-blue-400 hover:-translate-y-1 transition-all duration-300 flex flex-col justify-between"
className="bg-white rounded-3xl p-7 border border-slate-900/[0.08] shadow-cream-sm hover:shadow-cream-md hover:border-blue-400 hover:-translate-y-1 transition-all duration-300 flex flex-col justify-between preserve-3d"
>
<div>
{/* Header: Icon & Rating */}
@@ -50,7 +50,7 @@ export function AppCardsSection({
<Smartphone className="w-6 h-6" />
</div>
{showRating && (
<div className="flex items-center gap-1.5 bg-amber-50 border border-amber-200 px-3 py-1.5 rounded-full text-xs font-bold text-amber-800 shadow-sm">
<div className="badge-3d flex items-center gap-1.5 bg-amber-50 border border-amber-200 px-3 py-1.5 rounded-full text-xs font-bold text-amber-800 shadow-sm">
<Star className="w-3.5 h-3.5 fill-amber-400 text-amber-400" />
<span>{app.rating.value}</span>
<span className="text-[10px] text-amber-600 font-normal">({(app.rating.count / 1000).toFixed(1)}k)</span>
@@ -58,7 +58,7 @@ export function AppCardsSection({
)}
</div>
<h3 className="text-xl font-display font-bold text-slate-900">
<h3 className="text-xl font-display font-bold text-slate-900 text-3d-chiseled">
{resolveLocalised(app.name, locale)}
</h3>
<p className="mt-1 text-xs text-blue-600 font-bold tracking-wide">
+3 -3
View File
@@ -57,12 +57,12 @@ export function AppPickerSection({
return (
<section className="py-20 sm:py-28 bg-[#F5F2EB] border-t border-slate-900/[0.08]">
<div className="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="text-center space-y-3 mb-12">
<div className="inline-flex items-center gap-2 px-3.5 py-1.5 rounded-full bg-blue-50 text-blue-700 text-xs font-mono font-semibold border border-blue-200 shadow-sm">
<div className="text-center space-y-3 mb-12 preserve-3d">
<div className="badge-3d inline-flex items-center gap-2 px-3.5 py-1.5 rounded-full bg-blue-50 text-blue-700 text-xs font-mono font-semibold border border-blue-200 shadow-sm">
<HelpCircle className="w-3.5 h-3.5 text-blue-600" />
<span>INTERACTIVE APP MATCHER</span>
</div>
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-black text-slate-900 tracking-tight">
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-black text-slate-900 tracking-tight text-3d-chiseled">
{resolveLocalised(title, locale, 'Not Sure Which App You Need?')}
</h2>
<p className="text-base sm:text-lg text-slate-600 max-w-lg mx-auto font-normal">
@@ -176,12 +176,12 @@ export function CinematicHorizontalScrollSection() {
{/* Section Top Header & Navigation Telemetry with 3D Depth */}
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 w-full z-10 flex flex-col sm:flex-row sm:items-end justify-between gap-4">
<div className="preserve-3d">
<div className="inline-flex items-center gap-2 px-3.5 py-1 rounded-full bg-blue-50/90 border border-blue-200/80 text-[11px] font-mono font-semibold text-blue-700 mb-2 shadow-sm">
<div className="badge-3d inline-flex items-center gap-2 px-3.5 py-1 rounded-full bg-blue-50/90 border border-blue-200/80 text-[11px] font-mono font-semibold text-blue-700 mb-2 shadow-sm">
<Sparkles className="w-3.5 h-3.5 text-blue-600" />
<span>HORIZONTAL 3D CINEMATIC ARCHIVE</span>
</div>
<h2 className="text-2xl sm:text-4xl lg:text-5xl font-display font-black text-slate-900 tracking-tight">
Flagship Transformations <span className="text-transparent bg-clip-text bg-gradient-to-r from-blue-700 via-indigo-600 to-amber-600">In Real-Time</span>
<h2 className="text-2xl sm:text-4xl lg:text-5xl font-display font-black text-slate-900 tracking-tight text-3d-chiseled">
Flagship Transformations <span className="text-transparent bg-clip-text bg-gradient-to-r from-blue-700 via-indigo-600 to-amber-600 text-3d-gradient">In Real-Time</span>
</h2>
</div>
@@ -241,9 +241,9 @@ export function CinematicHorizontalScrollSection() {
{/* Card 3D Stereoscopic Typography Stack */}
<div className="space-y-3 preserve-3d">
{/* Headline at translateZ 45px */}
{/* Headline at translateZ 45px with 3D Chiseled Extrusion */}
<h3
className="text-xl sm:text-2xl font-display font-bold text-slate-900 tracking-tight preserve-3d drop-shadow-[0_2px_8px_rgba(15,23,42,0.08)]"
className="text-xl sm:text-2xl font-display font-bold text-slate-900 tracking-tight preserve-3d text-3d-chiseled"
style={{ transform: 'translateZ(45px)' }}
>
{card.title}
+4 -4
View File
@@ -25,13 +25,13 @@ export function FaqSection({
return (
<section className="py-24 sm:py-32 bg-[#FAF8F5] border-t border-slate-900/[0.08]">
<div className="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="text-center max-w-3xl mx-auto mb-16 space-y-3">
<div className="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">
<div className="text-center max-w-3xl mx-auto mb-16 space-y-3 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">
<HelpCircle className="w-3.5 h-3.5 text-blue-600" />
<span>TRANSPARENCY & ASSURANCE</span>
</div>
{title && (
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-black text-slate-900 tracking-tight">
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-black text-slate-900 tracking-tight text-3d-chiseled">
{resolveLocalised(title, locale)}
</h2>
)}
@@ -49,7 +49,7 @@ export function FaqSection({
onClick={() => setOpenIndex(isOpen ? null : idx)}
className="w-full p-6 text-left flex items-center justify-between gap-4 font-bold text-slate-900 hover:text-blue-600 transition-colors"
>
<span className="text-base sm:text-lg font-display">{item.q}</span>
<span className="text-base sm:text-lg font-display text-3d-chiseled">{item.q}</span>
<ChevronDown
className={`w-5 h-5 text-slate-400 shrink-0 transition-transform duration-200 ${
isOpen ? 'rotate-180 text-blue-600' : ''
+3 -3
View File
@@ -63,9 +63,9 @@ export function HeroSection({
{/* Main Hero Header */}
<div className="text-center max-w-4xl mx-auto space-y-6 mb-12 sm:mb-16 relative z-10">
{/* Live Core Status & Enigma Editorial Metadata */}
<div className="flex flex-wrap items-center justify-center gap-2.5">
<div className="flex flex-wrap items-center justify-center gap-2.5 preserve-3d">
{resolvedBadge && (
<div className="inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-blue-50/90 border border-blue-200/80 text-xs font-mono font-semibold text-blue-700 shadow-sm backdrop-blur-sm">
<div className="badge-3d inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-blue-50/90 border border-blue-200/80 text-xs font-mono font-semibold text-blue-700 shadow-sm backdrop-blur-sm">
<span className="relative flex h-2 w-2">
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-blue-500 opacity-75"></span>
<span className="relative inline-flex rounded-full h-2 w-2 bg-blue-600"></span>
@@ -73,7 +73,7 @@ export function HeroSection({
<span>{resolvedBadge}</span>
</div>
)}
<div className="hidden sm:inline-flex items-center gap-1.5 px-3 py-1 rounded-full bg-amber-50/80 border border-amber-200/60 text-[11px] font-mono font-bold text-amber-800 shadow-sm">
<div className="badge-3d hidden sm:inline-flex items-center gap-1.5 px-3 py-1 rounded-full bg-amber-50/80 border border-amber-200/60 text-[11px] font-mono font-bold text-amber-800 shadow-sm">
<span>VOL. 26 // NEURAL STUDIO</span>
</div>
</div>
+9 -3
View File
@@ -15,11 +15,17 @@ export function StatsSection({ items = [] }: StatsSectionProps) {
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10">
<div className="grid grid-cols-2 md:grid-cols-4 gap-8 text-center divide-y md:divide-y-0 md:divide-x divide-slate-200">
{items.map((stat, idx) => (
<div key={idx} className="pt-4 md:pt-0 space-y-1.5">
<p className="text-3xl sm:text-4xl lg:text-5xl font-display font-black bg-clip-text text-transparent bg-gradient-to-r from-blue-700 via-indigo-600 to-purple-600 tracking-tight">
<div key={idx} className="pt-4 md:pt-0 space-y-2 preserve-3d perspective-800 group hover:-translate-y-1 transition-transform duration-300">
<p
className="text-4xl sm:text-5xl lg:text-6xl font-display font-black bg-clip-text text-transparent bg-gradient-to-r from-blue-700 via-indigo-600 to-amber-600 tracking-tight stat-value inline-block preserve-3d"
style={{ transform: 'translateZ(30px)' }}
>
{stat.value}
</p>
<p className="text-xs font-mono uppercase tracking-wider text-slate-500 font-semibold">
<p
className="text-xs font-mono uppercase tracking-wider text-slate-600 font-bold block preserve-3d"
style={{ transform: 'translateZ(14px)' }}
>
{stat.label}
</p>
</div>
@@ -73,7 +73,7 @@ export function TransformationReelSection() {
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-blue-500 opacity-75"></span>
<span className="relative inline-flex rounded-full h-2 w-2 bg-blue-600"></span>
</span>
<h3 className="text-xs sm:text-sm font-mono font-bold uppercase tracking-widest text-slate-700">
<h3 className="text-xs sm:text-sm font-mono font-bold uppercase tracking-widest text-slate-800 text-3d-chiseled preserve-3d">
Live Transformations by CRE Neural Engine
</h3>
</div>
@@ -87,12 +87,12 @@ export function TransformationReelSection() {
</div>
{/* Horizontal scrolling showcase */}
<div className="flex gap-5 sm:gap-6 overflow-x-auto pb-4 px-4 sm:px-8 no-scrollbar scroll-smooth">
<div className="flex gap-5 sm:gap-6 overflow-x-auto pb-4 px-4 sm:px-8 no-scrollbar scroll-smooth preserve-3d">
{transformations.map((item, idx) => (
<Link
key={idx}
href={`/tools/${item.toolSlug}`}
className="group shrink-0 w-64 sm:w-72 bg-white rounded-2xl p-3.5 border border-slate-900/[0.08] shadow-sm hover:shadow-md hover:border-blue-400 hover:-translate-y-1 transition-all duration-300"
className="group shrink-0 w-64 sm:w-72 bg-white/95 backdrop-blur-sm rounded-2xl p-3.5 border border-slate-900/[0.08] shadow-sm hover:shadow-cinematic-hover hover:border-blue-400 hover:-translate-y-1.5 transition-all duration-300 preserve-3d"
>
{/* Visual side-by-side thumbnail */}
<div className="relative aspect-[16/10] rounded-xl overflow-hidden mb-3 bg-slate-950 border border-slate-200">
@@ -114,19 +114,19 @@ export function TransformationReelSection() {
</div>
</div>
<div className="space-y-1">
<div className="space-y-1 preserve-3d">
<div className="flex items-center justify-between">
<span className="text-[10px] font-mono uppercase tracking-wider text-blue-600 font-bold">
<span className="badge-3d text-[10px] font-mono uppercase tracking-wider text-blue-600 font-bold px-2 py-0.5 rounded-full bg-blue-50/80 border border-blue-200/60">
{item.category}
</span>
<span className="text-[10px] font-mono text-slate-400 group-hover:text-blue-600 transition-colors font-medium">
Try Free →
</span>
</div>
<p className="font-display font-bold text-sm text-slate-900 group-hover:text-blue-600 transition-colors truncate">
<h4 className="font-display font-bold text-sm text-slate-900 group-hover:text-blue-600 transition-colors truncate preserve-3d text-3d-chiseled" style={{ transform: 'translateZ(14px)' }}>
{item.toolName}
</p>
<p className="text-[11px] font-mono text-slate-500 truncate">
</h4>
<p className="text-[11px] font-mono text-slate-500 truncate" style={{ transform: 'translateZ(8px)' }}>
{item.tag}
</p>
</div>
@@ -69,12 +69,12 @@ export function VerticalToolStackSection({ context }: VerticalToolStackProps) {
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10">
{/* Section Header: Centered & Balanced */}
<div className="text-center max-w-3xl mx-auto mb-12 sm:mb-16">
<div className="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 mb-4 shadow-sm">
<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 mb-4 shadow-sm">
<Zap className="w-3.5 h-3.5 text-blue-600" />
<span>THE CREATIVE STUDIO SUITE</span>
</div>
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-black text-slate-900 tracking-tight mb-5">
Advanced <span className="text-transparent bg-clip-text bg-gradient-to-r from-blue-700 via-indigo-600 to-purple-600">Vision Tools</span>
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-black text-slate-900 tracking-tight mb-5 text-3d-chiseled">
Advanced <span className="text-transparent bg-clip-text bg-gradient-to-r from-blue-700 via-indigo-600 to-purple-600 text-3d-gradient">Vision Tools</span>
</h2>
<p className="text-base sm:text-lg text-slate-600 leading-relaxed font-normal">
Precision deep learning models organized by creative discipline. Test sub-millimeter skin pore retouching, fine hair alpha matting, and 4K super-resolution directly in your browser.
@@ -204,7 +204,7 @@ export function VerticalToolStackSection({ context }: VerticalToolStackProps) {
<div className="grid grid-cols-1 md:grid-cols-12 gap-8 lg:gap-10 items-center">
{/* Left Details Column */}
<div className="md:col-span-6 space-y-4">
<h4 className="text-2xl sm:text-3xl font-display font-bold text-slate-900 group-hover:text-blue-600 transition-colors">
<h4 className="text-2xl sm:text-3xl font-display font-bold text-slate-900 group-hover:text-blue-600 transition-colors text-3d-chiseled">
{resolveLocalised(tool.name, locale)}
</h4>
<p className="text-xs sm:text-sm text-slate-600 leading-relaxed font-normal">
@@ -32,13 +32,13 @@ export function WorkflowVisualizerSection() {
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">
<div className="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">
<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">
How <span className="text-transparent bg-clip-text bg-gradient-to-r from-blue-700 to-indigo-600">CRE Innovations</span> Works
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-black text-slate-900 tracking-tight text-3d-chiseled">
How <span className="text-transparent bg-clip-text bg-gradient-to-r from-blue-700 to-indigo-600 text-3d-gradient">CRE Innovations</span> Works
</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.
@@ -55,7 +55,7 @@ export function WorkflowVisualizerSection() {
>
<div>
<div className="flex items-center justify-between mb-6">
<span className="text-4xl font-mono font-black text-slate-200 group-hover:text-blue-200 transition-colors">
<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`}>
@@ -63,7 +63,7 @@ export function WorkflowVisualizerSection() {
</div>
</div>
<h3 className="text-xl font-display font-bold text-slate-900 mb-2 group-hover:text-blue-600 transition-colors">
<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">