<!-- Bootstrap 5 CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Google Fonts - Roboto -->
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap" rel="stylesheet">
<!-- Ionicons -->
<script type="module" src="https://unpkg.com/ionicons@7.1.0/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/ionicons@7.1.0/dist/ionicons/ionicons.js"></script>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Roboto', sans-serif;
overflow-x: hidden;
}
/* Navbar Styles */
.navbar {
background: rgba(255, 255, 255, 0.98);
backdrop-filter: blur(10px);
padding: 20px 0;
box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}
.navbar-brand {
font-weight: 700;
font-size: 1.8rem;
color: #6366f1 !important;
display: flex;
align-items: center;
gap: 10px;
}
.navbar-nav .nav-link {
font-weight: 500;
color: #4b5563 !important;
margin: 0 15px;
transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover {
color: #6366f1 !important;
}
.btn-nav {
background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
color: white;
padding: 10px 30px;
border-radius: 50px;
font-weight: 500;
border: none;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-nav:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
color: white;
}
/* Hero Section */
.hero-section {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 90vh;
display: flex;
align-items: center;
position: relative;
overflow: hidden;
}
.hero-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
background-size: 50px 50px;
opacity: 0.3;
}
.hero-content {
position: relative;
z-index: 2;
color: white;
}
.hero-title {
font-size: 3.5rem;
font-weight: 900;
line-height: 1.2;
margin-bottom: 25px;
animation: fadeInUp 1s ease;
}
.hero-subtitle {
font-size: 1.3rem;
font-weight: 300;
margin-bottom: 35px;
line-height: 1.8;
opacity: 0.95;
animation: fadeInUp 1s ease 0.2s both;
}
.btn-primary-cta {
background: white;
color: #6366f1;
padding: 16px 40px;
border-radius: 50px;
font-weight: 600;
font-size: 1.1rem;
border: none;
display: inline-flex;
align-items: center;
gap: 10px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
animation: fadeInUp 1s ease 0.4s both;
}
.btn-primary-cta:hover {
transform: translateY(-3px);
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
color: #6366f1;
}
.btn-secondary-cta {
background: transparent;
color: white;
padding: 16px 40px;
border-radius: 50px;
font-weight: 600;
font-size: 1.1rem;
border: 2px solid white;
display: inline-flex;
align-items: center;
gap: 10px;
transition: all 0.3s ease;
margin-left: 15px;
animation: fadeInUp 1s ease 0.6s both;
}
.btn-secondary-cta:hover {
background: white;
color: #6366f1;
transform: translateY(-3px);
}
.hero-image {
position: relative;
animation: fadeInRight 1s ease 0.8s both;
}
.hero-image img {
width: 100%;
max-width: 550px;
filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}
/* Feature Icons */
.feature-icons {
display: flex;
gap: 40px;
margin-top: 50px;
animation: fadeInUp 1s ease 0.8s both;
}
.feature-item {
display: flex;
align-items: center;
gap: 12px;
color: white;
}
.feature-item ion-icon {
font-size: 28px;
}
.feature-item span {
font-weight: 500;
}
/* Floating Animation */
@keyframes float {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-20px); }
}
.floating {
animation: float 3s ease-in-out infinite;
}
/* Fade In Animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeInRight {
from {
opacity: 0;
transform: translateX(50px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
/* Responsive */
@media (max-width: 768px) {
.hero-title {
font-size: 2.5rem;
}
.hero-subtitle {
font-size: 1.1rem;
}
.btn-secondary-cta {
margin-left: 0;
margin-top: 15px;
}
.feature-icons {
flex-direction: column;
gap: 20px;
}
}
</style>
</head>
<body>
<!-- Navbar -->
<nav class="navbar navbar-expand-lg sticky-top">
<div class="container">
<a class="navbar-brand" href="#">
<ion-icon name="rocket" style="font-size: 32px;"></ion-icon>
BrandName
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ms-auto align-items-center">
<li class="nav-item">
<a class="nav-link" href="#features">Features</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#pricing">Pricing</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#about">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#contact">Contact</a>
</li>
<li class="nav-item">
<button class="btn btn-nav">
Get Started
<ion-icon name="arrow-forward-outline" style="vertical-align: middle;"></ion-icon>
</button>
</li>
</ul>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="hero-section">
<div class="container">
<div class="row align-items-center">
<div class="col-lg-6">
<div class="hero-content">
<h1 class="hero-title">Build Your Digital Future Today</h1>
<p class="hero-subtitle">
Transform your ideas into reality with our powerful platform.
Join thousands of satisfied customers who trust us with their success.
</p>
<div class="cta-buttons">
<button class="btn btn-primary-cta">
Start Free Trial
<ion-icon name="arrow-forward-circle-outline" style="font-size: 24px;"></ion-icon>
</button>
<button class="btn btn-secondary-cta">
<ion-icon name="play-circle-outline" style="font-size: 24px;"></ion-icon>
Watch Demo
</button>
</div>
<div class="feature-icons">
<div class="feature-item">
<ion-icon name="checkmark-circle"></ion-icon>
<span>No credit card required</span>
</div>
<div class="feature-item">
<ion-icon name="shield-checkmark"></ion-icon>
<span>Secure & Reliable</span>
</div>
<div class="feature-item">
<ion-icon name="time"></ion-icon>
<span>24/7 Support</span>
</div>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="hero-image text-center floating">
<svg width="500" height="500" viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg">
<!-- Background Circle -->
<circle cx="250" cy="250" r="200" fill="rgba(255,255,255,0.1)"/>
<!-- Main Device -->
<rect x="150" y="100" width="200" height="300" rx="20" fill="white" opacity="0.95"/>
<!-- Screen -->
<rect x="165" y="130" width="170" height="240" rx="10" fill="#6366f1"/>
<!-- Status Bar -->
<rect x="175" y="145" width="150" height="15" rx="5" fill="rgba(255,255,255,0.3)"/>
<!-- Content Lines -->
<rect x="175" y="180" width="120" height="10" rx="5" fill="rgba(255,255,255,0.5)"/>
<rect x="175" y="200" width="150" height="10" rx="5" fill="rgba(255,255,255,0.5)"/>
<rect x="175" y="220" width="100" height="10" rx="5" fill="rgba(255,255,255,0.5)"/>
<!-- Button -->
<rect x="175" y="260" width="150" height="40" rx="20" fill="white"/>
<!-- Decorative Icons -->
<circle cx="100" cy="150" r="30" fill="rgba(255,255,255,0.2)"/>
<circle cx="400" cy="200" r="40" fill="rgba(255,255,255,0.15)"/>
<circle cx="380" cy="350" r="35" fill="rgba(255,255,255,0.2)"/>
<!-- Small Stars -->
<circle cx="120" cy="300" r="5" fill="rgba(255,255,255,0.4)"/>
<circle cx="90" cy="250" r="5" fill="rgba(255,255,255,0.4)"/>
<circle cx="410" cy="280" r="5" fill="rgba(255,255,255,0.4)"/>
</svg>
</div>
</div>
</div>
</div>
</section>
<!-- Bootstrap 5 JS Bundle -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
No comments yet. Be the first!