.subscription-page {
  min-height: 100vh;
  background: var(--bg-app);
  color: var(--text-main);
}

.page-wrap {
  width: min(780px, 100%);
  margin: 0 auto;
  padding: 48px 20px 64px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.top-bar .btn-text {
  text-decoration: none;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
}

.back-link:hover {
  color: var(--text-main);
}

.intro h1 {
  margin: 0 0 6px;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.intro p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.plan-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-panel);
}

.plan-card.pro {
  border-color: rgba(59, 130, 246, 0.5);
  background: linear-gradient(160deg, rgba(59, 130, 246, 0.12), rgba(15, 15, 15, 1) 60%);
}

.plan-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-name {
  font-size: 16px;
  font-weight: 600;
}

.pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-primary);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.price {
  font-size: 28px;
  font-weight: 600;
}

.price.inline {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-main);
}

.price-note {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.plan-subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

.plan-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
}

.plan-features li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.plan-features li::before {
  content: "\2713";
  color: var(--accent-primary);
  font-weight: 700;
  margin-top: 1px;
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

.actions .btn-primary,
.actions .btn-secondary,
.actions .btn-text {
  width: auto;
  padding: 10px 16px;
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.small-note {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.subscription-page button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}
