:root {
  --ink: #142022;
  --muted: #657174;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --line: #dce5df;
  --teal: #087f76;
  --teal-dark: #075c55;
  --coral: #f46f52;
  --sun: #f3b642;
  --alipay: #1677ff;
  --shadow: 0 18px 48px rgba(20, 32, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(220, 229, 223, 0.8);
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: #3e4a4d;
  font-size: 14px;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--teal);
}

.header-action,
.primary-button,
.secondary-button,
.pay-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0 18px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.header-action,
.primary-button {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 10px 24px rgba(8, 127, 118, 0.22);
}

.secondary-button {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface);
}

.header-action:hover,
.primary-button:hover,
.secondary-button:hover,
.pay-button:hover {
  transform: translateY(-2px);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(42px, 7vw, 88px) clamp(20px, 5vw, 72px) 42px;
}

.hero-content {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 650px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 30px;
  color: #425055;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.8;
}

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

.hero-actions a {
  min-width: 168px;
}

.status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.status-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  color: #39484a;
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.hero-visual {
  overflow: hidden;
  border: 1px solid rgba(220, 229, 223, 0.95);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: clamp(380px, 62vw, 700px);
  object-fit: cover;
}

.trust-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(20px, 5vw, 72px);
  border: 1px solid var(--line);
  background: var(--line);
}

.trust-section div {
  min-height: 118px;
  padding: 24px;
  background: var(--surface);
}

.trust-section strong,
.trust-section span {
  display: block;
}

.trust-section strong {
  margin-bottom: 8px;
  font-size: 18px;
}

.trust-section span {
  color: var(--muted);
  line-height: 1.7;
}

.section-shell {
  padding: clamp(64px, 8vw, 110px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.bind-layout {
  display: grid;
  grid-template-columns: minmax(250px, 360px) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.qr-panel,
.binding-card,
.plan-card,
.benefit-grid article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.qr-panel {
  display: grid;
  justify-items: center;
  padding: 28px;
  text-align: center;
}

.qr-code {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  width: min(100%, 230px);
  aspect-ratio: 1;
  margin-bottom: 20px;
  border: 10px solid #eef5f1;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.qr-code span {
  border-radius: 2px;
  background: #112326;
}

.qr-code span:nth-child(2n),
.qr-code span:nth-child(7),
.qr-code span:nth-child(13),
.qr-code span:nth-child(21) {
  background: #dfeae4;
}

.qr-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.binding-card {
  padding: clamp(26px, 5vw, 46px);
}

.tag,
.plan-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--teal-dark);
  background: #e9f7f3;
  font-size: 12px;
  font-weight: 800;
}

.binding-card dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0 0;
}

.binding-card dl div {
  min-height: 110px;
  border-left: 3px solid var(--teal);
  padding: 16px;
  background: #f6faf8;
}

dt {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
}

dd {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.accent-band {
  background: #eef6f2;
}

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

.plan-card {
  display: flex;
  flex-direction: column;
  min-height: 440px;
  padding: 28px;
}

.plan-card.featured {
  border-color: rgba(8, 127, 118, 0.45);
  box-shadow: var(--shadow);
}

.price {
  margin-bottom: 22px;
  font-size: 52px;
  font-weight: 900;
}

.price span {
  margin-right: 4px;
  color: var(--muted);
  font-size: 24px;
}

.plan-card ul {
  display: grid;
  gap: 12px;
  margin: 0 0 26px;
  padding-left: 20px;
  color: #475458;
  line-height: 1.6;
}

.pay-button {
  width: 100%;
  margin-top: auto;
  color: #fff;
  background: var(--alipay);
  font-size: 16px;
}

.payment-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 24px;
  border: 1px solid var(--line);
  background: var(--line);
}

.payment-flow span {
  min-height: 64px;
  display: grid;
  place-items: center;
  padding: 14px;
  background: var(--surface);
  color: #405054;
  font-weight: 700;
  text-align: center;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.benefit-grid article {
  min-height: 240px;
  padding: 24px;
}

.benefit-grid span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--sun);
  font-size: 26px;
  font-weight: 900;
}

.benefit-grid p,
.faq-list p {
  color: var(--muted);
  line-height: 1.75;
}

.faq-section {
  padding-top: 24px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 16px 0 0;
}

.site-footer {
  display: flex;
  position: relative;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 72px) 54px;
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
}

.site-footer span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.68);
}

.icp-number {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: max-content;
  margin-top: 0;
  text-align: center;
  font-size: 13px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  max-width: min(360px, calc(100vw - 40px));
  transform: translateY(20px);
  border-radius: 8px;
  padding: 14px 16px;
  color: #fff;
  background: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-section,
  .bind-layout {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .trust-section,
  .plans-grid,
  .benefit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .binding-card dl,
  .payment-flow {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .header-action {
    padding: 0 12px;
    font-size: 13px;
  }

  .main-nav {
    gap: 18px;
    font-size: 13px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-actions a,
  .hero-actions button {
    width: 100%;
  }

  .hero-visual img {
    height: 330px;
  }

  .trust-section,
  .plans-grid,
  .benefit-grid,
  .binding-card dl,
  .payment-flow {
    grid-template-columns: 1fr;
  }

  .trust-section {
    margin: 0;
    border-left: 0;
    border-right: 0;
  }

  .plan-card {
    min-height: 0;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
