:root {
  /* Paleta Sobria y Elegante (Tonos Rosados/Morados empolvados y oscuros) */
  --primary-color: #925C77; /* Rosa empolvado / Malva (Dusty Rose) */
  --secondary-color: #413347; /* Morado berenjena oscuro y sobrio */
  --accent-color: #B57A8C; /* Rosa viejo medio para botones y detalles */
  --text-dark: #332B36; /* Gris carbón con ligero tinte morado */
  --text-light: #ffffff;
  --bg-light: #F8F6F8; /* Blanco roto con levísimo tinte cálido/malva */

  /* Versiones más oscuras para hover y contrastes */
  --primary-dark: #75485E;
  --secondary-dark: #2C2230;
  --accent-dark: #966072;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--text-light);
  padding: 15px 30px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(38, 192, 224, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
  font-size: 1.1rem;
  border: none;
  text-align: center;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(38, 192, 224, 0.5);
  background-color: var(--accent-dark);
}

.btn-inverted {
  background-color: #fff;
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(146, 92, 119, 0.2);
}

.btn-inverted:hover {
  background-color: #fff;
  color: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(146, 92, 119, 0.4);
}

.btn-full {
  width: 100%;
}

.small-note {
  font-size: 0.8rem;
  margin-top: 10px;
  color: #666;
}

/* Hero Section */
.hero {
  background-color: var(--bg-light);
  background-image: radial-gradient(rgba(65, 51, 71, 0.08) 2px, transparent 2px);
  background-size: 30px 30px;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  color: var(--text-dark);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text {
  flex: 1;
}

.hero-badge {
  background-color: var(--accent-color);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-dark);
}

.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-height: 500px;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.2));
}

/* Features */
.features {
  padding: 80px 0;
  background-color: #fff;
  text-align: center;
}

.features h2 {
  font-size: 2.2rem;
  margin-bottom: 50px;
  color: var(--secondary-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--bg-light);
  padding: 40px 30px;
  border-radius: 15px;
  border-top: 5px solid var(--primary-color);
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card h3 {
  margin-bottom: 15px;
  color: var(--secondary-color);
}

/* What You Get */
.what-you-get {
  background-color: var(--secondary-color);
  color: white;
  padding: 80px 0;
}

.what-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.what-content h2 {
  margin-bottom: 30px;
  font-size: 2.2rem;
  text-align: center;
}

.index-preview {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px 40px;
  border-radius: 15px;
  backdrop-filter: blur(5px);
}

.what-list {
  list-style: none;
  font-size: 1.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px 30px;
}

.what-list li {
  display: flex;
  align-items: center;
}

.what-list li::before {
  content: "✓";
  background-color: var(--accent-color);
  color: black;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-weight: bold;
  font-size: 0.9rem;
}

/* Author Section */
.author-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.author-container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.author-img-wrapper {
  flex: 1;
  text-align: center;
}

.author-img-wrapper img {
  border-radius: 50%;
  width: 250px;
  height: 250px;
  object-fit: cover;
  margin: 0 auto;
  border: 5px solid var(--accent-color);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.author-text {
  flex: 2;
}

.author-text h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 2rem;
}

.author-text p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

/* Offer */
.offer {
  padding: 100px 0;
  background-color: #F3EEF4;
  background-image: radial-gradient(rgba(146, 92, 119, 0.08) 2px, transparent 2px);
  background-size: 25px 25px;
  text-align: center;
}

.offer-box {
  background: white;
  border: 3px solid var(--accent-color);
  border-radius: 20px;
  padding: 50px 40px;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 15px 40px rgba(38, 192, 224, 0.15);
}

.discount-badge {
  position: absolute;
  top: -25px;
  right: -25px;
  background: var(--primary-color);
  color: white;
  padding: 15px;
  border-radius: 50%;
  font-weight: bold;
  transform: rotate(15deg);
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(146, 92, 119, 0.4);
  font-size: 1.1rem;
}

.offer-box h2 {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.price-container {
  margin: 30px 0;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 15px;
}

.old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 1.5rem;
}

.new-price {
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.guarantee {
  margin-top: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #666;
}

.offer-details {
  margin-top: 30px;
  text-align: left;
  font-size: 1rem;
  background: var(--bg-light);
  padding: 20px;
  border-radius: 10px;
}

.offer-details p {
  margin-bottom: 8px;
}

/* Efecto Pulse para CTA */
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 4px 15px rgba(181, 122, 140, 0.3); }
  50% { transform: scale(1.05); box-shadow: 0 6px 20px rgba(181, 122, 140, 0.6); }
  100% { transform: scale(1); box-shadow: 0 4px 15px rgba(181, 122, 140, 0.3); }
}

.btn-pulse {
  animation: pulse 2s infinite;
}

.btn-pulse:hover {
  animation: none;
  transform: translateY(-3px) scale(1.02);
}

/* Base Footer */
footer {
  background-color: var(--secondary-color);
  color: white;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9rem;
}

.footer-links {
  margin-bottom: 15px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 10px;
  font-size: 0.85rem;
  text-decoration: underline;
}

.footer-links a:hover {
  color: white;
}

/* Sección FAQ */
.faq {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.faq h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: var(--secondary-color);
  text-align: center;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  margin-bottom: 15px;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--text-dark);
  list-style: none; /* Ocultar flecha nativa */
  position: relative;
  font-size: 1.1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  font-size: 1.5rem;
  color: var(--accent-color);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '-';
}

.faq-item p {
  margin-top: 15px;
  color: #555;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  box-shadow: 2px 2px 15px rgba(0,0,0,0.3);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
}

.testimonials {
  padding: 60px 0;
  background-color: #fff;
  text-align: center;
}

.testimonials h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.carousel-container {
  overflow: hidden;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  scrollbar-width: thin;
}

.carousel-track::-webkit-scrollbar {
  height: 8px;
}

.carousel-track::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.carousel-track::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

.carousel-card {
  min-width: 100%;
  flex: 0 0 100%;
  background: var(--bg-light);
  padding: 40px 30px;
  border-radius: 15px;
  border-left: 5px solid var(--secondary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  scroll-snap-align: center;
}

.review-text {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #555;
}

.review-author {
  font-weight: bold;
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-image img {
    max-height: 400px;
  }

  .author-container {
    text-align: center;
  }

  .what-list {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float img {
    width: 30px;
    height: 30px;
  }
}