.pricing-page {
  min-height: 100vh;
}
.pricing-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-glass);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.pricing-brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--forest);
}
.pricing-brand span { color: var(--muted); font-weight: 500; }
.pricing-nav {
  display: flex;
  gap: 14px;
  align-items: center;
}
.pricing-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
}
.pricing-nav-cta {
  width: auto !important;
  padding: 8px 14px !important;
  text-decoration: none;
}
.pricing-main {
  padding: 36px 20px 64px;
  max-width: 1100px;
  margin: 0 auto;
}
.pricing-hero {
  text-align: center;
  margin-bottom: 28px;
}
.pricing-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.entitlement-chip {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(47,158,119,.12);
  border: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--forest-2);
}
.pricing-section-title {
  font-family: var(--display);
  text-align: center;
  margin: 28px 0 18px;
  font-size: 1.35rem;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.plan-card, .pack-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-card-hot {
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(196, 146, 42, 0.18);
}
.plan-card-current {
  outline: 2px solid var(--forest);
}
.plan-ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: #1a1408;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
}
.plan-card h3, .pack-card h3 {
  font-family: var(--display);
  margin: 0;
  font-size: 1.2rem;
}
.plan-price { display: flex; align-items: baseline; gap: 4px; }
.plan-amount {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--forest-2);
}
.plan-period { color: var(--muted); font-size: 0.9rem; }
.plan-features {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.88rem;
  flex: 1;
}
.plan-features li { margin: 4px 0; }
.plan-card .btn, .pack-card .btn { width: 100%; margin-top: 6px; }
.plan-card .btn:disabled {
  opacity: 0.65;
  cursor: default;
  background: var(--bg-2);
  color: var(--muted);
}
.packs-section { margin-top: 36px; }
.pack-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 1080px;
  margin: 0 auto;
}
.pack-card { position: relative; }
@media (min-width: 480px) { .pack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .pack-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pack-popular { outline: 2px solid var(--forest, #1f5d45); }
.pack-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--forest, #1f5d45); color: #fff; font-size: 0.72rem; font-weight: 600;
  padding: 2px 10px; border-radius: 999px; white-space: nowrap;
}
.pack-credits { margin: 0; font-size: 1rem; }
.pack-alt { margin: 2px 0 6px; }
.pack-save { color: var(--forest, #1f5d45); font-weight: 600; }
.pack-examples { list-style: none; padding: 0; margin: 6px 0; line-height: 1.5; color: var(--muted); }
.pack-examples li::before { content: "✓ "; color: var(--forest, #1f5d45); }
.pack-rate {
  margin: 0;
  font-size: 0.95rem;
  color: var(--forest);
}
.purchases-section { margin-top: 40px; }
@media (max-width: 600px) {
  .pricing-top { padding: 14px 16px; }
}
