/* Subscription & pricing */
.sub-current {
  background: linear-gradient(135deg, rgba(123,47,190,0.15), rgba(167,139,250,0.08));
  border: 1px solid rgba(167,139,250,0.3);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.sub-current h2 { font-size: 24px; font-weight: 800; }
.sub-current .meta { color: var(--text-secondary); font-size: 14px; margin-top: 6px; }

.period-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  gap: 8px;
  background: rgba(13,13,26,0.85);
  border: 1px solid rgba(167,139,250,0.2);
  margin-bottom: 32px;
}
.period-toggle button {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
}
.period-toggle button.active {
  background: rgba(167,139,250,0.22);
  color: var(--text-primary);
  outline: 1px solid rgba(167,139,250,0.35);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: start;
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  min-height: 420px;
}
.pricing-card.popular {
  background: rgba(167,139,250,0.07);
  border-color: rgba(167,139,250,0.45);
  box-shadow: 0 0 40px rgba(167,139,250,0.1);
}
.pricing-card .badge-top {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, var(--brand-start), var(--brand-mid), var(--brand-end));
}
.pricing-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.pricing-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.gateway-select {
  display: flex;
  gap: 10px;
  margin: 12px 0;
  flex-wrap: wrap;
}
.gateway-btn {
  flex: 1;
  min-width: 120px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
}
.gateway-btn.active {
  border-color: rgba(167,139,250,0.5);
  background: rgba(167,139,250,0.12);
  color: var(--text-primary);
}
.checkout-panel {
  max-width: 520px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
}
@media (max-width: 640px) {
  .sub-current { flex-direction: column; align-items: flex-start; }
}
