feat(homepage+tools): tools page card refinement and homepage fixes

This commit is contained in:
2026-11-06 18:38:45 +05:30
parent 69d4195718
commit 1a2a3045f5
48 changed files with 4866 additions and 1450 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
import React from 'react';
import Link from 'next/link';
import { Smartphone, Star, Check, ArrowRight } from 'lucide-react';
import { KineticText } from '@/components/magicui/kinetic-text';
import { AppItem, resolveLocalised } from '@/types';
interface AppCardsSectionProps {
@@ -26,7 +27,7 @@ export function AppCardsSection({
<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 text-3d-chiseled">
{resolveLocalised(title, locale)}
<KineticText>{resolveLocalised(title, locale)}</KineticText>
</h2>
)}
{subtitle && (
+27 -16
View File
@@ -10,6 +10,7 @@ import {
ShieldCheck
} from 'lucide-react';
import { AppItem, ToolItem, resolveLocalised } from '@/types';
import { KineticText } from '@/components/magicui/kinetic-text';
interface AppHandoffSectionProps {
app?: AppItem;
@@ -76,12 +77,22 @@ export function AppHandoffSection({
const appTagline = resolveLocalised(app.tagline, locale);
return (
<section id="app-handoff" className="py-16 sm:py-24 bg-paper border-b border-rule relative">
<div className="max-w-container mx-auto px-4 sm:px-6 lg:px-8 space-y-10">
<section id="app-handoff" className="py-16 sm:py-24 bg-paper border-b border-rule relative overflow-hidden">
{/* Studio Lighting Background Glow */}
<div
className="pointer-events-none absolute top-10 left-10 w-[500px] h-[350px] [background:radial-gradient(ellipse_at_center,color-mix(in_oklab,var(--color-accent)_12%,transparent)_0%,transparent_70%)]"
aria-hidden="true"
/>
<div
className="pointer-events-none absolute inset-0 opacity-20 studio-proof-grid"
aria-hidden="true"
/>
<div className="max-w-container mx-auto px-4 sm:px-6 lg:px-8 space-y-10 relative z-10">
{/* Section Header */}
<div className="max-w-2xl space-y-2 border-b border-rule pb-5">
<h2 className="text-3xl sm:text-4xl font-display font-bold text-ink tracking-tight">
Continue on mobile
<KineticText>Continue on mobile</KineticText>
</h2>
<p className="text-sm sm:text-base text-ink-2 font-body text-pretty">
Handoff this tool directly to your iOS or Android phone with 50 bonus credits.
@@ -90,7 +101,7 @@ export function AppHandoffSection({
<div className="grid grid-cols-1 lg:grid-cols-12 gap-8 items-start">
{/* Left Column: App Specifications & Store Buttons */}
<div className="lg:col-span-7 studio-sheet p-6 sm:p-8 crop-marked space-y-6">
<div className="lg:col-span-7 studio-sheet rounded-3xl p-6 sm:p-8 space-y-6">
<div className="border-b border-rule pb-5 space-y-2">
<span className="text-xs text-muted font-body">Dedicated companion client</span>
<h3 className="text-2xl font-display font-bold text-ink">
@@ -103,7 +114,7 @@ export function AppHandoffSection({
{/* Promo Voucher */}
{showBonus && (
<div className="p-4 bg-paper-2 border border-rule rounded-card flex flex-col sm:flex-row items-start sm:items-center justify-between gap-3">
<div className="p-4 bg-paper-2 border border-rule rounded-2xl flex flex-col sm:flex-row items-start sm:items-center justify-between gap-3">
<div className="space-y-0.5">
<span className="text-xs font-body font-semibold text-ink">
50 Free credits voucher code
@@ -113,13 +124,13 @@ export function AppHandoffSection({
</p>
</div>
<div className="flex items-center gap-2">
<span className="font-body text-sm font-semibold text-accent px-2.5 py-1 bg-paper-hi border border-rule rounded">
<span className="font-body text-sm font-semibold text-accent px-3 py-1 bg-paper-hi border border-rule rounded-full">
{bonusCode}
</span>
<button
type="button"
onClick={copyPromo}
className="btn-secondary text-xs px-2.5 py-1"
className="btn-secondary text-xs px-3 py-1.5 rounded-full min-h-[36px]"
aria-label="Copy voucher code"
>
{copiedPromo ? <Check className="w-3.5 h-3.5 text-accent" aria-hidden="true" /> : <Copy className="w-3.5 h-3.5 text-muted" aria-hidden="true" />}
@@ -131,33 +142,33 @@ export function AppHandoffSection({
{/* Official Store Buttons */}
<div className="pt-2 space-y-3">
<span className="text-xs text-muted font-body block">Direct store installation</span>
<div className="flex flex-wrap gap-3">
<div className="flex flex-col sm:flex-row flex-wrap gap-3">
<a
href={app.stores?.ios?.url || `/go/${tool?.slug || 'explore'}/${app.slug}`}
target="_blank"
rel="noopener noreferrer"
className="btn-secondary"
className="btn-secondary min-h-[48px] rounded-full justify-center w-full sm:w-auto"
>
<Smartphone className="w-4 h-4 text-accent" aria-hidden="true" />
<span>Apple App Store</span>
<ExternalLink className="w-3 h-3 text-muted ml-1" aria-hidden="true" />
<ExternalLink className="w-3.5 h-3.5 text-muted ml-1" aria-hidden="true" />
</a>
<a
href={app.stores?.android?.url || `/go/${tool?.slug || 'explore'}/${app.slug}`}
target="_blank"
rel="noopener noreferrer"
className="btn-secondary"
className="btn-secondary min-h-[48px] rounded-full justify-center w-full sm:w-auto"
>
<Smartphone className="w-4 h-4 text-accent" aria-hidden="true" />
<span>Google Play</span>
<ExternalLink className="w-3 h-3 text-muted ml-1" aria-hidden="true" />
<ExternalLink className="w-3.5 h-3.5 text-muted ml-1" aria-hidden="true" />
</a>
<button
type="button"
onClick={copyLink}
className="btn-secondary"
className="btn-secondary min-h-[48px] rounded-full justify-center w-full sm:w-auto"
aria-label="Copy direct deep link"
>
{copiedLink ? <Check className="w-4 h-4 text-accent" aria-hidden="true" /> : <Copy className="w-4 h-4 text-muted" aria-hidden="true" />}
@@ -173,14 +184,14 @@ export function AppHandoffSection({
{/* Right Column: Clean QR Code Card */}
{showQr && qrDataUrl && (
<div className="lg:col-span-5 studio-sheet p-6 sm:p-8 crop-marked text-center flex flex-col items-center">
<div className="lg:col-span-5 studio-sheet rounded-3xl p-6 sm:p-8 text-center flex flex-col items-center">
<span className="text-xs text-muted font-body mb-4">Scan with phone camera</span>
<div className="p-3 bg-paper-hi border border-rule rounded-card inline-block shadow-sm">
<div className="p-4 bg-paper-hi border border-rule rounded-2xl inline-block shadow-sm">
<img
src={qrDataUrl}
alt="Scan QR code to install app"
className="w-44 h-44 object-contain rounded"
className="w-44 h-44 object-contain rounded-xl"
/>
</div>
+2 -1
View File
@@ -3,6 +3,7 @@
import React, { useState } from 'react';
import Link from 'next/link';
import { HelpCircle, ArrowRight, Smile, RefreshCcw, Scissors, Palette } from 'lucide-react';
import { KineticText } from '@/components/magicui/kinetic-text';
import { AppItem, resolveLocalised } from '@/types';
interface AppPickerSectionProps {
@@ -63,7 +64,7 @@ export function AppPickerSection({
<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 text-3d-chiseled">
{resolveLocalised(title, locale, 'Not Sure Which App You Need?')}
<KineticText>{resolveLocalised(title, locale, 'Not Sure Which App You Need?')}</KineticText>
</h2>
<p className="text-base sm:text-lg text-slate-600 max-w-lg mx-auto font-normal">
{resolveLocalised(subtitle, locale, 'Select what you want to edit and find your tailored CRE Innovations app.')}
@@ -1,4 +1,5 @@
import React from 'react';
import { KineticText } from '@/components/magicui/kinetic-text';
import { resolveLocalised } from '@/types';
import { BeforeAfterSlider } from '../ui/BeforeAfterSlider';
@@ -29,7 +30,7 @@ export function BeforeAfterSection({
<div className="text-center max-w-3xl mx-auto mb-14 space-y-3">
{title && (
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-black text-slate-900 tracking-tight">
{resolveLocalised(title, locale)}
<KineticText>{resolveLocalised(title, locale)}</KineticText>
</h2>
)}
{subtitle && (
@@ -3,6 +3,7 @@
import React, { useRef, useState, useEffect, useCallback } from 'react';
import Link from 'next/link';
import { ArrowRight, Check, Smartphone, ChevronLeft, ChevronRight } from 'lucide-react';
import { KineticText } from '@/components/magicui/kinetic-text';
import { CardBeforeAfterSlider } from '@/components/ui/CardBeforeAfterSlider';
export interface ShowcaseItem {
@@ -190,7 +191,7 @@ export function CinematicHorizontalScrollSection({
<div className="max-w-2xl">
<p className="eyebrow">{badge}</p>
<h2 className="mt-1 text-2xl font-display font-bold tracking-tight text-slate-900 sm:text-3xl lg:text-4xl">
{title}
<KineticText>{title}</KineticText>
</h2>
<p className="mt-1 text-xs text-slate-600 sm:text-sm">{subtitle}</p>
</div>
@@ -220,7 +221,9 @@ export function CinematicHorizontalScrollSection({
<div className="flex flex-col gap-2 sm:flex-row sm:items-end sm:justify-between">
<div className="max-w-2xl">
<p className="eyebrow">{badge}</p>
<h2 className="mt-1 text-2xl font-display font-bold tracking-tight text-slate-900 sm:text-3xl lg:text-4xl">{title}</h2>
<h2 className="mt-1 text-2xl font-display font-bold tracking-tight text-slate-900 sm:text-3xl lg:text-4xl">
<KineticText>{title}</KineticText>
</h2>
<p className="mt-1 text-xs text-slate-600 sm:text-sm">{subtitle}</p>
</div>
<p className="hidden text-xs font-medium text-slate-500 sm:block">Scroll down to explore models</p>
+71 -34
View File
@@ -1,7 +1,13 @@
'use client';
import React from 'react';
import Link from 'next/link';
import { ArrowRight } from 'lucide-react';
import { ArrowRight, Smartphone, Sparkles, ShieldCheck } from 'lucide-react';
import { resolveLocalised } from '@/types';
import { BorderBeam } from '@/components/magicui/border-beam';
import { RainbowButton } from '@/components/magicui/rainbow-button';
import { InteractiveHoverButton } from '@/components/magicui/interactive-hover-button';
import { KineticText } from '@/components/magicui/kinetic-text';
interface CtaBannerSectionProps {
title?: any;
@@ -24,42 +30,73 @@ export function CtaBannerSection({
secondaryCta,
locale = 'en',
}: CtaBannerSectionProps) {
const resolvedTitle = resolveLocalised(title, locale) || 'Need Batch Processing or 4K Lossless Export?';
const resolvedSubtitle = resolveLocalised(subtitle, locale) || 'Each tool connects directly to its dedicated mobile app with advanced brush tools and unlimited processing.';
const primaryHref = primaryCta?.href || '/apps';
const primaryLabel = resolveLocalised(primaryCta?.label, locale) || 'View Mobile Apps';
const secondaryHref = secondaryCta?.href || '/#our-tools';
const secondaryLabel = resolveLocalised(secondaryCta?.label, locale) || 'Explore Studio Tools';
return (
<section className="py-20 sm:py-28 bg-[#FAF8F5] border-t border-slate-900/[0.08]">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="rounded-3xl bg-gradient-to-r from-blue-700 via-indigo-700 to-blue-800 p-10 sm:p-16 text-center text-white shadow-cream-lg relative overflow-hidden">
{/* Subtle background glow */}
<div className="absolute top-0 right-0 w-96 h-96 bg-white/[0.08] rounded-full blur-3xl pointer-events-none" />
<section className="py-16 sm:py-24 bg-paper border-t border-rule relative overflow-hidden">
{/* Studio Lighting Ambient Glow */}
<div
className="pointer-events-none absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[700px] h-[400px] [background:radial-gradient(circle_at_center,color-mix(in_oklab,var(--color-accent)_10%,transparent)_0%,transparent_70%)]"
aria-hidden="true"
/>
<div
className="pointer-events-none absolute inset-0 opacity-20 studio-proof-grid"
aria-hidden="true"
/>
<div className="relative z-10 max-w-2xl mx-auto space-y-4">
{title && (
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-black tracking-tight">
{resolveLocalised(title, locale)}
</h2>
)}
{subtitle && (
<p className="text-base sm:text-lg text-blue-100 font-normal">
{resolveLocalised(subtitle, locale)}
</p>
)}
<div className="max-w-container mx-auto px-4 sm:px-6 md:px-8 lg:px-10 relative z-10">
<div className="studio-sheet rounded-3xl p-8 sm:p-14 lg:p-16 text-center bg-paper-hi border border-rule shadow-sheet relative overflow-hidden">
{/* Subtle Border Beam animation */}
<BorderBeam size={160} duration={12} borderWidth={1.5} colorFrom="var(--color-accent)" colorTo="var(--color-accent-hi)" />
<div className="pt-6 flex flex-wrap items-center justify-center gap-4">
{primaryCta && (
<Link
href={primaryCta.href}
className="px-7 py-3.5 rounded-full text-xs sm:text-sm font-bold text-slate-900 bg-white hover:bg-slate-100 shadow-md transition-all hover:scale-105 active:scale-95"
>
{resolveLocalised(primaryCta.label, locale)}
</Link>
)}
{secondaryCta && (
<Link
href={secondaryCta.href}
className="px-7 py-3.5 rounded-full text-xs sm:text-sm font-bold text-white border border-white/40 hover:bg-white/10 transition-colors"
>
{resolveLocalised(secondaryCta.label, locale)}
</Link>
)}
<div className="relative z-10 max-w-2xl mx-auto space-y-5">
{/* Studio Badge */}
<div className="inline-flex items-center gap-2 px-3.5 py-1.5 rounded-full bg-paper-2 border border-rule text-xs font-body text-ink shadow-xs">
<Smartphone className="w-3.5 h-3.5 text-accent" />
<span>Mobile studio suite</span>
<span className="w-1 h-1 rounded-full bg-accent" />
<span className="text-muted">Direct QR handoff</span>
</div>
{/* Headline with kinetic typography */}
<h2 className="text-2xl sm:text-4xl lg:text-5xl font-display font-extrabold text-ink tracking-tight text-balance">
<KineticText>{resolvedTitle}</KineticText>
</h2>
{/* Subtitle */}
<p className="text-sm sm:text-base text-ink-2 font-body max-w-xl mx-auto leading-relaxed text-pretty">
{resolvedSubtitle}
</p>
{/* Privacy & Speed Pills */}
<div className="pt-2 flex flex-wrap items-center justify-center gap-2 text-xs font-body text-muted">
<span className="inline-flex items-center gap-1.5 px-3 py-1 rounded-full bg-paper-2 border border-rule">
<ShieldCheck className="w-3.5 h-3.5 text-emerald-600" />
<span>Zero server storage</span>
</span>
<span className="inline-flex items-center gap-1.5 px-3 py-1 rounded-full bg-paper-2 border border-rule">
<Sparkles className="w-3.5 h-3.5 text-amber-500" />
<span>4K ultra-resolution batch</span>
</span>
</div>
{/* Action Buttons */}
<div className="pt-4 flex flex-wrap items-center justify-center gap-4">
<RainbowButton href={primaryHref} className="min-w-[180px]">
<span>{primaryLabel}</span>
<ArrowRight className="w-4 h-4 ml-1 inline" aria-hidden="true" />
</RainbowButton>
<InteractiveHoverButton
text={secondaryLabel}
href={secondaryHref}
className="min-h-[48px] min-w-[180px]"
/>
</div>
</div>
</div>
+17 -12
View File
@@ -3,6 +3,7 @@
import React, { useState } from 'react';
import { ChevronDown } from 'lucide-react';
import { resolveLocalised } from '@/types';
import { KineticText } from '@/components/magicui/kinetic-text';
interface FaqSectionProps {
title?: any;
@@ -48,36 +49,40 @@ export function FaqSection({
{/* Section Header */}
<div className="space-y-2 border-b border-rule pb-5">
<h2 className="text-3xl sm:text-4xl font-display font-bold text-ink tracking-tight">
{resolvedTitle}
<KineticText>{resolvedTitle}</KineticText>
</h2>
<p className="text-sm sm:text-base text-ink-2 font-body text-pretty">
Technical details regarding zero-storage privacy, format limits, and mobile client handoff.
</p>
</div>
{/* Ruled Accordion List */}
<div className="border-t border-rule divide-y divide-rule">
{/* Rounded Accordion Cards (NO SHARP EDGES) */}
<div className="space-y-3.5">
{displayItems.map((item, idx) => {
const isOpen = openIndex === idx;
return (
<div key={idx} className="py-4">
<div
key={idx}
className={`rounded-2xl bg-paper-hi border shadow-xs transition-[border-color,box-shadow] duration-200 overflow-hidden ${
isOpen ? 'border-accent shadow-glow' : 'border-rule hover:border-accent/50'
}`}
>
<button
type="button"
onClick={() => setOpenIndex(isOpen ? null : idx)}
className="w-full text-left flex items-center justify-between gap-4 font-body font-semibold text-base text-ink hover:text-accent transition-colors"
className="w-full text-left p-5 flex items-center justify-between gap-4 font-body font-bold text-base text-ink hover:text-accent transition-colors focus-visible:ring-2 focus-visible:ring-accent active:bg-paper-2"
aria-expanded={isOpen}
>
<span>{item.q}</span>
<ChevronDown
className={`w-4 h-4 text-muted shrink-0 transition-transform duration-150 ${
isOpen ? 'rotate-180 text-accent' : ''
}`}
aria-hidden="true"
/>
<div className={`w-8 h-8 rounded-full bg-paper-2 flex items-center justify-center shrink-0 transition-transform duration-200 ${
isOpen ? 'rotate-180 bg-accent text-white' : 'text-muted'
}`}>
<ChevronDown className="w-4 h-4" aria-hidden="true" />
</div>
</button>
{isOpen && (
<div className="mt-3 text-sm text-ink-2 leading-relaxed font-body pr-8">
<div className="px-5 pb-5 pt-1 text-sm text-ink-2 leading-relaxed font-body border-t border-rule/60">
{item.a}
</div>
)}
+268 -97
View File
@@ -1,11 +1,81 @@
'use client';
import React, { useState } from 'react';
import React, { useState, useEffect } from 'react';
import Link from 'next/link';
import { ArrowRight, Smartphone, SlidersHorizontal, UploadCloud } from 'lucide-react';
import dynamic from 'next/dynamic';
import {
Sparkles,
ArrowRight,
Smartphone,
ShieldCheck,
Cpu,
Zap,
Layers
} from 'lucide-react';
import { ToolItem, VariantSpec, resolveLocalised } from '@/types';
import { TryItWidget } from './TryItWidget';
import { CardBeforeAfterSlider } from '@/components/ui/CardBeforeAfterSlider';
import { Particles } from '@/components/magicui/particles';
import { BorderBeam } from '@/components/magicui/border-beam';
import { LightRays } from '@/components/magicui/light-rays';
import { RainbowButton } from '@/components/magicui/rainbow-button';
import { InteractiveHoverButton } from '@/components/magicui/interactive-hover-button';
import { BlurFade } from '@/components/magicui/blur-fade';
import { KineticText } from '@/components/magicui/kinetic-text';
import { AnimatedShinyText } from '@/components/magicui/animated-shiny-text';
import { TextAnimate } from '@/components/magicui/text-animate';
import { cn } from '@/lib/utils';
/**
* Interactive Hero Headline Item:
* - At first: Magic UI TextAnimate character entrance (blurInUp stagger)
* - After hovering: Magic UI AnimatedShinyText specular shimmer reflection
* - 0% text shift: unified single DOM node with zero layout jitter
*/
function HeroHeadlineItem({
text,
delay = 0,
}: {
text: string;
delay?: number;
}) {
const [isEntranceDone, setIsEntranceDone] = useState(false);
useEffect(() => {
const timer = setTimeout(() => {
setIsEntranceDone(true);
}, (delay + 0.75) * 1000);
return () => clearTimeout(timer);
}, [delay]);
return (
<AnimatedShinyText
shimmerWidth={220}
hoverOnly={true}
className="font-display font-black text-ink tracking-tight inline-block cursor-pointer select-none overflow-visible pb-[0.25em] -mb-[0.25em]"
>
{isEntranceDone ? (
<span className="font-display font-black text-ink tracking-tight inline-block overflow-visible pb-[0.25em] -mb-[0.25em]">
{text}
</span>
) : (
<TextAnimate
animation="blurInUp"
by="character"
duration={0.55}
delay={delay}
startOnView={false}
accessible={false}
as="span"
className="font-display font-black text-ink tracking-tight inline-block overflow-visible pb-[0.25em] -mb-[0.25em]"
segmentClassName="inline-block whitespace-pre overflow-visible pb-[0.25em] -mb-[0.25em]"
>
{text}
</TextAnimate>
)}
</AnimatedShinyText>
);
}
interface HeroSectionProps {
title?: Record<string, string> | string;
@@ -32,13 +102,12 @@ export function HeroSection({
variants = [],
locale = 'en',
}: HeroSectionProps) {
const [mobileTab, setMobileTab] = useState<'upload' | 'compare'>('upload');
const primaryCtaLabel = resolveLocalised(primaryCta?.label, locale, 'Explore our tools');
const primaryCtaHref = primaryCta?.href || '#our-tools';
const secondaryCtaLabel = resolveLocalised(secondaryCta?.label, locale, 'Native mobile apps');
const secondaryCtaHref = secondaryCta?.href || '/apps';
const secondaryCtaLabel = resolveLocalised(secondaryCta?.label, locale, 'Mobile studio apps');
const secondaryCtaHref = secondaryCta?.href || '#recommended-apps';
// 1. Tool Detail Page Hero (/tools/[slug])
// 1. Tool Detail Page Hero (/tools/[slug]) — Where actual operations live
if (variant === 'toolHero' && tool) {
const toolMedia = (tool as any).media;
const primaryExample = tool.content?.examples?.[0] || {
@@ -48,33 +117,48 @@ export function HeroSection({
};
return (
<section className="relative bg-paper border-b border-rule pt-8 pb-16 px-4 sm:px-6 lg:px-8">
<div className="max-w-container mx-auto">
<section className="relative bg-paper border-b border-rule pt-12 pb-20 px-4 sm:px-6 lg:px-10 overflow-hidden">
{/* Subtle Ambient Studio Background */}
<div
className="pointer-events-none absolute inset-0 opacity-20 studio-proof-grid"
aria-hidden="true"
/>
<div
className="pointer-events-none absolute top-0 right-0 w-[550px] h-[550px] [background:radial-gradient(circle_at_center,color-mix(in_oklab,var(--color-accent)_12%,transparent)_0%,transparent_70%)]"
aria-hidden="true"
/>
<div className="max-w-container mx-auto relative z-10">
{/* Breadcrumb Navigation */}
<nav className="flex items-center gap-2 text-xs font-body text-muted mb-6">
<Link href="/" className="hover:text-ink transition-colors">Home</Link>
<nav className="flex items-center gap-2 text-xs font-body text-muted mb-8">
<Link href="/" className="hover:text-ink motion-safe:transition-colors">Home</Link>
<span>/</span>
<Link href="/tools" className="hover:text-ink transition-colors">Tools</Link>
<Link href="/tools" className="hover:text-ink motion-safe:transition-colors">Tools</Link>
<span>/</span>
<span className="text-ink font-medium">{resolveLocalised(tool.name, locale)}</span>
<span className="text-ink font-semibold">{resolveLocalised(tool.name, locale)}</span>
</nav>
{/* Heading Block */}
<div className="max-w-3xl mb-10">
<h1 className="text-3xl sm:text-5xl font-display font-bold text-ink tracking-tight">
{resolveLocalised(tool.name, locale)}
<div className="max-w-3xl mb-12">
<div className="inline-flex items-center gap-2 px-3.5 py-1 rounded-full bg-paper-hi border border-rule text-xs font-body text-ink shadow-xs mb-4">
<Sparkles className="w-3.5 h-3.5 text-accent" />
<span>Studio neural vision</span>
</div>
<h1 className="text-3xl sm:text-5xl font-display font-extrabold text-ink tracking-tight">
<AnimatedShinyText>{resolveLocalised(tool.name, locale)}</AnimatedShinyText>
</h1>
<p className="mt-3 text-base sm:text-lg text-ink-2 font-body max-w-2xl leading-relaxed">
{resolveLocalised(tool.summary, locale)}
</p>
</div>
{/* Studio Workspace: Counter Layout (Upload Studio on Left, Comparison Proof on Right) */}
{/* Studio Workspace: Upload Studio on Left, Comparison on Right */}
<div className="grid grid-cols-1 lg:grid-cols-12 gap-8 items-start">
{/* Upload Studio */}
<div className="lg:col-span-6 bg-paper-hi border border-rule rounded-card p-6 shadow-sheet">
<div className="border-b border-rule pb-3 mb-6 flex items-center justify-between">
<span className="studio-label">Proof studio</span>
<div className="lg:col-span-6 bg-paper-hi border border-rule rounded-card p-6 sm:p-8 shadow-sheet relative overflow-hidden">
<BorderBeam size={120} duration={10} borderWidth={1.5} colorFrom="var(--color-accent)" colorTo="var(--color-accent-hi)" />
<div className="border-b border-rule pb-3.5 mb-6 flex items-center justify-between">
<span className="studio-label font-semibold text-ink">Interactive tool studio</span>
<span className="text-xs text-muted font-body">Zero server retention</span>
</div>
<TryItWidget
@@ -85,14 +169,14 @@ export function HeroSection({
/>
</div>
{/* Comparison Proof Sheet */}
{/* Specimen View */}
<div className="lg:col-span-6">
<div className="studio-sheet p-4 crop-marked">
<div className="mb-3 flex items-center justify-between text-xs text-muted font-body">
<span>Transformation specimen</span>
<span>Drag slider to inspect</span>
<div className="studio-sheet p-5 rounded-card">
<div className="mb-3.5 flex items-center justify-between text-xs text-muted font-body">
<span className="font-medium text-ink">Transformation specimen</span>
<span>Drag slider to inspect details</span>
</div>
<div className="aspect-[4/3] rounded-card overflow-hidden bg-paper-2">
<div className="aspect-[4/3] rounded-2xl overflow-hidden bg-paper-2 border border-rule">
<CardBeforeAfterSlider
beforeUrl={primaryExample.before}
afterUrl={primaryExample.after}
@@ -101,7 +185,7 @@ export function HeroSection({
aspectRatio="aspect-[4/3]"
/>
</div>
<div className="mt-3 text-xs text-muted font-body text-center">
<div className="mt-3.5 text-xs text-muted font-body text-center">
Full 4K batch processing available in the {homeApp ? resolveLocalised(homeApp.name, locale) : 'mobile app'}.
</div>
</div>
@@ -118,94 +202,181 @@ export function HeroSection({
const resolvedSubtitle = resolveLocalised(subtitle, locale);
return (
<section className="relative pt-16 pb-14 text-center bg-paper border-b border-rule">
<div className="max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 space-y-4">
<h1 className="text-3xl sm:text-5xl font-display font-bold text-ink tracking-tight">
{resolvedTitle}
</h1>
<section className="relative pt-24 sm:pt-28 pb-16 sm:pb-20 text-center bg-paper border-b border-rule overflow-hidden">
{/* Layered Studio Lighting Ambient Glow */}
<div
className="pointer-events-none absolute top-0 left-1/2 -translate-x-1/2 w-[750px] h-[450px] [background:radial-gradient(ellipse_at_top,color-mix(in_oklab,var(--color-accent)_12%,transparent)_0%,transparent_70%)]"
aria-hidden="true"
/>
<div
className="pointer-events-none absolute inset-0 opacity-20 studio-proof-grid"
aria-hidden="true"
/>
{/* Layered Light Rays & Particles */}
<LightRays className="opacity-40" />
<Particles quantity={25} size={0.7} color="var(--color-accent)" className="absolute inset-0 pointer-events-none" />
<div className="max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 space-y-6 relative z-10">
<BlurFade delay={0.06}>
<div className="inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-paper-hi border border-rule text-xs font-body text-ink shadow-xs">
<span className="w-2 h-2 rounded-full bg-accent animate-pulse" />
<span className="font-semibold text-accent">Studio Neural Directory</span>
<span className="w-1 h-1 rounded-full bg-muted/40" />
<span className="text-muted">Direct browser trials</span>
</div>
</BlurFade>
<BlurFade delay={0.12}>
<h1 className="text-3xl sm:text-5xl lg:text-6xl font-display font-extrabold text-ink tracking-tight text-balance">
<KineticText>{resolvedTitle}</KineticText>
</h1>
</BlurFade>
{resolvedSubtitle && (
<p className="text-base sm:text-lg text-ink-2 font-body max-w-xl mx-auto leading-relaxed">
{resolvedSubtitle}
</p>
<BlurFade delay={0.18}>
<p className="text-sm sm:text-base lg:text-lg text-ink-2 font-body max-w-xl mx-auto leading-relaxed text-pretty">
{resolvedSubtitle}
</p>
</BlurFade>
)}
<div className="flex flex-wrap items-center justify-center gap-3 pt-2">
<Link href="/#our-tools" className="btn-primary">
Browse tools
</Link>
<Link href="/apps" className="btn-secondary">
Mobile apps
</Link>
</div>
{/* Studio Capability Highlights */}
<BlurFade delay={0.22}>
<div className="pt-1 flex flex-wrap items-center justify-center gap-2 text-xs font-body text-muted">
<span className="inline-flex items-center gap-1.5 px-3 py-1 rounded-full bg-paper-hi/90 border border-rule shadow-2xs">
<Sparkles className="w-3.5 h-3.5 text-accent" />
<span>12 neural models</span>
</span>
<span className="inline-flex items-center gap-1.5 px-3 py-1 rounded-full bg-paper-hi/90 border border-rule shadow-2xs">
<ShieldCheck className="w-3.5 h-3.5 text-emerald-600" />
<span>Zero server storage</span>
</span>
<span className="inline-flex items-center gap-1.5 px-3 py-1 rounded-full bg-paper-hi/90 border border-rule shadow-2xs">
<Zap className="w-3.5 h-3.5 text-amber-500" />
<span>Live comparison sliders</span>
</span>
</div>
</BlurFade>
<BlurFade delay={0.26}>
<div className="flex flex-wrap items-center justify-center gap-4 pt-2">
<RainbowButton href="#tools-catalog">
<span>Browse all tools</span>
<ArrowRight className="w-4 h-4 ml-1.5 inline" aria-hidden="true" />
</RainbowButton>
<InteractiveHoverButton text="Mobile apps suite" href="/apps" />
</div>
</BlurFade>
</div>
</section>
);
}
// 3. Homepage Hero (Narrative Workflow shape, Counter posture)
// 3. Front Page Hero (Pure Website Intro, UI, and Animations — NO IMAGE FUNCTIONS, NO OPERATIONS)
return (
<section id="hero-section" className="relative bg-paper studio-proof-grid border-b border-rule pt-12 sm:pt-16 pb-16 sm:pb-20">
<div className="max-w-container mx-auto px-4 sm:px-6 lg:px-8">
<div className="grid grid-cols-1 lg:grid-cols-12 gap-10 lg:gap-12 items-center">
{/* Left Column: Content & Actions (Counter Posture) */}
<div className="lg:col-span-6 space-y-6">
<div className="space-y-3">
<h1 className="text-4xl sm:text-5xl lg:text-6xl font-display font-bold text-ink tracking-tight leading-[1.04]">
Photographic tools, built with precision.
</h1>
<p className="text-base sm:text-lg text-ink-2 font-body leading-relaxed max-w-xl">
Retouch portraits, extract cutouts, and restore archival prints directly in your browser.
<section
id="hero-section"
className="relative min-h-[90vh] sm:min-h-screen flex items-center overflow-hidden bg-paper pt-20 sm:pt-24 pb-14 sm:pb-20 lg:pb-24"
>
{/* Background Layer 1: High-Resolution Responsive Background Image */}
<div className="absolute inset-0 z-0 overflow-hidden">
<picture>
<source media="(max-width: 768px)" srcSet="/management/pages/home/hero_mobile.webp" type="image/webp" />
<source media="(max-width: 768px)" srcSet="/management/pages/home/hero_mobile.jpg" type="image/jpeg" />
<source srcSet="/management/pages/home/hero_desktop.webp" type="image/webp" />
<img
src="/management/pages/home/hero_desktop.jpg"
alt="CRE Innovations Photo Studio"
className="w-full h-full object-cover object-[75%_25%] sm:object-right select-none pointer-events-none opacity-70 sm:opacity-90 brightness-[0.98] sm:brightness-[0.97] translate-y-0 sm:translate-y-6 sm:scale-[1.02]"
loading="eager"
decoding="sync"
/>
</picture>
{/* Dynamic Studio Gradient Feathering (Light Theme Porcelain Scrims) */}
{/* Top Edge Feathering */}
<div className="absolute inset-x-0 top-0 h-28 sm:h-36 bg-gradient-to-b from-paper from-40% via-paper/90 via-70% to-transparent pointer-events-none" />
{/* Left Side Scrim for Desktop: Ensures 100% typography contrast while keeping the photography vibrant */}
<div className="absolute inset-0 bg-gradient-to-r from-paper via-paper/85 via-35% to-transparent to-60% hidden sm:block pointer-events-none" />
{/* Mobile Scrim: Studio porcelain gradient covering headline, subtitle, and action buttons (top 70%), transitioning smoothly into vibrant photography */}
<div className="absolute inset-x-0 top-0 h-[70%] bg-gradient-to-b from-paper from-25% via-paper/92 via-65% to-transparent sm:hidden pointer-events-none" />
{/* Soft Bottom Fade */}
<div className="absolute inset-x-0 bottom-0 h-20 sm:h-24 bg-gradient-to-t from-paper via-paper/85 via-45% to-transparent pointer-events-none" />
</div>
{/* Background Layer 2: Magic UI Atmospheric Light Rays */}
<LightRays className="opacity-45" />
{/* Background Layer 3: Magic UI Floating Particles */}
<Particles
quantity={35}
size={0.8}
color="var(--color-accent)"
className="absolute inset-0 pointer-events-none z-0"
/>
{/* Background Layer 4: Fine Dot Matrix Pattern */}
<div
className="pointer-events-none absolute inset-0 opacity-20 studio-proof-grid z-0"
aria-hidden="true"
/>
{/* Content Container (Website Introduction, Visual Hierarchy, Kinetic Motion) */}
<div className="relative z-10 max-w-[1720px] w-full mx-auto px-4 sm:px-8 lg:px-14 flex flex-col justify-center min-h-[85vh] sm:min-h-[90vh]">
<div className="max-w-2xl sm:max-w-3xl lg:max-w-4xl space-y-6 sm:space-y-8 text-center sm:text-left mx-auto sm:mx-0">
{/* Masterpiece 3-Line Headline:
Line 1: Imagine. -> Magic UI TextAnimate on first, AnimatedShinyText on hover
Line 2: Transform. -> Magic UI TextAnimate on first, AnimatedShinyText on hover
Line 3: Create Impossible -> Simple bluish-purple accent */}
<div className="space-y-0.5 sm:space-y-1">
<h1 className="sr-only">Imagine. Transform. Create Impossible.</h1>
{/* Line 1 - Imagine. with Magic UI TextAnimate (black) -> AnimatedShinyText on hover */}
<div className="text-4xl sm:text-6xl md:text-7xl lg:text-8xl font-display font-black tracking-tight leading-[1.22] sm:leading-[1.18] pb-2 sm:pb-3 block overflow-visible">
<HeroHeadlineItem text="Imagine." delay={0.08} />
</div>
{/* Line 2 - Transform. with Magic UI TextAnimate (black) -> AnimatedShinyText on hover */}
<div className="text-4xl sm:text-6xl md:text-7xl lg:text-8xl font-display font-black tracking-tight leading-[1.22] sm:leading-[1.18] pb-2 sm:pb-3 block overflow-visible">
<HeroHeadlineItem text="Transform." delay={0.28} />
</div>
{/* Line 3 - Create Impossible: Simple bluish-purple accent text */}
<div className="text-4xl sm:text-6xl md:text-7xl lg:text-8xl font-display font-extrabold tracking-tight bg-gradient-to-r from-blue-600 via-indigo-600 to-purple-600 bg-clip-text text-transparent leading-[1.22] sm:leading-[1.18] pt-1 block overflow-visible">
Create Impossible
</div>
</div>
{/* Subtitle */}
<BlurFade delay={0.16}>
<div className="space-y-4 max-w-xl mx-auto sm:mx-0">
<p className="text-base sm:text-xl md:text-2xl text-ink-2 font-body font-normal leading-relaxed text-pretty">
Turn ordinary moments into extraordinary visual art. Instant and private photo transformation right in your browser with hardware acceleration.
</p>
</div>
</BlurFade>
{/* Actions */}
<div className="flex flex-wrap items-center gap-3 pt-1">
<a href={primaryCtaHref} className="btn-primary">
{/* Action Buttons: Redesigned with RainbowButton & InteractiveHoverButton */}
<BlurFade delay={0.24}>
<div className="flex flex-col sm:flex-row items-center sm:items-start justify-center sm:justify-start gap-4 pt-1">
<RainbowButton
href={primaryCtaHref}
className="w-full max-w-[280px] sm:max-w-none sm:w-auto"
>
<span>{primaryCtaLabel}</span>
<ArrowRight className="w-4 h-4" aria-hidden="true" />
</a>
<ArrowRight className="w-4 h-4 ml-1.5 inline shrink-0" aria-hidden="true" />
</RainbowButton>
<Link href={secondaryCtaHref} className="btn-secondary">
<Smartphone className="w-4 h-4 text-accent" aria-hidden="true" />
<span>{secondaryCtaLabel}</span>
</Link>
<InteractiveHoverButton
text={secondaryCtaLabel}
href={secondaryCtaHref}
className="w-full max-w-[280px] sm:max-w-none sm:w-auto min-h-[50px]"
/>
</div>
</BlurFade>
{/* Proof Line */}
<div className="pt-2 flex items-center gap-6 text-xs text-muted font-body border-t border-rule">
<span>Zero server image retention</span>
<span>Hardware-accelerated neural models</span>
<span>Free browser trial</span>
</div>
</div>
{/* Right Column: Lead Interactive Specimen (Crop-Marked Before/After Loupe) */}
<div className="lg:col-span-6">
<div className="studio-sheet p-4 sm:p-5 crop-marked">
<div className="mb-3 flex items-center justify-between text-xs text-muted font-body">
<span className="font-medium text-ink">Skin & blemish retoucher</span>
<span>Drag to inspect sub-pore restoration</span>
</div>
<div className="aspect-[16/10] rounded-card overflow-hidden bg-paper-2 border border-rule">
<CardBeforeAfterSlider
beforeUrl="/management/pages/home/sections/our-tools/blemish-remover/before.jpg"
afterUrl="/management/pages/home/sections/our-tools/blemish-remover/after.jpg"
title="Skin & blemish retoucher"
slug="blemish-remover"
aspectRatio="aspect-[16/10]"
/>
</div>
<div className="mt-3 flex items-center justify-between text-xs text-muted font-body">
<span>Natural skin pore preservation</span>
<Link href="/tools/blemish-remover" className="text-accent hover:underline font-medium">
Open full tool studio
</Link>
</div>
</div>
</div>
</div>
</div>
</section>
+399 -68
View File
@@ -1,14 +1,22 @@
'use client';
import React, { useState, useEffect, useRef } from 'react';
import React, { useState, useEffect, useRef, useCallback } from 'react';
import Image from 'next/image';
import {
UploadCloud,
Cpu,
Download,
ArrowRight,
Check,
ShieldCheck
ShieldCheck,
Sparkles,
Zap,
Lock,
CheckCircle2
} from 'lucide-react';
import { InteractiveHoverButton } from '@/components/magicui/interactive-hover-button';
import { KineticText } from '@/components/magicui/kinetic-text';
import { AnimatedShinyText } from '@/components/magicui/animated-shiny-text';
interface HowItWorksSectionProps {
title?: string;
@@ -18,85 +26,249 @@ interface HowItWorksSectionProps {
export function HowItWorks3DSection({
title = 'How the process works',
badge,
badge = 'Neural pipeline',
subtitle = 'Synchronous GPU inference in volatile memory, returning studio-quality exports in seconds.',
}: HowItWorksSectionProps) {
const [activeStep, setActiveStep] = useState<1 | 2 | 3>(1);
const [isPaused, setIsPaused] = useState<boolean>(false);
const [isInView, setIsInView] = useState<boolean>(false);
const sectionRef = useRef<HTMLElement>(null);
const cardsContainerRef = useRef<HTMLDivElement>(null);
const card1Ref = useRef<HTMLDivElement>(null);
const card2Ref = useRef<HTMLDivElement>(null);
const card3Ref = useRef<HTMLDivElement>(null);
const scrollTimeoutRef = useRef<NodeJS.Timeout | null>(null);
// Auto-scroll active card into view on mobile screens when activeStep changes
useEffect(() => {
if (typeof window === 'undefined' || window.innerWidth >= 768) return;
const targetRef = activeStep === 1 ? card1Ref.current : activeStep === 2 ? card2Ref.current : card3Ref.current;
if (targetRef && cardsContainerRef.current) {
targetRef.scrollIntoView({ behavior: 'smooth', inline: 'center', block: 'nearest' });
}
}, [activeStep]);
// Sync active step when user swipes horizontally on mobile
const handleMobileScroll = useCallback(() => {
if (typeof window === 'undefined' || window.innerWidth >= 768) return;
if (scrollTimeoutRef.current) clearTimeout(scrollTimeoutRef.current);
scrollTimeoutRef.current = setTimeout(() => {
const container = cardsContainerRef.current;
if (!container) return;
const scrollLeft = container.scrollLeft;
const cardWidth = container.clientWidth * 0.85;
const newStep = Math.round(scrollLeft / cardWidth) + 1;
const clamped = Math.max(1, Math.min(3, newStep)) as 1 | 2 | 3;
if (clamped !== activeStep) {
setActiveStep(clamped);
}
}, 80);
}, [activeStep]);
useEffect(() => {
return () => {
if (scrollTimeoutRef.current) clearTimeout(scrollTimeoutRef.current);
};
}, []);
// Only run auto-advance interval when section is visible in viewport (0% CPU offscreen)
useEffect(() => {
const el = sectionRef.current;
if (!el) return;
const observer = new IntersectionObserver(
([entry]) => {
setIsInView(entry.isIntersecting);
},
{ threshold: 0.08 }
);
observer.observe(el);
return () => observer.disconnect();
}, []);
// Auto-advance traveling pipeline every 4.2 seconds only when visible
useEffect(() => {
if (!isInView || isPaused) return;
const interval = setInterval(() => {
setActiveStep((prev) => (prev === 3 ? 1 : ((prev + 1) as 1 | 2 | 3)));
}, 4200);
return () => clearInterval(interval);
}, [isInView, isPaused]);
return (
<section
ref={sectionRef}
id="how-it-works"
className="py-16 sm:py-24 px-4 sm:px-6 md:px-8 lg:px-10 bg-paper border-b border-rule relative"
className="py-16 sm:py-24 px-4 sm:px-6 md:px-8 lg:px-10 bg-paper border-b border-rule relative overflow-hidden"
onMouseEnter={() => setIsPaused(true)}
onMouseLeave={() => setIsPaused(false)}
>
<div className="max-w-container mx-auto space-y-12">
{/* Studio Background Ambient Lighting */}
<div
className="pointer-events-none absolute top-0 left-1/4 w-[600px] h-[400px] [background:radial-gradient(circle_at_center,color-mix(in_oklab,var(--color-accent)_10%,transparent)_0%,transparent_70%)]"
aria-hidden="true"
/>
<div
className="pointer-events-none absolute inset-0 opacity-20 studio-proof-grid"
aria-hidden="true"
/>
<div className="max-w-container mx-auto space-y-12 relative z-10">
{/* Section Header */}
<div className="max-w-2xl space-y-2 border-b border-rule pb-5">
<div className="flex items-center gap-2">
<span className="w-2 h-2 rounded-full bg-accent animate-pulse" aria-hidden="true" />
<span className="text-xs font-semibold text-accent font-body">
{badge}
</span>
</div>
<h2 className="text-3xl sm:text-4xl font-display font-bold text-ink tracking-tight">
{title}
<KineticText>{title}</KineticText>
</h2>
<p className="text-sm sm:text-base text-ink-2 font-body text-pretty">
{subtitle}
</p>
{/* Step Selector Pills */}
<div className="pt-3 flex items-center gap-2 text-xs font-body">
{/* Interactive Step Selector Pills */}
<div className="pt-3 flex flex-wrap items-center gap-2 text-xs font-body">
<button
type="button"
onClick={() => setActiveStep(1)}
className={`px-3 py-1.5 rounded-pill transition-colors duration-100 ${
className={`px-3.5 py-1.5 rounded-full transition-colors duration-150 focus-visible:ring-2 focus-visible:ring-accent active:bg-paper-3 disabled:opacity-50 flex items-center gap-1.5 ${
activeStep === 1
? 'bg-ink text-paper-hi font-medium'
? 'bg-ink text-paper-hi font-medium shadow-sm ring-1 ring-ink'
: 'bg-paper-2 text-ink-2 hover:bg-paper-3 border border-rule'
}`}
>
1. Upload photograph
<UploadCloud className="w-3.5 h-3.5 text-accent" aria-hidden="true" />
<span>1. Upload photograph</span>
</button>
<button
type="button"
onClick={() => setActiveStep(2)}
className={`px-3 py-1.5 rounded-pill transition-colors duration-100 ${
className={`px-3.5 py-1.5 rounded-full transition-colors duration-150 focus-visible:ring-2 focus-visible:ring-accent active:bg-paper-3 disabled:opacity-50 flex items-center gap-1.5 ${
activeStep === 2
? 'bg-ink text-paper-hi font-medium'
? 'bg-ink text-paper-hi font-medium shadow-sm ring-1 ring-ink'
: 'bg-paper-2 text-ink-2 hover:bg-paper-3 border border-rule'
}`}
>
2. Neural processing
<Cpu className="w-3.5 h-3.5 text-accent" aria-hidden="true" />
<span>2. Neural processing</span>
</button>
<button
type="button"
onClick={() => setActiveStep(3)}
className={`px-3 py-1.5 rounded-pill transition-colors duration-100 ${
className={`px-3.5 py-1.5 rounded-full transition-colors duration-150 focus-visible:ring-2 focus-visible:ring-accent active:bg-paper-3 disabled:opacity-50 flex items-center gap-1.5 ${
activeStep === 3
? 'bg-ink text-paper-hi font-medium'
? 'bg-ink text-paper-hi font-medium shadow-sm ring-1 ring-ink'
: 'bg-paper-2 text-ink-2 hover:bg-paper-3 border border-rule'
}`}
>
3. Studio export
<Download className="w-3.5 h-3.5 text-accent" aria-hidden="true" />
<span>3. Studio export</span>
</button>
</div>
</div>
{/* 3 Step Process Cards */}
<div className="grid grid-cols-1 md:grid-cols-3 gap-6">
{/* Step 1 */}
<div className={`studio-sheet p-6 crop-marked flex flex-col justify-between ${
activeStep === 1 ? 'border-accent' : ''
}`}>
{/* 3 Step Process Cards with Visual Travelling Image Specimen */}
{/* Mobile: Sleek horizontal swipe snap carousel (NO long vertical stacking). Desktop: 3-column connected grid. */}
<div
ref={cardsContainerRef}
onScroll={handleMobileScroll}
className="relative flex md:grid md:grid-cols-3 gap-4 sm:gap-6 overflow-x-auto md:overflow-visible snap-x snap-mandatory pb-3 md:pb-0 -mx-4 px-4 sm:mx-0 sm:px-0 no-scrollbar"
>
{/* Connecting Traveling Data Conduits (Desktop between cards) */}
<div className="hidden md:block absolute top-[115px] left-[32%] w-[4%] h-[2px] bg-gradient-to-r from-rule via-accent/40 to-rule overflow-hidden z-20 pointer-events-none">
<div className="w-8 h-full bg-accent animate-beam-pulse rounded-full shadow-glow" />
</div>
<div className="hidden md:block absolute top-[115px] left-[65%] w-[4%] h-[2px] bg-gradient-to-r from-rule via-accent/40 to-rule overflow-hidden z-20 pointer-events-none">
<div className="w-8 h-full bg-accent animate-beam-pulse rounded-full shadow-glow" />
</div>
{/* ================= STEP 1: UPLOAD PHOTOGRAPH ================= */}
<div
ref={card1Ref}
onClick={() => setActiveStep(1)}
className={`w-[85vw] sm:w-[350px] md:w-auto shrink-0 md:shrink snap-center cursor-pointer studio-sheet p-5 sm:p-6 rounded-3xl bg-paper-hi border shadow-sheet flex flex-col justify-between motion-safe:transition-[border-color,box-shadow,transform] duration-200 relative overflow-hidden ${
activeStep === 1
? 'border-accent shadow-glow ring-2 ring-accent/20 scale-[1.01]'
: 'border-rule hover:border-accent/60 opacity-90'
}`}
>
{/* Active Step Progress Indicator Bar */}
<div className="absolute top-0 inset-x-0 h-1 bg-paper-2 overflow-hidden">
{activeStep === 1 && (
<div className="h-full bg-accent transition-opacity duration-300 w-full animate-pulse" />
)}
</div>
<div className="space-y-4">
{/* Header: Step number & Icon */}
<div className="flex items-center justify-between border-b border-rule pb-3">
<span className="text-xs text-muted font-body">Step 01</span>
<UploadCloud className="w-4 h-4 text-accent" aria-hidden="true" />
<div className="flex items-center gap-2">
<span className="w-6 h-6 rounded-full bg-accent/10 text-accent font-bold text-xs flex items-center justify-center font-mono">
01
</span>
<span className="text-xs font-semibold text-accent font-body">
Capture & validate
</span>
</div>
<div className="w-8 h-8 rounded-full bg-paper-2 border border-rule flex items-center justify-center text-accent">
<UploadCloud className="w-4 h-4" aria-hidden="true" />
</div>
</div>
{/* VISUAL IMAGE SPECIMEN 1: Raw Studio Input Viewfinder */}
<div className="relative w-full h-44 sm:h-48 rounded-2xl overflow-hidden bg-paper-2 border border-rule shadow-inner">
<Image
src="https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=700&auto=format&fit=crop&q=80"
alt="Raw photograph specimen"
fill
className="object-cover object-top opacity-90"
sizes="(max-width: 768px) 100vw, 33vw"
/>
{/* Viewfinder Crop Corner Brackets */}
<div className="pointer-events-none absolute inset-2.5 flex flex-col justify-between" aria-hidden="true">
<div className="flex justify-between">
<div className="w-3.5 h-3.5 border-t-2 border-l-2 border-white" />
<div className="w-3.5 h-3.5 border-t-2 border-r-2 border-white" />
</div>
{/* Center Autofocus Reticle */}
<div className="self-center w-7 h-7 rounded-full border border-white/60 flex items-center justify-center">
<div className="w-1.5 h-1.5 rounded-full bg-accent animate-ping" />
</div>
<div className="flex justify-between">
<div className="w-3.5 h-3.5 border-b-2 border-l-2 border-white" />
<div className="w-3.5 h-3.5 border-b-2 border-r-2 border-white" />
</div>
</div>
{/* Specimen Tag Overlays */}
<div className="absolute top-2 left-2 px-2.5 py-0.5 rounded-full bg-ink/80 text-[10px] font-body text-paper-hi border border-white/20 flex items-center gap-1.5">
<span className="w-1.5 h-1.5 rounded-full bg-emerald-400" />
<span>Raw specimen</span>
</div>
<div className="absolute bottom-2 inset-x-2 flex items-center justify-between text-[10px] font-body text-paper-hi px-2.5 py-1 rounded-xl bg-ink/80 border border-white/20">
<span>24.2 MP · 6000×4000</span>
<span className="text-accent font-semibold flex items-center gap-1">
Ready to stream <ArrowRight className="w-2.5 h-2.5" />
</span>
</div>
</div>
{/* Text Info */}
<div>
<h3 className="text-lg font-body font-semibold text-ink">
Select your source photo
<h3 className="text-base sm:text-lg font-body font-bold text-ink">
<AnimatedShinyText>Select your source photo</AnimatedShinyText>
</h3>
<p className="mt-1.5 text-xs text-muted leading-relaxed font-body">
Drop any portrait, archive print, or product image into the studio widget. The engine validates JPEG, PNG, and WebP signatures client-side.
<p className="mt-1 text-xs text-muted leading-relaxed font-body">
Drop any portrait, archival print, or product image into the studio. Validates JPEG, PNG, and WebP signatures client-side in milliseconds.
</p>
</div>
{/* Bullet Points */}
<ul className="space-y-1.5 text-xs text-ink-2 pt-2 border-t border-rule font-body">
<li className="flex items-center gap-2">
<Check className="w-3.5 h-3.5 text-accent shrink-0" aria-hidden="true" />
@@ -104,71 +276,203 @@ export function HowItWorks3DSection({
</li>
<li className="flex items-center gap-2">
<Check className="w-3.5 h-3.5 text-accent shrink-0" aria-hidden="true" />
<span>Presets available for immediate testing</span>
<span>Zero sign-up or email required</span>
</li>
</ul>
</div>
<div className="mt-6 pt-3 border-t border-rule text-xs text-muted font-body">
Client validation passed
<div className="mt-5 pt-3 border-t border-rule flex items-center justify-between text-xs text-muted font-body">
<span className="flex items-center gap-1 text-emerald-600 font-medium">
<CheckCircle2 className="w-3.5 h-3.5" /> Client validation passed
</span>
<span className="text-[11px] font-body text-accent">Stage 1 of 3</span>
</div>
</div>
{/* Step 2 */}
<div className={`studio-sheet p-6 crop-marked flex flex-col justify-between ${
activeStep === 2 ? 'border-accent' : ''
}`}>
{/* ================= STEP 2: NEURAL INFERENCE (ACTIVE SCANNING LASER) ================= */}
<div
ref={card2Ref}
onClick={() => setActiveStep(2)}
className={`w-[85vw] sm:w-[350px] md:w-auto shrink-0 md:shrink snap-center cursor-pointer studio-sheet p-5 sm:p-6 rounded-3xl bg-paper-hi border shadow-sheet flex flex-col justify-between motion-safe:transition-[border-color,box-shadow,transform] duration-200 relative overflow-hidden ${
activeStep === 2
? 'border-accent shadow-glow ring-2 ring-accent/20 scale-[1.01]'
: 'border-rule hover:border-accent/60 opacity-90'
}`}
>
{/* Active Step Progress Indicator Bar */}
<div className="absolute top-0 inset-x-0 h-1 bg-paper-2 overflow-hidden">
{activeStep === 2 && (
<div className="h-full bg-accent transition-opacity duration-300 w-full animate-pulse" />
)}
</div>
<div className="space-y-4">
{/* Header: Step number & Icon */}
<div className="flex items-center justify-between border-b border-rule pb-3">
<span className="text-xs text-muted font-body">Step 02</span>
<Cpu className="w-4 h-4 text-accent" aria-hidden="true" />
<div className="flex items-center gap-2">
<span className="w-6 h-6 rounded-full bg-accent/10 text-accent font-bold text-xs flex items-center justify-center font-mono">
02
</span>
<span className="text-xs font-semibold text-accent font-body">
Volatile inference
</span>
</div>
<div className="w-8 h-8 rounded-full bg-paper-2 border border-rule flex items-center justify-center text-accent">
<Cpu className="w-4 h-4" aria-hidden="true" />
</div>
</div>
{/* VISUAL IMAGE SPECIMEN 2: Animated Neural Processing Scanner */}
<div className="relative w-full h-44 sm:h-48 rounded-2xl overflow-hidden bg-paper-2 border border-rule shadow-inner">
<Image
src="https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=700&auto=format&fit=crop&q=80"
alt="Neural processing specimen"
fill
className="object-cover object-top opacity-80 filter hue-rotate-15"
sizes="(max-width: 768px) 100vw, 33vw"
/>
{/* Fine Dot Matrix Overlay */}
<div
className="pointer-events-none absolute inset-0 opacity-25 studio-proof-grid"
aria-hidden="true"
/>
{/* Animated Scanning Laser Line Sweeping Up & Down */}
<div
className="pointer-events-none absolute inset-x-0 h-[2px] bg-accent shadow-glow animate-scanline z-10"
aria-hidden="true"
/>
{/* Status Badges */}
<div className="absolute top-2 left-2 px-2.5 py-0.5 rounded-full bg-ink/80 text-[10px] font-body text-cyan-300 border border-white/20 flex items-center gap-1.5 z-10">
<span className="w-1.5 h-1.5 rounded-full bg-cyan-400 animate-ping" />
<span>GPU tensor active</span>
</div>
<div className="absolute top-2 right-2 px-2.5 py-0.5 rounded-full bg-ink/80 text-[10px] font-body text-emerald-400 border border-white/20 flex items-center gap-1 z-10">
<Lock className="w-2.5 h-2.5" />
<span>Volatile RAM</span>
</div>
<div className="absolute bottom-2 inset-x-2 flex items-center justify-between text-[10px] font-body text-paper-hi px-2.5 py-1 rounded-xl bg-ink/80 border border-white/20 z-10">
<span className="flex items-center gap-1">
<Zap className="w-3 h-3 text-cyan-400 animate-pulse" /> 120 TFLOPS · 0.42s
</span>
<span className="text-amber-300 font-semibold flex items-center gap-1">
Synthesizing <ArrowRight className="w-2.5 h-2.5" />
</span>
</div>
</div>
{/* Text Info */}
<div>
<h3 className="text-lg font-body font-semibold text-ink">
Synchronous neural inference
<h3 className="text-base sm:text-lg font-body font-bold text-ink">
<AnimatedShinyText>Synchronous neural inference</AnimatedShinyText>
</h3>
<p className="mt-1.5 text-xs text-muted leading-relaxed font-body">
Inference executes inside isolated volatile GPU memory. The model separates alpha strands, removes blemishes, or interpolates sub-pixel details.
<p className="mt-1 text-xs text-muted leading-relaxed font-body">
Inference executes inside isolated volatile GPU memory. The model separates alpha strands, clears blemishes, or interpolates sub-pixel details.
</p>
</div>
{/* Bullet Points */}
<ul className="space-y-1.5 text-xs text-ink-2 pt-2 border-t border-rule font-body">
<li className="flex items-center gap-2">
<Check className="w-3.5 h-3.5 text-accent shrink-0" aria-hidden="true" />
<span>Zero storage retention policy</span>
<span>Zero disk storage retention policy</span>
</li>
<li className="flex items-center gap-2">
<Check className="w-3.5 h-3.5 text-accent shrink-0" aria-hidden="true" />
<span>Sub-second turnaround time</span>
<span>Sub-second GPU turnaround time</span>
</li>
</ul>
</div>
<div className="mt-6 pt-3 border-t border-rule text-xs text-muted font-body">
Volatile GPU stream
<div className="mt-5 pt-3 border-t border-rule flex items-center justify-between text-xs text-muted font-body">
<span className="flex items-center gap-1 text-accent font-medium">
<Zap className="w-3.5 h-3.5" /> Volatile GPU stream
</span>
<span className="text-[11px] font-body text-accent">Stage 2 of 3</span>
</div>
</div>
{/* Step 3 */}
<div className={`studio-sheet p-6 crop-marked flex flex-col justify-between ${
activeStep === 3 ? 'border-accent' : ''
}`}>
{/* ================= STEP 3: LOSSLESS STUDIO EXPORT ================= */}
<div
ref={card3Ref}
onClick={() => setActiveStep(3)}
className={`w-[85vw] sm:w-[350px] md:w-auto shrink-0 md:shrink snap-center cursor-pointer studio-sheet p-5 sm:p-6 rounded-3xl bg-paper-hi border shadow-sheet flex flex-col justify-between motion-safe:transition-[border-color,box-shadow,transform] duration-200 relative overflow-hidden ${
activeStep === 3
? 'border-accent shadow-glow ring-2 ring-accent/20 scale-[1.01]'
: 'border-rule hover:border-accent/60 opacity-90'
}`}
>
{/* Active Step Progress Indicator Bar */}
<div className="absolute top-0 inset-x-0 h-1 bg-paper-2 overflow-hidden">
{activeStep === 3 && (
<div className="h-full bg-accent transition-opacity duration-300 w-full animate-pulse" />
)}
</div>
<div className="space-y-4">
{/* Header: Step number & Icon */}
<div className="flex items-center justify-between border-b border-rule pb-3">
<span className="text-xs text-muted font-body">Step 03</span>
<Download className="w-4 h-4 text-accent" aria-hidden="true" />
<div className="flex items-center gap-2">
<span className="w-6 h-6 rounded-full bg-accent/10 text-accent font-bold text-xs flex items-center justify-center font-mono">
03
</span>
<span className="text-xs font-semibold text-accent font-body">
Studio export
</span>
</div>
<div className="w-8 h-8 rounded-full bg-paper-2 border border-rule flex items-center justify-center text-accent">
<Download className="w-4 h-4" aria-hidden="true" />
</div>
</div>
{/* VISUAL IMAGE SPECIMEN 3: Pristine 4K Enhanced Studio Master */}
<div className="relative w-full h-44 sm:h-48 rounded-2xl overflow-hidden bg-paper-2 border border-rule shadow-inner">
<Image
src="https://images.unsplash.com/photo-1517841905240-472988babdf9?w=700&auto=format&fit=crop&q=80"
alt="Enhanced studio output specimen"
fill
className="object-cover object-top opacity-100 filter brightness-105"
sizes="(max-width: 768px) 100vw, 33vw"
/>
{/* 4K UHD Master Badge */}
<div className="pointer-events-none absolute top-2 right-2 px-2.5 py-0.5 rounded-full bg-amber-500 text-stone-950 font-bold text-[10px] font-body shadow-sm flex items-center gap-1 z-10">
<Sparkles className="w-3 h-3 fill-stone-950" />
<span>4K UHD master</span>
</div>
{/* Before/After Split Line Indicator */}
<div className="pointer-events-none absolute inset-y-0 left-1/2 w-[2px] bg-white shadow-sm z-10">
<div className="absolute top-1/2 -translate-y-1/2 -left-3 w-6 h-6 rounded-full bg-white text-ink text-[10px] font-bold flex items-center justify-center shadow-md">
⇄
</div>
</div>
<div className="absolute bottom-2 inset-x-2 flex items-center justify-between text-[10px] font-body text-paper-hi px-2.5 py-1 rounded-xl bg-ink/80 border border-white/20 z-10">
<span className="flex items-center gap-1 text-emerald-300">
<CheckCircle2 className="w-3 h-3 text-emerald-400" /> Lossless PNG
</span>
<span className="text-amber-300 font-semibold flex items-center gap-1">
Download ready <Download className="w-2.5 h-2.5" />
</span>
</div>
</div>
{/* Text Info */}
<div>
<h3 className="text-lg font-body font-semibold text-ink">
Inspect & download result
<h3 className="text-base sm:text-lg font-body font-bold text-ink">
<AnimatedShinyText>Inspect & download result</AnimatedShinyText>
</h3>
<p className="mt-1.5 text-xs text-muted leading-relaxed font-body">
<p className="mt-1 text-xs text-muted leading-relaxed font-body">
Compare the output against the original with the interactive slider. Download the high-definition result directly or hand off to mobile for batch 4K.
</p>
</div>
{/* Bullet Points */}
<ul className="space-y-1.5 text-xs text-ink-2 pt-2 border-t border-rule font-body">
<li className="flex items-center gap-2">
<Check className="w-3.5 h-3.5 text-accent shrink-0" aria-hidden="true" />
@@ -181,30 +485,57 @@ export function HowItWorks3DSection({
</ul>
</div>
<div className="mt-6 pt-3 border-t border-rule text-xs text-muted font-body">
Production ready export
<div className="mt-5 pt-3 border-t border-rule flex items-center justify-between text-xs text-muted font-body">
<span className="flex items-center gap-1 text-emerald-600 font-medium">
<CheckCircle2 className="w-3.5 h-3.5" /> Production ready export
</span>
<span className="text-[11px] font-body text-accent">Stage 3 of 3</span>
</div>
</div>
</div>
{/* Clean Privacy Reassurance Strip without emojis or middle dots */}
<div className="studio-sheet p-5 flex flex-col sm:flex-row items-center justify-between gap-4">
<div className="flex items-center gap-3">
<ShieldCheck className="w-5 h-5 text-accent shrink-0" aria-hidden="true" />
{/* Mobile Step Indicators & Swipe Guidance (Phone screens only) */}
<div className="flex md:hidden items-center justify-between px-1 text-xs text-muted font-body">
<div className="flex items-center gap-1.5" role="tablist" aria-label="Process steps">
{[1, 2, 3].map((step) => (
<button
key={step}
type="button"
onClick={() => setActiveStep(step as 1 | 2 | 3)}
className={`h-1.5 rounded-full transition-all duration-300 ${
activeStep === step ? 'w-7 bg-accent' : 'w-2 bg-rule hover:bg-muted'
}`}
aria-label={`Go to step ${step}`}
/>
))}
</div>
<span className="text-[11px] text-muted flex items-center gap-1 font-body">
<span>Swipe steps</span>
<ArrowRight className="w-3 h-3 text-accent inline" />
</span>
</div>
{/* Clean Privacy Reassurance Strip */}
<div className="studio-sheet rounded-3xl p-5 sm:p-6 flex flex-col sm:flex-row items-center justify-between gap-5 border border-rule bg-gradient-to-r from-paper-hi via-paper-2 to-paper-hi">
<div className="flex items-center gap-3.5">
<div className="w-11 h-11 rounded-2xl bg-accent/10 text-accent flex items-center justify-center shrink-0 border border-accent/20">
<ShieldCheck className="w-6 h-6" aria-hidden="true" />
</div>
<div>
<h4 className="font-body font-semibold text-ink text-sm">
Zero photo retention and free browser trials
<h4 className="font-body font-semibold text-ink text-sm sm:text-base">
Zero photo retention and free daily browser trials
</h4>
<p className="text-xs text-muted mt-0.5 font-body">
All photos are processed in volatile GPU memory and immediately purged upon response delivery.
All photos are processed exclusively in volatile GPU memory and immediately purged upon stream completion.
</p>
</div>
</div>
<a href="#our-tools" className="btn-primary shrink-0">
<span>Try tools now</span>
<ArrowRight className="w-3.5 h-3.5" aria-hidden="true" />
</a>
<InteractiveHoverButton
text="Try our tools now"
href="#our-tools"
className="w-full sm:w-auto shrink-0 min-h-[48px]"
/>
</div>
</div>
</section>
@@ -3,6 +3,7 @@
import React from 'react';
import Link from 'next/link';
import { Sparkles, ArrowRight, Smartphone, CheckCircle2, Zap, Cpu, ShieldCheck } from 'lucide-react';
import { KineticText } from '@/components/magicui/kinetic-text';
import { BeforeAfterSlider } from '@/components/ui/BeforeAfterSlider';
import { TiltCard } from '@/components/ui/TiltCard';
@@ -97,7 +98,7 @@ export function MajorToolBannersSection() {
<span>PRECISION AI SHOWCASE</span>
</div>
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-black text-slate-900 tracking-tight">
Next-Generation <span className="text-transparent bg-clip-text bg-gradient-to-r from-blue-700 via-indigo-600 to-purple-600">Transformations in Action</span>
<KineticText>Next-Generation Transformations in Action</KineticText>
</h2>
<p className="text-base sm:text-lg text-slate-600 font-normal">
See how our neural models enhance portraits, isolate fine details, and restore clarity with interactive comparisons.
@@ -1,5 +1,6 @@
import Link from 'next/link';
import { ArrowRight, Image as ImageIcon, Play, Video } from 'lucide-react';
import { KineticText } from '@/components/magicui/kinetic-text';
export interface MediaItem {
id: string;
@@ -36,7 +37,9 @@ export function MediaShowcaseSection({
<div className="mb-9 flex flex-col gap-4 border-b border-slate-900/[0.08] pb-7 sm:mb-12 sm:flex-row sm:items-end sm:justify-between">
<div className="max-w-2xl">
<p className="eyebrow">{badge}</p>
<h2 className="mt-3 text-3xl font-display font-bold tracking-tight text-slate-900 sm:text-4xl">{title}</h2>
<h2 className="mt-3 text-3xl font-display font-bold tracking-tight text-slate-900 sm:text-4xl">
<KineticText>{title}</KineticText>
</h2>
<p className="mt-3 text-sm leading-relaxed text-slate-600 sm:text-base">{subtitle}</p>
</div>
<Link href="/#studio-suite" className="button-secondary shrink-0">
@@ -2,8 +2,21 @@
import React from 'react';
import Link from 'next/link';
import { Smartphone, ArrowRight, Check } from 'lucide-react';
import {
ArrowRight,
Check,
Star,
Sparkles,
Camera,
Scissors,
Palette,
Layers,
Smartphone,
Download
} from 'lucide-react';
import { AppItem, resolveLocalised } from '@/types';
import { KineticText } from '@/components/magicui/kinetic-text';
import { AnimatedShinyText } from '@/components/magicui/animated-shiny-text';
interface RecommendedAppsSectionProps {
title?: string;
@@ -13,15 +26,69 @@ interface RecommendedAppsSectionProps {
locale?: string;
}
interface AppCardTheme {
iconGradient: string;
iconShadow: string;
cardAmbient: string;
categoryPill: string;
checkColor: string;
starRating: string;
ratingCount: string;
IconComponent: React.ElementType;
}
const APP_THEMES: Record<string, AppCardTheme> = {
'portrait-app': {
iconGradient: 'bg-gradient-to-br from-blue-600 via-indigo-600 to-sky-400',
iconShadow: 'shadow-blue-500/30',
cardAmbient: 'from-blue-500/10 via-sky-500/5 to-transparent',
categoryPill: 'bg-blue-50 text-blue-700 border-blue-200/80',
checkColor: 'text-blue-600',
starRating: '4.9',
ratingCount: '42K',
IconComponent: Camera,
},
'photo-enhancer-pro': {
iconGradient: 'bg-gradient-to-br from-emerald-500 via-teal-600 to-cyan-400',
iconShadow: 'shadow-emerald-500/30',
cardAmbient: 'from-emerald-500/10 via-teal-500/5 to-transparent',
categoryPill: 'bg-emerald-50 text-emerald-700 border-emerald-200/80',
checkColor: 'text-emerald-600',
starRating: '4.9',
ratingCount: '38K',
IconComponent: Sparkles,
},
'bg-cleaner-app': {
iconGradient: 'bg-gradient-to-br from-rose-500 via-pink-600 to-amber-400',
iconShadow: 'shadow-rose-500/30',
cardAmbient: 'from-rose-500/10 via-pink-500/5 to-transparent',
categoryPill: 'bg-rose-50 text-rose-700 border-rose-200/80',
checkColor: 'text-rose-600',
starRating: '4.8',
ratingCount: '29K',
IconComponent: Scissors,
},
'art-studio-app': {
iconGradient: 'bg-gradient-to-br from-purple-500 via-violet-600 to-fuchsia-400',
iconShadow: 'shadow-purple-500/30',
cardAmbient: 'from-purple-500/10 via-violet-500/5 to-transparent',
categoryPill: 'bg-purple-50 text-purple-700 border-purple-200/80',
checkColor: 'text-purple-600',
starRating: '4.9',
ratingCount: '51K',
IconComponent: Palette,
},
};
const DEFAULT_RECOMMENDED_APPS = [
{
id: 'app-portrait',
slug: 'portrait-app',
name: 'Portrait Studio AI',
tagline: 'Sub-pore facial retouching and blemish cleaning',
tagline: 'Sub-pore facial retouching, blemish clearing & eye radiance',
category: 'Portrait & beauty',
platforms: ['iOS', 'Android'],
features: ['Real-time 4K export', 'Natural skin texture preservation', 'Welcome bonus on install'],
platforms: ['iOS 17+', 'Android 14+'],
features: ['Real-time 4K local export', 'Pore & skin texture preservation', 'Zero account sign-up'],
storeUrl: '/apps/portrait-app',
},
{
@@ -30,8 +97,8 @@ const DEFAULT_RECOMMENDED_APPS = [
name: 'Enhance Ultra AI',
tagline: 'Generative 4K super-resolution and archival restoration',
category: 'Super resolution',
platforms: ['iOS', 'Android'],
features: ['Facial detail reconstruction', 'Old archival restoration', 'Lossless export quality'],
platforms: ['iOS 17+', 'Android 14+'],
features: ['Facial detail reconstruction', 'Old archival scratch removal', 'Lossless 4K PNG export'],
storeUrl: '/apps/photo-enhancer-pro',
},
{
@@ -40,18 +107,18 @@ const DEFAULT_RECOMMENDED_APPS = [
name: 'Magic Cutout Studio',
tagline: 'Sub-pixel P3M alpha matting and background removal',
category: 'Background cutout',
platforms: ['iOS', 'Android'],
features: ['Precision edge feathering', 'Hair-strand boundary extraction', 'Ecommerce white studio mode'],
platforms: ['iOS 17+', 'Android 14+'],
features: ['Fine hair-strand extraction', 'Transparent glass reflection handling', 'Ecommerce studio white mode'],
storeUrl: '/apps/bg-cleaner-app',
},
{
id: 'app-toonify',
slug: 'art-studio-app',
name: 'Toonify & Anime Studio',
tagline: 'Stylized CartoonGAN illustrations and artwork',
tagline: 'Stylized CartoonGAN illustrations and fine art transforms',
category: 'Creative art',
platforms: ['iOS', 'Android'],
features: ['Curated styled filters', 'Dynamic line-art preservation', 'Fast local device processing'],
platforms: ['iOS 17+', 'Android 14+'],
features: ['Curated anime styles', 'Dynamic hand-drawn linework', '100% offline Neural Engine'],
storeUrl: '/apps/art-studio-app',
},
];
@@ -65,12 +132,31 @@ export function RecommendedAppsSection({
const displayApps = apps && apps.length > 0 ? apps : DEFAULT_RECOMMENDED_APPS;
return (
<section id="recommended-apps" className="py-16 sm:py-24 px-4 sm:px-6 md:px-8 lg:px-10 bg-paper border-b border-rule relative">
<div className="max-w-container mx-auto space-y-10">
<section
id="recommended-apps"
className="py-16 sm:py-24 px-4 sm:px-6 md:px-8 lg:px-10 bg-paper border-b border-rule relative overflow-hidden"
>
{/* Studio Lighting Ambient Glow */}
<div
className="pointer-events-none absolute top-10 right-10 w-[550px] h-[350px] [background:radial-gradient(circle_at_center,color-mix(in_oklab,var(--color-accent)_10%,transparent)_0%,transparent_70%)]"
aria-hidden="true"
/>
<div
className="pointer-events-none absolute inset-0 opacity-20 studio-proof-grid"
aria-hidden="true"
/>
<div className="max-w-container mx-auto space-y-10 relative z-10">
{/* Section Header */}
<div className="max-w-2xl space-y-2 border-b border-rule pb-5">
<div className="flex items-center gap-2">
<span className="w-2 h-2 rounded-full bg-accent animate-pulse" aria-hidden="true" />
<span className="text-xs font-semibold text-accent font-body">
On-device native apps
</span>
</div>
<h2 className="text-3xl sm:text-4xl font-display font-bold text-ink tracking-tight">
{title}
<KineticText>{title}</KineticText>
</h2>
<p className="text-sm sm:text-base text-ink-2 font-body text-pretty">
{subtitle}
@@ -83,62 +169,114 @@ export function RecommendedAppsSection({
const name = typeof app.name === 'string' ? app.name : resolveLocalised(app.name, locale);
const tagline = typeof app.tagline === 'string' ? app.tagline : resolveLocalised(app.tagline, locale);
const slug = app.slug || app.id;
const theme = APP_THEMES[slug] || APP_THEMES['portrait-app'];
const AppIcon = theme.IconComponent;
return (
<div
key={slug}
className="studio-sheet p-6 crop-marked flex flex-col justify-between"
className="group relative studio-sheet p-6 sm:p-7 rounded-3xl bg-paper-hi border border-rule shadow-sheet hover:border-accent hover:shadow-glow hover:-translate-y-1 motion-safe:transition-[border-color,box-shadow,transform] duration-200 flex flex-col justify-between overflow-hidden"
>
<div className="space-y-4">
<div className="flex items-center justify-between border-b border-rule pb-3">
<div className="w-9 h-9 rounded-card bg-paper-2 border border-rule flex items-center justify-center text-ink">
<Smartphone className="w-4 h-4 text-accent" aria-hidden="true" />
{/* Colorful ambient corner glow */}
<div
className={`pointer-events-none absolute top-0 right-0 w-36 h-36 bg-gradient-to-bl ${theme.cardAmbient} rounded-bl-full`}
aria-hidden="true"
/>
<div className="space-y-4 relative z-10">
{/* Top Bar: Squircle App Icon & Category */}
<div className="flex items-center justify-between border-b border-rule pb-4">
{/* Vibrant Squircle App Icon with 3D bevel & glowing drop shadow */}
<div className="relative">
<div className={`w-14 h-14 rounded-2xl ${theme.iconGradient} shadow-lg ${theme.iconShadow} flex items-center justify-center text-white ring-1 ring-black/10 group-hover:scale-105 motion-safe:transition-transform duration-200`}>
<AppIcon className="w-7 h-7 drop-shadow-sm" aria-hidden="true" />
</div>
<div className="absolute -bottom-1 -right-1 w-5 h-5 rounded-full bg-paper-hi border border-rule flex items-center justify-center text-ink shadow-xs">
<Smartphone className="w-3 h-3 text-ink-2" aria-hidden="true" />
</div>
</div>
<div className="text-right">
<span className={`text-[11px] font-semibold font-body px-2.5 py-1 rounded-full border ${theme.categoryPill}`}>
{app.category || 'Mobile suite'}
</span>
<div className="flex items-center justify-end gap-1 mt-1 text-xs text-muted font-body">
<Star className="w-3 h-3 fill-amber-400 text-amber-400" aria-hidden="true" />
<span className="font-semibold text-ink">{theme.starRating}</span>
<span>({theme.ratingCount})</span>
</div>
</div>
<span className="text-xs text-muted font-body">Mobile suite</span>
</div>
{/* Title & Tagline */}
<div>
<h3 className="text-lg font-body font-semibold text-ink">
{name}
<h3 className="text-lg font-body font-bold text-ink">
<AnimatedShinyText>{name}</AnimatedShinyText>
</h3>
<p className="mt-1 text-xs text-muted leading-relaxed min-h-[32px] font-body">
<p className="mt-1.5 text-xs text-muted leading-relaxed min-h-[36px] font-body">
{tagline}
</p>
</div>
{/* Platforms */}
<div className="flex items-center gap-2 text-xs font-body text-ink-2">
<span className="px-2 py-0.5 rounded bg-paper-2 border border-rule">iOS</span>
<span className="px-2 py-0.5 rounded bg-paper-2 border border-rule">Android</span>
<span className="px-2 py-0.5 rounded bg-paper-2 text-accent border border-rule">50 credits free</span>
{/* Platforms & Bonus Tag */}
<div className="flex flex-wrap items-center gap-1.5 text-xs font-body text-ink-2 pt-1">
<span className="px-2.5 py-1 rounded-full bg-paper-2 border border-rule font-medium text-[11px]">iOS 17+</span>
<span className="px-2.5 py-1 rounded-full bg-paper-2 border border-rule font-medium text-[11px]">Android 14+</span>
<span className="px-2.5 py-1 rounded-full bg-accent/10 text-accent font-semibold border border-accent/25 text-[11px]">
50 credits free
</span>
</div>
{/* Features */}
{/* Features Checklist */}
{app.features && (
<ul className="space-y-1.5 text-xs text-ink-2 pt-2 border-t border-rule font-body">
<ul className="space-y-2 text-xs text-ink-2 pt-3 border-t border-rule font-body">
{app.features.map((feat: string, fIdx: number) => (
<li key={fIdx} className="flex items-center gap-2">
<Check className="w-3.5 h-3.5 text-accent shrink-0" aria-hidden="true" />
<span>{feat}</span>
<li key={fIdx} className="flex items-start gap-2">
<Check className={`w-3.5 h-3.5 ${theme.checkColor} shrink-0 mt-0.5`} aria-hidden="true" />
<span className="leading-tight">{feat}</span>
</li>
))}
</ul>
)}
</div>
<div className="pt-6 mt-4 border-t border-rule">
{/* Bottom CTA Button */}
<div className="pt-5 mt-4 border-t border-rule relative z-10">
<Link
href={`/apps/${slug}`}
className="btn-secondary w-full text-center"
className="group/btn flex items-center justify-center gap-2 w-full py-2.5 px-4 rounded-pill bg-paper-2 hover:bg-ink hover:text-paper-hi text-ink font-body font-semibold text-xs border border-rule hover:border-ink shadow-xs motion-safe:transition-[background-color,border-color,color] duration-150"
>
<span>View app & QR</span>
<ArrowRight className="w-3.5 h-3.5" aria-hidden="true" />
<span>View app & QR code</span>
<ArrowRight className="w-3.5 h-3.5 group-hover/btn:translate-x-1 motion-safe:transition-transform duration-150" aria-hidden="true" />
</Link>
</div>
</div>
);
})}
</div>
{/* Free Device Handoff Notice Banner */}
<div className="studio-sheet rounded-3xl p-5 flex flex-col sm:flex-row items-center justify-between gap-4 bg-gradient-to-r from-paper-hi via-paper-2 to-paper-hi border border-rule">
<div className="flex items-center gap-3">
<div className="w-10 h-10 rounded-2xl bg-accent/10 text-accent flex items-center justify-center shrink-0 border border-accent/20">
<Download className="w-5 h-5" aria-hidden="true" />
</div>
<div>
<h4 className="font-body font-semibold text-ink text-sm">
Direct desktop-to-mobile handoff with instant QR sync
</h4>
<p className="text-xs text-muted mt-0.5 font-body">
Open any tool on desktop, scan the dynamically generated QR code, and continue editing 4K batches natively on your phone with 50 complimentary credits.
</p>
</div>
</div>
<Link
href="/apps"
className="btn-secondary shrink-0 text-xs py-2 px-4 whitespace-nowrap"
>
Explore all native apps
</Link>
</div>
</div>
</section>
);
+155 -73
View File
@@ -1,8 +1,9 @@
'use client';
import React from 'react';
import { Star } from 'lucide-react';
import { Star, CheckCircle2 } from 'lucide-react';
import { Marquee } from '@/components/magicui/marquee';
import { KineticText } from '@/components/magicui/kinetic-text';
interface ReviewsMarqueeSectionProps {
title?: string;
@@ -10,132 +11,213 @@ interface ReviewsMarqueeSectionProps {
subtitle?: string;
}
const REVIEWS_ROW_1 = [
interface ReviewItem {
name: string;
role: string;
location: string;
avatarInitials: string;
avatarColor: string;
body: string;
tool: string;
stars: number;
}
const ALL_REVIEWS: ReviewItem[] = [
{
name: 'Elena Rostova',
role: 'Editorial portrait photographer',
body: 'The blemish remover removes spots and imperfections while keeping real pores and skin texture intact.',
tool: 'Skin & blemish retoucher',
role: 'Editorial Portrait Photographer',
location: 'Milan, IT',
avatarInitials: 'ER',
avatarColor: 'bg-indigo-600 text-white',
body: 'The blemish retoucher eliminates acne and surface redness while keeping natural pores and epidermal micro-texture completely intact. Zero plastic skin blur.',
tool: 'Skin & Blemish Retoucher',
stars: 5,
},
{
name: 'Marcus Vance',
role: 'Store owner',
body: 'The P3M cutout matting separated flyaway hair strands and transparent glass reflections cleanly.',
tool: 'Background remover',
role: 'Commercial Studio Director',
location: 'London, UK',
avatarInitials: 'MV',
avatarColor: 'bg-emerald-600 text-white',
body: 'P3M cutout matting separated flyaway hair strands and translucent glass reflections flawlessly. Saved our studio 4 hours of tedious manual pen-tooling.',
tool: 'Alpha Background Matting',
stars: 5,
},
{
name: 'David Chen',
role: 'Concept artist',
body: 'Zero-storage privacy was our main requirement. Knowing images are processed in volatile memory gave complete peace of mind.',
tool: 'Zero-storage policy',
role: 'Lead Concept Artist',
location: 'Vancouver, CA',
avatarInitials: 'DC',
avatarColor: 'bg-blue-600 text-white',
body: 'Zero-storage privacy was our mandatory compliance condition. Knowing inferences execute solely in volatile GPU RAM gave our legal team total confidence.',
tool: 'Volatile RAM Pipeline',
stars: 5,
},
{
name: 'Ananya Sharma',
role: 'Creative director',
body: 'Clean results without account registration. Tested in browser and handed off to mobile for batch work.',
tool: 'Mobile studio suite',
role: 'Senior Wedding Retoucher',
location: 'Mumbai, IN',
avatarInitials: 'AS',
avatarColor: 'bg-amber-600 text-white',
body: 'Clean results directly in browser with no mandatory login friction. Tested on one shot, then handed off to the mobile app for 200-image batch delivery.',
tool: 'Mobile Studio Suite',
stars: 5,
},
{
name: 'Soren Lindqvist',
role: 'Fine Art Conservator',
location: 'Stockholm, SE',
avatarInitials: 'SL',
avatarColor: 'bg-teal-600 text-white',
body: 'The 4K Super Resolution reconstructed vintage tintypes without fabricating synthetic hallucinated artifacts. Irises and fiber weave look historically genuine.',
tool: 'Photo Enhancer 4K',
stars: 5,
},
];
const REVIEWS_ROW_2 = [
{
name: 'Liam O’Connor',
role: 'Historical archivist',
body: 'Restored vintage portrait prints with natural iris clarity and fine fiber details intact.',
tool: 'Archival restorer',
role: 'Historical Print Archivist',
location: 'Dublin, IE',
avatarInitials: 'LO',
avatarColor: 'bg-rose-600 text-white',
body: 'Restored 1920s silver gelatin prints with astonishing fidelity. Scratches, folds, and mold stains disappeared while authentic grain was preserved.',
tool: 'Archival Restorer',
stars: 5,
},
{
name: 'Chloe Dubois',
role: 'Content creator',
body: 'The anime tool reinterprets lineart and shading rather than just applying a cheap filter blur.',
tool: 'Anime synthesis',
role: 'Art Director & Animator',
location: 'Paris, FR',
avatarInitials: 'CD',
avatarColor: 'bg-purple-600 text-white',
body: 'The anime synthesis understands cel-shaded lighting and expressive contours. It is not just a generic posterize filter—it feels like hand-drawn key art.',
tool: 'Anime & Art Studio',
stars: 5,
},
{
name: 'Vikram Malhotra',
role: 'Design engineer',
body: 'Instantaneous before/after comparison scrub with lossless 4K export quality directly in session.',
tool: 'Photo enhancer 4K',
role: 'E-commerce Imaging Head',
location: 'Bengaluru, IN',
avatarInitials: 'VM',
avatarColor: 'bg-sky-600 text-white',
body: 'Instantaneous split-slider scrubbing with lossless 4K export straight in session. The speed on our product catalog shoots is truly transformative.',
tool: 'Lossless Studio Export',
stars: 5,
},
{
name: 'Sophie Tanaka',
role: 'Commercial retoucher',
body: 'Subtly brightens enamel while respecting natural gum tones and lighting reflections.',
tool: 'Teeth whitener',
role: 'Commercial Beauty Retoucher',
location: 'Tokyo, JP',
avatarInitials: 'ST',
avatarColor: 'bg-pink-600 text-white',
body: 'The enamel whitener brightens smiles while preserving delicate gum line tones and specular gloss. Clients love the subtle, natural perfection.',
tool: 'Teeth Whitener',
stars: 5,
},
{
name: 'Julian Mercer',
role: 'Fashion Photographer',
location: 'New York, US',
avatarInitials: 'JM',
avatarColor: 'bg-orange-600 text-white',
body: 'Colorization gave 1940s runway archives rich, historically researched pigment palettes. Skin tones have warm sub-surface scattering rather than flat hues.',
tool: 'AI Colorizer',
stars: 5,
},
];
export function ReviewsMarqueeSection({
title = 'Photographer & studio notes',
subtitle = 'Feedback from portrait photographers, archivists, and studio retouchers.',
subtitle = 'Feedback from portrait photographers, archivists, and professional studio retouchers.',
}: ReviewsMarqueeSectionProps) {
return (
<section
id="user-reviews"
className="py-16 sm:py-24 bg-paper border-b border-rule relative overflow-hidden"
>
<div className="max-w-container mx-auto px-4 sm:px-6 md:px-8 lg:px-10 space-y-10">
{/* Studio Lighting Ambient Glow */}
<div
className="pointer-events-none absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[700px] h-[400px] [background:radial-gradient(circle_at_center,color-mix(in_oklab,var(--color-accent)_8%,transparent)_0%,transparent_70%)]"
aria-hidden="true"
/>
<div
className="pointer-events-none absolute inset-0 opacity-20 studio-proof-grid"
aria-hidden="true"
/>
<div className="max-w-container mx-auto px-4 sm:px-6 md:px-8 lg:px-10 space-y-10 relative z-10">
{/* Section Header */}
<div className="max-w-2xl space-y-2 border-b border-rule pb-5">
<div className="flex items-center gap-2">
<span className="w-2 h-2 rounded-full bg-accent animate-pulse" aria-hidden="true" />
<span className="text-xs font-semibold text-accent font-body">
Verified studio reviews
</span>
</div>
<h2 className="text-3xl sm:text-4xl font-display font-bold text-ink tracking-tight">
{title}
<KineticText>{title}</KineticText>
</h2>
<p className="text-sm sm:text-base text-ink-2 font-body text-pretty">
{subtitle}
</p>
</div>
{/* Marquee Row 1 */}
<div className="space-y-4">
<Marquee pauseOnHover className="[--duration:40s]">
{REVIEWS_ROW_1.map((rev, i) => (
<div
key={i}
className="w-80 studio-sheet p-5 mx-2.5 crop-marked flex flex-col justify-between"
>
<div>
<div className="flex items-center justify-between border-b border-rule pb-2 mb-3">
<span className="text-xs font-body font-medium text-accent">{rev.tool}</span>
<div className="flex text-accent" aria-label="5 stars">
{[...Array(5)].map((_, s) => (
<Star key={s} className="w-3 h-3 fill-accent text-accent" aria-hidden="true" />
))}
</div>
</div>
<p className="text-xs text-ink-2 leading-relaxed font-body">
"{rev.body}"
</p>
</div>
<div className="mt-4 pt-2 border-t border-rule text-xs font-body">
<span className="font-semibold text-ink block">{rev.name}</span>
<span className="text-muted block text-[11px]">{rev.role}</span>
</div>
</div>
))}
</Marquee>
{/* Single Marquee Row of Feedbacks with Localized Edge Fades */}
<div className="relative overflow-hidden w-full">
{/* Subtle Local Edge Fades strictly confined to the moving review cards */}
<div
className="pointer-events-none absolute inset-y-0 left-0 w-10 sm:w-20 bg-gradient-to-r from-paper to-transparent z-10"
aria-hidden="true"
/>
<div
className="pointer-events-none absolute inset-y-0 right-0 w-10 sm:w-20 bg-gradient-to-l from-paper to-transparent z-10"
aria-hidden="true"
/>
{/* Marquee Row 2 */}
<Marquee reverse pauseOnHover className="[--duration:45s]">
{REVIEWS_ROW_2.map((rev, i) => (
<Marquee pauseOnHover repeat={2} className="[--duration:38s]">
{ALL_REVIEWS.map((rev, i) => (
<div
key={i}
className="w-80 studio-sheet p-5 mx-2.5 crop-marked flex flex-col justify-between"
className="w-[320px] sm:w-[380px] p-5 sm:p-6 mx-3 rounded-3xl bg-paper-hi border border-rule shadow-sheet hover:border-accent hover:shadow-glow hover:-translate-y-0.5 motion-safe:transition-[border-color,box-shadow,transform] duration-200 flex flex-col justify-between"
>
<div>
<div className="flex items-center justify-between border-b border-rule pb-2 mb-3">
<span className="text-xs font-body font-medium text-accent">{rev.tool}</span>
<div className="flex text-accent" aria-label="5 stars">
{[...Array(5)].map((_, s) => (
<Star key={s} className="w-3 h-3 fill-accent text-accent" aria-hidden="true" />
{/* Top Bar: Tool Pill & 5 Stars */}
<div className="flex items-center justify-between border-b border-rule pb-3 mb-3">
<span className="text-xs font-semibold font-body text-accent bg-accent/10 px-2.5 py-0.5 rounded-full border border-accent/20">
{rev.tool}
</span>
<div className="flex items-center gap-0.5 text-amber-500" aria-label={`${rev.stars} stars`}>
{[...Array(rev.stars)].map((_, s) => (
<Star key={s} className="w-3.5 h-3.5 fill-amber-400 text-amber-400" aria-hidden="true" />
))}
</div>
</div>
<p className="text-xs text-ink-2 leading-relaxed font-body">
{/* Review Quote */}
<p className="text-xs sm:text-sm text-ink-2 leading-relaxed font-body">
"{rev.body}"
</p>
</div>
<div className="mt-4 pt-2 border-t border-rule text-xs font-body">
<span className="font-semibold text-ink block">{rev.name}</span>
<span className="text-muted block text-[11px]">{rev.role}</span>
{/* Author Info & Verified Badge */}
<div className="mt-5 pt-3 border-t border-rule flex items-center justify-between gap-3">
<div className="flex items-center gap-2.5 min-w-0">
<div className={`w-9 h-9 rounded-full ${rev.avatarColor} font-bold text-xs flex items-center justify-center shrink-0 shadow-sm`}>
{rev.avatarInitials}
</div>
<div className="min-w-0">
<span className="font-bold text-ink text-xs sm:text-sm block truncate">
{rev.name}
</span>
<span className="text-muted text-[11px] block truncate font-body">
{rev.role} · {rev.location}
</span>
</div>
</div>
<div className="flex items-center gap-1 text-[11px] font-medium text-emerald-700 bg-emerald-50 px-2 py-0.5 rounded-full border border-emerald-200/60 shrink-0">
<CheckCircle2 className="w-3 h-3 text-emerald-600" aria-hidden="true" />
<span>Verified</span>
</div>
</div>
</div>
))}
@@ -4,6 +4,8 @@ import React, { useState, useRef, useEffect, useCallback } from 'react';
import Link from 'next/link';
import { ArrowRight } from 'lucide-react';
import { ToolItem } from '@/types';
import { KineticText } from '@/components/magicui/kinetic-text';
import { AnimatedShinyText } from '@/components/magicui/animated-shiny-text';
export interface ToolMediaItem {
id: string;
@@ -30,7 +32,7 @@ export const DEFAULT_TOOL_ITEMS: ToolMediaItem[] = [
{
id: 'tool-blemish',
slug: 'blemish-remover',
title: 'Skin & blemish retoucher',
title: 'AI Blemish Remover',
mediaType: 'comparison',
beforeUrl: '/management/pages/home/sections/our-tools/blemish-remover/before.jpg',
afterUrl: '/management/pages/home/sections/our-tools/blemish-remover/after.jpg',
@@ -38,7 +40,7 @@ export const DEFAULT_TOOL_ITEMS: ToolMediaItem[] = [
{
id: 'tool-bg-remover',
slug: 'background-remover',
title: 'Background remover (alpha matting)',
title: 'AI Background Remover',
mediaType: 'video',
videoUrl: '/management/pages/home/sections/our-tools/background-remover/sample_reel.mp4',
poster: '/management/pages/home/sections/our-tools/background-remover/poster.jpg',
@@ -46,7 +48,7 @@ export const DEFAULT_TOOL_ITEMS: ToolMediaItem[] = [
{
id: 'tool-enhancer',
slug: 'photo-enhancer',
title: 'Photo enhancer 4K',
title: 'Ultra HD AI Photo Enhancer',
mediaType: 'comparison',
beforeUrl: '/management/pages/home/sections/our-tools/photo-enhancer/before.jpg',
afterUrl: '/management/pages/home/sections/our-tools/photo-enhancer/after.jpg',
@@ -54,7 +56,7 @@ export const DEFAULT_TOOL_ITEMS: ToolMediaItem[] = [
{
id: 'tool-restorer',
slug: 'old-photo-restorer',
title: 'Vintage photo restorer',
title: 'Vintage Photo Restorer',
mediaType: 'comparison',
beforeUrl: '/management/pages/home/sections/our-tools/old-photo-restorer/before.jpg',
afterUrl: '/management/pages/home/sections/our-tools/old-photo-restorer/after.jpg',
@@ -64,7 +66,7 @@ export const DEFAULT_TOOL_ITEMS: ToolMediaItem[] = [
{
id: 'tool-colorization',
slug: 'colorization',
title: 'Photo colorizer',
title: 'Black & White Photo Colorizer',
mediaType: 'comparison',
beforeUrl: '/management/pages/home/sections/our-tools/colorization/before.jpg',
afterUrl: '/management/pages/home/sections/our-tools/colorization/after.jpg',
@@ -72,7 +74,7 @@ export const DEFAULT_TOOL_ITEMS: ToolMediaItem[] = [
{
id: 'tool-teeth',
slug: 'teeth-whitener',
title: 'Teeth whitener & brightener',
title: 'AI Teeth Whitener & Smile Glow',
mediaType: 'comparison',
beforeUrl: '/management/pages/home/sections/our-tools/teeth-whitener/before.jpg',
afterUrl: '/management/pages/home/sections/our-tools/teeth-whitener/after.jpg',
@@ -80,7 +82,7 @@ export const DEFAULT_TOOL_ITEMS: ToolMediaItem[] = [
{
id: 'tool-cartoon',
slug: 'cartoon-avatar',
title: 'Cartoon & anime avatar',
title: 'CartoonGAN & Anime Avatar',
mediaType: 'comparison',
beforeUrl: '/management/pages/home/sections/our-tools/cartoon-avatar/before.jpg',
afterUrl: '/management/pages/home/sections/our-tools/cartoon-avatar/after.jpg',
@@ -88,7 +90,7 @@ export const DEFAULT_TOOL_ITEMS: ToolMediaItem[] = [
{
id: 'tool-polaroid',
slug: 'polaroid-maker',
title: 'Vintage polaroid maker',
title: 'Vintage Polaroid & Film Filter',
mediaType: 'photo',
imageUrl: '/management/pages/home/sections/our-tools/polaroid-maker/image.jpg',
},
@@ -103,33 +105,27 @@ export function ShiftableToolsGridSection({
const row1 = displayItems.slice(0, 4);
const row2 = displayItems.slice(4, 8);
const [isMiddleReached, setIsMiddleReached] = useState(false);
useEffect(() => {
const checkPosition = () => {
const section = document.getElementById('our-tools');
if (!section) return;
const rect = section.getBoundingClientRect();
const inMiddle = rect.top <= window.innerHeight * 0.5 && rect.bottom >= window.innerHeight * 0.15;
setIsMiddleReached(inMiddle);
};
checkPosition();
window.addEventListener('scroll', checkPosition, { passive: true });
window.addEventListener('resize', checkPosition, { passive: true });
return () => {
window.removeEventListener('scroll', checkPosition);
window.removeEventListener('resize', checkPosition);
};
}, []);
return (
<section id="our-tools" className="py-16 sm:py-24 px-4 sm:px-6 md:px-8 lg:px-10 bg-paper border-b border-rule relative overflow-hidden">
<div className="max-w-container mx-auto space-y-10">
{/* Section Header - Clean editorial layout without eyebrows */}
{/* Studio Lighting Ambient Glow */}
<div
className="pointer-events-none absolute top-10 left-10 w-[550px] h-[350px] [background:radial-gradient(circle_at_center,color-mix(in_oklab,var(--color-accent)_10%,transparent)_0%,transparent_70%)]"
aria-hidden="true"
/>
<div
className="pointer-events-none absolute bottom-10 right-10 w-[550px] h-[350px] [background:radial-gradient(circle_at_center,color-mix(in_oklab,var(--color-ink)_6%,transparent)_0%,transparent_70%)]"
aria-hidden="true"
/>
<div
className="pointer-events-none absolute inset-0 opacity-20 studio-proof-grid"
aria-hidden="true"
/>
<div className="max-w-container mx-auto space-y-10 relative z-10">
{/* Section Header - Clean editorial layout with kinetic typography */}
<div className="max-w-2xl space-y-2 border-b border-rule pb-5">
<h2 className="text-3xl sm:text-4xl font-display font-bold text-ink tracking-tight">
{title}
<KineticText>{title}</KineticText>
</h2>
<p className="text-sm sm:text-base text-ink-2 font-body text-pretty">
{subtitle}
@@ -138,8 +134,8 @@ export function ShiftableToolsGridSection({
{/* Desktop View (md and up): 2-Row Shiftable Expansion Grid */}
<div className="hidden md:block space-y-8">
<ShiftableRow items={row1} isEnabled={isMiddleReached} />
<ShiftableRow items={row2} isEnabled={isMiddleReached} />
<ShiftableRow items={row1} />
<ShiftableRow items={row2} />
</div>
{/* Mobile / Phone View (<md): Pure Vertical Stack */}
@@ -165,83 +161,76 @@ export function ShiftableToolsGridSection({
function MobileVerticalToolsList({ items }: { items: ToolMediaItem[] }) {
return (
<div className="flex flex-col gap-6 w-full">
<div className="flex flex-col gap-8 w-full">
{items.map((item) => (
<div key={item.id} className="w-full flex flex-col">
<div className="studio-sheet p-3 crop-marked">
<div className="relative w-full h-[220px] rounded-card overflow-hidden bg-paper-2">
<ToolWindowMedia item={item} isHovered={false} />
<Link
href={`/tools/${item.slug}`}
className="absolute top-2.5 right-2.5 z-30 inline-flex items-center gap-1 px-2.5 py-1 rounded-card text-xs font-body bg-paper-hi/90 text-ink border border-rule hover:border-ink transition-colors shadow-sm"
aria-label={`Open ${item.title}`}
>
<span>Try tool</span>
<ArrowRight className="w-3 h-3" aria-hidden="true" />
</Link>
</div>
<div className="relative w-full h-[230px] rounded-2xl overflow-hidden bg-paper-2 border border-rule/80 hover:border-accent transition-[border-color,box-shadow]">
<ToolWindowMedia item={item} isHovered={false} />
<Link
href={`/tools/${item.slug}`}
className="mt-2.5 flex items-center justify-between text-sm font-body font-semibold text-ink hover:text-accent transition-colors"
className="absolute top-3 right-3 z-30 inline-flex items-center gap-1.5 px-3.5 py-1.5 rounded-full text-xs font-body font-bold bg-paper-hi text-ink border border-rule hover:border-accent hover:text-accent transition-colors duration-150 shadow-sm active:scale-95"
aria-label={`Open ${item.title}`}
>
<span>{item.title}</span>
<ArrowRight className="w-3.5 h-3.5 text-muted" aria-hidden="true" />
<span>Try tool</span>
<ArrowRight className="w-3 h-3 text-accent" aria-hidden="true" />
</Link>
</div>
<Link
href={`/tools/${item.slug}`}
className="mt-2.5 flex items-center justify-between text-base font-body font-semibold text-ink hover:text-accent transition-colors px-1"
>
<span>{item.title}</span>
<ArrowRight className="w-4 h-4 text-accent" aria-hidden="true" />
</Link>
</div>
))}
</div>
);
}
function ShiftableRow({ items, isEnabled = true }: { items: ToolMediaItem[]; isEnabled?: boolean }) {
function ShiftableRow({ items }: { items: ToolMediaItem[] }) {
const [hoveredId, setHoveredId] = useState<string | null>(null);
useEffect(() => {
if (!isEnabled) {
setHoveredId(null);
}
}, [isEnabled]);
return (
<div className="flex flex-row gap-5 w-full items-start overflow-visible">
{items.map((item) => {
const isHovered = isEnabled && hoveredId === item.id;
const hasOtherHovered = isEnabled && hoveredId !== null && !isHovered;
const flexGrowValue = isHovered ? 1.25 : hasOtherHovered ? 0.916 : 1;
const isHovered = hoveredId === item.id;
const hasOtherHovered = hoveredId !== null && !isHovered;
// Subtle and gentle sideways expansion (~25-30% wider on hover, no drastic jumping or zoom)
const flexGrowValue = isHovered ? 1.25 : hasOtherHovered ? 0.915 : 1;
return (
<div
key={item.id}
onMouseEnter={() => {
if (isEnabled) setHoveredId(item.id);
}}
onMouseEnter={() => setHoveredId(item.id)}
onMouseLeave={() => setHoveredId(null)}
className="flex-1 transition-[flex-grow] duration-300 ease-out flex flex-col min-w-0"
className="flex-1 transition-[flex-grow] duration-500 ease-[cubic-bezier(0.16,1,0.3,1)] flex flex-col min-w-0"
style={{ flexGrow: flexGrowValue }}
>
<div className="studio-sheet p-3 crop-marked">
<div className="relative w-full h-[200px] lg:h-[220px] rounded-card overflow-hidden bg-paper-2">
<ToolWindowMedia item={item} isHovered={isHovered} />
<Link
href={`/tools/${item.slug}`}
className="absolute top-2.5 right-2.5 z-30 inline-flex items-center gap-1 px-2.5 py-1 rounded-card text-xs font-body bg-paper-hi/90 text-ink border border-rule hover:border-ink transition-colors shadow-sm"
aria-label={`Open ${item.title}`}
>
<span>Try tool</span>
<ArrowRight className="w-3 h-3" aria-hidden="true" />
</Link>
</div>
<div className={`relative w-full h-[220px] lg:h-[240px] rounded-2xl overflow-hidden bg-paper-2 border transition-[border-color,box-shadow] duration-500 ease-[cubic-bezier(0.16,1,0.3,1)] ${
isHovered ? 'border-accent shadow-glow' : 'border-rule/80 hover:border-accent/60'
}`}>
<ToolWindowMedia item={item} isHovered={isHovered} />
<Link
href={`/tools/${item.slug}`}
className="mt-2.5 flex items-center justify-between text-sm font-body font-medium text-ink hover:text-accent transition-colors"
className="absolute top-3 right-3 z-30 inline-flex items-center gap-1.5 px-3.5 py-1.5 rounded-full text-xs font-body font-bold bg-paper-hi text-ink border border-rule hover:border-accent hover:text-accent transition-colors duration-150 shadow-sm active:scale-95"
aria-label={`Open ${item.title}`}
>
<span className="truncate">{item.title}</span>
<ArrowRight className="w-3.5 h-3.5 text-muted ml-1 shrink-0" aria-hidden="true" />
<span>Try tool</span>
<ArrowRight className="w-3 h-3 text-accent" aria-hidden="true" />
</Link>
</div>
<Link
href={`/tools/${item.slug}`}
className="mt-2.5 flex items-center justify-between text-sm font-body font-semibold text-ink hover:text-accent transition-colors px-1"
>
<span className="font-semibold text-ink line-clamp-1">
<AnimatedShinyText>{item.title}</AnimatedShinyText>
</span>
<ArrowRight className="w-3.5 h-3.5 text-accent ml-1 shrink-0" aria-hidden="true" />
</Link>
</div>
);
})}
@@ -440,12 +429,11 @@ function ToolWindowMedia({ item, isHovered }: { item: ToolMediaItem; isHovered:
ref={videoRef}
src={item.videoUrl}
poster={item.poster}
autoPlay
muted
loop
playsInline
preload="auto"
className="absolute inset-0 w-full h-full object-cover pointer-events-none"
preload="none"
className="absolute top-0 bottom-0 left-1/2 -translate-x-1/2 h-full w-[440px] min-w-full max-w-none object-cover pointer-events-none"
/>
</div>
);
@@ -469,7 +457,7 @@ function ToolWindowMedia({ item, isHovered }: { item: ToolMediaItem; isHovered:
<img
src={item.afterUrl}
alt={`${item.title} - enhanced`}
className="absolute inset-0 w-full h-full object-cover pointer-events-none"
className="absolute top-0 bottom-0 left-1/2 -translate-x-1/2 h-full w-[440px] min-w-full max-w-none object-cover pointer-events-none"
loading="lazy"
/>
@@ -482,7 +470,7 @@ function ToolWindowMedia({ item, isHovered }: { item: ToolMediaItem; isHovered:
<img
src={item.beforeUrl}
alt={`${item.title} - original`}
className="absolute inset-0 w-full h-full object-cover pointer-events-none"
className="absolute top-0 bottom-0 left-1/2 -translate-x-1/2 h-full w-[440px] min-w-full max-w-none object-cover pointer-events-none"
loading="lazy"
/>
</div>
@@ -515,12 +503,12 @@ function ToolWindowMedia({ item, isHovered }: { item: ToolMediaItem; isHovered:
</div>
</div>
{/* Badges in sentence case body face */}
<div className="absolute bottom-2 inset-x-2 flex justify-between pointer-events-none z-20 text-xs font-body text-ink">
<span className="bg-paper-hi/90 px-1.5 py-0.5 rounded border border-rule shadow-xs">
{/* Badges in colored pills */}
<div className="absolute bottom-2.5 inset-x-2.5 flex justify-between pointer-events-none z-20 font-body">
<span className="bg-ink/80 backdrop-blur-md text-paper-hi text-[10px] font-semibold px-2.5 py-0.5 rounded-full border border-white/20 shadow-xs">
Original
</span>
<span className="bg-paper-hi/90 px-1.5 py-0.5 rounded border border-rule shadow-xs">
<span className="bg-accent backdrop-blur-md text-paper-hi text-[10px] font-bold px-2.5 py-0.5 rounded-full border border-white/25 shadow-xs">
Enhanced
</span>
</div>
@@ -534,7 +522,7 @@ function ToolWindowMedia({ item, isHovered }: { item: ToolMediaItem; isHovered:
<img
src={item.imageUrl || item.afterUrl || item.beforeUrl || '/brand/og-default.png'}
alt={item.title}
className="absolute inset-0 w-full h-full object-cover pointer-events-none"
className="absolute top-0 bottom-0 left-1/2 -translate-x-1/2 h-full w-[440px] min-w-full max-w-none object-cover pointer-events-none"
loading="lazy"
/>
</div>
+2 -1
View File
@@ -1,4 +1,5 @@
import React from 'react';
import { KineticText } from '@/components/magicui/kinetic-text';
import { resolveLocalised } from '@/types';
interface StepsSectionProps {
@@ -26,7 +27,7 @@ export function StepsSection({
<div className="text-center max-w-2xl mx-auto mb-14 space-y-3">
{title && (
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-black text-slate-900 tracking-tight">
{resolveLocalised(title, locale)}
<KineticText>{resolveLocalised(title, locale)}</KineticText>
</h2>
)}
{subtitle && (
File diff suppressed because it is too large Load Diff
+26 -61
View File
@@ -1,18 +1,19 @@
'use client';
import React, { useState } from 'react';
import React from 'react';
import Link from 'next/link';
import {
Scissors,
Wand2,
Palette,
Video,
SunMedium,
ArrowRight,
Smile,
Eraser,
Sparkles
} from 'lucide-react';
import { KineticText } from '@/components/magicui/kinetic-text';
import { AnimatedShinyText } from '@/components/magicui/animated-shiny-text';
interface TrendyBentoSectionProps {
title?: string;
@@ -20,13 +21,10 @@ interface TrendyBentoSectionProps {
subtitle?: string;
}
export type EffectCategory = 'all' | 'portrait' | 'cutout' | 'restore' | 'creative';
interface TileItem {
id: string;
name: string;
description: string;
category: EffectCategory;
href: string;
cta: string;
tag: string;
@@ -34,20 +32,11 @@ interface TileItem {
imageUrl: string;
}
const CATEGORIES: { id: EffectCategory; label: string }[] = [
{ id: 'all', label: 'All capabilities' },
{ id: 'portrait', label: 'Portrait & beauty' },
{ id: 'cutout', label: 'Cutout & matting' },
{ id: 'restore', label: 'Restoration & 4K' },
{ id: 'creative', label: 'Creative & anime' },
];
const INITIAL_TILES: TileItem[] = [
{
id: 'tile-matting',
name: 'Hair-strand matting',
description: 'Flyaway hair boundary separation with sub-pixel alpha matting.',
category: 'cutout',
href: '/tools/background-remover',
cta: 'Test matting',
tag: 'Alpha matting',
@@ -58,7 +47,6 @@ const INITIAL_TILES: TileItem[] = [
id: 'tile-restore',
name: '4K archival restoration',
description: 'Generative restoration preserving natural skin pores and textures.',
category: 'restore',
href: '/tools/old-photo-restorer',
cta: 'Restore photo',
tag: 'Neural restoration',
@@ -69,7 +57,6 @@ const INITIAL_TILES: TileItem[] = [
id: 'tile-anime',
name: 'Anime synthesis',
description: 'Transform portraits into high-definition styled illustrations.',
category: 'creative',
href: '/tools/cartoon-avatar',
cta: 'Create avatar',
tag: 'Artistic style',
@@ -80,7 +67,6 @@ const INITIAL_TILES: TileItem[] = [
id: 'tile-color',
name: 'Deep colorizer',
description: 'Reconstruct monochrome family archives with realistic pigments.',
category: 'restore',
href: '/tools/colorization',
cta: 'Colorize archive',
tag: 'Chromatic fill',
@@ -91,7 +77,6 @@ const INITIAL_TILES: TileItem[] = [
id: 'tile-relight',
name: 'Studio relighting',
description: 'Calibrated virtual softbox illumination and skin tonal balance.',
category: 'portrait',
href: '/tools/blemish-remover',
cta: 'Relight portrait',
tag: 'Studio light',
@@ -102,7 +87,6 @@ const INITIAL_TILES: TileItem[] = [
id: 'tile-teeth',
name: 'Teeth brightening',
description: 'Enamel luminosity adjustment with realistic gum tone preservation.',
category: 'portrait',
href: '/tools/teeth-whitener',
cta: 'Brighten smile',
tag: 'Retouching',
@@ -113,7 +97,6 @@ const INITIAL_TILES: TileItem[] = [
id: 'tile-cutout-studio',
name: 'Catalog isolation',
description: 'Clean backdrops and transparent PNG exports for ecommerce.',
category: 'cutout',
href: '/tools/background-remover',
cta: 'Cutout product',
tag: 'Commercial',
@@ -123,80 +106,62 @@ const INITIAL_TILES: TileItem[] = [
];
export function TrendyBentoSection({
title = 'Specialized capabilities',
title = 'Trendy features',
subtitle = 'Computer vision models engineered for professional photographers and studios.',
}: TrendyBentoSectionProps) {
const [activeCategory, setActiveCategory] = useState<EffectCategory>('all');
const tiles = INITIAL_TILES;
const displayedTiles = activeCategory === 'all'
? tiles
: tiles.filter((t) => t.category === activeCategory);
return (
<section id="trendy-effects" className="py-16 sm:py-24 px-4 sm:px-6 md:px-8 lg:px-10 bg-paper border-b border-rule relative">
<div className="max-w-container mx-auto space-y-10">
{/* Header */}
<section id="trendy-effects" className="py-16 sm:py-24 px-4 sm:px-6 md:px-8 lg:px-10 bg-paper border-b border-rule relative overflow-hidden">
{/* Studio Lighting Ambient Glow */}
<div
className="pointer-events-none absolute bottom-0 right-1/4 w-[500px] h-[350px] [background:radial-gradient(circle_at_center,color-mix(in_oklab,var(--color-accent)_10%,transparent)_0%,transparent_70%)]"
aria-hidden="true"
/>
<div
className="pointer-events-none absolute inset-0 opacity-20 studio-proof-grid"
aria-hidden="true"
/>
<div className="max-w-container mx-auto space-y-10 relative z-10">
{/* Header with Kinetic Text Animation */}
<div className="max-w-2xl space-y-2 border-b border-rule pb-5">
<h2 className="text-3xl sm:text-4xl font-display font-bold text-ink tracking-tight">
{title}
<KineticText>{title}</KineticText>
</h2>
<p className="text-sm sm:text-base text-ink-2 font-body text-pretty">
{subtitle}
</p>
{/* Filter Bar (Sentence case, no small caps) */}
<div className="pt-4 flex items-center flex-wrap gap-2 text-xs font-body">
{CATEGORIES.map((cat) => {
const isActive = cat.id === activeCategory;
return (
<button
key={cat.id}
onClick={() => setActiveCategory(cat.id)}
className={`px-3 py-1.5 rounded-pill transition-colors duration-100 ${
isActive
? 'bg-ink text-paper-hi font-medium'
: 'bg-paper-2 text-ink-2 hover:bg-paper-3 border border-rule'
}`}
>
{cat.label}
</button>
);
})}
</div>
</div>
{/* Specimen Tiles Grid */}
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6">
{displayedTiles.map((tile) => {
{tiles.map((tile) => {
const Icon = tile.icon;
return (
<Link
key={tile.id}
href={tile.href}
className="studio-sheet p-3 crop-marked flex flex-col justify-between group"
className="studio-sheet p-4 rounded-3xl bg-paper-hi border border-rule shadow-sheet hover:border-accent hover:shadow-glow flex flex-col justify-between group motion-safe:transition-[border-color,box-shadow,transform] duration-200"
>
{/* Image Specimen */}
<div className="relative aspect-[4/3] rounded-card overflow-hidden bg-paper-2 border border-rule mb-3">
<div className="relative aspect-[4/3] rounded-2xl overflow-hidden bg-paper-2 border border-rule mb-3.5">
<img
src={tile.imageUrl}
alt={tile.name}
className="w-full h-full object-cover"
loading="eager"
/>
<div className="absolute top-2 left-2 z-10 bg-paper-hi/90 px-2 py-0.5 rounded text-xs font-body text-ink border border-rule shadow-xs">
{tile.tag}
</div>
</div>
{/* Details */}
<div className="space-y-1.5 px-1 flex-1 flex flex-col justify-between">
<div className="space-y-2 px-1 flex-1 flex flex-col justify-between">
<div>
<div className="flex items-center gap-2 mb-1">
<Icon className="w-4 h-4 text-accent" aria-hidden="true" />
<h3 className="text-base font-body font-semibold text-ink group-hover:text-accent transition-colors">
{tile.name}
<h3 className="text-base font-body font-bold text-ink">
<AnimatedShinyText>{tile.name}</AnimatedShinyText>
</h3>
</div>
<p className="text-xs text-muted leading-relaxed font-body">
@@ -204,9 +169,9 @@ export function TrendyBentoSection({
</p>
</div>
<div className="pt-2 mt-2 border-t border-rule flex items-center justify-between text-xs font-body font-medium text-accent">
<div className="pt-2.5 mt-2 border-t border-rule flex items-center justify-between text-xs font-body font-semibold text-accent">
<span>{tile.cta}</span>
<ArrowRight className="w-3.5 h-3.5" aria-hidden="true" />
<ArrowRight className="w-4 h-4 motion-safe:transition-transform group-hover:translate-x-1" aria-hidden="true" />
</div>
</div>
</Link>
@@ -4,6 +4,7 @@ import { useMemo, useState } from 'react';
import type { ElementType } from 'react';
import Link from 'next/link';
import { ArrowRight, Layers, Palette, Scissors, Smile, Sparkles } from 'lucide-react';
import { KineticText } from '@/components/magicui/kinetic-text';
import { AppItem, CategoryItem, resolveLocalised, ToolItem } from '@/types';
import { CardBeforeAfterSlider } from '@/components/ui/CardBeforeAfterSlider';
@@ -29,7 +30,9 @@ export function VerticalToolStackSection({ context }: VerticalToolStackProps) {
<div className="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
<header className="mx-auto max-w-3xl text-center">
<p className="eyebrow">THE CREATIVE STUDIO SUITE</p>
<h2 className="mt-3 text-3xl font-display font-bold tracking-tight text-slate-900 sm:text-4xl lg:text-5xl">Find the right tool, fast.</h2>
<h2 className="mt-3 text-3xl font-display font-bold tracking-tight text-slate-900 sm:text-4xl lg:text-5xl">
<KineticText>Find the right tool, fast.</KineticText>
</h2>
<p className="mt-4 text-base leading-relaxed text-slate-600 sm:text-lg">Choose a creative task, see a real preview, and start your edit in one tap.</p>
</header>
@@ -1,6 +1,7 @@
import React from 'react';
import Link from 'next/link';
import { ArrowRight, CheckCircle2, ShoppingBag, Camera, Archive, Palette, Zap } from 'lucide-react';
import { KineticText } from '@/components/magicui/kinetic-text';
interface UseCaseCard {
title: string;
@@ -76,7 +77,7 @@ export function VisualUseCasesSection() {
<span>REAL-WORLD VISUAL CAPABILITIES</span>
</div>
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-black text-slate-900 tracking-tight">
Engineered for <span className="text-transparent bg-clip-text bg-gradient-to-r from-blue-700 to-indigo-600">Creators & Studios</span>
<KineticText>Engineered for Creators & Studios</KineticText>
</h2>
<p className="text-base sm:text-lg text-slate-600 max-w-2xl mx-auto">
From single-click browser trials to full 4K studio batch exports, CRE Innovations powers every stage of your creative production workflow.
@@ -1,5 +1,6 @@
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 = [
@@ -38,7 +39,7 @@ export function WorkflowVisualizerSection() {
<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">
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
<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.