body.pricing-page,
body.cases-page,
body.case-detail-page {
  --page-bg: #f5f7fb;
  --page-surface: #ffffff;
  --page-surface-soft: #f8fafc;
  --page-border: #d8e2ee;
  --page-border-strong: #bccbe0;
  --page-text: #101828;
  --page-muted: #526070;
  --page-brand: #1456d9;
  --page-brand-soft: #eef5ff;
  --page-shadow-sm: 0 10px 24px rgba(16, 24, 40, 0.05);
  --page-shadow-md: 0 16px 34px rgba(16, 24, 40, 0.07);
  background: linear-gradient(180deg, #ffffff 0%, var(--page-bg) 44%, #ffffff 100%);
  color: var(--page-text);
}

body.pricing-page .header,
body.cases-page .header,
body.case-detail-page .header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 226, 238, 0.86);
  box-shadow: var(--page-shadow-sm);
}

body.pricing-page .pricing-hero,
body.cases-page .pricing-hero,
body.case-detail-page .pricing-hero {
  position: relative;
  padding: 108px 0 64px;
  border-bottom: 1px solid rgba(216, 226, 238, 0.82);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 253, 0.98));
}

body.pricing-page .pricing-hero .section-head,
body.cases-page .pricing-hero .section-head,
body.case-detail-page .pricing-hero .section-head {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

body.pricing-page .pricing-hero .section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.pricing-page .pricing-hero h1,
body.cases-page .pricing-hero h1,
body.case-detail-page .pricing-hero h1 {
  margin: 0;
  color: var(--page-text);
  font-size: clamp(42px, 5.2vw, 64px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

body.pricing-page .pricing-hero .section-head h1 {
  width: 100%;
  max-width: 100%;
}

body.pricing-page .pricing-hero .head-line,
body.cases-page .pricing-hero .head-line,
body.case-detail-page .pricing-hero .head-line,
body.pricing-page .section-head .head-line,
body.cases-page .section-head .head-line,
body.case-detail-page .section-head .head-line {
  width: 44px;
  height: 3px;
  margin-top: 18px;
  background: var(--page-brand);
  border-radius: 999px;
}

body.pricing-page .section-desc,
body.cases-page .section-desc,
body.case-detail-page .section-desc {
  max-width: 680px;
  margin-top: 16px;
  color: var(--page-muted) !important;
  font-size: 17px;
  line-height: 1.75;
  font-weight: 600;
}

body.pricing-page .pricing-checks {
  max-width: 980px;
  margin: 28px auto 0;
  gap: 10px;
}

body.pricing-page .pricing-checks .check-item {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(216, 226, 238, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #344054 !important;
  box-shadow: var(--page-shadow-sm);
  font-size: 13px;
  font-weight: 700;
}

body.pricing-page .pricing,
body.cases-page .pricing {
  padding: 56px 0 74px;
  background: transparent;
}

body.pricing-page .pricing-compare-tip {
  max-width: 1040px;
  margin: 0 auto 22px;
  padding: 16px 18px;
  border: 1px solid rgba(216, 226, 238, 0.94);
  border-radius: 16px;
  background: #ffffff;
  color: var(--page-muted);
  box-shadow: var(--page-shadow-sm);
  font-size: 14px;
  line-height: 1.72;
  font-weight: 650;
}

body.pricing-page .pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

body.cases-page .pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

body.pricing-page .pricing-card,
body.cases-page .pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 24px;
  border: 1px solid rgba(216, 226, 238, 0.94) !important;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #fbfcff) !important;
  color: var(--page-text);
  box-shadow: var(--page-shadow-sm) !important;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

body.case-detail-page .pricing-private {
  padding: 74px 0;
  background: transparent;
}

body.case-detail-page .private-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

body.case-detail-page .private-item {
  height: 100%;
  padding: 22px;
  border: 1px solid rgba(216, 226, 238, 0.94) !important;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #fbfcff) !important;
  box-shadow: var(--page-shadow-sm) !important;
}

body.case-detail-page .private-item h4 {
  margin: 0 0 10px;
  color: var(--page-text) !important;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
}

body.case-detail-page .private-item p {
  margin: 0;
  color: var(--page-muted) !important;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 600;
}

body.pricing-page .pricing-card:hover,
body.cases-page .pricing-card:hover {
  transform: translateY(-1px);
  border-color: rgba(188, 210, 247, 0.98) !important;
  box-shadow: var(--page-shadow-md) !important;
}

body.pricing-page .pricing-card.highlight,
body.pricing-page .pricing-card--enterprise,
body.pricing-page .pricing-card--flagship {
  background: linear-gradient(180deg, #ffffff, #f7fbff) !important;
  border-color: rgba(188, 210, 247, 0.98) !important;
}

body.pricing-page .pricing-card .badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(188, 210, 247, 0.92) !important;
  border-radius: 999px;
  background: var(--page-brand-soft) !important;
  color: var(--page-brand) !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

body.pricing-page .pricing-card h3,
body.cases-page .pricing-card h3 {
  margin: 18px 0 10px;
  color: var(--page-text) !important;
  font-size: 22px;
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: 0;
}

body.cases-page .pricing-card h3 {
  font-size: 21px;
}

body.pricing-page .price-block {
  margin: 8px 0 4px;
}

body.pricing-page .price-original {
  color: #7b8797 !important;
  font-size: 14px;
  font-weight: 700;
}

body.pricing-page .price-discount-tag {
  margin-left: 8px;
  padding: 2px 8px;
  border: 1px solid rgba(188, 210, 247, 0.92);
  border-radius: 999px;
  background: var(--page-brand-soft);
  color: var(--page-brand);
  font-size: 11px;
  font-weight: 800;
}

body.pricing-page .price {
  margin: 8px 0 0;
  color: var(--page-text) !important;
  font-size: 40px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

body.pricing-page .price--custom {
  font-size: 32px;
}

body.pricing-page .price-desc,
body.cases-page .price-desc {
  margin: 8px 0 0;
  color: var(--page-muted) !important;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 650;
}

body.pricing-page .pricing-features,
body.cases-page .pricing-features {
  display: grid;
  gap: 9px;
  margin: 16px 0 20px;
  padding: 16px 0 0;
  border-top: 1px solid rgba(216, 226, 238, 0.86);
}

body.pricing-page .pricing-features li,
body.cases-page .pricing-features li {
  color: #344054 !important;
  font-size: 14px;
  line-height: 1.62;
  font-weight: 650;
}

body.pricing-page .pricing-features .icon-off {
  color: #98a2b3 !important;
}

body.pricing-page .pricing-card .btn,
body.cases-page .pricing-card .btn {
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  border-radius: 12px;
  font-weight: 800;
}

body.pricing-page .pricing-private,
body.pricing-page .ownership {
  padding: 74px 0;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.88), rgba(255, 255, 255, 0.94));
  border-top: 1px solid rgba(216, 226, 238, 0.8);
}

body.pricing-page .ownership {
  background: #ffffff;
}

body.pricing-page .pricing-private .section-head,
body.pricing-page .ownership .section-head {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

body.pricing-page .private-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

body.pricing-page .private-item {
  height: 100%;
  padding: 22px;
  border: 1px solid rgba(216, 226, 238, 0.94) !important;
  border-radius: 16px;
  background: #ffffff !important;
  box-shadow: var(--page-shadow-sm) !important;
}

body.pricing-page .private-item h4 {
  margin: 0 0 10px;
  color: var(--page-text) !important;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
}

body.pricing-page .private-item p {
  margin: 0;
  color: var(--page-muted) !important;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 600;
}

body.pricing-page .cta {
  padding: 74px 0;
  background: transparent !important;
}

body.case-detail-page .cta {
  padding: 74px 0;
  background: transparent !important;
}

body.pricing-page .cta-inner,
body.cases-page .section-cta-inner,
body.case-detail-page .cta-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 42px 36px;
  border: 1px solid rgba(216, 226, 238, 0.94);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: var(--page-shadow-md);
  text-align: center;
}

body.pricing-page .cta h2 {
  margin: 0;
  color: var(--page-text);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
}

body.case-detail-page .cta h2 {
  margin: 0;
  color: var(--page-text);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
}

body.pricing-page .cta-actions,
body.cases-page .section-cta-actions,
body.case-detail-page .cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

body.cases-page .subtabs-section {
  padding: 18px 0 0;
  background: var(--page-bg);
}

body.cases-page .subtabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0 6px;
}

body.cases-page .subtab {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(216, 226, 238, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #344054;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

body.cases-page .subtab:hover,
body.cases-page .subtab[aria-current="page"] {
  border-color: rgba(188, 210, 247, 0.92);
  background: var(--page-brand-soft);
  color: var(--page-brand);
}

body.cases-page .section-cta-strip {
  padding: 0 0 74px;
  background: transparent;
}

body.cases-page .section-cta-inner {
  display: grid;
  justify-items: center;
  gap: 20px;
}

body.cases-page .section-cta-inner p {
  margin: 0;
  color: var(--page-muted);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 650;
}

body.pricing-page .footer,
body.cases-page .footer,
body.case-detail-page .footer {
  background: #0f1728;
}

body.pricing-page .footer-info,
body.cases-page .footer-info,
body.case-detail-page .footer-info {
  gap: 0;
  margin-bottom: 10px;
}

body.pricing-page .footer-info [data-footer-contact],
body.cases-page .footer-info [data-footer-contact],
body.case-detail-page .footer-info [data-footer-contact] {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

body.pricing-page #modalContainer .modal.modal-contact-panel .modal-content {
  width: min(680px, calc(100% - 24px));
  max-width: 680px;
  border: 1px solid rgba(216, 226, 238, 0.94);
  background: #ffffff;
  color: var(--page-text);
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.18);
}

body.pricing-page #modalContainer .modal.modal-contact-panel .modal-title,
body.pricing-page #modalContainer .contact-item h4,
body.pricing-page #modalContainer .contact-main {
  color: var(--page-text);
}

body.pricing-page #modalContainer .modal.modal-contact-panel .modal-description,
body.pricing-page #modalContainer .contact-side {
  color: var(--page-muted);
}

body.pricing-page #modalContainer .contact-item,
body.pricing-page #modalContainer .contact-row {
  border-color: rgba(216, 226, 238, 0.94);
  background: #f8fafc;
}

body.pricing-page #modalContainer .contact-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.pricing-page #modalContainer .contact-item:last-of-type,
body.pricing-page #modalContainer .contact-panel-actions {
  grid-column: 1 / -1;
}

