/* ═══ Pricing Section ═══ */

.pricing-header { text-align: center; margin-bottom: 40px; }
.pricing-label {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--accent); margin-bottom: 8px;
}
.pricing-title {
  font-size: 28px; font-weight: 700; color: var(--text);
  line-height: 1.2; margin-bottom: 8px; white-space: pre-line;
}
.pricing-subtitle {
  font-size: 15px; color: var(--text-2); max-width: 420px; margin: 0 auto;
}

/* Toggle */
.pricing-toggle {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin-top: 24px;
}
.pricing-toggle-label {
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  transition: color var(--t-fast) var(--ease);
}
.pricing-toggle-label.active { color: var(--text); }
.pricing-toggle-switch {
  position: relative; width: 44px; height: 24px;
  background: var(--elevated); border-radius: var(--r-full);
  cursor: pointer; border: 1px solid var(--border);
  transition: background var(--t-fast) var(--ease);
}
.pricing-toggle-switch.active { background: var(--accent); border-color: var(--accent); }
.pricing-toggle-knob {
  position: absolute; top: 2px; left: 2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow-sm);
  transition: transform var(--t-fast) var(--ease);
}
.pricing-toggle-switch.active .pricing-toggle-knob { transform: translateX(20px); }
.pricing-savings-badge {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; padding: 4px 10px; border-radius: var(--r-full);
  background: rgba(93, 121, 223, 0.1); color: var(--accent);
}

/* Cards grid */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: 960px; margin: 0 auto;
}
.pricing-card {
  position: relative; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 20px;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.popular {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 32px rgba(93, 121, 223, 0.12);
}

/* Popular badge */
.pricing-popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 14px; border-radius: var(--r-full);
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; white-space: nowrap;
}

/* Plan info */
.pricing-plan-name {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 8px;
}
.pricing-price { display: flex; align-items: flex-end; gap: 4px; margin-bottom: 4px; }
.pricing-amount { font-size: 36px; font-weight: 700; color: var(--text); line-height: 1; }
.pricing-period { font-size: 14px; color: var(--text-muted); margin-bottom: 4px; }
.pricing-credits { font-size: 13px; color: var(--text-2); }

/* Divider */
.pricing-divider {
  height: 1px; background: var(--border); margin: 0;
}

/* Features list */
.pricing-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--text-2); line-height: 1.5;
}
.pricing-check {
  flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px;
  color: var(--text-muted);
}
.pricing-card.popular .pricing-check { color: var(--accent); }

/* CTA button */
.pricing-cta {
  display: block; width: 100%; text-align: center;
  padding: 12px; border-radius: var(--r-full);
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: all var(--t-fast) var(--ease);
  border: 1px solid var(--border); background: transparent;
  color: var(--text-2); cursor: pointer;
}
.pricing-cta:hover { background: var(--elevated); color: var(--text); }
.pricing-card.popular .pricing-cta {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.pricing-card.popular .pricing-cta:hover { background: var(--accent-hover); }

/* Footer */
.pricing-footer {
  text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 32px;
}

/* Responsive */
@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
}
