diff --git a/src/app/globals.css b/src/app/globals.css index d555429..d6687f1 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -424,17 +424,23 @@ h1, h2, h3, h4, h5, h6, .text-3d-chiseled { top: 0.75rem; left: 50%; z-index: 100; - transform: translate(-50%, -180%); + transform: translate(-50%, -200%); + opacity: 0; + pointer-events: none; border-radius: 9999px; background: #0f172a; padding: 0.7rem 1rem; color: #fff; font-size: 0.875rem; font-weight: 700; - transition: transform 180ms ease; + transition: transform 180ms ease, opacity 180ms ease; } -.skip-link:focus { transform: translate(-50%, 0); } +.skip-link:focus { + transform: translate(-50%, 0); + opacity: 1; + pointer-events: auto; +} .eyebrow { color: #1d4ed8; diff --git a/src/components/sections/HeroSection.tsx b/src/components/sections/HeroSection.tsx index fd65dc3..9787b59 100644 --- a/src/components/sections/HeroSection.tsx +++ b/src/components/sections/HeroSection.tsx @@ -195,9 +195,21 @@ export function HeroSection({ {/* Intelligent Side-by-Side Tool Studio */}
- {/* Column 1: Result-Focused Display Stage (Generative Grain Transform Animation) */} -
-
+ {/* Column 1: Spacious, Prominent Upload Studio (lg:col-span-7 - Made Bigger!) */} +
+ setMobileTab('compare')} + /> +
+ + {/* Column 2: Sleeker, Focused Neural Transformation Preview (lg:col-span-5) */} +
+
- - {/* Column 2: Spacious, Prominent Upload Studio */} -
- setMobileTab('compare')} - /> -
{/* Clean Trust Indicators */} diff --git a/src/components/sections/TryItWidget.tsx b/src/components/sections/TryItWidget.tsx index 7e9ae8f..a51d150 100644 --- a/src/components/sections/TryItWidget.tsx +++ b/src/components/sections/TryItWidget.tsx @@ -214,7 +214,7 @@ export function TryItWidget({ role="button" tabIndex={0} aria-label="Upload photo to edit" - className={`border-2 border-dashed rounded-3xl p-8 sm:p-12 lg:p-14 text-center cursor-pointer transition-all duration-300 min-h-[300px] sm:min-h-[340px] flex flex-col items-center justify-center group ${ + className={`border-2 border-dashed rounded-3xl p-8 sm:p-12 lg:p-16 text-center cursor-pointer transition-all duration-300 min-h-[380px] sm:min-h-[440px] lg:min-h-[460px] flex flex-col items-center justify-center group ${ isDragOver ? 'border-blue-500 bg-blue-50/70 scale-[1.01] shadow-lg shadow-blue-500/10' : 'border-slate-300/90 hover:border-blue-500 bg-gradient-to-b from-blue-50/30 via-white to-slate-50/40 hover:bg-blue-50/20' @@ -227,16 +227,16 @@ export function TryItWidget({ className="hidden" onChange={(e) => e.target.files?.[0] && handleFileChange(e.target.files[0])} /> -
- +
+
-
- +
+ Upload Image
-

+

or drag and drop your photo anywhere here