:root {
--primary: #019863;      /* Verde principal (botones, acentos) - del diseño */
--secondary: #46a080;    /* Verde secundario (subtítulos, links) - del diseño */
--neutral: #f8fcfa;      /* Fondo claro - del diseño */
--text: #0c1c17;         /* Texto oscuro - del diseño */
--border: #e6f4ef;       /* Borde claro - del diseño */
}

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

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--neutral);
  color: var(--text);
  line-height: 1.6;
}

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

/* Header */
.book-header {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 15px 0;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
}
.logo img {
  height: 40px;
  margin-right: 10px;
}
.logo span {
  font-weight: 700;
  font-size: 1.2rem;
}

/* Hero Section */
.book-hero {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px 0;
  flex-wrap: wrap;
}
.book-cover {
  max-width: 300px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.book-info {
  flex: 1;
  min-width: 300px;
}
.book-info h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: var(--primary);
}
.subtitle {
  font-size: 1.2rem;
  color: var(--light-text);
  margin-bottom: 25px;
}

/* Buy Button */
.buy-btn {
  display: inline-block;
  background: var(--secondary);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}
.buy-btn:hover {
  background: #388E3C;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}
.buy-btn.large {
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* Sections */
.book-section {
  margin: 40px 0;
  padding: 30px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.book-section h2 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.8rem;
}

/* TOC Grid */
.toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.toc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #eee;
}
.term {
  font-weight: 600;
  flex: 1;
}
.read-aloud {
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.read-aloud:hover {
  background: #F57C00;
  transform: scale(1.1);
}

/* Benefits List */
.benefits-list {
  list-style: none;
}
.benefits-list li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
}
.benefits-list li:before {
  content: "✓";
  color: var(--secondary);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 20px;
}
.testimonial {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  border-left: 4px solid var(--accent);
}
.testimonial p {
  font-style: italic;
  margin-bottom: 15px;
}
.author {
  font-weight: 600;
  color: var(--primary);
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 50px 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
  border-radius: 15px;
  margin: 40px 0;
}
.cta-section h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--text);
}

/* Footer */
.book-footer {
  background: #333;
  color: white;
  padding: 30px 0;
  text-align: center;
  margin-top: 50px;
}
.book-footer a {
  color: var(--accent);
  text-decoration: none;
}
.book-footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .book-hero {
    flex-direction: column;
    text-align: center;
  }
  .book-info {
    margin-top: 20px;
  }
  .book-cover {
    max-width: 100%;
  }
}

/* Header & Navigation */
.book-header {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.logo span {
  font-weight: 700;
  font-size: 1.2rem;
}

.main-nav .nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 25px;
}

.main-nav .nav-list li a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s;
}

.main-nav .nav-list li a:hover {
  color: var(--primary);
}

/* Dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn .arrow {
  font-size: 0.8rem;
  margin-left: 5px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  z-index: 1;
  border-radius: 8px;
  padding: 10px 0;
}

.dropdown-content li {
  display: block;
  width: 100%;
}

.dropdown-content li a {
  color: var(--text);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content li a:hover {
  background-color: #f1f1f1;
  color: var(--primary);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

/* Responsive */
@media (max-width: 768px) {
  .main-nav .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 15px;
  }

  .main-nav .nav-list.active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    padding: 0;
    background: transparent;
  }

  .dropdown-content li a {
    padding: 10px 15px;
    border-radius: 5px;
  }
}

/* Sticky Header Effect */
.book-header.sticky {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
}