:root {
  --ink: #10241f;
  --ink-soft: #3d534c;
  --paper: #f7faf8;
  --paper-2: #eef4f1;
  --line: #d5e2dc;
  --forest: #163f36;
  --forest-2: #1f5a4c;
  --gold: #c9a24a;
  --gold-2: #e2c57a;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(16, 36, 31, .12);
  --radius: 20px;
  --font-display: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; max-width: 100%; }

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

/* Header：仅品牌 + 导航，不再放选购按钮 */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 250, 248, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(213, 226, 220, .9);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink);
}
.brand-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-mark {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--forest-2), var(--forest));
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(22, 63, 54, .28);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 15px;
  transition: background .2s ease, color .2s ease;
}
.nav-links a:hover {
  color: var(--ink);
  background: rgba(22, 63, 54, .06);
}
.nav-login {
  margin-left: 4px !important;
  background: linear-gradient(135deg, #07c160, #06ad56) !important;
  color: #fff !important;
  font-weight: 600;
}
.nav-login:hover {
  filter: brightness(1.05);
  color: #fff !important;
}
.nav-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: rgba(22, 63, 54, .06);
  font-size: 13px;
  color: var(--ink-soft);
}
.nav-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.nav-user-name {
  max-width: 88px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
  font-weight: 600;
}
.nav-user a {
  padding: 4px 8px !important;
  font-size: 12px;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--forest);
  transition: .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--forest-2), var(--forest));
  color: #fff;
  box-shadow: 0 12px 28px rgba(22, 63, 54, .28);
}
.btn-accent {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #2a2110;
  box-shadow: 0 12px 28px rgba(201, 162, 74, .35);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.42);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
}
.btn-ghost {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* Hero：背景写在容器上，避免子层失效导致白底白字 */
.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(520px, 78vh, 720px);
  display: grid;
  align-items: center;
  color: #f4f8f6;
  background: #0d2923 linear-gradient(135deg, #0d2923 0%, #163f36 48%, #1f5a4c 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 420px at 85% 15%, rgba(201,162,74,.22), transparent 55%),
    radial-gradient(700px 380px at 10% 80%, rgba(255,255,255,.08), transparent 50%),
    linear-gradient(135deg, #0d2923 0%, #163f36 48%, #1f5a4c 100%);
  animation: heroShift 16s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  opacity: .55;
}
@keyframes heroShift {
  from { transform: scale(1) translateY(0); }
  to { transform: scale(1.04) translateY(-10px); }
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 72px 0 80px;
  max-width: 680px;
  animation: rise .7s ease both;
}
.hero-brand {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 68px);
  line-height: 1.05;
  letter-spacing: .05em;
  color: #fff;
  text-shadow: 0 8px 30px rgba(0,0,0,.25);
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(22px, 3.4vw, 32px);
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255,255,255,.96);
}
.hero-lead {
  margin: 0 0 30px;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(244,248,246,.78);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.section { padding: 72px 0; }
.section-packages {
  background:
    linear-gradient(180deg, transparent, rgba(22,63,54,.04));
  padding-bottom: 88px;
}

.page-hero {
  padding: 56px 0 48px;
  background:
    radial-gradient(700px 280px at 90% 0%, rgba(201,162,74,.18), transparent 60%),
    linear-gradient(135deg, #0d2923 0%, #163f36 55%, #1f5a4c 100%);
  color: #f4f8f6;
}
.page-eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--gold-2);
  font-weight: 700;
}
.page-hero h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 44px);
  letter-spacing: .04em;
}
.page-hero p {
  margin: 0;
  max-width: 560px;
  color: rgba(244,248,246,.78);
  line-height: 1.7;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}
.about-prose p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  line-height: 1.85;
  font-size: 15px;
}
.about-prose p:last-child { margin-bottom: 0; }
.about-side { position: sticky; top: 92px; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.contact-card h3 {
  margin: 0 0 18px;
  font-size: 20px;
}
.contact-list {
  margin: 0;
  display: grid;
  gap: 16px;
}
.contact-list dt {
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.contact-list dd {
  margin: 0;
  font-weight: 600;
  line-height: 1.6;
}
.contact-list a:hover { color: var(--forest-2); }
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.section-head { margin-bottom: 32px; max-width: 560px; }
.section-head h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: .03em;
}
.section-head p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-item {
  padding: 8px 0 0;
  border-top: 2px solid var(--forest);
}
.service-no {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--gold);
  font-weight: 700;
}
.service-item h3 {
  margin: 0 0 10px;
  font-size: 22px;
}
.service-item p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
  font-size: 15px;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.package-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.package-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(16, 36, 31, .16);
}
.package-card h3 {
  margin: 0 0 18px;
  font-size: 22px;
}
.package-specs {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  flex: 1;
}
.package-specs li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--paper-2);
  font-size: 14px;
  color: var(--ink);
}
.package-specs li span {
  color: var(--ink-soft);
}
.package-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
}
.price {
  font-size: 28px;
  font-weight: 700;
  color: var(--forest);
  line-height: 1;
}
.price small {
  margin-left: 2px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(18px, 4vw, 28px);
}
.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; gap: 8px; }
.form-row label { font-size: 14px; color: var(--ink-soft); }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
  -webkit-appearance: none;
  appearance: none;
}
.form-row textarea { min-height: 96px; resize: vertical; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.form-actions .btn { min-height: 44px; }
.hint { color: var(--ink-soft); font-size: 13px; }
.form-or {
  text-align: center;
  color: var(--ink-soft);
  font-size: 13px;
  position: relative;
}
.form-or::before,
.form-or::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: var(--line);
}
.form-or::before { left: 0; }
.form-or::after { right: 0; }

