/* pricing-page.css — BeeCore /pricing (standalone, additive).
   Scoped .pr-* only. No shared selectors with Models (.mc-*), Products (.ag-*),
   or dashboard (.db-*). Does not touch header/nav layout except the
   .pr-nav-active state added by pricing-page.js. */

/* Page background — scoped to /pricing only (html.pricing-route) */
html.pricing-route body { background: #FAFAFA; }

.pr-root { display: block; }

.pr-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}

/* ---------- Hero (single column, text only) ---------- */
.pr-hero {
  padding: 56px 0 48px;
  border-bottom: 1px solid #EAEAEA;
}
.pr-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #737373;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.pr-hero h1 {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(32px, 4.2vw, 44px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.02em;
  color: #181818;
  margin: 0 0 14px;
  max-width: 720px;
}
.pr-hero-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #181818;
  margin: 0 0 6px;
  max-width: 640px;
}
.pr-hero-sub {
  font-size: 13.5px;
  line-height: 1.6;
  color: #737373;
  margin: 0 0 24px;
  max-width: 640px;
}
.pr-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Buttons ---------- */
.pr-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 11px 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, opacity 0.15s;
}
.pr-btn-primary { background: #F5B800; color: #111827; }
.pr-btn-primary:hover { background: #E8AE00; }
.pr-btn-ghost { background: #FFFFFF; color: #181818; border-color: #EAEAEA; }
.pr-btn-ghost:hover { border-color: #D4D4D4; background: #FAFAFA; }
.pr-btn-sm { font-size: 13px; padding: 9px 14px; }

/* ---------- Sections ---------- */
.pr-section { padding: 52px 0; }
.pr-section + .pr-section { border-top: 1px solid #EAEAEA; }
.pr-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.pr-sec-head h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #181818;
  margin: 0 0 5px;
}
.pr-sec-head p {
  font-size: 13.5px;
  color: #737373;
  margin: 0;
}
.pr-link-arrow {
  font-size: 13px;
  font-weight: 600;
  color: #181818;
  text-decoration: none;
  white-space: nowrap;
}
.pr-link-arrow:hover { text-decoration: underline; }

/* ---------- Usage option cards ---------- */
.pr-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pr-card {
  background: #FFFFFF;
  border: 1px solid #EAEAEA;
  border-radius: 8px;
  padding: 28px;
  box-shadow: none;
}
.pr-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #181818;
  margin: 0 0 8px;
}
.pr-card > p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #737373;
  margin: 0 0 18px;
}
.pr-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.pr-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #181818;
}
.pr-check { flex: none; margin-top: 3px; color: #A3A3A3; }

/* ---------- Pricing toolbar ---------- */
.pr-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.pr-search {
  flex: 1 1 260px;
  min-width: 0;
  font-family: inherit;
  font-size: 13.5px;
  color: #181818;
  background: #FFFFFF;
  border: 1px solid #EAEAEA;
  border-radius: 6px;
  padding: 9px 12px;
  outline: none;
}
.pr-search:focus { border-color: #D4D4D4; }
.pr-search::placeholder { color: #A3A3A3; }
.pr-select {
  font-family: inherit;
  font-size: 13.5px;
  color: #181818;
  background: #FFFFFF;
  border: 1px solid #EAEAEA;
  border-radius: 6px;
  padding: 9px 12px;
  outline: none;
  max-width: 190px;
}

/* ---------- Table ---------- */
.pr-table-card {
  background: #FFFFFF;
  border: 1px solid #EAEAEA;
  border-radius: 8px;
  overflow: hidden;
}
.pr-table-scroll { width: 100%; overflow-x: auto; }
.pr-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.pr-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #737373;
  padding: 12px 16px;
  border-bottom: 1px solid #EAEAEA;
  background: #FFFFFF;
  white-space: nowrap;
}
.pr-table td {
  font-size: 13.5px;
  color: #181818;
  padding: 0 16px;
  height: 52px;
  border-bottom: 1px solid #F2F2F2;
  vertical-align: middle;
}
.pr-table tbody tr { height: 52px; }
.pr-table tbody tr:last-child td { border-bottom: none; }
.pr-table tbody tr:hover { background: #FCFCFC; }
.pr-td-model { font-weight: 600; }
.pr-td-prov { color: #737373; white-space: nowrap; }
.pr-td-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pr-td-ctx { color: #737373; }
.pr-td-action { text-align: right; }
.pr-view {
  display: inline-block;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: #181818;
  background: #FDF8E9;
  border: 1px solid #EFE3C2;
  border-radius: 6px;
  padding: 6px 11px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.pr-view:hover { background: #FAF2D8; }
.pr-table-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid #EAEAEA;
  font-size: 12.5px;
  color: #737373;
}
.pr-empty {
  padding: 34px 16px;
  text-align: center;
  font-size: 13.5px;
  color: #737373;
}
.pr-note {
  margin-top: 10px;
  font-size: 12px;
  color: #737373;
}

/* ---------- How billing works ---------- */
.pr-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pr-step {
  background: #FFFFFF;
  border: 1px solid #EAEAEA;
  border-radius: 8px;
  padding: 24px;
}
.pr-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FDF6E0;
  color: #181818;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}
.pr-step h3 { font-size: 14.5px; font-weight: 700; color: #181818; margin: 0 0 6px; }
.pr-step p { font-size: 13px; line-height: 1.6; color: #737373; margin: 0; }

/* ---------- BYOK note ---------- */
.pr-byok-note {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: #FFFFFF;
  border: 1px solid #EAEAEA;
  border-radius: 8px;
  padding: 16px 20px;
}
.pr-byok-note p { margin: 0; font-size: 13px; line-height: 1.6; color: #737373; }
.pr-byok-note strong { color: #181818; font-weight: 600; }

/* ---------- FAQ ---------- */
.pr-faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}
.pr-faq-item {
  background: #FFFFFF;
  border: 1px solid #EAEAEA;
  border-radius: 8px;
  overflow: hidden;
}
.pr-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: #181818;
  text-align: left;
  padding: 15px 16px;
  cursor: pointer;
}
.pr-faq-chev {
  flex: none;
  transition: transform 180ms ease;
  color: #A3A3A3;
}
.pr-faq-item.is-open .pr-faq-chev { transform: rotate(90deg); }
.pr-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 180ms ease;
}
.pr-faq-a-inner {
  padding: 0 16px 15px;
  font-size: 13px;
  line-height: 1.65;
  color: #737373;
}

/* ---------- Final CTA ---------- */
.pr-cta {
  background: #FDF8E9;
  border: 1px solid #F0E4C0;
  border-radius: 8px;
  padding: 36px 32px;
  margin: 52px 0 72px;
}
.pr-cta h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #181818;
  margin: 0 0 6px;
}
.pr-cta p { font-size: 13.5px; color: #737373; margin: 0 0 20px; }

/* ---------- Nav active state (added by pricing-page.js only) ---------- */
/* active state now owned by #bc-global-header .bc-nav-active (single source) */

/* ---------- Modal ---------- */
.pr-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 17, 23, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  padding: 20px;
}
.pr-modal {
  background: #FFFFFF;
  border-radius: 8px;
  border: 1px solid #EAEAEA;
  padding: 24px;
  width: 420px;
  max-width: 100%;
  position: relative;
}
.pr-modal h3 { font-size: 16px; font-weight: 700; color: #181818; margin: 0 0 4px; }
.pr-modal-prov { font-size: 13px; color: #737373; margin: 0 0 16px; }
.pr-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: #A3A3A3;
  cursor: pointer;
}
.pr-dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px 16px;
  margin: 0 0 20px;
  font-size: 13px;
}
.pr-dl dt { color: #737373; }
.pr-dl dd { margin: 0; color: #181818; font-weight: 500; }

/* ---------- Loading / error ---------- */
.pr-loading, .pr-error {
  padding: 60px 0;
  font-size: 14px;
  color: #737373;
}
.pr-error { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .pr-steps { grid-template-columns: 1fr 1fr; }
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .pr-wrap { padding: 0 20px; }
  .pr-hero { padding: 40px 0 32px; }
  .pr-section { padding: 40px 0; }
  .pr-cards, .pr-steps, .pr-faq { grid-template-columns: 1fr; }
  .pr-sec-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .pr-toolbar { flex-direction: column; align-items: stretch; }
  .pr-select { max-width: none; width: 100%; }
  .pr-card { padding: 22px; }
  .pr-table { min-width: 640px; }
  .pr-cta { padding: 28px 22px; margin: 40px 0 56px; }
  .pr-hero-actions .pr-btn { flex: 1 1 auto; justify-content: center; }
}
