/* =============================================
   Shared Pricing Page Styles
   Used by dataexplorer/pricing.html and cadastre/pricing.html
   ============================================= */

/* Hide Alpine.js elements until ready */
[x-cloak] { display: none !important; }

/* Plan card hover */
.plan-card {
  transition: transform 0.2s, box-shadow 0.2s;
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

/* FAQ accordion */
.faq-item .faq-answer {
  display: none;
}
.faq-item.open .faq-answer {
  display: block;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}
.faq-chevron {
  transition: transform 0.2s;
}

/* Scroll animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}
.scroll-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Calculator slider — AUYAN branded */
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #e2e8f0;
  outline: none;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #004E5E;
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.calc-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #004E5E;
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* Sidebar scrollspy — used by pages with sidebar navigation */
.pricing-sidebar-link {
  transition: color 0.15s, border-color 0.15s, background-color 0.15s;
}
.pricing-sidebar-link.active {
  color: #004E5E;
  font-weight: 600;
  border-left-color: #004E5E;
  background-color: #f0f9ff;
}
