/* Meritudio pricing page — BioAI + Cloud paths on the current site system */

.pricing-page {
  --pricing-blue: #6699d2;
  --pricing-blue-dark: #4f86bd;
  --pricing-navy: #334d6f;
  --pricing-muted: #6b7d96;
  --pricing-line: #dfeaf5;
  color: #666;
}

.pricing-page a {
  text-decoration: none;
}

.pricing-page img {
  max-width: 100%;
}

/* header */
.pricing-page .pricing-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  transition: box-shadow 0.2s ease;
}

.pricing-page .pricing-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(51, 77, 111, 0.1);
}

.pricing-page .pricing-header .nav li.active > a {
  color: var(--pricing-blue);
}

.pricing-page .navPhoneBtn {
  display: none;
}

/* mobile menu */
.pricing-mobile-menu {
  display: none;
  position: fixed;
  top: var(--pricing-header-h, 68px);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  background: #fff;
  padding: 12px 30px 40px;
  overflow-y: auto;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.pricing-mobile-menu.open {
  display: block;
}

.pricing-mobile-menu a {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid #eef3f8;
  color: #4a546f;
  font-size: 15px;
  letter-spacing: 0.06em;
}

.pricing-mobile-menu a.active {
  color: var(--pricing-blue);
}

body.pricing-menu-open {
  overflow: hidden;
}

/* shared */
.pricing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pricing-blue);
  font-family: "myfont2", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pricing-eyebrow.light {
  color: #d5e8f7;
}

.price-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  border: 2px solid var(--pricing-blue);
  border-radius: 999px;
  background: var(--pricing-blue);
  color: #fff;
  font-family: "myfont2", sans-serif;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.price-btn:hover {
  background: var(--pricing-blue-dark);
  border-color: var(--pricing-blue-dark);
  color: #fff;
  transform: translateY(-1px);
}

.price-btn.outline {
  background: #fff;
  color: var(--pricing-blue);
}

.price-btn.outline:hover {
  background: #f2f8fc;
  color: var(--pricing-blue-dark);
}

.price-btn.light {
  background: #fff;
  border-color: #fff;
  color: var(--pricing-navy);
}

.price-btn.light:hover {
  background: #f2f8fc;
  border-color: #f2f8fc;
  color: var(--pricing-navy);
}

.price-btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}

.price-btn.ghost:hover {
  background: #fff;
  border-color: #fff;
  color: var(--pricing-navy);
}

/* hero */
.pricing-hero {
  position: relative;
  overflow: hidden;
  padding: 66px 0 70px;
  background: linear-gradient(180deg, #f5faff 0%, #eef6fd 58%, #fff 100%);
}

.pricing-hero::before {
  content: "";
  position: absolute;
  top: -280px;
  right: -160px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102, 153, 210, 0.18), rgba(102, 153, 210, 0) 68%);
  pointer-events: none;
}

.pricing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(102, 153, 210, 0.2) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.25;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 74%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 74%);
}

.pricing-hero-head {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto 36px;
  text-align: center;
}

