prompt
string | response
string | sys_prompt
string |
|---|---|---|
Create a landing page for gate system block Judi online , with saas style, modern
|
<!DOCTYPE html>
<html lang="en" class="scroll-smooth">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>NetGuard | Advanced Online Gambling Blocking System</title>
<!-- Fonts -->
<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=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
<!-- Tailwind CSS -->
<script src="https://cdn.tailwindcss.com"></script>
<!-- Three.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
<!-- Phosphor Icons -->
<script src="https://unpkg.com/@phosphor-icons/web"></script>
<!-- Tailwind Config -->
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
fontFamily: {
sans: ['"Plus Jakarta Sans"', 'sans-serif'],
},
colors: {
brand: {
50: '#f0f9ff',
100: '#e0f2fe',
500: '#0ea5e9',
600: '#0284c7',
900: '#0c4a6e',
},
dark: {
bg: '#0B0F19',
card: '#151B2B',
border: '#1E293B'
}
},
animation: {
'float': 'float 6s ease-in-out infinite',
'pulse-slow': 'pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite',
},
keyframes: {
float: {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-20px)' },
}
}
}
}
}
</script>
<style>
body {
background-color: #0B0F19;
color: #F8FAFC;
overflow-x: hidden;
}
/* Custom Scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #0B0F19;
}
::-webkit-scrollbar-thumb {
background: #334155;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #475569;
}
/* Glassmorphism Utilities */
.glass {
background: rgba(21, 27, 43, 0.7);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.05);
}
.glass-card {
background: linear-gradient(145deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
border: 1px solid rgba(255, 255, 255, 0.05);
transition: all 0.3s ease;
}
.glass-card:hover {
transform: translateY(-5px);
border-color: rgba(14, 165, 233, 0.3);
box-shadow: 0 20px 40px -10px rgba(14, 165, 233, 0.15);
}
/* Gradient Text */
.text-gradient {
background: linear-gradient(to right, #38bdf8, #818cf8);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
/* 3D Canvas Container */
#canvas-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
z-index: -1;
opacity: 0.6;
pointer-events: none;
}
/* Utilities */
.reveal {
opacity: 0;
transform: translateY(30px);
transition: all 0.8s ease-out;
}
.reveal.active {
opacity: 1;
transform: translateY(0);
}
</style>
</head>
<body class="antialiased selection:bg-brand-500 selection:text-white">
<!-- 3D Background -->
<div id="canvas-container"></div>
<!-- Navigation -->
<nav class="fixed w-full z-50 transition-all duration-300 top-0" id="navbar">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex items-center justify-between h-20">
<!-- Logo -->
<div class="flex-shrink-0 flex items-center gap-2 cursor-pointer">
<div class="w-10 h-10 rounded-xl bg-gradient-to-br from-brand-500 to-indigo-600 flex items-center justify-center shadow-lg shadow-brand-500/20">
<i class="ph ph-shield-check text-white text-2xl"></i>
</div>
<span class="font-bold text-xl tracking-tight text-white">NetGuard</span>
</div>
<!-- Desktop Menu -->
<div class="hidden md:block">
<div class="ml-10 flex items-baseline space-x-8">
<a href="#features" class="text-slate-300 hover:text-white transition-colors text-sm font-medium">Features</a>
<a href="#how-it-works" class="text-slate-300 hover:text-white transition-colors text-sm font-medium">How it Works</a>
<a href="#pricing" class="text-slate-300 hover:text-white transition-colors text-sm font-medium">Pricing</a>
<a href="#faq" class="text-slate-300 hover:text-white transition-colors text-sm font-medium">FAQ</a>
</div>
</div>
<!-- CTA Button -->
<div class="hidden md:block">
<a href="#" class="bg-white text-dark-bg px-6 py-2.5 rounded-full text-sm font-bold hover:bg-brand-50 transition-all shadow-lg shadow-white/10 hover:shadow-brand-500/20 transform hover:-translate-y-0.5">
Get Started
</a>
</div>
<!-- Mobile menu button -->
<div class="-mr-2 flex md:hidden">
<button type="button" onclick="toggleMobileMenu()" class="inline-flex items-center justify-center p-2 rounded-md text-slate-400 hover:text-white hover:bg-white/10 focus:outline-none">
<i class="ph ph-list text-2xl"></i>
</button>
</div>
</div>
</div>
<!-- Mobile Menu -->
<div class="md:hidden hidden glass border-t border-white/5 absolute w-full" id="mobile-menu">
<div class="px-2 pt-2 pb-3 space-y-1 sm:px-3">
<a href="#features" class="text-slate-300 hover:text-white block px-3 py-2 rounded-md text-base font-medium">Features</a>
<a href="#how-it-works" class="text-slate-300 hover:text-white block px-3 py-2 rounded-md text-base font-medium">How it Works</a>
<a href="#pricing" class="text-slate-300 hover:text-white block px-3 py-2 rounded-md text-base font-medium">Pricing</a>
<a href="#" class="text-brand-400 font-bold block px-3 py-2 rounded-md text-base">Get Started Now</a>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="relative pt-32 pb-20 lg:pt-48 lg:pb-32 overflow-hidden">
<!-- Glow Effect -->
<div class="absolute top-0 left-1/2 -translate-x-1/2 w-[800px] h-[500px] bg-brand-500/20 rounded-full blur-[120px] -z-10 pointer-events-none"></div>
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
<div class="inline-flex items-center gap-2 px-4 py-2 rounded-full glass border border-brand-500/30 mb-8 animate-float">
<span class="relative flex h-3 w-3">
<span class="animate-ping absolute inline-flex h-full w-full rounded-full bg-green-400 opacity-75"></span>
<span class="relative inline-flex rounded-full h-3 w-3 bg-green-500"></span>
</span>
<span class="text-sm font-medium text-brand-100">System Active: Blocking 50k+ Threats</span>
</div>
<h1 class="text-5xl md:text-7xl font-extrabold tracking-tight mb-6 leading-tight">
Secure Your Network from <br />
<span class="text-gradient">Online Gambling</span>
</h1>
<p class="mt-4 max-w-2xl mx-auto text-xl text-slate-400 mb-10">
The enterprise-grade gate system designed to filter and block unauthorized judi online sites. Protect your family, employees, and compliance standards instantly.
</p>
<div class="flex flex-col sm:flex-row items-center justify-center gap-4">
<button class="w-full sm:w-auto px-8 py-4 bg-brand-600 hover:bg-brand-500 text-white rounded-full font-bold text-lg transition-all shadow-lg shadow-brand-600/30 hover:shadow-brand-600/50 flex items-center justify-center gap-2">
Start Free Trial <i class="ph-bold ph-arrow-right"></i>
</button>
<button class="w-full sm:w-auto px-8 py-4 glass text-white hover:bg-white/10 rounded-full font-bold text-lg transition-all flex items-center justify-center gap-2">
<i class="ph-fill ph-play-circle text-xl"></i> Watch Demo
</button>
</div>
<!-- Dashboard Preview Mockup -->
<div class="mt-20 relative mx-auto max-w-5xl reveal">
<div class="absolute -inset-1 bg-gradient-to-r from-brand-500 to-indigo-600 rounded-2xl blur opacity-30"></div>
<div class="relative glass rounded-xl border border-white/10 p-2 overflow-hidden">
<div class="bg-dark-bg rounded-lg overflow-hidden aspect-[16/9] flex flex-col">
<!-- Fake Browser Header -->
<div class="h-10 border-b border-white/5 flex items-center px-4 gap-2">
<div class="w-3 h-3 rounded-full bg-red-500/50"></div>
<div class="w-3 h-3 rounded-full bg-yellow-500/50"></div>
<div class="w-3 h-3 rounded-full bg-green-500/50"></div>
<div class="ml-4 h-6 w-1/3 bg-white/5 rounded-md text-xs flex items-center px-2 text-slate-500">dashboard.netguard.io</div>
</div>
<!-- Fake Dashboard Content -->
<div class="flex-1 p-6 grid grid-cols-12 gap-6">
<!-- Sidebar -->
<div class="col-span-2 hidden md:flex flex-col gap-4">
<div class="h-8 w-24 bg-white/10 rounded"></div>
<div class="h-4 w-full bg-white/5 rounded mt-4"></div>
<div class="h-4 w-3/4 bg-white/5 rounded"></div>
<div class="h-4 w-5/6 bg-white/5 rounded"></div>
</div>
<!-- Main Content -->
<div class="col-span-12 md:col-span-10 grid grid-cols-1 md:grid-cols-3 gap-6">
<!-- Stats Card 1 -->
<div class="bg-dark-card p-4 rounded-lg border border-white/5">
<div class="h-4 w-20 bg-brand-500/20 rounded mb-2"></div>
<div class="h-8 w-16 bg-white/10 rounded"></div>
<div class="mt-4 h-12 w-full bg-white/5 rounded"></div>
</div>
<!-- Stats Card 2 -->
<div class="bg-dark-card p-4 rounded-lg border border-white/5">
<div class="h-4 w-20 bg-green-500/20 rounded mb-2"></div>
<div class="h-8 w-16 bg-white/10 rounded"></div>
<div class="mt-4 h-12 w-full bg-white/5 rounded"></div>
</div>
<!-- Graph Area -->
<div class="col-span-1 md:col-span-2 bg-dark-card p-4 rounded-lg border border-white/5 relative overflow-hidden">
<div class="absolute bottom-0 left-0 right-0 h-24 bg-gradient-to-t from-brand-500/10 to-transparent"></div>
<div class="flex items-end gap-2 h-32 mt-8">
<div class="w-full bg-brand-500/20 h-[40%] rounded-t"></div>
<div class="w-full bg-brand-500/30 h-[60%] rounded-t"></div>
<div class="w-full bg-brand-500/40 h-[30%] rounded-t"></div>
<div class="w-full bg-brand-500/50 h-[80%] rounded-t"></div>
<div class="w-full bg-brand-500/60 h-[50%] rounded-t"></div>
<div class="w-full bg-brand-500 h-[90%] rounded-t shadow-[0_0_15px_rgba(14,165,233,0.5)]"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Trusted By -->
<section class="border-y border-white/5 bg-white/[0.02]">
<div class="max-w-7xl mx-auto px-4 py-10 sm:px-6 lg:px-8">
<p class="text-center text-sm font-semibold text-slate-500 uppercase tracking-wider mb-6">Trusted by security teams worldwide</p>
<div class="flex flex-wrap justify-center gap-8 md:gap-16 opacity-50 grayscale hover:grayscale-0 transition-all duration-500">
<!-- Simple SVG Placeholders for Logos -->
<div class="flex items-center gap-2 text-xl font-bold text-slate-300"><i class="ph-fill ph-shield-check"></i> CorpSecure</div>
<div class="flex items-center gap-2 text-xl font-bold text-slate-300"><i class="ph-fill ph-globe"></i> NetSafe</div>
<div class="flex items-center gap-2 text-xl font-bold text-slate-300"><i class="ph-fill ph-buildings"></i> TechFlow</div>
<div class="flex items-center gap-2 text-xl font-bold text-slate-300"><i class="ph-fill ph-lock-key"></i> LockInc</div>
</div>
</div>
</section>
<!-- Features Section -->
<section id="features" class="py-24 relative">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center max-w-3xl mx-auto mb-16 reveal">
<h2 class="text-brand-400 font-semibold tracking-wide uppercase text-sm mb-2">Why NetGuard?</h2>
<h3 class="text-3xl md:text-5xl font-bold text-white mb-4">Intelligent Blocking Technology</h3>
<p class="text-slate-400 text-lg">We use advanced AI and DNS-level filtering to identify and block access to online gambling platforms before they load.</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<!-- Feature 1 -->
<div class="glass-card p-8 rounded-2xl reveal">
<div class="w-14 h-14 rounded-lg bg-blue-500/10 flex items-center justify-center mb-6 text-blue-400">
<i class="ph ph-radar text-3xl"></i>
</div>
<h4 class="text-xl font-bold text-white mb-3">Real-Time Detection</h4>
<p class="text-slate-400 leading-relaxed">Our system scans the web 24/7 to identify new gambling domains, updating our blocklist instantly without manual intervention.</p>
</div>
<!-- Feature 2 -->
<div class="glass-card p-8 rounded-2xl reveal" style="transition-delay: 100ms;">
<div class="w-14 h-14 rounded-lg bg-purple-500/10 flex items-center justify-center mb-6 text-purple-400">
<i class="ph ph-lockers text-3xl"></i>
</div>
<h4 class="text-xl font-bold text-white mb-3">DNS Level Filtering</h4>
<p class="text-slate-400 leading-relaxed">Block requests at the DNS level. This ensures that gambling sites cannot load images, scripts, or trackers, saving bandwidth.</p>
</div>
<!-- Feature 3 -->
<div class="glass-card p-8 rounded-2xl reveal" style="transition-delay: 200ms;">
<div class="w-14 h-14 rounded-lg bg-emerald-500/10 flex items-center justify-center mb-6 text-emerald-400">
<i class="ph ph-chart-line-up text-3xl"></i>
</div>
<h4 class="text-xl font-bold text-white mb-3">Deep Analytics</h4>
<p class="text-slate-400 leading-relaxed">Gain insights into network traffic. View detailed reports on blocked attempts, peak usage times, and potential security risks.</p>
</div>
<!-- Feature 4 -->
<div class="glass-card p-8 rounded-2xl reveal">
<div class="w-14 h-14 rounded-lg bg-orange-500/10 flex items-center justify-center mb-6 text-orange-400">
<i class="ph ph-users-three text-3xl"></i>
</div>
<h4 class="text-xl font-bold text-white mb-3">User Profiles</h4>
<p class="text-slate-400 leading-relaxed">Create specific profiles for different users. Apply strict filters to children while maintaining open access for administrators.</p>
</div>
<!-- Feature 5 -->
<div class="glass-card p-8 rounded-2xl reveal" style="transition-delay: 100ms;">
<div class="w-14 h-14 rounded-lg bg-pink-500/10 flex items-center justify-center mb-6 text-pink-400">
<i class="ph ph-device-mobile text-3xl"></i>
</div>
<h4 class="text-xl font-bold text-white mb-3">Cross-Platform Support</h4>
<p class="text-slate-400 leading-relaxed">Protects all devices connected to your network. Phones, tablets, laptops, and smart TVs are automatically secured.</p>
</div>
<!-- Feature 6 -->
<div class="glass-card p-8 rounded-2xl reveal" style="transition-delay: 200ms;">
<div class="w-14 h-14 rounded-lg bg-cyan-500/10 flex items-center justify-center mb-6 text-cyan-400">
<i class="ph ph-globe-hemisphere-west text-3xl"></i>
</div>
<h4 class="text-xl font-bold text-white mb-3">Global Database</h4>
<p class="text-slate-400 leading-relaxed">Access to a massive database of millions of known gambling URLs, including international sites and proxy servers.</p>
</div>
</div>
</div>
</section>
<!-- Stats Section -->
<section class="py-20 border-y border-white/5 bg-brand-900/10">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid grid-cols-2 md:grid-cols-4 gap-8 text-center">
<div class="reveal">
<div class="text-4xl md:text-5xl font-bold text-white mb-2">5M+</div>
<div class="text-brand-400 font-medium">Sites Blocked</div>
</div>
<div class="reveal" style="transition-delay: 100ms;">
<div class="text-4xl md:text-5xl font-bold text-white mb-2">99.9%</div>
<div class="text-brand-400 font-medium">Uptime</div>
</div>
<div class="reveal" style="transition-delay: 200ms;">
<div class="text-4xl md:text-5xl font-bold text-white mb-2">10k+</div>
<div class="text-brand-400 font-medium">Networks Protected</div>
</div>
<div class="reveal" style="transition-delay: 300ms;">
<div class="text-4xl md:text-5xl font-bold text-white mb-2"><50ms</div>
<div class="text-brand-400 font-medium">Latency</div>
</div>
</div>
</div>
</section>
<!-- How It Works -->
<section id="how-it-works" class="py-24">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16 reveal">
<h3 class="text-3xl md:text-5xl font-bold text-white mb-4">Seamless Integration</h3>
<p class="text-slate-400 text-lg">Get your network protected in three simple steps.</p>
</div>
<div class="relative">
<!-- Connecting Line (Desktop) -->
<div class="hidden md:block absolute top-1/2 left-0 w-full h-0.5 bg-gradient-to-r from-transparent via-brand-500 to-transparent -translate-y-1/2 z-0"></div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-12 relative z-10">
<!-- Step 1 -->
<div class="bg-dark-bg p-8 rounded-2xl border border-white/5 text-center reveal hover:border-brand-500/30 transition-colors">
<div class="w-16 h-16 rounded-full bg-dark-bg border-4 border-brand-500 flex items-center justify-center mx-auto mb-6 text-2xl font-bold text-white shadow-lg shadow-brand-500/20">1</div>
<h4 class="text-xl font-bold text-white mb-3">Create Account</h4>
<p class="text-slate-400">Sign up in seconds and choose the protection plan that fits your needs.</p>
</div>
<!-- Step 2 -->
<div class="bg-dark-bg p-8 rounded-2xl border border-white/5 text-center reveal hover:border-brand-500/30 transition-colors" style="transition-delay: 150ms;">
<div class="w-16 h-16 rounded-full bg-dark-bg border-4 border-brand-500 flex items-center justify-center mx-auto mb-6 text-2xl font-bold text-white shadow-lg shadow-brand-500/20">2</div>
<h4 class="text-xl font-bold text-white mb-3">Configure DNS</h4>
<p class="text-slate-400">Update your router's DNS settings with our secure gateway addresses provided in the dashboard.</p>
</div>
<!-- Step 3 -->
<div class="bg-dark-bg p-8 rounded-2xl border border-white/5 text-center reveal hover:border-brand-500/30 transition-colors" style="transition-delay: 300ms;">
<div class="w-16 h-16 rounded-full bg-dark-bg border-4 border-brand-500 flex items-center justify-center mx-auto mb-6 text-2xl font-bold text-white shadow-lg shadow-brand-500/20">3</div>
<h4 class="text-xl font-bold text-white mb-3">You're Protected</h4>
<p class="text-slate-400">Instantly block gambling sites. Monitor activity and relax knowing your network is safe.</p>
</div>
</div>
</div>
</div>
</section>
<!-- Pricing Section -->
<section id="pricing" class="py-24 relative overflow-hidden">
<!-- Decoration -->
<div class="absolute top-1/2 right-0 w-[500px] h-[500px] bg-indigo-600/10 rounded-full blur-[100px] -z-10 pointer-events-none"></div>
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center max-w-3xl mx-auto mb-16 reveal">
<h3 class="text-3xl md:text-5xl font-bold text-white mb-4">Simple, Transparent Pricing</h3>
<p class="text-slate-400 text-lg">Choose the plan that fits your scale. No hidden fees.</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8 items-center">
<!-- Starter Plan -->
<div class="glass-card p-8 rounded-2xl reveal">
<h4 class="text-lg font-medium text-slate-300">Home</h4>
<div class="mt-4 flex items-baseline text-white">
<span class="text-4xl font-bold tracking-tight">$9</span>
<span class="ml-1 text-xl font-semibold text-slate-500">/mo</span>
</div>
<p class="mt-4 text-slate-400 text-sm">Perfect for families and small home networks.</p>
<ul class="mt-6 space-y-4">
<li class="flex items-center text-slate-300"><i class="ph-fill ph-check-circle text-brand-500 mr-3"></i> Up to 10 Devices</li>
<li class="flex items-center text-slate-300"><i class="ph-fill ph-check-circle text-brand-500 mr-3"></i> Standard Filtering</li>
<li class="flex items-center text-slate-300"><i class="ph-fill ph-check-circle text-brand-500 mr-3"></i> Weekly Reports</li>
</ul>
<button class="mt-8 w-full block bg-white/5 hover:bg-white/10 text-white font-bold py-3 px-4 rounded-xl transition-all border border-white/10">Get Started</button>
</div>
<!-- Pro Plan (Highlighted) -->
<div class="glass-card p-8 rounded-2xl relative border-brand-500/50 transform scale-105 z-10 reveal" style="transition-delay: 100ms;">
<div class="absolute top-0 right-0 -mt-3 -mr-3 bg-gradient-to-r from-brand-500 to-indigo-500 text-white text-xs font-bold px-3 py-1 rounded-full shadow-lg">POPULAR</div>
<h4 class="text-lg font-medium text-brand-400">Business</h4>
<div class="mt-4 flex items-baseline text-white">
<span class="text-5xl font-bold tracking-tight">$49</span>
<span class="ml-1 text-xl font-semibold text-slate-500">/mo</span>
</div>
<p class="mt-4 text-slate-400 text-sm">For SMEs requiring compliance and control.</p>
<ul class="mt-6 space-y-4">
<li class="flex items-center text-white"><i class="ph-fill ph-check-circle text-brand-500 mr-3"></i> Unlimited Devices</li>
<li class="flex items-center text-white"><i class="ph-fill ph-check-circle text-brand-500 mr-3"></i> AI Heuristics Detection</li>
<li class="flex items-center text-white"><i class="ph-fill ph-check-circle text-brand-500 mr-3"></i> Real-time Dashboard</li>
<li class="flex items-center text-white"><i class="ph-fill ph-check-circle text-brand-500 mr-3"></i> Priority Support</li>
</ul>
<button class="mt-8 w-full block bg-brand-600 hover:bg-brand-500 text-white font-bold py-3 px-4 rounded-xl transition-all shadow-lg shadow-brand-600/30">Start Free Trial</button>
</div>
<!-- Enterprise Plan -->
<div class="glass-card p-8 rounded-2xl reveal" style="transition-delay: 200ms;">
<h4 class="text-lg font-medium text-slate-300">Enterprise</h4>
<div class="mt-4 flex items-baseline text-white">
<span class="text-4xl font-bold tracking-tight">Custom</span>
</div>
<p class="mt-4 text-slate-400 text-sm">For ISPs and large organizations.</p>
<ul class="mt-6 space-y-4">
<li class="flex items-center text-slate-300"><i class="ph-fill ph-check-circle text-brand-500 mr-3"></i> API Access</li>
<li class="flex items-center text-slate-300"><i class="ph-fill ph-check-circle text-brand-500 mr-3"></i> Custom Whitelists</li>
<li class="flex items-center text-slate-300"><i class="ph-fill ph-check-circle text-brand-500 mr-3"></i> Dedicated Account Manager</li>
</ul>
<button class="mt-8 w-full block bg-white/5 hover:bg-white/10 text-white font-bold py-3 px-4 rounded-xl transition-all border border-white/10">Contact Sales</button>
</div>
</div>
</div>
</section>
<!-- FAQ Section -->
<section id="faq" class="py-24 bg-black/20">
<div class="max-w-3xl mx-auto px-4 sm:px-6 lg:px-8">
<h3 class="text-3xl font-bold text-white text-center mb-12 reveal">Frequently Asked Questions</h3>
<div class="space-y-4">
<div class="glass rounded-xl overflow-hidden reveal">
<button class="w-full px-6 py-4 text-left flex justify-between items-center focus:outline-none" onclick="toggleFaq(this)">
<span class="font-medium text-white">Can I bypass the block if I need to?</span>
<i class="ph ph-caret-down text-slate-400 transition-transform"></i>
</button>
<div class="px-6 pb-4 hidden text-slate-400">
Yes, administrators with the master password can temporarily whitelist specific domains or bypass the filter for maintenance purposes.
</div>
</div>
<div class="glass rounded-xl overflow-hidden reveal">
<button class="w-full px-6 py-4 text-left flex justify-between items-center focus:outline-none" onclick="toggleFaq(this)">
<span class="font-medium text-white">Does this slow down my internet?</span>
<i class="ph ph-caret-down text-slate-400 transition-transform"></i>
</button>
<div class="px-6 pb-4 hidden text-slate-400">
No. Our DNS servers are highly optimized and distributed globally. Most users experience a latency of less than 50ms, which is imperceptible for browsing.
</div>
</div>
<div class="glass rounded-xl overflow-hidden reveal">
<button class="w-full px-6 py-4 text-left flex justify-between items-center focus:outline-none" onclick="toggleFaq(this)">
<span class="font-medium text-white">Does it block VPNs and Proxies?</span>
<i class="ph ph-caret-down text-slate-400 transition-transform"></i>
</button>
<div class="px-6 pb-4 hidden text-slate-400">
Our Business and Enterprise plans include advanced features that detect and block known VPN and proxy services often used to circumvent filters.
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="border-t border-white/10 bg-dark-bg pt-16 pb-8">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid grid-cols-2 md:grid-cols-4 gap-8 mb-12">
<div class="col-span-2 md:col-span-1">
<div class="flex items-center gap-2 mb-4">
<div class="w-8 h-8 rounded-lg bg-brand-600 flex items-center justify-center">
<i class="ph ph-shield-check text-white text-lg"></i>
</div>
<span class="font-bold text-lg text-white">NetGuard</span>
</div>
<p class="text-slate-500 text-sm">Making the internet safer, one block at a time.</p>
</div>
<div>
<h4 class="text-white font-bold mb-4">Product</h4>
<ul class="space-y-2 text-sm text-slate-400">
<li><a href="#" class="hover:text-brand-400">Features</a></li>
<li><a href="#" class="hover:text-brand-400">Pricing</a></li>
<li><a href="#" class="hover:text-brand-400">API</a></li>
</ul>
</div>
<div>
<h4 class="text-white font-bold mb-4">Company</h4>
<ul class="space-y-2 text-sm text-slate-400">
<li><a href="#" class="hover:text-brand-400">About</a></li>
<li><a href="#" class="hover:text-brand-400">Blog</a></li>
<li><a href="#" class="hover:text-brand-400">Careers</a></li>
</ul>
</div>
<div>
<h4 class="text-white font-bold mb-4">Legal</h4>
<ul class="space-y-2 text-sm text-slate-400">
<li><a href="#" class="hover:text-brand-400">Privacy</a></li>
<li><a href="#" class="hover:text-brand-400">Terms</a></li>
</ul>
</div>
</div>
<div class="border-t border-white/5 pt-8 flex flex-col md:flex-row justify-between items-center gap-4">
<p class="text-slate-600 text-sm">© 2024 NetGuard Inc. All rights reserved.</p>
<div class="flex space-x-6">
<a href="#" class="text-slate-500 hover:text-white transition-colors"><i class="ph-fill ph-twitter-logo text-xl"></i></a>
<a href="#" class="text-slate-500 hover:text-white transition-colors"><i class="ph-fill ph-github-logo text-xl"></i></a>
<a href="#" class="text-slate-500 hover:text-white transition-colors"><i class="ph-fill ph-linkedin-logo text-xl"></i></a>
</div>
</div>
</div>
</footer>
<!-- Scripts -->
<script>
// --- 1. Three.js Background Animation (Network/Constellation Effect) ---
const initThreeJS = () => {
const container = document.getElementById('canvas-container');
const scene = new THREE.Scene();
// Camera setup
const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000);
camera.position.z = 30;
// Renderer setup
const renderer = new THREE.WebGLRenderer({ alpha: true, antialias: true });
renderer.setSize(window.innerWidth, window.innerHeight);
renderer.setPixelRatio(window.devicePixelRatio);
container.appendChild(renderer.domElement);
// Particles
const particlesGeometry = new THREE.BufferGeometry();
const particlesCount = 700;
const posArray = new Float32Array(particlesCount * 3);
for(let i = 0; i < particlesCount * 3; i++) {
// Spread particles across a wide area
posArray[i] = (Math.random() - 0.5) * 80;
}
particlesGeometry.setAttribute('position', new THREE.BufferAttribute(posArray, 3));
// Material
const material = new THREE.PointsMaterial({
size: 0.15,
color: 0x0ea5e9, // Brand color
transparent: true,
opacity: 0.8,
});
// Mesh
const particlesMesh = new THREE.Points(particlesGeometry, material);
scene.add(particlesMesh);
// Lines connecting particles (Network effect)
// Note: For performance, we won't calculate lines between all points every frame in JS.
// Instead, we'll create a secondary static wireframe object that rotates.
const geometryWire = new THREE.IcosahedronGeometry(15, 1);
const materialWire = new THREE.MeshBasicMaterial({
color: 0x6366f1,
wireframe: true,
transparent: true,
opacity: 0.05
});
const wireSphere = new THREE.Mesh(geometryWire, materialWire);
scene.add(wireSphere);
// Mouse interaction
let mouseX = 0;
let mouseY = 0;
document.addEventListener('mousemove', (event) => {
mouseX = event.clientX / window.innerWidth - 0.5;
mouseY = event.clientY / window.innerHeight - 0.5;
});
// Animation Loop
const clock = new THREE.Clock();
const animate = () => {
const elapsedTime = clock.getElapsedTime();
// Rotate entire particle system slowly
particlesMesh.rotation.y = elapsedTime * 0.05;
particlesMesh.rotation.x = mouseY * 0.2;
particlesMesh.rotation.y += mouseX * 0.2;
// Wave effect on particles
const positions = particlesGeometry.attributes.position.array;
for(let i = 0; i < particlesCount; i++) {
const i3 = i * 3;
const x = particlesGeometry.attributes.position.array[i3];
// Gentle vertical wave
positions[i3 + 1] += Math.sin(elapsedTime + x) * 0.002;
}
particlesGeometry.attributes.position.needsUpdate = true;
// Rotate wireframe
wireSphere.rotation.x += 0.001;
wireSphere.rotation.y += 0.001;
renderer.render(scene, camera);
window.requestAnimationFrame(animate);
};
animate();
// Resize handler
window.addEventListener('resize', () => {
camera.aspect = window.innerWidth / window.innerHeight;
camera.updateProjectionMatrix();
renderer.setSize(window.innerWidth, window.innerHeight);
});
};
// --- 2. UI Interactions ---
// Mobile Menu Toggle
function toggleMobileMenu() {
const menu = document.getElementById('mobile-menu');
menu.classList.toggle('hidden');
}
// FAQ Accordion
function toggleFaq(button) {
const content = button.nextElementSibling;
const icon = button.querySelector('i');
content.classList.toggle('hidden');
if (content.classList.contains('hidden')) {
icon.style.transform = 'rotate(0deg)';
} else {
icon.style.transform = 'rotate(180deg)';
}
}
// Scroll Reveal Animation (Intersection Observer)
const initScrollReveal = () => {
const reveals = document.querySelectorAll('.reveal');
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.classList.add('active');
}
});
}, {
threshold: 0.1,
rootMargin: "0px 0px -50px 0px"
});
reveals.forEach(reveal => observer.observe(reveal));
};
// Navbar Scroll Effect
window.addEventListener('scroll', () => {
const nav = document.getElementById('navbar');
if (window.scrollY > 50) {
nav.classList.add('glass', 'shadow-lg');
} else {
nav.classList.remove('glass', 'shadow-lg');
}
});
// Initialize Everything
document.addEventListener('DOMContentLoaded', () => {
initThreeJS();
initScrollReveal();
});
</script>
</body>
</html>
|
You are an expert web developer and designer specializing in modern websites. Create a complete, working HTML page with embedded CSS and JavaScript if needed. Feel free to use lightweight libraries like Tailwind CSS to enhance the design as long as they can be rendered in an iframe.
Requirements:
1. Create a fully functional, modern, and responsive website design
2. Use only HTML, CSS, and JavaScript, but feel free to use libraries like Tailwind CSS to make the design better. Libraries such as ThreeJS, react three fiber, drei, @react-three/postprocessing, @react-three/cannon, d3, and recharts as additional libraries can be imported.
3. Include all styles inline within <style> tags
4. Focus on clean layouts, typography, and user experience
5. Implement modern web design trends (gradients, shadows, smooth animations)
6. Ensure excellent mobile responsiveness
7. Include interactive elements where appropriate
8. Make it production-ready and professional
9. You must include all relevant script tags for libraries to work properly.
Return ONLY the complete HTML code, starting with <!DOCTYPE html> and ending with </html>. Do not include any explanations or markdown formatting.
|
prices component black white modern minimalistic
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Modern Minimal Pricing</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=Inter:wght@300;400;500;600;800&display=swap" rel="stylesheet">
<script src="https://unpkg.com/lucide@latest"></script>
<script>
tailwind.config = {
theme: {
extend: {
fontFamily: {
sans: ['Inter', 'sans-serif'],
},
animation: {
'fade-in-up': 'fadeInUp 0.5s ease-out forwards',
'pulse-slow': 'pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite',
},
keyframes: {
fadeInUp: {
'0%': { opacity: '0', transform: 'translateY(10px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
}
}
}
}
}
</script>
<style>
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Custom Toggle Switch CSS */
.toggle-checkbox:checked {
right: 0;
border-color: #000;
}
.toggle-checkbox:checked + .toggle-label {
background-color: #000;
}
.price-text {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
opacity: 1;
transform: translateY(0);
}
.price-text.changing {
opacity: 0;
transform: translateY(5px);
}
/* Subtle grain texture for background interest */
.bg-grain {
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
}
.card-hover {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
transform: translateY(-4px);
box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
}
</style>
</head>
<body class="bg-white text-neutral-900 font-sans selection:bg-neutral-900 selection:text-white flex flex-col min-h-screen">
<!-- Navbar -->
<nav class="w-full py-6 px-6 md:px-12 flex justify-between items-center border-b border-neutral-100 z-50 bg-white/80 backdrop-blur-md sticky top-0">
<div class="flex items-center gap-2">
<div class="w-6 h-6 bg-black rounded-full"></div>
<span class="font-bold tracking-tight text-lg">Monochrome.</span>
</div>
<div class="hidden md:flex gap-8 text-sm font-medium text-neutral-500">
<a href="#" class="hover:text-black transition-colors">Product</a>
<a href="#" class="hover:text-black transition-colors">Solutions</a>
<a href="#" class="text-black">Pricing</a>
<a href="#" class="hover:text-black transition-colors">About</a>
</div>
<div>
<a href="#" class="px-5 py-2 text-sm font-medium text-white bg-black rounded-full hover:bg-neutral-800 transition-all transform hover:scale-105">Get Started</a>
</div>
</nav>
<!-- Main Content -->
<main class="flex-grow relative overflow-hidden">
<!-- Background Elements -->
<div class="absolute inset-0 bg-grain pointer-events-none z-0"></div>
<div class="absolute top-0 left-1/2 -translate-x-1/2 w-[800px] h-[400px] bg-gradient-to-b from-neutral-50 to-transparent rounded-full blur-3xl -z-10 opacity-50"></div>
<div class="max-w-7xl mx-auto px-6 py-20 md:py-32 relative z-10">
<!-- Header -->
<div class="text-center max-w-3xl mx-auto mb-20 animate-fade-in-up">
<h2 class="text-xs font-bold tracking-widest uppercase text-neutral-500 mb-4">Pricing Plans</h2>
<h1 class="text-5xl md:text-6xl font-bold tracking-tight mb-6 text-neutral-900">
Simple pricing for <br class="hidden md:block" />
<span class="text-neutral-400">complex problems.</span>
</h1>
<p class="text-lg text-neutral-500 mb-10">
Choose the plan that fits your needs. No hidden fees. <br />Cancel anytime within the dashboard.
</p>
<!-- Toggle -->
<div class="flex items-center justify-center gap-4">
<span class="text-sm font-medium text-neutral-500" id="monthly-label">Monthly</span>
<button
id="billing-toggle"
class="relative w-14 h-8 bg-neutral-200 rounded-full p-1 transition-colors duration-300 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-black"
aria-pressed="false"
aria-label="Toggle billing period"
>
<span
id="toggle-circle"
class="block w-6 h-6 bg-white rounded-full shadow-sm transform transition-transform duration-300 translate-x-0"
></span>
</button>
<span class="text-sm font-medium text-neutral-900" id="yearly-label">Yearly</span>
<span class="ml-2 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-neutral-100 text-neutral-800 border border-neutral-200">
Save 20%
</span>
</div>
</div>
<!-- Pricing Grid -->
<div class="grid grid-cols-1 md:grid-cols-3 gap-8 items-start">
<!-- Plan 1: Starter -->
<div class="group bg-white rounded-3xl p-8 border border-neutral-200 card-hover relative flex flex-col h-full animate-fade-in-up" style="animation-delay: 0.1s;">
<div class="mb-6">
<h3 class="text-xl font-bold text-neutral-900">Starter</h3>
<p class="text-sm text-neutral-500 mt-2 h-10">Essential tools for individuals and hobbyists.</p>
</div>
<div class="mb-8 flex items-baseline gap-1">
<span class="text-4xl font-bold tracking-tight">$</span>
<span class="text-5xl font-bold tracking-tight price-amount" data-monthly="0" data-yearly="0">0</span>
<span class="text-neutral-500 ml-1">/mo</span>
</div>
<a href="#" class="w-full block text-center py-3 px-6 rounded-xl border border-neutral-200 text-neutral-900 font-semibold hover:border-black hover:bg-neutral-50 transition-all duration-200">
Start for free
</a>
<div class="mt-8 space-y-4 flex-grow">
<p class="text-xs font-bold uppercase text-neutral-400 tracking-wider">Features</p>
<ul class="space-y-3 text-sm text-neutral-600">
<li class="flex items-center gap-3">
<i data-lucide="check" class="w-4 h-4 text-neutral-900"></i>
<span>1 Project included</span>
</li>
<li class="flex items-center gap-3">
<i data-lucide="check" class="w-4 h-4 text-neutral-900"></i>
<span>Basic Analytics</span>
</li>
<li class="flex items-center gap-3">
<i data-lucide="check" class="w-4 h-4 text-neutral-900"></i>
<span>24h Support response</span>
</li>
<li class="flex items-center gap-3 opacity-40">
<i data-lucide="minus" class="w-4 h-4"></i>
<span>Collaborative workspace</span>
</li>
</ul>
</div>
</div>
<!-- Plan 2: Pro (Featured) -->
<div class="group bg-neutral-900 rounded-3xl p-8 border border-neutral-900 card-hover relative flex flex-col h-full transform md:-translate-y-4 shadow-2xl animate-fade-in-up" style="animation-delay: 0.2s;">
<!-- Badge -->
<div class="absolute -top-4 left-1/2 -translate-x-1/2 px-4 py-1 bg-white border border-neutral-200 rounded-full text-xs font-bold uppercase tracking-wide shadow-sm text-neutral-900">
Most Popular
</div>
<div class="mb-6">
<h3 class="text-xl font-bold text-white">Professional</h3>
<p class="text-sm text-neutral-400 mt-2 h-10">Advanced features for growing teams and startups.</p>
</div>
<div class="mb-8 flex items-baseline gap-1 text-white">
<span class="text-4xl font-bold tracking-tight">$</span>
<span class="text-5xl font-bold tracking-tight price-amount" data-monthly="29" data-yearly="24">29</span>
<span class="text-neutral-400 ml-1">/mo</span>
</div>
<a href="#" class="w-full block text-center py-3 px-6 rounded-xl bg-white text-black font-semibold hover:bg-neutral-200 transition-all duration-200 shadow-[0_0_20px_rgba(255,255,255,0.3)] hover:shadow-[0_0_25px_rgba(255,255,255,0.5)]">
Get Started
</a>
<div class="mt-8 space-y-4 flex-grow">
<p class="text-xs font-bold uppercase text-neutral-500 tracking-wider">Everything in Starter plus</p>
<ul class="space-y-3 text-sm text-neutral-300">
<li class="flex items-center gap-3">
<i data-lucide="check" class="w-4 h-4 text-white"></i>
<span>Unlimited Projects</span>
</li>
<li class="flex items-center gap-3">
<i data-lucide="check" class="w-4 h-4 text-white"></i>
<span>Advanced Analytics</span>
</li>
<li class="flex items-center gap-3">
<i data-lucide="check" class="w-4 h-4 text-white"></i>
<span>Priority Support</span>
</li>
<li class="flex items-center gap-3">
<i data-lucide="check" class="w-4 h-4 text-white"></i>
<span>Collaborative workspace</span>
</li>
<li class="flex items-center gap-3">
<i data-lucide="check" class="w-4 h-4 text-white"></i>
<span>Custom Integrations</span>
</li>
</ul>
</div>
</div>
<!-- Plan 3: Enterprise -->
<div class="group bg-white rounded-3xl p-8 border border-neutral-200 card-hover relative flex flex-col h-full animate-fade-in-up" style="animation-delay: 0.3s;">
<div class="mb-6">
<h3 class="text-xl font-bold text-neutral-900">Enterprise</h3>
<p class="text-sm text-neutral-500 mt-2 h-10">Maximum power and security for large organizations.</p>
</div>
<div class="mb-8 flex items-baseline gap-1">
<span class="text-4xl font-bold tracking-tight">$</span>
<span class="text-5xl font-bold tracking-tight price-amount" data-monthly="99" data-yearly="89">99</span>
<span class="text-neutral-500 ml-1">/mo</span>
</div>
<a href="#" class="w-full block text-center py-3 px-6 rounded-xl border border-neutral-200 text-neutral-900 font-semibold hover:border-black hover:bg-neutral-50 transition-all duration-200">
Contact Sales
</a>
<div class="mt-8 space-y-4 flex-grow">
<p class="text-xs font-bold uppercase text-neutral-400 tracking-wider">Everything in Pro plus</p>
<ul class="space-y-3 text-sm text-neutral-600">
<li class="flex items-center gap-3">
<i data-lucide="check" class="w-4 h-4 text-neutral-900"></i>
<span>Dedicated Infrastructure</span>
</li>
<li class="flex items-center gap-3">
<i data-lucide="check" class="w-4 h-4 text-neutral-900"></i>
<span>SSO & SAML Login</span>
</li>
<li class="flex items-center gap-3">
<i data-lucide="check" class="w-4 h-4 text-neutral-900"></i>
<span>99.99% Uptime SLA</span>
</li>
<li class="flex items-center gap-3">
<i data-lucide="check" class="w-4 h-4 text-neutral-900"></i>
<span>Dedicated Success Manager</span>
</li>
</ul>
</div>
</div>
</div>
<!-- FAQ Teaser / Trust -->
<div class="mt-24 text-center border-t border-neutral-200 pt-16">
<p class="text-neutral-500 mb-6">Trusted by innovative teams worldwide</p>
<div class="flex flex-wrap justify-center gap-8 md:gap-16 opacity-50 grayscale">
<!-- Simple Geometric Logos (CSS only representation) -->
<div class="h-6 w-24 bg-neutral-800 rounded-sm mask-logo"></div>
<div class="h-6 w-24 bg-neutral-800 rounded-sm mask-logo"></div>
<div class="h-6 w-24 bg-neutral-800 rounded-sm mask-logo"></div>
<div class="h-6 w-24 bg-neutral-800 rounded-sm mask-logo"></div>
</div>
<div class="mt-12">
<a href="#" class="text-sm font-medium text-neutral-900 underline underline-offset-4 hover:text-neutral-600 transition-colors">
Have questions? Check our FAQ
</a>
</div>
</div>
</div>
</main>
<script>
// Initialize Lucide Icons
lucide.createIcons();
// Interaction Logic
const toggleBtn = document.getElementById('billing-toggle');
const toggleCircle = document.getElementById('toggle-circle');
const priceElements = document.querySelectorAll('.price-amount');
const monthlyLabel = document.getElementById('monthly-label');
const yearlyLabel = document.getElementById('yearly-label');
let isYearly = false;
toggleBtn.addEventListener('click', () => {
isYearly = !isYearly;
// Toggle Button Visual State
toggleBtn.setAttribute('aria-pressed', isYearly);
if (isYearly) {
toggleBtn.classList.remove('bg-neutral-200');
toggleBtn.classList.add('bg-black');
toggleCircle.classList.remove('translate-x-0');
toggleCircle.classList.add('translate-x-6');
yearlyLabel.classList.add('text-black', 'font-bold');
yearlyLabel.classList.remove('text-neutral-500');
monthlyLabel.classList.remove('text-black', 'font-bold');
monthlyLabel.classList.add('text-neutral-500');
} else {
toggleBtn.classList.add('bg-neutral-200');
toggleBtn.classList.remove('bg-black');
toggleCircle.classList.add('translate-x-0');
toggleCircle.classList.remove('translate-x-6');
monthlyLabel.classList.add('text-black', 'font-bold');
monthlyLabel.classList.remove('text-neutral-500');
yearlyLabel.classList.remove('text-black', 'font-bold');
yearlyLabel.classList.add('text-neutral-500');
}
// Animate Prices
priceElements.forEach(el => {
// Add fade out effect
el.style.opacity = '0';
el.style.transform = 'translateY(10px)';
setTimeout(() => {
const price = isYearly ? el.dataset.yearly : el.dataset.monthly;
el.textContent = price;
// Fade in effect
el.style.opacity = '1';
el.style.transform = 'translateY(0)';
}, 200);
});
});
</script>
</body>
</html>
|
You are an expert web developer and designer specializing in modern websites. Create a complete, working HTML page with embedded CSS and JavaScript if needed. Feel free to use lightweight libraries like Tailwind CSS to enhance the design as long as they can be rendered in an iframe.
Requirements:
1. Create a fully functional, modern, and responsive website design
2. Use only HTML, CSS, and JavaScript, but feel free to use libraries like Tailwind CSS to make the design better. Libraries such as ThreeJS, react three fiber, drei, @react-three/postprocessing, @react-three/cannon, d3, and recharts as additional libraries can be imported.
3. Include all styles inline within <style> tags
4. Focus on clean layouts, typography, and user experience
5. Implement modern web design trends (gradients, shadows, smooth animations)
6. Ensure excellent mobile responsiveness
7. Include interactive elements where appropriate
8. Make it production-ready and professional
9. You must include all relevant script tags for libraries to work properly.
Return ONLY the complete HTML code, starting with <!DOCTYPE html> and ending with </html>. Do not include any explanations or markdown formatting.
|
You are an award winning website designer and Conversion specialist for local naturpathy businesses. Create a amazingly beautifully designed hero section for a Naturpathy practice in cologne
|
<!DOCTYPE html>
<html lang="en" class="scroll-smooth">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Naturalis Köln | Naturopathy & Holistic Health</title>
<!-- Fonts -->
<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=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<!-- Icons -->
<script src="https://unpkg.com/@phosphor-icons/web"></script>
<!-- Tailwind CSS -->
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
natural: {
50: '#F5F7F5',
100: '#E6EBE7',
200: '#CAD6CD',
300: '#AEC1B4',
400: '#92AC9A',
500: '#769781',
600: '#5A7D66', // Primary Brand
700: '#435D4C',
800: '#2D3E33',
900: '#161F19',
},
sand: {
50: '#FAFAF9',
100: '#F5F5F4',
200: '#E7E5E4',
300: '#D6D3D1',
900: '#44403C'
}
},
fontFamily: {
serif: ['"Playfair Display"', 'serif'],
sans: ['"Plus Jakarta Sans"', 'sans-serif'],
},
boxShadow: {
'soft': '0 20px 40px -15px rgba(90, 125, 102, 0.15)',
'glow': '0 0 20px rgba(90, 125, 102, 0.2)',
},
animation: {
'float': 'float 6s ease-in-out infinite',
'float-delayed': 'float 6s ease-in-out 3s infinite',
'fade-in-up': 'fadeInUp 0.8s ease-out forwards',
'spin-slow': 'spin 12s linear infinite',
},
keyframes: {
float: {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-20px)' },
},
fadeInUp: {
'0%': { opacity: '0', transform: 'translateY(20px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
}
}
}
}
}
</script>
<style>
/* Custom Styles & Reset */
body {
background-color: #FAFAF9; /* sand-50 */
color: #2D3E33; /* natural-800 */
}
.glass-panel {
background: rgba(255, 255, 255, 0.7);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.5);
}
.hero-image-mask {
border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
transition: border-radius 0.5s ease;
}
.hero-image-mask:hover {
border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
}
.blob-bg {
position: absolute;
filter: blur(80px);
z-index: -1;
opacity: 0.6;
}
/* Smooth reveal classes */
.reveal {
opacity: 0;
transform: translateY(30px);
transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
opacity: 1;
transform: translateY(0);
}
/* Stagger delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
/* Mobile Menu Transition */
#mobile-menu {
transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.menu-closed {
transform: translateY(-20px);
opacity: 0;
pointer-events: none;
}
.menu-open {
transform: translateY(0);
opacity: 1;
pointer-events: auto;
}
</style>
</head>
<body class="antialiased overflow-x-hidden selection:bg-natural-200 selection:text-natural-900">
<!-- Background Blobs -->
<div class="blob-bg bg-natural-200 w-96 h-96 rounded-full top-0 left-[-100px] animate-float"></div>
<div class="blob-bg bg-orange-100 w-80 h-80 rounded-full bottom-0 right-[-50px] animate-float-delayed"></div>
<!-- Navigation -->
<nav class="fixed w-full z-50 transition-all duration-300 top-0" id="navbar">
<div class="glass-panel mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 mt-4 rounded-2xl shadow-sm border border-white/40">
<div class="flex justify-between items-center h-20">
<!-- Logo -->
<div class="flex-shrink-0 flex items-center gap-2 cursor-pointer group">
<div class="w-10 h-10 bg-natural-600 rounded-full flex items-center justify-center text-white group-hover:bg-natural-700 transition-colors">
<i class="ph ph-plant text-2xl"></i>
</div>
<span class="font-serif text-2xl font-semibold text-natural-800 tracking-tight">Naturalis<span class="text-natural-500">.Köln</span></span>
</div>
<!-- Desktop Menu -->
<div class="hidden md:flex space-x-8 items-center">
<a href="#" class="text-natural-700 hover:text-natural-900 font-medium transition-colors text-sm uppercase tracking-wider">Therapies</a>
<a href="#" class="text-natural-700 hover:text-natural-900 font-medium transition-colors text-sm uppercase tracking-wider">About Us</a>
<a href="#" class="text-natural-700 hover:text-natural-900 font-medium transition-colors text-sm uppercase tracking-wider">Workshops</a>
<a href="#" class="text-natural-700 hover:text-natural-900 font-medium transition-colors text-sm uppercase tracking-wider">Blog</a>
</div>
<!-- CTA & Language -->
<div class="hidden md:flex items-center space-x-4">
<button class="text-natural-600 font-semibold hover:text-natural-800 text-sm">DE / EN</button>
<a href="#consultation" class="bg-natural-600 hover:bg-natural-700 text-white px-6 py-2.5 rounded-full font-medium transition-all transform hover:scale-105 shadow-lg shadow-natural-600/30 flex items-center gap-2">
<span>Book Consultation</span>
<i class="ph-bold ph-arrow-right"></i>
</a>
</div>
<!-- Mobile Menu Button -->
<div class="md:hidden flex items-center">
<button id="menu-btn" class="text-natural-800 focus:outline-none p-2 rounded-md hover:bg-natural-100">
<i class="ph ph-list text-2xl" id="menu-icon"></i>
</button>
</div>
</div>
</div>
<!-- Mobile Menu Dropdown -->
<div id="mobile-menu" class="absolute top-24 left-4 right-4 glass-panel rounded-2xl p-6 menu-closed shadow-xl md:hidden">
<div class="flex flex-col space-y-4">
<a href="#" class="text-lg font-serif text-natural-800">Therapies</a>
<a href="#" class="text-lg font-serif text-natural-800">About Us</a>
<a href="#" class="text-lg font-serif text-natural-800">Workshops</a>
<a href="#" class="text-lg font-serif text-natural-800">Blog</a>
<hr class="border-natural-200">
<a href="#" class="bg-natural-600 text-white text-center py-3 rounded-xl font-medium shadow-md">Book Consultation</a>
</div>
</div>
</nav>
<!-- Main Hero Section -->
<main class="relative pt-32 pb-16 lg:pt-48 lg:pb-32 overflow-hidden">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10">
<div class="grid lg:grid-cols-2 gap-12 lg:gap-8 items-center">
<!-- Left Column: Copy -->
<div class="max-w-2xl">
<!-- Badge -->
<div class="reveal inline-flex items-center gap-2 px-3 py-1 rounded-full bg-natural-100 border border-natural-200 text-natural-600 text-xs font-bold uppercase tracking-widest mb-6">
<span class="w-2 h-2 rounded-full bg-green-500 animate-pulse"></span>
Accepting New Patients in Cologne
</div>
<!-- Headline -->
<h1 class="reveal delay-100 font-serif text-5xl lg:text-7xl font-medium text-natural-900 leading-[1.1] mb-6">
Restore balance naturally.
</h1>
<!-- Subheadline -->
<p class="reveal delay-200 text-lg lg:text-xl text-natural-700 leading-relaxed mb-8 max-w-lg">
Specializing in holistic gut health, hormonal balance, and stress relief. Experience modern naturopathy in the heart of the Belgian Quarter.
</p>
<!-- CTAs -->
<div class="reveal delay-300 flex flex-col sm:flex-row gap-4 mb-12">
<a href="#" class="group relative px-8 py-4 bg-natural-800 text-white rounded-full overflow-hidden shadow-soft hover:shadow-lg transition-all">
<div class="absolute inset-0 w-full h-full bg-natural-700 transform scale-x-0 group-hover:scale-x-100 transition-transform origin-left duration-500"></div>
<span class="relative flex items-center gap-3 font-medium text-lg">
Schedule Visit
<i class="ph-bold ph-calendar-check"></i>
</span>
</a>
<a href="#" class="px-8 py-4 bg-white text-natural-800 border border-natural-200 rounded-full font-medium text-lg hover:bg-natural-50 hover:border-natural-300 transition-colors flex items-center justify-center gap-2">
<i class="ph-fill ph-play-circle text-natural-600 text-xl"></i>
How we work
</a>
</div>
<!-- Social Proof -->
<div class="reveal delay-300 flex items-center gap-4 pt-4 border-t border-natural-200/60">
<div class="flex -space-x-3">
<img class="w-10 h-10 rounded-full border-2 border-white object-cover" src="https://images.unsplash.com/photo-1534528741775-53994a69daeb?auto=format&fit=crop&w=100&q=80" alt="Patient">
<img class="w-10 h-10 rounded-full border-2 border-white object-cover" src="https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?auto=format&fit=crop&w=100&q=80" alt="Patient">
<img class="w-10 h-10 rounded-full border-2 border-white object-cover" src="https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?auto=format&fit=crop&w=100&q=80" alt="Patient">
<div class="w-10 h-10 rounded-full border-2 border-white bg-natural-100 flex items-center justify-center text-xs font-bold text-natural-600">+500</div>
</div>
<div class="flex flex-col">
<div class="flex text-yellow-500 text-sm">
<i class="ph-fill ph-star"></i>
<i class="ph-fill ph-star"></i>
<i class="ph-fill ph-star"></i>
<i class="ph-fill ph-star"></i>
<i class="ph-fill ph-star"></i>
</div>
<span class="text-sm text-natural-600 font-medium">Trusted by Köln locals</span>
</div>
</div>
</div>
<!-- Right Column: Imagery -->
<div class="relative lg:h-[600px] flex items-center justify-center reveal delay-200">
<!-- Decorative Circle Behind -->
<div class="absolute w-[500px] h-[500px] border border-natural-200 rounded-full animate-spin-slow opacity-50 hidden lg:block"></div>
<div class="absolute w-[450px] h-[450px] border border-natural-200/60 rounded-full animate-spin-slow opacity-30 hidden lg:block" style="animation-direction: reverse;"></div>
<!-- Main Image -->
<div class="relative z-10 w-full max-w-md mx-auto">
<div class="hero-image-mask overflow-hidden shadow-2xl shadow-natural-900/10 relative bg-natural-200">
<!-- Overlay gradient -->
<div class="absolute inset-0 bg-gradient-to-t from-natural-900/20 to-transparent z-10 mix-blend-multiply"></div>
<img src="https://images.unsplash.com/photo-1629909613654-28e377c37b09?q=80&w=800&auto=format&fit=crop"
alt="Naturopathy Session"
class="w-full h-[500px] object-cover hover:scale-105 transition-transform duration-700">
</div>
<!-- Floating Card 1: Benefit -->
<div class="absolute top-10 -right-4 lg:-right-12 glass-panel p-4 rounded-xl shadow-lg animate-float z-20 max-w-[160px]">
<div class="flex items-center gap-3 mb-2">
<div class="w-8 h-8 rounded-full bg-orange-100 flex items-center justify-center text-orange-600">
<i class="ph-fill ph-sun"></i>
</div>
<span class="font-bold text-natural-800 text-sm">Vitality</span>
</div>
<div class="h-1.5 w-full bg-natural-100 rounded-full overflow-hidden">
<div class="h-full bg-orange-400 w-[85%] rounded-full"></div>
</div>
<p class="text-xs text-natural-500 mt-1">+85% Energy levels</p>
</div>
<!-- Floating Card 2: Plant -->
<div class="absolute bottom-20 -left-4 lg:-left-12 glass-panel p-3 rounded-xl shadow-lg animate-float-delayed z-20 flex items-center gap-3">
<img src="https://images.unsplash.com/photo-1615485925763-8678613d2062?w=100&auto=format&fit=crop&q=60" class="w-12 h-12 rounded-lg object-cover" alt="Herbs">
<div class="flex flex-col">
<span class="text-sm font-bold text-natural-800">Organic Herbs</span>
<span class="text-xs text-natural-500">Locally sourced</span>
</div>
</div>
<!-- Floating Card 3: Location -->
<div class="absolute -bottom-6 right-8 bg-natural-800 text-white p-4 rounded-xl shadow-xl z-20 flex items-center gap-3 transform rotate-2 hover:rotate-0 transition-transform cursor-pointer">
<i class="ph-fill ph-map-pin text-green-400 text-xl"></i>
<div class="flex flex-col">
<span class="text-xs text-gray-300 uppercase tracking-wider">Located in</span>
<span class="font-serif font-medium">Belgisches Viertel</span>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Decorative Leaves SVG (Bottom Right) -->
<svg class="absolute bottom-0 right-0 w-64 h-64 text-natural-200/50 pointer-events-none transform translate-y-1/3 translate-x-1/3" viewBox="0 0 200 200" fill="currentColor">
<path d="M45.7,149.9c-7.9,0-15.8-3-21.9-9.1c-12.1-12.1-12.1-31.7,0-43.8l77.4-77.4c12.1-12.1,31.7-12.1,43.8,0 c12.1,12.1,12.1,31.7,0,43.8L67.6,140.8C61.5,146.9,53.6,149.9,45.7,149.9z"/>
</svg>
</main>
<!-- Features Strip (Transition to next section) -->
<section class="bg-white border-y border-natural-200 py-12">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid grid-cols-2 md:grid-cols-4 gap-8">
<div class="flex flex-col items-center text-center gap-2 group cursor-pointer">
<div class="w-12 h-12 rounded-full bg-natural-50 flex items-center justify-center text-natural-600 group-hover:bg-natural-600 group-hover:text-white transition-colors duration-300">
<i class="ph ph-plant text-2xl"></i>
</div>
<h3 class="font-serif font-semibold text-natural-900">Herbal Medicine</h3>
</div>
<div class="flex flex-col items-center text-center gap-2 group cursor-pointer">
<div class="w-12 h-12 rounded-full bg-natural-50 flex items-center justify-center text-natural-600 group-hover:bg-natural-600 group-hover:text-white transition-colors duration-300">
<i class="ph ph-drop text-2xl"></i>
</div>
<h3 class="font-serif font-semibold text-natural-900">Acupuncture</h3>
</div>
<div class="flex flex-col items-center text-center gap-2 group cursor-pointer">
<div class="w-12 h-12 rounded-full bg-natural-50 flex items-center justify-center text-natural-600 group-hover:bg-natural-600 group-hover:text-white transition-colors duration-300">
<i class="ph ph-heart-beat text-2xl"></i>
</div>
<h3 class="font-serif font-semibold text-natural-900">Nutritional Therapy</h3>
</div>
<div class="flex flex-col items-center text-center gap-2 group cursor-pointer">
<div class="w-12 h-12 rounded-full bg-natural-50 flex items-center justify-center text-natural-600 group-hover:bg-natural-600 group-hover:text-white transition-colors duration-300">
<i class="ph ph-brain text-2xl"></i>
</div>
<h3 class="font-serif font-semibold text-natural-900">Mindfulness</h3>
</div>
</div>
</div>
</section>
<script>
// Interaction Logic
document.addEventListener('DOMContentLoaded', () => {
// Intersection Observer for Reveal Animations
const observerOptions = {
root: null,
rootMargin: '0px',
threshold: 0.1
};
const observer = new IntersectionObserver((entries, observer) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.classList.add('active');
observer.unobserve(entry.target);
}
});
}, observerOptions);
const revealElements = document.querySelectorAll('.reveal');
revealElements.forEach(el => observer.observe(el));
// Mobile Menu Toggle
const menuBtn = document.getElementById('menu-btn');
const menuIcon = document.getElementById('menu-icon');
const mobileMenu = document.getElementById('mobile-menu');
let isMenuOpen = false;
menuBtn.addEventListener('click', () => {
isMenuOpen = !isMenuOpen;
if (isMenuOpen) {
mobileMenu.classList.remove('menu-closed');
mobileMenu.classList.add('menu-open');
menuIcon.classList.remove('ph-list');
menuIcon.classList.add('ph-x');
menuBtn.classList.add('bg-natural-100');
} else {
mobileMenu.classList.remove('menu-open');
mobileMenu.classList.add('menu-closed');
menuIcon.classList.remove('ph-x');
menuIcon.classList.add('ph-list');
menuBtn.classList.remove('bg-natural-100');
}
});
// Navbar Blur Effect on Scroll
const navbar = document.getElementById('navbar');
window.addEventListener('scroll', () => {
if (window.scrollY > 20) {
navbar.classList.add('py-0');
} else {
navbar.classList.remove('py-0');
}
});
});
</script>
</body>
</html>
| null |
🌿 **UI COMPONENT PROMPT – EARTHNEST PACKAGING** ## 🎯 **Objective** Design **modern, eco-friendly, conversion-focused UI components** for showcasing **EarthNest Packaging products** to Indian small businesses and D2C brands. --- ## 🎨 **GLOBAL UI STYLE GUIDE** * **Theme:** Eco-modern, premium, minimal * **Primary Color:** Deep eco green * **Secondary Color:** Kraft brown * **Background:** Soft beige / off-white * **Typography:** Clean sans-serif (Inter / Poppins) * **Corner Radius:** 10–12px * **Shadows:** Soft, natural * **Icons:** Thin line, eco-inspired --- ## 🧩 **UI COMPONENT PROMPTS** ### 1️⃣ **Product Showcase Card** “Create a product card UI component for eco-friendly packaging. Include product image, product name, short eco benefit (biodegradable, plastic-free), price or MOQ placeholder, and a ‘View Details’ button. Use a kraft-paper style background with green accents. Add soft hover animation and subtle shadow.” --- ### 2️⃣ **Hero Section Component** “Design a homepage he
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>EarthNest Packaging - Eco-Friendly Solutions</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
'eco-green': {
50: '#f0fdf4',
100: '#dcfce7',
200: '#bbf7d0',
300: '#86efac',
400: '#4ade80',
500: '#22c55e',
600: '#16a34a',
700: '#15803d',
800: '#166534',
900: '#14532d',
950: '#052e16',
},
'kraft': {
50: '#fdfcfb',
100: '#f9f5f0',
200: '#f0e6d8',
300: '#e4d4be',
400: '#d4bc9a',
500: '#c4a57a',
600: '#b08d5a',
700: '#8b6d44',
800: '#6b5436',
900: '#4a3a25',
},
'beige': {
50: '#fefdfb',
100: '#fdfaf5',
200: '#faf6ed',
300: '#f5efe3',
400: '#ede4d3',
}
},
fontFamily: {
'inter': ['Inter', 'sans-serif'],
'poppins': ['Poppins', 'sans-serif'],
}
}
}
}
</script>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
background: linear-gradient(180deg, #fdfaf5 0%, #f5efe3 100%);
min-height: 100vh;
}
.hero-gradient {
background: linear-gradient(135deg, #fdfaf5 0%, #f0e6d8 50%, #dcfce7 100%);
}
.kraft-texture {
background-color: #f9f5f0;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23d4bc9a' fill-opacity='0.15'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.product-card {
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.product-card:hover {
transform: translateY(-8px) scale(1.02);
}
.product-card:hover .product-image {
transform: scale(1.05);
}
.product-image {
transition: transform 0.5s ease;
}
.eco-badge {
animation: pulse-soft 2s ease-in-out infinite;
}
@keyframes pulse-soft {
0%, 100% { opacity: 1; }
50% { opacity: 0.8; }
}
.leaf-float {
animation: float 6s ease-in-out infinite;
}
@keyframes float {
0%, 100% { transform: translateY(0) rotate(0deg); }
50% { transform: translateY(-20px) rotate(5deg); }
}
.btn-primary {
background: linear-gradient(135deg, #166534 0%, #15803d 100%);
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.btn-primary::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
transition: left 0.5s ease;
}
.btn-primary:hover::before {
left: 100%;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px -5px rgba(22, 101, 52, 0.4);
}
.stat-counter {
background: linear-gradient(135deg, #166534, #22c55e);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.trust-badge {
backdrop-filter: blur(10px);
background: rgba(255, 255, 255, 0.8);
}
.scroll-indicator {
animation: bounce 2s infinite;
}
@keyframes bounce {
0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
40% { transform: translateY(-10px); }
60% { transform: translateY(-5px); }
}
.nature-pattern {
position: absolute;
opacity: 0.05;
pointer-events: none;
}
.gradient-border {
background: linear-gradient(135deg, #166534, #22c55e, #166534);
padding: 2px;
border-radius: 14px;
}
.inner-card {
background: #fdfaf5;
border-radius: 12px;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #f5efe3;
}
::-webkit-scrollbar-thumb {
background: #15803d;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #166534;
}
.hero-image-container {
position: relative;
}
.hero-image-container::before {
content: '';
position: absolute;
inset: -10px;
background: linear-gradient(135deg, rgba(22, 101, 52, 0.1), rgba(34, 197, 94, 0.1));
border-radius: 50%;
z-index: -1;
animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
0%, 100% { transform: scale(1); opacity: 0.5; }
50% { transform: scale(1.05); opacity: 0.8; }
}
.feature-icon {
transition: all 0.3s ease;
}
.feature-card:hover .feature-icon {
transform: scale(1.1) rotate(5deg);
}
.price-tag {
position: relative;
}
.price-tag::before {
content: '';
position: absolute;
left: -8px;
top: 50%;
transform: translateY(-50%);
width: 4px;
height: 70%;
background: linear-gradient(180deg, #22c55e, #166534);
border-radius: 2px;
}
.nav-link {
position: relative;
}
.nav-link::after {
content: '';
position: absolute;
bottom: -4px;
left: 0;
width: 0;
height: 2px;
background: linear-gradient(90deg, #166534, #22c55e);
transition: width 0.3s ease;
}
.nav-link:hover::after {
width: 100%;
}
.mobile-menu {
transform: translateX(-100%);
transition: transform 0.3s ease;
}
.mobile-menu.active {
transform: translateX(0);
}
</style>
</head>
<body class="font-inter text-kraft-900">
<!-- Navigation -->
<nav class="fixed top-0 left-0 right-0 z-50 bg-beige-100/90 backdrop-blur-md border-b border-kraft-200">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex items-center justify-between h-16 md:h-20">
<!-- Logo -->
<div class="flex items-center gap-2">
<div class="w-10 h-10 md:w-12 md:h-12 bg-eco-green-700 rounded-xl flex items-center justify-center">
<svg class="w-6 h-6 md:w-7 md:h-7 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M5 3v4M3 5h4M6 17v4m-2-2h4m5-16l2.286 6.857L21 12l-5.714 2.143L13 21l-2.286-6.857L5 12l5.714-2.143L13 3z"/>
</svg>
</div>
<div>
<h1 class="font-poppins font-bold text-lg md:text-xl text-eco-green-800">EarthNest</h1>
<p class="text-xs text-kraft-600 -mt-1 hidden sm:block">Packaging</p>
</div>
</div>
<!-- Desktop Navigation -->
<div class="hidden md:flex items-center gap-8">
<a href="#" class="nav-link text-kraft-700 hover:text-eco-green-700 font-medium transition-colors">Products</a>
<a href="#" class="nav-link text-kraft-700 hover:text-eco-green-700 font-medium transition-colors">Solutions</a>
<a href="#" class="nav-link text-kraft-700 hover:text-eco-green-700 font-medium transition-colors">About Us</a>
<a href="#" class="nav-link text-kraft-700 hover:text-eco-green-700 font-medium transition-colors">Contact</a>
</div>
<!-- CTA Button -->
<div class="hidden md:flex items-center gap-4">
<button class="text-kraft-700 hover:text-eco-green-700 font-medium transition-colors">
Login
</button>
<button class="btn-primary px-5 py-2.5 text-white font-semibold rounded-xl shadow-lg">
Get Quote
</button>
</div>
<!-- Mobile Menu Button -->
<button id="mobile-menu-btn" class="md:hidden p-2 rounded-lg hover:bg-kraft-100 transition-colors">
<svg class="w-6 h-6 text-kraft-800" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16"/>
</svg>
</button>
</div>
</div>
<!-- Mobile Menu -->
<div id="mobile-menu" class="mobile-menu fixed inset-0 top-16 bg-beige-100 z-40 md:hidden">
<div class="p-6 flex flex-col gap-4">
<a href="#" class="text-lg text-kraft-800 hover:text-eco-green-700 font-medium py-3 border-b border-kraft-200">Products</a>
<a href="#" class="text-lg text-kraft-800 hover:text-eco-green-700 font-medium py-3 border-b border-kraft-200">Solutions</a>
<a href="#" class="text-lg text-kraft-800 hover:text-eco-green-700 font-medium py-3 border-b border-kraft-200">About Us</a>
<a href="#" class="text-lg text-kraft-800 hover:text-eco-green-700 font-medium py-3 border-b border-kraft-200">Contact</a>
<div class="flex flex-col gap-3 mt-4">
<button class="w-full py-3 text-kraft-700 font-medium border border-kraft-300 rounded-xl hover:bg-kraft-100 transition-colors">
Login
</button>
<button class="btn-primary w-full py-3 text-white font-semibold rounded-xl">
Get Quote
</button>
</div>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="hero-gradient min-h-screen pt-20 md:pt-24 relative overflow-hidden">
<!-- Nature Pattern Elements -->
<div class="nature-pattern top-20 left-10 leaf-float">
<svg class="w-32 h-32 text-eco-green-600" fill="currentColor" viewBox="0 0 24 24">
<path d="M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 2,11.5 2,13.5C2,15.5 3.75,17.25 3.75,17.25C7,8 17,8 17,8Z"/>
</svg>
</div>
<div class="nature-pattern bottom-40 right-20 leaf-float" style="animation-delay: -2s;">
<svg class="w-24 h-24 text-eco-green-500" fill="currentColor" viewBox="0 0 24 24">
<path d="M6.05,8.05C5.65,8.46 5.27,8.88 4.91,9.32C6.89,9.89 8.74,11.27 9.76,13.66C10.46,15.36 10.66,17.46 10.5,19.5L12,20L13.5,19.5C13.36,17.63 13.54,15.73 14.2,14.04C15.2,11.56 17.11,10.03 19.17,9.41C18.78,8.95 18.38,8.5 17.95,8.05C17.53,7.61 17.08,7.2 16.62,6.81C14.92,7.74 12.58,7.84 10.46,6.93C8.97,8 7.37,8.31 6.05,8.05M12,2C8.14,2 4.81,4.15 3.15,7.32C3.36,7.37 3.57,7.43 3.78,7.5C5.08,7.92 6.25,7.68 7.24,7.09C8.89,7.76 10.67,7.76 12.19,7.31C13.16,7.91 14.37,8.18 15.73,7.74C16.17,7.58 16.59,7.39 17,7.17C19.42,7.96 21.27,9.78 22,12.19V12C22,6.47 17.53,2 12,2Z"/>
</svg>
</div>
<div class="nature-pattern top-1/2 left-1/4 leaf-float" style="animation-delay: -4s;">
<svg class="w-16 h-16 text-kraft-400" fill="currentColor" viewBox="0 0 24 24">
<path d="M12,3L2,12H5V20H19V12H22L12,3M12,8.75A2.25,2.25 0 0,1 14.25,11A2.25,2.25 0 0,1 12,13.25A2.25,2.25 0 0,1 9.75,11A2.25,2.25 0 0,1 12,8.75Z"/>
</svg>
</div>
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12 md:py-20">
<div class="grid lg:grid-cols-2 gap-12 lg:gap-16 items-center">
<!-- Hero Content -->
<div class="order-2 lg:order-1">
<div class="inline-flex items-center gap-2 bg-eco-green-100 text-eco-green-800 px-4 py-2 rounded-full text-sm font-medium mb-6">
<span class="w-2 h-2 bg-eco-green-500 rounded-full eco-badge"></span>
100% Sustainable Packaging
</div>
<h1 class="font-poppins text-4xl md:text-5xl lg:text-6xl font-bold text-kraft-900 leading-tight mb-6">
Pack Your Products
<span class="block text-eco-green-700">With Purpose</span>
</h1>
<p class="text-lg md:text-xl text-kraft-600 leading-relaxed mb-8 max-w-xl">
Premium eco-friendly packaging solutions for Indian D2C brands and small businesses. Make your brand stand out while protecting the planet.
</p>
<!-- CTA Buttons -->
<div class="flex flex-col sm:flex-row gap-4 mb-12">
<button class="btn-primary px-8 py-4 text-white font-semibold rounded-xl shadow-xl text-lg flex items-center justify-center gap-2">
<span>Explore Products</span>
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 8l4 4m0 0l-4 4m4-4H3"/>
</svg>
</button>
<button class="px-8 py-4 bg-white text-eco-green-700 font-semibold rounded-xl shadow-lg border-2 border-eco-green-200 hover:border-eco-green-400 hover:bg-eco-green-50 transition-all text-lg flex items-center justify-center gap-2">
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"/>
</svg>
<span>Talk to Expert</span>
</button>
</div>
<!-- Trust Badges -->
<div class="flex flex-wrap gap-4">
<div class="trust-badge flex items-center gap-2 px-4 py-2 rounded-xl shadow-sm">
<svg class="w-5 h-5 text-eco-green-600" fill="currentColor" viewBox="0 0 24 24">
<path d="M12,1L3,5V11C3,16.55 6.84,21.74 12,23C17.16,21.74 21,16.55 21,11V5L12,1M10,17L6,13L7.41,11.59L10,14.17L16.59,7.58L18,9L10,17Z"/>
</svg>
<span class="text-sm font-medium text-kraft-700">FSSAI Approved</span>
</div>
<div class="trust-badge flex items-center gap-2 px-4 py-2 rounded-xl shadow-sm">
<svg class="w-5 h-5 text-eco-green-600" fill="currentColor" viewBox="0 0 24 24">
<path d="M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4M11,17V16H9V14H13V13H10A1,1 0 0,1 9,12V9A1,1 0 0,1 10,8H11V7H13V8H15V10H11V11H14A1,1 0 0,1 15,12V15A1,1 0 0,1 14,16H13V17H11Z"/>
</svg>
<span class="text-sm font-medium text-kraft-700">Best Prices</span>
</div>
<div class="trust-badge flex items-center gap-2 px-4 py-2 rounded-xl shadow-sm">
<svg class="w-5 h-5 text-eco-green-600" fill="currentColor" viewBox="0 0 24 24">
<path d="M18,18.5A1.5,1.5 0 0,1 16.5,17A1.5,1.5 0 0,1 18,15.5A1.5,1.5 0 0,1 19.5,17A1.5,1.5 0 0,1 18,18.5M19.5,9.5L21.46,12H17V9.5M6,18.5A1.5,1.5 0 0,1 4.5,17A1.5,1.5 0 0,1 6,15.5A1.5,1.5 0 0,1 7.5,17A1.5,1.5 0 0,1 6,18.5M20,8H17V4H3C1.89,4 1,4.89 1,6V17H3A3,3 0 0,0 6,20A3,3 0 0,0 9,17H15A3,3 0 0,0 18,20A3,3 0 0,0 21,17H23V12L20,8Z"/>
</svg>
<span class="text-sm font-medium text-kraft-700">Pan India Delivery</span>
</div>
</div>
</div>
<!-- Hero Image -->
<div class="order-1 lg:order-2 flex justify-center">
<div class="hero-image-container relative">
<div class="w-72 h-72 md:w-96 md:h-96 lg:w-[450px] lg:h-[450px] relative">
<!-- Main Product Display -->
<div class="absolute inset-0 flex items-center justify-center">
<div class="kraft-texture rounded-3xl p-8 shadow-2xl transform rotate-3 hover:rotate-0 transition-transform duration-500">
<div class="w-48 h-48 md:w-64 md:h-64 bg-gradient-to-br from-kraft-200 to-kraft-300 rounded-2xl flex items-center justify-center relative overflow-hidden">
<!-- Package Illustration -->
<svg class="w-32 h-32 md:w-40 md:h-40 text-kraft-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1" d="M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4"/>
</svg>
<!-- Eco Badge -->
<div class="absolute top-4 right-4 bg-eco-green-600 text-white text-xs font-bold px-3 py-1 rounded-full">
ECO
</div>
<!-- Leaf decoration -->
<div class="absolute bottom-4 left-4">
<svg class="w-8 h-8 text-eco-green-500" fill="currentColor" viewBox="0 0 24 24">
<path d="M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 2,11.5 2,13.5C2,15.5 3.75,17.25 3.75,17.25C7,8 17,8 17,8Z"/>
</svg>
</div>
</div>
</div>
</div>
<!-- Floating Elements -->
<div class="absolute -top-4 -right-4 bg-white p-4 rounded-2xl shadow-xl leaf-float">
<div class="flex items-center gap-3">
<div class="w-10 h-10 bg-eco-green-100 rounded-full flex items-center justify-center">
<svg class="w-5 h-5 text-eco-green-600" fill="currentColor" viewBox="0 0 24 24">
<path d="M12,3L2,12H5V20H19V12H22L12,3M12,8.75A2.25,2.25 0 0,1 14.25,11A2.25,2.25 0 0,1 12,13.25A2.25,2.25 0 0,1 9.75,11A2.25,2.25 0 0,1 12,8.75Z"/>
</svg>
</div>
<div>
<p class="text-xs text-kraft-500">Carbon Neutral</p>
<p class="text-sm font-bold text-eco-green-700">100%</p>
</div>
</div>
</div>
<div class="absolute -bottom-4 -left-4 bg-white p-4 rounded-2xl shadow-xl leaf-float" style="animation-delay: -3s;">
<div class="flex items-center gap-3">
<div class="w-10 h-10 bg-kraft-200 rounded-full flex items-center justify-center">
<svg class="w-5 h-5 text-kraft-600" fill="currentColor" viewBox="0 0 24 24">
<path d="M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M10,17L5,12L6.41,10.59L10,14.17L17.59,6.58L19,8L10,17Z"/>
</svg>
</div>
<div>
<p class="text-xs text-kraft-500">Brands Trust Us</p>
<p class="text-sm font-bold text-kraft-800">500+</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Scroll Indicator -->
<div class="absolute bottom-8 left-1/2 transform -translate-x-1/2 scroll-indicator">
<div class="flex flex-col items-center gap-2">
<span class="text-xs text-kraft-500 font-medium">Scroll to explore</span>
<svg class="w-6 h-6 text-eco-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 14l-7 7m0 0l-7-7m7 7V3"/>
</svg>
</div>
</div>
</section>
<!-- Stats Section -->
<section class="py-16 bg-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid grid-cols-2 md:grid-cols-4 gap-8">
<div class="text-center">
<p class="stat-counter font-poppins text-4xl md:text-5xl font-bold mb-2" data-target="500">0</p>
<p class="text-kraft-600 font-medium">Happy Brands</p>
</div>
<div class="text-center">
<p class="stat-counter font-poppins text-4xl md:text-5xl font-bold mb-2" data-target="50">0</p>
<p class="text-kraft-600 font-medium">Product Types</p>
</div>
<div class="text-center">
<p class="stat-counter font-poppins text-4xl md:text-5xl font-bold mb-2" data-target="10">0</p>
<p class="text-kraft-600 font-medium">Lakh+ Units Sold</p>
</div>
<div class="text-center">
<p class="stat-counter font-poppins text-4xl md:text-5xl font-bold mb-2" data-target="100">0</p>
<p class="text-kraft-600 font-medium">% Eco-Friendly</p>
</div>
</div>
</div>
</section>
<!-- Product Showcase Section -->
<section class="py-16 md:py-24 bg-beige-200">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<!-- Section Header -->
<div class="text-center mb-12 md:mb-16">
<div class="inline-flex items-center gap-2 bg-eco-green-100 text-eco-green-800 px-4 py-2 rounded-full text-sm font-medium mb-4">
<svg class="w-4 h-4" fill="currentColor" viewBox="0 0 24 24">
<path d="M12,3L2,12H5V20H19V12H22L12,3M12,8.75A2.25,2.25 0 0,1 14.25,11A2.25,2.25 0 0,1 12,13.25A2.25,2.25 0 0,1 9.75,11A2.25,2.25 0 0,1 12,8.75Z"/>
</svg>
Our Products
</div>
<h2 class="font-poppins text-3xl md:text-4xl lg:text-5xl font-bold text-kraft-900 mb-4">
Sustainable Packaging Solutions
</h2>
<p class="text-lg text-kraft-600 max-w-2xl mx-auto">
From boxes to bags, pouches to mailers — all designed with the planet in mind
</p>
</div>
<!-- Product Grid -->
<div class="grid sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6 md:gap-8">
<!-- Product Card 1 -->
<div class="product-card kraft-texture rounded-2xl overflow-hidden shadow-lg hover:shadow-2xl">
<div class="relative p-6 pb-4">
<!-- Eco Badge -->
<div class="absolute top-4 left-4 bg-eco-green-600 text-white text-xs font-bold px-3 py-1 rounded-full flex items-center gap-1">
<svg class="w-3 h-3" fill="currentColor" viewBox="0 0 24 24">
<path d="M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 2,11.5 2,13.5C2,15.5 3.75,17.25 3.75,17.25C7,8 17,8 17,8Z"/>
</svg>
Biodegradable
</div>
<!-- Product Image -->
<div class="product-image bg-gradient-to-br from-kraft-100 to-kraft-200 rounded-xl h-48 flex items-center justify-center mb-4 mt-6">
<svg class="w-24 h-24 text-kraft-500" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1" d="M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4"/>
</svg>
</div>
<!-- Product Info -->
<h3 class="font-poppins font-semibold text-lg text-kraft-900 mb-2">Kraft Mailer Box</h3>
<p class="text-sm text-kraft-600 mb-4 flex items-center gap-1">
<svg class="w-4 h-4 text-eco-green-600" fill="currentColor" viewBox="0 0 24 24">
<path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"/>
</svg>
100% Recycled Material
</p>
<!-- Price & MOQ -->
<div class="flex items-center justify-between mb-4">
<div class="price-tag pl-4">
<p class="text-xs text-kraft-500">Starting from</p>
<p class="font-bold text-eco-green-700 text-xl">₹12/pc</p>
</div>
<div class="text-right">
<p class="text-xs text-kraft-500">MOQ</p>
<p class="font-semibold text-kraft-700">100 pcs</p>
</div>
</div>
<!-- CTA Button -->
<button class="w-full btn-primary py-3 text-white font-semibold rounded-xl flex items-center justify-center gap-2">
<span>View Details</span>
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/>
</svg>
</button>
</div>
</div>
<!-- Product Card 2 -->
<div class="product-card kraft-texture rounded-2xl overflow-hidden shadow-lg hover:shadow-2xl">
<div class="relative p-6 pb-4">
<div class="absolute top-4 left-4 bg-eco-green-600 text-white text-xs font-bold px-3 py-1 rounded-full flex items-center gap-1">
<svg class="w-3 h-3" fill="currentColor" viewBox="0 0 24 24">
<path d="M12,3L2,12H5V20H19V12H22L12,3M12,8.75A2.25,2.25 0 0,1 14.25,11A2.25,2.25 0 0,1 12,13.25A2.25,2.25 0 0,1 9.75,11A2.25,2.25 0 0,1 12,8.75Z"/>
</svg>
Plastic-Free
</div>
<div class="product-image bg-gradient-to-br from-kraft-100 to-kraft-200 rounded-xl h-48 flex items-center justify-center mb-4 mt-6">
<svg class="w-24 h-24 text-kraft-500" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1" d="M16 11V7a4 4 0 00-8 0v4M5 9h14l1 12H4L5 9z"/>
</svg>
</div>
<h3 class="font-poppins font-semibold text-lg text-kraft-900 mb-2">Paper Carry Bags</h3>
<p class="text-sm text-kraft-600 mb-4 flex items-center gap-1">
<svg class="w-4 h-4 text-eco-green-600" fill="currentColor" viewBox="0 0 24 24">
<path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"/>
</svg>
Food Grade Safe
</p>
<div class="flex items-center justify-between mb-4">
<div class="price-tag pl-4">
<p class="text-xs text-kraft-500">Starting from</p>
<p class="font-bold text-eco-green-700 text-xl">₹8/pc</p>
</div>
<div class="text-right">
<p class="text-xs text-kraft-500">MOQ</p>
<p class="font-semibold text-kraft-700">250 pcs</p>
</div>
</div>
<button class="w-full btn-primary py-3 text-white font-semibold rounded-xl flex items-center justify-center gap-2">
<span>View Details</span>
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/>
</svg>
</button>
</div>
</div>
<!-- Product Card 3 -->
<div class="product-card kraft-texture rounded-2xl overflow-hidden shadow-lg hover:shadow-2xl">
<div class="relative p-6 pb-4">
<div class="absolute top-4 left-4 bg-eco-green-600 text-white text-xs font-bold px-3 py-1 rounded-full flex items-center gap-1">
<svg class="w-3 h-3" fill="currentColor" viewBox="0 0 24 24">
<path d="M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4Z"/>
</svg>
Compostable
</div>
<div class="product-image bg-gradient-to-br from-kraft-100 to-kraft-200 rounded-xl h-48 flex items-center justify-center mb-4 mt-6">
<svg class="w-24 h-24 text-kraft-500" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1" d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"/>
</svg>
</div>
<h3 class="font-poppins font-semibold text-lg text-kraft-900 mb-2">Kraft Stand-Up Pouches</h3>
<p class="text-sm text-kraft-600 mb-4 flex items-center gap-1">
<svg class="w-4 h-4 text-eco-green-600" fill="currentColor" viewBox="0 0 24 24">
<path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"/>
</svg>
Resealable Zip Lock
</p>
<div class="flex items-center justify-between mb-4">
<div class="price-tag pl-4">
<p class="text-xs text-kraft-500">Starting from</p>
<p class="font-bold text-eco-green-700 text-xl">₹6/pc</p>
</div>
<div class="text-right">
<p class="text-xs text-kraft-500">MOQ</p>
<p class="font-semibold text-kraft-700">500 pcs</p>
</div>
</div>
<button class="w-full btn-primary py-3 text-white font-semibold rounded-xl flex items-center justify-center gap-2">
<span>View Details</span>
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/>
</svg>
</button>
</div>
</div>
<!-- Product Card 4 -->
<div class="product-card kraft-texture rounded-2xl overflow-hidden shadow-lg hover:shadow-2xl">
<div class="relative p-6 pb-4">
<div class="absolute top-4 left-4 bg-eco-green-600 text-white text-xs font-bold px-3 py-1 rounded-full flex items-center gap-1">
<svg class="w-3 h-3" fill="currentColor" viewBox="0 0 24 24">
<path d="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4M9,9V15H15V9"/>
</svg>
Recyclable
</div>
<div class="product-image bg-gradient-to-br from-kraft-100 to-kraft-200 rounded-xl h-48 flex items-center justify-center mb-4 mt-6">
<svg class="w-24 h-24 text-kraft-500" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1" d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"/>
</svg>
</div>
<h3 class="font-poppins font-semibold text-lg text-kraft-900 mb-2">Eco Poly Mailers</h3>
<p class="text-sm text-kraft-600 mb-4 flex items-center gap-1">
<svg class="w-4 h-4 text-eco-green-600" fill="currentColor" viewBox="0 0 24 24">
<path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"/>
</svg>
Water Resistant
</p>
<div class="flex items-center justify-between mb-4">
<div class="price-tag pl-4">
<p class="text-xs text-kraft-500">Starting from</p>
<p class="font-bold text-eco-green-700 text-xl">₹4/pc</p>
</div>
<div class="text-right">
<p class="text-xs text-kraft-500">MOQ</p>
<p class="font-semibold text-kraft-700">500 pcs</p>
</div>
</div>
<button class="w-full btn-primary py-3 text-white font-semibold rounded-xl flex items-center justify-center gap-2">
<span>View Details</span>
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/>
</svg>
</button>
</div>
</div>
</div>
<!-- View All Button -->
<div class="text-center mt-12">
<button class="px-8 py-4 bg-white text-eco-green-700 font-semibold rounded-xl shadow-lg border-2 border-eco-green-200 hover:border-eco-green-400 hover:bg-eco-green-50 transition-all text-lg inline-flex items-center gap-2">
<span>View All Products</span>
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 8l4 4m0 0l-4 4m4-4H3"/>
</svg>
</button>
</div>
</div>
</section>
<!-- Features Section -->
<section class="py-16 md:py-24 bg-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-12 md:mb-16">
<h2 class="font-poppins text-3xl md:text-4xl font-bold text-kraft-900 mb-4">
Why Choose EarthNest?
</h2>
<p class="text-lg text-kraft-600 max-w-2xl mx-auto">
We make it easy for Indian businesses to go green without compromising on quality
</p>
</div>
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Feature 1 -->
<div class="feature-card p-6 rounded-2xl bg-beige-100 hover:bg-beige-200 transition-colors">
<div class="feature-icon w-14 h-14 bg-eco-green-100 rounded-xl flex items-center justify-center mb-4">
<svg class="w-7 h-7 text-eco-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z"/>
</svg>
</div>
<h3 class="font-poppins font-semibold text-xl text-kraft-900 mb-2">FSSAI Certified</h3>
<p class="text-kraft-600">All our food-grade packaging meets strict FSSAI safety standards</p>
</div>
<!-- Feature 2 -->
<div class="feature-card p-6 rounded-2xl bg-beige-100 hover:bg-beige-200 transition-colors">
<div class="feature-icon w-14 h-14 bg-eco-green-100 rounded-xl flex items-center justify-center mb-4">
<svg class="w-7 h-7 text-eco-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z"/>
</svg>
</div>
<h3 class="font-poppins font-semibold text-xl text-kraft-900 mb-2">Affordable Pricing</h3>
<p class="text-kraft-600">Competitive prices with low MOQ perfect for small businesses</p>
</div>
<!-- Feature 3 -->
<div class="feature-card p-6 rounded-2xl bg-beige-100 hover:bg-beige-200 transition-colors">
<div class="feature-icon w-14 h-14 bg-eco-green-100 rounded-xl flex items-center justify-center mb-4">
<svg class="w-7 h-7 text-eco-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M7 21a4 4 0 01-4-4V5a2 2 0 012-2h4a2 2 0 012 2v12a4 4 0 01-4 4zm0 0h12a2 2 0 002-2v-4a2 2 0 00-2-2h-2.343M11 7.343l1.657-1.657a2 2 0 012.828 0l2.829 2.829a2 2 0 010 2.828l-8.486 8.485M7 17h.01"/>
</svg>
</div>
<h3 class="font-poppins font-semibold text-xl text-kraft-900 mb-2">Custom Branding</h3>
<p class="text-kraft-600">Add your logo and designs to make packaging uniquely yours</p>
</div>
<!-- Feature 4 -->
<div class="feature-card p-6 rounded-2xl bg-beige-100 hover:bg-beige-200 transition-colors">
<div class="feature-icon w-14 h-14 bg-eco-green-100 rounded-xl flex items-center justify-center mb-4">
<svg class="w-7 h-7 text-eco-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M13 10V3L4 14h7v7l9-11h-7z"/>
</svg>
</div>
<h3 class="font-poppins font-semibold text-xl text-kraft-900 mb-2">Fast Delivery</h3>
<p class="text-kraft-600">Quick turnaround with pan-India shipping within 5-7 days</p>
</div>
<!-- Feature 5 -->
<div class="feature-card p-6 rounded-2xl bg-beige-100 hover:bg-beige-200 transition-colors">
<div class="feature-icon w-14 h-14 bg-eco-green-100 rounded-xl flex items-center justify-center mb-4">
<svg class="w-7 h-7 text-eco-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M3.055 11H5a2 2 0 012 2v1a2 2 0 002 2 2 2 0 012 2v2.945M8 3.935V5.5A2.5 2.5 0 0010.5 8h.5a2 2 0 012 2 2 2 0 104 0 2 2 0 012-2h1.064M15 20.488V18a2 2 0 012-2h3.064M21 12a9 9 0 11-18 0 9 9 0 0118 0z"/>
</svg>
</div>
<h3 class="font-poppins font-semibold text-xl text-kraft-900 mb-2">100% Eco-Friendly</h3>
<p class="text-kraft-600">All materials are biodegradable, compostable, or recyclable</p>
</div>
<!-- Feature 6 -->
<div class="feature-card p-6 rounded-2xl bg-beige-100 hover:bg-beige-200 transition-colors">
<div class="feature-icon w-14 h-14 bg-eco-green-100 rounded-xl flex items-center justify-center mb-4">
<svg class="w-7 h-7 text-eco-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M18.364 5.636l-3.536 3.536m0 5.656l3.536 3.536M9.172 9.172L5.636 5.636m3.536 9.192l-3.536 3.536M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-5 0a4 4 0 11-8 0 4 4 0 018 0z"/>
</svg>
</div>
<h3 class="font-poppins font-semibold text-xl text-kraft-900 mb-2">Dedicated Support</h3>
<p class="text-kraft-600">Expert team to help you choose the right packaging solution</p>
</div>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="py-16 md:py-24 bg-eco-green-800 relative overflow-hidden">
<div class="absolute inset-0 opacity-10">
<svg class="w-full h-full" viewBox="0 0 100 100" preserveAspectRatio="none">
<pattern id="leaf-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse">
<path d="M10,2 C5,5 2,10 2,10 C2,10 5,15 10,18 C15,15 18,10 18,10 C18,10 15,5 10,2 Z" fill="currentColor"/>
</pattern>
<rect width="100" height="100" fill="url(#leaf-pattern)"/>
</svg>
</div>
<div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center relative z-10">
<h2 class="font-poppins text-3xl md:text-4xl lg:text-5xl font-bold text-white mb-6">
Ready to Make Your Brand
<span class="block">More Sustainable?</span>
</h2>
<p class="text-lg md:text-xl text-eco-green-100 mb-8 max-w-2xl mx-auto">
Join 500+ Indian brands that have already made the switch to eco-friendly packaging
</p>
<div class="flex flex-col sm:flex-row gap-4 justify-center">
<button class="px-8 py-4 bg-white text-eco-green-800 font-bold rounded-xl shadow-xl hover:bg-eco-green-50 transition-all text-lg flex items-center justify-center gap-2">
<span>Get Free Sample</span>
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v13m0-13V6a2 2 0 112 2h-2zm0 0V5.5A2.5 2.5 0 109.5 8H12zm-7 4h14M5 12a2 2 0 110-4h14a2 2 0 110 4M5 12v7a2 2 0 002 2h10a2 2 0 002-2v-7"/>
</svg>
</button>
<button class="px-8 py-4 bg-transparent text-white font-bold rounded-xl border-2 border-white hover:bg-white/10 transition-all text-lg flex items-center justify-center gap-2">
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"/>
</svg>
<span>Call: +91 98765 43210</span>
</button>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-kraft-900 text-white py-12 md:py-16">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid md:grid-cols-2 lg:grid-cols-4 gap-8 mb-12">
<!-- Company Info -->
<div>
<div class="flex items-center gap-2 mb-4">
<div class="w-10 h-10 bg-eco-green-600 rounded-xl flex items-center justify-center">
<svg class="w-6 h-6 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M5 3v4M3 5h4M6 17v4m-2-2h4m5-16l2.286 6.857L21 12l-5.714 2.143L13 21l-2.286-6.857L5 12l5.714-2.143L13 3z"/>
</svg>
</div>
<div>
<h3 class="font-poppins font-bold text-lg">EarthNest</h3>
<p class="text-xs text-kraft-400">Packaging</p>
</div>
</div>
<p class="text-kraft-400 text-sm leading-relaxed">
Premium eco-friendly packaging solutions for Indian D2C brands and small businesses.
</p>
</div>
<!-- Quick Links -->
<div>
<h4 class="font-semibold text-lg mb-4">Quick Links</h4>
<ul class="space-y-2">
<li><a href="#" class="text-kraft-400 hover:text-eco-green-400 transition-colors text-sm">Products</a></li>
<li><a href="#" class="text-kraft-400 hover:text-eco-green-400 transition-colors text-sm">Custom Solutions</a></li>
<li><a href="#" class="text-kraft-400 hover:text-eco-green-400 transition-colors text-sm">About Us</a></li>
<li><a href="#" class="text-kraft-400 hover:text-eco-green-400 transition-colors text-sm">Blog</a></li>
</ul>
</div>
<!-- Contact -->
<div>
<h4 class="font-semibold text-lg mb-4">Contact Us</h4>
<ul class="space-y-2 text-sm text-kraft-400">
<li class="flex items-center gap-2">
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"/>
</svg>
hello@earthnest.in
</li>
<li class="flex items-center gap-2">
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"/>
</svg>
+91 98765 43210
</li>
<li class="flex items-start gap-2">
<svg class="w-4 h-4 mt-0.5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z"/>
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 11a3 3 0 11-6 0 3 3 0 016 0z"/>
</svg>
Mumbai, Maharashtra, India
</li>
</ul>
</div>
<!-- Newsletter -->
<div>
<h4 class="font-semibold text-lg mb-4">Stay Updated</h4>
<p class="text-kraft-400 text-sm mb-4">Get packaging tips and exclusive offers</p>
<div class="flex gap-2">
<input type="email" placeholder="Your email" class="flex-1 px-4 py-2 rounded-lg bg-kraft-800 border border-kraft-700 text-white placeholder-kraft-500 text-sm focus:outline-none focus:border-eco-green-500">
<button class="px-4 py-2 bg-eco-green-600 text-white rounded-lg hover:bg-eco-green-500 transition-colors">
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 19l9 2-9-18-9 18 9-2zm0 0v-8"/>
</svg>
</button>
</div>
</div>
</div>
<div class="border-t border-kraft-800 pt-8 flex flex-col md:flex-row justify-between items-center gap-4">
<p class="text-kraft-500 text-sm">© 2024 EarthNest Packaging. All rights reserved.</p>
<div class="flex gap-4">
<a href="#" class="w-10 h-10 bg-kraft-800 rounded-full flex items-center justify-center hover:bg-eco-green-600 transition-colors">
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24">
<path d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"/>
</svg>
</a>
<a href="#" class="w-10 h-10 bg-kraft-800 rounded-full flex items-center justify-center hover:bg-eco-green-600 transition-colors">
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24">
<path d="M12.017 0C5.396 0 .029 5.367.029 11.987c0 5.079 3.158 9.417 7.618 11.162-.105-.949-.199-2.403.041-3.439.219-.937 1.406-5.957 1.406-5.957s-.359-.72-.359-1.781c0-1.663.967-2.911 2.168-2.911 1.024 0 1.518.769 1.518 1.688 0 1.029-.653 2.567-.992 3.992-.285 1.193.6 2.165 1.775 2.165 2.128 0 3.768-2.245 3.768-5.487 0-2.861-2.063-4.869-5.008-4.869-3.41 0-5.409 2.562-5.409 5.199 0 1.033.394 2.143.889 2.741.099.12.112.225.085.345-.09.375-.293 1.199-.334 1.363-.053.225-.172.271-.401.165-1.495-.69-2.433-2.878-2.433-4.646 0-3.776 2.748-7.252 7.92-7.252 4.158 0 7.392 2.967 7.392 6.923 0 4.135-2.607 7.462-6.233 7.462-1.214 0-2.354-.629-2.758-1.379l-.749 2.848c-.269 1.045-1.004 2.352-1.498 3.146 1.123.345 2.306.535 3.55.535 6.607 0 11.985-5.365 11.985-11.987C23.97 5.39 18.592.026 11.985.026L12.017 0z"/>
</svg>
</a>
<a href="#" class="w-10 h-10 bg-kraft-800 rounded-full flex items-center justify-center hover:bg-eco-green-600 transition-colors">
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24">
<path d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4
| null |
🎨 Professional Modern Login Page UI PromptGoalDesign a highly polished, modern, and solid left-right split login page interface, integrating the latest professional UI trends—specifically Glassmorphism and subtle Neumorphism—within a grounded, natural color palette. The design must feature minimal, elegant animations and adhere to current high-end aesthetic standards.Color Palette & ApplicationUse the following CSS/Hex color palette as the foundation for all elements:NameHex CodeApplicationOlive Leaf#606c38ffPrimary Accent, Button Hover/Active State, Text HighlightBlack Forest#283618ffPrimary Background (Darker Section),
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Verdant Login</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<style>
:root {
--olive-leaf: #606c38;
--black-forest: #283618;
--cornsilk: #fefae0;
--earth-yellow: #dda15e;
--tigers-eye: #bc6c25;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
min-height: 100vh;
background: var(--cornsilk);
overflow-x: hidden;
}
.container {
display: flex;
min-height: 100vh;
}
/* Left Panel - Brand/Visual Section */
.left-panel {
flex: 1;
background: linear-gradient(145deg, var(--black-forest) 0%, var(--olive-leaf) 100%);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 3rem;
position: relative;
overflow: hidden;
}
.left-panel::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(254, 250, 224, 0.03) 0%, transparent 50%);
animation: slowRotate 30s linear infinite;
}
@keyframes slowRotate {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.brand-content {
position: relative;
z-index: 1;
text-align: center;
color: var(--cornsilk);
}
.logo {
width: 80px;
height: 80px;
margin-bottom: 2rem;
position: relative;
}
.logo-circle {
width: 80px;
height: 80px;
border-radius: 50%;
background: linear-gradient(135deg, var(--earth-yellow) 0%, var(--tigers-eye) 100%);
display: flex;
align-items: center;
justify-content: center;
box-shadow:
0 10px 40px rgba(221, 161, 94, 0.3),
inset 0 -3px 10px rgba(0, 0, 0, 0.1),
inset 0 3px 10px rgba(255, 255, 255, 0.2);
animation: float 6s ease-in-out infinite;
}
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-10px); }
}
.logo-circle svg {
width: 40px;
height: 40px;
fill: var(--cornsilk);
}
.brand-title {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 1rem;
letter-spacing: -0.02em;
}
.brand-subtitle {
font-size: 1.1rem;
font-weight: 300;
opacity: 0.85;
max-width: 300px;
line-height: 1.6;
}
/* Floating Elements */
.floating-elements {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
pointer-events: none;
overflow: hidden;
}
.floating-leaf {
position: absolute;
width: 20px;
height: 20px;
background: var(--olive-leaf);
border-radius: 50% 0 50% 0;
opacity: 0.15;
animation: floatLeaf 15s ease-in-out infinite;
}
.floating-leaf:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.floating-leaf:nth-child(2) { top: 20%; right: 15%; animation-delay: 2s; width: 15px; height: 15px; }
.floating-leaf:nth-child(3) { bottom: 30%; left: 20%; animation-delay: 4s; width: 25px; height: 25px; }
.floating-leaf:nth-child(4) { bottom: 15%; right: 10%; animation-delay: 6s; }
.floating-leaf:nth-child(5) { top: 50%; left: 5%; animation-delay: 8s; width: 12px; height: 12px; }
@keyframes floatLeaf {
0%, 100% { transform: translate(0, 0) rotate(0deg); }
25% { transform: translate(10px, -20px) rotate(90deg); }
50% { transform: translate(-5px, -10px) rotate(180deg); }
75% { transform: translate(15px, 5px) rotate(270deg); }
}
/* Right Panel - Login Form */
.right-panel {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 3rem;
background: var(--cornsilk);
position: relative;
}
.login-container {
width: 100%;
max-width: 420px;
}
.login-header {
margin-bottom: 2.5rem;
}
.login-header h1 {
font-size: 2rem;
font-weight: 700;
color: var(--black-forest);
margin-bottom: 0.5rem;
letter-spacing: -0.02em;
}
.login-header p {
color: var(--olive-leaf);
font-size: 1rem;
font-weight: 400;
}
/* Glassmorphism Form Card */
.form-card {
background: rgba(255, 255, 255, 0.7);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-radius: 24px;
padding: 2.5rem;
border: 1px solid rgba(255, 255, 255, 0.8);
box-shadow:
0 8px 32px rgba(40, 54, 24, 0.08),
0 2px 8px rgba(40, 54, 24, 0.04);
}
.form-group {
margin-bottom: 1.5rem;
}
.form-label {
display: block;
font-size: 0.875rem;
font-weight: 500;
color: var(--black-forest);
margin-bottom: 0.5rem;
}
/* Neumorphic Input Fields */
.input-wrapper {
position: relative;
}
.form-input {
width: 100%;
padding: 1rem 1rem 1rem 3rem;
font-size: 1rem;
font-family: inherit;
border: none;
border-radius: 14px;
background: var(--cornsilk);
color: var(--black-forest);
box-shadow:
inset 3px 3px 6px rgba(40, 54, 24, 0.08),
inset -3px -3px 6px rgba(255, 255, 255, 0.9);
transition: all 0.3s ease;
outline: none;
}
.form-input::placeholder {
color: rgba(96, 108, 56, 0.5);
}
.form-input:focus {
box-shadow:
inset 3px 3px 6px rgba(40, 54, 24, 0.12),
inset -3px -3px 6px rgba(255, 255, 255, 0.9),
0 0 0 3px rgba(96, 108, 56, 0.15);
}
.input-icon {
position: absolute;
left: 1rem;
top: 50%;
transform: translateY(-50%);
width: 20px;
height: 20px;
color: var(--olive-leaf);
opacity: 0.6;
transition: opacity 0.3s ease;
}
.form-input:focus + .input-icon,
.input-wrapper:hover .input-icon {
opacity: 1;
}
.password-toggle {
position: absolute;
right: 1rem;
top: 50%;
transform: translateY(-50%);
background: none;
border: none;
cursor: pointer;
color: var(--olive-leaf);
opacity: 0.6;
transition: opacity 0.3s ease;
padding: 0;
}
.password-toggle:hover {
opacity: 1;
}
/* Checkbox */
.checkbox-group {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 2rem;
}
.checkbox-wrapper {
display: flex;
align-items: center;
gap: 0.75rem;
cursor: pointer;
}
.checkbox-input {
display: none;
}
.checkbox-custom {
width: 20px;
height: 20px;
border-radius: 6px;
background: var(--cornsilk);
box-shadow:
inset 2px 2px 4px rgba(40, 54, 24, 0.08),
inset -2px -2px 4px rgba(255, 255, 255, 0.9);
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
}
.checkbox-input:checked + .checkbox-custom {
background: var(--olive-leaf);
box-shadow:
0 2px 8px rgba(96, 108, 56, 0.3);
}
.checkbox-custom svg {
width: 12px;
height: 12px;
stroke: var(--cornsilk);
stroke-width: 3;
opacity: 0;
transform: scale(0);
transition: all 0.2s ease;
}
.checkbox-input:checked + .checkbox-custom svg {
opacity: 1;
transform: scale(1);
}
.checkbox-label {
font-size: 0.875rem;
color: var(--black-forest);
}
.forgot-link {
font-size: 0.875rem;
color: var(--tigers-eye);
text-decoration: none;
font-weight: 500;
transition: color 0.3s ease;
}
.forgot-link:hover {
color: var(--earth-yellow);
}
/* Submit Button */
.submit-btn {
width: 100%;
padding: 1rem;
font-size: 1rem;
font-weight: 600;
font-family: inherit;
border: none;
border-radius: 14px;
background: linear-gradient(135deg, var(--olive-leaf) 0%, var(--black-forest) 100%);
color: var(--cornsilk);
cursor: pointer;
position: relative;
overflow: hidden;
transition: all 0.3s ease;
box-shadow:
0 4px 15px rgba(40, 54, 24, 0.2),
0 2px 5px rgba(40, 54, 24, 0.1);
}
.submit-btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(
90deg,
transparent,
rgba(255, 255, 255, 0.2),
transparent
);
transition: left 0.5s ease;
}
.submit-btn:hover {
transform: translateY(-2px);
box-shadow:
0 8px 25px rgba(40, 54, 24, 0.25),
0 4px 10px rgba(40, 54, 24, 0.15);
}
.submit-btn:hover::before {
left: 100%;
}
.submit-btn:active {
transform: translateY(0);
}
.submit-btn.loading {
pointer-events: none;
}
.submit-btn .btn-text {
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
transition: opacity 0.3s ease;
}
.submit-btn.loading .btn-text {
opacity: 0;
}
.submit-btn .spinner {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 24px;
height: 24px;
border: 3px solid rgba(254, 250, 224, 0.3);
border-top-color: var(--cornsilk);
border-radius: 50%;
opacity: 0;
animation: spin 0.8s linear infinite;
}
.submit-btn.loading .spinner {
opacity: 1;
}
@keyframes spin {
to { transform: translate(-50%, -50%) rotate(360deg); }
}
/* Divider */
.divider {
display: flex;
align-items: center;
gap: 1rem;
margin: 2rem 0;
}
.divider-line {
flex: 1;
height: 1px;
background: linear-gradient(90deg, transparent, rgba(96, 108, 56, 0.2), transparent);
}
.divider-text {
font-size: 0.875rem;
color: var(--olive-leaf);
opacity: 0.7;
}
/* Social Login */
.social-login {
display: flex;
gap: 1rem;
}
.social-btn {
flex: 1;
padding: 0.875rem;
border: none;
border-radius: 12px;
background: var(--cornsilk);
box-shadow:
3px 3px 6px rgba(40, 54, 24, 0.08),
-3px -3px 6px rgba(255, 255, 255, 0.9);
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
}
.social-btn:hover {
box-shadow:
5px 5px 10px rgba(40, 54, 24, 0.1),
-5px -5px 10px rgba(255, 255, 255, 1);
transform: translateY(-2px);
}
.social-btn:active {
box-shadow:
inset 2px 2px 4px rgba(40, 54, 24, 0.08),
inset -2px -2px 4px rgba(255, 255, 255, 0.9);
transform: translateY(0);
}
.social-btn svg {
width: 24px;
height: 24px;
}
/* Sign Up Link */
.signup-link {
text-align: center;
margin-top: 2rem;
font-size: 0.9rem;
color: var(--black-forest);
}
.signup-link a {
color: var(--tigers-eye);
text-decoration: none;
font-weight: 600;
transition: color 0.3s ease;
}
.signup-link a:hover {
color: var(--earth-yellow);
}
/* Success State */
.success-message {
display: none;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: 2rem;
}
.success-icon {
width: 80px;
height: 80px;
border-radius: 50%;
background: linear-gradient(135deg, var(--olive-leaf) 0%, var(--black-forest) 100%);
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1.5rem;
animation: successPop 0.5s ease;
}
@keyframes successPop {
0% { transform: scale(0); }
50% { transform: scale(1.2); }
100% { transform: scale(1); }
}
.success-icon svg {
width: 40px;
height: 40px;
stroke: var(--cornsilk);
stroke-width: 3;
stroke-linecap: round;
stroke-linejoin: round;
fill: none;
}
.success-icon svg path {
stroke-dasharray: 100;
stroke-dashoffset: 100;
animation: drawCheck 0.5s ease 0.3s forwards;
}
@keyframes drawCheck {
to { stroke-dashoffset: 0; }
}
.success-message h2 {
font-size: 1.5rem;
color: var(--black-forest);
margin-bottom: 0.5rem;
}
.success-message p {
color: var(--olive-leaf);
}
/* Responsive Design */
@media (max-width: 968px) {
.container {
flex-direction: column;
}
.left-panel {
min-height: 30vh;
padding: 2rem;
}
.brand-title {
font-size: 2rem;
}
.brand-subtitle {
font-size: 1rem;
}
.right-panel {
padding: 2rem;
}
}
@media (max-width: 480px) {
.form-card {
padding: 1.5rem;
}
.login-header h1 {
font-size: 1.5rem;
}
.social-login {
flex-direction: column;
}
.checkbox-group {
flex-direction: column;
align-items: flex-start;
gap: 1rem;
}
}
/* Input validation states */
.form-input.error {
box-shadow:
inset 3px 3px 6px rgba(188, 108, 37, 0.15),
inset -3px -3px 6px rgba(255, 255, 255, 0.9),
0 0 0 2px rgba(188, 108, 37, 0.3);
}
.error-message {
font-size: 0.75rem;
color: var(--tigers-eye);
margin-top: 0.5rem;
display: none;
}
.form-group.error .error-message {
display: block;
animation: shake 0.4s ease;
}
@keyframes shake {
0%, 100% { transform: translateX(0); }
25% { transform: translateX(-5px); }
75% { transform: translateX(5px); }
}
</style>
</head>
<body>
<div class="container">
<!-- Left Panel - Brand Section -->
<div class="left-panel">
<div class="floating-elements">
<div class="floating-leaf"></div>
<div class="floating-leaf"></div>
<div class="floating-leaf"></div>
<div class="floating-leaf"></div>
<div class="floating-leaf"></div>
</div>
<div class="brand-content">
<div class="logo">
<div class="logo-circle">
<svg viewBox="0 0 24 24" fill="currentColor">
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z"/>
</svg>
</div>
</div>
<h1 class="brand-title">Verdant</h1>
<p class="brand-subtitle">Cultivating sustainable solutions for a greener tomorrow. Join our growing community.</p>
</div>
</div>
<!-- Right Panel - Login Form -->
<div class="right-panel">
<div class="login-container">
<div class="login-header">
<h1>Welcome back</h1>
<p>Enter your credentials to access your account</p>
</div>
<div class="form-card">
<form id="loginForm">
<div class="form-group" id="emailGroup">
<label class="form-label" for="email">Email Address</label>
<div class="input-wrapper">
<input
type="email"
id="email"
class="form-input"
placeholder="you@example.com"
autocomplete="email"
>
<svg class="input-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"/>
<polyline points="22,6 12,13 2,6"/>
</svg>
</div>
<span class="error-message">Please enter a valid email address</span>
</div>
<div class="form-group" id="passwordGroup">
<label class="form-label" for="password">Password</label>
<div class="input-wrapper">
<input
type="password"
id="password"
class="form-input"
placeholder="••••••••"
autocomplete="current-password"
>
<svg class="input-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<rect x="3" y="11" width="18" height="11" rx="2" ry="2"/>
<path d="M7 11V7a5 5 0 0 1 10 0v4"/>
</svg>
<button type="button" class="password-toggle" id="togglePassword">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" id="eyeIcon">
<path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"/>
<circle cx="12" cy="12" r="3"/>
</svg>
</button>
</div>
<span class="error-message">Password must be at least 8 characters</span>
</div>
<div class="checkbox-group">
<label class="checkbox-wrapper">
<input type="checkbox" class="checkbox-input" id="remember">
<span class="checkbox-custom">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor">
<polyline points="20 6 9 17 4 12"/>
</svg>
</span>
<span class="checkbox-label">Remember me</span>
</label>
<a href="#" class="forgot-link">Forgot password?</a>
</div>
<button type="submit" class="submit-btn" id="submitBtn">
<span class="btn-text">
Sign In
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<line x1="5" y1="12" x2="19" y2="12"/>
<polyline points="12 5 19 12 12 19"/>
</svg>
</span>
<span class="spinner"></span>
</button>
</form>
<div class="divider">
<span class="divider-line"></span>
<span class="divider-text">or continue with</span>
<span class="divider-line"></span>
</div>
<div class="social-login">
<button type="button" class="social-btn" aria-label="Sign in with Google">
<svg viewBox="0 0 24 24">
<path fill="#4285F4" d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"/>
<path fill="#34A853" d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"/>
<path fill="#FBBC05" d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"/>
<path fill="#EA4335" d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"/>
</svg>
</button>
<button type="button" class="social-btn" aria-label="Sign in with Apple">
<svg viewBox="0 0 24 24" fill="#000">
<path d="M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z"/>
</svg>
</button>
<button type="button" class="social-btn" aria-label="Sign in with GitHub">
<svg viewBox="0 0 24 24" fill="#333">
<path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/>
</svg>
</button>
</div>
<div class="success-message" id="successMessage">
<div class="success-icon">
<svg viewBox="0 0 24 24">
<path d="M20 6L9 17l-5-5"/>
</svg>
</div>
<h2>Welcome back!</h2>
<p>Redirecting to your dashboard...</p>
</div>
</div>
<p class="signup-link">
Don't have an account? <a href="#">Create one</a>
</p>
</div>
</div>
</div>
<script>
// DOM Elements
const loginForm = document.getElementById('loginForm');
const emailInput = document.getElementById('email');
const passwordInput = document.getElementById('password');
const emailGroup = document.getElementById('emailGroup');
const passwordGroup = document.getElementById('passwordGroup');
const submitBtn = document.getElementById('submitBtn');
const togglePassword = document.getElementById('togglePassword');
const eyeIcon = document.getElementById('eyeIcon');
const successMessage = document.getElementById('successMessage');
// Password visibility toggle
togglePassword.addEventListener('click', () => {
const type = passwordInput.getAttribute('type') === 'password' ? 'text' : 'password';
passwordInput.setAttribute('type', type);
// Update icon
if (type === 'text') {
eyeIcon.innerHTML = `
<path d="M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"/>
<line x1="1" y1="1" x2="23" y2="23"/>
`;
} else {
eyeIcon.innerHTML = `
<path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"/>
<circle cx="12" cy="12" r="3"/>
`;
}
});
// Email validation
function validateEmail(email) {
const re = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
return re.test(email);
}
// Password validation
function validatePassword(password) {
return password.length >= 8;
}
// Clear error state
function clearError(group, input) {
group.classList.remove('error');
input.classList.remove('error');
}
// Set error state
function setError(group, input) {
group.classList.add('error');
input.classList.add('error');
}
// Real-time validation
emailInput.addEventListener('input', () => {
if (validateEmail(emailInput.value) || emailInput.value === '') {
clearError(emailGroup, emailInput);
}
});
passwordInput.addEventListener('input', () => {
if (validatePassword(passwordInput.value) || passwordInput.value === '') {
clearError(passwordGroup, passwordInput);
}
});
// Form submission
loginForm.addEventListener('submit', async (e) => {
e.preventDefault();
let isValid = true;
// Validate email
if (!validateEmail(emailInput.value)) {
setError(emailGroup, emailInput);
isValid = false;
} else {
clearError(emailGroup, emailInput);
}
// Validate password
if (!validatePassword(passwordInput.value)) {
setError(passwordGroup, passwordInput);
isValid = false;
} else {
clearError(passwordGroup, passwordInput);
}
if (!isValid) return;
// Show loading state
submitBtn.classList.add('loading');
submitBtn.disabled = true;
// Simulate API call
await new Promise(resolve => setTimeout(resolve, 2000));
// Show success state
submitBtn.classList.remove('loading');
loginForm.style.display = 'none';
document.querySelector('.divider').style.display = 'none';
document.querySelector('.social-login').style.display = 'none';
successMessage.style.display = 'flex';
// Redirect simulation
setTimeout(() => {
// In a real app, redirect to dashboard
console.log('Redirecting to dashboard...');
}, 2000);
});
// Add subtle parallax effect to floating leaves
document.addEventListener('mousemove', (e) => {
const leaves = document.querySelectorAll('.floating-leaf');
const x = e.clientX / window.innerWidth;
const y = e.clientY / window.innerHeight;
leaves.forEach((leaf, index) => {
const speed = (index + 1) * 0.5;
const xOffset = (x - 0.5) * speed * 20;
const yOffset = (y - 0.5) * speed * 20;
leaf.style.transform = `translate(${xOffset}px, ${yOffset}px)`;
});
});
// Social button click effects
document.querySelectorAll('.social-btn').forEach(btn => {
btn.addEventListener('click', function() {
this.style.transform = 'scale(0.95)';
setTimeout(() => {
this.style.transform = '';
}, 150);
});
});
</script>
</body>
</html>
| null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.