:root {
  color: #111827;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid #e5e7eb;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, .05);
}

.site-header-inner {
  width: min(1120px, calc(100% - 32px));
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #111827;
  text-decoration: none;
}

.brand-logo {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #000;
  color: #fff;
  font-size: 28px;
  font-weight: 950;
  letter-spacing: 0;
}

.brand strong {
  display: block;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 950;
}

.brand small {
  display: block;
  margin-top: 8px;
  color: #6b7280;
  font-size: 17px;
  font-weight: 650;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-link {
  border: 0;
  background: transparent;
  color: #374151;
  cursor: pointer;
  font-size: 22px;
  font-weight: 850;
}

.history-button {
  border: 0;
  border-radius: 14px;
  background: #111827;
  color: #fff;
  cursor: pointer;
  padding: 16px 28px;
  font-size: 22px;
  font-weight: 850;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.hero {
  text-align: center;
  padding-top: 56px;
  padding-bottom: 44px;
}

.badges,
.trust-row,
.tags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 8px 16px;
  border: 1px solid;
  font-size: 14px;
  font-weight: 800;
}

.badge.orange {
  color: #c2410c;
  background: #fff7ed;
  border-color: #fed7aa;
}

.badge.green {
  color: #15803d;
  background: #f0fdf4;
  border-color: #bbf7d0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  margin-top: 20px;
  font-size: clamp(48px, 8vw, 76px);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: 0;
}

h1 span {
  color: #f97316;
}

h2 {
  text-align: center;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0;
}

h3 {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 850;
}

.price-hero {
  display: inline-block;
  margin: 28px auto 18px;
  padding: 24px 46px;
  border: 2px solid #fed7aa;
  border-radius: 24px;
  background: #fff7ed;
}

.pill {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #f97316;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.price-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.price-line del {
  color: #9ca3af;
  font-size: 24px;
  font-weight: 800;
}

.price-line strong {
  font-size: clamp(58px, 8vw, 82px);
  line-height: 0.95;
  font-weight: 950;
}

.price-hero p,
.duration,
.section-subtitle,
.card p,
.product-card p,
.faq p,
.modal p {
  color: #6b7280;
}

.typing {
  min-height: 28px;
  color: #6b7280;
  font-size: 18px;
  font-weight: 650;
}

.primary-btn,
.product-card button,
.wechat-pay {
  border: 0;
  border-radius: 14px;
  background: #000;
  color: #fff;
  cursor: pointer;
  font-weight: 850;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 26px 0 24px;
  padding: 16px 38px;
  text-decoration: none;
  box-shadow: 0 18px 32px rgba(15, 23, 42, .18);
}

.primary-btn:hover,
.product-card button:hover,
.wechat-pay:hover {
  transform: translateY(-2px);
  background: #111827;
}

.trust-row {
  color: #4b5563;
  font-size: 13px;
}

.band {
  background: #f9fafb;
}

.section-subtitle {
  margin: 10px auto 36px;
  text-align: center;
  max-width: 680px;
  font-size: 14px;
  line-height: 1.7;
}

.steps {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  align-items: center;
  gap: 16px;
}

.grid {
  display: grid;
  gap: 24px;
}

.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two,
.products {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.product-card,
.support-card,
details {
  border: 2px solid #f3f4f6;
  border-radius: 24px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card,
.support-card {
  padding: 28px;
}

.card:hover,
.support-card:hover,
details:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px rgba(15, 23, 42, .08);
}

.card small {
  display: block;
  margin-bottom: 10px;
  color: #d1d5db;
  font-weight: 850;
  letter-spacing: .14em;
}

.card p,
.product-card p,
.support-card p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.75;
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  font-size: 22px;
}

.black {
  background: #000;
}

.orange {
  background: #f97316;
}

.soft-orange {
  background: #fff7ed;
}

.soft-green {
  background: #dcfce7;
}

.soft-blue {
  background: #dbeafe;
}

.arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}

.eyebrow {
  margin-bottom: 12px;
  color: #f97316;
  text-align: center;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .3em;
}

.product-card {
  padding: 32px;
}

.product-card.blue:hover {
  border-color: #93c5fd;
}

.product-card.green:hover {
  border-color: #86efac;
}

.product-price {
  margin: 20px 0 6px;
}

.product-price span {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 10px;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  background: #fff7ed;
  color: #ea580c;
  font-size: 12px;
  font-weight: 850;
}

.product-price strong {
  display: inline-block;
  margin-right: 12px;
  color: #000;
  font-size: 52px;
  line-height: 1;
  font-weight: 950;
}

