/* Custom Pricing Styles matching Finyatri Design System */

/* Global Utilities */
.max-width-medium {
  max-width: 40rem;
}

.align-center {
  margin-left: auto;
  margin-right: auto;
}

.text-align-center {
  text-align: center;
}

.full-width {
  width: 100%;
  text-align: center;
}

.background-color-light {
  background-color: #f6f6f8;
}

/* Spacing Utilities */
.component-margin-bottom {
  margin-bottom: 5rem;
}

/* Increased from 3rem */
.pricing_header {
  margin-bottom: 5rem;
}

.pricing_header h1 {
  margin-bottom: 1.5rem;
}

/* Increased space between Heading and Desc */
.pricing_header p {
  margin-bottom: 0;
}

.section_faq .text-align-center {
  margin-bottom: 5rem;
}

/* Space between FAQ Header and List */
.section_faq h2 {
  margin-bottom: 1.5rem;
}

/* Pricing Grid */
.pricing_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

@media screen and (max-width: 991px) {
  .pricing_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .pricing_grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Pricing Card */
.pricing_card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2.5rem;
  /* Increased padding */
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing_card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  /* Stronger lift */
  border-color: #4d65ff;
}

.pricing_badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #4d65ff;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 99px;
  box-shadow: 0 4px 8px rgba(77, 101, 255, 0.2);
}

.price_text {
  font-size: 3rem;
  /* Larger price text */
  font-weight: 800;
  line-height: 1;
  color: #1a1b1f;
  margin-bottom: 0.25rem;
}

.pricing_divider {
  height: 1px;
  background-color: #f0f0f0;
  margin: 2rem 0;
  /* More internal spacing */
  width: 100%;
}

.line-height-1-5 {
  line-height: 1.6;
}

.pricing_feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.pricing_feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.pricing_check-icon {
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  margin-top: 0.15rem;
}

/* Toggle Switch */
.pricing_toggle-wrap {
  display: flex;
  justify-content: center;
}

.pricing_toggle {
  position: relative;
  display: inline-flex;
  background-color: #f0f0f0;
  /* Slightly darker bg for toggle track */
  border-radius: 99px;
  padding: 0.35rem;
  /* Thicker track */
}

.toggle_btn {
  position: relative;
  z-index: 2;
  border: none;
  background: none;
  padding: 0.6rem 2rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #555;
  cursor: pointer;
  transition: color 0.3s ease;
  min-width: 140px;
}

.toggle_btn.is-active {
  color: #fff;
}

.toggle_indicator {
  position: absolute;
  top: 0.35rem;
  left: 0.35rem;
  height: calc(100% - 0.7rem);
  width: calc(50% - 0.35rem);
  background-color: #4d65ff;
  border-radius: 99px;
  transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
  z-index: 1;
}

/* FAQ Accordion - Modern Clean Style */
.faq_list {
  display: flex;
  flex-direction: column;
  max-width: 50rem;
  /* Constrain width for readability */
  margin: 0 auto;
}

.faq_item {
  background-color: transparent;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 0;
  transition: none;
  /* Remove card lift effect */
}

.faq_item:first-child {
  border-top: 1px solid #e5e7eb;
}

.faq_item:hover {
  box-shadow: none;
}

.faq_summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem 0;
  /* Vertical padding only */
  cursor: pointer;
  list-style: none;
}

.faq_summary h3 {
  font-size: 1.125rem;
  /* 18px */
  font-weight: 600;
  color: #1a1b1f;
  margin: 0;
}

.faq_summary::-webkit-details-marker {
  display: none;
}

.faq_icon-wrap {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-left: 1.5rem;
}

.faq_icon-line {
  position: absolute;
  background-color: #1a1b1f;
  /* Darker icon color for contrast */
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.faq_icon-line.is-vertical {
  top: 4px;
  left: 11px;
  width: 2px;
  height: 16px;
}

.faq_icon-line.is-horizontal {
  top: 11px;
  left: 4px;
  width: 16px;
  height: 2px;
}

.faq_details[open] .faq_icon-line.is-vertical {
  transform: rotate(90deg);
  /* Turns horizontal to make minus */
}

.faq_content {
  padding: 0 0 1.75rem 0;
  color: #555;
  line-height: 1.6;
}

/* Animation */
.faq_details[open] .faq_content {
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}