<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Nexus - Digital Experience Platform</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap" rel="stylesheet">
<style>
:root {
--bg: #050810;
--bg-elevated: #0d1220;
--fg: #e8ecf4;
--muted: #5a6578;
--accent: #00e5a0;
--accent-secondary: #7c3aed;
--card: #0f1629;
--border: #1a2238;
--glow: rgba(0, 229, 160, 0.4);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
}
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
body {
font-family: 'DM Sans', sans-serif;
background-color: var(--bg);
color: var(--fg);
overflow-x: hidden;
line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Space Grotesk', sans-serif;
font-weight: 600;
line-height: 1.1;
}
/* Parallax Container */
.parallax-wrapper {
position: relative;
min-height: 100vh;
perspective: 1000px;
overflow: hidden;
}
/* Floating Orbs - Background Layer */
.orb {
position: absolute;
border-radius: 50%;
filter: blur(80px);
opacity: 0.6;
pointer-events: none;
will-change: transform;
}
.orb-1 {
width: 600px;
height: 600px;
background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
top: -200px;
right: -100px;
}
.orb-2 {
width: 500px;
height: 500px;
background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
bottom: -150px;
left: -100px;
}
.orb-3 {
width: 300px;
height: 300px;
background: radial-gradient(circle, #0ea5e9 0%, transparent 70%);
top: 50%;
left: 30%;
}
/* Grid Pattern */
.grid-pattern {
position: absolute;
inset: 0;
background-image:
linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
background-size: 60px 60px;
mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
pointer-events: none;
}
/* Parallax Layers */
.parallax-layer {
position: absolute;
inset: 0;
will-change: transform;
transition: transform 0.1s ease-out;
}
.layer-deep { --parallax-speed: 0.02; }
.layer-mid { --parallax-speed: 0.05; }
.layer-foreground { --parallax-speed: 0.1; }
/* Floating Elements */
.float-element {
position: absolute;
opacity: 0.8;
will-change: transform;
}
.geo-shape {
border: 1px solid rgba(255,255,255,0.1);
backdrop-filter: blur(4px);
}
/* Navigation */
nav {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 100;
padding: 1rem 2rem;
background: rgba(5, 8, 16, 0.8);
backdrop-filter: blur(20px);
border-bottom: 1px solid var(--border);
transition: all 0.3s ease;
}
nav.scrolled {
padding: 0.75rem 2rem;
background: rgba(5, 8, 16, 0.95);
}
.nav-container {
max-width: 1400px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-family: 'Space Grotesk', sans-serif;
font-size: 1.5rem;
font-weight: 700;
color: var(--fg);
display: flex;
align-items: center;
gap: 0.5rem;
}
.logo-icon {
width: 32px;
height: 32px;
background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
}
.nav-links {
display: flex;
gap: 2.5rem;
list-style: none;
}
.nav-links a {
color: var(--muted);
text-decoration: none;
font-size: 0.9rem;
font-weight: 500;
transition: color 0.2s ease;
position: relative;
}
.nav-links a::after {
content: '';
position: absolute;
bottom: -4px;
left: 0;
width: 0;
height: 2px;
background: var(--accent);
transition: width 0.3s ease;
}
.nav-links a:hover {
color: var(--fg);
}
.nav-links a:hover::after {
width: 100%;
}
/* Hero Section */
.hero {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 8rem 2rem 4rem;
position: relative;
}
.hero-content {
max-width: 900px;
text-align: center;
position: relative;
z-index: 10;
}
.hero-badge {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1rem;
background: var(--accent-dim);
border: 1px solid rgba(0, 229, 160, 0.3);
border-radius: 100px;
font-size: 0.85rem;
color: var(--accent);
margin-bottom: 2rem;
opacity: 0;
transform: translateY(20px);
animation: fadeInUp 0.8s ease forwards;
}
.hero-badge::before {
content: '';
width: 6px;
height: 6px;
background: var(--accent);
border-radius: 50%;
animation: pulse 2s ease infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.5; transform: scale(1.5); }
}
.hero h1 {
font-size: clamp(2.5rem, 8vw, 5.5rem);
font-weight: 700;
letter-spacing: -0.03em;
margin-bottom: 1.5rem;
opacity: 0;
transform: translateY(30px);
animation: fadeInUp 0.8s ease 0.1s forwards;
}
.hero h1 .gradient-text {
background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 50%, #0ea5e9 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero-subtitle {
font-size: clamp(1rem, 2vw, 1.25rem);
color: var(--muted);
max-width: 600px;
margin: 0 auto 2.5rem;
opacity: 0;
transform: translateY(30px);
animation: fadeInUp 0.8s ease 0.2s forwards;
}
.hero-cta {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
opacity: 0;
transform: translateY(30px);
animation: fadeInUp 0.8s ease 0.3s forwards;
}
@keyframes fadeInUp {
to {
opacity: 1;
transform: translateY(0);
}
}
/* Buttons */
.btn {
padding: 0.875rem 2rem;
border-radius: 12px;
font-family: 'Space Grotesk', sans-serif;
font-size: 0.95rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
border: none;
outline: none;
display: inline-flex;
align-items: center;
gap: 0.5rem;
}
.btn:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
.btn-primary {
background: var(--accent);
color: var(--bg);
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 8px 30px var(--glow);
}
.btn-primary:active {
transform: translateY(0);
}
.btn-secondary {
background: transparent;
color: var(--fg);
border: 1px solid var(--border);
}
.btn-secondary:hover {
background: var(--card);
border-color: var(--muted);
}
/* Scroll Indicator */
.scroll-indicator {
position: absolute;
bottom: 2rem;
left: 50%;
transform: translateX(-50%);
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
color: var(--muted);
font-size: 0.75rem;
animation: bounce 2s ease infinite;
}
.scroll-indicator svg {
opacity: 0.5;
}
@keyframes bounce {
0%, 100% { transform: translateX(-50%) translateY(0); }
50% { transform: translateX(-50%) translateY(8px); }
}
/* Features Section */
.features {
padding: 8rem 2rem;
position: relative;
background: var(--bg-elevated);
}
.section-container {
max-width: 1200px;
margin: 0 auto;
}
.section-header {
text-align: center;
margin-bottom: 4rem;
}
.section-label {
font-size: 0.85rem;
font-weight: 600;
color: var(--accent);
text-transform: uppercase;
letter-spacing: 0.1em;
margin-bottom: 1rem;
}
.section-title {
font-size: clamp(2rem, 5vw, 3.5rem);
margin-bottom: 1rem;
}
.section-subtitle {
color: var(--muted);
font-size: 1.1rem;
max-width: 600px;
margin: 0 auto;
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 1.5rem;
}
.feature-card {
background: var(--card);
border: 1px solid var(--border);
border-radius: 20px;
padding: 2rem;
transition: all 0.4s ease;
opacity: 0;
transform: translateY(40px);
position: relative;
overflow: hidden;
}
.feature-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 2px;
background: linear-gradient(90deg, transparent, var(--accent), transparent);
opacity: 0;
transition: opacity 0.3s ease;
}
.feature-card:hover {
transform: translateY(-8px);
border-color: rgba(0, 229, 160, 0.3);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.feature-card:hover::before {
opacity: 1;
}
.feature-card.visible {
opacity: 1;
transform: translateY(0);
}
.feature-icon {
width: 56px;
height: 56px;
background: var(--accent-dim);
border-radius: 14px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1.5rem;
color: var(--accent);
}
.feature-card h3 {
font-size: 1.25rem;
margin-bottom: 0.75rem;
}
.feature-card p {
color: var(--muted);
font-size: 0.95rem;
}
/* Stats Section */
.stats {
padding: 6rem 2rem;
position: relative;
overflow: hidden;
}
.stats-bg {
position: absolute;
inset: 0;
background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
}
.stats-grid {
position: relative;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
max-width: 1000px;
margin: 0 auto;
}
.stat-item {
text-align: center;
padding: 2rem;
opacity: 0;
transform: scale(0.9);
transition: all 0.6s ease;
}
.stat-item.visible {
opacity: 1;
transform: scale(1);
}
.stat-number {
font-family: 'Space Grotesk', sans-serif;
font-size: clamp(2.5rem, 6vw, 4rem);
font-weight: 700;
color: var(--accent);
line-height: 1;
margin-bottom: 0.5rem;
}
.stat-label {
color: var(--muted);
font-size: 0.95rem;
}
/* Showcase Section */
.showcase {
padding: 8rem 2rem;
position: relative;
}
.showcase-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
max-width: 1200px;
margin: 0 auto;
}
@media (max-width: 900px) {
.showcase-content {
grid-template-columns: 1fr;
text-align: center;
}
}
.showcase-text {
opacity: 0;
transform: translateX(-40px);
transition: all 0.8s ease;
}
.showcase-text.visible {
opacity: 1;
transform: translateX(0);
}
.showcase-text h2 {
font-size: clamp(2rem, 4vw, 3rem);
margin-bottom: 1.5rem;
}
.showcase-text p {
color: var(--muted);
margin-bottom: 2rem;
font-size: 1.05rem;
}
.showcase-visual {
position: relative;
opacity: 0;
transform: translateX(40px);
transition: all 0.8s ease 0.2s;
}
.showcase-visual.visible {
opacity: 1;
transform: translateX(0);
}
.device-mockup {
background: var(--card);
border: 1px solid var(--border);
border-radius: 20px;
padding: 1rem;
position: relative;
}
.device-screen {
background: linear-gradient(135deg, #1a1f35 0%, #0d1220 100%);
border-radius: 12px;
aspect-ratio: 16/10;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
position: relative;
}
.device-screen::before {
content: '';
position: absolute;
inset: 0;
background:
radial-gradient(circle at 20% 30%, rgba(0, 229, 160, 0.1) 0%, transparent 40%),
radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.1) 0%, transparent 40%);
}
.mockup-content {
position: relative;
z-index: 1;
text-align: center;
}
.mockup-chart {
display: flex;
align-items: flex-end;
gap: 8px;
height: 80px;
justify-content: center;
}
.chart-bar {
width: 20px;
background: linear-gradient(180deg, var(--accent) 0%, var(--accent-secondary) 100%);
border-radius: 4px 4px 0 0;
animation: chartGrow 1s ease forwards;
transform-origin: bottom;
}
@keyframes chartGrow {
from { transform: scaleY(0); }
to { transform: scaleY(1); }
}
.floating-badge {
position: absolute;
background: var(--card);
border: 1px solid var(--border);
border-radius: 12px;
padding: 0.75rem 1rem;
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.85rem;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
animation: float 3s ease-in-out infinite;
}
.floating-badge.badge-1 {
top: -20px;
right: -20px;
animation-delay: 0s;
}
.floating-badge.badge-2 {
bottom: 40px;
left: -30px;
animation-delay: 1s;
}
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-10px); }
}
.badge-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--accent);
}
/* Testimonials */
.testimonials {
padding: 6rem 2rem;
background: var(--bg-elevated);
}
.testimonial-card {
max-width: 700px;
margin: 0 auto;
text-align: center;
padding: 3rem;
}
.testimonial-quote {
font-size: clamp(1.25rem, 3vw, 1.75rem);
font-weight: 500;
line-height: 1.5;
margin-bottom: 2rem;
font-style: italic;
}
.testimonial-author {
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
}
.author-avatar {
width: 48px;
height: 48px;
border-radius: 50%;
background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
}
.author-info {
text-align: left;
}
.author-name {
font-weight: 600;
}
.author-role {
color: var(--muted);
font-size: 0.9rem;
}
/* CTA Section */
.cta-section {
padding: 8rem 2rem;
text-align: center;
position: relative;
overflow: hidden;
}
.cta-bg {
position: absolute;
inset: 0;
background: radial-gradient(ellipse at center, rgba(0, 229, 160, 0.1) 0%, transparent 60%);
}
.cta-content {
position: relative;
max-width: 600px;
margin: 0 auto;
}
.cta-content h2 {
font-size: clamp(2rem, 5vw, 3rem);
margin-bottom: 1rem;
}
.cta-content p {
color: var(--muted);
margin-bottom: 2rem;
font-size: 1.1rem;
}
/* Footer */
footer {
padding: 4rem 2rem 2rem;
border-top: 1px solid var(--border);
}
.footer-content {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: 2fr repeat(3, 1fr);
gap: 3rem;
}
@media (max-width: 768px) {
.footer-content {
grid-template-columns: 1fr 1fr;
}
}
.footer-brand p {
color: var(--muted);
margin-top: 1rem;
font-size: 0.9rem;
}
.footer-column h4 {
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--muted);
margin-bottom: 1rem;
}
.footer-column ul {
list-style: none;
}
.footer-column li {
margin-bottom: 0.5rem;
}
.footer-column a {
color: var(--fg);
text-decoration: none;
font-size: 0.9rem;
transition: color 0.2s ease;
}
.footer-column a:hover {
color: var(--accent);
}
.footer-bottom {
max-width: 1200px;
margin: 3rem auto 0;
padding-top: 2rem;
border-top: 1px solid var(--border);
display: flex;
justify-content: space-between;
align-items: center;
font-size: 0.85rem;
color: var(--muted);
}
/* Mobile Menu */
.mobile-menu-btn {
display: none;
background: none;
border: none;
color: var(--fg);
cursor: pointer;
padding: 0.5rem;
}
@media (max-width: 768px) {
.mobile-menu-btn {
display: block;
}
.nav-links {
display: none;
position: absolute;
top: 100%;
left: 0;
right: 0;
background: var(--bg);
flex-direction: column;
padding: 1rem 2rem;
gap: 1rem;
border-bottom: 1px solid var(--border);
}
.nav-links.active {
display: flex;
}
}
/* Utility Classes */
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
</style>
</head>
<body>
<!-- Navigation -->
<nav id="navbar" role="navigation" aria-label="Main navigation">
<div class="nav-container">
<a href="#" class="logo" aria-label="Nexus Home">
<div class="logo-icon">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5">
<polygon points="12 2 22 8.5 22 15.5 12 22 2 15.5 2 8.5 12 2"/>
</svg>
</div>
Nexus
</a>
<ul class="nav-links" id="navLinks">
<li><a href="#features">Features</a></li>
<li><a href="#showcase">Platform</a></li>
<li><a href="#testimonials">Testimonials</a></li>
<li><a href="#cta">Get Started</a></li>
</ul>
<button class="mobile-menu-btn" id="mobileMenuBtn" aria-label="Toggle menu" aria-expanded="false">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<line x1="3" y1="6" x2="21" y2="6"/>
<line x1="3" y1="12" x2="21" y2="12"/>
<line x1="3" y1="18" x2="21" y2="18"/>
</svg>
</button>
</div>
</nav>
<!-- Hero Section -->
<section class="parallax-wrapper hero" id="hero">
<!-- Background Elements -->
<div class="orb orb-1" data-parallax="0.03"></div>
<div class="orb orb-2" data-parallax="0.05"></div>
<div class="orb orb-3" data-parallax="0.04"></div>
<div class="grid-pattern" data-parallax="0.02"></div>
<!-- Floating Geometric Elements -->
<div class="float-element geo-shape" style="top: 20%; left: 10%; width: 60px; height: 60px; transform: rotate(45deg);" data-parallax="0.08"></div>
<div class="float-element geo-shape" style="top: 60%; right: 15%; width: 40px; height: 40px; border-radius: 50%;" data-parallax="0.06"></div>
<div class="float-element geo-shape" style="bottom: 25%; left: 20%; width: 80px; height: 80px; transform: rotate(15deg);" data-parallax="0.07"></div>
<div class="float-element geo-shape" style="top: 30%; right: 25%; width: 30px; height: 30px; border-radius: 50%;" data-parallax="0.09"></div>
<!-- Hero Content -->
<div class="hero-content">
<div class="hero-badge">
<span>Now in Public Beta</span>
</div>
<h1>
Build the Future<br>
<span class="gradient-text">Without Limits</span>
</h1>
<p class="hero-subtitle">
A next-generation platform for teams who demand more. Ship faster, scale effortlessly, and create experiences that leave a lasting impression.
</p>
<div class="hero-cta">
<button class="btn btn-primary">
Start Free Trial
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M5 12h14M12 5l7 7-7 7"/>
</svg>
</button>
<button class="btn btn-secondary">
Watch Demo
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polygon points="5 3 19 12 5 21 5 3"/>
</svg>
</button>
</div>
</div>
<!-- Scroll Indicator -->
<div class="scroll-indicator" aria-hidden="true">
<span>Scroll to explore</span>
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M12 5v14M5 12l7 7 7-7"/>
</svg>
</div>
</section>
<!-- Features Section -->
<section class="features" id="features">
<div class="section-container">
<header class="section-header">
<p class="section-label">Features</p>
<h2 class="section-title">Everything You Need</h2>
<p class="section-subtitle">
Powerful tools designed to help you build, deploy, and scale with confidence.
</p>
</header>
<div class="features-grid">
<article class="feature-card" data-reveal>
<div class="feature-icon">
<svg width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M13 2L3 14h9l-1 8 10-12h-9l1-8z"/>
</svg>
</div>
<h3>Lightning Fast</h3>
<p>Optimized for speed with edge computing and smart caching. Your users get instant load times, every time.</p>
</article>
<article class="feature-card" data-reveal>
<div class="feature-icon">
<svg width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<rect x="3" y="3" width="18" height="18" rx="2"/>
<path d="M3 9h18M9 21V9"/>
</svg>
</div>
<h3>Visual Builder</h3>
<p>Drag, drop, and customize without writing code. Create stunning interfaces with our intuitive visual editor.</p>
</article>
<article class="feature-card" data-reveal>
<div class="feature-icon">
<svg width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/>
</svg>
</div>
<h3>Enterprise Security</h3>
<p>SOC 2 Type II certified with end-to-end encryption. Your data is protected by industry-leading protocols.</p>
</article>
<article class="feature-card" data-reveal>
<div class="feature-icon">
<svg width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<circle cx="12" cy="12" r="10"/>
<path d="M12 6v6l4 2"/>
</svg>
</div>
<h3>Real-time Analytics</h3>
<p>Monitor performance, track user behavior, and make data-driven decisions with live dashboards.</p>
</article>
<article class="feature-card" data-reveal>
<div class="feature-icon">
<svg width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"/>
<circle cx="9" cy="7" r="4"/>
<path d="M23 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75"/>
</svg>
</div>
<h3>Team Collaboration</h3>
<p>Work together seamlessly with real-time editing, commenting, and version control built in.</p>
</article>
<article class="feature-card" data-reveal>
<div class="feature-icon">
<svg width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polyline points="22 12 18 12 15 21 9 3 6 12 2 12"/>
</svg>
</div>
<h3>Auto Scaling</h3>
<p>Handle traffic spikes automatically. Our infrastructure scales up and down based on your needs.</p>
</article>
</div>
</div>
</section>
<!-- Stats Section -->
<section class="stats" id="stats">
<div class="stats-bg"></div>
<div class="stats-grid">
<div class="stat-item" data-reveal>
<div class="stat-number" data-count="99.9">0</div>
<div class="stat-label">Uptime Guarantee</div>
</div>
<div class="stat-item" data-reveal>
<div class="stat-number" data-count="50">0</div>
<div class="stat-label">Global Edge Locations</div>
</div>
<div class="stat-item" data-reveal>
<div class="stat-number" data-count="10">0</div>
<div class="stat-label">Million Users Served</div>
</div>
<div class="stat-item" data-reveal>
<div class="stat-number" data-count="500">0</div>
<div class="stat-label">Enterprise Clients</div>
</div>
</div>
</section>
<!-- Showcase Section -->
<section class="showcase" id="showcase">
<div class="showcase-content">
<div class="showcase-text" data-reveal>
<p class="section-label">Platform</p>
<h2>A Dashboard That Thinks Ahead</h2>
<p>
Our intelligent interface adapts to your workflow. Get insights before you need them, automate repetitive tasks, and focus on what matters most — building great products.
</p>
<button class="btn btn-primary">
Explore Platform
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M5 12h14M12 5l7 7-7 7"/>
</svg>
</button>
</div>
<div class="showcase-visual" data-reveal>
<div class="device-mockup">
<div class="device-screen">
<div class="mockup-content">
<div class="mockup-chart">
<div class="chart-bar" style="height: 40%; animation-delay: 0.1s;"></div>
<div class="chart-bar" style="height: 65%; animation-delay: 0.2s;"></div>
<div class="chart-bar" style="height: 45%; animation-delay: 0.3s;"></div>
<div class="chart-bar" style="height: 80%; animation-delay: 0.4s;"></div>
<div class="chart-bar" style="height: 55%; animation-delay: 0.5s;"></div>
<div class="chart-bar" style="height: 90%; animation-delay: 0.6s;"></div>
<div class="chart-bar" style="height: 70%; animation-delay: 0.7s;"></div>
</div>
</div>
</div>
<div class="floating-badge badge-1">
<div class="badge-dot"></div>
<span>Revenue +42%</span>
</div>
<div class="floating-badge badge-2">
<div class="badge-dot" style="background: var(--accent-secondary);"></div>
<span>Tasks Completed</span>
</div>
</div>
</div>
</div>
</section>
<!-- Testimonials -->
<section class="testimonials" id="testimonials">
<div class="section-container">
<header class="section-header">
<p class="section-label">Testimonials</p>
<h2 class="section-title">Loved by Teams Worldwide</h2>
</header>
<div class="testimonial-card" data-reveal>
<blockquote class="testimonial-quote">
"Nexus transformed how our team operates. We shipped our product in half the time, and the performance improvements were immediate. It's not just a tool — it's a competitive advantage."
</blockquote>
<div class="testimonial-author">
<div class="author-avatar">SK</div>
<div class="author-info">
<div class="author-name">Sarah Kim</div>
<div class="author-role">CTO, Velocity Labs</div>
</div>
</div>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="cta-section" id="cta">
<div class="cta-bg"></div>
<div class="cta-content" data-reveal>
<h2>Ready to Get Started?</h2>
<p>Join thousands of teams already building the future with Nexus. Start your free trial today.</p>
<div class="hero-cta">
<button class="btn btn-primary">
Start Free Trial
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M5 12h14M12 5l7 7-7 7"/>
</svg>
</button>
<button class="btn btn-secondary">Contact Sales</button>
</div>
</div>
</section>
<!-- Footer -->
<footer role="contentinfo">
<div class="footer-content">
<div class="footer-brand">
<a href="#" class="logo">
<div class="logo-icon">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5">
<polygon points="12 2 22 8.5 22 15.5 12 22 2 15.5 2 8.5 12 2"/>
</svg>
</div>
Nexus
</a>
<p>Building the future of digital experiences, one pixel at a time.</p>
</div>
<div class="footer-column">
<h4>Product</h4>
<ul>
<li><a href="#">Features</a></li>
<li><a href="#">Pricing</a></li>
<li><a href="#">Integrations</a></li>
<li><a href="#">Changelog</a></li>
</ul>
</div>
<div class="footer-column">
<h4>Company</h4>
<ul>
<li><a href="#">About</a></li>
<li><a href="#">Blog</a></li>
<li><a href="#">Careers</a></li>
<li><a href="#">Press</a></li>
</ul>
</div>
<div class="footer-column">
<h4>Resources</h4>
<ul>
<li><a href="#">Documentation</a></li>
<li><a href="#">Support</a></li>
<li><a href="#">Status</a></li>
<li><a href="#">Security</a></li>
</ul>
</div>
</div>
<div class="footer-bottom">
<span>2024 Nexus Inc. All rights reserved.</span>
<div>
<a href="#" style="color: var(--muted); text-decoration: none; margin-left: 1rem;">Privacy</a>
<a href="#" style="color: var(--muted); text-decoration: none; margin-left: 1rem;">Terms</a>
</div>
</div>
</footer>
<script>
// Initialize state
let mouseX = 0;
let mouseY = 0;
let scrollY = 0;
let rafId = null;
const reducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
// DOM Elements - initialized after DOM is ready
let navbar = null;
let mobileMenuBtn = null;
let navLinks = null;
let parallaxElements = [];
let revealElements = [];
let statNumbers = [];
// Parallax Effect
function updateParallax() {
if (reducedMotion) return;
const centerX = window.innerWidth / 2;
const centerY = window.innerHeight / 2;
const deltaX = (mouseX - centerX) / centerX;
const deltaY = (mouseY - centerY) / centerY;
parallaxElements.forEach(el => {
const speed = parseFloat(el.dataset.parallax) || 0.05;
const x = deltaX * speed * 100;
const y = deltaY * speed * 100 + scrollY * speed;
el.style.transform = `translate3d(${x}px, ${y}px, 0)`;
});
rafId = requestAnimationFrame(updateParallax);
}
// Mouse Move Handler
function handleMouseMove(e) {
mouseX = e.clientX;
mouseY = e.clientY;
}
// Scroll Handler
function handleScroll() {
scrollY = window.pageYOffset;
// Navbar effect
if (navbar) {
if (scrollY > 50) {
navbar.classList.add('scrolled');
} else {
navbar.classList.remove('scrolled');
}
}
}
// Intersection Observer for Reveal Animations
function setupRevealObserver() {
const observerOptions = {
root: null,
rootMargin: '0px',
threshold: 0.15
};
const observer = new IntersectionObserver((entries) => {
entries.forEach((entry, index) => {
if (entry.isIntersecting) {
if (reducedMotion) {
entry.target.classList.add('visible');
} else {
setTimeout(() => {
entry.target.classList.add('visible');
}, index * 100);
}
observer.unobserve(entry.target);
}
});
}, observerOptions);
revealElements.forEach(el => observer.observe(el));
}
// Animated Counter for Stats
function animateCounter(element, target, duration = 2000) {
const start = 0;
const startTime = performance.now();
const isDecimal = target % 1 !== 0;
function update(currentTime) {
const elapsed = currentTime - startTime;
const progress = Math.min(elapsed / duration, 1);
const easeOut = 1 - Math.pow(1 - progress, 3);
const current = start + (target - start) * easeOut;
if (isDecimal) {
element.textContent = current.toFixed(1) + '%';
} else {
element.textContent = Math.floor(current) + '+';
}
if (progress < 1) {
requestAnimationFrame(update);
}
}
requestAnimationFrame(update);
}
// Stats Observer
function setupStatsObserver() {
const statsSection = document.getElementById('stats');
if (!statsSection) return;
const observerOptions = {
root: null,
rootMargin: '0px',
threshold: 0.3
};
let hasAnimated = false;
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting && !hasAnimated) {
hasAnimated = true;
statNumbers.forEach(el => {
const target = parseFloat(el.dataset.count) || 0;
if (!reducedMotion) {
animateCounter(el, target);
} else {
const isDecimal = target % 1 !== 0;
el.textContent = isDecimal ? target.toFixed(1) + '%' : target + '+';
}
});
}
});
}, observerOptions);
observer.observe(statsSection);
}
// Mobile Menu Toggle
function setupMobileMenu() {
if (!mobileMenuBtn || !navLinks) return;
mobileMenuBtn.addEventListener('click', () => {
const isExpanded = mobileMenuBtn.getAttribute('aria-expanded') === 'true';
mobileMenuBtn.setAttribute('aria-expanded', !isExpanded);
navLinks.classList.toggle('active');
});
// Close menu when clicking a link
navLinks.querySelectorAll('a').forEach(link => {
link.addEventListener('click', () => {
navLinks.classList.remove('active');
mobileMenuBtn.setAttribute('aria-expanded', 'false');
});
});
}
// Smooth Scroll for Anchor Links
function setupSmoothScroll() {
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function(e) {
e.preventDefault();
const targetId = this.getAttribute('href');
if (targetId === '#') return;
const target = document.querySelector(targetId);
if (target) {
const offsetTop = target.offsetTop - 80;
window.scrollTo({
top: offsetTop,
behavior: reducedMotion ? 'auto' : 'smooth'
});
}
});
});
}
// Initialize
function init() {
// Initialize DOM references
navbar = document.getElementById('navbar');
mobileMenuBtn = document.getElementById('mobileMenuBtn');
navLinks = document.getElementById('navLinks');
parallaxElements = document.querySelectorAll('[data-parallax]');
revealElements = document.querySelectorAll('[data-reveal]');
statNumbers = document.querySelectorAll('.stat-number');
// Setup event listeners
document.addEventListener('mousemove', handleMouseMove);
window.addEventListener('scroll', handleScroll, { passive: true });
// Setup components
setupMobileMenu();
setupSmoothScroll();
handleScroll();
// Start animations if motion is allowed
if (!reducedMotion) {
updateParallax();
}
// Setup observers
setupRevealObserver();
setupStatsObserver();
}
// Wait for DOM to be ready
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', init);
} else {
init();
}
// Cleanup on page unload
window.addEventListener('beforeunload', () => {
if (rafId) {
cancelAnimationFrame(rafId);
}
});
</script>
</body>
</html>