/* ═══════════════════════════════════════════════════
   Shared pricing page styles
   Loaded by: hcp/pricing.html, medtech/pricing.html
   ═══════════════════════════════════════════════════ */

/* ── PAGE HERO ── */
.pricing-hero {
  padding-top: 64px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.pricing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 80% at 50% -20%,
    oklch(94% 0.06 192 / 0.55) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.pricing-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(
    ellipse 70% 80% at 50% 30%,
    black 20%,
    transparent 75%
  );
  opacity: 0.4;
  pointer-events: none;
}

.pricing-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 32px 72px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.pricing-hero-inner .hero-title {
  font-size: clamp(36px, 5vw, 58px);
  max-width: 700px;
  margin: 0 auto 18px;
}

.pricing-hero-inner .section-sub {
  margin: 0 auto 36px;
  text-align: center;
}

.pricing-hero-pills {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.pricing-hero-pill {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  background: var(--teal-light);
  border: 1.5px solid oklch(82% 0.07 192);
  border-radius: 100px;
  padding: 10px 28px;
}

.pricing-hero-pill--muted {
  background: oklch(98% 0.002 240);
  border-color: oklch(93% 0.005 240);
}

.pricing-hero-pill--muted .pill-price,
.pricing-hero-pill--muted .pill-label {
  color: oklch(72% 0.01 240);
  opacity: 1;
}

.pill-price {
  font-family: var(--ff-display);
  font-size: 32px;
  color: var(--teal-dark);
  line-height: 1;
}

.pill-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--teal-dark);
  opacity: 0.8;
  text-align: left;
  line-height: 1.5;
}

.pill-label-sub {
  font-size: 13px;
  font-weight: 400;
  opacity: 0.75;
}

/* ── SESSION SECTION ── */
.session-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 96px 0;
}

.session-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.session-body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.session-flow {
  background: var(--navy);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.session-flow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 40% at 50% 0%,
    oklch(42% 0.11 192 / 0.22),
    transparent 70%
  );
  pointer-events: none;
}

.session-flow-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-mid);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.session-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 1;
}

.session-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  background: oklch(28% 0.03 240);
  border: 1px solid oklch(34% 0.04 240);
}

.session-step-highlight {
  background: oklch(42% 0.11 192 / 0.25);
  border-color: oklch(56% 0.13 192 / 0.6);
}

.session-step-arrow {
  text-align: center;
  color: oklch(42% 0.04 240);
  font-size: 18px;
  line-height: 1;
  padding: 2px 0;
  margin-left: 20px;
}

.session-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: oklch(38% 0.06 240);
  border: 1px solid oklch(46% 0.06 240);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: oklch(80% 0.04 192);
  flex-shrink: 0;
}

.session-step-highlight .session-step-num {
  background: oklch(42% 0.11 192 / 0.5);
  border-color: oklch(56% 0.13 192 / 0.7);
  color: oklch(88% 0.08 192);
}

.session-step-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.session-step-content strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

.session-step-highlight .session-step-content strong {
  color: oklch(88% 0.1 192);
}

.session-step-content span {
  font-size: 12px;
  color: oklch(60% 0.02 240);
  line-height: 1.5;
}

/* ── PRICING TABLE SECTION ── */
.pricing-table-section {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 96px 0;
}

.pricing-table-section .section-sub {
  margin-bottom: 48px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.pricing-card {
  border-radius: 16px;
  padding: 36px;
}

.pricing-card-primary {
  background: var(--white);
  border: 2px solid var(--teal-mid);
  box-shadow: 0 4px 24px oklch(56% 0.13 192 / 0.12);
}

.pricing-card-secondary {
  background: var(--white);
  border: 1px solid var(--border);
  opacity: 0.7;
}

.pricing-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.pricing-card-secondary .pricing-card-label {
  color: var(--muted);
}

.pricing-card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
}

.price-currency {
  font-family: var(--ff-display);
  font-size: 28px;
  color: var(--ink);
  line-height: 1;
}

.price-amount {
  font-family: var(--ff-display);
  font-size: 56px;
  line-height: 1;
  color: var(--teal-dark);
}

.pricing-card-secondary .price-amount {
  color: var(--muted);
}

.price-unit {
  font-size: 15px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 2px;
}

.pricing-card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-card-features li {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
  padding-left: 22px;
  position: relative;
}

.pricing-card-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal-light);
  border: 1.5px solid oklch(82% 0.07 192);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='2,6 5,9 10,3' stroke='%2330776e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
}

.pricing-card-note {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── PROXY CALLOUT ── */
.proxy-callout {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 40px;
  align-items: center;
}

.proxy-optional-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.proxy-title {
  font-family: var(--ff-display);
  font-size: 22px;
  color: var(--ink);
  margin-top: 0;
}

.proxy-body p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.proxy-price-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.proxy-price {
  font-family: var(--ff-display);
  font-size: 28px;
  color: var(--teal-dark);
  white-space: nowrap;
}

.proxy-price span {
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
}

.proxy-benefit {
  font-size: 13px;
  color: var(--muted);
  border-left: 2px solid var(--border);
  padding-left: 16px;
  line-height: 1.5;
}

/* ── EXAMPLES SECTION ── */
.examples-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 96px 0;
}

.examples-section .section-sub {
  margin-bottom: 48px;
}

.examples-carousel {
  position: relative;
}

.examples-scroll-hint {
  display: none;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.example-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.example-header {
  padding: 28px 28px 0;
}

.example-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

.example-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 12px;
}

.example-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.example-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 0;
}

.example-table th {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
}

.example-table td {
  padding: 10px 16px;
  color: var(--ink);
  border-top: 1px solid var(--border);
  vertical-align: middle;
  line-height: 1.4;
}

.example-table td:last-child {
  font-weight: 600;
  white-space: nowrap;
  text-align: right;
}

.example-table th:last-child {
  text-align: right;
}

.example-table tfoot td {
  background: var(--teal-light);
  font-weight: 700;
  font-size: 13px;
  color: var(--teal-dark);
  border-top: 2px solid oklch(82% 0.07 192);
}

.example-note {
  padding: 16px 28px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  border-top: 1px solid var(--border);
  background: var(--white);
  margin-top: auto;
}

/* ── FAQ BASE ── */
.faq-section {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 96px 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-q::-webkit-details-marker {
  display: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 720px) {
  .examples-scroll-hint {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--teal-dark);
    background: var(--teal-light);
    border: 1px solid oklch(82% 0.07 192);
    border-radius: 999px;
    padding: 4px 10px;
    margin-bottom: 10px;
  }

  .examples-carousel::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 12px;
    width: 40px;
    height: calc(100% - 44px);
    background: linear-gradient(to left, var(--bg), transparent);
    pointer-events: none;
  }

  .examples-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 12px;
    -webkit-overflow-scrolling: touch;
    max-width: none;
    padding: 2px 12px 12px 2px;
  }

  .examples-grid::-webkit-scrollbar {
    height: 6px;
  }

  .examples-grid::-webkit-scrollbar-track {
    background: oklch(92% 0.02 192);
    border-radius: 999px;
  }

  .examples-grid::-webkit-scrollbar-thumb {
    background: oklch(72% 0.1 192);
    border-radius: 999px;
  }

  .examples-grid .example-card {
    flex: 0 0 calc(100% - 52px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .pricing-hero-pill {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
  }
}
