I'll create a beautiful, modern SaaS landing page with smooth animations for you. Here's a complete example:
html Copy code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CloudFlow - Next-Gen SaaS Platform</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
line-height: 1.6;
color: #333;
overflow-x: hidden;
}
/* Animated Background */
.background {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #f5576c);
background-size: 400% 400%;
animation: gradientShift 15s ease infinite;
z-index: -1;
}
@keyframes gradientShift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
/* Navigation */
nav {
position: fixed;
top: 0;
width: 100%;
padding: 1rem 2rem;
backdrop-filter: blur(10px);
background: rgba(255, 255, 255, 0.1);
z-index: 1000;
transition: all 0.3s ease;
}
.nav-container {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1200px;
margin: 0 auto;
}
.logo {
font-size: 1.5rem;
font-weight: bold;
color: white;
animation: slideInLeft 1s ease;
}
.nav-links {
display: flex;
list-style: none;
gap: 2rem;
}
.nav-links a {
color: white;
text-decoration: none;
transition: all 0.3s ease;
position: relative;
}
.nav-links a:hover {
transform: translateY(-2px);
}
.nav-links a::after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 0;
height: 2px;
background: white;
transition: width 0.3s ease;
}
.nav-links a:hover::after {
width: 100%;
}
.cta-button {
background: rgba(255, 255, 255, 0.2);
color: white;
padding: 0.5rem 1.5rem;
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 25px;
text-decoration: none;
transition: all 0.3s ease;
backdrop-filter: blur(10px);
}
.cta-button:hover {
background: white;
color: #667eea;
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
/* Hero Section */
.hero {
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: white;
position: relative;
}
.hero-content {
max-width: 800px;
padding: 0 2rem;
}
.hero h1 {
font-size: 3.5rem;
margin-bottom: 1rem;
opacity: 0;
animation: fadeInUp 1s ease 0.5s forwards;
}
.hero p {
font-size: 1.2rem;
margin-bottom: 2rem;
opacity: 0;
animation: fadeInUp 1s ease 0.7s forwards;
}
.hero-buttons {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
opacity: 0;
animation: fadeInUp 1s ease 0.9s forwards;
}
.btn-primary {
background: linear-gradient(45deg, #667eea, #764ba2);
color: white;
padding: 1rem 2rem;
border: none;
border-radius: 50px;
font-size: 1.1rem;
cursor: pointer;
text-decoration: none;
display: inline-block;
transition: all 0.3s ease;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.btn-primary:hover {
transform: translateY(-3px);
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}
.btn-secondary {
background: transparent;
color: white;
padding: 1rem 2rem;
border: 2px solid white;
border-radius: 50px;
font-size: 1.1rem;
cursor: pointer;
text-decoration: none;
display: inline-block;
transition: all 0.3s ease;
}
.btn-secondary:hover {
background: white;
color: #667eea;
transform: translateY(-3px);
}
/* Floating elements */
.floating-element {
position: absolute;
opacity: 0.1;
animation: float 6s ease-in-out infinite;
}
.floating-element:nth-child(1) {
top: 20%;
left: 10%;
animation-delay: 0s;
}
.floating-element:nth-child(2) {
top: 60%;
right: 10%;
animation-delay: 2s;
}
.floating-element:nth-child(3) {
bottom: 20%;
left: 20%;
animation-delay: 4s;
}
@keyframes float {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-20px); }
}
/* Features Section */
.features {
padding: 100px 2rem;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
}
.container {
max-width: 1200px;
margin: 0 auto;
}
.section-title {
text-align: center;
font-size: 2.5rem;
margin-bottom: 3rem;
color: #333;
opacity: 0;
transform: translateY(30px);
transition: all 0.6s ease;
}
.section-title.visible {
opacity: 1;
transform: translateY(0);
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-top: 3rem;
}
.feature-card {
background: rgba(255, 255, 255, 0.8);
padding: 2rem;
border-radius: 20px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
text-align: center;
transition: all 0.3s ease;
opacity: 0;
transform: translateY(30px);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
}
.feature-card.visible {
opacity: 1;
transform: translateY(0);
}
.feature-card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}
.feature-icon {
font-size: 3rem;
margin-bottom: 1rem;
background: linear-gradient(45deg, #667eea, #764ba2);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.feature-card h3 {
font-size: 1.5rem;
margin-bottom: 1rem;
color: #333;
}
.feature-card p {
color: #666;
line-height: 1.6;
}
/* Statistics Section */
.stats {
padding: 100px 2rem;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
color: white;
text-align: center;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
max-width: 800px;
margin: 0 auto;
}
.stat-item {
opacity: 0;
transform: scale(0.8);
transition: all 0.6s ease;
}
.stat-item.visible {
opacity: 1;
transform: scale(1);
}
.stat-number {
font-size: 3rem;
font-weight: bold;
margin-bottom: 0.5rem;
}
.stat-label {
font-size: 1.1rem;
opacity: 0.8;
}
/* Animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes slideInLeft {
from {
opacity: 0;
transform: translateX(-30px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
/* Responsive Design */
@media (max-width: 768px) {
.hero h1 {
font-size: 2.5rem;
}
.hero-buttons {
flex-direction: column;
align-items: center;
}
.nav-links {
display: none;
}
.features-grid {
grid-template-columns: 1fr;
}
}
/* Custom cursor */
.cursor {
width: 20px;
height: 20px;
border: 2px solid white;
border-radius: 50%;
position: fixed;
pointer-events: none;
z-index: 9999;
transition: all 0.1s ease;
mix-blend-mode: difference;
}
</style>
</head>
<body>
<div class="background"></div>
<div class="cursor"></div>
<!-- Navigation -->
<nav>
<div class="nav-container">
<div class="logo">CloudFlow</div>
<ul class="nav-links">
<li><a href="#home">Home</a></li>
<li><a href="#features">Features</a></li>
<li><a href="#pricing">Pricing</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
<a href="#" class="cta-button">Get Started</a>
</div>
</nav>
<!-- Hero Section -->
<section class="hero" id="home">
<div class="floating-element">💫</div>
<div class="floating-element">⚡</div>
<div class="floating-element">🚀</div>
<div class="hero-content">
<h1>Transform Your Business with CloudFlow</h1>
<p>The next-generation SaaS platform that streamlines your workflow, boosts productivity, and scales with your business needs.</p>
<div class="hero-buttons">
<a href="#" class="btn-primary">Start Free Trial</a>
<a href="#" class="btn-secondary">Watch Demo</a>
</div>
</div>
</section>
<!-- Features Section -->
<section class="features" id="features">
<div class="container">
<h2 class="section-title">Powerful Features for Modern Teams</h2>
<div class="features-grid">
<div class="feature-card">
<div class="feature-icon">🎯</div>
<h3>Smart Analytics</h3>
<p>Get real-time insights with our advanced analytics dashboard that helps you make data-driven decisions.</p>
</div>
<div class="feature-card">
<div class="feature-icon">🔒</div>
<h3>Enterprise Security</h3>
<p>Bank-grade security with end-to-end encryption, ensuring your data is always protected.</p>
</div>
<div class="feature-card">
<div class="feature-icon">⚡</div>
<h3>Lightning Fast</h3>
<p>Optimized performance with global CDN ensures your applications load instantly anywhere.</p>
</div>
<div class="feature-card">
<div class="feature-icon">🤝</div>
<h3>Team Collaboration</h3>
<p>Seamless collaboration tools that keep your team connected and productive.</p>
</div>
<div class="feature-card">
<div class="feature-icon">📱</div>
<h3>Mobile Ready</h3>
<p>Access your workspace from anywhere with our responsive design and mobile apps.</p>
</div>
<div class="feature-card">
<div class="feature-icon">🔗</div>
<h3>API Integration</h3>
<p>Connect with your favorite tools through our comprehensive API and webhook system.</p>
</div>
</div>
</div>
</section>
<!-- Statistics Section -->
<section class="stats">
<div class="container">
<h2 class="section-title">Trusted by Industry Leaders</h2>
<div class="stats-grid">
<div class="stat-item">
<div class="stat-number" data-target="50000">0</div>
<div class="stat-label">Active Users</div>
</div>
<div class="stat-item">
<div class="stat-number" data-target="99.9">0</div>
<div class="stat-label">% Uptime</div>
</div>
<div class="stat-item">
<div class="stat-number" data-target="500">0</div>
<div class="stat-label">Companies</div>
</div>
<div class="stat-item">
<div class="stat-number" data-target="24">0</div>
<div class="stat-label">Countries</div>
</div>
</div>
</div>
</section>
<script>
// Custom cursor
const cursor = document.querySelector('.cursor');
document.addEventListener('mousemove', e => {
cursor.style.left = e.clientX + 'px';
cursor.style.top = e.clientY + 'px';
});
// Intersection Observer for animations
const observerOptions = {
threshold: 0.1,
rootMargin: '0px 0px -100px 0px'
};
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.classList.add('visible');
}
});
}, observerOptions);
// Observe elements
document.querySelectorAll('.section-title, .feature-card, .stat-item').forEach(el => {
observer.observe(el);
});
// Animated counters
function animateCounter(element) {
const target = parseInt(element.getAttribute('data-target'));
const increment = target / 100;
let current = 0;
const updateCounter = () => {
if (current < target) {
current += increment;
element.textContent = Math.floor(current);
requestAnimationFrame(updateCounter);
} else {
element.textContent = target;
}
};
updateCounter();
}
// Start counters when stats section is visible
const statsObserver = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
const counters = entry.target.querySelectorAll('.stat-number');
counters.forEach(counter => {
animateCounter(counter);
});
statsObserver.unobserve(entry.target);
}
});
});
statsObserver.observe(document.querySelector('.stats'));
// Smooth scrolling
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
const target = document.querySelector(this.getAttribute('href'));
if (target) {
target.scrollIntoView({
behavior: 'smooth'
});
}
});
});
// Navbar background on scroll
window.addEventListener('scroll', () => {
const nav = document.querySelector('nav');
if (window.scrollY > 100) {
nav.style.background = 'rgba(255, 255, 255, 0.95)';
nav.style.color = '#333';
} else {
nav.style.background = 'rgba(255, 255, 255, 0.1)';
}
});
</script>
</body>
</html>
The page is fully functional and includes all modern web design practices. You can customize the colors, content, and animations to match your specific SaaS platform's branding and requirements.