diff --git a/src/app/globals.css b/src/app/globals.css
index 36daea7..4b60c43 100644
--- a/src/app/globals.css
+++ b/src/app/globals.css
@@ -12,10 +12,16 @@
--color-surface-subtle: #F5F2EB;
--color-surface-card: #FFFFFF;
--theme-radius: 20px;
- --theme-max-width: 1400px;
+ --theme-max-width: 1680px;
--font-sf: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "SF Pro", "Helvetica Neue", sans-serif;
}
+ * {
+ word-break: normal;
+ overflow-wrap: normal;
+ hyphens: none;
+ }
+
html {
scroll-behavior: smooth;
}
diff --git a/src/components/magicui/text-animate.tsx b/src/components/magicui/text-animate.tsx
index 15797d2..41b8a5a 100644
--- a/src/components/magicui/text-animate.tsx
+++ b/src/components/magicui/text-animate.tsx
@@ -79,44 +79,15 @@ export function TextAnimate({
hidden: {},
show: {
transition: {
- staggerChildren: by === 'character' ? 0.02 : 0.06,
+ staggerChildren: by === 'character' ? 0.015 : 0.05,
delayChildren: delay,
},
},
};
- // If animating by character, group by words to prevent broken line wrapping!
- if (by === 'character') {
- const words = children.split(' ');
- return (
-
- {words.map((word, wIdx) => (
-
- {Array.from(word).map((char, cIdx) => (
-
- {char}
-
- ))}
- {wIdx < words.length - 1 && }
-
- ))}
-
- );
- }
-
- // Word or line animation
- const segments = by === 'word' ? children.split(' ') : children.split('\n');
+ // Split text into words. Every word is guaranteed to be in an inline-block whitespace-nowrap
+ // wrapper so that NO WORD EVER BREAKS MID-WORD onto two lines.
+ const words = children.split(/\s+/).filter(Boolean);
return (
- {segments.map((segment, index) => (
-
- {segment}
- {by === 'word' && index < segments.length - 1 && '\u00A0'}
-
+ {words.map((word, wIdx) => (
+
+
+ {by === 'character' ? (
+ Array.from(word).map((char, cIdx) => (
+
+ {char}
+
+ ))
+ ) : (
+
+ {word}
+
+ )}
+
+ {wIdx < words.length - 1 && ' '}
+
))}
);
diff --git a/src/components/sections/FaqSection.tsx b/src/components/sections/FaqSection.tsx
index 4dbcd14..b0d3452 100644
--- a/src/components/sections/FaqSection.tsx
+++ b/src/components/sections/FaqSection.tsx
@@ -45,20 +45,20 @@ export function FaqSection({
return (
-
+
TRANSPARENCY & ASSURANCE
-
+
{resolvedTitle}
-
+
Everything you need to know about our browser trial and privacy guarantees.
diff --git a/src/components/sections/HeroSection.tsx b/src/components/sections/HeroSection.tsx
index 672a087..ac91693 100644
--- a/src/components/sections/HeroSection.tsx
+++ b/src/components/sections/HeroSection.tsx
@@ -140,10 +140,10 @@ export function HeroSection({
// Pure Front Page View (PRD & User Requirements):
// Clean, beautifully formatted typography + interactive 3D visuals strictly behind the text
return (
-
+
{/* 1. Interactive 3D WebGL Canvas & Particle Constellation Mounted Behind Text */}
-
+
@@ -152,7 +152,7 @@ export function HeroSection({
{/* 3. Front Page Content: Flawlessly Formatted, Luxurious Typography */}
-
+
{/* Subtle Elegant Pill Badge */}
@@ -171,38 +171,38 @@ export function HeroSection({
{/* Editorial High-Impact Headline (SF Pro & Poppins) */}
-
+
Transform Photos with
-
-
+
+
Next-Gen Neural AI
{/* Balanced, Readable Subtitle (Inter / SF Pro) */}
-