/* Base styles and reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.min-h-screen {
  min-height: 100vh;
}

/* SEO hidden text */
.seo-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(to right, #1a2b47, #2a3b57);
  color: white;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.8;
  z-index: 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.book-cover-container {
  position: relative;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .book-cover-container {
    width: 45%;
    margin-bottom: 0;
  }
  
  .hero-text {
    width: 50%;
  }
}

.book-cover {
  max-width: 100%;
  height: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  transition: transform 0.5s ease;
}

.book-cover:hover {
  transform: scale(1.03) rotate(1deg);
}

.rating-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background-color: #ffc107;
  color: #1a2b47;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 9999px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: rotate(12deg);
}
.hero-text {
  text-align: center;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.hero-text h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: #e0e0e0;
  font-weight: 500;
}

.author {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.author span {
  font-weight: 600;
}

.tagline {
  color: #e0e0e0;
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* Button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn svg {
  margin-left: 8px;
}

.btn-primary {
  background-color: #00b3b0;
  color: white;
}

.btn-primary:hover {
  background-color: #009a97;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  border: 2px solid white;
  color: white;
}

.btn-secondary:hover {
  background-color: white;
  color: #1a2b47;
}

.btn-outline {
  background-color: white;
  border: 2px solid #1a2b47;
  color: #1a2b47;
}

.btn-outline:hover {
  background-color: #1a2b47;
  color: white;
}

.btn-accent {
  background-color: #ffc107;
  color: #1a2b47;
}

.btn-accent:hover {
  background-color: #e5ac00;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.full-width {
  width: 100%;
}

/* Value Proposition Section */
.value-section {
  padding: 64px 0;
  background-color: white;
}

.value-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #1a2b47;
  margin-bottom: 48px;
}

.value-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .value-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .value-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.icon-circle {
  width: 64px;
  height: 64px;
  background-color: #1a2b47;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.icon-circle svg {
  color: white;
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.value-card p {
  color: #666;
}

/* Book Overview Section */
.book-overview-section {
  padding: 64px 0;
  background-color: #f5f5f5;
}

.book-overview-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #1a2b47;
  margin-bottom: 48px;
}

.book-overview-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.book-overview-content p {
  margin-bottom: 24px;
}

.highlight {
  font-weight: 600;
}

.book-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

@media (min-width: 640px) {
  .book-details-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.book-details-col h3 {
  font-size: 1.125rem;
  margin-bottom: 16px;
  color: #1a2b47;
}

.book-details-col ul li {
  margin-bottom: 8px;
  color: #666;
}

.formats-list li {
  display: flex;
  justify-content: space-between;
}

.price {
  font-weight: 600;
}

/* Author Section */
.author-section {
  padding: 64px 0;
  background-color: white;
}

.author-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #1a2b47;
  margin-bottom: 48px;
}

.author-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: #f5f5f5;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.author-content h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: #1a2b47;
}

.author-content p {
  margin-bottom: 16px;
}

/* Testimonials Section */
.testimonials-section {
  padding: 64px 0;
  background-color: #f5f5f5;
}

.testimonials-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #1a2b47;
  margin-bottom: 32px;
}

.rating-display {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 48px;
}

.rating-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1a2b47;
  margin-right: 16px;
}

.stars {
  display: flex;
  color: #ffc107;
}

.rating-info {
  color: #666;
  margin-top: 4px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.testimonial {
  background-color: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 60px;
  color: rgba(0, 179, 176, 0.2);
  font-family: Georgia, serif;
}

.testimonial-stars {
  display: flex;
  color: #ffc107;
  margin-bottom: 8px;
}

.testimonial p {
  margin-bottom: 16px;
  color: #555;
}

.testimonial-author {
  font-weight: 600;
}

/* Book Excerpt Section */
.excerpt-section {
  padding: 64px 0;
  background-color: white;
}

.excerpt-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #1a2b47;
  margin-bottom: 48px;
}

.excerpt-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: #f5f5f5;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #00b3b0;
}

.excerpt-content p {
  font-style: italic;
  margin-bottom: 24px;
  color: #555;
}

.excerpt-content .btn {
  margin-top: 8px;
}

/* Final CTA Section */
.final-cta-section {
  padding: 64px 0;
  background: linear-gradient(to right, #1a2b47, #2a3b57);
  color: white;
  text-align: center;
}

.final-cta-section h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.final-cta-section p {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 32px;
  color: #e0e0e0;
}

.pricing-card {
  max-width: 400px;
  margin: 0 auto 24px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 32px;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 1.125rem;
}

.pricing-row:last-of-type {
  margin-bottom: 24px;
}

.pricing-row .price {
  font-weight: bold;
}

.limited-offer {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  padding: 8px 16px;
  font-size: 0.875rem;
}

/* Footer */
.footer {
  background-color: #1a1a1a;
  color: #999;
  padding: 32px 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-links {
  /*display: flex;*/
  display: none;
  gap: 24px;
  margin-top: 16px;
}

@media (min-width: 768px) {
  .footer-links {
    margin-top: 0;
  }
}

.footer-links a {
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

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

.animate-fadeIn {
  animation: fadeIn 0.8s ease-out forwards;
}

/* Accessibility improvements */
:focus {
  outline: 2px solid #00b3b0;
  outline-offset: 2px;
}
