:root {
  --ink: #17211d;
  --muted: #68736d;
  --paper: #f7f3ea;
  --paper-deep: #ece3d3;
  --line: rgba(23, 33, 29, 0.14);
  --green: #0f8b5f;
  --green-dark: #07523d;
  --gold: #c18a35;
  --coral: #d96345;
  --blue: #204c72;
  --white: #fffdf8;
  --shadow: 0 22px 60px rgba(43, 31, 12, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(23, 33, 29, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(23, 33, 29, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  font-family: "Noto Serif SC", "Microsoft YaHei", serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.52;
  background-image: radial-gradient(rgba(23, 33, 29, 0.18) 1px, transparent 1px);
  background-size: 13px 13px;
  mix-blend-mode: multiply;
}

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

button {
  font: inherit;
}

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

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  margin: 16px 0 34px;
  padding: 12px 14px 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 12px 30px rgba(43, 31, 12, 0.08);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  border-radius: 6px;
  background: var(--green-dark);
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 24px;
}

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

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

.brand small {
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

nav a {
  padding: 10px 13px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
}

nav a:hover {
  color: var(--ink);
  background: rgba(15, 139, 95, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 145px);
  padding: 28px 0 76px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6.6vw, 82px);
  line-height: 0.99;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 28px;
  color: #4a5751;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.85;
}

.hero-actions,
.trust-row,
.plan-top,
.price-list,
.status-head,
footer {
  display: flex;
  align-items: center;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  color: var(--white);
  background: var(--green-dark);
  box-shadow: 0 14px 28px rgba(7, 82, 61, 0.22);
}

.secondary {
  color: var(--green-dark);
  border-color: rgba(7, 82, 61, 0.25);
  background: rgba(255, 253, 248, 0.68);
}

.trust-row {
  flex-wrap: wrap;
  gap: 9px;
}

.trust-row span {
  border: 1px solid rgba(15, 139, 95, 0.18);
  border-radius: 999px;
  background: rgba(15, 139, 95, 0.09);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
}

.trust-row span {
  padding: 7px 11px;
}

.hero-visual {
  position: relative;
  min-height: 490px;
}

.hero-visual::before {
  position: absolute;
  inset: 30px 18px auto auto;
  width: 78%;
  height: 78%;
  content: "";
  border: 1px solid rgba(32, 76, 114, 0.24);
  background:
    linear-gradient(135deg, rgba(32, 76, 114, 0.12), transparent 55%),
    repeating-linear-gradient(0deg, transparent 0 29px, rgba(23, 33, 29, 0.08) 30px);
  transform: rotate(3deg);
}

.status-card {
  position: relative;
  margin: 64px 0 0 auto;
  width: min(470px, 100%);
  min-height: 420px;
  padding: 22px;
  border: 1px solid rgba(23, 33, 29, 0.18);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.status-head {
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.status-head strong {
  color: var(--green);
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(15, 139, 95, 0.1);
}

.terminal {
  margin: 34px 0;
  padding: 22px;
  border-radius: 6px;
  background: #18211d;
  color: #e9f4df;
  font-family: Consolas, "Cascadia Mono", monospace;
  font-size: 15px;
  line-height: 1.8;
}

.terminal p {
  margin: 0;
  overflow-wrap: anywhere;
}

.terminal span {
  color: #9be2bd;
}

.meter {
  height: 12px;
  overflow: hidden;
  border: 1px solid rgba(23, 33, 29, 0.1);
  border-radius: 999px;
  background: var(--paper-deep);
}

.meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--coral));
}

.node-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 46px;
}

.node-map::before {
  position: absolute;
  top: 15px;
  left: 8%;
  width: 84%;
  height: 1px;
  content: "";
  background: rgba(23, 33, 29, 0.18);
}

.node-map span {
  position: relative;
  z-index: 1;
  height: 30px;
  border: 1px solid rgba(23, 33, 29, 0.18);
  border-radius: 999px;
  background: var(--white);
}

.node-map span:nth-child(2),
.node-map span:nth-child(4) {
  background: rgba(15, 139, 95, 0.15);
}

.section-head {
  max-width: 780px;
  margin: 0 0 28px;
}

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

.compact {
  margin-bottom: 20px;
}

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

.plan-card {
  display: flex;
  flex-direction: column;
  min-height: 350px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 10px 24px rgba(43, 31, 12, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 139, 95, 0.35);
  box-shadow: 0 18px 44px rgba(43, 31, 12, 0.13);
}

.featured {
  background:
    linear-gradient(180deg, rgba(15, 139, 95, 0.14), rgba(255, 253, 248, 0.96)),
    var(--white);
  border-color: rgba(15, 139, 95, 0.42);
}