.product-price del {
  color: #9ca3af;
  font-weight: 750;
}

.tags {
  justify-content: flex-start;
  margin: 20px 0 24px;
}

.tags span {
  padding: 6px 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 750;
}

.product-card.green .tags span {
  background: #f0fdf4;
  color: #16a34a;
}

.product-card button,
.wechat-pay {
  width: 100%;
  padding: 15px 18px;
}

.product-card.green button,
.wechat-pay {
  background: #16a34a;
}

.faq {
  display: grid;
  gap: 14px;
  max-width: 840px;
  margin: 0 auto;
}

details {
  padding: 0;
  overflow: hidden;
}

summary {
  cursor: pointer;
  padding: 20px 24px;
  color: #111827;
  font-weight: 800;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  padding: 0 24px 20px;
  font-size: 14px;
  line-height: 1.8;
}

.support-section {
  padding-bottom: 96px;
}

.support-card {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  border-color: #111827;
}

.recommend {
  position: absolute;
  top: 0;
  right: 0;
  padding: 8px 16px;
  border-bottom-left-radius: 16px;
  border-top-right-radius: 20px;
  background: #f97316;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.support-card strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.support-card i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, .12);
}

.customer-service {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: #111827;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, .28);
  cursor: pointer;
  transition: transform .2s ease;
}

.customer-service:hover {
  transform: scale(1.08);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(17, 24, 39, .56);
}

.modal.open {
  display: flex;
}

.modal-panel {
  position: relative;
  width: min(420px, 100%);
  border-radius: 24px;
  background: #fff;
  padding: 28px;
  text-align: center;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
}

.modal-panel img {
  width: min(280px, 100%);
  margin: 20px auto 0;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
}

.close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.pay-panel {
  text-align: left;
}

.pay-panel h3,
.pay-panel > p {
  text-align: center;
}

label {
  display: block;
  margin: 20px 0 14px;
  color: #374151;
  font-size: 14px;
  font-weight: 750;
}

input {
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  outline: none;
}

input:focus {
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .12);
}

.pay-result {
  min-height: 24px;
  margin-top: 18px;
  text-align: center;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.6;
}

.pay-result img {
  margin-top: 12px;
}

.polling-note {
  color: #16a34a;
  font-weight: 750;
}

.receipt {
  text-align: center;
}

.receipt-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 8px auto 12px;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  font-size: 30px;
  font-weight: 900;
}

.receipt h4 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 22px;
}

.receipt dl {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 14px;
  border-radius: 14px;
  background: #f9fafb;
  text-align: left;
}

.receipt dl div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
}

.receipt dt {
  color: #6b7280;
  font-size: 13px;
}

.receipt dd {
  margin: 0;
  color: #111827;
  font-size: 13px;
  font-weight: 750;
  word-break: break-all;
}

.service-guide {
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.service-guide strong {
  display: block;
  color: #111827;
  font-size: 16px;
}

.service-guide img {
  width: min(220px, 100%);
}

.voucher-card {
  margin: 16px 0;
  padding: 16px;
  border: 1px solid #d1d5db;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f9fafb);
  box-shadow: inset 0 0 0 1px #ffffff, 0 12px 24px rgba(15, 23, 42, .06);
}

.voucher-card span {
  display: block;
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.voucher-card strong {
  display: block;
  margin: 8px 0 12px;
  color: #111827;
  font-size: 18px;
  letter-spacing: .04em;
  word-break: break-all;
}

.voucher-card img {
  width: min(180px, 100%);
  margin: 0 auto;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
}

.receipt.compact h4 {
  margin-top: 0;
}

@media (max-width: 820px) {
  .site-header-inner {
    min-height: 74px;
    gap: 12px;
  }

  .brand {
    gap: 12px;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 21px;
  }

  .brand strong {
    font-size: 22px;
  }

  .brand small {
    margin-top: 4px;
    font-size: 13px;
  }

  .header-actions {
    gap: 10px;
  }

  .header-link {
    display: none;
  }

  .history-button {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 15px;
    white-space: nowrap;
  }

  .container {
    width: min(100% - 28px, 1120px);
    padding: 48px 0;
  }

  .steps,
  .three,
  .two,
  .products {
    grid-template-columns: 1fr;
  }

  .arrow {
    margin: 0 auto;
    transform: rotate(90deg);
  }

  .price-hero {
    width: 100%;
    padding: 22px 20px;
  }

  .product-price strong {
    font-size: 44px;
  }
}
