samirhosninet commited on
Commit
cfaedfc
·
1 Parent(s): 8bb2016

feat(marketing): reposition hero around unified LLM API access

Browse files

Refresh hero copy and CTAs, add product-vision disclaimers on map and terminal, simplify testimonials to Trusted Review, disable social proof section, replace top 40% cost metric with provider count, and update i18n strings.

app/layout.tsx CHANGED
@@ -35,7 +35,7 @@ const fastHand = localFont({
35
  export const metadata: Metadata = {
36
  metadataBase: new URL("https://hubapi.dev"),
37
  title: "HUBAPI — Pre-Launch Marketing Showcase & Waitlist",
38
- description: "Join the HUBAPI pre-launch waitlist. HUBAPI is currently in its marketing phase, showcasing planned features for secure agent routing, scoped keys, and routing automation.",
39
  alternates: {
40
  canonical: "https://hubapi.dev",
41
  languages: {
@@ -45,7 +45,7 @@ export const metadata: Metadata = {
45
  },
46
  openGraph: {
47
  title: "HUBAPI — Pre-Launch Marketing Showcase",
48
- description: "Pre-launch waitlist & marketing showcase. One gateway. Every model. Cut your AI costs by 40% with zero code changes.",
49
  url: "https://hubapi.dev",
50
  siteName: "HUBAPI",
51
  images: [
@@ -61,7 +61,7 @@ export const metadata: Metadata = {
61
  twitter: {
62
  card: "summary_large_image",
63
  title: "HUBAPI — Pre-Launch Marketing Showcase",
64
- description: "Pre-launch waitlist & marketing showcase. One gateway. Every model. Cut your AI costs by 40% with zero code changes.",
65
  images: ["/og-image.png"],
66
  },
67
  };
 
35
  export const metadata: Metadata = {
36
  metadataBase: new URL("https://hubapi.dev"),
37
  title: "HUBAPI — Pre-Launch Marketing Showcase & Waitlist",
38
+ description: "One API key for every LLM. Access OpenAI, Claude, Gemini, Mistral, Llama, DeepSeek, Qwen, Groq, and more through one unified API.",
39
  alternates: {
40
  canonical: "https://hubapi.dev",
41
  languages: {
 
45
  },
46
  openGraph: {
47
  title: "HUBAPI — Pre-Launch Marketing Showcase",
48
+ description: "One API key for every LLM. OpenAI-compatible endpoint, multi-model access, unified billing, and a developer-first dashboard.",
49
  url: "https://hubapi.dev",
50
  siteName: "HUBAPI",
51
  images: [
 
61
  twitter: {
62
  card: "summary_large_image",
63
  title: "HUBAPI — Pre-Launch Marketing Showcase",
64
+ description: "One API key for every LLM. OpenAI-compatible endpoint, multi-model access, unified billing, and a developer-first dashboard.",
65
  images: ["/og-image.png"],
66
  },
67
  };
app/page.tsx CHANGED
@@ -2,7 +2,6 @@ import { HeroSection } from "@/components/hero-section";
2
  import { FeatureJourneyMap } from "@/components/FeatureJourneyMap";
3
  import { LLMProviderIconCloud } from "@/components/LLMProviderIconCloud";
4
  import { HubPulseMetrics } from "@/components/HubPulseMetrics";
5
- import { SocialProof } from "@/components/social-proof";
6
  import { ComparisonTable } from "@/components/comparison-table";
7
  import { FAQAccordion } from "@/components/faq-accordion";
8
  import { ErrorBoundary } from "@/components/ui/error-boundary";
@@ -26,9 +25,6 @@ export default function Home() {
26
  <ErrorBoundary>
27
  <HeroSection />
28
  </ErrorBoundary>
29
-
30
- <SocialProof />
31
-
32
  <TerminalSection />
33
 
34
  {/* Trust Metrics */}
 
2
  import { FeatureJourneyMap } from "@/components/FeatureJourneyMap";
3
  import { LLMProviderIconCloud } from "@/components/LLMProviderIconCloud";
4
  import { HubPulseMetrics } from "@/components/HubPulseMetrics";
 
5
  import { ComparisonTable } from "@/components/comparison-table";
6
  import { FAQAccordion } from "@/components/faq-accordion";
7
  import { ErrorBoundary } from "@/components/ui/error-boundary";
 
25
  <ErrorBoundary>
26
  <HeroSection />
27
  </ErrorBoundary>
 
 
 
28
  <TerminalSection />
29
 
30
  {/* Trust Metrics */}
components/GatewayMeshSection.tsx CHANGED
@@ -9,6 +9,7 @@ import {
9
  RegionCount,
10
  StatsGrid,
11
  } from "@/components/StatsDisplay";
 
12
 
13
  export function GatewayMeshSection() {
14
  const { t } = useLanguage();
@@ -38,7 +39,8 @@ export function GatewayMeshSection() {
38
  <RegionCount />
39
  </section>
40
 
41
- <div className="w-full flex justify-center pointer-events-none">
 
42
  <MapContainer />
43
  </div>
44
  </div>
@@ -62,7 +64,8 @@ export function GatewayMeshSection() {
62
  <RegionCount />
63
  </section>
64
 
65
- <div className="w-full h-full pointer-events-none max-lg:scale-[1.5] max-lg:-translate-y-16 max-lg:translate-x-[-20%]">
 
66
  <MapContainer />
67
  </div>
68
  </div>
 
9
  RegionCount,
10
  StatsGrid,
11
  } from "@/components/StatsDisplay";
12
+ import { ProductVisionNotice } from "@/components/ProductVisionNotice";
13
 
14
  export function GatewayMeshSection() {
15
  const { t } = useLanguage();
 
39
  <RegionCount />
40
  </section>
41
 
42
+ <div className="w-full flex flex-col items-center pointer-events-none">
43
+ <ProductVisionNotice />
44
  <MapContainer />
45
  </div>
46
  </div>
 
64
  <RegionCount />
65
  </section>
66
 
67
+ <div className="w-full h-full flex flex-col items-center pointer-events-none max-lg:scale-[1.5] max-lg:-translate-y-16 max-lg:translate-x-[-20%]">
68
+ <ProductVisionNotice />
69
  <MapContainer />
70
  </div>
71
  </div>
components/HubPulseMetrics.tsx CHANGED
@@ -1,25 +1,36 @@
 
 
1
  import { NumberTicker } from "@/components/ui/number-ticker";
 
2
 
3
  export function HubPulseMetrics() {
 
 
4
  return (
5
  <div className="grid grid-cols-1 md:grid-cols-3 gap-10 md:gap-8 py-8 md:py-12 px-4 md:px-6 border-y border-border/10 bg-background/5 backdrop-blur-md w-full max-w-5xl mx-auto my-8 md:my-16 rounded-3xl shadow-sm relative z-10">
6
  <div className="flex flex-col items-center justify-center space-y-2 text-center">
7
  <span className="text-4xl md:text-5xl font-extrabold text-foreground flex items-center">
8
  <NumberTicker value={140} />+
9
  </span>
10
- <span className="text-xs md:text-sm font-semibold text-muted-foreground uppercase tracking-widest">Supported Models</span>
 
 
11
  </div>
12
  <div className="flex flex-col items-center justify-center space-y-2 text-center">
13
  <span className="text-4xl md:text-5xl font-extrabold text-primary flex items-center">
14
  <NumberTicker value={99.99} decimalPlaces={2} />%
15
  </span>
16
- <span className="text-xs md:text-sm font-semibold text-muted-foreground uppercase tracking-widest">Uptime SLA</span>
 
 
17
  </div>
18
  <div className="flex flex-col items-center justify-center space-y-2 text-center">
19
  <span className="text-4xl md:text-5xl font-extrabold text-foreground flex items-center">
20
- <NumberTicker value={40} />%
 
 
 
21
  </span>
22
- <span className="text-xs md:text-sm font-semibold text-muted-foreground uppercase tracking-widest">Avg Cost Reduction</span>
23
  </div>
24
  </div>
25
  );
 
1
+ "use client";
2
+
3
  import { NumberTicker } from "@/components/ui/number-ticker";
4
+ import { useLanguage } from "@/components/LanguageContext";
5
 
6
  export function HubPulseMetrics() {
7
+ const { t } = useLanguage();
8
+
9
  return (
10
  <div className="grid grid-cols-1 md:grid-cols-3 gap-10 md:gap-8 py-8 md:py-12 px-4 md:px-6 border-y border-border/10 bg-background/5 backdrop-blur-md w-full max-w-5xl mx-auto my-8 md:my-16 rounded-3xl shadow-sm relative z-10">
11
  <div className="flex flex-col items-center justify-center space-y-2 text-center">
12
  <span className="text-4xl md:text-5xl font-extrabold text-foreground flex items-center">
13
  <NumberTicker value={140} />+
14
  </span>
15
+ <span className="text-xs md:text-sm font-semibold text-muted-foreground uppercase tracking-widest">
16
+ {t("pulseMetricModels")}
17
+ </span>
18
  </div>
19
  <div className="flex flex-col items-center justify-center space-y-2 text-center">
20
  <span className="text-4xl md:text-5xl font-extrabold text-primary flex items-center">
21
  <NumberTicker value={99.99} decimalPlaces={2} />%
22
  </span>
23
+ <span className="text-xs md:text-sm font-semibold text-muted-foreground uppercase tracking-widest">
24
+ {t("pulseMetricUptime")}
25
+ </span>
26
  </div>
27
  <div className="flex flex-col items-center justify-center space-y-2 text-center">
28
  <span className="text-4xl md:text-5xl font-extrabold text-foreground flex items-center">
29
+ <NumberTicker value={12} />+
30
+ </span>
31
+ <span className="text-xs md:text-sm font-semibold text-muted-foreground uppercase tracking-widest">
32
+ {t("pulseMetricProviders")}
33
  </span>
 
34
  </div>
35
  </div>
36
  );
components/LLMProviderIconCloud.tsx CHANGED
@@ -65,7 +65,7 @@ const ProviderCard = ({ slug }: { slug: string }) => {
65
 
66
  export function LLMProviderIconCloud() {
67
  return (
68
- <section className="relative mx-auto flex w-full max-w-7xl flex-col items-center gap-14 py-24 overflow-hidden">
69
  <div className="text-center space-y-6 px-4 z-10 relative">
70
  <div className="inline-flex items-center rounded-full border border-primary/20 bg-primary/5 px-4 py-1.5 text-sm font-medium text-primary backdrop-blur-md shadow-sm transition-colors hover:bg-primary/10">
71
  <span className="relative flex h-2 w-2 mr-2.5">
 
65
 
66
  export function LLMProviderIconCloud() {
67
  return (
68
+ <section id="models" className="relative mx-auto flex w-full max-w-7xl flex-col items-center gap-14 py-24 overflow-hidden scroll-mt-24">
69
  <div className="text-center space-y-6 px-4 z-10 relative">
70
  <div className="inline-flex items-center rounded-full border border-primary/20 bg-primary/5 px-4 py-1.5 text-sm font-medium text-primary backdrop-blur-md shadow-sm transition-colors hover:bg-primary/10">
71
  <span className="relative flex h-2 w-2 mr-2.5">
components/ProductVisionNotice.tsx ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use client";
2
+
3
+ import { useLanguage } from "@/components/LanguageContext";
4
+
5
+ export function ProductVisionNotice({ className = "" }: { className?: string }) {
6
+ const { t } = useLanguage();
7
+
8
+ return (
9
+ <div
10
+ className={`w-full max-w-2xl mx-auto text-center mb-6 px-2 pointer-events-none ${className}`}
11
+ >
12
+ <p className="text-xs sm:text-sm font-mono font-bold uppercase tracking-widest text-primary">
13
+ {t("mapVisionLabel")}
14
+ </p>
15
+ <p className="mt-1.5 text-[11px] sm:text-xs font-mono text-muted-foreground leading-relaxed">
16
+ {t("mapVisionDisclaimer")}
17
+ </p>
18
+ </div>
19
+ );
20
+ }
components/TerminalSection.tsx CHANGED
@@ -3,6 +3,7 @@
3
  import { useLanguage } from "@/components/LanguageContext";
4
  import { ErrorBoundary } from "@/components/ui/error-boundary";
5
  import { HubLiveTerminal } from "@/components/HubLiveTerminal";
 
6
 
7
  export function TerminalSection() {
8
  const { t } = useLanguage();
@@ -24,6 +25,7 @@ export function TerminalSection() {
24
  {t("terminalDesc")}
25
  </p>
26
  </div>
 
27
  <ErrorBoundary>
28
  <HubLiveTerminal />
29
  </ErrorBoundary>
 
3
  import { useLanguage } from "@/components/LanguageContext";
4
  import { ErrorBoundary } from "@/components/ui/error-boundary";
5
  import { HubLiveTerminal } from "@/components/HubLiveTerminal";
6
+ import { ProductVisionNotice } from "@/components/ProductVisionNotice";
7
 
8
  export function TerminalSection() {
9
  const { t } = useLanguage();
 
25
  {t("terminalDesc")}
26
  </p>
27
  </div>
28
+ <ProductVisionNotice className="mb-8" />
29
  <ErrorBoundary>
30
  <HubLiveTerminal />
31
  </ErrorBoundary>
components/TestimonialsCarousel.tsx CHANGED
@@ -5,43 +5,21 @@ import { motion, AnimatePresence } from "framer-motion";
5
  import { useLanguage } from "@/components/LanguageContext";
6
  import { Quote, ChevronLeft, ChevronRight, Terminal } from "lucide-react";
7
 
 
 
8
  export function TestimonialsCarousel() {
9
  const { t, language } = useLanguage();
10
  const [activeIndex, setActiveIndex] = useState(0);
11
  const [autoplay, setAutoplay] = useState(true);
12
  const timerRef = useRef<ReturnType<typeof setInterval> | null>(null);
13
 
14
- const testimonials = [
15
- {
16
- textKey: "testimonial1Text" as const,
17
- authorKey: "testimonial1Author" as const,
18
- roleKey: "testimonial1Role" as const,
19
- avatar: "VP",
20
- metrics: "LATENCY: -35% // BILL: -40%",
21
- },
22
- {
23
- textKey: "testimonial2Text" as const,
24
- authorKey: "testimonial2Author" as const,
25
- roleKey: "testimonial2Role" as const,
26
- avatar: "LA",
27
- metrics: "ROUTING OVERHEAD: 12ms",
28
- },
29
- {
30
- textKey: "testimonial3Text" as const,
31
- authorKey: "testimonial3Author" as const,
32
- roleKey: "testimonial3Role" as const,
33
- avatar: "CT",
34
- metrics: "UPTIME: 99.99% // INTEGRATION: 15m",
35
- },
36
- ];
37
-
38
  const handleNext = () => {
39
- setActiveIndex((prev) => (prev + 1) % testimonials.length);
40
  setAutoplay(false);
41
  };
42
 
43
  const handlePrev = () => {
44
- setActiveIndex((prev) => (prev - 1 + testimonials.length) % testimonials.length);
45
  setAutoplay(false);
46
  };
47
 
@@ -49,13 +27,13 @@ export function TestimonialsCarousel() {
49
  if (!autoplay) return;
50
 
51
  timerRef.current = setInterval(() => {
52
- setActiveIndex((prev) => (prev + 1) % testimonials.length);
53
  }, 6000);
54
 
55
  return () => {
56
  if (timerRef.current) clearInterval(timerRef.current);
57
  };
58
- }, [autoplay, testimonials.length]);
59
 
60
  return (
61
  <section className="relative z-10 w-full max-w-5xl mx-auto px-4 md:px-6 py-20 border-t border-border">
@@ -73,7 +51,6 @@ export function TestimonialsCarousel() {
73
  </div>
74
 
75
  <div className="relative w-full max-w-3xl mx-auto min-h-[320px] flex items-center justify-center">
76
- {/* Decorative ambient glow */}
77
  <div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-80 h-80 bg-primary/5 rounded-full blur-[100px] pointer-events-none" />
78
 
79
  <AnimatePresence mode="wait">
@@ -83,51 +60,23 @@ export function TestimonialsCarousel() {
83
  animate={{ opacity: 1, x: 0 }}
84
  exit={{ opacity: 0, x: language === "ar" ? 30 : -30 }}
85
  transition={{ duration: 0.4, ease: "easeOut" }}
86
- className="w-full relative p-8 md:p-12 premium-glass-card rounded-xl shadow-[0_0_30px_rgba(0,0,0,0.3)] overflow-hidden [clip-path:polygon(20px_0,100%_0,100%_calc(100%_-_20px),calc(100%_-_20px)_100%,0_100%,0_20px)] flex flex-col justify-between"
87
  >
88
- {/* Tech Corner Bracket Lines */}
89
  <div className="absolute top-0 left-0 w-6 h-6 border-t border-l border-primary/40" />
90
  <div className="absolute top-0 right-0 w-6 h-6 border-t border-r border-primary/40" />
91
  <div className="absolute bottom-0 left-0 w-6 h-6 border-b border-l border-primary/40" />
92
  <div className="absolute bottom-0 right-0 w-6 h-6 border-b border-r border-primary/40" />
93
 
94
- <div className="space-y-6">
95
- {/* Quote Icon & Metrics */}
96
- <div className="flex justify-between items-center border-b border-border pb-4">
97
- <Quote className="w-8 h-8 text-primary/40" />
98
- <span className="text-[10px] font-mono font-bold tracking-widest text-primary/80 bg-primary/5 border border-primary/20 px-2.5 py-1 rounded">
99
- {testimonials[activeIndex].metrics}
100
- </span>
101
- </div>
102
-
103
- {/* Body text */}
104
- <p className="text-base sm:text-lg text-foreground font-semibold leading-relaxed tracking-wide italic text-start">
105
- “{t(testimonials[activeIndex].textKey)}”
106
- </p>
107
- </div>
108
-
109
- {/* Author Section */}
110
- <div className="flex items-center gap-4 mt-8 pt-6 border-t border-border">
111
- <div className="w-12 h-12 rounded border border-primary/30 bg-primary/10 flex items-center justify-center text-primary font-mono font-bold text-sm shadow-[0_0_10px_var(--primary-glow)]">
112
- {testimonials[activeIndex].avatar}
113
- </div>
114
- <div className="flex flex-col text-start">
115
- <span className="font-bold text-sm text-foreground">
116
- {t(testimonials[activeIndex].authorKey)}
117
- </span>
118
- <span className="text-xs text-muted-foreground font-mono uppercase mt-0.5">
119
- {t(testimonials[activeIndex].roleKey)}
120
- </span>
121
- </div>
122
- </div>
123
  </motion.div>
124
  </AnimatePresence>
125
 
126
- {/* Carousel controls */}
127
  <div className="absolute -bottom-16 left-0 right-0 flex items-center justify-between px-4 sm:px-12 pointer-events-none">
128
- {/* Progress indicators */}
129
  <div className="flex gap-2 pointer-events-auto">
130
- {testimonials.map((_, i) => (
131
  <button
132
  key={i}
133
  onClick={() => {
@@ -144,7 +93,6 @@ export function TestimonialsCarousel() {
144
  ))}
145
  </div>
146
 
147
- {/* Navigation Arrows */}
148
  <div className="flex gap-2.5 pointer-events-auto">
149
  <button
150
  onClick={handlePrev}
 
5
  import { useLanguage } from "@/components/LanguageContext";
6
  import { Quote, ChevronLeft, ChevronRight, Terminal } from "lucide-react";
7
 
8
+ const SLIDE_COUNT = 3;
9
+
10
  export function TestimonialsCarousel() {
11
  const { t, language } = useLanguage();
12
  const [activeIndex, setActiveIndex] = useState(0);
13
  const [autoplay, setAutoplay] = useState(true);
14
  const timerRef = useRef<ReturnType<typeof setInterval> | null>(null);
15
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  const handleNext = () => {
17
+ setActiveIndex((prev) => (prev + 1) % SLIDE_COUNT);
18
  setAutoplay(false);
19
  };
20
 
21
  const handlePrev = () => {
22
+ setActiveIndex((prev) => (prev - 1 + SLIDE_COUNT) % SLIDE_COUNT);
23
  setAutoplay(false);
24
  };
25
 
 
27
  if (!autoplay) return;
28
 
29
  timerRef.current = setInterval(() => {
30
+ setActiveIndex((prev) => (prev + 1) % SLIDE_COUNT);
31
  }, 6000);
32
 
33
  return () => {
34
  if (timerRef.current) clearInterval(timerRef.current);
35
  };
36
+ }, [autoplay]);
37
 
38
  return (
39
  <section className="relative z-10 w-full max-w-5xl mx-auto px-4 md:px-6 py-20 border-t border-border">
 
51
  </div>
52
 
53
  <div className="relative w-full max-w-3xl mx-auto min-h-[320px] flex items-center justify-center">
 
54
  <div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-80 h-80 bg-primary/5 rounded-full blur-[100px] pointer-events-none" />
55
 
56
  <AnimatePresence mode="wait">
 
60
  animate={{ opacity: 1, x: 0 }}
61
  exit={{ opacity: 0, x: language === "ar" ? 30 : -30 }}
62
  transition={{ duration: 0.4, ease: "easeOut" }}
63
+ className="w-full relative p-8 md:p-12 premium-glass-card rounded-xl shadow-[0_0_30px_rgba(0,0,0,0.3)] overflow-hidden [clip-path:polygon(20px_0,100%_0,100%_calc(100%_-_20px),calc(100%_-_20px)_100%,0_100%,0_20px)] flex flex-col items-center justify-center min-h-[240px]"
64
  >
 
65
  <div className="absolute top-0 left-0 w-6 h-6 border-t border-l border-primary/40" />
66
  <div className="absolute top-0 right-0 w-6 h-6 border-t border-r border-primary/40" />
67
  <div className="absolute bottom-0 left-0 w-6 h-6 border-b border-l border-primary/40" />
68
  <div className="absolute bottom-0 right-0 w-6 h-6 border-b border-r border-primary/40" />
69
 
70
+ <Quote className="w-10 h-10 text-primary/40 mb-6" />
71
+ <p className="text-2xl sm:text-3xl font-extrabold tracking-tight text-foreground font-mono uppercase">
72
+ {t("trustedReviewLabel")}
73
+ </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  </motion.div>
75
  </AnimatePresence>
76
 
 
77
  <div className="absolute -bottom-16 left-0 right-0 flex items-center justify-between px-4 sm:px-12 pointer-events-none">
 
78
  <div className="flex gap-2 pointer-events-auto">
79
+ {Array.from({ length: SLIDE_COUNT }).map((_, i) => (
80
  <button
81
  key={i}
82
  onClick={() => {
 
93
  ))}
94
  </div>
95
 
 
96
  <div className="flex gap-2.5 pointer-events-auto">
97
  <button
98
  onClick={handlePrev}
components/hero-section.tsx CHANGED
@@ -6,12 +6,25 @@ import Image from "next/image";
6
  import { WaitlistForm } from "./waitlist-form";
7
  import { DiaTextReveal } from "./ui/dia-text-reveal";
8
  import { AgentParticleCanvas } from "./AgentParticleCanvas";
 
9
  import { useLanguage } from "./LanguageContext";
10
 
11
  export function HeroSection() {
12
  const reducedMotion = useReducedMotion();
13
  const { t } = useLanguage();
14
  const [variant, setVariant] = useState<"classic" | "intelligence">("classic");
 
 
 
 
 
 
 
 
 
 
 
 
15
  const [isDesktop, setIsDesktop] = useState(false);
16
  const [mounted, setMounted] = useState(false);
17
  const [timeStr, setTimeStr] = useState("");
@@ -153,7 +166,7 @@ export function HeroSection() {
153
  <span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-primary opacity-75"></span>
154
  <span className="relative inline-flex rounded-full h-1.5 w-1.5 bg-primary"></span>
155
  </span>
156
- {variant === "classic" ? t("heroBadge") : t("heroBadgeIntel")}
157
  </motion.div>
158
 
159
  <motion.div
@@ -175,20 +188,59 @@ export function HeroSection() {
175
  initial={{ y: 30, opacity: 0 }}
176
  animate={{ y: 0, opacity: 1 }}
177
  transition={{ duration: 0.6, delay: 0.4, ease: "easeOut" }}
178
- className="relative w-full"
179
  >
180
  {/* Decorative vertical blueprint tag */}
181
  <div className="absolute -left-5 rtl:-right-5 rtl:left-auto top-0 bottom-0 w-[2px] bg-primary/20 rounded-full hidden md:block" aria-hidden="true" />
182
- <p className="mt-6 max-w-xl text-sm md:text-base text-muted-foreground leading-relaxed font-mono">
183
- {variant === "classic" ? t("heroSubtitle") : t("heroSubtitleIntel")}
184
  </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
185
  </motion.div>
186
 
 
 
 
 
 
 
 
 
 
187
  <motion.div
188
  initial={{ y: 30, opacity: 0 }}
189
  animate={{ y: 0, opacity: 1 }}
190
  transition={{ duration: 0.6, delay: 0.6, ease: "easeOut" }}
191
- className="mt-10 relative z-30"
 
192
  >
193
  <div className="corner-bracket p-1 rounded-lg">
194
  <div className="corner-bracket-inner" />
 
6
  import { WaitlistForm } from "./waitlist-form";
7
  import { DiaTextReveal } from "./ui/dia-text-reveal";
8
  import { AgentParticleCanvas } from "./AgentParticleCanvas";
9
+ import { ShimmerButton } from "@/components/ui/shimmer-button";
10
  import { useLanguage } from "./LanguageContext";
11
 
12
  export function HeroSection() {
13
  const reducedMotion = useReducedMotion();
14
  const { t } = useLanguage();
15
  const [variant, setVariant] = useState<"classic" | "intelligence">("classic");
16
+
17
+ const scrollToWaitlist = () => {
18
+ const input = document.getElementById("email-input");
19
+ if (input) {
20
+ input.scrollIntoView({ behavior: "smooth", block: "center" });
21
+ setTimeout(() => input.focus(), 850);
22
+ }
23
+ };
24
+
25
+ const scrollToModels = () => {
26
+ document.getElementById("models")?.scrollIntoView({ behavior: "smooth", block: "start" });
27
+ };
28
  const [isDesktop, setIsDesktop] = useState(false);
29
  const [mounted, setMounted] = useState(false);
30
  const [timeStr, setTimeStr] = useState("");
 
166
  <span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-primary opacity-75"></span>
167
  <span className="relative inline-flex rounded-full h-1.5 w-1.5 bg-primary"></span>
168
  </span>
169
+ {t("heroBadge")}
170
  </motion.div>
171
 
172
  <motion.div
 
188
  initial={{ y: 30, opacity: 0 }}
189
  animate={{ y: 0, opacity: 1 }}
190
  transition={{ duration: 0.6, delay: 0.4, ease: "easeOut" }}
191
+ className="relative w-full space-y-4"
192
  >
193
  {/* Decorative vertical blueprint tag */}
194
  <div className="absolute -left-5 rtl:-right-5 rtl:left-auto top-0 bottom-0 w-[2px] bg-primary/20 rounded-full hidden md:block" aria-hidden="true" />
195
+ <p className="mt-6 max-w-xl text-lg md:text-xl font-semibold text-foreground leading-snug tracking-tight">
196
+ {t("heroTagline")}
197
  </p>
198
+ <p className="max-w-xl text-sm md:text-base text-muted-foreground leading-relaxed font-mono">
199
+ {t("heroSubtitle")}
200
+ </p>
201
+ <p className="max-w-xl text-sm md:text-base text-muted-foreground leading-relaxed font-mono">
202
+ {t("heroSubtitleLine2")}
203
+ </p>
204
+ </motion.div>
205
+
206
+ <motion.div
207
+ initial={{ y: 30, opacity: 0 }}
208
+ animate={{ y: 0, opacity: 1 }}
209
+ transition={{ duration: 0.6, delay: 0.5, ease: "easeOut" }}
210
+ className="mt-8 flex flex-col sm:flex-row items-stretch sm:items-center gap-3 relative z-30"
211
+ >
212
+ <ShimmerButton
213
+ type="button"
214
+ onClick={scrollToWaitlist}
215
+ borderRadius="8px"
216
+ className="w-full sm:w-auto h-14 px-8 uppercase font-mono text-xs tracking-[0.2em] font-bold cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary"
217
+ >
218
+ <span className="relative z-10">{t("heroCtaGetKey")}</span>
219
+ </ShimmerButton>
220
+ <button
221
+ type="button"
222
+ onClick={scrollToModels}
223
+ className="w-full sm:w-auto h-14 px-8 uppercase font-mono text-xs tracking-[0.2em] font-bold cursor-pointer border border-border bg-secondary/20 dark:bg-white/5 hover:bg-primary/10 hover:border-primary/40 hover:text-primary transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary [clip-path:polygon(12px_0,100%_0,100%_calc(100%_-_12px),calc(100%_-_12px)_100%,0_100%,0_12px)]"
224
+ >
225
+ {t("heroCtaViewModels")}
226
+ </button>
227
  </motion.div>
228
 
229
+ <motion.p
230
+ initial={{ y: 20, opacity: 0 }}
231
+ animate={{ y: 0, opacity: 1 }}
232
+ transition={{ duration: 0.6, delay: 0.55, ease: "easeOut" }}
233
+ className="mt-6 max-w-xl text-[11px] sm:text-xs text-muted-foreground/90 leading-relaxed font-mono"
234
+ >
235
+ {t("heroFootnote")}
236
+ </motion.p>
237
+
238
  <motion.div
239
  initial={{ y: 30, opacity: 0 }}
240
  animate={{ y: 0, opacity: 1 }}
241
  transition={{ duration: 0.6, delay: 0.6, ease: "easeOut" }}
242
+ id="hero-waitlist"
243
+ className="mt-8 relative z-30 scroll-mt-28"
244
  >
245
  <div className="corner-bracket p-1 rounded-lg">
246
  <div className="corner-bracket-inner" />
lib/languages.ts CHANGED
@@ -9,7 +9,7 @@ export const translations = {
9
  offline: "Offline",
10
  processing: "PROCESSING...",
11
  skipToContent: "Skip to main content",
12
- accessHubapi: "ACCESS_HUBAPI",
13
  loading: "INITIALIZING NEURAL GATEWAY...",
14
  statusConnected: "GATEWAY CONNECTED // SECURE",
15
  statusSecure: "SECURE",
@@ -30,13 +30,21 @@ export const translations = {
30
  joinedWaitlist: "YOU'RE IN THE GRID!",
31
 
32
  // Hero Section
33
- heroBadge: "INTEL_GATEWAY_V1.0 // ACTIVE",
34
- heroBadgeIntel: "NEURAL_ROUTING_OS // SECURED",
35
- heroTitleLine1: "One gateway.",
36
  heroTitleLine2: "Every model.",
37
  heroTitleLine3: "Full control.",
38
- heroSubtitle: "The intelligent API gateway that routes every AI call to the fastest, cheapest model — automatically. Cut your AI costs by 40% with zero code changes.",
39
- heroSubtitleIntel: "Autonomous model routing. Zero friction. Total optimization. The serverless API gateway designed to orchestrate multi-agent pipelines dynamically.",
 
 
 
 
 
 
 
 
40
  waitlistPlaceholder: "name@company.com…",
41
  waitlistAgreement: "// By registering, you agree to receive beta launch notifications and updates.",
42
  gdprConsent: "I agree to the processing of my email under the Privacy Policy.",
@@ -65,15 +73,7 @@ export const translations = {
65
  // Testimonials Section
66
  testimonialsTitle: "What Developers Say",
67
  testimonialsSubtitle: "Early feedback from engineers and teams orchestrating autonomous AI.",
68
- testimonial1Text: "HUBAPI cut our monthly GPT-4 bill from $12K to $7.2K in one afternoon. The automatic fallback saved us during a major API outage last week.",
69
- testimonial1Author: "VP of Engineering",
70
- testimonial1Role: "Enterprise Infrastructure Lead",
71
- testimonial2Text: "An absolute game changer for multi-agent workflows. Dynamic routing reduces latency by 35% by hitting regional models automatically.",
72
- testimonial2Author: "Lead AI Architect",
73
- testimonial2Role: "Multi-Agent System Designer",
74
- testimonial3Text: "Plugs in with one line of code. We migrated our entire enterprise pipeline to the routing mesh without rewriting a single model parser.",
75
- testimonial3Author: "Chief Technology Officer",
76
- testimonial3Role: "Autonomous AI Operations",
77
 
78
  // Security Badges Section
79
  securityTitle: "Enterprise-Grade Security",
@@ -102,6 +102,8 @@ export const translations = {
102
  // Network Topology Map
103
  mapTitle: "Neural Gateway Mesh",
104
  mapSubtitle: "[Live Network Status]",
 
 
105
  mapTotalRequests: "Total Dynamic Requests",
106
  mapTopCountries: "Top Latency Savings",
107
  mapRegionCount: "Active Routing Regions",
@@ -260,7 +262,7 @@ export const translations = {
260
  offline: "غير متصل",
261
  processing: "جاري المعالجة...",
262
  skipToContent: "تجاوز إلى المحتوى الرئيسي",
263
- accessHubapi: "دخول_الشبكة",
264
  loading: "تهيئة بوابات الاتصال العصبية...",
265
  statusConnected: "تم الاتصال بالبوابة العصبية // آمن",
266
  statusSecure: "آمن للغاية",
@@ -281,13 +283,21 @@ export const translations = {
281
  joinedWaitlist: "لقد انضممت للشبكة العصبية!",
282
 
283
  // Hero Section
284
- heroBadge: "بوابة الذكاء العصبية V1.0 // نشط",
285
- heroBadgeIntel: "نظام_التوجيه_العصبي // مؤمن",
286
- heroTitleLine1: "بوابة واحدة.",
287
- heroTitleLine2: "جميع الموديلات.",
288
  heroTitleLine3: "تحكم كامل.",
289
- heroSubtitle: "بوابة الذكاء الاصطناعي الذكية التي توجه كل طلب إلى الموديل الأسرع والأرخص تلقائياً. خفض تكاليف الذكاء الاصطناعي بنسبة 40% دون أي تعديل في الكود الخاص بك.",
290
- heroSubtitleIntel: "توجيه ذاتي للموديلات. صفر احتكاك. كفاءة كاملة. بوابة الـ API السحابية المصممة لإدارة وتنسيق شبكات الوكلاء الذكية ديناميكياً.",
 
 
 
 
 
 
 
 
291
  waitlistPlaceholder: "name@company.com…",
292
  waitlistAgreement: "// بتسجيلك، فإنك توافق على تلقي إشعارات وتحديثات الإطلاق التجريبي.",
293
  gdprConsent: "أوافق على معالجة بريدي الإلكتروني بموجب سياسة الخصوصية.",
@@ -316,15 +326,7 @@ export const translations = {
316
  // Testimonials Section
317
  testimonialsTitle: "ماذا يقول المطورون؟",
318
  testimonialsSubtitle: "آراء مبكرة من المهندسين والفرق التي تبني أنظمة الذكاء الاصطناعي الذاتية.",
319
- testimonial1Text: "وفرت لنا HUBAPI ما يقرب من 40% من تكاليف فواتير GPT-4 شهرياً في فترة بعد ظهر واحدة. كما أن التوجيه الاحتياطي التلقائي أنقذ عملياتنا بالكامل أثناء توقف مزود الخدمة الرئيسي الأسبوع الماضي.",
320
- testimonial1Author: "نائب رئيس الهندسة",
321
- testimonial1Role: "قائد البنية التحتية للمؤسسات",
322
- testimonial2Text: "أداة ثورية لشبكات الوكلاء الذكية. تقنية التوجيه الديناميكي تقلل زمن الاستجابة بمقدار 35% عبر توجيه الطلبات فورياً لأقرب مزود إقليمي.",
323
- testimonial2Author: "كبير مهندسي الذكاء الاصطناعي",
324
- testimonial2Role: "مصمم أنظمة الوكلاء المتعددة",
325
- testimonial3Text: "ربط فوري بسطر كود واحد. قمنا بنقل كامل خطوط بيانات مؤسستنا إلى شبكة التوجيه الذكية دون الحاجة لإعادة كتابة محلل موديل واحد.",
326
- testimonial3Author: "الرئيس التنفيذي للتقنية",
327
- testimonial3Role: "عمليات الذكاء الاصطناعي الذاتية",
328
 
329
  // Security Badges Section
330
  securityTitle: "أمان مخصص للمؤسسات",
@@ -353,6 +355,8 @@ export const translations = {
353
  // Network Topology Map
354
  mapTitle: "شبكة التوجيه العصبية العالمية",
355
  mapSubtitle: "[حالة الاتصال والشبكة الحية]",
 
 
356
  mapTotalRequests: "إجمالي الطلبات الديناميكية",
357
  mapTopCountries: "أعلى توفير في زمن الاستجابة",
358
  mapRegionCount: "مناطق التوجيه النشطة",
 
9
  offline: "Offline",
10
  processing: "PROCESSING...",
11
  skipToContent: "Skip to main content",
12
+ accessHubapi: "Join Private Beta",
13
  loading: "INITIALIZING NEURAL GATEWAY...",
14
  statusConnected: "GATEWAY CONNECTED // SECURE",
15
  statusSecure: "SECURE",
 
30
  joinedWaitlist: "YOU'RE IN THE GRID!",
31
 
32
  // Hero Section
33
+ heroBadge: "ONE_KEY // EVERY_MODEL",
34
+ heroBadgeIntel: "ONE_KEY // EVERY_MODEL",
35
+ heroTitleLine1: "One key.",
36
  heroTitleLine2: "Every model.",
37
  heroTitleLine3: "Full control.",
38
+ heroTagline: "One API key for every model.",
39
+ heroSubtitle: "Reduce cost with model comparison, routing, caching, and fallback.",
40
+ heroSubtitleLine2: "Access OpenAI, Claude, Gemini, Mistral, Llama, DeepSeek, Qwen, Groq, and more through one unified API.",
41
+ heroFootnote: "OpenAI-compatible endpoint. Multi-model access. Unified billing. Developer-first dashboard.",
42
+ heroCtaGetKey: "Get API Key",
43
+ heroCtaViewModels: "View Models",
44
+ heroSubtitleIntel: "Reduce cost with model comparison, routing, caching, and fallback.",
45
+ pulseMetricModels: "Supported Models",
46
+ pulseMetricUptime: "Uptime SLA",
47
+ pulseMetricProviders: "LLM Providers",
48
  waitlistPlaceholder: "name@company.com…",
49
  waitlistAgreement: "// By registering, you agree to receive beta launch notifications and updates.",
50
  gdprConsent: "I agree to the processing of my email under the Privacy Policy.",
 
73
  // Testimonials Section
74
  testimonialsTitle: "What Developers Say",
75
  testimonialsSubtitle: "Early feedback from engineers and teams orchestrating autonomous AI.",
76
+ trustedReviewLabel: "Trusted Review",
 
 
 
 
 
 
 
 
77
 
78
  // Security Badges Section
79
  securityTitle: "Enterprise-Grade Security",
 
102
  // Network Topology Map
103
  mapTitle: "Neural Gateway Mesh",
104
  mapSubtitle: "[Live Network Status]",
105
+ mapVisionLabel: "Product Vision Simulation",
106
+ mapVisionDisclaimer: "Projected interface preview — not live operational data.",
107
  mapTotalRequests: "Total Dynamic Requests",
108
  mapTopCountries: "Top Latency Savings",
109
  mapRegionCount: "Active Routing Regions",
 
262
  offline: "غير متصل",
263
  processing: "جاري المعالجة...",
264
  skipToContent: "تجاوز إلى المحتوى الرئيسي",
265
+ accessHubapi: "انضم إلى البيتا الخاص",
266
  loading: "تهيئة بوابات الاتصال العصبية...",
267
  statusConnected: "تم الاتصال بالبوابة العصبية // آمن",
268
  statusSecure: "آمن للغاية",
 
283
  joinedWaitlist: "لقد انضممت للشبكة العصبية!",
284
 
285
  // Hero Section
286
+ heroBadge: "مفتاح_واحد // كل_النماذج",
287
+ heroBadgeIntel: "مفتاح_واحد // كل_النماذج",
288
+ heroTitleLine1: "مفتاح واحد.",
289
+ heroTitleLine2: "كل نموذج.",
290
  heroTitleLine3: "تحكم كامل.",
291
+ heroTagline: "مفتاح API واحد لكل نموذج.",
292
+ heroSubtitle: "خفّض التكلفة عبر مقارنة النماذج، التوجيه، التخزين المؤقت، والتوجيه الاحتياطي.",
293
+ heroSubtitleLine2: "وصول إلى OpenAI وClaude وGemini وMistral وLlama وDeepSeek وQwen وGroq والمزيد عبر واجهة API موحدة.",
294
+ heroFootnote: "نقطة نهاية متوافقة مع OpenAI. وصول متعدد النماذج. فوترة موحدة. لوحة تحكم للمطورين.",
295
+ heroCtaGetKey: "احصل على مفتاح API",
296
+ heroCtaViewModels: "عرض النماذج",
297
+ heroSubtitleIntel: "خفّض التكلفة عبر مقارنة النماذج، التوجيه، التخزين المؤقت، والتوجيه الاحتياطي.",
298
+ pulseMetricModels: "النماذج المدعومة",
299
+ pulseMetricUptime: "اتفاقية وقت التشغيل",
300
+ pulseMetricProviders: "مزودو LLM",
301
  waitlistPlaceholder: "name@company.com…",
302
  waitlistAgreement: "// بتسجيلك، فإنك توافق على تلقي إشعارات وتحديثات الإطلاق التجريبي.",
303
  gdprConsent: "أوافق على معالجة بريدي الإلكتروني بموجب سياسة الخصوصية.",
 
326
  // Testimonials Section
327
  testimonialsTitle: "ماذا يقول المطورون؟",
328
  testimonialsSubtitle: "آراء مبكرة من المهندسين والفرق التي تبني أنظمة الذكاء الاصطناعي الذاتية.",
329
+ trustedReviewLabel: "مراجعة موثوقة",
 
 
 
 
 
 
 
 
330
 
331
  // Security Badges Section
332
  securityTitle: "أمان مخصص للمؤسسات",
 
355
  // Network Topology Map
356
  mapTitle: "شبكة التوجيه العصبية العالمية",
357
  mapSubtitle: "[حالة الاتصال والشبكة الحية]",
358
+ mapVisionLabel: "محاكاة رؤية المنتج",
359
+ mapVisionDisclaimer: "معاينة واجهة متوقعة — وليست بيانات تشغيل حية.",
360
  mapTotalRequests: "إجمالي الطلبات الديناميكية",
361
  mapTopCountries: "أعلى توفير في زمن الاستجابة",
362
  mapRegionCount: "مناطق التوجيه النشطة",