/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
 
html {
  scroll-behavior: smooth;
}
 
body {
  background-color: #121214;
  color: #ffffff;
  line-height: 1.6;
}
 
/* Flexbox Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #1a1a1e;
  border-bottom: 1px solid #2a2a30;
}
.logo {
  font-size: 22px;
  font-weight: bold;
  color: #8a2be2;
  letter-spacing: 1px;
}
.nav-links {
  display: flex;
  gap: 25px;
}
.nav-links a {
  color: #cccccc;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}
.nav-links a:hover {
  color: #8a2be2;
}
 
/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}
.hero h1 {
  font-size: 42px;
  margin-bottom: 15px;
}
.hero h1 span {
  color: #8a2be2;
}
.hero p {
  font-size: 18px;
  color: #aaa;
  max-width: 600px;
  margin-bottom: 30px;
}
 
.btn {
  display: inline-block;
  background-color: #8a2be2;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.btn:hover {
  background-color: #6a1bb2;
  transform: scale(1.05);
}
.btn:disabled {
  background-color: #555;
  cursor: not-allowed;
  transform: none;
}
 
/* Book / Content Section */
.content-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}
.card {
  background-color: #1a1a1e;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #2a2a30;
  margin-top: 20px;
}
.card h2 {
  color: #8a2be2;
  margin-bottom: 10px;
}
 
#button-container {
  margin-top: 20px;
}
 
/* Toast message shown after download */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #8a2be2;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
 
/* Footer */
footer {
  text-align: center;
  padding: 20px;
  color: #666;
  border-top: 1px solid #2a2a30;
  margin-top: 50px;
}