feat(ui): complete spacious light creamy redesign and retitle to The Creative Studio Suite

This commit is contained in:
2026-11-03 13:16:16 +05:30
parent 8553575c3b
commit 19316060b0
21 changed files with 478 additions and 478 deletions
+20 -22
View File
@@ -1,6 +1,6 @@
import React from 'react';
import Link from 'next/link';
import { Smartphone, Star, Check, ArrowRight, ShieldCheck, Download } from 'lucide-react';
import { Smartphone, Star, Check, ArrowRight } from 'lucide-react';
import { AppItem, resolveLocalised } from '@/types';
interface AppCardsSectionProps {
@@ -16,66 +16,65 @@ export function AppCardsSection({
title,
subtitle,
apps = [],
layout = 'compact',
showRating = true,
locale = 'en',
}: AppCardsSectionProps) {
return (
<section className="py-14 sm:py-20 bg-gradient-to-b from-slate-50/50 via-white to-slate-50/50 dark:from-slate-950/60 dark:via-slate-900/40 dark:to-slate-950/60 border-y border-slate-200/80 dark:border-slate-800/80">
<section className="py-20 sm:py-28 bg-[#F5F2EB] border-y border-slate-900/[0.08]">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
{(title || subtitle) && (
<div className="text-center max-w-3xl mx-auto mb-12 sm:mb-16 space-y-3">
<div className="text-center max-w-3xl mx-auto mb-16 space-y-3">
{title && (
<h2 className="text-3xl sm:text-4xl font-black text-slate-900 dark:text-white tracking-tight">
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-black text-slate-900 tracking-tight">
{resolveLocalised(title, locale)}
</h2>
)}
{subtitle && (
<p className="text-sm sm:text-base text-slate-600 dark:text-slate-400">
<p className="text-base sm:text-lg text-slate-600 font-normal">
{resolveLocalised(subtitle, locale)}
</p>
)}
</div>
)}
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 sm:gap-8">
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-7 sm:gap-8">
{apps.map((app) => (
<div
key={app.id}
className="bg-white/95 dark:bg-slate-900/95 backdrop-blur-xl rounded-3xl p-6 sm:p-7 border border-slate-200/80 dark:border-slate-800/80 shadow-md hover:shadow-2xl hover:shadow-blue-500/10 hover:border-blue-500/40 hover:-translate-y-1 transition-all duration-300 flex flex-col justify-between"
className="bg-white rounded-3xl p-7 border border-slate-900/[0.08] shadow-cream-sm hover:shadow-cream-md hover:border-blue-400 hover:-translate-y-1 transition-all duration-300 flex flex-col justify-between"
>
<div>
{/* Header: Icon & Rating */}
<div className="flex items-center justify-between mb-5">
<div className="w-13 h-13 sm:w-14 sm:h-14 rounded-2xl bg-gradient-to-tr from-blue-600 via-indigo-600 to-cyan-400 flex items-center justify-center text-white shadow-lg shadow-blue-500/25 p-3">
<Smartphone className="w-7 h-7" />
<div className="w-13 h-13 rounded-2xl bg-gradient-to-tr from-blue-600 via-indigo-600 to-cyan-500 flex items-center justify-center text-white shadow-md shadow-blue-500/20 p-3">
<Smartphone className="w-6 h-6" />
</div>
{showRating && (
<div className="flex items-center space-x-1.5 bg-amber-50 dark:bg-amber-950/50 border border-amber-200/80 dark:border-amber-800/80 px-3 py-1.5 rounded-full text-xs font-bold text-amber-800 dark:text-amber-300 shadow-sm">
<div className="flex items-center gap-1.5 bg-amber-50 border border-amber-200 px-3 py-1.5 rounded-full text-xs font-bold text-amber-800 shadow-sm">
<Star className="w-3.5 h-3.5 fill-amber-400 text-amber-400" />
<span>{app.rating.value}</span>
<span className="text-[10px] text-amber-600/80 font-normal">({(app.rating.count / 1000).toFixed(1)}k)</span>
<span className="text-[10px] text-amber-600 font-normal">({(app.rating.count / 1000).toFixed(1)}k)</span>
</div>
)}
</div>
<h3 className="text-xl font-extrabold text-slate-900 dark:text-white">
<h3 className="text-xl font-display font-bold text-slate-900">
{resolveLocalised(app.name, locale)}
</h3>
<p className="mt-1 text-xs text-blue-600 dark:text-cyan-400 font-bold tracking-wide">
<p className="mt-1 text-xs text-blue-600 font-bold tracking-wide">
{resolveLocalised(app.tagline, locale)}
</p>
<p className="mt-3 text-xs text-slate-600 dark:text-slate-400 leading-relaxed line-clamp-3">
<p className="mt-3 text-xs text-slate-600 leading-relaxed line-clamp-3 font-normal">
{resolveLocalised(app.description, locale)}
</p>
{/* Features Checklist */}
{app.features && app.features.length > 0 && (
<div className="mt-5 pt-4 border-t border-slate-100 dark:border-slate-800/80 space-y-2">
<div className="mt-5 pt-4 border-t border-slate-100 space-y-2">
{app.features.slice(0, 3).map((feat, idx) => (
<div key={idx} className="flex items-start space-x-2 text-xs text-slate-600 dark:text-slate-300">
<Check className="w-3.5 h-3.5 text-emerald-500 shrink-0 mt-0.5" />
<div key={idx} className="flex items-start gap-2 text-xs text-slate-700">
<Check className="w-3.5 h-3.5 text-blue-600 shrink-0 mt-0.5" />
<span className="line-clamp-1">{feat}</span>
</div>
))}
@@ -83,15 +82,14 @@ export function AppCardsSection({
)}
</div>
<div className="mt-6 pt-4 border-t border-slate-100 dark:border-slate-800/80 space-y-3">
{/* Mandatory Disclaimer */}
<p className="text-[10px] text-slate-400 dark:text-slate-500 italic text-center">
<div className="mt-6 pt-4 border-t border-slate-100 space-y-3">
<p className="text-[10.5px] text-slate-400 italic text-center font-mono">
{resolveLocalised(app.creditsNote, locale, 'Credits and purchases are specific to this app.')}
</p>
<Link
href={`/apps/${app.slug}`}
className="w-full inline-flex items-center justify-center space-x-2 py-3.5 rounded-2xl text-xs font-bold text-white bg-slate-900 hover:bg-blue-600 dark:bg-white dark:text-slate-900 dark:hover:bg-blue-500 dark:hover:text-white transition-all duration-200 shadow-md hover:shadow-lg"
className="w-full inline-flex items-center justify-center gap-2 py-3.5 rounded-full text-xs font-bold text-white bg-slate-900 hover:bg-blue-600 transition-all duration-200 shadow-sm hover:shadow-md"
>
<span>Get App & 50 Bonus Credits</span>
<ArrowRight className="w-3.5 h-3.5" />
+20 -23
View File
@@ -2,7 +2,7 @@
import React, { useState, useEffect } from 'react';
import QRCode from 'qrcode';
import { Smartphone, QrCode, Copy, Check, Gift, ExternalLink, Zap } from 'lucide-react';
import { Smartphone, QrCode, Copy, Check, Gift, ExternalLink } from 'lucide-react';
import { AppItem, ToolItem, resolveLocalised } from '@/types';
interface AppHandoffSectionProps {
@@ -36,7 +36,7 @@ export function AppHandoffSection({
width: 200,
margin: 1,
color: {
dark: '#030508',
dark: '#0f172a',
light: '#ffffff',
},
})
@@ -52,41 +52,38 @@ export function AppHandoffSection({
};
return (
<section className="py-16 sm:py-24 bg-[#07090E] border-y border-white/[0.08] relative overflow-hidden">
{/* Ambient background glow */}
<div className="absolute top-1/2 right-1/4 -translate-y-1/2 w-96 h-96 bg-purple-500/10 blur-3xl rounded-full pointer-events-none" />
<section className="py-20 sm:py-28 bg-[#FAF8F5] border-t border-slate-900/[0.08] relative overflow-hidden">
<div className="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10">
<div className="glass-card rounded-3xl p-6 sm:p-12 border border-white/[0.08] shadow-2xl flex flex-col md:flex-row items-center justify-between gap-8 sm:gap-12">
<div className="bg-white rounded-3xl p-8 sm:p-12 border border-slate-900/[0.08] shadow-cream-md flex flex-col md:flex-row items-center justify-between gap-8 sm:gap-12">
{/* Left Column: Copy & Store CTA */}
<div className="space-y-5 max-w-xl">
<div className="inline-flex items-center gap-2 px-3.5 py-1.5 rounded-full bg-cyan-950/60 border border-cyan-500/30 text-xs font-mono text-cyan-300">
<Smartphone className="w-3.5 h-3.5 text-cyan-400" />
<div className="inline-flex items-center gap-2 px-3.5 py-1.5 rounded-full bg-blue-50 border border-blue-200 text-xs font-mono font-semibold text-blue-700">
<Smartphone className="w-3.5 h-3.5 text-blue-600" />
<span>NATIVE IOS & ANDROID APPS</span>
</div>
<h3 className="text-2xl sm:text-3xl lg:text-4xl font-display font-extrabold text-white tracking-tight">
<h3 className="text-2xl sm:text-3xl lg:text-4xl font-display font-black text-slate-900 tracking-tight">
{tool
? `Continue in ${resolveLocalised(app.name, locale)} with 4K Lossless Export`
: `Download ${resolveLocalised(app.name, locale)}`}
</h3>
<p className="text-xs sm:text-sm text-slate-400 leading-relaxed">
<p className="text-xs sm:text-sm text-slate-600 leading-relaxed font-normal">
Experience zero-latency hardware-accelerated neural processing, batch photoshoot enhancement, and professional fine-tuning sliders on your phone.
</p>
{/* Welcome Bonus Promo Banner */}
{showBonus && (
<div className="p-4 sm:p-5 rounded-2xl bg-gradient-to-r from-purple-950/40 to-cyan-950/40 border border-purple-500/30 flex items-center justify-between shadow-sm">
<div className="p-4 sm:p-5 rounded-2xl bg-amber-50/70 border border-amber-200 flex items-center justify-between shadow-sm">
<div className="flex items-center gap-3.5">
<div className="w-11 h-11 rounded-xl bg-purple-500/20 border border-purple-500/30 flex items-center justify-center text-purple-400 shrink-0">
<div className="w-11 h-11 rounded-xl bg-amber-100 border border-amber-300 flex items-center justify-center text-amber-700 shrink-0">
<Gift className="w-5 h-5" />
</div>
<div>
<p className="text-xs sm:text-sm font-display font-bold text-white">
<p className="text-xs sm:text-sm font-display font-bold text-slate-900">
{app.welcomeBonus?.title || '50 Free HD Export Credits'}
</p>
<p className="text-[11px] font-mono text-slate-400">
<p className="text-[11px] font-mono text-slate-600">
Claim promo code on first mobile launch
</p>
</div>
@@ -94,9 +91,9 @@ export function AppHandoffSection({
<button
onClick={copyPromo}
className="inline-flex items-center gap-1.5 px-3.5 py-2 rounded-xl text-xs font-mono font-bold bg-[#07090E] border border-cyan-500/40 text-cyan-300 hover:bg-cyan-950/40 shadow-sm transition-all active:scale-95"
className="inline-flex items-center gap-1.5 px-3.5 py-2 rounded-xl text-xs font-mono font-bold bg-white border border-amber-300 text-amber-900 hover:bg-amber-100 shadow-sm transition-all active:scale-95"
>
{copied ? <Check className="w-3.5 h-3.5 text-emerald-400" /> : <Copy className="w-3.5 h-3.5 text-cyan-400" />}
{copied ? <Check className="w-3.5 h-3.5 text-emerald-600" /> : <Copy className="w-3.5 h-3.5 text-amber-700" />}
<span>{bonusCode}</span>
</button>
</div>
@@ -108,7 +105,7 @@ export function AppHandoffSection({
href={app.stores.android?.url || '#'}
target="_blank"
rel="noreferrer"
className="px-5 py-3 rounded-full text-xs font-bold text-black bg-white hover:bg-slate-200 shadow-md transition-all flex items-center gap-2 hover:scale-105 active:scale-95"
className="px-6 py-3 rounded-full text-xs font-bold text-white bg-slate-900 hover:bg-slate-800 shadow-sm transition-all flex items-center gap-2 hover:scale-105 active:scale-95"
>
<span>Google Play</span>
<ExternalLink className="w-3.5 h-3.5 opacity-60" />
@@ -117,7 +114,7 @@ export function AppHandoffSection({
href={app.stores.ios?.url || '#'}
target="_blank"
rel="noreferrer"
className="px-5 py-3 rounded-full text-xs font-bold text-white bg-white/[0.08] border border-white/[0.15] hover:bg-white/[0.15] shadow-md transition-all flex items-center gap-2 hover:scale-105 active:scale-95"
className="px-6 py-3 rounded-full text-xs font-bold text-slate-900 bg-slate-100 border border-slate-300 hover:bg-slate-200 shadow-sm transition-all flex items-center gap-2 hover:scale-105 active:scale-95"
>
<span>Apple App Store</span>
<ExternalLink className="w-3.5 h-3.5 opacity-60" />
@@ -132,13 +129,13 @@ export function AppHandoffSection({
{/* Right Column: QR Code Handoff */}
{showQr && qrDataUrl && (
<div className="text-center p-6 sm:p-8 rounded-3xl bg-[#05070B] border border-white/[0.08] shadow-2xl shrink-0">
<div className="p-3 bg-white rounded-2xl shadow-xl inline-block">
<div className="text-center p-6 sm:p-8 rounded-3xl bg-[#FAF8F5] border border-slate-200 shadow-inner shrink-0">
<div className="p-3 bg-white rounded-2xl shadow-md inline-block border border-slate-100">
{/* eslint-disable-next-line @next/next/no-img-element */}
<img src={qrDataUrl} alt="Scan QR code to install app" className="w-36 h-36 sm:w-40 sm:h-40" />
</div>
<div className="mt-4 flex items-center justify-center gap-2 text-xs font-mono font-bold text-cyan-400">
<QrCode className="w-4 h-4 text-cyan-400" />
<div className="mt-4 flex items-center justify-center gap-2 text-xs font-mono font-bold text-slate-800">
<QrCode className="w-4 h-4 text-blue-600" />
<span>Scan with phone camera</span>
</div>
<p className="text-[10px] font-mono text-slate-500 mt-1">Instant redirect to store listing</p>
+24 -24
View File
@@ -2,7 +2,7 @@
import React, { useState } from 'react';
import Link from 'next/link';
import { HelpCircle, ArrowRight, Sparkles, Smile, RefreshCcw, Scissors, Palette } from 'lucide-react';
import { HelpCircle, ArrowRight, Smile, RefreshCcw, Scissors, Palette } from 'lucide-react';
import { AppItem, resolveLocalised } from '@/types';
interface AppPickerSectionProps {
@@ -55,27 +55,27 @@ export function AppPickerSection({
const recommendedApp = apps.find((a) => a.slug === matchedGoal.appSlug) || apps[0];
return (
<section className="py-14 sm:py-20 bg-white dark:bg-slate-900 border-t border-slate-200/80 dark:border-slate-800/80">
<section className="py-20 sm:py-28 bg-[#F5F2EB] border-t border-slate-900/[0.08]">
<div className="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="text-center space-y-3 mb-10">
<div className="inline-flex items-center space-x-2 px-3.5 py-1.5 rounded-full bg-blue-50 dark:bg-blue-950/80 text-blue-600 dark:text-cyan-400 text-xs font-bold border border-blue-200/60 dark:border-blue-800/60">
<HelpCircle className="w-3.5 h-3.5" />
<span>Interactive Tool & App Matcher</span>
<div className="text-center space-y-3 mb-12">
<div className="inline-flex items-center gap-2 px-3.5 py-1.5 rounded-full bg-blue-50 text-blue-700 text-xs font-mono font-semibold border border-blue-200 shadow-sm">
<HelpCircle className="w-3.5 h-3.5 text-blue-600" />
<span>INTERACTIVE APP MATCHER</span>
</div>
<h2 className="text-3xl sm:text-4xl font-black text-slate-900 dark:text-white tracking-tight">
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-black text-slate-900 tracking-tight">
{resolveLocalised(title, locale, 'Not Sure Which App You Need?')}
</h2>
<p className="text-sm text-slate-600 dark:text-slate-400 max-w-lg mx-auto">
<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.')}
</p>
</div>
<div className="bg-slate-50/80 dark:bg-slate-950/80 rounded-3xl p-6 sm:p-9 border border-slate-200/80 dark:border-slate-800/80 shadow-xl space-y-8">
<div className="bg-white rounded-3xl p-7 sm:p-10 border border-slate-900/[0.08] shadow-cream-md space-y-8">
<div>
<label className="block text-xs font-bold uppercase tracking-wider text-slate-500 dark:text-slate-400 mb-4">
<label className="block text-xs font-mono uppercase tracking-wider text-slate-500 font-semibold mb-4">
Select Your Creative Goal:
</label>
<div className="grid grid-cols-1 sm:grid-cols-2 gap-3.5">
<div className="grid grid-cols-1 sm:grid-cols-2 gap-4">
{goalOptions.map((opt) => {
const Icon = opt.icon;
const isSelected = photoGoal === opt.id;
@@ -83,22 +83,22 @@ export function AppPickerSection({
<button
key={opt.id}
onClick={() => setPhotoGoal(opt.id)}
className={`p-4 sm:p-5 rounded-2xl border text-left transition-all duration-200 flex items-start space-x-3.5 ${
className={`p-5 rounded-2xl border text-left transition-all duration-200 flex items-start gap-4 ${
isSelected
? 'border-blue-600 bg-white dark:bg-slate-900 shadow-lg ring-2 ring-blue-500/20 scale-[1.01]'
: 'border-slate-200/80 dark:border-slate-800/80 hover:border-slate-300 dark:hover:border-slate-700 bg-white/70 dark:bg-slate-900/70'
? 'border-blue-600 bg-blue-50/60 shadow-sm ring-2 ring-blue-500/20'
: 'border-slate-200 hover:border-slate-300 bg-[#FAF8F5]'
}`}
>
<div className={`w-9 h-9 rounded-xl flex items-center justify-center shrink-0 mt-0.5 ${
isSelected ? 'bg-blue-600 text-white' : 'bg-slate-100 dark:bg-slate-800 text-slate-500'
<div className={`w-10 h-10 rounded-xl flex items-center justify-center shrink-0 mt-0.5 ${
isSelected ? 'bg-blue-600 text-white' : 'bg-white border border-slate-200 text-slate-600'
}`}>
<Icon className="w-4 h-4" />
<Icon className="w-5 h-5" />
</div>
<div>
<p className="font-bold text-sm text-slate-900 dark:text-white">
<p className="font-display font-bold text-base text-slate-900">
{opt.title}
</p>
<p className="text-xs text-slate-500 dark:text-slate-400 mt-1 leading-relaxed">
<p className="text-xs text-slate-600 mt-1 leading-relaxed font-normal">
{opt.desc}
</p>
</div>
@@ -110,22 +110,22 @@ export function AppPickerSection({
{/* Recommended Result Box */}
{recommendedApp && (
<div className="pt-6 border-t border-slate-200 dark:border-slate-800 flex flex-col sm:flex-row items-start sm:items-center justify-between gap-6 bg-gradient-to-r from-blue-50 via-indigo-50 to-cyan-50 dark:from-blue-950/40 dark:via-indigo-950/40 dark:to-cyan-950/40 p-6 sm:p-7 rounded-2xl border border-blue-200/60 dark:border-blue-900/40 shadow-sm">
<div className="pt-6 border-t border-slate-100 flex flex-col sm:flex-row items-start sm:items-center justify-between gap-6 bg-gradient-to-r from-blue-50 via-indigo-50 to-blue-50 p-6 sm:p-8 rounded-2xl border border-blue-200/80 shadow-sm">
<div className="space-y-1">
<span className="text-[11px] font-black uppercase tracking-wider text-blue-600 dark:text-cyan-400">
<span className="text-[11px] font-mono font-bold uppercase tracking-wider text-blue-700">
★ Recommended Match
</span>
<h4 className="text-xl sm:text-2xl font-black text-slate-900 dark:text-white">
<h4 className="text-xl sm:text-2xl font-display font-bold text-slate-900">
{resolveLocalised(recommendedApp.name, locale)}
</h4>
<p className="text-xs sm:text-sm text-slate-600 dark:text-slate-400">
<p className="text-xs sm:text-sm text-slate-600 font-normal">
{resolveLocalised(recommendedApp.tagline, locale)}
</p>
</div>
<Link
href={`/apps/${recommendedApp.slug}`}
className="w-full sm:w-auto shrink-0 inline-flex items-center justify-center space-x-2 px-6 py-3.5 rounded-2xl text-xs font-bold text-white bg-blue-600 hover:bg-blue-700 shadow-lg shadow-blue-500/25 transition-all hover:scale-105 active:scale-95"
className="w-full sm:w-auto shrink-0 inline-flex items-center justify-center gap-2 px-6 py-3.5 rounded-full text-xs font-bold text-white bg-blue-600 hover:bg-blue-700 shadow-sm shadow-blue-500/25 transition-all hover:scale-105 active:scale-95"
>
<span>Get App & 50 Bonus Credits</span>
<ArrowRight className="w-4 h-4" />
@@ -23,26 +23,26 @@ export function BeforeAfterSection({
if (!items || items.length === 0) return null;
return (
<section className="py-12 lg:py-16">
<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">
{(title || subtitle) && (
<div className="text-center max-w-3xl mx-auto mb-10 space-y-3">
<div className="text-center max-w-3xl mx-auto mb-14 space-y-3">
{title && (
<h2 className="text-3xl sm:text-4xl font-bold text-slate-900 dark:text-white">
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-black text-slate-900 tracking-tight">
{resolveLocalised(title, locale)}
</h2>
)}
{subtitle && (
<p className="text-base text-slate-600 dark:text-slate-400">
<p className="text-base sm:text-lg text-slate-600 font-normal">
{resolveLocalised(subtitle, locale)}
</p>
)}
</div>
)}
<div className={`grid grid-cols-1 ${items.length > 1 ? 'md:grid-cols-2' : 'max-w-2xl mx-auto'} gap-8`}>
<div className={`grid grid-cols-1 ${items.length > 1 ? 'md:grid-cols-2' : 'max-w-2xl mx-auto'} gap-8 sm:gap-10`}>
{items.map((item, idx) => (
<div key={idx} className="space-y-2">
<div key={idx} className="space-y-2 bg-white rounded-3xl p-4 sm:p-5 border border-slate-900/[0.08] shadow-cream-sm">
<BeforeAfterSlider
beforeUrl={item.before}
afterUrl={item.after}
+10 -7
View File
@@ -25,26 +25,29 @@ export function CtaBannerSection({
locale = 'en',
}: CtaBannerSectionProps) {
return (
<section className="py-12 lg:py-16">
<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-600 via-indigo-600 to-teal-600 p-8 sm:p-12 text-center text-white shadow-2xl relative overflow-hidden">
<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" />
<div className="relative z-10 max-w-2xl mx-auto space-y-4">
{title && (
<h2 className="text-3xl sm:text-4xl font-extrabold tracking-tight">
<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 text-blue-100">
<p className="text-base sm:text-lg text-blue-100 font-normal">
{resolveLocalised(subtitle, locale)}
</p>
)}
<div className="pt-4 flex flex-wrap items-center justify-center gap-4">
<div className="pt-6 flex flex-wrap items-center justify-center gap-4">
{primaryCta && (
<Link
href={primaryCta.href}
className="px-6 py-3.5 rounded-xl text-sm font-semibold text-slate-900 bg-white hover:bg-slate-100 shadow-md transition-all hover:scale-105 active:scale-95"
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>
@@ -52,7 +55,7 @@ export function CtaBannerSection({
{secondaryCta && (
<Link
href={secondaryCta.href}
className="px-6 py-3.5 rounded-xl text-sm font-semibold text-white border border-white/40 hover:bg-white/10 transition-colors"
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>
+18 -12
View File
@@ -1,7 +1,7 @@
'use client';
import React, { useState } from 'react';
import { ChevronDown } from 'lucide-react';
import { ChevronDown, HelpCircle } from 'lucide-react';
import { resolveLocalised } from '@/types';
interface FaqSectionProps {
@@ -23,27 +23,33 @@ export function FaqSection({
if (!items || items.length === 0) return null;
return (
<section className="py-12 lg:py-16">
<section className="py-24 sm:py-32 bg-[#FAF8F5] border-t border-slate-900/[0.08]">
<div className="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8">
{title && (
<h2 className="text-3xl font-bold text-slate-900 dark:text-white mb-8 text-center">
{resolveLocalised(title, locale)}
</h2>
)}
<div className="text-center max-w-3xl mx-auto mb-16 space-y-3">
<div className="inline-flex items-center gap-2 px-3.5 py-1.5 rounded-full bg-blue-50 border border-blue-200 text-xs font-mono font-semibold text-blue-700">
<HelpCircle className="w-3.5 h-3.5 text-blue-600" />
<span>TRANSPARENCY & ASSURANCE</span>
</div>
{title && (
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-black text-slate-900 tracking-tight">
{resolveLocalised(title, locale)}
</h2>
)}
</div>
<div className="space-y-3">
<div className="space-y-4">
{items.map((item, idx) => {
const isOpen = openIndex === idx;
return (
<div
key={idx}
className="rounded-2xl border border-slate-200 dark:border-slate-800 bg-white dark:bg-slate-900 overflow-hidden shadow-sm transition-all"
className="rounded-2xl border border-slate-900/[0.08] bg-white overflow-hidden shadow-cream-sm hover:shadow-cream-md transition-all"
>
<button
onClick={() => setOpenIndex(isOpen ? null : idx)}
className="w-full p-5 text-left flex items-center justify-between gap-4 font-semibold text-slate-900 dark:text-white hover:text-blue-600 dark:hover:text-blue-400 transition-colors"
className="w-full p-6 text-left flex items-center justify-between gap-4 font-bold text-slate-900 hover:text-blue-600 transition-colors"
>
<span className="text-base">{item.q}</span>
<span className="text-base sm:text-lg font-display">{item.q}</span>
<ChevronDown
className={`w-5 h-5 text-slate-400 shrink-0 transition-transform duration-200 ${
isOpen ? 'rotate-180 text-blue-600' : ''
@@ -52,7 +58,7 @@ export function FaqSection({
</button>
{isOpen && (
<div className="px-5 pb-5 text-sm text-slate-600 dark:text-slate-400 leading-relaxed border-t border-slate-100 dark:border-slate-800/60 pt-3">
<div className="px-6 pb-6 text-sm text-slate-600 leading-relaxed border-t border-slate-100 pt-4 font-normal">
{item.a}
</div>
)}
+34 -35
View File
@@ -34,50 +34,49 @@ export function HeroSection({
if (variant === 'tryit' && tool) {
return (
<section className="relative overflow-hidden pt-10 pb-16 sm:pt-16 sm:pb-24 lg:pt-20 lg:pb-28">
{/* Ambient Cosmic Radial Background */}
<div className="absolute top-0 left-1/2 -translate-x-1/2 w-full max-w-7xl h-[550px] bg-gradient-to-tr from-cyan-500/15 via-purple-600/15 to-transparent blur-3xl pointer-events-none -z-10" />
<div className="absolute top-20 right-10 w-72 h-72 bg-teal-500/10 rounded-full blur-3xl pointer-events-none -z-10" />
<section className="relative overflow-hidden pt-12 pb-20 sm:pt-20 sm:pb-28 lg:pt-24 lg:pb-32 bg-[#FAF8F5]">
{/* Subtle Ambient Radial Lighting */}
<div className="absolute top-0 left-1/2 -translate-x-1/2 w-full max-w-7xl h-[450px] bg-gradient-to-b from-blue-500/[0.04] via-indigo-500/[0.03] to-transparent blur-3xl pointer-events-none -z-10" />
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="text-center max-w-3xl mx-auto space-y-5 mb-10 sm:mb-14">
<div className="text-center max-w-3xl mx-auto space-y-6 mb-12 sm:mb-16">
{/* Live Core Status Pill */}
{resolvedBadge && (
<div className="inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-cyan-950/60 border border-cyan-500/30 text-xs font-mono text-cyan-300 shadow-[0_0_20px_rgba(0,240,255,0.15)] backdrop-blur-xl">
<div className="inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-blue-50 border border-blue-200/80 text-xs font-mono font-semibold text-blue-700 shadow-sm">
<span className="relative flex h-2 w-2">
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-cyan-400 opacity-75"></span>
<span className="relative inline-flex rounded-full h-2 w-2 bg-cyan-500"></span>
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-blue-500 opacity-75"></span>
<span className="relative inline-flex rounded-full h-2 w-2 bg-blue-600"></span>
</span>
<span>{resolvedBadge}</span>
</div>
)}
{/* Main Headline with Chromatic Gradient */}
<h1 className="text-4xl sm:text-5xl lg:text-6xl font-display font-black text-white tracking-tight leading-[1.1]">
{/* Main Headline */}
<h1 className="text-4xl sm:text-5xl lg:text-6xl font-display font-black text-slate-900 tracking-tight leading-[1.12]">
Transform Photos with <br className="hidden sm:inline" />
<span className="text-transparent bg-clip-text bg-gradient-to-r from-cyan-400 via-teal-300 to-purple-400">
<span className="text-transparent bg-clip-text bg-gradient-to-r from-blue-700 via-indigo-600 to-purple-600">
Next-Gen Neural AI
</span>
</h1>
{/* Subtitle */}
<p className="text-sm sm:text-lg text-slate-300 leading-relaxed max-w-2xl mx-auto font-normal">
<p className="text-base sm:text-lg text-slate-600 leading-relaxed max-w-2xl mx-auto font-normal">
{resolvedSubtitle}
</p>
{/* Quick Badges Bar */}
<div className="pt-2 flex flex-wrap items-center justify-center gap-4 sm:gap-6 text-xs font-mono text-slate-400">
<span className="flex items-center gap-1.5 bg-white/[0.03] border border-white/[0.06] px-3 py-1 rounded-full">
<ShieldCheck className="w-3.5 h-3.5 text-emerald-400" />
<span className="text-slate-300">100% In-Memory RAM Stream</span>
{/* Guarantees Bar */}
<div className="pt-2 flex flex-wrap items-center justify-center gap-3 sm:gap-5 text-xs font-mono text-slate-600">
<span className="flex items-center gap-1.5 bg-white border border-slate-900/[0.07] px-3.5 py-1.5 rounded-full shadow-sm">
<ShieldCheck className="w-4 h-4 text-emerald-600" />
<span className="font-medium text-slate-700">100% In-Memory RAM Stream</span>
</span>
<span className="flex items-center gap-1.5 bg-white/[0.03] border border-white/[0.06] px-3 py-1 rounded-full">
<Cpu className="w-3.5 h-3.5 text-cyan-400" />
<span className="text-slate-300">Commercial Sub-Pore Models</span>
<span className="flex items-center gap-1.5 bg-white border border-slate-900/[0.07] px-3.5 py-1.5 rounded-full shadow-sm">
<Cpu className="w-4 h-4 text-blue-600" />
<span className="font-medium text-slate-700">Commercial Sub-Pore Models</span>
</span>
<span className="flex items-center gap-1.5 bg-white/[0.03] border border-white/[0.06] px-3 py-1 rounded-full">
<Zap className="w-3.5 h-3.5 text-amber-400" />
<span className="text-slate-300">Zero Watermark Free Trials</span>
<span className="flex items-center gap-1.5 bg-white border border-slate-900/[0.07] px-3.5 py-1.5 rounded-full shadow-sm">
<Zap className="w-4 h-4 text-amber-500" />
<span className="font-medium text-slate-700">Zero Watermark Free Trials</span>
</span>
</div>
</div>
@@ -98,38 +97,38 @@ export function HeroSection({
// Centered Hero for Tools/Apps/Pricing pages
return (
<section className="relative overflow-hidden pt-16 pb-20 sm:pt-24 sm:pb-28 text-center bg-[#07090E]/60 border-b border-white/[0.06]">
<div className="absolute top-0 left-1/2 -translate-x-1/2 w-full max-w-7xl h-96 bg-gradient-to-b from-cyan-500/10 via-purple-500/5 to-transparent blur-3xl pointer-events-none -z-10" />
<section className="relative overflow-hidden pt-20 pb-24 sm:pt-28 sm:pb-32 text-center bg-[#FAF8F5] border-b border-slate-900/[0.07]">
<div className="absolute top-0 left-1/2 -translate-x-1/2 w-full max-w-7xl h-96 bg-gradient-to-b from-blue-500/[0.04] to-transparent blur-3xl pointer-events-none -z-10" />
<div className="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 space-y-6">
{resolvedBadge && (
<div className="inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-cyan-950/60 border border-cyan-500/30 text-xs font-mono text-cyan-300 shadow-sm">
<Sparkles className="w-3.5 h-3.5 text-cyan-400" />
<div className="inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-blue-50 border border-blue-200 text-xs font-mono font-semibold text-blue-700 shadow-sm">
<Sparkles className="w-3.5 h-3.5 text-blue-600" />
<span>{resolvedBadge}</span>
</div>
)}
<h1 className="text-4xl sm:text-5xl lg:text-6xl font-display font-black text-white tracking-tight leading-tight">
<h1 className="text-4xl sm:text-5xl lg:text-6xl font-display font-black text-slate-900 tracking-tight leading-tight">
{resolvedTitle}
</h1>
<p className="text-base sm:text-xl text-slate-300 max-w-2xl mx-auto leading-relaxed">
<p className="text-base sm:text-xl text-slate-600 max-w-2xl mx-auto leading-relaxed">
{resolvedSubtitle}
</p>
<div className="flex flex-wrap items-center justify-center gap-4 pt-4">
<Link
href="/#tools-stack"
className="inline-flex items-center gap-2 px-7 py-3.5 rounded-full font-bold text-xs sm:text-sm text-black bg-gradient-to-r from-cyan-400 to-teal-300 hover:from-cyan-300 hover:to-teal-200 shadow-[0_0_25px_rgba(0,240,255,0.35)] transition-all hover:scale-105 active:scale-95"
href="/#studio-suite"
className="inline-flex items-center gap-2 px-7 py-3.5 rounded-full font-bold text-xs sm:text-sm text-white bg-blue-600 hover:bg-blue-700 shadow-sm shadow-blue-500/20 transition-all hover:scale-105 active:scale-95"
>
<Layers className="w-4 h-4 text-black" />
<span>Vertical Tools Stack</span>
<Layers className="w-4 h-4 text-white" />
<span>The Creative Suite</span>
</Link>
<Link
href="/apps"
className="inline-flex items-center gap-2 px-7 py-3.5 rounded-full font-bold text-xs sm:text-sm text-slate-200 bg-white/[0.05] border border-white/[0.1] hover:bg-white/[0.1] hover:text-white transition-colors"
className="inline-flex items-center gap-2 px-7 py-3.5 rounded-full font-bold text-xs sm:text-sm text-slate-700 bg-white border border-slate-200 hover:bg-slate-50 transition-colors shadow-sm"
>
<Smartphone className="w-4 h-4 text-cyan-400" />
<Smartphone className="w-4 h-4 text-blue-600" />
<span>Mobile Apps Suite</span>
</Link>
</div>
+4 -4
View File
@@ -11,15 +11,15 @@ export function StatsSection({ items = [] }: StatsSectionProps) {
if (!items || items.length === 0) return null;
return (
<section className="py-10 bg-[#030508] border-y border-white/[0.08] relative overflow-hidden">
<section className="py-12 bg-[#FAF8F5] border-y border-slate-900/[0.08] relative overflow-hidden">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10">
<div className="grid grid-cols-2 md:grid-cols-4 gap-8 text-center divide-y md:divide-y-0 md:divide-x divide-white/[0.06]">
<div className="grid grid-cols-2 md:grid-cols-4 gap-8 text-center divide-y md:divide-y-0 md:divide-x divide-slate-200">
{items.map((stat, idx) => (
<div key={idx} className="pt-4 md:pt-0 space-y-1.5">
<p className="text-3xl sm:text-4xl lg:text-5xl font-display font-black bg-clip-text text-transparent bg-gradient-to-r from-cyan-400 via-teal-300 to-purple-400 tracking-tight">
<p className="text-3xl sm:text-4xl lg:text-5xl font-display font-black bg-clip-text text-transparent bg-gradient-to-r from-blue-700 via-indigo-600 to-purple-600 tracking-tight">
{stat.value}
</p>
<p className="text-xs font-mono uppercase tracking-wider text-slate-400">
<p className="text-xs font-mono uppercase tracking-wider text-slate-500 font-semibold">
{stat.label}
</p>
</div>
+8 -8
View File
@@ -20,17 +20,17 @@ export function StepsSection({
if (!items || items.length === 0) return null;
return (
<section className="py-12 lg:py-16 bg-slate-50/50 dark:bg-slate-950/50">
<section className="py-20 sm:py-28 bg-[#F5F2EB] border-t border-slate-900/[0.08]">
<div className="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
{(title || subtitle) && (
<div className="text-center max-w-2xl mx-auto mb-12 space-y-3">
<div className="text-center max-w-2xl mx-auto mb-14 space-y-3">
{title && (
<h2 className="text-3xl font-bold text-slate-900 dark:text-white">
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-black text-slate-900 tracking-tight">
{resolveLocalised(title, locale)}
</h2>
)}
{subtitle && (
<p className="text-sm text-slate-600 dark:text-slate-400">
<p className="text-base sm:text-lg text-slate-600 font-normal">
{resolveLocalised(subtitle, locale)}
</p>
)}
@@ -41,15 +41,15 @@ export function StepsSection({
{items.map((step, idx) => (
<div
key={idx}
className="relative bg-white dark:bg-slate-900 rounded-3xl p-6 sm:p-8 border border-slate-200 dark:border-slate-800 shadow-sm space-y-4"
className="relative bg-white rounded-3xl p-8 border border-slate-900/[0.08] shadow-cream-sm hover:shadow-cream-md transition-all space-y-4"
>
<div className="w-10 h-10 rounded-xl bg-blue-600 text-white font-bold flex items-center justify-center text-base shadow-md shadow-blue-500/20">
<div className="w-10 h-10 rounded-xl bg-blue-600 text-white font-bold flex items-center justify-center text-base shadow-sm">
{idx + 1}
</div>
<h3 className="text-lg font-bold text-slate-900 dark:text-white">
<h3 className="text-lg font-display font-bold text-slate-900">
{resolveLocalised(step.title, locale)}
</h3>
<p className="text-xs text-slate-600 dark:text-slate-400 leading-relaxed">
<p className="text-xs sm:text-sm text-slate-600 leading-relaxed font-normal">
{resolveLocalised(step.desc, locale)}
</p>
</div>
+32 -32
View File
@@ -56,31 +56,31 @@ export function ToolGridSection({
const getCategoryIcon = (catId: string) => {
switch (catId) {
case 'portrait-retouch':
return <Smile className="w-4 h-4 text-cyan-400" />;
return <Smile className="w-4 h-4 text-blue-600" />;
case 'restoration':
return <RefreshCcw className="w-4 h-4 text-purple-400" />;
return <RefreshCcw className="w-4 h-4 text-purple-600" />;
case 'background-cutout':
return <Scissors className="w-4 h-4 text-emerald-400" />;
return <Scissors className="w-4 h-4 text-emerald-600" />;
case 'creative-art':
return <Palette className="w-4 h-4 text-pink-400" />;
return <Palette className="w-4 h-4 text-pink-600" />;
default:
return <Wand2 className="w-4 h-4 text-cyan-400" />;
return <Wand2 className="w-4 h-4 text-blue-600" />;
}
};
return (
<section className="py-16 sm:py-20 lg:py-24 bg-[#05070B] border-t border-white/[0.08]">
<section className="py-20 sm:py-24 lg: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">
{/* Section Heading */}
{(title || subtitle) && (
<div className="text-center max-w-3xl mx-auto mb-12 space-y-3">
<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-white tracking-tight">
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-black text-slate-900 tracking-tight">
{resolveLocalised(title, locale)}
</h2>
)}
{subtitle && (
<p className="text-sm sm:text-base text-slate-400">
<p className="text-base sm:text-lg text-slate-600 font-normal">
{resolveLocalised(subtitle, locale)}
</p>
)}
@@ -89,27 +89,27 @@ export function ToolGridSection({
{/* Search & Filters */}
{(showSearch || showCategoryFilter) && (
<div className="mb-10 flex flex-col md:flex-row items-stretch md:items-center justify-between gap-4">
<div className="mb-12 flex flex-col md:flex-row items-stretch md:items-center justify-between gap-4">
{showCategoryFilter && categories.length > 0 && (
<div className="flex flex-wrap items-center gap-2">
<button
onClick={() => setSelectedCategory('all')}
className={`px-4 py-2 rounded-xl text-xs font-bold transition-all duration-200 ${
className={`px-4 py-2 rounded-full text-xs font-bold transition-all duration-200 shadow-sm ${
selectedCategory === 'all'
? 'bg-cyan-500 text-black shadow-lg shadow-cyan-500/25 scale-105'
: 'bg-white/[0.04] text-slate-300 border border-white/[0.08] hover:bg-white/[0.08]'
? 'bg-blue-600 text-white shadow-blue-500/20'
: 'bg-white text-slate-700 border border-slate-200 hover:bg-slate-50'
}`}
>
All Tools
All Tools ({tools.length})
</button>
{categories.map((cat) => (
<button
key={cat.id}
onClick={() => setSelectedCategory(cat.id)}
className={`flex items-center gap-1.5 px-3.5 py-2 rounded-xl text-xs font-bold transition-all duration-200 ${
className={`flex items-center gap-1.5 px-3.5 py-2 rounded-full text-xs font-bold transition-all duration-200 shadow-sm ${
selectedCategory === cat.id
? 'bg-cyan-500 text-black shadow-lg shadow-cyan-500/25 scale-105'
: 'bg-white/[0.04] text-slate-300 border border-white/[0.08] hover:bg-white/[0.08]'
? 'bg-blue-600 text-white shadow-blue-500/20'
: 'bg-white text-slate-700 border border-slate-200 hover:bg-slate-50'
}`}
>
<span>{getCategoryIcon(cat.id)}</span>
@@ -127,7 +127,7 @@ export function ToolGridSection({
placeholder="Search AI photo tools..."
value={searchQuery}
onChange={(e) => setSearchQuery(e.target.value)}
className="w-full pl-10 pr-4 py-2.5 rounded-2xl text-xs sm:text-sm border border-white/[0.1] bg-[#0B0F17] text-white placeholder-slate-400 focus:outline-none focus:border-cyan-400 focus:ring-1 focus:ring-cyan-400 shadow-sm"
className="w-full pl-10 pr-4 py-2.5 rounded-full text-xs sm:text-sm border border-slate-300 bg-white text-slate-900 placeholder-slate-400 focus:outline-none focus:border-blue-500 focus:ring-1 focus:ring-blue-500 shadow-sm"
/>
</div>
)}
@@ -135,7 +135,7 @@ export function ToolGridSection({
)}
{/* Tools Cards Grid with Visual Image Previews */}
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6 sm:gap-7">
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-7 sm:gap-8">
{filteredTools.map((tool) => {
const homeApp = appMap.get(tool.homeApp);
const example = tool.content?.examples?.[0];
@@ -143,12 +143,12 @@ export function ToolGridSection({
return (
<div
key={tool.id}
className="group relative glass-card rounded-3xl p-5 sm:p-6 border border-white/[0.08] hover:border-cyan-500/30 transition-all duration-300 flex flex-col justify-between"
className="group relative bg-white rounded-3xl p-5 sm:p-6 border border-slate-900/[0.08] hover:border-blue-400 shadow-cream-sm hover:shadow-cream-md transition-all duration-300 flex flex-col justify-between"
>
<div>
{/* Visual Before/After Preview Card */}
{example ? (
<div className="relative aspect-[16/10] rounded-2xl overflow-hidden mb-4 bg-[#05070B] border border-white/[0.08] shadow-inner group/thumb">
<div className="relative aspect-[16/10] rounded-2xl overflow-hidden mb-4 bg-slate-950 border border-slate-200 shadow-inner group/thumb">
<div className="grid grid-cols-2 h-full w-full">
<div className="relative h-full overflow-hidden border-r border-white/20">
{/* eslint-disable-next-line @next/next/no-img-element */}
@@ -158,7 +158,7 @@ export function ToolGridSection({
loading="lazy"
className="h-full w-full object-cover"
/>
<span className="absolute bottom-1.5 left-1.5 bg-black/80 backdrop-blur-md px-1.5 py-0.5 rounded text-[8.5px] font-mono font-bold text-slate-300 border border-white/10">
<span className="absolute bottom-1.5 left-1.5 bg-black/80 backdrop-blur-md px-1.5 py-0.5 rounded text-[8.5px] font-mono font-bold text-white">
Before
</span>
</div>
@@ -170,7 +170,7 @@ export function ToolGridSection({
loading="lazy"
className="h-full w-full object-cover group-hover:scale-105 transition-transform duration-500"
/>
<span className="absolute bottom-1.5 right-1.5 bg-gradient-to-r from-cyan-500 to-purple-600 backdrop-blur-md px-1.5 py-0.5 rounded text-[8.5px] font-mono font-bold text-white shadow-sm border border-white/20">
<span className="absolute bottom-1.5 right-1.5 bg-blue-600/90 backdrop-blur-md px-1.5 py-0.5 rounded text-[8.5px] font-mono font-bold text-white shadow-sm">
CRE AI
</span>
</div>
@@ -180,28 +180,28 @@ export function ToolGridSection({
{/* Category Tag & Icon */}
<div className="flex items-center justify-between mb-3">
<span className="text-[10.5px] font-mono font-bold uppercase tracking-wider text-cyan-400 bg-cyan-950/60 px-2.5 py-0.5 rounded-lg border border-cyan-500/30">
<span className="text-[10.5px] font-mono font-bold uppercase tracking-wider text-blue-700 bg-blue-50 px-2.5 py-0.5 rounded-lg border border-blue-200">
{tool.category}
</span>
<div className="w-8 h-8 rounded-xl bg-white/[0.04] border border-white/[0.08] flex items-center justify-center text-slate-300 group-hover:scale-110 group-hover:border-cyan-500/30 transition-all duration-200">
<div className="w-8 h-8 rounded-xl bg-slate-100 border border-slate-200 flex items-center justify-center text-slate-700 group-hover:scale-110 group-hover:border-blue-300 transition-all duration-200">
{getCategoryIcon(tool.category)}
</div>
</div>
<h3 className="text-lg font-display font-bold text-white group-hover:text-cyan-300 transition-colors">
<h3 className="text-lg font-display font-bold text-slate-900 group-hover:text-blue-600 transition-colors">
{resolveLocalised(tool.name, locale)}
</h3>
<p className="mt-2 text-xs text-slate-400 line-clamp-2 leading-relaxed">
<p className="mt-2 text-xs text-slate-600 line-clamp-2 leading-relaxed font-normal">
{resolveLocalised(tool.summary, locale)}
</p>
</div>
<div className="mt-5 pt-4 border-t border-white/[0.08] space-y-3">
<div className="mt-5 pt-4 border-t border-slate-100 space-y-3">
{homeApp && (
<div className="text-[11px] font-mono text-slate-400 flex items-center justify-between">
<div className="text-[11px] font-mono text-slate-500 flex items-center justify-between">
<span>Home App:</span>
<span className="font-bold text-slate-300 truncate max-w-[140px]">
<span className="font-bold text-slate-700 truncate max-w-[140px]">
{resolveLocalised(homeApp.name, locale)}
</span>
</div>
@@ -209,7 +209,7 @@ export function ToolGridSection({
<Link
href={`/tools/${tool.slug}`}
className="w-full inline-flex items-center justify-center gap-2 py-3 rounded-2xl text-xs font-bold text-black bg-gradient-to-r from-cyan-400 to-teal-300 hover:from-cyan-300 hover:to-teal-200 shadow-md transition-all duration-200"
className="w-full inline-flex items-center justify-center gap-2 py-3 rounded-full text-xs font-bold text-white bg-blue-600 hover:bg-blue-700 shadow-sm shadow-blue-500/20 transition-all duration-200"
>
<span>Try Free Online</span>
<ArrowRight className="w-3.5 h-3.5 group-hover:translate-x-1 transition-transform" />
@@ -221,7 +221,7 @@ export function ToolGridSection({
</div>
{filteredTools.length === 0 && (
<div className="text-center py-16 text-slate-400 space-y-2 font-mono">
<div className="text-center py-16 text-slate-500 space-y-2 font-mono">
<p className="font-bold">No photo tools found matching &quot;{searchQuery}&quot;</p>
<p className="text-xs">Try searching for &quot;blemish&quot;, &quot;background&quot;, &quot;photo&quot;, or clear filters.</p>
</div>
@@ -2,7 +2,7 @@
import React from 'react';
import Link from 'next/link';
import { ArrowRight, Sparkles, Zap } from 'lucide-react';
import { ArrowRight, Sparkles } from 'lucide-react';
interface TransformationItem {
toolSlug: string;
@@ -66,22 +66,22 @@ const transformations: TransformationItem[] = [
export function TransformationReelSection() {
return (
<section className="py-12 bg-[#05070B] border-y border-white/[0.08] overflow-hidden relative">
<section className="py-14 bg-[#F5F2EB] border-y border-slate-900/[0.08] overflow-hidden relative">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 mb-6 flex items-center justify-between">
<div className="flex items-center gap-2.5">
<span className="flex h-2 w-2 relative">
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-cyan-400 opacity-75"></span>
<span className="relative inline-flex rounded-full h-2 w-2 bg-cyan-500"></span>
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-blue-500 opacity-75"></span>
<span className="relative inline-flex rounded-full h-2 w-2 bg-blue-600"></span>
</span>
<h3 className="text-xs sm:text-sm font-mono uppercase tracking-widest text-slate-300">
<h3 className="text-xs sm:text-sm font-mono font-bold uppercase tracking-widest text-slate-700">
Live Transformations by CRE Neural Engine
</h3>
</div>
<Link
href="/#tools-stack"
className="text-xs font-mono text-cyan-400 hover:text-cyan-300 hover:underline flex items-center gap-1.5 transition-colors"
href="/#studio-suite"
className="text-xs font-mono font-bold text-blue-600 hover:text-blue-700 hover:underline flex items-center gap-1.5 transition-colors"
>
<span>Explore All 8+ Tools</span>
<span>Explore The Suite</span>
<ArrowRight className="w-3.5 h-3.5" />
</Link>
</div>
@@ -92,41 +92,41 @@ export function TransformationReelSection() {
<Link
key={idx}
href={`/tools/${item.toolSlug}`}
className="group shrink-0 w-64 sm:w-72 bg-[#0B0F17]/80 rounded-2xl p-3.5 border border-white/[0.08] hover:border-cyan-500/40 shadow-xl hover:shadow-[0_0_25px_rgba(0,240,255,0.15)] hover:-translate-y-1 transition-all duration-300"
className="group shrink-0 w-64 sm:w-72 bg-white rounded-2xl p-3.5 border border-slate-900/[0.08] shadow-sm hover:shadow-md hover:border-blue-400 hover:-translate-y-1 transition-all duration-300"
>
{/* Visual side-by-side or split thumbnail */}
<div className="relative aspect-[16/10] rounded-xl overflow-hidden mb-3 bg-[#07090E] border border-white/[0.06]">
{/* Visual side-by-side thumbnail */}
<div className="relative aspect-[16/10] rounded-xl overflow-hidden mb-3 bg-slate-950 border border-slate-200">
<div className="grid grid-cols-2 h-full w-full">
<div className="relative h-full overflow-hidden border-r border-white/20">
{/* eslint-disable-next-line @next/next/no-img-element */}
<img src={item.before} alt="Before" className="h-full w-full object-cover" />
<span className="absolute bottom-1.5 left-1.5 bg-black/80 backdrop-blur-md px-1.5 py-0.5 rounded text-[8.5px] font-mono font-bold text-slate-300 border border-white/10">
<span className="absolute bottom-1.5 left-1.5 bg-black/80 backdrop-blur-md px-1.5 py-0.5 rounded text-[8.5px] font-mono font-bold text-white">
Before
</span>
</div>
<div className="relative h-full overflow-hidden">
{/* eslint-disable-next-line @next/next/no-img-element */}
<img src={item.after} alt="After" className="h-full w-full object-cover group-hover:scale-105 transition-transform duration-500" />
<span className="absolute bottom-1.5 right-1.5 bg-gradient-to-r from-cyan-500/90 to-purple-600/90 backdrop-blur-md px-1.5 py-0.5 rounded text-[8.5px] font-mono font-bold text-white shadow-sm border border-white/20">
<span className="absolute bottom-1.5 right-1.5 bg-blue-600/90 backdrop-blur-md px-1.5 py-0.5 rounded text-[8.5px] font-mono font-bold text-white shadow-sm">
CRE AI
</span>
</div>
</div>
</div>
<div className="space-y-1.5">
<div className="space-y-1">
<div className="flex items-center justify-between">
<span className="text-[10px] font-mono uppercase tracking-wider text-cyan-400">
<span className="text-[10px] font-mono uppercase tracking-wider text-blue-600 font-bold">
{item.category}
</span>
<span className="text-[10px] font-mono text-slate-400 group-hover:text-cyan-300 transition-colors">
<span className="text-[10px] font-mono text-slate-400 group-hover:text-blue-600 transition-colors font-medium">
Try Free →
</span>
</div>
<p className="font-display font-bold text-sm text-white group-hover:text-cyan-300 transition-colors truncate">
<p className="font-display font-bold text-sm text-slate-900 group-hover:text-blue-600 transition-colors truncate">
{item.toolName}
</p>
<p className="text-[11px] font-mono text-slate-400 truncate">
<p className="text-[11px] font-mono text-slate-500 truncate">
{item.tag}
</p>
</div>
+54 -59
View File
@@ -13,8 +13,6 @@ import {
Image as ImageIcon,
Zap,
ChevronRight,
ShieldCheck,
CheckCircle2
} from 'lucide-react';
import { ToolItem, AppItem, VariantSpec, resolveLocalised } from '@/types';
import { BeforeAfterSlider } from '../ui/BeforeAfterSlider';
@@ -163,37 +161,34 @@ export function TryItWidget({
};
return (
<div className={`relative bg-[#0B0F17]/90 backdrop-blur-2xl rounded-3xl p-6 sm:p-9 border border-white/[0.08] shadow-[0_25px_60px_-15px_rgba(0,0,0,0.8)] overflow-hidden ${className}`}>
{/* Decorative Radial Ambient Corner Glow */}
<div className="absolute top-0 right-0 w-80 h-80 bg-gradient-to-bl from-cyan-500/15 via-purple-600/10 to-transparent blur-3xl pointer-events-none -z-10" />
<div className={`relative bg-white rounded-3xl p-6 sm:p-10 border border-slate-900/[0.08] shadow-cream-md overflow-hidden ${className}`}>
{/* Top Header & Tries Counter */}
<div className="flex flex-col sm:flex-row items-start sm:items-center justify-between gap-4 pb-6 border-b border-white/[0.08]">
<div className="flex flex-col sm:flex-row items-start sm:items-center justify-between gap-4 pb-6 border-b border-slate-100">
<div className="flex items-center gap-3.5">
<div className="w-11 h-11 rounded-2xl bg-gradient-to-tr from-cyan-500 to-purple-600 flex items-center justify-center text-black shadow-lg shadow-cyan-500/25 shrink-0">
<Zap className="w-5 h-5 text-black" />
<div className="w-11 h-11 rounded-2xl bg-gradient-to-tr from-blue-600 to-indigo-600 flex items-center justify-center text-white shadow-md shadow-blue-500/20 shrink-0">
<Zap className="w-5 h-5" />
</div>
<div>
<h3 className="font-display font-extrabold text-white text-base sm:text-lg flex items-center gap-2">
<h3 className="font-display font-bold text-slate-900 text-base sm:text-lg flex items-center gap-2">
<span>{resolveLocalised(tool.name, locale)}</span>
<span className="text-[10px] font-mono text-cyan-400 bg-cyan-950/60 border border-cyan-500/30 px-2 py-0.5 rounded-full">
Interactive Trial
<span className="text-[10px] font-mono text-blue-700 bg-blue-50 border border-blue-200 px-2 py-0.5 rounded-full font-semibold">
Free Browser Trial
</span>
</h3>
<p className="text-xs font-mono text-slate-400 mt-0.5">
<p className="text-xs font-mono text-slate-500 mt-0.5">
Zero Watermarks • In-Memory RAM Stream • No Sign-Up
</p>
</div>
</div>
<div className="self-end sm:self-auto flex items-center gap-2 bg-emerald-950/40 border border-emerald-500/30 px-3.5 py-1.5 rounded-full text-xs font-mono text-emerald-400">
<span className="w-2 h-2 rounded-full bg-emerald-400 animate-pulse"></span>
<div className="self-end sm:self-auto flex items-center gap-2 bg-emerald-50 border border-emerald-200 px-3.5 py-1.5 rounded-full text-xs font-mono text-emerald-800 font-semibold">
<span className="w-2 h-2 rounded-full bg-emerald-500 animate-pulse"></span>
<span>{remainingTries} free tries today</span>
</div>
</div>
{/* Main Body per Status */}
<div className="mt-6">
<div className="mt-7">
{status === 'idle' && (
<div className="space-y-6">
{/* Drag & Drop Upload Zone */}
@@ -207,8 +202,8 @@ export function TryItWidget({
onClick={() => fileInputRef.current?.click()}
className={`border-2 border-dashed rounded-3xl p-8 sm:p-14 text-center cursor-pointer transition-all duration-300 group ${
isDragOver
? 'border-cyan-400 bg-cyan-950/30 scale-[1.01] shadow-[0_0_30px_rgba(0,240,255,0.2)]'
: 'border-white/[0.12] hover:border-cyan-400/60 hover:bg-white/[0.03]'
? 'border-blue-500 bg-blue-50/50 scale-[1.01]'
: 'border-slate-300 hover:border-blue-500 bg-slate-50/50 hover:bg-blue-50/20'
}`}
>
<input
@@ -218,30 +213,30 @@ export function TryItWidget({
className="hidden"
onChange={(e) => e.target.files?.[0] && handleFileChange(e.target.files[0])}
/>
<div className="w-16 h-16 sm:w-20 sm:h-20 mx-auto mb-4 rounded-3xl bg-cyan-500/10 border border-cyan-500/20 flex items-center justify-center text-cyan-400 group-hover:scale-110 group-hover:shadow-[0_0_25px_rgba(0,240,255,0.3)] transition-all duration-300">
<div className="w-16 h-16 sm:w-20 sm:h-20 mx-auto mb-4 rounded-3xl bg-blue-50 border border-blue-100 flex items-center justify-center text-blue-600 group-hover:scale-110 transition-all duration-300 shadow-sm">
<UploadCloud className="w-8 h-8 sm:w-10 sm:h-10" />
</div>
<p className="text-base sm:text-lg font-display font-bold text-white">
Drag & drop your photo here, or <span className="text-cyan-400 underline decoration-cyan-400/50 underline-offset-4 group-hover:text-cyan-300">browse file</span>
<p className="text-base sm:text-lg font-display font-bold text-slate-900">
Drag & drop your photo here, or <span className="text-blue-600 underline decoration-blue-300 underline-offset-4 group-hover:text-blue-700">browse file</span>
</p>
<p className="mt-1.5 text-xs font-mono text-slate-400">
<p className="mt-1.5 text-xs font-mono text-slate-500">
Supports JPG, PNG, WEBP up to {tool.tryIt?.limits?.maxMB || 12}MB
</p>
</div>
{/* Quick Sample Presets */}
<div>
<p className="text-xs font-mono uppercase tracking-wider text-slate-400 mb-3">
Or inspect with an instant sample preset:
<p className="text-xs font-mono uppercase tracking-wider text-slate-500 font-semibold mb-3">
Or inspect with an instant sample photo:
</p>
<div className="flex flex-wrap gap-2.5">
{samplePresets.map((preset, idx) => (
<button
key={idx}
onClick={() => loadSamplePreset(preset.url)}
className="inline-flex items-center gap-2 px-4 py-2.5 rounded-xl text-xs font-semibold bg-white/[0.04] border border-white/[0.08] text-slate-300 hover:text-white hover:bg-cyan-950/40 hover:border-cyan-500/30 transition-all active:scale-95"
className="inline-flex items-center gap-2 px-4 py-2.5 rounded-xl text-xs font-semibold bg-slate-100 border border-slate-200 text-slate-700 hover:bg-blue-50 hover:border-blue-300 hover:text-blue-700 transition-all active:scale-95 shadow-sm"
>
<ImageIcon className="w-3.5 h-3.5 text-cyan-400" />
<ImageIcon className="w-3.5 h-3.5 text-slate-500" />
<span>{preset.label}</span>
</button>
))}
@@ -254,12 +249,12 @@ export function TryItWidget({
<div className="space-y-6">
<div className="grid grid-cols-1 md:grid-cols-2 gap-6 items-center">
{/* Image Preview Card */}
<div className="relative aspect-[4/3] rounded-3xl overflow-hidden border border-white/[0.1] bg-[#07090E] shadow-xl">
<div className="relative aspect-[4/3] rounded-3xl overflow-hidden border border-slate-200 bg-slate-100 shadow-sm">
{/* eslint-disable-next-line @next/next/no-img-element */}
<img src={previewUrl} alt="Selected photo" className="w-full h-full object-cover" />
<button
onClick={reset}
className="absolute top-3 right-3 bg-black/80 hover:bg-black text-white text-xs font-mono px-3 py-1.5 rounded-xl backdrop-blur-md border border-white/20 transition-colors"
className="absolute top-3 right-3 bg-slate-900/80 hover:bg-slate-900 text-white text-xs font-mono px-3 py-1.5 rounded-xl backdrop-blur-md transition-colors"
>
Change Photo
</button>
@@ -269,7 +264,7 @@ export function TryItWidget({
<div className="space-y-5">
{variants.length > 0 && (
<div>
<label className="block text-xs font-mono uppercase tracking-wider text-slate-400 mb-2.5">
<label className="block text-xs font-mono uppercase tracking-wider text-slate-600 font-semibold mb-2.5">
{resolveLocalised(tool.tryIt?.variantControl?.label, locale, 'Select Retouch Mode')}
</label>
<div className="space-y-2">
@@ -278,8 +273,8 @@ export function TryItWidget({
key={v.id}
className={`flex items-center justify-between p-3.5 rounded-2xl border cursor-pointer transition-all duration-200 ${
activeVariant === v.id
? 'border-cyan-400 bg-cyan-950/40 text-cyan-300 shadow-[0_0_15px_rgba(0,240,255,0.15)]'
: 'border-white/[0.08] hover:border-white/[0.2] bg-white/[0.02]'
? 'border-blue-600 bg-blue-50/70 text-blue-900 shadow-sm'
: 'border-slate-200 hover:border-slate-300 bg-white'
}`}
>
<div className="flex items-center space-x-3">
@@ -289,14 +284,14 @@ export function TryItWidget({
value={v.id}
checked={activeVariant === v.id}
onChange={() => setActiveVariant(v.id)}
className="text-cyan-400 focus:ring-cyan-400 h-4 w-4 bg-transparent border-white/20"
className="text-blue-600 focus:ring-blue-500 h-4 w-4"
/>
<div>
<p className="text-xs sm:text-sm font-bold text-white">
<p className="text-xs sm:text-sm font-bold text-slate-900">
{resolveLocalised(v.label, locale, v.description || v.id)}
</p>
{v.description && (
<p className="text-[11px] text-slate-400">{v.description}</p>
<p className="text-[11px] text-slate-500">{v.description}</p>
)}
</div>
</div>
@@ -309,9 +304,9 @@ export function TryItWidget({
{/* Run Button */}
<button
onClick={runTryIt}
className="w-full py-4 px-6 rounded-2xl font-bold text-xs sm:text-sm text-black bg-gradient-to-r from-cyan-400 via-teal-300 to-purple-400 hover:from-cyan-300 hover:to-teal-200 shadow-[0_0_25px_rgba(0,240,255,0.35)] transition-all flex items-center justify-center gap-2 active:scale-98"
className="w-full py-4 px-6 rounded-2xl font-bold text-xs sm:text-sm text-white bg-gradient-to-r from-blue-600 to-indigo-600 hover:from-blue-700 hover:to-indigo-700 shadow-md shadow-blue-500/25 transition-all flex items-center justify-center gap-2 active:scale-98"
>
<Sparkles className="w-4 h-4 text-black" />
<Sparkles className="w-4 h-4 text-white" />
<span>Run {resolveLocalised(tool.name, locale)}</span>
</button>
</div>
@@ -321,18 +316,18 @@ export function TryItWidget({
{status === 'processing' && (
<div className="py-16 sm:py-20 text-center space-y-5">
<div className="relative inline-flex p-5 rounded-3xl bg-cyan-950/40 border border-cyan-500/30 text-cyan-400 shadow-[0_0_35px_rgba(0,240,255,0.25)]">
<Loader2 className="w-10 h-10 animate-spin text-cyan-400" />
<div className="relative inline-flex p-5 rounded-3xl bg-blue-50 border border-blue-200 text-blue-600 shadow-sm">
<Loader2 className="w-10 h-10 animate-spin text-blue-600" />
<span className="absolute -top-1 -right-1 flex h-3 w-3">
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-cyan-400 opacity-75"></span>
<span className="relative inline-flex rounded-full h-3 w-3 bg-cyan-500"></span>
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-blue-400 opacity-75"></span>
<span className="relative inline-flex rounded-full h-3 w-3 bg-blue-500"></span>
</span>
</div>
<div>
<h4 className="text-lg font-display font-bold text-white">
<h4 className="text-lg font-display font-bold text-slate-900">
CRE Neural Vision Engine Processing...
</h4>
<p className="text-xs sm:text-sm text-slate-400 max-w-sm mx-auto mt-1 font-mono">
<p className="text-xs sm:text-sm text-slate-500 max-w-sm mx-auto mt-1 font-mono">
Synthesizing deep learning layers while preserving native pore texture in volatile RAM.
</p>
</div>
@@ -353,44 +348,44 @@ export function TryItWidget({
<div className="flex flex-wrap items-center justify-between gap-3 pt-2">
<button
onClick={reset}
className="inline-flex items-center gap-2 px-4 py-2.5 rounded-xl text-xs sm:text-sm font-semibold border border-white/[0.1] bg-white/[0.04] hover:bg-white/[0.08] text-slate-300 hover:text-white transition-colors"
className="inline-flex items-center gap-2 px-4 py-2.5 rounded-xl text-xs sm:text-sm font-semibold border border-slate-300 bg-slate-50 hover:bg-slate-100 text-slate-700 transition-colors"
>
<RefreshCw className="w-4 h-4 text-slate-400" />
<RefreshCw className="w-4 h-4 text-slate-500" />
<span>Process Another Photo</span>
</button>
<a
href={resultUrl}
download={`${tool.slug}-result.png`}
className="inline-flex items-center gap-2 px-6 py-2.5 rounded-xl text-xs sm:text-sm font-bold text-black bg-gradient-to-r from-cyan-400 to-teal-300 hover:from-cyan-300 hover:to-teal-200 shadow-[0_0_20px_rgba(0,240,255,0.3)] transition-all hover:scale-105 active:scale-95"
className="inline-flex items-center gap-2 px-6 py-2.5 rounded-xl text-xs sm:text-sm font-bold text-white bg-emerald-600 hover:bg-emerald-700 shadow-md shadow-emerald-500/20 transition-all hover:scale-105 active:scale-95"
>
<Download className="w-4 h-4 text-black" />
<Download className="w-4 h-4" />
<span>Download Result (HD)</span>
</a>
</div>
{/* Result App Handoff Card */}
{homeApp && (
<div className="mt-6 p-6 rounded-3xl bg-gradient-to-br from-purple-950/40 via-cyan-950/20 to-black border border-purple-500/30 flex flex-col sm:flex-row items-start sm:items-center justify-between gap-5">
<div className="mt-6 p-6 rounded-3xl bg-slate-50 border border-slate-200 flex flex-col sm:flex-row items-start sm:items-center justify-between gap-5">
<div className="space-y-1">
<div className="flex items-center gap-2">
<Smartphone className="w-4 h-4 text-purple-400" />
<span className="text-[11px] font-mono uppercase tracking-widest text-purple-300">
<Smartphone className="w-4 h-4 text-indigo-600" />
<span className="text-[11px] font-mono uppercase tracking-widest text-indigo-700 font-bold">
Need 4K Lossless & Batch Processing?
</span>
</div>
<h5 className="font-display font-bold text-white text-base">
<h5 className="font-display font-bold text-slate-900 text-base">
Open in {resolveLocalised(homeApp.name, locale)}
</h5>
<p className="text-xs text-slate-400">
<p className="text-xs text-slate-600">
Get 50 free HD export credits on first launch with promo code{' '}
<span className="font-mono font-bold text-cyan-400">{homeApp.welcomeBonus?.code || 'TRYWEB50'}</span>.
<span className="font-mono font-bold text-blue-600 bg-blue-50 px-1 py-0.5 rounded border border-blue-200">{homeApp.welcomeBonus?.code || 'TRYWEB50'}</span>.
</p>
</div>
<Link
href={`/go/${tool.slug}/${homeApp.slug}`}
className="w-full sm:w-auto shrink-0 px-6 py-3 rounded-full text-xs font-bold text-black bg-gradient-to-r from-purple-400 to-cyan-400 shadow-md transition-all text-center flex items-center justify-center gap-2 hover:scale-105"
className="w-full sm:w-auto shrink-0 px-6 py-3 rounded-full text-xs font-bold text-white bg-blue-600 hover:bg-blue-700 shadow-sm transition-all text-center flex items-center justify-center gap-2 hover:scale-105"
>
<span>Open in Mobile App</span>
<ChevronRight className="w-4 h-4" />
@@ -401,19 +396,19 @@ export function TryItWidget({
)}
{(status === 'limit' || status === 'error' || status === 'unavailable') && (
<div className="p-7 sm:p-9 rounded-3xl bg-amber-950/20 border border-amber-500/30 text-center space-y-4">
<div className="w-12 h-12 mx-auto rounded-2xl bg-amber-900/40 border border-amber-500/40 flex items-center justify-center text-amber-400">
<div className="p-7 sm:p-9 rounded-3xl bg-amber-50 border border-amber-200 text-center space-y-4">
<div className="w-12 h-12 mx-auto rounded-2xl bg-amber-100 border border-amber-300 flex items-center justify-center text-amber-700">
<AlertCircle className="w-6 h-6" />
</div>
<div>
<h4 className="text-base font-display font-bold text-white">
<h4 className="text-base font-display font-bold text-slate-900">
{status === 'limit'
? 'Daily Free Web Limit Reached'
: status === 'unavailable'
? 'Service Temporarily Offline'
: 'Processing Issue'}
</h4>
<p className="text-xs sm:text-sm text-slate-400 max-w-md mx-auto mt-1 font-mono">
<p className="text-xs sm:text-sm text-slate-600 max-w-md mx-auto mt-1 font-mono">
{errorMessage}
</p>
</div>
@@ -421,14 +416,14 @@ export function TryItWidget({
<div className="flex flex-wrap items-center justify-center gap-3 pt-2">
<button
onClick={reset}
className="px-4 py-2 rounded-xl text-xs font-semibold border border-white/[0.1] bg-white/[0.04] hover:bg-white/[0.08] text-slate-300"
className="px-4 py-2 rounded-xl text-xs font-semibold border border-slate-300 bg-white hover:bg-slate-100 text-slate-700"
>
Try Again
</button>
{homeApp && (
<Link
href={`/go/${tool.slug}/${homeApp.slug}`}
className="px-5 py-2 rounded-xl text-xs font-bold text-black bg-gradient-to-r from-cyan-400 to-teal-300 shadow-md"
className="px-5 py-2 rounded-xl text-xs font-bold text-white bg-blue-600 hover:bg-blue-700 shadow-sm"
>
Open in {resolveLocalised(homeApp.name, locale)}
</Link>
@@ -14,7 +14,6 @@ import {
ShieldCheck,
Cpu,
Smartphone,
ExternalLink
} from 'lucide-react';
import { resolveLocalised, ToolItem, CategoryItem } from '@/types';
import { BeforeAfterSlider } from '@/components/ui/BeforeAfterSlider';
@@ -56,23 +55,29 @@ export function VerticalToolStackSection({ context }: VerticalToolStackProps) {
: categories.filter((c) => c.slug === selectedCategory);
return (
<section id="tools-stack" className="py-24 lg:py-32 relative bg-[#07090E]/80 border-t border-b border-white/[0.06] overflow-hidden scroll-mt-20">
{/* Ambient background glow accents */}
<div className="absolute top-1/4 -left-48 w-96 h-96 bg-cyan-500/10 rounded-full blur-3xl pointer-events-none" />
<div className="absolute bottom-1/4 -right-48 w-96 h-96 bg-purple-500/10 rounded-full blur-3xl pointer-events-none" />
<section
id="studio-suite"
className="py-24 sm:py-32 lg:py-36 relative bg-[#FAF8F5] border-t border-b border-slate-900/[0.07] overflow-hidden scroll-mt-20"
>
{/* Anchor alias for tools-stack */}
<div id="tools-stack" className="absolute -top-20" />
{/* Subtle ambient light gradient */}
<div className="absolute top-1/4 -left-48 w-96 h-96 bg-blue-500/[0.03] rounded-full blur-3xl pointer-events-none" />
<div className="absolute bottom-1/4 -right-48 w-96 h-96 bg-indigo-500/[0.03] rounded-full blur-3xl pointer-events-none" />
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10">
{/* Section Header */}
<div className="text-center max-w-3xl mx-auto mb-16 sm:mb-20">
<div className="inline-flex items-center gap-2 px-3.5 py-1.5 rounded-full bg-cyan-950/50 border border-cyan-500/30 text-xs font-mono text-cyan-400 mb-4 shadow-sm">
<Zap className="w-3.5 h-3.5 text-cyan-400" />
<span>NEURAL VISION ENGINE SUITE</span>
{/* Section Header: Spacious, Clean, Editorial */}
<div className="text-center max-w-3xl mx-auto mb-16 sm:mb-24">
<div className="inline-flex items-center gap-2 px-3.5 py-1.5 rounded-full bg-blue-50 border border-blue-200 text-xs font-mono font-semibold text-blue-700 mb-4 shadow-sm">
<Zap className="w-3.5 h-3.5 text-blue-600" />
<span>THE CREATIVE STUDIO SUITE</span>
</div>
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-extrabold text-white tracking-tight mb-5">
Vertical <span className="text-transparent bg-clip-text bg-gradient-to-r from-cyan-400 via-teal-300 to-purple-400">Tools Stack</span>
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-black text-slate-900 tracking-tight mb-5">
Commercial <span className="text-transparent bg-clip-text bg-gradient-to-r from-blue-700 via-indigo-600 to-purple-600">Vision Tools</span>
</h2>
<p className="text-base sm:text-lg text-slate-400 leading-relaxed">
Commercial-grade neural models organized by creative discipline. Test sub-millimeter pore retouching, alpha matting, and 4K super-resolution directly in your browser with zero watermark constraints.
<p className="text-base sm:text-lg text-slate-600 leading-relaxed font-normal">
Precision deep learning models organized by creative discipline. Test sub-millimeter skin pore retouching, fine hair alpha matting, and 4K super-resolution directly in your browser.
</p>
</div>
@@ -80,13 +85,13 @@ export function VerticalToolStackSection({ context }: VerticalToolStackProps) {
<div className="lg:hidden flex items-center gap-2 overflow-x-auto pb-4 mb-8 no-scrollbar">
<button
onClick={() => setSelectedCategory('all')}
className={`px-4 py-2 rounded-xl text-xs font-semibold whitespace-nowrap transition-all ${
className={`px-4 py-2.5 rounded-full text-xs font-bold whitespace-nowrap transition-all shadow-sm ${
selectedCategory === 'all'
? 'bg-cyan-500 text-black shadow-lg shadow-cyan-500/25 font-bold'
: 'bg-white/[0.05] text-slate-300 border border-white/[0.08]'
? 'bg-blue-600 text-white shadow-blue-500/20'
: 'bg-white text-slate-700 border border-slate-200'
}`}
>
All Categories ({tools.length})
All Disciplines ({tools.length})
</button>
{categories.map((cat) => {
const catTools = tools.filter((t) => t.category === cat.slug);
@@ -95,10 +100,10 @@ export function VerticalToolStackSection({ context }: VerticalToolStackProps) {
<button
key={cat.slug}
onClick={() => setSelectedCategory(cat.slug)}
className={`px-4 py-2 rounded-xl text-xs font-semibold whitespace-nowrap transition-all ${
className={`px-4 py-2.5 rounded-full text-xs font-bold whitespace-nowrap transition-all shadow-sm ${
active
? 'bg-cyan-500 text-black shadow-lg shadow-cyan-500/25 font-bold'
: 'bg-white/[0.05] text-slate-300 border border-white/[0.08]'
? 'bg-blue-600 text-white shadow-blue-500/20'
: 'bg-white text-slate-700 border border-slate-200'
}`}
>
{resolveLocalised(cat.name, locale)} ({catTools.length})
@@ -107,30 +112,30 @@ export function VerticalToolStackSection({ context }: VerticalToolStackProps) {
})}
</div>
{/* Main Grid: Sticky Category Sidebar (Desktop) + Vertical Stack Cards */}
<div className="grid grid-cols-1 lg:grid-cols-12 gap-10 lg:gap-12 items-start">
{/* Main Grid: Sticky Category Rail (Desktop) + Spacious Vertical Stack */}
<div className="grid grid-cols-1 lg:grid-cols-12 gap-10 lg:gap-14 items-start">
{/* Left Column: Sticky Category Selector Rail */}
<div className="hidden lg:block lg:col-span-4 sticky top-28 space-y-4">
<div className="glass-card rounded-3xl p-6 border border-white/[0.08] bg-[#0B0F17]/70 backdrop-blur-xl">
<div className="flex items-center justify-between pb-4 border-b border-white/[0.08] mb-4">
<span className="text-xs font-mono uppercase tracking-wider text-slate-400">Categories</span>
<span className="text-xs font-mono text-cyan-400">{tools.length} Vision Tools</span>
<div className="hidden lg:block lg:col-span-4 sticky top-28 space-y-5">
<div className="bg-white rounded-3xl p-6 sm:p-7 border border-slate-900/[0.07] shadow-sm">
<div className="flex items-center justify-between pb-4 border-b border-slate-100 mb-5">
<span className="text-xs font-mono uppercase tracking-wider text-slate-500 font-semibold">Disciplines</span>
<span className="text-xs font-mono font-bold text-blue-600">{tools.length} Vision Tools</span>
</div>
<div className="space-y-2">
<button
onClick={() => setSelectedCategory('all')}
className={`w-full flex items-center justify-between px-4 py-3 rounded-2xl text-left text-xs font-bold transition-all duration-200 ${
className={`w-full flex items-center justify-between px-4 py-3.5 rounded-2xl text-left text-xs font-bold transition-all duration-200 ${
selectedCategory === 'all'
? 'bg-gradient-to-r from-cyan-500/20 to-purple-500/10 text-cyan-300 border border-cyan-500/40 shadow-sm'
: 'text-slate-400 hover:text-white hover:bg-white/[0.04]'
? 'bg-blue-50 text-blue-700 border border-blue-200 shadow-sm'
: 'text-slate-600 hover:text-slate-900 hover:bg-slate-50'
}`}
>
<div className="flex items-center gap-3">
<Layers className="w-4 h-4 text-cyan-400" />
<span>All Neural Tools</span>
<Layers className="w-4 h-4 text-blue-600" />
<span>Complete Suite</span>
</div>
<span className="text-[11px] font-mono px-2 py-0.5 rounded-full bg-white/[0.08] text-slate-300">
<span className="text-[11px] font-mono px-2 py-0.5 rounded-full bg-slate-100 text-slate-700">
{tools.length}
</span>
</button>
@@ -144,19 +149,19 @@ export function VerticalToolStackSection({ context }: VerticalToolStackProps) {
<button
key={cat.slug}
onClick={() => setSelectedCategory(cat.slug)}
className={`w-full flex items-center justify-between px-4 py-3 rounded-2xl text-left text-xs font-bold transition-all duration-200 ${
className={`w-full flex items-center justify-between px-4 py-3.5 rounded-2xl text-left text-xs font-bold transition-all duration-200 ${
active
? 'bg-gradient-to-r from-cyan-500/20 to-purple-500/10 text-cyan-300 border border-cyan-500/40 shadow-sm'
: 'text-slate-400 hover:text-white hover:bg-white/[0.04]'
? 'bg-blue-50 text-blue-700 border border-blue-200 shadow-sm'
: 'text-slate-600 hover:text-slate-900 hover:bg-slate-50'
}`}
>
<div className="flex items-center gap-3">
<Icon className={`w-4 h-4 ${active ? 'text-cyan-400' : 'text-slate-500'}`} />
<Icon className={`w-4 h-4 ${active ? 'text-blue-600' : 'text-slate-400'}`} />
<div>
<p className="leading-tight">{resolveLocalised(cat.name, locale)}</p>
</div>
</div>
<span className="text-[11px] font-mono px-2 py-0.5 rounded-full bg-white/[0.08] text-slate-400">
<span className="text-[11px] font-mono px-2 py-0.5 rounded-full bg-slate-100 text-slate-700">
{catTools.length}
</span>
</button>
@@ -165,61 +170,61 @@ export function VerticalToolStackSection({ context }: VerticalToolStackProps) {
</div>
{/* Zero-Storage Guarantee Chip */}
<div className="mt-6 pt-5 border-t border-white/[0.08] space-y-3">
<div className="flex items-center gap-2 text-xs text-emerald-400 font-mono">
<ShieldCheck className="w-4 h-4 text-emerald-400 shrink-0" />
<div className="mt-7 pt-6 border-t border-slate-100 space-y-2.5">
<div className="flex items-center gap-2 text-xs text-emerald-800 font-mono font-bold">
<ShieldCheck className="w-4 h-4 text-emerald-600 shrink-0" />
<span>Zero-Storage Guaranteed</span>
</div>
<p className="text-[11px] text-slate-400 leading-relaxed">
Images stream through memory buffers and are never saved to disk or utilized for model training.
<p className="text-[11.5px] text-slate-500 leading-relaxed font-normal">
Images stream through memory buffers in volatile RAM and are never persisted to disk or utilized for training.
</p>
</div>
</div>
{/* Mobile App Promotion Pill */}
<div className="p-5 rounded-3xl bg-gradient-to-br from-purple-950/30 to-cyan-950/30 border border-purple-500/20 text-xs space-y-2">
<div className="flex items-center gap-2 text-purple-300 font-bold">
<Smartphone className="w-4 h-4 text-purple-400" />
<span>Batch Processing & Offline</span>
<div className="p-6 rounded-3xl bg-white border border-slate-900/[0.07] text-xs space-y-2.5 shadow-sm">
<div className="flex items-center gap-2 text-indigo-700 font-bold">
<Smartphone className="w-4 h-4 text-indigo-600" />
<span>Batch Processing & Offline Mode</span>
</div>
<p className="text-slate-400 text-[11px] leading-relaxed">
Need batch editing or offline neural execution? Use our iOS and Android native apps with coupon code <code className="text-cyan-300 font-mono bg-cyan-950/60 px-1 py-0.5 rounded">TRYWEB50</code>.
<p className="text-slate-600 text-[11.5px] leading-relaxed">
Need batch editing or offline neural execution? Use our iOS and Android native apps with promo code <code className="text-blue-700 font-mono font-bold bg-blue-50 border border-blue-200 px-1.5 py-0.5 rounded">TRYWEB50</code>.
</p>
<Link
href="/apps"
className="inline-flex items-center gap-1.5 text-cyan-400 hover:text-cyan-300 font-semibold text-xs pt-1"
className="inline-flex items-center gap-1.5 text-blue-600 hover:text-blue-700 font-bold text-xs pt-1 transition-colors"
>
<span>Explore Mobile Apps Suite</span>
<span>Explore Native Apps</span>
<ArrowRight className="w-3.5 h-3.5" />
</Link>
</div>
</div>
{/* Right Column: Vertical Stack of Tool Cards */}
<div className="lg:col-span-8 space-y-12">
{/* Right Column: Spacious Vertical Stack of Tool Cards */}
<div className="lg:col-span-8 space-y-14">
{filteredCategories.map((category) => {
const catTools = tools.filter((t) => t.category === category.slug);
if (catTools.length === 0) return null;
const Icon = ICON_MAP[category.icon || 'Sparkles'] || Sparkles;
return (
<div key={category.slug} className="space-y-6">
{/* Category Section Header */}
<div className="flex items-center justify-between pb-3 border-b border-white/[0.08]">
<div key={category.slug} className="space-y-7">
{/* Category Header */}
<div className="flex items-center justify-between pb-3.5 border-b border-slate-900/[0.08]">
<div className="flex items-center gap-3">
<div className="w-8 h-8 rounded-xl bg-cyan-500/10 border border-cyan-500/20 flex items-center justify-center text-cyan-400">
<div className="w-9 h-9 rounded-xl bg-blue-50 border border-blue-200 flex items-center justify-center text-blue-600 shadow-sm">
<Icon className="w-4 h-4" />
</div>
<div>
<h3 className="text-lg font-display font-bold text-white">
<h3 className="text-xl font-display font-bold text-slate-900">
{resolveLocalised(category.name, locale)}
</h3>
<p className="text-xs text-slate-400">
<p className="text-xs text-slate-500 font-normal">
{resolveLocalised(category.description, locale)}
</p>
</div>
</div>
<span className="text-xs font-mono text-cyan-400 bg-cyan-950/40 border border-cyan-500/20 px-2.5 py-1 rounded-full">
<span className="text-xs font-mono font-semibold text-blue-700 bg-blue-50 border border-blue-200 px-3 py-1 rounded-full">
{catTools.length} {catTools.length === 1 ? 'Tool' : 'Tools'}
</span>
</div>
@@ -241,53 +246,53 @@ export function VerticalToolStackSection({ context }: VerticalToolStackProps) {
return (
<div
key={tool.id}
className="glass-card rounded-3xl p-6 sm:p-8 border border-white/[0.08] hover:border-cyan-500/30 transition-all duration-300 relative group"
className="bg-white rounded-3xl p-7 sm:p-9 border border-slate-900/[0.08] hover:border-blue-400 shadow-sm hover:shadow-md transition-all duration-300 relative group"
>
{/* Top Metadata Row */}
<div className="flex flex-wrap items-center justify-between gap-3 mb-6">
<div className="flex flex-wrap items-center gap-2">
{/* Neural Model Tag */}
<span className="inline-flex items-center gap-1.5 px-3 py-1 rounded-full bg-cyan-950/50 border border-cyan-500/30 text-cyan-300 font-mono text-[11px]">
<Cpu className="w-3 h-3 text-cyan-400" />
<span className="inline-flex items-center gap-1.5 px-3 py-1 rounded-full bg-blue-50 border border-blue-200 text-blue-700 font-mono text-[11px] font-semibold">
<Cpu className="w-3 h-3 text-blue-600" />
<span>{badgeInfo.model}</span>
</span>
{/* Specific Capability Chip */}
<span className="px-2.5 py-1 rounded-full bg-white/[0.04] border border-white/[0.08] text-slate-300 text-[11px] font-mono">
<span className="px-2.5 py-1 rounded-full bg-slate-100 border border-slate-200 text-slate-700 text-[11px] font-mono font-medium">
{badgeInfo.chip}
</span>
</div>
{/* Latency & Stream Metric */}
<div className="flex items-center gap-1.5 text-[11px] font-mono text-emerald-400">
<span className="w-1.5 h-1.5 rounded-full bg-emerald-400 animate-pulse" />
{/* Latency Metric */}
<div className="flex items-center gap-1.5 text-[11px] font-mono text-emerald-700 bg-emerald-50 border border-emerald-200 px-2.5 py-1 rounded-full font-semibold">
<span className="w-1.5 h-1.5 rounded-full bg-emerald-500 animate-pulse" />
<span>{badgeInfo.latency} Stream</span>
</div>
</div>
{/* Card Content Grid: Details on Left, Interactive Slider on Right */}
<div className="grid grid-cols-1 md:grid-cols-12 gap-6 items-center">
{/* Card Content Grid: Details Left, Interactive Slider Right */}
<div className="grid grid-cols-1 md:grid-cols-12 gap-7 sm:gap-8 items-center">
{/* Left Details */}
<div className="md:col-span-6 space-y-4">
<h4 className="text-xl sm:text-2xl font-display font-extrabold text-white group-hover:text-cyan-300 transition-colors">
<h4 className="text-xl sm:text-2xl font-display font-bold text-slate-900 group-hover:text-blue-600 transition-colors">
{resolveLocalised(tool.name, locale)}
</h4>
<p className="text-xs sm:text-sm text-slate-400 leading-relaxed">
<p className="text-xs sm:text-sm text-slate-600 leading-relaxed font-normal">
{resolveLocalised(tool.summary, locale)}
</p>
{/* Features List */}
<div className="space-y-2 pt-2">
<div className="flex items-center gap-2 text-xs text-slate-300">
<CheckCircle2 className="w-3.5 h-3.5 text-cyan-400 shrink-0" />
<span>Zero photo retention with RAM buffer pipeline</span>
<div className="space-y-2.5 pt-2">
<div className="flex items-center gap-2.5 text-xs text-slate-700">
<CheckCircle2 className="w-4 h-4 text-blue-600 shrink-0" />
<span>Zero photo retention with volatile RAM streaming</span>
</div>
<div className="flex items-center gap-2 text-xs text-slate-300">
<CheckCircle2 className="w-3.5 h-3.5 text-cyan-400 shrink-0" />
<div className="flex items-center gap-2.5 text-xs text-slate-700">
<CheckCircle2 className="w-4 h-4 text-blue-600 shrink-0" />
<span>Full HD lossless output with no watermark</span>
</div>
<div className="flex items-center gap-2 text-xs text-slate-300">
<CheckCircle2 className="w-3.5 h-3.5 text-cyan-400 shrink-0" />
<span>Direct handoff to native mobile application</span>
<div className="flex items-center gap-2.5 text-xs text-slate-700">
<CheckCircle2 className="w-4 h-4 text-blue-600 shrink-0" />
<span>Seamless mobile handoff with 50 bonus credits</span>
</div>
</div>
@@ -295,7 +300,7 @@ export function VerticalToolStackSection({ context }: VerticalToolStackProps) {
<div className="pt-4 flex flex-wrap items-center gap-3">
<Link
href={`/tools/${tool.slug}`}
className="inline-flex items-center gap-2 px-5 py-2.5 rounded-xl text-xs font-bold text-black bg-gradient-to-r from-cyan-400 to-teal-300 hover:from-cyan-300 hover:to-teal-200 shadow-lg shadow-cyan-500/25 transition-all duration-200 hover:-translate-y-0.5 active:translate-y-0"
className="inline-flex items-center gap-2 px-5 py-2.5 rounded-full text-xs font-bold text-white bg-blue-600 hover:bg-blue-700 shadow-sm shadow-blue-500/20 transition-all duration-200 hover:-translate-y-0.5 active:translate-y-0"
>
<span>Launch Tool Online</span>
<ArrowRight className="w-3.5 h-3.5" />
@@ -303,9 +308,9 @@ export function VerticalToolStackSection({ context }: VerticalToolStackProps) {
<Link
href={`/apps/${tool.homeApp}`}
className="inline-flex items-center gap-1.5 px-4 py-2.5 rounded-xl text-xs font-semibold text-slate-300 bg-white/[0.04] border border-white/[0.08] hover:bg-white/[0.08] hover:text-white transition-colors"
className="inline-flex items-center gap-1.5 px-4 py-2.5 rounded-full text-xs font-bold text-slate-700 bg-slate-100 border border-slate-200 hover:bg-slate-200 transition-colors"
>
<Smartphone className="w-3.5 h-3.5 text-cyan-400" />
<Smartphone className="w-3.5 h-3.5 text-blue-600" />
<span>Native App</span>
</Link>
</div>
@@ -1,6 +1,6 @@
import React from 'react';
import Link from 'next/link';
import { Sparkles, ArrowRight, CheckCircle2, ShoppingBag, Camera, Archive, Palette, Zap } from 'lucide-react';
import { ArrowRight, CheckCircle2, ShoppingBag, Camera, Archive, Palette, Zap } from 'lucide-react';
interface UseCaseCard {
title: string;
@@ -68,18 +68,18 @@ const useCases: UseCaseCard[] = [
export function VisualUseCasesSection() {
return (
<section className="py-20 sm:py-28 bg-[#07090E] border-t border-white/[0.08] relative overflow-hidden">
<section className="py-24 sm:py-32 bg-[#FAF8F5] border-t border-slate-900/[0.08] relative overflow-hidden">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10">
<div className="text-center max-w-3xl mx-auto mb-16 space-y-4">
<div className="inline-flex items-center gap-2 px-3.5 py-1.5 rounded-full bg-cyan-950/60 border border-cyan-500/30 text-xs font-mono text-cyan-300">
<Zap className="w-3.5 h-3.5 text-cyan-400" />
<div className="text-center max-w-3xl mx-auto mb-16 sm:mb-20 space-y-4">
<div className="inline-flex items-center gap-2 px-3.5 py-1.5 rounded-full bg-blue-50 border border-blue-200 text-xs font-mono font-semibold text-blue-700">
<Zap className="w-3.5 h-3.5 text-blue-600" />
<span>REAL-WORLD VISUAL CAPABILITIES</span>
</div>
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-extrabold text-white tracking-tight">
Engineered for <span className="text-transparent bg-clip-text bg-gradient-to-r from-cyan-400 to-purple-400">Creators & Studios</span>
<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>
</h2>
<p className="text-sm sm:text-base text-slate-400 max-w-2xl mx-auto">
From single-click browser trials to full 4K studio batch exports, CRE Innovations powers every stage of your visual workflow.
<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.
</p>
</div>
@@ -90,23 +90,23 @@ export function VisualUseCasesSection() {
return (
<div
key={idx}
className="group relative glass-card rounded-3xl p-6 sm:p-8 border border-white/[0.08] hover:border-cyan-500/30 transition-all duration-300 flex flex-col justify-between"
className="group relative bg-white rounded-3xl p-7 sm:p-9 border border-slate-900/[0.08] hover:border-blue-400 shadow-cream-md hover:shadow-cream-lg transition-all duration-300 flex flex-col justify-between"
>
<div>
{/* Visual Before / After Split Frame */}
<div className="relative aspect-[16/10] rounded-2xl overflow-hidden mb-6 bg-[#05070B] border border-white/[0.08] shadow-inner">
<div className="relative aspect-[16/10] rounded-2xl overflow-hidden mb-6 bg-slate-950 border border-slate-200 shadow-inner">
<div className="grid grid-cols-2 h-full w-full">
<div className="relative h-full overflow-hidden border-r border-white/20">
{/* eslint-disable-next-line @next/next/no-img-element */}
<img src={uc.beforeImg} alt={`${uc.title} before`} className="h-full w-full object-cover" />
<span className="absolute top-3 left-3 bg-black/80 backdrop-blur-md px-2.5 py-1 rounded-md text-[9px] font-mono font-bold text-slate-300 border border-white/10">
<span className="absolute top-3 left-3 bg-black/80 backdrop-blur-md px-2.5 py-1 rounded-md text-[9px] font-mono font-bold text-white">
Original Input
</span>
</div>
<div className="relative h-full overflow-hidden">
{/* eslint-disable-next-line @next/next/no-img-element */}
<img src={uc.afterImg} alt={`${uc.title} after`} className="h-full w-full object-cover group-hover:scale-105 transition-transform duration-500" />
<span className="absolute top-3 right-3 bg-gradient-to-r from-cyan-500 to-purple-600 backdrop-blur-md px-2.5 py-1 rounded-md text-[9px] font-mono font-bold text-white shadow-md border border-white/20">
<span className="absolute top-3 right-3 bg-blue-600 backdrop-blur-md px-2.5 py-1 rounded-md text-[9px] font-mono font-bold text-white shadow-md">
CRE AI Result
</span>
</div>
@@ -115,28 +115,28 @@ export function VisualUseCasesSection() {
{/* Header */}
<div className="flex items-center justify-between mb-3">
<div className="flex items-center gap-2 text-xs font-mono font-bold text-cyan-400">
<div className="flex items-center gap-2 text-xs font-mono font-bold text-blue-600">
<Icon className="w-4 h-4" />
<span>{uc.category}</span>
</div>
<span className="text-[10.5px] font-mono text-slate-300 bg-white/[0.04] border border-white/[0.08] px-2.5 py-0.5 rounded-full">
<span className="text-[10.5px] font-mono text-slate-700 bg-slate-100 border border-slate-200 px-2.5 py-0.5 rounded-full font-medium">
{uc.badge}
</span>
</div>
<h3 className="text-xl sm:text-2xl font-display font-bold text-white group-hover:text-cyan-300 transition-colors">
<h3 className="text-xl sm:text-2xl font-display font-bold text-slate-900 group-hover:text-blue-600 transition-colors">
{uc.title}
</h3>
<p className="mt-2 text-xs sm:text-sm text-slate-400 leading-relaxed">
<p className="mt-2 text-xs sm:text-sm text-slate-600 leading-relaxed font-normal">
{uc.desc}
</p>
{/* Benefit points */}
<div className="mt-5 pt-4 border-t border-white/[0.08] space-y-2">
<div className="mt-5 pt-4 border-t border-slate-100 space-y-2.5">
{uc.benefits.map((b, bIdx) => (
<div key={bIdx} className="flex items-center gap-2 text-xs text-slate-300">
<CheckCircle2 className="w-3.5 h-3.5 text-cyan-400 shrink-0" />
<div key={bIdx} className="flex items-center gap-2 text-xs text-slate-700 font-medium">
<CheckCircle2 className="w-3.5 h-3.5 text-blue-600 shrink-0" />
<span>{b}</span>
</div>
))}
@@ -146,7 +146,7 @@ export function VisualUseCasesSection() {
<div className="mt-6 pt-4">
<Link
href={`/tools/${uc.toolSlug}`}
className="inline-flex items-center gap-2 text-xs font-mono font-bold text-cyan-400 hover:text-cyan-300 group-hover:translate-x-1 transition-all"
className="inline-flex items-center gap-2 text-xs font-mono font-bold text-blue-600 hover:text-blue-700 group-hover:translate-x-1 transition-all"
>
<span>Launch {uc.toolName} online</span>
<ArrowRight className="w-3.5 h-3.5" />
@@ -1,5 +1,5 @@
import React from 'react';
import { UploadCloud, Cpu, Smartphone, ShieldCheck, Zap, ArrowRight } from 'lucide-react';
import { UploadCloud, Cpu, Smartphone, ShieldCheck, Zap } from 'lucide-react';
export function WorkflowVisualizerSection() {
const steps = [
@@ -9,7 +9,7 @@ export function WorkflowVisualizerSection() {
desc: 'Drag & drop JPG, PNG, or WEBP up to 12MB. Client-side signature checks ensure instantaneous, secure processing.',
icon: UploadCloud,
highlight: 'Zero Sign-Up Required',
gradient: 'from-cyan-500/20 to-blue-500/10 text-cyan-400 border-cyan-500/30',
gradient: 'from-blue-50 to-indigo-50 text-blue-600 border-blue-200',
},
{
num: '02',
@@ -17,7 +17,7 @@ export function WorkflowVisualizerSection() {
desc: 'Our neural models process pixels purely in volatile RAM buffers and stream the binary result directly back. Zero disk storage.',
icon: Cpu,
highlight: 'Zero Storage Guarantee',
gradient: 'from-purple-500/20 to-pink-500/10 text-purple-400 border-purple-500/30',
gradient: 'from-indigo-50 to-purple-50 text-indigo-600 border-indigo-200',
},
{
num: '03',
@@ -25,25 +25,22 @@ export function WorkflowVisualizerSection() {
desc: 'Download your result in standard HD or scan the dynamic QR code to unlock batch processing and 4K lossless export in our mobile apps.',
icon: Smartphone,
highlight: '50 Free App Credits',
gradient: 'from-emerald-500/20 to-teal-500/10 text-emerald-400 border-emerald-500/30',
gradient: 'from-teal-50 to-emerald-50 text-emerald-600 border-emerald-200',
},
];
return (
<section className="py-20 sm:py-28 bg-[#05070B] border-t border-white/[0.08] relative overflow-hidden">
{/* Ambient background glow */}
<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-3/4 h-64 bg-cyan-500/5 blur-3xl pointer-events-none" />
<section className="py-24 sm:py-32 bg-[#F5F2EB] border-t border-slate-900/[0.08] relative overflow-hidden">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10">
<div className="text-center max-w-3xl mx-auto mb-16 space-y-4">
<div className="inline-flex items-center gap-2 px-3.5 py-1.5 rounded-full bg-cyan-950/60 border border-cyan-500/30 text-xs font-mono text-cyan-300">
<Zap className="w-3.5 h-3.5 text-cyan-400" />
<div className="text-center max-w-3xl mx-auto mb-16 sm:mb-20 space-y-4">
<div className="inline-flex items-center gap-2 px-3.5 py-1.5 rounded-full bg-blue-50 border border-blue-200 text-xs font-mono font-semibold text-blue-700">
<Zap className="w-3.5 h-3.5 text-blue-600" />
<span>HIGH-SPEED ZERO-STORAGE PIPELINE</span>
</div>
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-extrabold text-white tracking-tight">
How <span className="text-transparent bg-clip-text bg-gradient-to-r from-cyan-400 to-teal-300">CRE Innovations</span> Works
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-black text-slate-900 tracking-tight">
How <span className="text-transparent bg-clip-text bg-gradient-to-r from-blue-700 to-indigo-600">CRE Innovations</span> Works
</h2>
<p className="text-sm sm:text-base text-slate-400 max-w-2xl mx-auto">
<p className="text-base sm:text-lg text-slate-600 max-w-2xl mx-auto">
A frictionless pipeline engineered for microsecond latency, cryptographic user privacy, and fluid mobile transition.
</p>
</div>
@@ -54,28 +51,28 @@ export function WorkflowVisualizerSection() {
return (
<div
key={idx}
className="relative glass-card rounded-3xl p-7 sm:p-8 border border-white/[0.08] hover:border-cyan-500/30 transition-all duration-300 flex flex-col justify-between group"
className="relative bg-white rounded-3xl p-8 border border-slate-900/[0.08] hover:border-blue-400 shadow-cream-sm hover:shadow-cream-md transition-all duration-300 flex flex-col justify-between group"
>
<div>
<div className="flex items-center justify-between mb-6">
<span className="text-4xl font-mono font-black text-white/10 group-hover:text-cyan-400/30 transition-colors">
<span className="text-4xl font-mono font-black text-slate-200 group-hover:text-blue-200 transition-colors">
{st.num}
</span>
<div className={`w-12 h-12 rounded-2xl flex items-center justify-center bg-gradient-to-br ${st.gradient} border shadow-lg`}>
<div className={`w-12 h-12 rounded-2xl flex items-center justify-center bg-gradient-to-br ${st.gradient} border shadow-sm`}>
<Icon className="w-6 h-6" />
</div>
</div>
<h3 className="text-xl font-display font-bold text-white mb-2 group-hover:text-cyan-300 transition-colors">
<h3 className="text-xl font-display font-bold text-slate-900 mb-2 group-hover:text-blue-600 transition-colors">
{st.title}
</h3>
<p className="text-xs sm:text-sm text-slate-400 leading-relaxed mb-6">
<p className="text-xs sm:text-sm text-slate-600 leading-relaxed mb-6 font-normal">
{st.desc}
</p>
</div>
<div className="pt-4 border-t border-white/[0.08] flex items-center gap-2 text-xs font-mono text-slate-300">
<ShieldCheck className="w-4 h-4 text-emerald-400" />
<div className="pt-4 border-t border-slate-100 flex items-center gap-2 text-xs font-mono font-bold text-slate-700">
<ShieldCheck className="w-4 h-4 text-emerald-600" />
<span>{st.highlight}</span>
</div>
</div>