:root {
  --bg: #f4f7f3;
  --surface: #ffffff;
  --surface-2: #f8faf7;
  --ink: #16211b;
  --muted: #607069;
  --line: #dce5df;
  --green: #1f7a55;
  --green-2: #0f5f4b;
  --blue: #2e5f96;
  --amber: #b87920;
  --red: #b84a3a;
  --shadow: 0 20px 60px rgba(28, 45, 35, .10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.domain-strip {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid rgba(22, 33, 27, .10);
  background: rgba(244, 247, 243, .96);
  backdrop-filter: blur(14px);
  font-size: 13px;
  color: #33423a;
}

.domain-strip strong {
  color: var(--green-2);
}

.domain-strip span:last-child {
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 35px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid rgba(22, 33, 27, .10);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(15, 95, 75, .18);
}

.brand strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  padding: 9px 11px;
  border-radius: 8px;
  color: #33423a;
  font-size: 14px;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: #e7f1eb;
  color: var(--green-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-dark {
  background: #17211b;
  color: #fff;
}

.btn-soft {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.btn-wide {
  width: 100%;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.page {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

.home-hero {
  position: relative;
  min-height: 620px;
  margin: 0 calc(50% - 50vw);
  padding: 90px max(16px, calc((100vw - 1180px) / 2)) 72px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 28, 21, .88), rgba(16, 28, 21, .52) 56%, rgba(16, 28, 21, .14)),
    url("assets/kanzhong-dashboard.png") center / cover no-repeat;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 122px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100vw - 32px));
  padding-top: 36px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
  gap: 34px;
  align-items: center;
  padding: 58px 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--green-2);
  font-weight: 900;
  font-size: 13px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--green);
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: 0;
}

.lead {
  max-width: 690px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 17px;
}

.home-hero .lead {
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #e8eee9;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(280px, calc(100% - 36px));
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 14px 38px rgba(17, 32, 23, .12);
  backdrop-filter: blur(16px);
}

.media-badge strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.media-badge span {
  color: var(--muted);
  font-size: 12px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 44px;
}

.home-metrics {
  position: relative;
  z-index: 2;
  margin-top: -38px;
}

.metric {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(28, 45, 35, .06);
}

.metric strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 44px 0;
}

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

.section-head p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
}

.feature-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature,
.price-card,
.order-panel,
.payment-panel,
.service-row,
.table-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 42px rgba(28, 45, 35, .07);
}

.feature,
.price-card {
  padding: 22px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #e7f1eb;
  color: var(--green-2);
}

.feature p,
.price-card p,
.service-row p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 18px;
  align-items: start;
}

.table-wrap {
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

th {
  background: #f0f5f1;
  color: #405149;
  font-size: 13px;
}

tr:last-child td {
  border-bottom: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e7f1eb;
  color: var(--green-2);
  font-size: 12px;
  font-weight: 800;
}

.tag.blue {
  background: #e7eef8;
  color: var(--blue);
}

.tag.amber {
  background: #fff0db;
  color: var(--amber);
}

.service-list {
  display: grid;
  gap: 12px;
}

.service-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.price {
  margin: 16px 0 18px;
  font-size: 32px;
  font-weight: 900;
}

.price small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.price-card ul,
.order-panel ul {
  display: grid;
  gap: 9px;
  padding-left: 18px;
  color: #405149;
}

.price-card.featured {
  border-color: rgba(31, 122, 85, .35);
  background: linear-gradient(180deg, #ffffff 0%, #edf7f1 100%);
}

.checkout-layout,
.payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 18px;
  align-items: start;
  padding: 42px 0 56px;
}

.order-panel,
.payment-panel {
  padding: 22px;
}

.summary-line,
.total-line,
.info-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.summary-line span,
.info-line span {
  color: var(--muted);
}

.total-line {
  border-bottom: 0;
  font-size: 18px;
  font-weight: 900;
}

.total-line strong {
  color: var(--red);
  font-size: 28px;
}

.method-list {
  display: grid;
  gap: 10px;
}

.method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.method.active {
  border-color: rgba(31, 122, 85, .55);
  box-shadow: inset 0 0 0 1px rgba(31, 122, 85, .35);
}

.method-dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #e7f1eb;
  color: var(--green-2);
  font-weight: 900;
}

.pay-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.pay-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  background: #17211b;
  color: #fff;
}

.pay-top span {
  display: block;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
}

.pay-top strong {
  display: block;
  margin-top: 5px;
  font-size: 28px;
}

.qr-area {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 26px;
}

.qr {
  position: relative;
  width: 240px;
  height: 240px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.qr-grid {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(90deg, #17211b 12px, transparent 12px) 0 0 / 24px 24px,
    linear-gradient(#17211b 12px, transparent 12px) 0 0 / 24px 24px,
    linear-gradient(90deg, transparent 6px, rgba(31, 122, 85, .88) 6px 12px, transparent 12px 18px, #17211b 18px 24px) 5px 8px / 36px 36px,
    #fff;
  opacity: .92;
  clip-path: inset(0 round 6px);
}

.qr-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.qr-logo {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%);
  border: 6px solid #fff;
  border-radius: 8px;
  background: #fff;
  object-fit: cover;
}

.pay-help {
  display: grid;
  gap: 12px;
}

.pay-help h1 {
  font-size: clamp(30px, 4vw, 50px);
}

.notice {
  padding: 14px;
  border: 1px solid rgba(184, 121, 32, .28);
  border-radius: 8px;
  background: #fff7e8;
  color: #6f4a16;
  font-size: 13px;
}

.footer {
  margin-top: 28px;
  padding: 28px clamp(16px, 4vw, 48px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  width: min(1180px, 100%);
  margin: 0 auto;
}

@media (max-width: 920px) {
  .site-header {
    top: 54px;
    align-items: flex-start;
    flex-direction: column;
  }

  .domain-strip,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .split,
  .checkout-layout,
  .payment-layout,
  .qr-area {
    grid-template-columns: 1fr;
  }

  .metric-grid,
  .feature-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .metric-grid,
  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: 560px;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .qr {
    width: 100%;
    max-width: 240px;
    height: auto;
    aspect-ratio: 1;
  }
}
