/* ═══════════════════════════════════════════════════════
   PRICING PAGE  |  multi-palette
   ═══════════════════════════════════════════════════════ */
[data-page="pricing"] { background: #f8fafc; }
[data-page="pricing"] .navbar,
[data-page="pricing"] .navbar.scrolled { background: #2b4f82; }
[data-page="pricing"] .mob-nav          { background: #2b4f82; }

/* ── HERO ───────────────────────────────────────────── */
.pr-hero {
  position: relative; display: flex; align-items: flex-end;
  min-height: 380px; overflow: hidden;
  background: var(--page-primary, #2b4f82);
  padding-top: var(--nav-h, 70px);
}
.pr-hero-text {
  position: relative; z-index: 2;
  padding: 60px 60px 60px;
  max-width: 640px;
}
.pr-hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 700;
  color: #b8d6ed; line-height: 1.05; margin-bottom: 16px; letter-spacing: -.03em;
}
.pr-hero-desc { font-size: 1.0625rem; color: rgba(184,214,237,.75); max-width: 480px; }
.pr-hero-img-wrap {
  position: absolute; right: 0; top: 0; bottom: 0; width: 65%;
  overflow: hidden;
}
.pr-hero-img-wrap img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.pr-hero-mask {
  position: absolute; left: -2px; top: 0; bottom: 0; height: 100%;
  z-index: 1;
}

/* ── PLANS SECTION ───────────────────────────────────── */
.pr-plans { background: #f8fafc; padding: 72px 0 80px; }
.pr-plans-inner { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
.pr-plans-title {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
  color: var(--navy); text-align: center; margin-bottom: 10px; letter-spacing: -.03em;
}
.pr-plans-sub {
  text-align: center; color: #555; font-size: 1rem; margin-bottom: 36px;
}

/* Toggle */
.pr-toggle-wrap { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 48px; }
.pr-toggle {
  position: relative; display: flex;
  background: rgba(43,79,130,.1); border-radius: 50px; padding: 4px;
}
.pr-toggle-pill {
  position: absolute; top: 4px; left: 4px;
  width: calc(50% - 4px); height: calc(100% - 8px);
  background: var(--navy); border-radius: 50px;
  transition: transform .25s ease; pointer-events: none;
}
.pr-toggle-btn {
  position: relative; z-index: 1; border: none; background: none;
  padding: 10px 28px; border-radius: 50px; cursor: pointer;
  font-size: 0.9375rem; font-weight: 600; font-family: var(--font);
  color: rgba(43,79,130,.5); transition: color .2s;
}
.pr-toggle-btn.active { color: #fff; }
.pr-save-badge {
  background: #2aad7a; color: #fff; border-radius: 20px;
  font-size: 0.75rem; font-weight: 700; padding: 4px 12px;
  letter-spacing: .04em;
}

/* Cards grid */
.pr-cards {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; align-items: start;
}
.pr-card {
  background: #fff; border-radius: 12px; padding: 28px 24px 32px;
  position: relative; display: flex; flex-direction: column;
  border: 1.5px solid rgba(43,79,130,.1);
  transition: box-shadow .2s;
}
.pr-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); }
.pr-card--highlight {
  border-color: #b67012; border-width: 2px;
  box-shadow: 0 8px 40px rgba(182,112,18,.18);
}
.pr-card-badge {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: #b67012; color: #fff;
  font-size: 0.6875rem; font-weight: 800; letter-spacing: .1em;
  padding: 4px 14px; border-radius: 0 0 8px 8px;
}
.pr-card-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; margin-top: 8px; }
.pr-chip {
  background: rgba(43,79,130,.08); color: var(--navy);
  font-size: 0.75rem; font-weight: 600; padding: 3px 10px;
  border-radius: 20px; white-space: nowrap;
}
.pr-card-name {
  font-size: 2rem; font-weight: 800; line-height: 1; margin-bottom: 4px;
  letter-spacing: -.02em;
}
.pr-card--view   .pr-card-name { color: #66263D; }
.pr-card--pro    .pr-card-name { color: var(--navy); }
.pr-card--studio .pr-card-name { color: #b67012; }
.pr-card--custom .pr-card-name { color: #1a1a1a; }
.pr-card-tagline { font-size: 0.875rem; color: #555; margin-bottom: 18px; }

/* Price */
.pr-card-price { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 6px; }
.pr-price {
  font-size: 2.5rem; font-weight: 800; line-height: 1;
  color: var(--navy); letter-spacing: -.04em;
  transition: opacity .15s;
}
.pr-price--text { font-size: 2rem; }
.pr-price-suffix { display: flex; flex-direction: column; font-size: 0.8125rem; color: #777; line-height: 1.3; padding-bottom: 4px; }
.pr-card-billed { font-size: 0.8125rem; color: #777; margin-bottom: 4px; }
.pr-card-save { font-size: 0.8125rem; color: #2aad7a; font-weight: 600; margin-bottom: 20px; }

/* CTA buttons */
.pr-card-ctas { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.pr-btn {
  display: block; text-align: center; padding: 13px 20px;
  border-radius: 4px; font-weight: 700; font-size: 0.9375rem;
  text-decoration: none; transition: opacity .15s;
  font-family: var(--font);
}
.pr-btn:hover { opacity: .88; }
.pr-btn--view   { background: #66263D; color: #fff; }
.pr-btn--pro    { background: var(--navy); color: #fff; }
.pr-btn--studio { background: #b67012; color: #fff; }
.pr-btn--custom { background: #1a1a1a; color: #fff; }
.pr-link {
  text-align: center; font-size: 0.9375rem; text-decoration: underline;
  text-underline-offset: 2px; display: block;
}
.pr-link--view   { color: #66263D; }
.pr-link--pro    { color: var(--navy); }

.pr-card-desc { font-size: 0.875rem; color: #444; line-height: 1.6; margin-bottom: 16px; }
.pr-divider { border: none; border-top: 1px solid rgba(43,79,130,.1); margin: 16px 0; }
.pr-features-intro { font-size: 0.875rem; color: #444; margin-bottom: 8px; }
.pr-features { list-style: none; padding: 0; margin: 0 0 16px; }
.pr-features li {
  font-size: 0.875rem; color: #444; padding: 5px 0 5px 20px;
  position: relative; line-height: 1.4;
}
.pr-features li::before {
  content: '✓'; position: absolute; left: 0;
  font-weight: 700; font-size: 0.8125rem;
}
.pr-card--view   .pr-features li::before { color: #66263D; }
.pr-card--pro    .pr-features li::before { color: var(--navy); }
.pr-card--studio .pr-features li::before { color: #b67012; }
.pr-card--custom .pr-features li::before { color: #1a1a1a; }
.pr-compat-label { font-size: 0.8125rem; margin-bottom: 6px; color: #333; }
.pr-compat { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 20px; }
.pr-compat span { font-size: 0.8125rem; color: #555; }
.pr-how-link { font-size: 0.875rem; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.pr-how-link--view   { color: #66263D; }
.pr-how-link--pro    { color: var(--navy); }
.pr-how-link--studio { color: #b67012; }

/* ── TESTIMONIALS ─────────────────────────────────────── */
.pr-testimonials { background: var(--navy); padding: 72px 0; }
.pr-test-inner { max-width: 1000px; margin: 0 auto; padding: 0 40px; }
.pr-test-inner h4 {
  font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700;
  color: #b8d6ed; margin-bottom: 40px; letter-spacing: -.02em;
}
.pr-test-slider { display: flex; align-items: center; gap: 16px; }
.pr-test-track-wrap { flex: 1; overflow: hidden; }
.pr-test-track { display: flex; transition: transform .4s ease; }
.pr-test-item { min-width: 100%; }
.pr-test-author { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; }
.pr-test-author img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.pr-test-name { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 2px; }
.pr-test-role { font-size: 0.875rem; color: rgba(184,214,237,.6); }
.pr-test-quote { font-size: 1.125rem; color: rgba(255,255,255,.85); line-height: 1.7; font-style: italic; }
.pr-test-prev, .pr-test-next {
  background: none; border: 1.5px solid rgba(184,214,237,.3); border-radius: 50%;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: rgba(184,214,237,.7); flex-shrink: 0;
  transition: border-color .2s, color .2s;
}
.pr-test-prev:hover, .pr-test-next:hover { border-color: #b8d6ed; color: #fff; }
.pr-test-dots { display: flex; gap: 8px; justify-content: center; margin-top: 28px; }
.pr-dot {
  width: 8px; height: 8px; border-radius: 50%; border: none;
  background: rgba(184,214,237,.3); cursor: pointer; transition: background .2s;
}
.pr-dot.active { background: #b8d6ed; }

/* ── LICENSING ────────────────────────────────────────── */
.pr-licensing { background: #fff; padding: 80px 0; }
.pr-licensing-inner { max-width: 900px; margin: 0 auto; padding: 0 40px; }
.pr-licensing-inner h4 {
  font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700;
  color: var(--navy); text-align: center; margin-bottom: 24px; letter-spacing: -.02em;
}
.pr-licensing-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; margin-bottom: 32px;
}
.pr-licensing-intro p { font-size: 0.9375rem; color: #444; line-height: 1.7; }
.pr-licensing-intro a { color: var(--navy); text-decoration: underline; }
.pr-lic-tabs { margin-bottom: 0; }
.pr-lic-panel { display: none; }
.pr-lic-panel.active { display: block; }
/* inherit sr-table styles from system-requirements.css — add fallback */
.pr-licensing .sr-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.pr-licensing .sr-table tbody tr { border-bottom: 1px solid rgba(43,79,130,.1); }
.pr-licensing .sr-table tbody th {
  padding: 18px 20px; font-weight: 700; color: var(--navy);
  vertical-align: top; width: 200px; background: #f8fafc;
}
.pr-licensing .sr-table tbody td { padding: 18px 20px; color: #444; line-height: 1.6; vertical-align: top; }
.pr-licensing .sr-table ul { padding-left: 18px; margin: 8px 0; }
.pr-licensing .sr-table li { margin-bottom: 6px; }
.pr-licensing .sr-table a { color: var(--navy); text-decoration: underline; }

/* ── CONTACT SALES ────────────────────────────────────── */
.pr-contact { background: #f8fafc; padding: 80px 0; }
.pr-contact-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.pr-contact-text h4 {
  font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700;
  color: var(--navy); margin-bottom: 16px; letter-spacing: -.02em;
}
.pr-contact-text > p { font-size: 0.9375rem; color: #444; line-height: 1.7; margin-bottom: 24px; }
.pr-contact-points { list-style: none; padding: 0; margin: 0; }
.pr-contact-points li {
  font-size: 0.9375rem; color: #444; padding: 8px 0 8px 22px; position: relative;
  border-bottom: 1px solid rgba(43,79,130,.1);
}
.pr-contact-points li::before { content: '→'; position: absolute; left: 0; color: var(--navy); font-weight: 700; }

/* ── FAQ override for this page ───────────────────────── */
.pr-faq { background: var(--navy); }
.pr-faq .sr-faq-inner h4 { color: #b8d6ed; }

/* ── Footer ────────────────────────────────────────────── */
[data-page="pricing"] .footer,
[data-page="pricing"] .footer-cta,
[data-page="pricing"] .footer-nav  { background: #1e3a63; }
[data-page="pricing"] .footer-bottom { background: #162e52; }
[data-page="pricing"] .footer-link   { color: rgba(255,255,255,.6); }
[data-page="pricing"] .footer-link:hover { color: #fff; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1200px) {
  .pr-cards { grid-template-columns: repeat(2, 1fr); }
  .pr-hero-img-wrap { display: none; }
  .pr-hero-text { padding: 60px 40px; }
}
@media (max-width: 768px) {
  .pr-cards { grid-template-columns: 1fr; }
  .pr-plans-inner, .pr-licensing-inner, .pr-test-inner { padding: 0 20px; }
  .pr-licensing-intro { grid-template-columns: 1fr; }
  .pr-contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .pr-contact-inner { padding: 0 20px; }
  .pr-licensing .sr-table tbody th { width: auto; white-space: normal; }
}

/* ═══════════════════════════════════════════════════════
   SELF-CONTAINED: sr-tabs, sr-faq, sr-table
   (system-requirements.css not loaded on this page)
   ═══════════════════════════════════════════════════════ */

/* Tabs */
.sr-tabs {
  display: flex; gap: 0;
  border: 1.5px solid rgba(43,79,130,.2); border-radius: 6px;
  overflow: hidden; margin-bottom: 0;
  background: #f0f4f8;
}
.sr-tab {
  flex: 1; padding: 14px 20px;
  background: transparent; border: none; cursor: pointer;
  font-size: 0.875rem; font-weight: 600; color: rgba(43,79,130,.55);
  font-family: var(--font); transition: background .15s, color .15s;
  border-right: 1px solid rgba(43,79,130,.15);
}
.sr-tab:last-child { border-right: none; }
.sr-tab.active { background: #2b4f82; color: #fff; }
.sr-tab:not(.active):hover { background: rgba(43,79,130,.07); color: #2b4f82; }

/* Tab panels */
.sr-tab-panel { display: none; }
.sr-tab-panel.active { display: block; }

/* FAQ */
.sr-faq-inner { max-width: 900px; margin: 0 auto; padding: 0 40px; }
.sr-faq-inner h4 {
  font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700;
  margin-bottom: 48px; letter-spacing: -.02em;
}
.sr-faq-accordion { border-top: 1px solid rgba(184,214,237,.2); }
.sr-faq-item { border-bottom: 1px solid rgba(184,214,237,.2); position: relative; }
.sr-faq-item::after {
  content: ''; position: absolute; bottom: -1px; left: 0;
  height: 1px; width: 0; background: #b8d6ed; transition: width .3s ease;
}
.sr-faq-item:hover::after,
.sr-faq-item.open::after { width: 100%; }
.sr-faq-header {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; cursor: pointer; padding: 22px 0;
  gap: 16px; text-align: left; font-family: var(--font);
  color: rgba(184,214,237,.6); transition: color .2s;
}
.sr-faq-header span { font-size: 1rem; font-weight: 500; color: inherit; line-height: 1.4; }
.sr-faq-header svg  { flex-shrink: 0; transition: transform .3s; color: inherit; }
.sr-faq-header:hover { color: #fff; }
.sr-faq-item.open .sr-faq-header { color: #fff; }
.sr-faq-item.open .sr-faq-header svg { transform: rotate(180deg); }
.sr-faq-body { overflow: hidden; height: 0; opacity: 0; }
.sr-faq-body p   { font-size: .9375rem; color: rgba(255,255,255,.75); line-height: 1.7; margin-bottom: 14px; }
.sr-faq-body p:last-child { margin-bottom: 20px; }
.sr-faq-body b   { color: #fff; }
.sr-faq-body a   { color: #b8d6ed; text-decoration: underline; text-underline-offset: 2px; }
.sr-faq-body ul, .sr-faq-body ol { padding-left: 20px; margin: 8px 0 16px; color: rgba(255,255,255,.75); font-size: .9375rem; }
.sr-faq-body li  { margin-bottom: 8px; line-height: 1.6; }

@media (max-width: 600px) {
  .sr-faq-inner { padding: 0 20px; }
  .sr-tabs { flex-direction: column; }
}

/* ── 3-year contact message ──────────────────── */
.pr-3yr-msg {
  max-width: 600px; margin: 0 auto 48px;
  background: rgba(43,79,130,.06);
  border: 1.5px solid rgba(43,79,130,.15);
  border-radius: 10px; padding: 28px 32px;
  text-align: center;
}
.pr-3yr-msg p {
  font-size: 1.0625rem; color: #2b4f82; line-height: 1.65; margin: 0;
}
.pr-3yr-msg a { color: #2b4f82; text-decoration: underline; text-underline-offset: 2px; }