/* Pricing table and billing toggle */

.bt-pricing-wrap { max-width: 1100px; margin: 0 auto; }

/* Billing toggle */
.bt-billing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.bt-billing-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text3);
  transition: color .2s;
}
.bt-billing-label.active { color: var(--text); }

.bt-toggle-switch { position: relative; display: inline-block; width: 44px; height: 24px; cursor: pointer; }
.bt-toggle-switch input { opacity: 0; width: 0; height: 0; }
.bt-toggle-track {
  position: absolute; inset: 0;
  background: var(--border2);
  border-radius: 100px;
  transition: background .2s;
}
.bt-toggle-switch input:checked + .bt-toggle-track { background: var(--accent); }
.bt-toggle-track::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.bt-toggle-switch input:checked + .bt-toggle-track::before { transform: translateX(20px); }

.bt-save-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 2px 7px;
  background: rgba(13, 107, 80, .12);
  color: var(--accent);
  border-radius: 100px;
  margin-left: 4px;
  vertical-align: middle;
}

/* Plans grid */
.bt-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

@media (max-width: 860px) { .bt-plans-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

/* Plan card */
.bt-plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  transition: box-shadow .2s, border-color .2s;
}

.bt-plan-card.popular {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13, 107, 80, .08);
}

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

.bt-plan-header { margin-bottom: 20px; }

.bt-plan-name {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text3);
  margin-bottom: 8px;
}

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

.bt-price-amount {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  font-family: 'DM Mono', monospace;
  letter-spacing: -.02em;
}
.bt-price-amount small { font-size: 14px; font-weight: 600; color: var(--text3); margin-left: 2px; }
.bt-price-period { font-size: 13px; color: var(--text3); align-self: center; }

.bt-plan-desc { font-size: 13px; color: var(--text2); line-height: 1.6; margin: 0; }

/* CTA button modifiers */
.btn-full { width: 100%; justify-content: center; text-align: center; display: block; margin-bottom: 20px; }

/* Feature list */
.bt-plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.bt-plan-features li {
  font-size: 13px;
  color: var(--text2);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}

.bt-plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
}
