/* Pricing Page Styles */

/* Pricing Toggle */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.toggle-label {
  font-size: var(--text-base);
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--duration-fast);
}

.toggle-label.is-active {
  color: var(--text-primary);
  font-weight: var(--weight-semibold);
}

.toggle-badge {
  display: inline-block;
  padding: var(--space-1) var(--space-2);
  background: var(--color-success-bg);
  color: var(--color-success);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  margin-left: var(--space-2);
}

.toggle-switch {
  position: relative;
  width: 56px;
  height: 30px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: background var(--duration-fast);
}

.toggle-switch.is-active {
  background: var(--color-primary);
}

.toggle-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  transition: transform var(--duration-normal) var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.toggle-switch.is-active .toggle-slider {
  transform: translateX(26px);
}

.yearly-note {
  display: none;
}

.is-yearly .yearly-note {
  display: block;
}

/* Compare Section */
.compare-section {
  padding: var(--space-20) 0;
  background: var(--bg-secondary);
}

.compare-section h2 {
  text-align: center;
  font-size: var(--text-3xl);
  margin-bottom: var(--space-2);
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: var(--space-10);
}

.compare-table-wrapper {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.compare-table th,
.compare-table td {
  padding: var(--space-4) var(--space-6);
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.compare-table th {
  background: var(--bg-tertiary);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}

.compare-table td {
  color: var(--text-secondary);
}

.dentalign-cell {
  background: var(--color-accent-soft);
  text-align: center;
  vertical-align: middle;
}

.dentalign-cell strong {
  display: block;
  color: var(--text-primary);
  font-size: var(--text-lg);
}

.price-highlight {
  display: block;
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  margin: var(--space-2) 0;
}

.savings {
  display: block;
  color: var(--color-success);
  font-weight: var(--weight-semibold);
}

.total-row {
  background: var(--bg-tertiary);
}

.total-row td {
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}

/* FAQ Section */
.faq-section {
  padding: var(--space-20) 0;
}

.faq-section h2 {
  text-align: center;
  font-size: var(--text-3xl);
  margin-bottom: var(--space-12);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  padding: var(--space-6);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.faq-item h4 {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.faq-item p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin: 0;
  line-height: var(--leading-relaxed);
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}
