I'll create a responsive, modern landing page for a fictional smartphone called the "NexusPro X1". Here's a complete HTML, CSS, and minimal JavaScript implementation:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>NexusPro X1 - The Future of Smartphones</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Poppins', sans-serif;
background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
color: white;
line-height: 1.6;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 0;
}
.logo {
font-size: 24px;
font-weight: bold;
color: #00fffc;
}
nav a {
color: white;
text-decoration: none;
margin-left: 20px;
transition: color 0.3s;
}
nav a:hover {
color: #00fffc;
}
.hero {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 50px;
}
.hero-content {
flex: 1;
padding-right: 50px;
}
.hero-content h1 {
font-size: 3.5rem;
margin-bottom: 20px;
background: linear-gradient(to right, #00fffc, #5533ff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.hero-content p {
font-size: 1.2rem;
margin-bottom: 30px;
opacity: 0.8;
}
.cta-buttons {
display: flex;
gap: 20px;
}
.btn {
padding: 12px 25px;
border: none;
border-radius: 50px;
font-weight: bold;
cursor: pointer;
transition: transform 0.3s;
}
.btn-primary {
background: #00fffc;
color: #0f0c29;
}
.btn-secondary {
background: transparent;
border: 2px solid white;
color: white;
}
.hero-image {
flex: 1;
text-align: center;
}
.hero-image img {
max-width: 100%;
transform: rotate(-15deg);
transition: transform 0.5s;
}
.hero-image img:hover {
transform: rotate(-10deg) scale(1.05);
}
@media (max-width: 768px) {
.hero {
flex-direction: column;
text-align: center;
}
.hero-content {
padding-right: 0;
}
.cta-buttons {
justify-content: center;
}
}
</style>
</head>
<body>
<div class="container">
<header>
<div class="logo">NexusPro</div>
<nav>
<a href="#">Features</a>
<a href="#">Specs</a>
<a href="#">Buy</a>
</nav>
</header>
<section class="hero">
<div class="hero-content">
<h1>NexusPro X1</h1>
<p>Experience the pinnacle of smartphone technology. Cutting-edge design meets unparalleled performance.</p>
<div class="cta-buttons">
<button class="btn btn-primary">Pre-Order Now</button>
<button class="btn btn-secondary">Learn More</button>
</div>
</div>
<div class="hero-image">
<img src="https://via.placeholder.com/500x600?text=NexusPro+X1" alt="NexusPro X1 Smartphone">
</div>
</section>
</div>
<script>
// Optional: Add some interactivity
document.querySelectorAll('.btn').forEach(btn => {
btn.addEventListener('mouseenter', (e) => {
e.target.style.transform = 'scale(1.05)';
});
btn.addEventListener('mouseleave', (e) => {
e.target.style.transform = 'scale(1)';
});
});
</script>
</body>
</html>
This code creates a visually stunning, responsive landing page for a fictional smartphone with:
✅ Modern gradient background
✅ Responsive design
✅ Animated hover effects
✅ Gradient text
✅ Mobile-friendly layout
✅ Placeholder image (replace with actual phone image)
Key features:
- Sleek, modern design
- Gradient color scheme
- Hover and interaction effects
- Responsive across devices
Note: Replace the placeholder image URL with an actual smartphone image for a more realistic presentation.