/* ==========================================================================
   SUPER PATCH - MASTER COMPONENTS (CARDS, QUIZ, MODALS, ACCORDIONS, TABS)
   ========================================================================== */

/* ==========================================================================
   PRODUCT CARDS SYSTEM
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 32px;
}

/* ==========================================================================
   PRODUCT CAROUSEL SYSTEM (3-AT-A-TIME WITH HOVER SLIDER CONTROLLERS)
   ========================================================================== */
.product-carousel-container {
  position: relative;
  width: 100%;
}

.product-carousel-header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  color: var(--text-dark);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-arrow-btn:hover {
  background: var(--brand-purple);
  color: #ffffff;
  border-color: var(--brand-purple);
  box-shadow: 0 6px 18px rgba(112, 66, 244, 0.35);
  transform: translateY(-2px);
}

/* Floating Hover Slider Controllers */
.floating-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(226, 232, 240, 0.9);
  color: var(--text-dark);
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) scale(0.85);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-carousel-arrow.arrow-prev {
  left: -24px;
}

.floating-carousel-arrow.arrow-next {
  right: -24px;
}

.product-carousel-container:hover .floating-carousel-arrow {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}

.floating-carousel-arrow:hover {
  background: var(--brand-purple);
  color: #ffffff;
  border-color: var(--brand-purple);
  box-shadow: 0 14px 35px rgba(112, 66, 244, 0.45);
  transform: translateY(-50%) scale(1.1);
}

.floating-carousel-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.product-carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 16px 4px 30px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.product-carousel-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

/* Exactly 3 Products Visible at a time on desktop */
.product-carousel-track .product-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
  scroll-snap-align: start;
  user-select: none;
}

@media (max-width: 1024px) {
  .product-carousel-track .product-card {
    flex: 0 0 calc((100% - 24px) / 2);
    min-width: calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }
  .floating-carousel-arrow {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
  }
  .floating-carousel-arrow.arrow-prev { left: -10px; }
  .floating-carousel-arrow.arrow-next { right: -10px; }
}

@media (max-width: 680px) {
  .product-carousel-track .product-card {
    flex: 0 0 calc(100% - 20px);
    min-width: calc(100% - 20px);
    max-width: calc(100% - 20px);
  }
  .floating-carousel-arrow {
    display: none;
  }
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--card-accent-grad, var(--grad-primary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(199, 210, 254, 0.8);
}

.product-card:hover::before {
  opacity: 1;
}

.card-top-badges {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.patch-type-badge {
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.patch-visual-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  padding: 24px 16px;
  background: var(--card-bg-gradient, linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 230px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.patch-real-img {
  width: 100%;
  max-width: 200px;
  height: 200px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.12));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.product-card:hover .patch-real-img {
  transform: scale(1.06) translateY(-4px);
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.18));
}

.product-card:hover .patch-visual-wrapper {
  transform: scale(1.02);
}

/* Custom Styled CSS Pouch & Patch Mockup */
.pouch-mockup {
  width: 140px;
  height: 180px;
  border-radius: 12px;
  background: var(--pouch-grad, var(--grad-primary));
  box-shadow: 0 16px 30px -8px rgba(15, 23, 42, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 12px;
  color: #ffffff;
  position: relative;
  transform: perspective(600px) rotateY(-8deg) rotateX(4deg);
  transition: transform 0.4s ease;
}

.product-card:hover .pouch-mockup {
  transform: perspective(600px) rotateY(0deg) rotateX(0deg) scale(1.05);
}

.pouch-brand {
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  font-weight: 800;
  text-align: center;
  opacity: 0.9;
}

.pouch-mid {
  text-align: center;
  margin: auto 0;
}

.pouch-sub {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.85;
}

.pouch-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.pouch-bot {
  font-size: 0.525rem;
  line-height: 1.2;
  opacity: 0.85;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 6px;
}

/* Floating Patch Square */
.floating-patch-sample {
  position: absolute;
  bottom: 12px;
  right: 18px;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: #f4d090;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  border: 1px dashed #dca54c;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(12deg);
  transition: transform 0.3s ease;
}

.product-card:hover .floating-patch-sample {
  transform: rotate(0deg) scale(1.1);
}

.patch-ridge-pattern {
  width: 32px;
  height: 32px;
  background-image: radial-gradient(#b87b28 1.5px, transparent 1.5px);
  background-size: 6px 6px;
  opacity: 0.7;
}

/* Product Info */
.product-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.825rem;
  color: var(--text-muted);
}

.star-rating {
  color: #fbbf24;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.card-benefit-tagline {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-purple);
  margin-bottom: 12px;
}

.card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.card-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.card-pill {
  font-size: 0.725rem;
  font-weight: 600;
  padding: 3px 8px;
  background: var(--bg-tertiary);
  color: var(--text-body);
  border-radius: var(--radius-sm);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  margin-top: auto;
}

.card-price-block {
  display: flex;
  flex-direction: column;
}

.card-price-label {
  font-size: 0.725rem;
  color: var(--text-light);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.card-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.card-original-price {
  font-size: 0.875rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 600;
}

.card-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-dark);
}

.card-actions-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-card-quickview {
  background: var(--bg-secondary);
  color: var(--text-dark);
  padding: 9px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid var(--border-light);
}

.btn-card-quickview:hover {
  background: #ffffff;
  border-color: var(--brand-purple);
  color: var(--brand-purple);
}

.btn-card-buy {
  background: var(--grad-primary);
  color: #ffffff;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(112, 66, 244, 0.25);
  transition: all 0.2s ease;
}

.btn-card-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(112, 66, 244, 0.4);
}

