* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background: linear-gradient(135deg, #2f4f4f 0%, #1a3a3a 100%);
  color: white;
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #2f4f4f 0%, #1a3a3a 100%);
}

.main-logo {
  margin-bottom: 40px;
}

.logo-large {
  width: 150px;
  height: 150px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-large img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  color: #d4af37;
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  color: #d4af37;
  font-size: 20px;
  margin-bottom: 50px;
  font-weight: 500;
}

/* Ebooks Section */
.ebooks-section {
  padding: 80px 0;
  background: #2f4f4f;
}

.ebooks-section--compact {
  padding-top: 40px; /* half of 80px */
}

.section-title {
  text-align: center;
  font-size: 40px;
  color: #d4af37;
  margin-bottom: 60px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.ebooks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
  max-width: 1200px;
}

.ebook-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.ebook-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.1),
    transparent
  );
  transition: left 0.5s;
}

.ebook-card:hover::before {
  left: 100%;
}

.ebook-card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: #d4af37;
  box-shadow: 0 25px 50px rgba(212, 175, 55, 0.4);
}

.ebook-cover {
  width: 100%;
  height: 280px;
  margin: 0 auto 25px;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition: transform 0.3s ease;
  border: 3px solid #d4af37;
  background: white;
}

.ebook-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ebook-card:hover .ebook-cover {
  transform: scale(1.05);
  box-shadow: 0 25px 50px rgba(212, 175, 55, 0.3);
}

.ebook-title {
  font-size: 32px;
  color: #d4af37;
  margin-bottom: 20px;
  font-weight: bold;
}

.ebook-description {
  color: #e0e0e0;
  margin-bottom: 25px;
  line-height: 1.7;
  font-size: 18px;
}

.ebook-price {
  font-size: 36px;
  color: #d4af37;
  font-weight: bold;
  margin-bottom: 25px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Now using price-container instead of ebook-price for new price structure */

.price-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 35px;
}

.old-price {
  font-size: 24px;
  color: #888;
  text-decoration: line-through;
  opacity: 0.7;
}

.new-price {
  font-size: 36px;
  color: #d4af37;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.ebook-btn {
  background: linear-gradient(45deg, #d4af37, #f4d03f);
  color: #2f4f4f;
  padding: 18px 40px;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ebook-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.5);
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background: #1a3a3a;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-item {
  text-align: center;
  padding: 30px 15px;
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(45deg, #d4af37, #f4d03f);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #1a3a3a;
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.feature-title {
  font-size: 20px;
  color: #d4af37;
  margin-bottom: 15px;
  font-weight: bold;
}

.feature-description {
  color: #e0e0e0;
  line-height: 1.6;
  font-size: 14px;
}

/* Footer */
.footer {
  background: #206060;
  padding: 60px 0 30px;
  text-align: center;
}

.footer-logo {
  margin-bottom: 30px;
}

.footer-logo .logo-large {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}

.footer-text {
  color: #d4af37;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.contact-info {
  color: white;
  margin-bottom: 30px;
}

.contact-info p {
  margin-bottom: 10px;
  font-size: 16px;
}

.copyright {
  color: #ccc;
  font-size: 14px;
  border-top: 1px solid #2f4f4f;
  padding-top: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .ebooks-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 0 60px;
  }

  .logo-text {
    font-size: 28px;
  }

  .logo-large {
    width: 120px;
    height: 120px;
  }

  .section-title {
    font-size: 32px;
  }

  .ebooks-grid {
    justify-content: center;
  }

  .ebooks-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ebook-card {
    padding: 25px 15px;
  }

  .ebook-title {
    font-size: 28px;
  }

  .ebook-description {
    font-size: 16px;
  }

  .ebook-price {
    font-size: 32px;
  }

  .old-price {
    font-size: 20px;
  }

  .new-price {
    font-size: 32px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .features-section {
    padding: 60px 0;
  }

  .feature-item {
    padding: 25px 15px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 60px 0 40px;
  }

  .logo-text {
    font-size: 24px;
  }

  .logo-large {
    width: 100px;
    height: 100px;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .ebook-card {
    padding: 20px 10px;
  }

  .ebook-cover {
    height: 250px;
  }

  .ebook-title {
    font-size: 24px;
  }

  .ebook-description {
    font-size: 15px;
  }

  .ebook-price {
    font-size: 28px;
  }

  .old-price {
    font-size: 18px;
  }

  .new-price {
    font-size: 28px;
  }

  .ebook-btn {
    padding: 15px 30px;
    font-size: 16px;
  }

  .features-section {
    padding: 50px 0;
  }

  .feature-item {
    padding: 20px 10px;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .feature-title {
    font-size: 18px;
  }

  .feature-description {
    font-size: 13px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ebook-card {
  animation: fadeInUp 0.8s ease-out;
}

/* Single Ebook Page Styles */
.single-ebook {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 40px;
  text-align: center;
}

.download-section {
  margin-top: 40px;
  padding: 30px 0;
}

.download-btn {
  background: linear-gradient(45deg, #d4af37, #f4d03f);
  color: #2f4f4f;
  padding: 25px 60px;
  border: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 28px;
  cursor: pointer;
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
  position: relative;
  overflow: hidden;
}

.download-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s;
}

.download-btn:hover::before {
  left: 100%;
}

.download-btn:hover {
  transform: scale(1.08) translateY(-5px);
  box-shadow: 0 25px 50px rgba(212, 175, 55, 0.6);
}

@media (max-width: 768px) {
  .single-ebook {
    padding: 40px 20px;
  }

  .download-btn {
    padding: 20px 40px;
    font-size: 24px;
    letter-spacing: 1px;
  }
}

@media (max-width: 480px) {
  .download-btn {
    padding: 18px 30px;
    font-size: 20px;
  }
}

/* Download Only Page - Large Golden Button */
.download-only-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #2f4f4f 0%, #1a3a3a 100%);
  padding: 60px 20px;
}

.download-btn-large {
  background: linear-gradient(45deg, #d4af37, #f4d03f);
  color: #2f4f4f;
  padding: 40px 100px;
  border: none;
  border-radius: 60px;
  font-weight: bold;
  font-size: 48px;
  cursor: pointer;
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.4);
  position: relative;
  overflow: hidden;
  text-align: center;
  min-width: 500px;
}

.download-btn-large::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.8s;
}

.download-btn-large:hover::before {
  left: 100%;
}

.download-btn-large:hover {
  transform: scale(1.1) translateY(-10px);
  box-shadow: 0 30px 60px rgba(212, 175, 55, 0.6);
}

/* Responsive for large button */
@media (max-width: 768px) {
  .download-btn-large {
    padding: 30px 60px;
    font-size: 36px;
    letter-spacing: 2px;
    min-width: 400px;
  }
}

@media (max-width: 480px) {
  .download-btn-large {
    padding: 25px 40px;
    font-size: 28px;
    letter-spacing: 1px;
    min-width: 300px;
  }

  .download-only-section {
    padding: 20px;
  }
}
