/* ADRIANA VERGEL — ACOMPAÑAMIENTO HORMONAL — STYLES */
/* Paleta: Dusty Rose + Deep Plum */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { -webkit-font-smoothing: antialiased; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 1rem 2rem; background: linear-gradient(135deg, #5B2245 0%, #7A3D63 100%);
  color: white; font-size: 0.875rem; font-weight: 600; font-family: 'Nunito Sans', sans-serif;
  text-decoration: none; cursor: pointer; border: none; border-radius: 9999px;
  box-shadow: 0 4px 20px rgba(91, 34, 69, 0.25); transition: all 0.3s ease;
}
.btn-primary:hover {
  transform: translateY(-2px); box-shadow: 0 10px 35px rgba(91, 34, 69, 0.35);
  background: linear-gradient(135deg, #3E1730 0%, #5B2245 100%);
}

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 1rem 2rem; background-color: transparent; color: #5B2245;
  font-size: 0.875rem; font-weight: 600; font-family: 'Nunito Sans', sans-serif;
  border: 2px solid #5B2245; text-decoration: none; cursor: pointer;
  border-radius: 9999px; transition: all 0.3s ease;
}
.btn-outline:hover {
  background: linear-gradient(135deg, #5B2245 0%, #7A3D63 100%);
  color: white; border-color: transparent; transform: translateY(-2px);
}

.btn-white {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 1rem 2rem; background-color: white; color: #5B2245;
  font-size: 0.875rem; font-weight: 600; font-family: 'Nunito Sans', sans-serif;
  text-decoration: none; cursor: pointer; border: none; border-radius: 9999px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1); transition: all 0.3s ease;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }

.btn-outline-white {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 1rem 2rem; background-color: transparent; color: white;
  font-size: 0.875rem; font-weight: 600; font-family: 'Nunito Sans', sans-serif;
  border: 2px solid rgba(255,255,255,0.6); text-decoration: none; cursor: pointer;
  border-radius: 9999px; transition: all 0.3s ease;
}
.btn-outline-white:hover {
  background-color: white; color: #5B2245; border-color: white; transform: translateY(-2px);
}

/* ===== NAVIGATION ===== */
.nav-link {
  position: relative; font-size: 0.875rem; font-weight: 500; color: #2D2226;
  text-decoration: none; padding: 0.5rem 0; transition: color 0.3s ease;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, #5B2245, #C9909A); transition: width 0.3s ease;
}
.nav-link:hover { color: #5B2245; }
.nav-link:hover::after { width: 100%; }

.mobile-nav-link {
  display: block; font-size: 1.125rem; font-weight: 500; color: #2D2226;
  text-decoration: none; padding: 0.75rem 0;
  border-bottom: 1px solid rgba(91, 34, 69, 0.08); transition: all 0.3s ease;
}
.mobile-nav-link:hover { color: #5B2245; padding-left: 0.5rem; }

/* ===== CART ===== */
.cart-badge {
  position: absolute; top: -4px; right: -4px; width: 18px; height: 18px;
  background: linear-gradient(135deg, #5B2245, #7A3D63); color: white;
  font-size: 10px; font-weight: 700; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ===== PRODUCT CARDS ===== */
.product-card {
  background: white; border-radius: 1.5rem; overflow: hidden;
  transition: all 0.4s ease; border: 1px solid rgba(91, 34, 69, 0.04);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(91, 34, 69, 0.12);
  border-color: rgba(91, 34, 69, 0.1);
}
.product-card-image { position: relative; aspect-ratio: 1; overflow: hidden; }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.product-card:hover .product-card-image img { transform: scale(1.08); }

.product-card-badge {
  position: absolute; top: 1rem; left: 1rem; padding: 0.375rem 0.75rem;
  color: white; font-size: 0.625rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; border-radius: 9999px; z-index: 10;
}
.product-add-btn {
  position: absolute; bottom: 1rem; right: 1rem; width: 3rem; height: 3rem;
  background: white; border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; transform: translateY(1rem);
  transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  color: #5B2245; z-index: 10;
}
.product-card:hover .product-add-btn { opacity: 1; transform: translateY(0); }
.product-add-btn:hover { background: linear-gradient(135deg, #5B2245, #7A3D63); color: white; }
.product-card-content { padding: 1.5rem; }

/* ===== PAIN CARDS ===== */
.pain-card {
  background: white; border-radius: 1.25rem; padding: 2rem;
  border: 1px solid rgba(91, 34, 69, 0.06); transition: all 0.4s ease;
}
.pain-card:hover {
  border-color: rgba(91, 34, 69, 0.15);
  box-shadow: 0 15px 40px rgba(91, 34, 69, 0.08); transform: translateY(-4px);
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
  background: white; border-radius: 1.25rem; padding: 2rem;
  border: 1px solid rgba(91, 34, 69, 0.06); transition: all 0.3s ease;
}
.testimonial-card:hover { box-shadow: 0 10px 30px rgba(91, 34, 69, 0.08); }

/* ===== FAQ ===== */
.faq-item {
  background: #F7F0F0; border-radius: 1rem; overflow: hidden;
  transition: all 0.3s ease; border: 1px solid rgba(91, 34, 69, 0.04);
}
.faq-item:hover { border-color: rgba(91, 34, 69, 0.1); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem; background: none; border: none; text-align: left;
  cursor: pointer; font-size: 1rem; font-weight: 500; color: #2D2226;
  font-family: 'Nunito Sans', sans-serif;
}
.faq-question:hover { color: #5B2245; }
.faq-icon { width: 1.5rem; height: 1.5rem; color: #5B2245; transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-content { padding: 0 1.5rem 1.5rem; color: #7A6B70; line-height: 1.7; }

/* ===== ZIGZAG ===== */
.zigzag-image { transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.zigzag-image:hover { transform: scale(1.03); }

/* ===== QUIZ ===== */
.quiz-option {
  width: 100%; display: flex; align-items: center; gap: 0.75rem;
  padding: 1rem 1.25rem; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 0.75rem;
  color: rgba(255,255,255,0.85); font-family: 'Nunito Sans', sans-serif;
  font-size: 0.9rem; cursor: pointer; transition: all 0.25s ease; text-align: left;
}
.quiz-option:hover { background: rgba(255,255,255,0.1); border-color: rgba(201,144,154,0.4); }
.quiz-option.selected { background: rgba(201,144,154,0.15); border-color: #C9909A; color: white; }
.quiz-option .radio-dot {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.3);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all 0.25s ease;
}
.quiz-option.selected .radio-dot { border-color: #C9909A; background: #C9909A; }
.quiz-option.selected .radio-dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: white; }

.quiz-progress-bar { height: 4px; background: rgba(255,255,255,0.1); border-radius: 999px; overflow: hidden; }
.quiz-progress-fill { height: 100%; background: linear-gradient(90deg, #C9909A, #D4A5AE); border-radius: 999px; transition: width 0.5s ease; }
.quiz-result-bar { height: 8px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,0.08); }
.quiz-result-fill { height: 100%; border-radius: 999px; transition: width 1s ease; }

/* ===== UTILITIES ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #F7F0F0; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #5B2245, #C9909A); border-radius: 4px; }
::selection { background: #5B2245; color: white; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .btn-primary, .btn-outline, .btn-white, .btn-outline-white {
    padding: 0.875rem 1.5rem; font-size: 0.8125rem;
  }
}
