/* 内页通用骨架 + 服务报价表格 + 联系我们卡片。 */

.inner-main {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 182px);
  padding: 42px 0 74px;
}

.inner-main::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 82% 12%, rgba(88, 116, 236, 0.14), transparent 42%),
    radial-gradient(circle at 12% 78%, rgba(62, 139, 241, 0.1), transparent 40%);
  pointer-events: none;
  content: "";
}

.inner-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.page-hero {
  position: relative;
  padding: 54px 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 91% 4%, rgba(116, 94, 238, 0.2), transparent 33%),
    radial-gradient(circle at 8% 100%, rgba(62, 139, 241, 0.13), transparent 31%),
    var(--surface);
  box-shadow: var(--shadow);
  animation: pages-rise 0.58s var(--ease) both;
}

.page-hero::after {
  position: absolute;
  top: -140px;
  right: -90px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(142, 176, 247, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 44px rgba(113, 139, 236, 0.025),
    0 0 0 96px rgba(113, 139, 236, 0.018);
  content: "";
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 800px;
  margin: 20px 0 16px;
  font-family: "STZhongsong", "Songti SC", "Noto Serif CJK SC", serif;
  font-size: clamp(2.45rem, 4.2vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.14;
}

.page-hero h1 em {
  background: linear-gradient(100deg, #dceaff 10%, #89b8ff 54%, #b79bff 100%);
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.page-lead {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(0.96rem, 1.15vw, 1.1rem);
  line-height: 1.85;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.hero-highlight {
  padding: 7px 12px;
  border: 1px solid rgba(119, 160, 235, 0.17);
  border-radius: 999px;
  background: rgba(70, 113, 198, 0.07);
  color: var(--dim);
  font-size: 0.74rem;
}

@keyframes pages-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 22px;
}

.section-heading h2 {
  font-family: "STZhongsong", "Songti SC", "Noto Serif CJK SC", serif;
  font-size: clamp(1.65rem, 2.4vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.section-heading > p {
  max-width: 480px;
  color: var(--dim);
  font-size: 0.86rem;
  text-align: right;
}

.section-heading .section-kicker {
  display: block;
  margin-bottom: 8px;
}

/* 服务报价：单张表格 + 分类行，窄屏自动切成卡片。 */

.pricing-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  animation: pages-rise 0.66s var(--ease) both;
}

.pricing-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

.pricing-table thead th {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(25, 37, 64, 0.96), rgba(15, 23, 42, 0.96));
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-align: left;
  white-space: nowrap;
}

.pricing-group-row th {
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(77, 126, 219, 0.11);
  color: var(--blue-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: left;
}

.pricing-row td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(120, 161, 233, 0.09);
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.7;
  vertical-align: top;
}

.pricing-row:last-child td {
  border-bottom: 0;
}

.pricing-row.is-featured td {
  background: linear-gradient(90deg, rgba(93, 156, 255, 0.07), rgba(147, 105, 239, 0.03));
}

.pricing-row:hover td {
  background: rgba(93, 156, 255, 0.06);
}

.pricing-name {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 650;
  white-space: nowrap;
}

.pricing-price {
  display: block;
  color: #c3dcff;
  font-size: 1.06rem;
  font-weight: 700;
}

.pricing-featured {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 9px;
  border: 1px solid rgba(167, 139, 250, 0.34);
  border-radius: 999px;
  background: rgba(147, 105, 239, 0.18);
  color: #cdbcff;
  font-size: 0.68rem;
  font-weight: 600;
}

.pricing-unit {
  white-space: nowrap;
}

.pricing-note-cell {
  color: var(--dim);
  font-size: 0.84rem;
}

.pricing-note {
  margin-top: 16px;
  color: var(--dim);
  font-size: 0.82rem;
  line-height: 1.85;
}

.pricing-extras {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.pricing-extra-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition:
    transform 0.24s var(--ease),
    border-color 0.24s ease;
}

.pricing-extra-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.pricing-extra-card h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.pricing-extra-price {
  display: block;
  margin-bottom: 10px;
  color: #c3dcff;
  font-weight: 700;
}

.pricing-extra-card p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.75;
}

.pricing-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 26px;
  padding: 30px 34px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 10%, rgba(116, 94, 238, 0.22), transparent 48%),
    var(--surface-raised);
  box-shadow: var(--shadow);
}

.pricing-cta h2 {
  margin-bottom: 8px;
  font-family: "STZhongsong", "Songti SC", "Noto Serif CJK SC", serif;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 600;
}

.pricing-cta p {
  max-width: 560px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.pricing-cta-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 联系我们：联系方式卡片 + 服务范围 + 快捷入口。 */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition:
    transform 0.24s var(--ease),
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 42px rgba(3, 8, 22, 0.42);
}

.contact-card-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(120, 170, 246, 0.2);
  border-radius: 13px;
  background: rgba(93, 156, 255, 0.12);
  color: var(--blue-soft);
}

.contact-card-icon svg {
  width: 21px;
  height: 21px;
}

.contact-card-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.contact-card-label {
  color: var(--dim);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.contact-card-value {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.contact-card-value a {
  border-bottom: 1px dashed rgba(155, 196, 255, 0.4);
  color: var(--blue-soft);
  text-decoration: none;
}

.contact-card-value a:hover {
  border-bottom-color: #fff;
  color: #fff;
}

.contact-card-value .is-pending {
  color: var(--dim);
  font-weight: 600;
}

.contact-card-note {
  color: var(--dim);
  font-size: 0.79rem;
}

.contact-areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(252px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-areas li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(13, 21, 39, 0.62);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.contact-areas li svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: var(--blue);
}

.contact-panel {
  padding: 30px 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-panel .contact-actions {
  margin-top: 22px;
}

.contact-tip {
  margin-top: 16px;
  color: var(--dim);
  font-size: 0.84rem;
  line-height: 1.8;
}

@media (max-width: 860px) {
  .inner-shell {
    gap: 34px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .section-heading > p {
    text-align: left;
  }
}

@media (max-width: 820px) {
  .pricing-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .pricing-table,
  .pricing-table tbody,
  .pricing-table tr,
  .pricing-table td {
    display: block;
    width: 100%;
  }

  .pricing-table {
    min-width: 0;
  }

  .pricing-table thead {
    display: none;
  }

  .pricing-group-row {
    padding: 6px 4px 12px;
  }

  .pricing-group-row th {
    padding: 0;
    border: 0;
    background: transparent;
  }

  .pricing-row {
    margin-bottom: 14px;
    padding: 6px 0;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: 0 12px 30px rgba(3, 8, 22, 0.28);
  }

  .pricing-row td {
    padding: 9px 16px;
    border-bottom: 0;
  }

  .pricing-row td::before {
    display: block;
    margin-bottom: 5px;
    color: var(--dim);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    content: attr(data-label);
  }

  .pricing-name {
    padding-top: 14px;
    color: var(--text);
    font-size: 1.02rem;
    white-space: normal;
  }
}

@media (max-width: 600px) {
  .inner-main {
    padding-top: 22px;
    padding-bottom: 48px;
  }

  .page-hero {
    padding: 34px 22px;
    border-radius: 20px;
  }

  .page-hero h1 {
    font-size: clamp(2.1rem, 11vw, 3rem);
  }

  .hero-highlights {
    margin-top: 22px;
  }

  .pricing-cta,
  .contact-panel {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .pricing-cta-actions .button-primary,
  .pricing-cta-actions .button-secondary,
  .contact-actions .button-primary,
  .contact-actions .button-secondary {
    width: 100%;
  }
}