.plan-top {
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.plan-top h3 {
  margin: 0;
  font-size: 26px;
  overflow-wrap: anywhere;
}

.model-badge,
.quota-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}

.model-badge {
  padding: 6px 12px;
  border: 1px solid rgba(15, 139, 95, 0.14);
  background: rgba(47, 222, 151, 0.18);
  color: #00765e;
}

.model-badge::before {
  display: inline-grid;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  place-items: center;
  content: "◌";
  color: var(--green);
  font-family: Georgia, serif;
  font-size: 20px;
  line-height: 1;
}

.plan-card p {
  min-height: 76px;
  color: var(--muted);
  line-height: 1.72;
}

.price-list {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 8px;
  min-height: 92px;
  margin: auto 0 18px;
}

.quota-badge {
  padding: 6px 12px;
  background: rgba(104, 64, 255, 0.12);
  color: #5c29ff;
}

.quota-price,
.rmb-price {
  display: block;
  color: #5e6877;
  font-size: 18px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.rmb-price {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--green-dark);
  font-size: 21px;
}

.rmb-price span {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(15, 139, 95, 0.1);
  white-space: nowrap;
}

.rmb-price .internal-rmb,
.unit-price .internal-unit {
  display: none;
}

.unit-price {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.unit-price span {
  display: inline-block;
}

.internal-pricing .quota-badge {
  background: rgba(193, 138, 53, 0.18);
  color: #8a5a16;
}

.internal-pricing .normal-rmb {
  color: var(--muted);
  background: rgba(104, 115, 109, 0.1);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.internal-pricing .internal-rmb,
.internal-pricing .internal-unit {
  display: inline-flex;
}

.internal-pricing .rmb-price span {
  background: rgba(193, 138, 53, 0.16);
  color: #6b4210;
}

.internal-pricing .normal-unit {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.internal-pricing .unit-price {
  color: #8a5a16;
}

.plan-link {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(7, 82, 61, 0.22);
  border-radius: 6px;
  color: var(--green-dark);
  font-weight: 700;
}

.guide {
  margin-bottom: 80px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.84);
}

.steps article {
  min-height: 248px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.steps article:last-child {
  border-right: 0;
}

.steps span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--coral);
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 34px;
}

.steps p,
.details li,
.contact p {
  color: var(--muted);
  line-height: 1.76;
}

.steps a {
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 80px;
}

.details article {
  padding: 28px;
  border-top: 3px solid var(--green);
  background: rgba(255, 253, 248, 0.72);
}

.details ul {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding-left: 20px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 28px;
  align-items: center;
  margin-bottom: 42px;
  padding: 34px;
  border: 1px solid rgba(23, 33, 29, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(7, 82, 61, 0.1), transparent 42%),
    var(--white);
  box-shadow: var(--shadow);
}

.contact h2 {
  margin-bottom: 14px;
}

.wechat-box {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px dashed rgba(7, 82, 61, 0.34);
  border-radius: 8px;
  background: rgba(247, 243, 234, 0.72);
}

.wechat-box span {
  color: var(--muted);
  font-size: 13px;
}

.wechat-box strong {
  font-size: 28px;
  overflow-wrap: anywhere;
}

.station-link {
  display: block;
  padding: 12px;
  border: 1px solid rgba(7, 82, 61, 0.18);
  border-radius: 6px;
  color: var(--green-dark);
  background: rgba(255, 253, 248, 0.74);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

footer {
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 14px;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--green-dark);
  font-weight: 700;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  padding: 12px 16px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .contact,
  .details {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 12px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .status-card {
    margin: 40px auto 0;
  }

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

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

  .steps article:nth-child(2) {
    border-right: 0;
  }

  .steps article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 22px, 1180px);
  }

  .topbar {
    position: static;
    display: grid;
    gap: 14px;
  }

  nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  nav a {
    text-align: center;
    white-space: nowrap;
  }

  h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .hero-visual {
    min-height: 360px;
  }

  .status-card {
    min-height: 360px;
    padding: 18px;
  }

  .terminal {
    padding: 16px;
    font-size: 13px;
  }

  .plans-grid,
  .steps {
    grid-template-columns: 1fr;
  }

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

  .plan-card p,
  .price-list {
    min-height: 0;
  }

  .steps article,
  .steps article:nth-child(2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .steps article:last-child {
    border-bottom: 0;
  }

  .steps span {
    margin-bottom: 24px;
  }

  .contact {
    padding: 24px;
  }

  .wechat-box strong {
    font-size: 24px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