.pricing-hero h1 {
  margin: 14px 0 14px;
  color: var(--pricing-navy);
  font-family: "myfont2", sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.pricing-hero-head p {
  max-width: 800px;
  margin: 0 auto;
  color: #5b6b7f;
  font-size: 15px;
  line-height: 26px;
}

.pricing-paths {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
  padding-top:0.5rem;
}

.price-path {
  display: flex;
  flex-direction: column;
  padding: 30px 32px 28px;
  border: 1px solid var(--pricing-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(51, 77, 111, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.price-path:hover {
  transform: translateY(-3px);
  border-color: #bcd8ef;
  box-shadow: 0 18px 40px rgba(51, 77, 111, 0.1);
}

.price-path-bio {
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, #1d3048 0%, #334d6f 66%, #3d5d83 100%);
  color: #fff;
  box-shadow: 0 16px 40px rgba(29, 48, 72, 0.28);
}

.price-path-bio:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 22px 46px rgba(29, 48, 72, 0.34);
}

.price-path-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.price-kicker {
  color: #7b8fa6;
  font-family: "myfont2", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.price-kicker.light {
  color: #9fc4e8;
}

.price-flag {
  padding: 4px 9px;
  border-radius: 999px;
  background: #eef6fd;
  color: var(--pricing-blue);
  font-family: "myfont2", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.price-path-bio .price-flag {
  background: #fff;
  color: var(--pricing-navy);
}

.price-path h2 {
  margin: 0 0 10px;
  color: var(--pricing-navy);
  font-family: "myfont2", sans-serif;
  font-size: 25px;
  line-height: 1.25;
}

.price-path-bio h2 {
  color: #fff;
}

.price-path p {
  margin: 0 0 18px;
  color: #5b6b7f;
  font-size: 14px;
  line-height: 24px;
}

.price-path-bio p {
  color: #c9d6e5;
}

.price-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
}

.price-chips span {
  padding: 5px 10px;
  border: 1px solid #dbe8f5;
  border-radius: 999px;
  background: #f7fbfe;
  color: #6b7d96;
  font-size: 10px;
  line-height: 1.4;
}

.price-chips.light span {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.07);
  color: #c9d6e5;
}

.price-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.price-note {
  margin-top: 16px;
  color: #8a9bb0;
  font-size: 11px;
  line-height: 18px;
}

.price-path-bio .price-note {
  color: #9fb2c8;
}

/* plans section */
.pricing-plans {
  padding: 70px 0 56px;
  background: #fff;
}

.pricing-section-head {
  max-width: 780px;
  margin: 0 auto 32px;
  text-align: center;
}

.pricing-section-head h2 {
  margin: 10px 0 10px;
  color: var(--pricing-navy);
  font-family: "myfont", sans-serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.2;
}

.pricing-section-head p {
  margin: 0 auto;
  color: var(--pricing-muted);
  font-size: 14px;
  line-height: 24px;
}

.pricing-section-head a {
  color: var(--pricing-blue);
  text-decoration: underline;
}

.pricing-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--pricing-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(51, 77, 111, 0.07);
  -webkit-overflow-scrolling: touch;
}

.pricing-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.pricing-table col.col-feature {
  width: 18%;
}

.pricing-table th,
.pricing-table td {
  border-bottom: 1px solid #eef3f8;
  border-right: 1px solid #f2f6fa;
  padding: 14px 16px;
  vertical-align: top;
}

.pricing-table th:last-child,
.pricing-table td:last-child {
  border-right: 0;
}

.pricing-table tbody tr:last-child th,
.pricing-table tbody tr:last-child td {
  border-bottom: 0;
}

.pricing-table thead th {
  border-bottom: 1px solid var(--pricing-line);
}

.pricing-table .price-feature-head {
  position: sticky;
  left: 0;
  z-index: 3;
  background: #fff;
  color: #8a9bb0;
  font-family: "myfont2", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
  vertical-align: middle;
}

.price-plan {
  text-align: center;
  vertical-align: top;
}

.plan-free {
  background: #fbfaf3;
}

.plan-pro {
  background: #f7f9fe;
}

.plan-team {
  background: #f4faf8;
}

.plan-cloud {
  background: #fbf7f3;
}

.plan-internal {
  background: #f8f7f2;
}

.price-plan img {
  display: block;
  width: 54px;
  height: 54px;
  margin: 0 auto 8px;
  object-fit: contain;
}

.plan-name {
  display: block;
  min-height: 38px;
  color: var(--pricing-navy);
  font-family: "myfont2", sans-serif;
  font-size: 15px;
  line-height: 1.25;
}

.plan-meta {
  display: block;
  margin: 4px 0 12px;
  color: #8a9bb0;
  font-size: 10px;
}

.plan-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--pricing-blue);
  border-radius: 999px;
  background: var(--pricing-blue);
  color: #fff;
  font-family: "myfont2", sans-serif;
  font-size: 10px;
  line-height: 1;
}

.plan-btn:hover {
  background: var(--pricing-blue-dark);
  border-color: var(--pricing-blue-dark);
  color: #fff;
}

.plan-quote {
  display: block;
  margin-top: 8px;
  color: var(--pricing-blue);
  font-size: 10px;
  text-decoration: underline;
}

.pricing-table tbody th {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #fff;
  color: #5b6b7f;
  font-family: "myfont2", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  text-align: left;
  box-shadow: 1px 0 0 #eef3f8;
}

.pricing-table tbody td {
  color: #5b6b7f;
  font-size: 12px;
  line-height: 19px;
}

.pricing-table tbody tr:nth-child(even) td {
  background: #fbfdff;
}

.pricing-table tbody tr:nth-child(even) th {
  background: #fbfdff;
}