@media (max-width: 1199px) {
  body.pricing-page .pricing-grid,
  body.pricing-page .private-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body.cases-page .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body.pricing-page .container,
  body.cases-page .container,
  body.case-detail-page .container {
    width: 100%;
    max-width: none;
    padding-inline: 16px;
  }

  body.pricing-page .pricing-hero,
  body.cases-page .pricing-hero,
  body.case-detail-page .pricing-hero {
    padding: 46px 0 20px;
  }

  body.pricing-page .pricing-hero .section-head,
  body.cases-page .pricing-hero .section-head,
  body.case-detail-page .pricing-hero .section-head,
  body.pricing-page .pricing-checks,
  body.pricing-page .pricing-compare-tip {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body.pricing-page .pricing-hero .section-head {
    max-width: calc(100vw - 40px);
    margin-inline: auto;
    padding-inline: 4px;
  }

  body.pricing-page .pricing-hero .head-line,
  body.cases-page .pricing-hero .head-line,
  body.case-detail-page .pricing-hero .head-line {
    margin-top: 12px;
  }

  body.pricing-page .pricing-hero h1,
  body.cases-page .pricing-hero h1,
  body.case-detail-page .pricing-hero h1 {
    font-size: 28px;
    line-height: 1.1;
    overflow-wrap: anywhere;
  }

  body.pricing-page .section-desc,
  body.cases-page .section-desc,
  body.case-detail-page .section-desc {
    max-width: 26ch;
    font-size: 13px;
    margin-inline: auto;
    line-height: 1.54;
    overflow-wrap: anywhere;
  }

  body.pricing-page .pricing-checks {
    display: grid;
    grid-template-columns: 1fr;
    max-width: calc(100vw - 40px);
    margin: 8px auto 0;
    gap: 6px;
  }

  body.pricing-page .pricing-checks .check-item {
    min-height: 34px;
    padding: 0 10px;
    font-size: 11px;
    line-height: 1.38;
  }

  body.pricing-page .pricing-compare-tip {
    margin-bottom: 12px;
    padding: 12px 14px;
    max-width: 100%;
    border-radius: 14px;
    font-size: 11px;
    line-height: 1.46;
    text-align: left;
    overflow-wrap: anywhere;
  }

  body.pricing-page .pricing,
  body.cases-page .pricing {
    padding: 22px 0 42px;
  }

  body.pricing-page .pricing-grid,
  body.pricing-page .private-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body.pricing-page .pricing-card,
  body.cases-page .pricing-card {
    padding: 16px;
    border-radius: 14px;
  }

  body.pricing-page .pricing-card:hover,
  body.cases-page .pricing-card:hover {
    transform: none;
  }

  body.pricing-page .pricing-card h3,
  body.cases-page .pricing-card h3 {
    margin-top: 12px;
    font-size: 17px;
  }

  body.pricing-page .price {
    font-size: 32px;
  }

  body.pricing-page .price-desc,
  body.cases-page .price-desc {
    font-size: 13px;
    line-height: 1.58;
  }

  body.pricing-page .pricing-features,
  body.cases-page .pricing-features {
    margin: 14px 0 16px;
    padding-top: 14px;
    gap: 8px;
  }

  body.pricing-page .pricing-private,
  body.pricing-page .ownership,
  body.pricing-page .cta,
  body.case-detail-page .pricing-private,
  body.case-detail-page .cta {
    padding: 48px 0;
  }

  body.pricing-page .private-grid,
  body.case-detail-page .private-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body.pricing-page .private-item,
  body.case-detail-page .private-item {
    padding: 18px;
    border-radius: 14px;
  }

  body.pricing-page .cta-inner,
  body.cases-page .section-cta-inner,
  body.case-detail-page .cta-inner {
    padding: 28px 18px;
    border-radius: 14px;
  }

  body.pricing-page .cta-actions,
  body.cases-page .section-cta-actions,
  body.case-detail-page .cta-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 10px;
  }

  body.pricing-page .cta-actions .btn,
  body.cases-page .section-cta-actions .btn,
  body.case-detail-page .cta-actions .btn {
    width: 100%;
  }

  body.pricing-page #modalContainer .contact-panel {
    grid-template-columns: 1fr;
  }

  body.pricing-page #modalContainer .contact-item:last-of-type,
  body.pricing-page #modalContainer .contact-panel-actions {
    grid-column: auto;
  }

  body.cases-page .subtabs-section {
    padding-top: 10px;
  }

  body.cases-page .subtabs {
    gap: 7px;
    padding-bottom: 2px;
  }

  body.cases-page .subtab {
    min-height: 34px;
    padding: 0 11px;
    font-size: 12.5px;
  }

  body.cases-page .pricing-features li {
    font-size: 13px;
    line-height: 1.56;
  }

  body.cases-page .section-cta-strip {
    padding-bottom: 48px;
  }

  body.pricing-page .footer-info,
  body.cases-page .footer-info,
  body.case-detail-page .footer-info {
    margin-bottom: 8px;
  }

  body.pricing-page .footer-copy,
  body.cases-page .footer-copy,
  body.case-detail-page .footer-copy {
    line-height: 1.55;
  }
}

@media (max-width: 370px) {
  body.pricing-page .pricing-hero,
  body.cases-page .pricing-hero,
  body.case-detail-page .pricing-hero {
    padding: 46px 0 24px;
  }

  body.pricing-page .pricing-hero h1,
  body.cases-page .pricing-hero h1,
  body.case-detail-page .pricing-hero h1 {
    font-size: 27px;
  }

  body.pricing-page .pricing-compare-tip {
    padding: 14px;
    border-radius: 14px;
  }

  body.pricing-page .pricing-card,
  body.cases-page .pricing-card,
  body.pricing-page .private-item,
  body.case-detail-page .private-item {
    padding: 16px;
  }

  body.pricing-page .price {
    font-size: 32px;
  }
}