/* ==========================================================================
   INTERACTIVE "FIND YOUR PATCH" QUIZ ENGINE
   ========================================================================== */
.quiz-section-wrapper {
  background: linear-gradient(180deg, #faf5ff 0%, #ffffff 100%);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(226, 232, 240, 0.8);
  padding: 48px 36px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.quiz-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.quiz-progress-bar-container {
  max-width: 400px;
  margin: 0 auto 32px;
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  width: 33.33%;
  background: var(--grad-primary);
  border-radius: var(--radius-pill);
  transition: width 0.4s ease;
}

.quiz-step-container {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.quiz-step-container.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz-step-title {
  font-size: 1.35rem;
  font-weight: 800;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 820px;
  margin: 0 auto 32px;
}

.quiz-option-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.quiz-option-card:hover {
  border-color: var(--brand-purple);
  background: var(--brand-purple-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.quiz-option-card.selected {
  border-color: var(--brand-purple);
  background: #f5f0ff;
  box-shadow: 0 0 0 2px var(--brand-purple);
}

.quiz-option-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--bg-secondary);
}

.quiz-option-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
}

.quiz-option-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.quiz-nav-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

/* Quiz Result Card */
.quiz-result-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 2px solid var(--brand-purple);
  padding: 36px;
  box-shadow: var(--shadow-xl);
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.quiz-result-match-badge {
  background: var(--brand-emerald-light);
  color: var(--brand-emerald);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 16px;
}

.quiz-result-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 24px auto 28px;
  background: radial-gradient(circle, #ffffff 0%, #f8fafc 100%);
  border-radius: 24px;
  padding: 28px 20px;
  max-width: 300px;
  box-shadow: 0 12px 32px rgba(112, 66, 244, 0.08);
  border: 1.5px solid #ede9fe;
}

.quiz-result-patch-img {
  width: 100%;
  max-width: 230px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.16));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.quiz-result-patch-img:hover {
  transform: scale(1.05) translateY(-4px);
}

/* ==========================================================================
   HOW IT WORKS 3-STEP FLOW
   ========================================================================== */
.how-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.how-step-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.how-step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-focus);
}

.step-num-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 6px 16px rgba(112, 66, 244, 0.3);
}

.step-icon-visual {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 20px;
  border: 1px solid var(--border-light);
}

.how-step-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.how-step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Connecting Arrow for Desktop */
.step-connector-arrow {
  position: absolute;
  top: 40%;
  right: -20px;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--border-focus);
  z-index: 3;
}

/* ==========================================================================
   MODERN COMPARISON TABLE
   ========================================================================== */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 680px;
}

.comparison-table th, .comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.95rem;
}

.comparison-table th {
  background: var(--bg-secondary);
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text-dark);
}

.comparison-table th.col-highlight {
  background: #f5f0ff;
  color: var(--brand-purple);
  border-left: 2px solid var(--brand-purple);
  border-right: 2px solid var(--brand-purple);
}

.comparison-table td.col-highlight {
  background: rgba(245, 240, 255, 0.4);
  font-weight: 700;
  color: var(--brand-purple);
  border-left: 2px solid var(--brand-purple);
  border-right: 2px solid var(--brand-purple);
}

