Spaces:
Running
Running
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Pricing - booknap</title> | |
<link rel="stylesheet" href="styles.css" /> | |
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet" /> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" /> | |
<style> | |
:root { | |
--bg: #0f172a; | |
--card: #0b1223; | |
--muted: #94a3b8; | |
--text: #e2e8f0; | |
--brand: #3b82f6; | |
--brand-2: #6366f1; | |
} | |
body { background: linear-gradient(180deg, #0b1020, #0b1022 30%, #0b1124); color: var(--text); font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif; } | |
.container { max-width: 100%; margin: 0 auto; padding: 0 20px; } | |
/* Match pricing header/nav styling */ | |
.header { position: sticky; top: 0; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); background: rgba(7,10,20,0.55); z-index: 20; box-shadow: none; } | |
.nav { border-bottom: 1px solid rgba(255,255,255,0.06); } | |
.nav-logo i { color: var(--brand); } | |
.nav-link { color: var(--muted); text-decoration: none; font-weight: 600; } | |
.nav-link:hover, .nav-link.active { color: var(--text); } | |
.login-btn { background: var(--brand); color: white; padding: 0.6rem 1.1rem; border-radius: 9px; text-decoration: none; font-weight: 700; display: inline-block; } | |
/* Navigation Login Button */ | |
.nav-container { | |
display: flex; | |
align-items: center; | |
gap: 2rem; | |
} | |
.nav-menu { | |
display: flex; | |
align-items: center; | |
gap: 2rem; | |
margin-left: auto; | |
} | |
.nav-login { | |
margin-left: 0; | |
} | |
.login-btn { | |
background: linear-gradient(90deg, #3b82f6, #6366f1); | |
color: white; | |
padding: 0.75rem 1.5rem; | |
border-radius: 8px; | |
text-decoration: none; | |
font-weight: 600; | |
transition: background-color 0.2s ease; | |
display: inline-block; | |
} | |
.login-btn:hover { | |
background: linear-gradient(90deg, #2563eb, #4f46e5); | |
} | |
.signup-btn { | |
background: transparent; | |
color: var(--text); | |
padding: 0.6rem 1.1rem; | |
border: 2px solid rgba(255, 255, 255, 0.2); | |
border-radius: 9px; | |
text-decoration: none; | |
font-weight: 700; | |
display: inline-block; | |
margin-left: 0.5rem; | |
transition: all 0.2s ease; | |
} | |
.signup-btn:hover { | |
background: rgba(255, 255, 255, 0.1); | |
border-color: rgba(255, 255, 255, 0.4); | |
} | |
/* Search Bar Styles */ | |
.search-container { | |
margin-left: 0.5rem; | |
} | |
.search-bar { | |
position: relative; | |
display: flex; | |
align-items: center; | |
background: rgba(0, 0, 0, 0.3); | |
border: 1px solid rgba(255, 255, 255, 0.2); | |
border-radius: 25px; | |
padding: 0.5rem 1rem; | |
min-width: 300px; | |
transition: all 0.3s ease; | |
} | |
.search-bar:focus-within { | |
background: rgba(0, 0, 0, 0.4); | |
border-color: rgba(59, 130, 246, 0.5); | |
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); | |
} | |
.search-icon { | |
color: rgba(255, 255, 255, 0.6); | |
margin-right: 0.75rem; | |
font-size: 0.9rem; | |
} | |
.search-input { | |
background: transparent; | |
border: none; | |
color: var(--text); | |
font-size: 0.9rem; | |
font-weight: 500; | |
width: 100%; | |
outline: none; | |
} | |
.search-input::placeholder { | |
color: rgba(255, 255, 255, 0.5); | |
} | |
.search-input:focus::placeholder { | |
color: rgba(255, 255, 255, 0.3); | |
} | |
/* Responsive search bar */ | |
@media (max-width: 768px) { | |
.search-container { | |
margin-left: 0.5rem; | |
} | |
.search-bar { | |
min-width: 200px; | |
} | |
} | |
@media (max-width: 600px) { | |
.search-container { | |
margin-left: 0.25rem; | |
} | |
.search-bar { | |
min-width: 150px; | |
padding: 0.4rem 0.8rem; | |
} | |
} | |
.hero { padding: 3.5rem 0 2rem; text-align: center; } | |
.hero h1 { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.02em; } | |
.hero p { color: var(--muted); max-width: 720px; margin: 0.75rem auto 0; } | |
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin: 2.5rem 0 3rem; width: 100%; max-width: 100%; } | |
/* .plans::-webkit-scrollbar { height: 8px; } | |
.plans::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 999px; } | |
.plans::-webkit-scrollbar-track { background: rgba(255,255,255,0.06); border-radius: 999px; } */ | |
.plan-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; padding: 2rem; display: flex; flex-direction: column; gap: 1rem; min-height: 100%; width: 100%; } | |
.plan-card .features { flex: 1; gap: 0.75rem; } | |
.plan-card .features li { padding: 0.1rem 0; } | |
.plan-card .cta { margin-top: auto; } | |
@media (max-width: 992px) { | |
.plans { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } | |
} | |
@media (max-width: 600px) { | |
.plans { grid-template-columns: 1fr; gap: 1rem; } | |
.plan-card { padding: 1.5rem; } | |
} | |
.plan-title { font-weight: 800; color: var(--text); letter-spacing: -0.01em; } | |
.price { font-size: 2rem; font-weight: 800; } | |
.price small { font-size: 0.9rem; color: var(--muted); font-weight: 600; } | |
.badge { font-size: 0.75rem; color: white; background: linear-gradient(90deg, var(--brand), var(--brand-2)); padding: 0.25rem 0.5rem; border-radius: 999px; display: inline-block; font-weight: 700; } | |
.features { margin-top: 0.5rem; display: grid; gap: 0.5rem; color: var(--text); } | |
.features li { display: flex; align-items: center; gap: 0.5rem; } | |
.features i { color: #10b981; } | |
.cta { margin-top: 0.75rem; display: inline-block; background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: white; text-decoration: none; font-weight: 800; padding: 0.6rem 1rem; border-radius: 10px; text-align: center; } | |
.why { margin: 2.5rem 0 3rem; } | |
.why h2 { text-align: center; font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; } | |
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; } | |
.why-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; padding: 1rem; } | |
.why-card h3 { font-weight: 800; margin-bottom: 0.25rem; } | |
.why-card p { color: var(--muted); font-size: 0.95rem; } | |
footer { border-top: 1px solid rgba(255,255,255,0.06); padding: 1.5rem 0; color: var(--muted); } | |
/* Dropdown Menu Styles */ | |
.dropdown { | |
position: relative; | |
} | |
.dropdown-toggle { | |
display: flex; | |
align-items: center; | |
gap: 0.5rem; | |
cursor: pointer; | |
} | |
.dropdown-toggle i { | |
font-size: 0.8rem; | |
transition: transform 0.2s ease; | |
} | |
.dropdown.active .dropdown-toggle i { | |
transform: rotate(180deg); | |
} | |
.dropdown-menu { | |
position: absolute; | |
top: 100%; | |
left: 50%; | |
transform: translateX(-50%); | |
background: rgba(15, 23, 42, 0.95); | |
border: 1px solid rgba(255, 255, 255, 0.1); | |
border-radius: 12px; | |
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); | |
min-width: 500px; | |
opacity: 0; | |
visibility: hidden; | |
transition: all 0.3s ease; | |
z-index: 1000; | |
margin-top: 1rem; | |
-webkit-backdrop-filter: blur(10px); | |
backdrop-filter: blur(10px); | |
} | |
.dropdown.active .dropdown-menu { | |
opacity: 1; | |
visibility: visible; | |
} | |
.dropdown-content { | |
display: flex; | |
padding: 2rem; | |
} | |
.dropdown-section { | |
flex: 1; | |
} | |
.dropdown-section h4 { | |
color: #e2e8f0; | |
font-size: 0.875rem; | |
font-weight: 600; | |
margin: 0 0 1rem 0; | |
text-transform: uppercase; | |
letter-spacing: 0.05em; | |
} | |
.dropdown-section ul { | |
list-style: none; | |
margin: 0; | |
padding: 0; | |
} | |
.dropdown-section li { | |
margin-bottom: 0.75rem; | |
} | |
.dropdown-section a { | |
display: flex; | |
align-items: center; | |
gap: 0.75rem; | |
color: #94a3b8; | |
text-decoration: none; | |
font-size: 0.875rem; | |
padding: 0.5rem; | |
border-radius: 8px; | |
transition: all 0.2s ease; | |
} | |
.dropdown-section a:hover { | |
background: rgba(255, 255, 255, 0.1); | |
color: #e2e8f0; | |
} | |
.dropdown-section i { | |
font-size: 1rem; | |
width: 20px; | |
text-align: center; | |
} | |
.dropdown-divider { | |
width: 1px; | |
background: rgba(255, 255, 255, 0.2); | |
margin: 0 1.5rem; | |
} | |
.all-categories { | |
color: #60a5fa ; | |
font-weight: 500; | |
margin-top: 1rem; | |
display: inline-flex; | |
align-items: center; | |
gap: 0.5rem; | |
} | |
.all-categories:hover { | |
background: rgba(59, 130, 246, 0.2) ; | |
color: #93c5fd ; | |
} | |
.all-categories i { | |
font-size: 0.75rem; | |
transition: transform 0.2s ease; | |
} | |
.all-categories:hover i { | |
transform: translateX(3px); | |
} | |
/* Responsive dropdown adjustments */ | |
@media (max-width: 768px) { | |
.dropdown-menu { | |
min-width: 300px; | |
left: 0; | |
transform: none; | |
} | |
.dropdown-content { | |
flex-direction: column; | |
padding: 1.5rem; | |
} | |
.dropdown-divider { | |
width: 100%; | |
height: 1px; | |
margin: 1rem 0; | |
} | |
} | |
</style> | |
</head> | |
<body> | |
<header class="header"> | |
<nav class="nav"> | |
<div class="nav-container"> | |
<div class="nav-logo"> | |
<i class="fas fa-book-open"></i> | |
<span>booknap</span> | |
</div> | |
<div class="search-container"> | |
<div class="search-bar"> | |
<i class="fas fa-search search-icon"></i> | |
<input type="text" placeholder="Find a book..." class="search-input"> | |
</div> | |
</div> | |
<ul class="nav-menu"> | |
<li><a href="books.html" class="nav-link">Home</a></li> | |
<li class="dropdown"> | |
<a href="#" class="nav-link dropdown-toggle">Book Summaries <i class="fas fa-chevron-down"></i></a> | |
<div class="dropdown-menu"> | |
<div class="dropdown-content"> | |
<div class="dropdown-section"> | |
<h4>Browse by type</h4> | |
<ul> | |
<li><a href="#"><i class="fas fa-book-open" style="color: #10b981;"></i> Text Summaries</a></li> | |
<li><a href="#"><i class="fas fa-headphones" style="color: #3b82f6;"></i> Audio Summaries</a></li> | |
<li><a href="#"><i class="fas fa-play-circle" style="color: #8b5cf6;"></i> Video Summaries</a></li> | |
<li><a href="#"><i class="fas fa-file-pdf" style="color: #f59e0b;"></i> PDF Downloads</a></li> | |
<li><a href="#"><i class="fas fa-mobile-alt" style="color: #06b6d4;"></i> Mobile App</a></li> | |
</ul> | |
</div> | |
<div class="dropdown-divider"></div> | |
<div class="dropdown-section"> | |
<h4>Browse by topic</h4> | |
<ul> | |
<li><a href="#"><i class="fas fa-brain" style="color: #f59e0b;"></i> Psychology</a></li> | |
<li><a href="#"><i class="fas fa-chart-line" style="color: #10b981;"></i> Business</a></li> | |
<li><a href="#"><i class="fas fa-heart" style="color: #ef4444;"></i> Self-Help</a></li> | |
<li><a href="#"><i class="fas fa-graduation-cap" style="color: #8b5cf6;"></i> Education</a></li> | |
<li><a href="#"><i class="fas fa-lightbulb" style="color: #06b6d4;"></i> Innovation</a></li> | |
</ul> | |
<a href="#" class="all-categories">all categories <i class="fas fa-arrow-right"></i></a> | |
</div> | |
</div> | |
</div> | |
</li> | |
<li><a href="pricing.html" class="nav-link active">Pricing</a></li> | |
<li><a href="blog.html" class="nav-link">Blog</a></li> | |
</ul> | |
<div class="nav-login"> | |
<a href="login.html" class="login-btn">Login</a> | |
<a href="signup.html" class="signup-btn">Sign Up</a> | |
</div> | |
<div class="nav-toggle"> | |
<span></span> | |
<span></span> | |
<span></span> | |
</div> | |
</div> | |
</nav> | |
</header> | |
<main> | |
<section class="hero container"> | |
<h1>You're ready to grow! We're here to help.</h1> | |
<p>booknap helps you achieve your goals efficiently with bite-sized book summaries.</p> | |
</section> | |
<section class="plans container"> | |
<article class="plan-card"> | |
<div class="plan-title">FREE</div> | |
<div class="price">$0 <small>/ forever</small></div> | |
<ul class="features"> | |
<li><i class="fas fa-check-circle"></i> Get access to 2 free summaries</li> | |
</ul> | |
<a class="cta" href="#">Get Started</a> | |
</article> | |
<article class="plan-card"> | |
<div class="plan-title">Premium Weekly</div> | |
<div class="price">$4.99 <small>/ week</small></div> | |
<ul class="features"> | |
<li><i class="fas fa-check-circle"></i> All Premium features</li> | |
<li><i class="fas fa-check-circle"></i> Cancel anytime</li> | |
<li><i class="fas fa-check-circle"></i> Best for short-term goals</li> | |
</ul> | |
<a class="cta" href="#">Buy Now</a> | |
</article> | |
<article class="plan-card"> | |
<div class="badge">Best Value</div> | |
<div class="plan-title">Premium Yearly</div> | |
<div class="price">$49 <small>/ year</small></div> | |
<ul class="features"> | |
<li><i class="fas fa-check-circle"></i> Text, audio, and visual summaries</li> | |
<li><i class="fas fa-check-circle"></i> Visual book summaries</li> | |
<li><i class="fas fa-check-circle"></i> PDF downloads</li> | |
<li><i class="fas fa-check-circle"></i> Mobile app</li> | |
<li><i class="fas fa-check-circle"></i> Download offline</li> | |
<li><i class="fas fa-check-circle"></i> Audio narrations</li> | |
<li><i class="fas fa-check-circle"></i> Quizzes</li> | |
<li><i class="fas fa-check-circle"></i> Sync with Kindle</li> | |
<li><i class="fas fa-check-circle"></i> New content weekly</li> | |
<li><i class="fas fa-check-circle"></i> Cancel anytime</li> | |
</ul> | |
<a class="cta" href="#">Buy Now</a> | |
</article> | |
<article class="plan-card"> | |
<div class="plan-title">Premium Monthly</div> | |
<div class="price">$12.99 <small>/ month</small></div> | |
<ul class="features"> | |
<li><i class="fas fa-check-circle"></i> Text, audio, and visual summaries</li> | |
<li><i class="fas fa-check-circle"></i> Visual book summaries</li> | |
<li><i class="fas fa-check-circle"></i> PDF downloads</li> | |
<li><i class="fas fa-check-circle"></i> Mobile app</li> | |
<li><i class="fas fa-check-circle"></i> Download offline</li> | |
<li><i class="fas fa-check-circle"></i> Audio narrations</li> | |
<li><i class="fas fa-check-circle"></i> Quizzes</li> | |
<li><i class="fas fa-check-circle"></i> Sync with Kindle</li> | |
<li><i class="fas fa-check-circle"></i> New content weekly</li> | |
<li><i class="fas fa-check-circle"></i> Cancel anytime</li> | |
</ul> | |
<a class="cta" href="#">Buy Now</a> | |
</article> | |
</section> | |
<section class="why container"> | |
<h2>Not Sure Yet? Here’s Why booknap Is Worth It</h2> | |
<div class="why-grid"> | |
<div class="why-card"> | |
<h3>High-Quality Titles</h3> | |
<p>Our summaries are unbiased, concise, and comprehensive, giving you the most valuable insights fast.</p> | |
</div> | |
<div class="why-card"> | |
<h3>New content added constantly</h3> | |
<p>We add new content weekly, including bestsellers.</p> | |
</div> | |
<div class="why-card"> | |
<h3>Learn on the go</h3> | |
<p>Read or listen anywhere—iOS, tablet, laptop, and Kindle.</p> | |
</div> | |
<div class="why-card"> | |
<h3>Cancel anytime</h3> | |
<p>Changed your mind? Cancel your subscription anytime.</p> | |
</div> | |
</div> | |
</section> | |
</main> | |
<footer> | |
<div class="container"> | |
<p>© 2025 booknap. All rights reserved.</p> | |
</div> | |
</footer> | |
<script> | |
// Book Summaries dropdown functionality - same as home page but click-based | |
document.addEventListener('DOMContentLoaded', function() { | |
const dropdownToggle = document.querySelector('.dropdown-toggle'); | |
const dropdown = document.querySelector('.dropdown'); | |
if (dropdownToggle && dropdown) { | |
// Toggle dropdown on click (instead of hover) | |
dropdownToggle.addEventListener('click', function(e) { | |
e.preventDefault(); | |
// Toggle the active class on the dropdown container | |
dropdown.classList.toggle('active'); | |
}); | |
// Close dropdown when clicking outside | |
document.addEventListener('click', function(e) { | |
if (!dropdown.contains(e.target)) { | |
dropdown.classList.remove('active'); | |
} | |
}); | |
// Close dropdown when pressing Escape key | |
document.addEventListener('keydown', function(e) { | |
if (e.key === 'Escape') { | |
dropdown.classList.remove('active'); | |
} | |
}); | |
} | |
}); | |
</script> | |
</body> | |
</html> | |