/* Parenting Tested — Nurture Life comparison LP */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #557562 0%, #445f4a 100%);
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 14px rgba(68, 95, 74, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(68, 95, 74, 0.45);
  background: linear-gradient(135deg, #6b8f71 0%, #557562 100%);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary-inverse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #445f4a;
  background: #fff;
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary-inverse:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

/* Comparison table */
.comparison-table-wrap {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #d1dfd1 transparent;
}

.comparison-table-wrap::-webkit-scrollbar {
  height: 6px;
}

.comparison-table-wrap::-webkit-scrollbar-thumb {
  background: #d1dfd1;
  border-radius: 3px;
}

.comparison-table tbody tr:hover td:not(:first-child) {
  transition: background-color 0.15s ease;
}

.winner-col {
  position: relative;
}

.winner-cell {
  position: relative;
}

.winner-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #557562;
  background: #e8efe8;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  margin-bottom: 0.35rem;
}

@media (max-width: 639px) {
  .comparison-table-wrap::after {
    content: '';
    position: sticky;
    right: 0;
    top: 0;
    width: 24px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to left, rgba(253, 251, 248, 0.95), transparent);
    float: right;
    margin-top: -100%;
  }
}

/* FAQ accordion */
.faq-item.is-open .faq-panel {
  display: block;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background-color: #e8efe8;
}

.faq-icon {
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.faq-panel {
  animation: faqSlide 0.25s ease-out;
}

@keyframes faqSlide {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Benefit & testimonial hover */
.benefit-card,
.testimonial-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover,
.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px -12px rgba(68, 95, 74, 0.15);
}

/* Focus states for accessibility */
.faq-trigger:focus-visible,
.cta-nurture:focus-visible,
a:focus-visible {
  outline: 2px solid #557562;
  outline-offset: 2px;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}
