/* ========================================
   PRICING SECTION - APPLE-STYLE DESIGN
   ======================================== */

.pricing-section {
  padding: 2rem 0 5rem 0;
  background: #ffffff;
}

.pricing-header-main {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.pricing-header-main .lead-2 {
  margin-bottom: 1rem;
}

.pricing-header-tittle-main {
  font-size: 2.75rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

/* Override section padding for pricing page */
.section.pt-0 {
  padding-top: 0 !important;
}

.pricing-faq-title-main {
  font-size: 2.75rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.pricing-faq-subtitle-main {
  font-size: 1.0625rem;
  color: #6e6e73;
  margin-bottom: 1rem;
  font-weight: 400;
  letter-spacing: -0.003em;
}

/* Header */
.pricing-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.pricing-header h2 {
  font-size: 2.75rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.pricing-subtitle {
  font-size: 1.0625rem;
  color: #6e6e73;
  margin-bottom: 1rem;
  letter-spacing: -0.003em;
}

/* Toggle Switch - Apple Style */
.pricing-toggle-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.pricing-toggle {
  display: inline-flex;
  background: #f5f5f7;
  border: none;
  border-radius: 12px;
  padding: 3px;
  gap: 0;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

.pricing-toggle label {
  position: relative;
  padding: 10px 24px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  font-size: 0.9375rem;
  margin: 0;
  border: none;
  background: transparent;
  color: #6e6e73;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 110px;
  letter-spacing: -0.003em;
}

.pricing-toggle input[type="radio"] {
  display: none;
}

.pricing-toggle label.active {
  background: #ffffff;
  color: #1d1d1f;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.pricing-toggle .toggle-text {
  font-weight: 500;
  font-size: 0.9375rem;
}

.pricing-toggle .save-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: #f5a623;
  background: transparent;
  padding: 0;
  display: inline-block;
  white-space: nowrap;
}

.pricing-toggle label:not(.active) .save-badge {
  display: none;
}

/* Currency Selector - Clean Design */
.pricing-currency-selector {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.currency-label {
  font-size: 0.9375rem;
  color: #6e6e73;
  margin-right: 0.5rem;
  font-weight: 500;
}

.currency-select {
  padding: 0.5rem 0.75rem;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  font-size: 0.9375rem;
  color: #1d1d1f;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.currency-select:hover {
  border-color: #86868b;
}

.currency-select:focus {
  outline: none;
  border-color: #0071e3;
}

.currency-note {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: #86868b;
}

/* Pricing Cards Grid */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem 0;
}

/* Individual Card - Apple Style */
.pricing-card {
  background: #ffffff;
  border: 1px solid #d2d2d7;
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  margin-top: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  border-color: #86868b;
}

.pricing-card.popular {
  border: 2px solid #5048e4;
  box-shadow: 0 4px 16px rgba(80, 72, 228, 0.15);
  transform: scale(1.02);
}

.pricing-card.popular:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 16px 32px rgba(80, 72, 228, 0.2);
}

/* Most Popular Badge - Platform Style */
.popular-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  background: #5048e4;
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 12px 12px 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  z-index: 1;
  letter-spacing: -0.003em;
}

/* Card Header */
.pricing-card-header {
  padding: 2rem 1.75rem 1.75rem;
  text-align: left;
  background: #fbfbfd;
  border-bottom: 1px solid #e5e5ea;
}

.pricing-card.popular .pricing-card-header {
  padding-top: 2rem;
  background: #f0f2ff;
}

.pricing-plan-name {
  font-size: 1.375rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 1rem;
  text-align: left;
  letter-spacing: -0.01em;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  margin-bottom: 0.625rem;
  gap: 0.125rem;
}

.pricing-currency {
  font-size: 1.75rem;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.02em;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 600;
  color: #1d1d1f;
  line-height: 1;
  letter-spacing: -0.025em;
}

.pricing-period {
  font-size: 0.9375rem;
  color: #6e6e73;
  text-align: left;
  margin-bottom: 0.375rem;
}

.pricing-user-limit {
  font-size: 0.875rem;
  color: #86868b;
  margin-bottom: 1.5rem;
  text-align: left;
}

/* CTA Button - Platform Style */
.pricing-card-header a {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.003em;
  border: 2px solid #5048e4;
  color: #5048e4;
  background: #ffffff;
}

.pricing-card-header a:hover {
  background: #5048e4;
  color: #ffffff;
  border-color: #5048e4;
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(80, 72, 228, 0.25);
}

.pricing-card.popular .pricing-card-header a {
  background: #5048e4;
  color: #ffffff;
  border-color: #5048e4;
}

.pricing-card.popular .pricing-card-header a:hover {
  background: #6d64fe;
  border-color: #6d64fe;
  box-shadow: 0 4px 12px rgba(80, 72, 228, 0.35);
}

.pricing-card-header p {
  font-size: 0.8125rem;
  color: #86868b;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

/* Card Features */
.pricing-card-features {
  padding: 1.75rem;
  flex: 1;
  background: #ffffff;
}

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  font-size: 0.9375rem;
  color: #1d1d1f;
  line-height: 1.5;
}

.pricing-features-list li:last-child {
  margin-bottom: 0;
}

.feature-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.feature-icon.check {
  color: #34c759;
}

.feature-icon.cross {
  color: #ff3b30;
}

.feature-text {
  flex: 1;
  font-weight: 400;
}

.info-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: #86868b;
  cursor: pointer;
  transition: color 0.2s ease;
  margin-top: 2px;
}

.info-icon:hover {
  color: #1d1d1f;
}

/* Testimonial Section */
.pricing-testimonial {
  max-width: 1100px;
  margin: 3rem auto 0;
  padding: 3rem 2.5rem;
  background: #f5f5f7;
  border-radius: 18px;
}

.testimonial-heading {
  font-size: 1.75rem;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}

.testimonial-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.testimonial-text {
  flex: 1;
}

.testimonial-quote {
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid #0071e3;
  font-size: 1.0625rem;
  font-style: normal;
  color: #1d1d1f;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.testimonial-author {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1d1d1f;
}

.testimonial-image {
  flex-shrink: 0;
}

.testimonial-image img {
  width: 200px;
  height: 250px;
  object-fit: cover;
  border-radius: 18px;
}

/* Responsive Design */
@media (max-width: 1199px) {
  .pricing-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .pricing-card.popular {
    order: -1;
    transform: scale(1);
  }

  .pricing-card.popular:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 767px) {
  .pricing-section {
    padding: 3rem 0;
  }

  .pricing-header h2,
  .pricing-header-tittle-main,
  .pricing-faq-title-main {
    font-size: 2rem;
  }

  .pricing-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-top: 1.5rem;
  }

  .pricing-card.popular {
    transform: scale(1);
  }

  .pricing-toggle label {
    padding: 8px 20px;
    font-size: 0.875rem;
    min-width: 100px;
  }

  .pricing-card-header {
    padding: 1.75rem 1.5rem 1.5rem;
  }

  .pricing-card-features {
    padding: 1.5rem;
  }

  .pricing-plan-name {
    font-size: 1.25rem;
  }

  .pricing-price {
    font-size: 2rem;
  }

  .testimonial-content {
    flex-direction: column;
    gap: 2rem;
  }

  .testimonial-image img {
    width: 150px;
    height: 150px;
  }

  .pricing-testimonial {
    padding: 2rem 1.5rem;
  }
}

/* Hide/Show Currency */
/* Show USD by default (before JS loads) - ensures prices are always visible */
.p-dollar {
  display: inline !important;
}

.p-inr {
  display: none !important;
}

/* When JS detects India timezone, it adds body.india class */
body.india .p-dollar {
  display: none !important;
}

body.india .p-inr {
  display: inline !important;
}

/* Active class for manual currency toggle - higher specificity to override body.india */
body.india .p-dollar.active {
  display: inline !important;
}

body.india .p-inr:not(.active) {
  display: none !important;
}

body:not(.india) .p-inr.active {
  display: inline !important;
}

body:not(.india) .p-dollar:not(.active) {
  display: none !important;
}
