/* ── Pricing page ──────────────────────────────────────────────────────────── */

.pricing {
  max-width: 1080px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-6);
}

/* Header */
.pricing-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.pricing-header h1 {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-3);
}

.pricing-header p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Monthly/Annual toggle */
.pricing-toggle {
  display: flex;
  justify-content: center;
  gap: var(--space-1);
  margin-bottom: var(--space-8);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: var(--space-1);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.pricing-toggle-opt {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-full);
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--duration) var(--ease-out);
  user-select: none;
}

.pricing-toggle-active {
  background: var(--primary);
  color: var(--bg-base);
}

/* Tier grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.pricing-actions-note {
  color: var(--text-muted);
  font-size: var(--text-sm);
  text-align: center;
  max-width: 48rem;
  margin: 0 auto var(--space-16);
}

.pricing-excl-tax {
  color: var(--text-muted);
  font-size: var(--text-xs);
  text-align: center;
  margin: calc(-1 * var(--space-6)) auto var(--space-8);
  max-width: 48rem;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color var(--duration) var(--ease-out);
}

.pricing-card:hover {
  border-color: var(--border-light);
}

.pricing-card--highlight {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.pricing-card--highlight:hover {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 1px var(--primary-light);
}

.pricing-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--primary);
  color: var(--bg-base);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
  margin-bottom: var(--space-2);
}

.pricing-amount {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pricing-period {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.pricing-budget {
  font-size: var(--text-sm);
  color: var(--primary-light);
  font-weight: 500;
  margin-bottom: var(--space-3);
}

.pricing-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
  margin-bottom: var(--space-5);
}

.pricing-cta {
  text-align: center;
  text-decoration: none;
}

.pricing-cta.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
}

.pricing-cta.btn-outline:hover {
  color: var(--text);
  border-color: var(--text-secondary);
  background: var(--bg-hover);
}

/* Feature comparison table */
.pricing-features {
  margin-bottom: var(--space-16);
}

.pricing-features h2 {
  font-size: var(--text-xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-6);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.pricing-table th {
  text-align: center;
  padding: var(--space-3) var(--space-4);
  font-weight: 600;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.pricing-table th:first-child {
  text-align: left;
}

.pricing-table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border);
  text-align: center;
  color: var(--text-secondary);
}

.pricing-table td:first-child {
  text-align: left;
  color: var(--text);
}

.pricing-check {
  color: var(--success);
  font-weight: 600;
}

.pricing-dash {
  color: var(--text-muted);
}

.pricing-label {
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

/* FAQ section */
.pricing-faq {
  max-width: 800px;
  margin: 0 auto;
}

.pricing-faq h2 {
  font-size: var(--text-xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-6);
}

.pricing-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.pricing-faq-grid h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.pricing-faq-grid p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .pricing-faq-grid {
    grid-template-columns: 1fr;
  }
}