.check-icon {
  color: var(--brand-emerald);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cross-icon {
  color: #ef4444;
  font-weight: 700;
}

/* ==========================================================================
   REVIEWS & TESTIMONIALS SYSTEM
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-focus);
}

.review-quote-mark {
  font-size: 2.5rem;
  line-height: 1;
  font-family: var(--font-editorial);
  color: var(--brand-purple);
  opacity: 0.4;
  margin-bottom: 8px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
  font-style: italic;
}

.review-author-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  overflow: hidden;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.author-info h4 {
  font-size: 0.95rem;
  color: var(--text-dark);
}

.author-meta {
  font-size: 0.775rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.verified-badge-pill {
  color: var(--brand-emerald);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: var(--border-focus);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.faq-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  background: var(--brand-purple-light);
  color: var(--brand-purple);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 28px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

/* ==========================================================================
   QUICK VIEW MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: scale(0.94);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--text-dark);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: #e2e8f0;
}

.quickview-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 768px) {
  .modal-card {
    padding: 28px 18px;
    max-height: 94vh;
  }
  .quickview-modal-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==========================================================================
   INTELLIGENT WELLNESS COMPARISON TABLE
   ========================================================================== */
.comparison-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.comparison-pill-badge {
  display: inline-block;
  background: #ede9fe;
  color: #7c3aed;
  font-size: 0.825rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.comparison-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.comparison-heading-accent {
  font-style: italic;
  background: linear-gradient(135deg, #7c3aed 0%, #db2777 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.comparison-subhead {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.comparison-table-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  max-width: 1080px;
  margin: 0 auto;
}

.comparison-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 20px 24px;
  font-size: 0.95rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table th {
  font-weight: 800;
  color: #0f172a;
  background: #ffffff;
  padding-top: 24px;
  padding-bottom: 22px;
  border-bottom: 1.5px solid #e2e8f0;
}

/* Highlighted Super Patch Column */
.comparison-table .col-superpatch {
  background: rgba(245, 240, 255, 0.65);
  border-left: 1.5px solid #ddd6fe;
  border-right: 1.5px solid #ddd6fe;
}

.comparison-table th.col-superpatch {
  background: #f5f0ff;
  color: #7c3aed;
  font-weight: 900;
}

.comparison-table .feature-title {
  font-weight: 700;
  color: #0f172a;
}

.comparison-table .val-positive {
  color: #059669;
  font-weight: 700;
}

.comparison-table .val-negative {
  color: #ef4444;
  font-weight: 600;
}

/* ==========================================================================
   FREQUENTLY ASKED QUESTIONS (FAQ ACCORDION)
   ========================================================================== */
.faq-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.faq-pill-badge {
  display: inline-block;
  background: #ede9fe;
  color: #7c3aed;
  font-size: 0.825rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.faq-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.faq-heading-accent {
  font-style: italic;
  background: linear-gradient(135deg, #7c3aed 0%, #db2777 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.faq-subhead {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.faq-list-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
  overflow: hidden;
}

.faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

.faq-item.active {
  border-color: #c4b5fd;
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.08);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  cursor: pointer;
  user-select: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f172a;
  gap: 16px;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--brand-purple);
}

.faq-toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #64748b;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-toggle-icon {
  background: #f3e8ff;
  color: #7c3aed;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 28px;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 350px;
  padding: 0 28px 24px;
}

/* Responsive Components */
@media (max-width: 1024px) {
  .how-steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .step-connector-arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .quiz-section-wrapper {
    padding: 28px 18px;
  }
  .modal-card {
    padding: 28px 18px;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 16px 18px;
    font-size: 0.875rem;
  }
  .faq-question {
    padding: 18px 20px;
    font-size: 0.95rem;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 0 20px 18px;
  }
}

/* ==========================================================================
   WHAT IT CAN DO - TABBED LIFESTYLE SHOWCASE
   ========================================================================== */
.what-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

.what-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 48px;
}

.what-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
  width: 100%;
}

.what-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  padding: 10px;
  border-radius: 28px;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  max-width: 1100px;
}

.what-tab-btn {
  background: transparent;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: #64748b;
  padding: 10px 20px;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.what-tab-btn:hover {
  color: #0f172a;
  background: #f1f5f9;
  transform: translateY(-1px);
}

.what-tab-btn.active {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.2);
  transform: translateY(-1px);
}

/* Tab Content Panels */
.what-tab-panel {
  display: none;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  background: #ffffff;
  border-radius: 32px;
  padding: 48px;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
  animation: tabFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.what-tab-panel.active {
  display: grid;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Left Visual Card */
.what-visual-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 440px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.what-visual-container img.what-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.what-floating-patch-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  padding: 16px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 16px;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.what-floating-patch-badge img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.what-badge-title {
  font-weight: 800;
  font-size: 1rem;
  color: #ffffff;
}

.what-badge-sub {
  font-size: 0.8rem;
  color: #cbd5e1;
}

/* Right Content Column */
.what-content-col {
  display: flex;
  flex-direction: column;
}

.what-content-col h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 900;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 14px;
}

.what-content-col p.what-lead-desc {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 24px;
}

.what-benefit-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.what-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.5;
}

.what-benefit-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: #f0fdf4;
  color: #16a34a;
  border: 1.5px solid #bbf7d0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  margin-top: 2px;
}

.what-action-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .what-tab-panel {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 32px;
  }
  .what-visual-container {
    height: 320px;
  }
}

@media (max-width: 640px) {
  .what-tabs-nav {
    border-radius: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .what-floating-patch-badge {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 12px 14px;
  }
}