.result-box {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #f3f8f5;
  border: 1px dashed #b7d0c6;
  display: none;
  overflow-wrap: anywhere;
}
.result-box.show { display: block; animation: rise .35s ease; }
.result-box dl { margin: 0; display: grid; gap: 8px; }
.result-box dt { color: var(--ink-soft); font-size: 13px; }
.result-box dd { margin: 0; font-weight: 600; }

.result-summary {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--ink-soft);
}
.result-list {
  display: grid;
  gap: 12px;
}
.result-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}
.result-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--paper-2);
}
.result-index {
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .04em;
}
.result-card-head strong {
  flex: 1;
  min-width: 120px;
  font-size: 16px;
}
.result-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.result-status.ok { background: #e7f6ef; color: #1f8a65; }
.result-status.warn { background: #fff4e5; color: #b86a00; }
.result-status.off { background: #f1f1f1; color: #777; }
.result-dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}
.result-dl > div { min-width: 0; }
.result-dl dt {
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 2px;
}
.result-dl dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  word-break: break-all;
}
.result-dl .mono {
  font-family: Consolas, "Courier New", monospace;
  letter-spacing: .02em;
}

.package-meta { color: var(--ink-soft); font-size: 14px; line-height: 1.8; margin-bottom: 16px; }
.package-item { padding: 8px 0 24px; }
.package-panel { padding: 8px 0; }

.site-footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--line);
  background: #eef4f1;
  color: var(--ink-soft);
  font-size: 14px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand {
  font-family: var(--font-display);
  color: var(--forest);
  font-size: 18px;
  margin-bottom: 6px;
}
.footer-meta { line-height: 1.8; text-align: right; }

.toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: var(--forest);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
  z-index: 99;
  font-size: 14px;
  max-width: calc(100vw - 32px);
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 960px) {
  .service-grid,
  .package-grid,
  .grid-3,
  .grid-2,
  .about-layout { grid-template-columns: 1fr; }
  .about-side { position: static; }
  .about-layout .service-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-inner { padding: 52px 0 64px; }
  .section { padding: 52px 0; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 16px;
    border-radius: 12px;
  }
  .brand { font-size: 17px; }
  .brand-mark { width: 36px; height: 36px; font-size: 12px; }
  .hero-actions .btn { flex: 1 1 auto; min-width: 140px; }
  .form-actions .btn { width: 100%; }
  .footer-meta { text-align: left; }
  .package-foot { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 28px); }
  .hero-brand { letter-spacing: .02em; }
  .result-dl { grid-template-columns: 1fr; }
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #e8f0ed;
}
.profile-avatar-empty {
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #1a4a40;
  font-size: 22px;
}
.nav-user-name {
  text-decoration: none;
}

.pay-info { margin-top: 12px; display: grid; gap: 16px; }
.pay-bank {
  background: #f4f7f6; border-radius: 12px; padding: 14px 16px;
  display: grid; gap: 8px; font-size: 14px;
}
.pay-bank span { color: #667873; display: inline-block; min-width: 56px; margin-right: 8px; }
.pay-qrs {
  display: flex; flex-wrap: wrap; gap: 18px;
}
.pay-qrs figure { margin: 0; text-align: center; }
.pay-qrs img {
  width: 160px; height: 160px; object-fit: contain;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.pay-qrs figcaption { margin-top: 8px; font-size: 13px; color: #667873; }

.article-list { display: grid; gap: 14px; }
.article-card {
  display: flex; gap: 14px; padding: 14px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); color: inherit; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.article-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(18,53,46,.08); }
.article-cover {
  width: 110px; height: 110px; flex-shrink: 0; border-radius: 12px; overflow: hidden; background: #eef3f1;
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-body { min-width: 0; flex: 1; }
.article-body h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.4; }
.article-body p {
  margin: 0 0 10px; color: var(--ink-soft); font-size: 14px; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-meta { display: flex; gap: 14px; color: #889890; font-size: 12px; }
.article-detail-cover { margin-bottom: 18px; border-radius: 14px; overflow: hidden; }
.article-detail-cover img { width: 100%; max-height: 360px; object-fit: cover; display: block; }
.article-content { line-height: 1.85; font-size: 16px; color: var(--ink); word-break: break-word; }
.article-content p { margin: 0 0 1em; }
.article-content img { max-width: 100%; height: auto; border-radius: 10px; }
@media (max-width: 600px) {
  .article-card { flex-direction: column; }
  .article-cover { width: 100%; height: 160px; }
}