/* ============================================
   PRICING — Cards, Billing Toggle, FAQ
   ============================================ */

.pricing-section {
  padding: 120px 0;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg) 100%);
}

.pricing-section .section-subtitle {
  margin-bottom: 40px;
}

/* Billing toggle */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 56px;
}

.billing-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.billing-label-active {
  color: var(--text);
}

.billing-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--green);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 100px;
  letter-spacing: 0.03em;
}

.toggle-btn {
  width: 44px;
  height: 24px;
  background: var(--bg-3);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  cursor: pointer;
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.toggle-btn.toggle-on {
  background: var(--accent);
  border-color: var(--accent);
}

.toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.toggle-on .toggle-thumb {
  transform: translateX(20px);
}

/* Pricing grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 64px;
}

.pricing-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  transition: border-color 0.2s ease;
}

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

.pricing-card-pro {
  border-color: rgba(59, 130, 246, 0.5);
  background: linear-gradient(160deg, rgba(59,130,246,0.04) 0%, var(--bg-1) 60%);
  box-shadow: 0 0 0 1px rgba(59,130,246,0.2), 0 24px 60px rgba(0,0,0,0.3), 0 0 40px rgba(59,130,246,0.06);
}

.pricing-card-pro:hover {
  border-color: rgba(59, 130, 246, 0.7);
}

.pricing-badge-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-header {
  margin-bottom: 24px;
}

.pricing-tier {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}

.pricing-card-pro .pricing-tier {
  color: var(--accent);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.price-amount {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  transition: all 0.2s ease;
}

.price-period {
  font-size: 14px;
  color: var(--text-3);
  font-weight: 500;
}

.pricing-billed {
  font-size: 12px;
  color: var(--text-3);
  min-height: 18px;
  margin-bottom: 12px;
}

.pricing-tagline {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

/* CTAs */
.pricing-cta {
  display: block;
  text-align: center;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  transition: all 0.15s ease;
}

.pricing-cta-primary {
  background: var(--accent);
  color: #fff;
}

.pricing-cta-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(59,130,246,0.3);
}

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

.pricing-cta-secondary:hover {
  background: var(--bg-3);
  color: var(--text);
  border-color: #52525b;
}

.pricing-early-bird {
  text-align: center;
  font-size: 12px;
  color: var(--accent);
  margin: -16px 0 24px;
  font-weight: 500;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 24px;
}

/* Feature list */
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.5;
}

.feat-yes::before {
  content: '\2713';
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

.feat-no {
  color: var(--text-3);
}

.feat-no::before {
  content: '\2013';
  color: var(--text-3);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-features strong {
  font-weight: 700;
  color: var(--text);
}

/* FAQ */
.pricing-faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border);
  padding-top: 48px;
}

.faq-item {
  padding: 24px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: var(--border-light);
}

.faq-q {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.faq-a {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card-pro {
    order: -1;
  }

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