/* css/pages/pricing.css — page-scoped styles for /pricing.
   Extracted from the inline <style> block in pricing.html as part of the
   MPA migration. CSS variables (--ink, --muted, --card, --gold2, etc.)
   come from /css/styles.css which base.html loads first.

   The body { font-family: Inter } rule from the old inline block was
   dropped — it duplicated the rule already in styles.css. */

.price-hero { text-align: center; padding: 48px 24px 24px; }
.price-hero h1 {
  font-size: 40px; font-weight: 200; letter-spacing: -1px; line-height: 1.1;
  margin: 0 0 10px;
}
.price-hero h1 em { font-style: normal; font-weight: 800; }
.price-hero p {
  font-size: 14px; color: var(--muted); max-width: 600px;
  margin: 6px auto 0; line-height: 1.55;
}

.test-banner {
  max-width: 680px; margin: 14px auto;
  background: rgba(212, 173, 91, 0.12);
  border: 1px solid rgba(212, 173, 91, 0.4);
  border-radius: 10px; padding: 10px 16px;
  font-size: 12px; color: #7a5e1c; text-align: center;
}

.billing-toggle {
  display: inline-flex; gap: 0; padding: 4px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; margin: 18px auto 0;
}
.billing-toggle button {
  border: 0; background: transparent; padding: 8px 22px;
  font: inherit; font-size: 12px; font-weight: 600; letter-spacing: 0.4px;
  border-radius: 999px; cursor: pointer; color: var(--muted);
  transition: background .15s, color .15s;
}
.billing-toggle button.active { background: var(--ink); color: #fff; }
.billing-save {
  display: inline-block; margin-left: 8px; font-size: 10px; font-weight: 700;
  color: var(--sage); letter-spacing: 0.6px; text-transform: uppercase;
}

.price-grid {
  max-width: 1180px; margin: 32px auto 30px;
  padding: 0 24px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 980px) { .price-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .price-grid { grid-template-columns: 1fr; } }

.price-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 28px 26px;
  display: flex; flex-direction: column;
  position: relative;
}
.price-card.featured {
  border: 2px solid var(--gold);
  box-shadow: 0 4px 24px rgba(212, 173, 91, 0.15);
}
.price-card.coming-soon {
  background: var(--card2, #fafaf6);
  border-style: dashed;
}
.featured-badge, .soon-badge {
  position: absolute; top: -12px; right: 24px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.8px;
  padding: 5px 12px; border-radius: 999px; text-transform: uppercase;
}
.featured-badge { background: var(--gold2); color: #fff; }
.soon-badge { background: #7a5e1c; color: #fff; }

.pc-name {
  font-size: 14px; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; color: var(--muted);
}
.pc-price { margin: 14px 0 4px; min-height: 54px; }
.pc-price .amount {
  font-size: 38px; font-weight: 200; letter-spacing: -1.5px; color: var(--ink);
}
.pc-price .amount b { font-weight: 800; }
.pc-price .period { font-size: 13px; color: var(--muted); margin-left: 4px; }
.pc-price .seat-extra {
  display: block; margin-top: 4px;
  font-size: 12px; color: var(--muted); font-weight: 500;
}
.pc-tagline {
  font-size: 13px; color: var(--muted); line-height: 1.5;
  margin: 0 0 18px; min-height: 40px;
}

.pc-features {
  list-style: none; padding: 0; margin: 18px 0 24px;
  flex: 1;
}
.pc-features li {
  font-size: 13px; color: var(--ink); padding: 6px 0;
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.45;
}
.pc-features li::before {
  content: ""; flex-shrink: 0; margin-top: 5px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--sage);
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2l-3.5-3.5a1 1 0 0 0-1.4 1.4l4.2 4.2a1 1 0 0 0 1.4 0l9.5-9.5a1 1 0 0 0-1.4-1.4z'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2l-3.5-3.5a1 1 0 0 0-1.4 1.4l4.2 4.2a1 1 0 0 0 1.4 0l9.5-9.5a1 1 0 0 0-1.4-1.4z'/></svg>");
  mask-size: contain; -webkit-mask-size: contain;
}
.pc-features li.muted { color: var(--muted); }
.pc-features li.muted::before { background: var(--muted2, #b5b5b5); }
.pc-section-label {
  font-size: 9px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--muted);
  margin: 12px 0 4px;
}

.pc-cta {
  width: 100%; padding: 13px 18px;
  border: 0; border-radius: 10px; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 700; letter-spacing: 0.4px;
  transition: transform .1s, opacity .15s;
}
.pc-cta:hover { transform: translateY(-1px); }
.pc-cta:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.pc-cta.primary { background: var(--ink); color: #fff; }
.pc-cta.outline {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line);
}
.pc-cta.gold { background: var(--gold2); color: #fff; }

.current-plan-pill {
  align-self: flex-start; font-size: 10px; font-weight: 700;
  letter-spacing: 0.6px; text-transform: uppercase;
  background: rgba(122, 158, 126, 0.18); color: #4d7a56;
  padding: 5px 10px; border-radius: 6px;
  margin-bottom: 14px;
}

.trial-tag {
  display: inline-block; font-size: 11px; font-weight: 600; color: var(--sage);
  margin-top: 6px; letter-spacing: 0.2px;
}

/* Enterprise band */
.enterprise-band {
  max-width: 1180px; margin: 0 auto 30px;
  padding: 0 24px;
}
.enterprise-card {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2842 100%);
  color: #f4f1e8;
  border-radius: 16px; padding: 32px 36px;
  display: grid; grid-template-columns: 1.6fr 1fr;
  gap: 24px; align-items: center;
}
@media (max-width: 780px) { .enterprise-card { grid-template-columns: 1fr; } }
.enterprise-card h3 {
  font-size: 24px; font-weight: 300; letter-spacing: -0.5px;
  margin: 0 0 8px;
}
.enterprise-card h3 b { font-weight: 800; }
.enterprise-card p {
  font-size: 13px; opacity: 0.85; line-height: 1.55; margin: 0 0 12px;
}
.enterprise-features {
  display: flex; flex-wrap: wrap; gap: 14px 22px;
  font-size: 12px; opacity: 0.9;
}
.enterprise-features span::before { content: "✓ "; color: var(--gold); }
.enterprise-cta {
  background: var(--gold2); color: #fff;
  padding: 13px 22px; border-radius: 10px;
  border: 0; font: inherit; font-size: 13px; font-weight: 700;
  letter-spacing: 0.4px; cursor: pointer; text-decoration: none;
  text-align: center; display: inline-block;
}
.enterprise-cta:hover { transform: translateY(-1px); }

/* Compare link / footer */
.price-foot {
  max-width: 680px; margin: 0 auto; padding: 0 24px 80px;
  text-align: center; font-size: 12px; color: var(--muted);
  line-height: 1.7;
}
.price-foot a { color: var(--gold2); text-decoration: none; }
.price-foot a:hover { text-decoration: underline; }

/* Waitlist modal */
.waitlist-modal {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5);
  display: none; align-items: center; justify-content: center; z-index: 9999;
  padding: 20px;
}
.waitlist-modal.open { display: flex; }
.waitlist-box {
  background: var(--card); border-radius: 14px; padding: 28px 28px 24px;
  max-width: 420px; width: 100%;
}
.waitlist-box h3 { font-size: 20px; font-weight: 700; margin: 0 0 8px; }
.waitlist-box p { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0 0 16px; }
.waitlist-box input {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line);
  border-radius: 10px; font: inherit; font-size: 14px; outline: none;
  margin-bottom: 10px;
}
.waitlist-box input:focus { border-color: var(--ink); }
.waitlist-actions { display: flex; gap: 8px; }
.waitlist-actions button { flex: 1; }
.waitlist-msg { font-size: 12px; margin-top: 10px; min-height: 18px; color: var(--sage); }
.waitlist-msg.err { color: var(--red, #c44); }
