/* =========================
   Pricing Section
   ========================= */

.pricingSection {
  background: var(--pricing-bg, #fffef2);
  padding: clamp(34px, 6vw, 90px) 0;
}

.pricingSection__title {
  margin: 0 0 10px 0;
  text-align: center;

  font-family: "Optima", "URW Classico", "Segoe UI", serif;
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.1;
  color: #111;
}

/* =========================
   Description (Centered Stable Version)
   ========================= */

.pricingSection__description {
  margin: 0 auto clamp(20px, 3vw, 30px);
  text-align: center;
  max-width: min(860px, 92vw);

  font-family: "Suisse Int'l", "Suisse Intl", "Inter", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  font-weight: 400;
  font-size: clamp(14px, 1.1vw, 15px);
  line-height: 1.85;
  color: rgba(17, 17, 17, 0.68);
}

/* 清除富文本默认 margin，避免结构变化导致错位 */
.pricingSection__description :where(p, ul, ol, li, h1, h2, h3, h4, h5, h6) {
  margin: 0;
  text-align: center;
}

/* 基础段落间距 */
.pricingSection__description :where(p, h3, h4) + :where(p, h3, h4) {
  margin-top: 14px;
}

/* =========================
   Question 行（第一行）
   ========================= */

.pricingSection__description :is(p, h3, h4):first-child {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  color: #111;
  margin-bottom: 20px;
}

/* =========================
   Initial / Maintenance 标题
   ========================= */

.pricingSection__description h3,
.pricingSection__description h4 {
  font-weight: 700;
  font-size: inherit;
  color: #111;
  margin-top: 18px;
  margin-bottom: 6px;
}

/* =========================
   强调文字优化
   ========================= */

.pricingSection__description strong {
  font-weight: 600;
  color: rgba(17, 17, 17, 0.82);
}

/* =========================
   Subtitle
   ========================= */

.pricingSection__subtitle {
  margin: 0 auto clamp(22px, 3vw, 44px);
  text-align: center;
  max-width: 860px;

  font-family: "Suisse Int'l", "Suisse Intl", "Inter", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(17, 17, 17, 0.7);
}

/* =========================
   Grid
   ========================= */

.pricingGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.6vw, 26px);
}

@media (max-width: 900px) {
  .pricingGrid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Card
   ========================= */

.pricingCard {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 320px);
  gap: clamp(16px, 2vw, 22px);
  align-items: center;

  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: clamp(16px, 2vw, 22px);
  text-decoration: none;
  color: inherit;

  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
  will-change: transform, box-shadow;
}

@media (max-width: 520px) {
  .pricingCard {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
}

.pricingCard__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricingCard__heading {
  margin: 0;
  font-family: "Suisse Int'l", "Suisse Intl", "Inter", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.2;
  color: #111;
}

.pricingCard__body {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;

  font-family: "Suisse Int'l", "Suisse Intl", "Inter", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(17, 17, 17, 0.78);
}

.pricingCard__body :where(p, ul, ol, li) { margin: 0; }
.pricingCard__body p + p { margin-top: 10px; }
.pricingCard__body ul,
.pricingCard__body ol { margin-top: 10px; padding-left: 18px; }
.pricingCard__body li { margin-top: 6px; }

.pricingCard__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin-top: 8px;
}

.pricingCard__tag {
  font-weight: 400;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(31, 31, 31, 0.75);
}

.pricingCard__price {
  font-weight: 900;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1;
  color: #111;
  white-space: nowrap;
}

/* =========================
   Media
   ========================= */

.pricingCard__media {
  width: 100%;
  max-width: 320px;
  margin-left: auto;

  border-radius: 14px;
  overflow: hidden;
  background: #eee;

  aspect-ratio: 4 / 3;
}

@media (max-width: 520px) {
  .pricingCard__media {
    max-width: 100%;
    aspect-ratio: 16 / 9;
  }
}

.pricingCard__img {
  width: 100%;
  height: 100%;
  display: block;

  object-fit: cover;
  object-position: center;
}

/* hover */
@media (hover: hover) {
  .pricingCard {
    transition: transform 160ms ease, box-shadow 160ms ease;
  }

  .pricingCard:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.10);
  }
}