.cell-check {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.pricing-scroll-note {
  display: none;
  margin: 12px 0 0;
  color: #8a9bb0;
  font-size: 11px;
  text-align: center;
}

/* FAQ */
.pricing-faq {
  padding: 64px 0;
  border-top: 1px solid #eef3f8;
  border-bottom: 1px solid #eef3f8;
  background: #f7fbfe;
}

.pricing-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 920px;
  margin: 0 auto;
}

.pricing-faq-item {
  padding: 0 20px;
  border: 1px solid var(--pricing-line);
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pricing-faq-item[open] {
  border-color: #bcd8ef;
  box-shadow: 0 8px 22px rgba(51, 77, 111, 0.06);
}

.pricing-faq-item summary {
  position: relative;
  padding: 17px 28px 17px 0;
  color: var(--pricing-navy);
  font-family: "myfont2", sans-serif;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.pricing-faq-item summary::-webkit-details-marker {
  display: none;
}

.pricing-faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  color: var(--pricing-blue);
  font-family: "myfont2", sans-serif;
  font-size: 20px;
  line-height: 1;
}

.pricing-faq-item[open] summary::after {
  content: "\2212";
}

.pricing-faq-item p {
  max-width: 820px;
  margin: 0 0 18px;
  color: #5b6b7f;
  font-size: 13px;
  line-height: 22px;
}

.pricing-faq-item a {
  color: var(--pricing-blue);
  text-decoration: underline;
}

/* CTA */
.pricing-cta {
  position: relative;
  overflow: hidden;
  padding: 54px 0;
  background: linear-gradient(120deg, #6699d2 0%, #4f86bd 100%);
  color: #fff;
}

.pricing-cta::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -120px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.pricing-cta .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.pricing-cta-copy {
  max-width: 720px;
}

.pricing-cta h2 {
  margin: 10px 0 8px;
  color: #fff;
  font-family: "myfont", sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
}

.pricing-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 24px;
}

.pricing-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* responsive */
@media (max-width: 1200px) {
  .pricing-hero h1 {
    font-size: 40px;
  }

  .price-path h2 {
    font-size: 23px;
  }
}

@media (max-width: 1100px) {
  .pricing-page .pricing-header .nav {
    display: none;
  }

  .pricing-page .pricing-header .button {
    display: none;
  }

  .pricing-page .navPhoneBtn {
    display: inline-block;
  }

  .pricing-paths {
    max-width: 900px;
  }

  .pricing-scroll-note {
    display: block;
  }
}

@media (max-width: 900px) {
  .pricing-hero h1 {
    font-size: 36px;
  }

  .pricing-paths {
    grid-template-columns: 1fr;
    max-width: 640px;
  }

  .price-path {
    padding: 26px 28px 24px;
  }

  .pricing-cta .container {
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .pricing-hero {
    padding: 50px 0 56px;
  }

  .pricing-hero h1 {
    font-size: 32px;
  }

  .pricing-hero-head p {
    font-size: 14px;
    line-height: 24px;
  }

  .price-path h2 {
    font-size: 22px;
  }

  .pricing-plans,
  .pricing-faq {
    padding: 52px 0;
  }

  .pricing-section-head h2 {
    font-size: 30px;
  }

  .pricing-cta {
    padding: 46px 0;
  }

  .pricing-cta h2 {
    font-size: 28px;
  }

  .pricing-cta .container {
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .pricing-hero h1 {
    font-size: 28px;
  }

  .price-path {
    padding: 24px;
  }

  .price-actions .price-btn,
  .pricing-cta-actions .price-btn {
    width: 100%;
  }

  .price-path-top {
    align-items: flex-start;
  }

  .pricing-faq-item {
    padding: 0 16px;
  }

  .pricing-faq-item summary {
    font-size: 13px;
  }
}

@media (hover: none) {
  .price-path:hover,
  .price-btn:hover {
    transform: none;
  }
}

/* anchors and focus */
.pricing-page {
  scroll-behavior: smooth;
}

.pricing-page section[id] {
  scroll-margin-top: calc(var(--pricing-header-h, 68px) + 18px);
}

.pricing-page a:focus-visible,
.pricing-page button:focus-visible,
.pricing-page summary:focus-visible,
.pricing-table-wrap:focus-visible {
  outline: 3px solid rgba(102, 153, 210, 0.45);
  outline-offset: 3px;
}

.price-models {
  margin: -8px 0 0;
  color: #9fb2c8;
  font-size: 10.5px;
  line-height: 18px;
  letter-spacing: 0.02em;
}
