/* Global Styles */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #e74c3c;
  --accent-color: #3498db;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --text-color: #333;
  --text-light: #7f8c8d;
}

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

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #f9f9f9;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Merriweather", serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

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

/* Button Styles */
.cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  background-color: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  color: white;
}

/* Header */
.hero {
  background: linear-gradient(135deg, var(--primary-color), #34495e);
  color: white;
  padding: 40px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: white;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero .subtitle {
  font-size: 1.4rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* About Book Section */
.about-book {
  padding: 30px 0;
  background-color: white;
}

.about-book .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
}

.book-cover {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.book-cover img {
  max-width: 60%;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.book-cover img:hover {
  transform: scale(1.03);
}

.book-info {
  flex: 1;
  min-width: 300px;
}

.features {
  list-style: none;
  margin: 30px 0;
}

.features li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.features li:before {
  content: "✓";
  color: #27ae60;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Benefits Section */
.benefits {
  padding: 80px 0;
  background-color: #f5f7fa;
}

.benefits h2 {
  text-align: center;
  margin-bottom: 50px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.benefit-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.benefit-card h3 {
  color: var(--accent-color);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

/* CTA Section */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--accent-color), #2980b9);
  color: white;
  text-align: center;
}

.cta h2 {
  color: white;
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.9);
}

.cta .cta-button {
  background-color: white;
  color: var(--accent-color);
  border: 2px solid white;
}

.cta .cta-button:hover {
  background-color: transparent;
  color: white;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  text-align: center;
  padding: 30px 0;
  font-size: 0.9rem;
}

footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero .subtitle {
    font-size: 1.2rem;
  }

  .about-book .container {
    flex-direction: column;
    text-align: center;
  }

  .book-cover,
  .book-info {
    min-width: 100%;
  }

  .features {
    text-align: left;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }
}
