/* 景区云导览 · 单页官网（视觉升级，文案结构不变） */
:root {
  --ink: #132a40;
  --ink-soft: #4a657a;
  --brand: #1a6fbf;
  --brand-deep: #0f4d8c;
  --mint: #e8f3fb;
  --foam: #f4f8fc;
  --line: rgba(15, 77, 140, 0.12);
  --sand: #eef4f8;
  --accent: #d4a017;
  --max: 1120px;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(15, 77, 140, 0.08);
  --font-display: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Noto Sans SC", sans-serif;
  --font-body: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Noto Sans SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(26, 111, 191, 0.06), transparent 50%),
    radial-gradient(90% 60% at 0% 100%, rgba(15, 77, 140, 0.05), transparent 45%),
    var(--foam);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* —— Nav (floating island) —— */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 12px 18px 0;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}
.site-nav.is-solid { padding-top: 12px; }
.nav-shell {
  pointer-events: auto;
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px 22px;
  padding: 10px 12px 10px 16px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(15, 77, 140, 0.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow:
    0 1px 0 #ffffff inset,
    0 12px 36px rgba(10, 42, 78, 0.10);
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
  animation: navIn .55s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes navIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.home-next .site-nav:not(.is-solid) .nav-shell {
  background: #ffffff;
  border-color: rgba(15, 77, 140, 0.08);
  box-shadow:
    0 1px 0 #ffffff inset,
    0 14px 34px rgba(15, 77, 140, 0.12);
}
.site-nav.is-solid .nav-shell {
  background: #ffffff;
  border-color: rgba(15, 77, 140, 0.08);
  box-shadow:
    0 1px 0 #ffffff inset,
    0 14px 34px rgba(15, 77, 140, 0.12);
}
.nav-brand {
  display: inline-flex; align-items: center; gap: 10px;
  flex: none;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.15rem; letter-spacing: 0.04em;
  color: var(--brand-deep);
  min-width: 0;
  transition: transform .25s ease;
}
.nav-brand:hover { transform: translateY(-1px); }
.nav-links {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  gap: 4px 12px;
  min-width: 0;
}
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 999px;
  opacity: 0.78;
  transition: opacity .2s ease, color .2s ease, background .2s ease;
}
.nav-links a:hover {
  opacity: 1;
  color: var(--brand-deep);
  background: rgba(26, 111, 191, 0.08);
}
.nav-links a.is-on,
.nav-links a.is-active {
  opacity: 1;
  color: var(--brand-deep);
  background: rgba(26, 111, 191, 0.1);
  font-weight: 700;
}
.nav-links a.is-on::after,
.nav-links a.is-active::after { display: none; }
.nav-drawer-auth { display: none !important; }
.nav-actions {
  display: flex; align-items: center; gap: 10px;
  flex: none;
  margin-left: auto;
}
.nav-actions .nav-login {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--brand-deep);
  padding: 8px 6px;
  opacity: 0.9;
  transition: opacity .2s ease, color .2s ease;
}
.nav-actions .nav-login:hover { opacity: 1; color: var(--brand); }
.nav-actions .nav-cta {
  font-size: 1.02rem;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(15, 77, 140, 0.22);
}
.nav-actions .btn { font-size: 1.02rem; min-height: 40px; padding: 0 16px; border-radius: 999px; }
.section, #features, #cases, #advantages, #free, #cta {
  scroll-margin-top: 88px;
}
.nav-mark {
  width: 34px; height: 34px; border-radius: 11px; flex: none;
  background: linear-gradient(145deg, #145EA8, #2E78C4);
  position: relative;
  box-shadow: 0 6px 14px rgba(20, 94, 168, 0.28);
}
.nav-mark::before {
  content: ""; position: absolute; inset: 9px;
  border: 2px solid rgba(255,255,255,.95);
  border-radius: 50%;
  border-top-color: transparent; border-left-color: transparent;
  transform: rotate(-22deg);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 18px;
  font-size: 0.92rem; font-weight: 650;
  border-radius: 10px; border: 1px solid transparent;
  letter-spacing: 0.02em;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255,255,255,.55); color: var(--brand-deep);
  border-color: rgba(15, 77, 140, 0.18);
}
.btn-ghost:hover { background: rgba(26, 111, 191, 0.08); }
.btn-solid {
  background: var(--brand-deep); color: #fff;
  box-shadow: 0 8px 20px rgba(15, 77, 140, 0.22);
}
.btn-solid:hover { background: var(--brand); }
.btn-lg { min-height: 50px; padding: 0 26px; font-size: 1rem; }

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 66.67vh;
  min-height: 66.67dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-visual {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(105deg, rgba(10, 42, 78, 0.78) 0%, rgba(15, 70, 120, 0.52) 45%, rgba(20, 90, 150, 0.28) 100%),
    url("/static/theme/img/top.jpg") center / cover no-repeat;
  transform: none;
  animation: none;
}
@keyframes heroKen {
  from { transform: scale(1.02) translate3d(0,0,0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}
.hero-visual::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 85%);
  opacity: .55;
  animation: none; /* was gridDrift */
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 56px 28px, 56px 28px; }
}
.hero-inner {
  position: relative; z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 28px;
  animation: riseIn .9s cubic-bezier(.2,.8,.25,1) both;
}
.hero-map { width: 100%; min-width: 0; display: flex; justify-content: center; overflow: hidden; }
.hero-map svg { width: 92%; max-width: 100%; height: auto; max-height: 44vh; display: block; overflow: hidden; }
.cn-land {
  fill: rgba(255,255,255,.16);
  stroke: rgba(255,255,255,.88);
  stroke-width: 1.2;
  stroke-linejoin: round;
}
.cn-pin .dot {
  fill: #ffe08a;
  stroke: #fff;
  stroke-width: 1.6;
}
.cn-pin .ring {
  fill: none;
  stroke: #ffe08a;
  stroke-width: 2;
}
.cn-pin text {
  fill: #fff;
  font-size: 22px;
  font-weight: 700;
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  paint-order: stroke fill;
  stroke: rgba(14, 48, 92, 0.72);
  stroke-width: 4px;
  stroke-linejoin: round;
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  max-width: 16em;
  margin-bottom: 14px;
  color: rgba(255,255,255,.94);
}
.hero-lead {
  max-width: 28em;
  font-size: 1.02rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 28px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-ctas .btn-solid { background: #fff; color: var(--brand-deep); }
.hero-ctas .btn-solid:hover { background: var(--mint); }
.hero-ctas .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero-ctas .btn-ghost:hover { background: rgba(255,255,255,.1); }

/* —— Sections —— */
.section { padding: clamp(64px, 10vw, 104px) 0; }
.section-kicker {
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brand); font-weight: 600; margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  font-weight: 700; letter-spacing: 0.02em;
  line-height: 1.28; margin-bottom: 12px;
  color: var(--ink);
}
.section-desc {
  max-width: 36em; color: var(--ink-soft); font-size: 1.02rem; margin-bottom: 40px;
}

.feat-band {
  background:
    linear-gradient(180deg, var(--foam) 0%, var(--mint) 48%, var(--foam) 100%);
  padding-bottom: clamp(28px, 4vw, 40px);
}
.why-band.section { padding-top: clamp(28px, 4vw, 40px); }
.feat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.feat-item {
  padding: 28px 22px 28px 0;
  border-bottom: 1px solid var(--line);
  animation: riseIn .8s cubic-bezier(.2,.8,.25,1) both;
}
.feat-item:nth-child(1) { animation-delay: .05s; }
.feat-item:nth-child(2) { animation-delay: .12s; }
.feat-item:nth-child(3) { animation-delay: .18s; }
.feat-item:nth-child(4) { animation-delay: .24s; }
.feat-item:nth-child(5) { animation-delay: .3s; }
.feat-item:nth-child(6) { animation-delay: .36s; }
.feat-num {
  display: block; font-family: var(--font-display);
  font-size: 0.85rem; color: var(--brand); letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.feat-item h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700; margin-bottom: 8px;
}
.feat-item p { color: var(--ink-soft); font-size: 0.95rem; max-width: 22em; }

.why-band { background: #fff; }
.why-list { display: grid; gap: 28px; max-width: 720px; }
.why-item {
  display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start;
}
.why-item i {
  font-family: var(--font-display); font-style: normal;
  font-size: 1.5rem; color: var(--brand); letter-spacing: 0.04em;
  line-height: 1.2;
}
.why-item strong {
  display: block; font-family: var(--font-display);
  font-size: 1.15rem; margin-bottom: 6px;
}
.why-item p { color: var(--ink-soft); }

.free-band {
  background:
    linear-gradient(135deg, #0C3F78 0%, #104E94 55%, #145EA8 100%);
  color: #fff;
}
.free-band .section-kicker { color: rgba(255,255,255,.65); }
.free-band .section-title { color: #fff; }
.free-band .section-desc { color: rgba(255,255,255,.78); }
.free-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
}
.free-points { list-style: none; display: grid; gap: 14px; }
.free-points li {
  padding-left: 22px; position: relative;
  font-size: 1.02rem; color: rgba(255,255,255,.9);
}
.free-points li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px; border-radius: 2px; background: #ffe8a3;
}
.free-note {
  padding: 22px 0 0;
  border-top: 1px solid rgba(255,255,255,.2);
  font-size: 0.92rem; color: rgba(255,255,255,.72); line-height: 1.7;
}
.free-cta .btn-solid { background: #fff; color: var(--brand-deep); }
.free-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); margin-top: 12px; }

.live-band { background: var(--sand); }
.live-stat {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700; color: var(--brand-deep);
  letter-spacing: 0.02em;
}
.live-stat span { font-size: 0.45em; margin-left: 6px; font-weight: 600; color: var(--ink-soft); }
.live-band p { margin-top: 10px; color: var(--ink-soft); max-width: 28em; }

.cta-band {
  text-align: center;
  background: var(--foam);
  padding-bottom: 88px;
}
.cta-band .section-title { margin-left: auto; margin-right: auto; }
.cta-band .section-desc { margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

.site-footer {
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  background: #fff;
  text-align: center;
  font-size: 0.82rem; color: var(--ink-soft);
}
.site-footer a { color: var(--brand-deep); }
.site-footer a:hover { text-decoration: underline; }

.nav-logo { height: 36px; width: auto; max-width: 150px; object-fit: contain; display: block; }

.section.cases-band { background: #fff; padding: 72px 0 8px; }
.cases-band .wrap { overflow: hidden; }
.cases-band .section-kicker { margin-bottom: 2px; }
.cases-band .section-title { margin-bottom: 8px; font-size: clamp(1.7rem, 3.2vw, 2.2rem); }
.case-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  width: max-content;
  padding-bottom: 4px;
  will-change: transform;
}
.case-grid.is-marquee { transform: translate3d(0, 0, 0); }
.case-card {
  flex: 0 0 auto;
  width: calc((min(1120px, 100vw - 40px) - 56px) / 5);
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(30, 90, 160, 0.28);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.case-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(10,92,68,.12); }
.case-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(145deg, #0C3F78, #2E78C4);
}
.case-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.case-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  padding: 12px;
  text-align: center;
}
.case-name {
  flex: none;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero { min-height: 0; overflow: visible; align-items: stretch; }
  .hero-inner { grid-template-columns: 1fr; gap: 18px; padding: 84px 0 28px; }
  .hero-copy { order: 1; }
  .hero-map { order: 2; }
  .hero-brand { font-size: 1.7rem; }
  .hero-title { font-size: 1.05rem; }
  .hero-lead { font-size: 0.9rem; margin-bottom: 16px; }
  .hero-map svg { max-height: 36vh; width: 80%; margin: 0 auto; }
  .feat-row { grid-template-columns: 1fr 1fr; }
  .free-grid { grid-template-columns: 1fr; gap: 28px; }
  .case-card { width: calc((100vw - 40px - 28px) / 2.4); }
}
@media (max-width: 560px) {
  .feat-row { grid-template-columns: 1fr; }
  .feat-item { padding-right: 0; }
  .why-item { grid-template-columns: 48px 1fr; gap: 12px; }
  .nav-brand span { font-size: 0.95rem; }
  .btn { padding: 0 14px; min-height: 40px; font-size: 0.88rem; }
  .case-card { width: calc((100vw - 40px - 14px) / 2); }
  .price-grid { grid-template-columns: 1fr; }
  .price-hero h1 { font-size: 1.7rem; }
}

/* —— Price page —— */
.page-price { background: var(--foam); }
.price-hero {
  padding: 110px 0 36px;
  text-align: center;
  background:
    linear-gradient(180deg, #E7F2FB 0%, var(--foam) 100%);
}
.price-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--brand-deep);
  letter-spacing: 0.03em;
}
.price-hero p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.price-hero-note {
  margin-top: 10px !important;
  font-size: 0.9rem !important;
  max-width: 40em;
  margin-left: auto;
  margin-right: auto;
}
.price-band { padding-top: 12px; padding-bottom: 48px; }
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(30, 90, 160, 0.2);
  border-radius: 14px;
  padding: 22px 18px 20px;
}
.price-card.is-hot {
  border-color: var(--brand);
  box-shadow: 0 12px 32px rgba(30, 90, 160, 0.12);
}
.price-badge {
  position: absolute;
  top: -10px;
  right: 14px;
  background: var(--brand-deep);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.price-card h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: var(--brand-deep);
  margin-bottom: 6px;
}
.price-amount em {
  font-style: normal;
  font-size: 1.1rem;
  font-weight: 700;
}
.price-amount strong {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}
.price-amount span {
  margin-left: 4px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 600;
}
.price-renew {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}
.price-tag {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
  min-height: 2.6em;
}
.price-feats {
  list-style: none;
  flex: 1;
  margin: 0 0 18px;
  padding: 0;
  max-height: 360px;
  overflow-y: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.price-feats li {
  position: relative;
  padding: 5px 0 5px 18px;
  font-size: 0.84rem;
  color: var(--ink);
  line-height: 1.4;
}
.price-feats li::before {
  position: absolute;
  left: 0;
  top: 5px;
  font-weight: 700;
}
.price-feats li.ok::before { content: "✓"; color: var(--brand); }
.price-feats li.no {
  color: #8A9AAB;
}
.price-feats li.no::before { content: "✗"; color: #B7C4D0; }
.price-card .btn {
  width: 100%;
  margin-top: auto;
}
.faq-band {
  background: #fff;
  padding-top: 40px;
  padding-bottom: 64px;
}
.faq-list { max-width: 760px; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px 14px 0;
  position: relative;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "▼";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  color: var(--brand);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.faq-item p {
  padding: 0 0 16px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.faq-item a { color: var(--brand-deep); text-decoration: underline; }

@media (max-width: 1100px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Official help docs ---- */
.help-page{background:var(--foam);min-height:100vh}
.help-page .site-nav.is-solid{background:transparent;box-shadow:none}
.help-page .site-nav.is-solid .nav-shell{background:#ffffff;border-color:rgba(15,77,140,.08)}
.help-page .nav-links a.is-active{opacity:1;color:var(--brand);font-weight:700}
.help-hero{
  padding:7.2rem 0 2.4rem;
  background:
    radial-gradient(900px 280px at 12% -10%, rgba(10,143,106,.18), transparent 60%),
    radial-gradient(700px 240px at 88% 0%, rgba(196,92,38,.10), transparent 55%),
    linear-gradient(180deg, #E7F2FB 0%, var(--foam) 100%);
}
.help-hero-inner{text-align:center;max-width:720px;margin:0 auto}
.help-kicker{
  display:inline-block;margin:0 0 .7rem;padding:.2rem .7rem;border-radius:999px;
  background:rgba(10,143,106,.12);color:var(--brand-deep);font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase
}
.help-hero h1{margin:0 0 .55rem;font-size:clamp(1.8rem,3.5vw,2.5rem);color:var(--ink);letter-spacing:.02em}
.help-lead{margin:0 auto 1.4rem;color:var(--ink-soft);max-width:34em}
.help-search{margin:0 auto;max-width:560px}
.help-search-box{
  display:flex;align-items:center;gap:.55rem;padding:.35rem .35rem .35rem .95rem;
  background:#fff;border:1px solid var(--line);border-radius:999px;
  box-shadow:0 10px 30px rgba(18,53,44,.06);transition:border-color .2s,box-shadow .2s
}
.help-search-box:focus-within{border-color:rgba(10,143,106,.45);box-shadow:0 12px 34px rgba(10,143,106,.12)}
.help-search-icon{display:flex;color:var(--brand);flex:none}
.help-search-box input[type=search]{
  flex:1;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:.98rem;color:var(--ink);padding:.55rem 0
}
.help-search-box input[type=search]::placeholder{color:#8AA4B8}
.help-search-box .btn{flex:none;border-radius:999px;padding:.65rem 1.15rem}
.help-search-tip{margin:.7rem 0 0;font-size:.88rem;color:var(--ink-soft)}
.help-search-tip a{color:var(--brand);font-weight:600;margin-left:.35rem}
.help-main{padding:1.2rem 0 4.5rem}
.help-layout{display:grid;grid-template-columns:240px 1fr;gap:1.6rem;align-items:start}
.help-aside-card{
  position:sticky;top:5.5rem;background:#fff;border:1px solid var(--line);border-radius:18px;padding:1.05rem .9rem 1rem;
  box-shadow:0 8px 24px rgba(18,53,44,.04)
}
.help-aside h2{margin:0 .35rem 0.85rem;font-size:.92rem;color:var(--ink);letter-spacing:.04em}
.help-cate{
  display:block;padding:.62rem .8rem;margin-bottom:.28rem;color:var(--ink-soft);text-decoration:none;border-radius:10px;
  font-weight:600;font-size:.94rem;transition:background .18s,color .18s,transform .18s
}
.help-cate:hover{background:var(--mint);color:var(--brand-deep);transform:translateX(2px)}
.help-cate.is-on{background:var(--brand);color:#fff}
.help-list-title{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin:0 0 1rem;font-size:1.2rem}
.help-list-title span{font-size:.85rem;font-weight:500;color:#7F93A6}
.help-items{list-style:none;margin:0;padding:0;display:grid;gap:.75rem}
.help-items a{
  display:block;padding:1.05rem 1.2rem;background:#fff;border:1px solid var(--line);border-radius:16px;
  text-decoration:none;color:inherit;transition:border-color .2s,transform .2s,box-shadow .2s
}
.help-items a:hover{border-color:rgba(10,143,106,.35);transform:translateY(-2px);box-shadow:0 12px 28px rgba(18,53,44,.07)}
.help-item-top{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.35rem}
.help-item-top time{font-size:.78rem;color:#8AA4B8}
.help-items strong{display:block;font-size:1.05rem;margin:.1rem 0 .25rem;color:var(--ink)}
.help-items em{display:block;font-style:normal;color:var(--ink-soft);font-size:.92rem;line-height:1.55}
.help-tag{display:inline-block;font-size:.72rem;padding:.18rem .5rem;border-radius:999px;background:var(--mint);color:var(--brand-deep);font-weight:700}
.help-empty{padding:2.2rem 1.5rem;background:#fff;border:1px dashed rgba(10,92,68,.22);border-radius:16px;color:var(--ink-soft);text-align:center}
.help-empty strong{display:block;color:var(--ink);margin-bottom:.4rem;font-size:1.05rem}
.help-detail-page .help-main{padding:6.6rem 0 4.5rem}
.help-detail{width:min(1080px,calc(100% - 48px));margin:0 auto}
.help-detail-head{margin:0 0 1.15rem;padding:0 .2rem}
.help-crumb{display:flex;align-items:center;gap:.45rem;color:#7F93A6;margin:0 0 .7rem;font-size:.9rem}
.help-crumb a{color:var(--brand-deep);font-weight:600}
.help-crumb span{opacity:.45}
.help-detail h1{margin:0 0 .45rem;font-size:clamp(1.7rem,3vw,2.25rem);line-height:1.35;color:var(--ink)}
.help-detail time{display:block;color:#8AA4B8;font-size:.88rem}
.help-body{
  background:#fff;border-radius:20px;padding:2rem 2.6rem 2.2rem;line-height:1.9;
  border:1px solid var(--line);box-shadow:0 14px 40px rgba(18,53,44,.05);
  font-size:1.05rem;color:#243044
}
.help-body p{margin:0 0 1rem}
.help-body h2,.help-body h3,.help-body h4{margin:1.55rem 0 .65rem;color:var(--ink);line-height:1.4;font-weight:700}
.help-body h2{font-size:1.35rem}
.help-body h3{font-size:1.16rem;padding-left:.7rem;border-left:3px solid var(--brand)}
.help-body h4{font-size:1.05rem}
.help-body ul,.help-body ol{margin:0 0 1.1rem;padding-left:1.35rem}
.help-body li{margin:.38rem 0}
.help-body li::marker{color:var(--brand)}
.help-body a{color:var(--brand-deep);text-decoration:underline;text-underline-offset:2px}
.help-body img{max-width:100% !important;height:auto !important;display:block;margin:.9rem auto !important;border:1px solid #D5E3F0 !important;border-radius:16px !important;box-shadow:0 8px 22px rgba(20,50,90,.08) !important}
.help-body blockquote{margin:1rem 0;padding:.8rem 1rem;background:var(--mint);border-radius:12px;color:var(--ink-soft)}
.help-back{margin-top:1.35rem}
.help-back a{display:inline-flex;align-items:center;color:var(--brand-deep);font-weight:700;text-decoration:none}
.help-back a:hover{color:var(--brand)}
@media (max-width:720px){
  .help-detail{width:min(1080px,calc(100% - 28px))}
  .help-body{padding:1.25rem 1.1rem 1.4rem;font-size:1rem;border-radius:16px}
}
@media (max-width:860px){
  .help-hero{padding:6.4rem 0 1.6rem}
  .help-layout{grid-template-columns:1fr}
  .help-aside-card{position:static;padding:.85rem}
  .help-aside h2{margin-bottom:.55rem}
  .help-aside-card{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center}
  .help-aside-card h2{width:100%}
  .help-cate{margin:0}
  .help-search-box{padding-left:.75rem}
  .help-search-box .btn{padding:.6rem .9rem}
}

/* ---- Theme pages: features / cases / advantages / free ---- */
.nav-links a.is-active { opacity: 1; color: var(--brand); }
.theme-page { padding-top: 74px; }
.theme-hero { padding: 48px 0 12px; background: linear-gradient(180deg, #E7F3FC 0%, #F3F8FD 78%); }
.theme-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  color: var(--brand-deep);
  letter-spacing: 0.02em;
  margin: 8px 0 12px;
}
.theme-hero p { max-width: 40em; color: var(--ink-soft); font-size: 1.05rem; }
.theme-hero-free { background: linear-gradient(160deg, #0C3F78 0%, #145EA8 70%, #246EBA 100%); color: #fff; }
.theme-hero-free h1, .theme-hero-free .section-kicker { color: #fff; }
.theme-hero-free p { color: rgba(255,255,255,.88); }
.theme-body { padding: 28px 0 56px; }
.theme-cta { text-align: center; padding: 8px 0 72px; }
.theme-cta h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--brand-deep); margin-bottom: 8px; }
.theme-cta p { color: var(--ink-soft); margin-bottom: 18px; }

.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cap-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px 18px;
  box-shadow: 0 8px 24px rgba(27, 110, 196, 0.04);
  animation: riseIn .7s cubic-bezier(.2,.8,.25,1) both;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cap-card:nth-child(2) { animation-delay: .06s; }
.cap-card:nth-child(3) { animation-delay: .12s; }
.cap-card:nth-child(4) { animation-delay: .18s; }
.cap-card:nth-child(5) { animation-delay: .24s; }
.cap-card:nth-child(6) { animation-delay: .30s; }
.cap-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(27, 110, 196, 0.12); }
.cap-ico {
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--mint); color: var(--brand-deep);
  display: grid; place-items: center; margin-bottom: 14px;
  animation: icoFloat 3.4s ease-in-out infinite;
}
.cap-card:nth-child(2n) .cap-ico { animation-delay: .4s; }
.cap-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cap-card h2 { font-size: 1.15rem; margin-bottom: 8px; color: var(--ink); }
.cap-card p { color: var(--ink-soft); font-size: 0.95rem; }
.cap-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cap-points span { font-size: 12px; color: var(--brand-deep); background: var(--mint); border-radius: 999px; padding: 3px 10px; }

.case-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.case-tile {
  display: flex; flex-direction: column;
  background: #fff; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line);
  animation: riseIn .7s cubic-bezier(.2,.8,.25,1) both;
  transition: transform .25s ease, box-shadow .25s ease;
}
.case-tile:nth-child(2) { animation-delay: .05s; }
.case-tile:nth-child(3) { animation-delay: .1s; }
.case-tile:nth-child(4) { animation-delay: .15s; }
.case-tile:nth-child(5) { animation-delay: .2s; }
.case-tile:nth-child(6) { animation-delay: .25s; }
.case-tile:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(27, 110, 196, 0.12); }
.case-cover { aspect-ratio: 1/1; background: var(--mint); overflow: hidden; }
.case-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.case-tile:hover .case-cover img { transform: scale(1.06); }
.case-ph { display: grid; place-items: center; height: 100%; color: var(--brand); font-weight: 700; letter-spacing: .2em; }
.case-meta { padding: 14px 16px 16px; }
.case-meta h2 {
  font-size: 1.05rem; margin-bottom: 4px;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden;
}
.case-meta p {
  color: var(--ink-soft); font-size: 0.9rem; line-height: 1.5;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.case-go { display: inline-block; margin-top: 8px; color: var(--brand); font-size: 0.88rem; font-weight: 700; }
.theme-empty { text-align: center; background: #fff; border-radius: 18px; padding: 48px 20px; border: 1px solid var(--line); }
.theme-empty .cap-ico { margin: 0 auto 14px; }
.theme-empty h2 { margin-bottom: 8px; }
.theme-empty p { color: var(--ink-soft); }

.adv-list { display: flex; flex-direction: column; gap: 16px; }
.adv-row {
  display: grid; grid-template-columns: 108px 1fr; gap: 18px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 26px 22px;
  animation: riseIn .75s cubic-bezier(.2,.8,.25,1) both;
}
.adv-row:nth-child(2) { animation-delay: .1s; }
.adv-row:nth-child(3) { animation-delay: .2s; }
.adv-mark { text-align: center; color: var(--brand-deep); }
.adv-mark svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; animation: icoFloat 3.6s ease-in-out infinite; }
.adv-mark b { display: block; margin-top: 8px; font-size: 1.35rem; letter-spacing: .08em; animation: numPulse 2.6s ease-in-out infinite; }
.adv-row h2 { font-size: 1.35rem; margin-bottom: 8px; color: var(--brand-deep); }
.adv-row p { color: var(--ink-soft); margin-bottom: 10px; }
.adv-row ul { padding-left: 1.1em; color: var(--ink); }
.adv-row li { margin: 4px 0; }

.free-layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: 22px; align-items: start; }
.perk-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.perk-list li {
  display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 16px 14px;
  animation: riseIn .65s cubic-bezier(.2,.8,.25,1) both;
}
.perk-list li:nth-child(2) { animation-delay: .06s; }
.perk-list li:nth-child(3) { animation-delay: .12s; }
.perk-list li:nth-child(4) { animation-delay: .18s; }
.perk-list li:nth-child(5) { animation-delay: .24s; }
.perk-list li:nth-child(6) { animation-delay: .30s; }
.perk-ico {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--mint); color: var(--brand);
  display: grid; place-items: center;
  animation: checkPop .7s cubic-bezier(.2,.8,.25,1) both;
}
.perk-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.perk-list h2 { font-size: 1.05rem; margin-bottom: 4px; }
.perk-list p { color: var(--ink-soft); font-size: 0.95rem; }
.free-aside {
  background: #fff; border-radius: 20px; padding: 24px 22px;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(27, 110, 196, 0.08);
  display: flex; flex-direction: column; gap: 12px;
  position: sticky; top: 92px;
}
.free-aside-kicker { color: var(--brand); letter-spacing: .16em; font-size: 0.78rem; font-weight: 700; }
.free-aside h2 { font-size: 1.25rem; color: var(--brand-deep); }
.free-aside p { color: var(--ink-soft); }

@keyframes icoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes numPulse {
  0%, 100% { opacity: .72; }
  50% { opacity: 1; }
}
@keyframes checkPop {
  0% { transform: scale(.6); opacity: 0; }
  70% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}
@media (max-width: 900px) {
  .cap-grid, .free-layout { grid-template-columns: 1fr; }
  .case-board { grid-template-columns: repeat(2, 1fr); }
  .adv-row { grid-template-columns: 72px 1fr; padding: 18px; }
  .free-aside { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  .cap-card, .case-tile, .adv-row, .perk-list li, .cap-ico, .adv-mark svg, .adv-mark b, .perk-ico {
    animation: none;
  }
}

.case-pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.case-pager a, .case-pager span {
  min-width: 40px; height: 40px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid var(--line); background: #fff;
  color: var(--brand-deep); font-weight: 700;
}
.case-pager a.is-on { background: var(--brand); color: #fff; border-color: var(--brand); }
.case-pager span.is-off { color: #9AADC0; background: #F5F9FC; }

/* ---- Homepage below the hero ---- */
.home-next .nx-feat { background: var(--foam); padding: 64px 0 36px; }
.home-next .nx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.home-next .nx-head .section-desc { margin-bottom: 0; }
.home-next .nx-head .section-title { margin-bottom: 8px; }
.nx-more { flex: none; color: var(--brand-deep); font-weight: 700; border-bottom: 1px solid transparent; }
.nx-more:hover { color: var(--brand); border-bottom-color: var(--brand); }
.nx-more-light {
  display: inline-block;
  margin-top: 8px;
  color: var(--brand-deep);
  background: #ffffff;
  border: 1px solid rgba(255,255,255,.85);
}
.nx-more-light:hover {
  color: #ffffff;
  background: var(--brand);
  border-color: var(--brand);
}
.nx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nx-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 20px 18px;
  transition: transform .28s ease, box-shadow .28s ease;
}
.nx-card:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(27,110,196,.12); }
.nx-ico {
  width: 48px; height: 48px; border-radius: 14px; background: var(--mint); color: var(--brand-deep);
  display: grid; place-items: center; margin-bottom: 14px;
  animation: nxFloat 3.2s ease-in-out infinite;
}
.nx-card:nth-child(2n) .nx-ico { animation-delay: .5s; }
.nx-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nx-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.nx-card p { color: var(--ink-soft); font-size: .95rem; }
.home-next .nx-cases { background: #fff; padding: 48px 0 28px; overflow: hidden; }
.home-next .nx-case-rail {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 10px;
}
.home-next .nx-marquee { overflow: hidden; width: 100%; min-width: 0; }
.home-next .case-grid { display: flex; gap: 16px; width: max-content; will-change: transform; }
.home-next .nx-case-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--brand-deep);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
  box-shadow: 0 8px 20px rgba(27,110,196,.08);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.home-next .nx-case-btn:hover { background: var(--brand); color: #fff; transform: scale(1.05); }
.home-next .nx-case-btn:active { background: var(--brand-deep); color: #fff; }
@media (max-width: 640px) {
  .home-next .nx-case-rail { grid-template-columns: 36px minmax(0, 1fr) 36px; gap: 6px; }
  .home-next .nx-case-btn { width: 36px; height: 36px; font-size: 1.35rem; }
}
.home-next .case-card {
  width: 240px; flex: none; background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); transition: transform .28s ease;
}
.home-next .case-card:hover { transform: translateY(-6px); }
.home-next .case-cover { aspect-ratio: 1/1; height: auto; background: var(--mint); overflow: hidden; }
.home-next .case-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.home-next .case-card:hover .case-cover img { transform: scale(1.08); }
.home-next .case-name {
  display: block; padding: 12px 14px 14px; font-weight: 700; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.home-next .case-fallback { display: grid; place-items: center; height: 100%; color: var(--brand); font-weight: 700; }
.nx-why { background: var(--foam); padding: 48px 0; }
.nx-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nx-why-card {
  background: #fff; border-radius: 20px; padding: 26px 22px 22px; border: 1px solid var(--line);
  transition: transform .28s ease, box-shadow .28s ease;
}
.nx-why-card:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(27,110,196,.12); }
.nx-why-card b {
  display: block; font-size: 2rem; color: var(--brand); letter-spacing: .04em; margin-bottom: 8px;
  animation: nxPulse 2.6s ease-in-out infinite;
}
.nx-why-card h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--brand-deep); }
.nx-why-card p { color: var(--ink-soft); }
.nx-free {
  background:
    linear-gradient(115deg, rgba(10, 42, 78, 0.86) 0%, rgba(15, 77, 140, 0.62) 48%, rgba(10, 42, 78, 0.45) 100%),
    url("/static/theme/img/top.jpg") right center / cover no-repeat;
  color: #fff; padding: 64px 0;
}
.nx-free .section-kicker, .nx-free .section-title { color: #fff; }
.nx-free .section-desc { color: rgba(255,255,255,.82); }
.nx-free-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: end; }
.nx-perks { list-style: none; display: grid; gap: 10px; margin: 8px 0 16px; }
.nx-perks li {
  padding-left: 28px; position: relative;
  animation: nxRise .7s cubic-bezier(.2,.8,.25,1) both;
}
.nx-perks li:nth-child(2) { animation-delay: .08s; }
.nx-perks li:nth-child(3) { animation-delay: .16s; }
.nx-perks li:nth-child(4) { animation-delay: .24s; }
.nx-perks li:nth-child(5) { animation-delay: .32s; }
.nx-perks li:nth-child(6) { animation-delay: .4s; }
.nx-note { color: rgba(255,255,255,.75); font-size: .92rem; margin-bottom: 8px; }
.nx-free-panel {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  border-radius: 22px; padding: 28px 24px; display: flex; flex-direction: column; gap: 12px;
}
.nx-free-panel .btn-solid { background: #fff; color: var(--brand-deep); }
.nx-free-panel .btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.nx-live b { font-size: 2.6rem; line-height: 1; }
.nx-live span { margin-left: 6px; color: rgba(255,255,255,.8); }
.nx-close { text-align: center; background: #fff; padding: 56px 0 64px; }
.nx-close h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--brand-deep); margin-bottom: 8px; }
.nx-close p { color: var(--ink-soft); margin-bottom: 18px; }
.nx-close-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.reveal { opacity: 0; transform: translateY(28px); animation: nxRise .8s cubic-bezier(.2,.8,.25,1) forwards; }
.nx-grid .reveal:nth-child(2) { animation-delay: .08s; }
.nx-grid .reveal:nth-child(3) { animation-delay: .16s; }
.nx-grid .reveal:nth-child(4) { animation-delay: .24s; }
.nx-grid .reveal:nth-child(5) { animation-delay: .32s; }
.nx-grid .reveal:nth-child(6) { animation-delay: .4s; }
.nx-why-grid .reveal:nth-child(2) { animation-delay: .12s; }
.nx-why-grid .reveal:nth-child(3) { animation-delay: .24s; }
@keyframes nxRise { to { opacity: 1; transform: none; } }
@keyframes nxFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes nxPulse { 0%,100% { opacity: .65; } 50% { opacity: 1; } }
@media (max-width: 900px) {
  .nx-grid, .nx-why-grid, .nx-free-grid { grid-template-columns: 1fr; }
  .home-next .nx-head { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .nx-ico, .nx-why-card b, .nx-perks li { animation: none; opacity: 1; transform: none; }
}

/* nav current + press */
.nav-links a:active {
  color: var(--brand-deep);
  background: rgba(26, 111, 191, 0.14);
  opacity: 1;
}

/* ---- Features page richer layout ---- */
.page-features .feat-flow-band { padding: 8px 0 0; background: transparent; }
.page-features .feat-flow {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.page-features .feat-flow > div {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 14px;
  animation: riseIn .7s cubic-bezier(.2,.8,.25,1) both;
}
.page-features .feat-flow > div:nth-child(2) { animation-delay: .08s; }
.page-features .feat-flow > div:nth-child(3) { animation-delay: .16s; }
.page-features .feat-flow > div:nth-child(4) { animation-delay: .24s; }
.page-features .feat-flow em {
  display: block; font-style: normal; color: var(--brand); font-size: .78rem;
  letter-spacing: .14em; font-weight: 700; margin-bottom: 6px;
}
.page-features .feat-flow b { display: block; font-size: 1.05rem; color: var(--brand-deep); margin-bottom: 4px; }
.page-features .feat-flow span { color: var(--ink-soft); font-size: .9rem; }
.page-features .feat-block { margin-bottom: 42px; }
.page-features .feat-block-head { margin-bottom: 18px; max-width: 40em; }
.page-features .feat-block-head h2 {
  font-family: var(--font-display); font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  color: var(--brand-deep); margin-bottom: 6px;
}
.page-features .feat-block-head p:last-child { color: var(--ink-soft); }
.page-features .theme-body { padding-top: 28px; }
@media (max-width: 900px) {
  .page-features .feat-flow { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .page-features .feat-flow { grid-template-columns: 1fr; }
}


/* nav desktop order: brand | links | actions */
@media (min-width: 901px) {
  .nav-shell { display: flex; }
  .nav-toggle-input, .nav-toggle { display: none !important; }
  .nav-links { order: 2; }
  .nav-actions { order: 3; margin-left: 0; }
  .nav-brand { order: 1; }
  .nav-drawer-auth { display: none !important; }
}

/* mobile nav */
.nav-toggle-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nav-toggle { display: none; }
@media (max-width: 900px) {
  .site-nav { padding: 10px 12px 0; }
  .nav-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-rows: auto;
    align-items: center;
    column-gap: 8px;
    row-gap: 0;
    padding: 8px 8px 8px 12px;
    border-radius: 16px;
    position: relative;
  }
  .nav-brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }
  .nav-logo { height: 30px; max-width: 118px; }
  .nav-toggle-input {
    grid-column: 1;
    grid-row: 1;
  }
  .nav-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    gap: 0;
    margin-left: 0;
  }
  .nav-actions .nav-login { display: none; }
  .nav-actions .nav-cta,
  .nav-actions .btn {
    font-size: 13px;
    min-height: 34px;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    white-space: nowrap;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(26, 111, 191, 0.08);
    border: 1px solid rgba(27,110,196,.14);
    cursor: pointer;
    transition: background .2s ease;
  }
  .nav-toggle:hover { background: rgba(26, 111, 191, 0.14); }
  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after {
    display: block; width: 16px; height: 2px; background: var(--brand-deep);
    border-radius: 2px; position: relative; content: "";
    transition: transform .25s ease, top .25s ease, background .2s ease;
  }
  .nav-toggle span::before { position: absolute; left: 0; top: -5px; }
  .nav-toggle span::after { position: absolute; left: 0; top: 5px; }
  .nav-toggle-input:checked + .nav-toggle span { background: transparent; }
  .nav-toggle-input:checked + .nav-toggle span::before { top: 0; transform: rotate(45deg); }
  .nav-toggle-input:checked + .nav-toggle span::after { top: 0; transform: rotate(-45deg); }
  .nav-links {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    position: absolute;
    left: 8px; right: 8px;
    top: calc(100% + 8px);
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid rgba(15,77,140,0.08);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15,77,140,.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: navDrawer .28s ease both;
  }
  @keyframes navDrawer {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .nav-toggle-input:checked ~ .nav-links { display: flex; }
  .nav-links a {
    font-size: 1.1rem;
    padding: 12px 14px;
    border-radius: 12px;
    opacity: 1;
  }
  .nav-drawer-auth {
    display: flex !important;
    margin-top: 6px;
    justify-content: center;
    color: #fff !important;
    background: var(--brand-deep) !important;
    font-weight: 700 !important;
  }
}
@media (max-width: 420px) {
  .nav-actions .nav-cta { padding: 0 10px; font-size: 12px; }
  .nav-logo { max-width: 104px; }
}

/* free / license pricing page */
.page-free .theme-hero.theme-hero-free{
  position:relative;
  overflow:hidden;
  padding:48px 0 28px;
  background:transparent;
}
.page-free .theme-hero.theme-hero-free::before{
  content:"";
  position:absolute;inset:0;
  background:
    linear-gradient(180deg, rgba(232,243,251,.95) 0%, rgba(244,248,252,.72) 55%, rgba(244,248,252,1) 100%),
    url("/static/theme/img/top.jpg") center / cover no-repeat;
  z-index:0;
}
.page-free .free-intro{
  position:relative;z-index:1;
  max-width:40em;
  text-align:left;
}
.page-free .free-intro .section-kicker{
  display:inline-block;margin-bottom:10px;
  letter-spacing:.18em;color:var(--brand);font-weight:700;font-size:.78rem;
}
.page-free .free-intro h1{
  font-family:var(--font-display);
  font-size:clamp(1.9rem,4vw,2.8rem);
  line-height:1.25;margin:0 0 12px;color:var(--ink);
}
.page-free .free-intro p{
  margin:0;color:var(--ink-soft);font-size:1.05rem;line-height:1.75;
}
.page-free .free-plans-sec{padding-top:12px;padding-bottom:28px}
.page-free .free-plans{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  align-items:stretch;
}
.page-free .free-plans-4{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
.page-free .free-plans-sec .wrap.free-plans-4{
  width:min(1280px, calc(100% - 32px));
}
.page-free .plan-card{
  position:relative;
  display:flex;flex-direction:column;
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:28px 26px 24px;
  box-shadow:0 10px 28px rgba(15,77,140,.06);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.page-free .plan-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(15,77,140,.12);
}
.page-free .plan-card.is-pro{
  border-color:rgba(15,77,140,.28);
  background:
    linear-gradient(165deg, rgba(232,243,251,.9) 0%, #fff 42%);
  box-shadow:0 16px 36px rgba(15,77,140,.14);
}
.page-free .plan-card.is-pro::before{
  content:"最受欢迎";
  position:absolute;top:16px;right:16px;
  font-size:.75rem;font-weight:700;letter-spacing:.06em;
  color:#fff;background:var(--brand-deep);
  padding:4px 10px;border-radius:6px;
}
.page-free .plan-card.is-full{
  border-color:rgba(15,77,140,.22);
  background:linear-gradient(165deg, rgba(15,77,140,.06) 0%, #fff 40%);
}
.page-free .plan-tag{
  margin:0 0 6px;font-size:.75rem;font-weight:700;
  letter-spacing:.16em;text-transform:uppercase;color:var(--brand);
}
.page-free .plan-head h2{
  margin:0 0 6px;font-family:var(--font-display);
  font-size:clamp(1.25rem,1.6vw,1.55rem);color:var(--ink);
}
.page-free .free-plans-4 .plan-price b{
  font-size:clamp(2.1rem,2.6vw,2.8rem);
}
.page-free .free-plans-4 .plan-feat{
  gap:6px;
}
.page-free .free-plans-4 .plan-feat li{
  font-size:.84rem;
}
.page-free .plan-desc{margin:0;color:var(--ink-soft);font-size:.95rem}
.page-free .plan-price{
  display:flex;align-items:flex-end;gap:4px;
  margin:22px 0 6px;color:var(--brand-deep);
}
.page-free .plan-price em{
  font-style:normal;font-weight:700;font-size:1.35rem;margin-bottom:10px;
}
.page-free .plan-price b{
  font-family:var(--font-display);
  font-size:clamp(2.8rem,5vw,3.6rem);
  line-height:.9;letter-spacing:-.03em;font-weight:700;
}
.page-free .plan-price span{
  margin-bottom:8px;font-size:1rem;font-weight:650;color:var(--ink-soft);
}
.page-free .plan-renew{
  margin:0 0 18px;color:var(--ink-soft);font-size:.95rem;
}
.page-free .plan-renew strong{color:var(--brand-deep);font-weight:700}
.page-free .plan-feat{
  list-style:none;display:grid;gap:8px;
  margin:0 0 22px;padding:0;flex:1;
  max-height:none;overflow:visible;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding-top:14px;padding-bottom:14px;
}
.page-free .plan-feat li{
  position:relative;
  padding-left:26px;
  color:var(--ink);font-size:.92rem;font-weight:600;line-height:1.45;
}
.page-free .plan-feat li.ok::before{
  content:"✓";
  position:absolute;left:0;top:0;
  color:#1a8f5c;font-weight:800;
}
.page-free .plan-feat li.no{
  color:#9aa8b5;font-weight:550;
}
.page-free .plan-feat li.no::before{
  content:"✗";
  position:absolute;left:0;top:0;
  color:#c45c5c;font-weight:800;
}
.page-free .plan-feat li.is-hot{
  color:var(--brand-deep);
}
.page-free .plan-feat li.is-hot::before{color:#1a8f5c}
.page-free .plan-cta{align-self:stretch;width:100%}
.page-free .free-more-tip{
  margin:18px auto 0;text-align:center;color:var(--ink-soft);font-size:.95rem;
}
.page-free .free-more-tip a{
  color:var(--brand-deep);font-weight:700;border-bottom:1px solid rgba(15,77,140,.25);
}
.page-free .free-more-tip a:hover{color:var(--brand)}
.page-free .theme-body{background:linear-gradient(180deg,#f4f8fc 0%,#fff 32%)}
@media (max-width:1200px){
  .page-free .free-plans-4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:800px){
  .page-free .free-plans,
  .page-free .free-plans-4{grid-template-columns:1fr}
  .page-free .theme-hero.theme-hero-free{padding:28px 0 12px}
  .page-free .plan-card.is-pro::before{top:12px;right:12px}
  .page-free .plan-feat{max-height:none}
}

/* column promo bar */
.page-ad {
  background: linear-gradient(90deg, #0E4C8C 0%, #145EA8 55%, #2E78C4 100%);
  color: #fff;
}
.help-page .page-ad { margin-top: 74px; }
.page-ad-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 12px 0;
}
.page-ad p { margin: 0; font-size: 1.02rem; line-height: 1.5; }
.page-ad em {
  font-style: normal;
  display: inline-block;
  margin-right: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-deep);
  font-weight: 700;
  font-size: .85rem;
}
.page-ad .btn { background: #fff; color: var(--brand-deep); flex: none; min-height: 36px; }
.theme-page .theme-hero { padding-top: 96px; }
.help-page .help-hero { padding-top: 28px; }
.help-detail-page .page-ad + .help-main { padding-top: 18px; }
@media (max-width: 720px) {
  .page-ad-inner { flex-direction: column; align-items: flex-start; padding: 14px 0; }
}

/* 登录后顶栏：景区名 + 退出 */
.nav-actions .nav-jingqu {
  display: inline-flex;
  align-items: center;
  max-width: 160px;
  padding: 0 8px;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--brand-deep);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 999px;
  min-height: 34px;
  background: rgba(26, 111, 191, 0.08);
}
.nav-actions .nav-jingqu:hover { color: var(--brand); background: rgba(26, 111, 191, 0.14); }
@media (max-width: 767px) {
  .nav-actions .nav-jingqu {
    max-width: 96px;
    font-size: 12px;
    padding: 0 8px;
  }
}

/* ========== 2026 视觉抛光（内容结构不变） ========== */
.home-next .nx-card,
.nx-why-card,
.cap-card,
.case-card,
.adv-row,
.perk-list li,
.free-aside,
.help-items a,
.help-detail,
.help-aside {
  border-radius: var(--radius) !important;
  box-shadow: none;
  transition: transform .28s cubic-bezier(.2,.8,.25,1), box-shadow .28s ease, border-color .28s ease;
}
.home-next .nx-card,
.nx-why-card,
.cap-card,
.case-card {
  background: #ffffff !important;
  border: 1px solid var(--line) !important;
}
.home-next .nx-card:hover,
.nx-why-card:hover,
.cap-card:hover,
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(26, 111, 191, 0.22) !important;
}
.home-next .nx-ico {
  background: linear-gradient(145deg, #e8f3fb, #d7eaf8) !important;
  color: var(--brand-deep) !important;
}
.theme-hero,
.help-hero {
  position: relative;
  overflow: hidden;
}
.theme-hero::before,
.help-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(232, 243, 251, 0.92), rgba(244, 248, 252, 0.55)),
    url("/static/theme/img/top.jpg") center top / cover no-repeat;
  opacity: .55;
  z-index: 0;
  pointer-events: none;
}
.theme-hero > *,
.help-hero > * {
  position: relative;
  z-index: 1;
}
.theme-hero h1,
.help-hero h1 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}
.nx-free,
.free-band {
  background:
    linear-gradient(115deg, rgba(10, 42, 78, 0.86) 0%, rgba(15, 77, 140, 0.62) 48%, rgba(10, 42, 78, 0.45) 100%),
    url("/static/theme/img/top.jpg") right center / cover no-repeat !important;
}
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
}
.reveal {
  animation: riseIn .85s cubic-bezier(.2,.8,.25,1) both;
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual { animation: none !important; }
  .reveal, .hero-inner, .feat-item { animation: none !important; }
}
@media (max-width: 768px) {
  .hero-visual { animation: none; transform: none; }
  .theme-hero::before,
  .help-hero::before { opacity: .35; }
}


/* ========== Home × Nav companion redesign ========== */
.home-next {
  --nav-r: 18px;
  --pill: 999px;
  --glass: #ffffff;
  --glass-edge: rgba(15, 77, 140, 0.08);
}

/* Hero blends under floating island nav */
.home-next .hero {
  min-height: 88vh;
  min-height: 88dvh;
  isolation: isolate;
}
.home-next .hero-visual {
  background:
    linear-gradient(180deg, rgba(8, 28, 54, 0.22) 0%, rgba(8, 28, 54, 0.12) 14%, rgba(10, 42, 78, 0.55) 48%, rgba(10, 42, 78, 0.78) 100%),
    linear-gradient(100deg, rgba(8, 36, 68, 0.72) 0%, rgba(12, 58, 104, 0.42) 42%, rgba(18, 84, 140, 0.18) 100%),
    url("/static/theme/img/top.jpg") center / cover no-repeat;
}
.home-next .hero-visual::after {
  opacity: .28;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.4), transparent 70%);
}
.home-next .hero-inner {
  width: min(var(--max), calc(100% - 36px));
  padding: 110px 0 56px;
  gap: 36px;
}
.home-next .hero-brand {
  margin-bottom: 12px;
  text-shadow: 0 10px 40px rgba(8, 28, 54, 0.35);
  animation: homeBrandIn .8s cubic-bezier(.2,.8,.2,1) both;
}
.home-next .hero-title {
  max-width: 18em;
  margin-bottom: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,.92);
  animation: homeBrandIn .9s .08s cubic-bezier(.2,.8,.2,1) both;
}
.home-next .hero-lead {
  max-width: 32em;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,.78);
  margin-bottom: 30px;
  animation: homeBrandIn 1s .14s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes homeBrandIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.home-next .hero-ctas {
  gap: 12px;
  animation: homeBrandIn 1.05s .2s cubic-bezier(.2,.8,.2,1) both;
}
.home-next .hero-ctas .btn {
  border-radius: var(--pill);
  min-height: 48px;
  padding: 0 26px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.home-next .hero-ctas .btn-solid {
  background: #fff;
  color: var(--brand-deep);
  box-shadow: 0 12px 28px rgba(8, 28, 54, 0.22);
}
.home-next .hero-ctas .btn-solid:hover {
  background: #f3f8fc;
  transform: translateY(-2px);
}
.home-next .hero-ctas .btn-ghost {
  background: rgba(255,255,255,.14);
  color: #fff;
  border-color: rgba(255,255,255,.42);
}
.home-next .hero-ctas .btn-ghost:hover {
  background: rgba(255,255,255,.22);
}

/* Map as soft floating visual */
.home-next .hero-map {
  justify-content: flex-end;
  animation: homeMapIn 1.1s .18s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes homeMapIn {
  from { opacity: 0; transform: translateX(24px) scale(.96); }
  to { opacity: 1; transform: none; }
}
.home-next .hero-map svg {
  width: 100%;
  max-width: 520px;
  max-height: 52vh;
  filter: drop-shadow(0 18px 40px rgba(8, 28, 54, 0.28));
}
.home-next .cn-land {
  fill: rgba(255,255,255,.12);
  stroke: rgba(255,255,255,.92);
  stroke-width: 1.35;
}
.home-next .cn-pin text {
  font-size: 18px;
  font-weight: 650;
  font-family: var(--font-body);
  stroke-width: 3.5px;
}

/* Body sections share island language */
.home-next .nx-feat {
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(26,111,191,.07), transparent 55%),
    linear-gradient(180deg, #eef4f9 0%, var(--foam) 40%, #fff 100%);
  padding: 72px 0 48px;
}
.home-next .nx-cases {
  background: transparent;
  padding: 28px 0 40px;
}
.home-next .nx-why {
  background:
    radial-gradient(70% 50% at 0% 100%, rgba(15,77,140,.06), transparent 50%),
    #f5f9fc;
  padding: 56px 0 64px;
}
.home-next .nx-head { margin-bottom: 28px; align-items: center; }
.home-next .nx-more {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: var(--pill);
  border: 1px solid rgba(15,77,140,.14);
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 8px 20px rgba(15,77,140,.06);
  border-bottom: 1px solid rgba(15,77,140,.14);
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.home-next .nx-more:hover {
  color: var(--brand-deep);
  background: #fff;
  border-bottom-color: rgba(15,77,140,.14);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15,77,140,.1);
}
.home-next .nx-more-light {
  color: var(--brand-deep);
  background: #ffffff;
  border-color: rgba(255,255,255,.9);
  margin-top: 16px;
}
.home-next .nx-more-light:hover {
  color: #ffffff;
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 12px 24px rgba(15,77,140,.18);
}

.home-next .nx-grid { gap: 18px; }
.home-next .nx-card {
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--nav-r);
  padding: 24px 22px 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.8) inset,
    0 14px 32px rgba(15,77,140,.06) !important;
}
.home-next .nx-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 20px 44px rgba(15,77,140,.12) !important;
}
.home-next .nx-ico {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: linear-gradient(145deg, #e8f3fb, #d7eaf8);
  box-shadow: 0 8px 16px rgba(26,111,191,.1);
}

.home-next .case-card {
  width: 228px;
  border-radius: var(--nav-r);
  border: 1px solid rgba(15,77,140,.08);
  background: #fff;
  box-shadow: 0 12px 28px rgba(15,77,140,.07);
  overflow: hidden;
}
.home-next .case-name { padding: 14px 16px 16px; font-size: .95rem; }
.home-next .nx-case-btn {
  border-radius: 14px;
  border: 1px solid rgba(15,77,140,.12);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
}

.home-next .nx-why-card {
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: var(--nav-r);
  padding: 28px 24px 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.85) inset,
    0 14px 32px rgba(15,77,140,.06) !important;
}
.home-next .nx-why-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 22px 44px rgba(15,77,140,.12) !important;
}
.home-next .nx-why-card b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 32px;
  padding: 0 12px;
  margin-bottom: 14px;
  border-radius: var(--pill);
  background: rgba(26,111,191,.1);
  color: var(--brand-deep);
  font-size: .95rem;
  letter-spacing: .08em;
}

/* Free band: scenic photo — show right side of top.jpg */
.home-next .nx-free {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(8, 32, 58, 0.88) 0%, rgba(12, 54, 100, 0.72) 42%, rgba(10, 42, 78, 0.38) 100%),
    url("/static/theme/img/top.jpg") right center / cover no-repeat;
  padding: 72px 0;
}
.home-next .nx-free::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,28,54,.12), transparent 40%, rgba(8,28,54,.22));
  pointer-events: none;
}
.home-next .nx-free .wrap,
.home-next .nx-free-grid { position: relative; z-index: 1; }
.home-next .nx-free-grid { align-items: end; }
.home-next .nx-perks {
  display: grid;
  gap: 10px;
  margin: 18px 0 8px;
  list-style: none;
}
.home-next .nx-perks li {
  position: relative;
  padding: 10px 14px 10px 36px;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
}
.home-next .nx-perks li::before {
  content: "✓";
  position: absolute;
  left: 12px; top: 10px;
  color: #9be7c2;
  font-weight: 800;
}
.home-next .nx-free-panel {
  border-radius: 22px;
  padding: 28px 24px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow:
    0 1px 0 rgba(255,255,255,.35) inset,
    0 20px 48px rgba(8,28,54,.22);
  display: grid;
  gap: 14px;
  position: relative;
  margin-top: -260px;
}
.home-next .nx-free-panel p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.6;
  color: rgba(255,255,255,.92);
}
.home-next .nx-free-panel .btn {
  border-radius: var(--pill);
  width: 100%;
}
.home-next .nx-free-panel .btn-solid {
  background: #fff;
  color: var(--brand-deep);
  box-shadow: 0 12px 28px rgba(8,28,54,.2);
}
.home-next .nx-free-panel .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.home-next .nx-live {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.home-next .nx-live b {
  font-family: var(--font-display);
  font-size: 2rem;
  color: #fff;
  letter-spacing: .02em;
}
.home-next .nx-live span { color: rgba(255,255,255,.75); font-size: .95rem; }

/* Closing CTA island */
.home-next .nx-close {
  background:
    radial-gradient(70% 80% at 50% 0%, rgba(26,111,191,.08), transparent 60%),
    #f4f8fc;
  padding: 28px 0 72px;
}
.home-next .nx-close .wrap {
  width: min(720px, calc(100% - 36px));
  margin: 0 auto;
  padding: 36px 28px;
  text-align: center;
  border-radius: 24px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(255,255,255,.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 18px 40px rgba(15,77,140,.08);
}
.home-next .nx-close h2 {
  font-family: var(--font-display);
  margin-bottom: 10px;
}
.home-next .nx-close-actions .btn {
  border-radius: var(--pill);
  min-height: 46px;
  padding: 0 24px;
}

.home-next .site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .home-next .hero { min-height: auto; }
  .home-next .hero-inner {
    grid-template-columns: 1fr;
    padding: 96px 0 40px;
    gap: 18px;
  }
  .home-next .hero-map { justify-content: center; order: 2; }
  .home-next .hero-copy { order: 1; }
  .home-next .hero-map svg { max-width: 420px; max-height: 36vh; }
  .home-next .hero-brand { font-size: clamp(2.1rem, 10vw, 3rem); }
  .home-next .nx-close .wrap { padding: 28px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-next .hero-brand,
  .home-next .hero-title,
  .home-next .hero-lead,
  .home-next .hero-ctas,
  .home-next .hero-map { animation: none; }
}


/* ========== Home polish pass 3 ========== */
.home-next .hero-brand {
  color: #fff;
  opacity: 1;
  -webkit-text-fill-color: #fff;
  text-shadow: 0 8px 28px rgba(6, 22, 44, 0.45);
}
.home-next .hero-title {
  color: rgba(255,255,255,.96);
  text-shadow: 0 6px 20px rgba(6, 22, 44, 0.35);
}
.home-next .hero-lead {
  color: rgba(255,255,255,.86);
  text-shadow: 0 4px 16px rgba(6, 22, 44, 0.3);
}
.home-next .hero-inner {
  align-items: center;
}
@media (max-width: 900px) {
  .home-next .hero {
    min-height: auto;
  }
  .home-next .hero-inner {
    padding: 88px 0 28px;
    gap: 22px;
  }
  .home-next .hero-copy {
    order: 1;
  }
  .home-next .hero-map {
    order: 2;
    opacity: 0.92;
  }
  .home-next .hero-map svg {
    max-height: 30vh;
    max-width: 360px;
  }
  .home-next .hero-brand {
    font-size: clamp(2.2rem, 11vw, 2.85rem);
    margin-bottom: 10px;
  }
  .home-next .hero-title {
    font-size: 1.15rem;
    max-width: none;
  }
  .home-next .hero-lead {
    font-size: .98rem;
    margin-bottom: 22px;
  }
  .home-next .hero-ctas .btn {
    min-height: 44px;
    padding: 0 20px;
    font-size: .95rem;
  }
  .home-next .nx-free-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .home-next .nx-free-panel { margin-top: 0; }
  .home-next .nx-close .wrap {
    border-radius: 20px;
  }
}
/* ensure free panel buttons stay pill */
.home-next .nx-free-panel .btn-lg { border-radius: 999px; }
.home-next .nx-perks li::before {
  content: "✓" !important;
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  transform: none !important;
  background: none !important;
  color: #9be7c2 !important;
  left: 12px !important;
  top: 10px !important;
}


/* ========== Cases 4x4 board ========== */
.home-next .nx-cases {
  overflow: visible;
}
.home-next .nx-case-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.home-next .nx-case-board .case-card {
  width: auto;
  flex: initial;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15,77,140,.08);
  box-shadow: 0 12px 28px rgba(15,77,140,.06);
  transition: transform .28s ease, box-shadow .28s ease;
}
.home-next .nx-case-board .case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(15,77,140,.12);
}
.home-next .nx-case-board .case-cover {
  aspect-ratio: 1 / 1;
  width: 100%;
  background: var(--mint);
  overflow: hidden;
}
.home-next .nx-case-board .case-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.home-next .nx-case-board .case-card:hover .case-cover img {
  transform: scale(1.06);
}
.home-next .nx-case-board .case-name {
  display: block;
  padding: 12px 14px 14px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-next .nx-case-board .case-fallback {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 12px;
  text-align: center;
  color: var(--brand);
  font-weight: 700;
}
@media (max-width: 960px) {
  .home-next .nx-case-board {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}
@media (max-width: 640px) {
  .home-next .nx-case-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .home-next .nx-case-board .case-name {
    padding: 10px 10px 12px;
    font-size: .85rem;
  }
}


/* ========== Scroll jank fixes ========== */
html { scroll-behavior: auto; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: auto; }
}
.site-nav,
.nav-shell {
  will-change: auto;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.home-next .hero-visual {
  transform: none !important;
  animation: none !important;
  will-change: auto;
}
.home-next .hero-visual::after {
  animation: none !important;
}
/* reduce paint cost while scrolling: lighter blur on content cards */
.home-next .nx-card,
.home-next .nx-why-card,
.home-next .nx-close .wrap {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: #fff;
}
.home-next .nx-free-panel {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.home-next .nx-perks li {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.home-next .nx-more {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: #fff;
}
@media (max-width: 900px) {
  .site-nav { padding: 10px 12px 0; }
  .site-nav.is-solid { padding-top: 10px; }
  .nav-shell {
    backdrop-filter: saturate(1.1) blur(8px);
    -webkit-backdrop-filter: saturate(1.1) blur(8px);
  }
}


/* ===== YaHei global force ===== */
html, body, button, input, select, textarea,
.home-next, .theme-page, .help-page,
.site-nav, .nav-brand, .nav-links, .nav-actions,
.hero, .hero-brand, .hero-title, .hero-lead,
.section-title, .section-kicker, .section-desc,
.nx-card, .nx-why-card, .case-card, .case-name,
.btn, .nx-more, .site-footer {
  font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Noto Sans SC", sans-serif !important;
}


/* ===== nav font +1 ===== */
.nav-links a { font-size: 1.05rem !important; }
.nav-actions .nav-login { font-size: 1.05rem !important; }
.nav-actions .nav-cta,
.nav-actions .btn { font-size: 1.02rem !important; }
@media (max-width: 900px) {
  .nav-links a { font-size: 1.1rem !important; }
}

/* ===== nav fit 8 items (incl. 资讯) ===== */
@media (min-width: 901px) and (max-width: 1240px) {
  .nav-shell { gap: 10px 12px; padding: 10px 10px 10px 14px; }
  .nav-links { gap: 2px 10px; }
  .nav-links a {
    padding: 8px 12px !important;
    font-size: 0.98rem !important;
  }
  .nav-actions { gap: 8px; }
  .nav-actions .nav-login { padding: 8px 4px; font-size: 0.98rem !important; }
  .nav-actions .nav-cta,
  .nav-actions .btn { padding: 0 14px; font-size: 0.95rem !important; min-height: 38px; }
}


/* CTA 下方法律链接 */
.nx-close-legal {
  margin: 16px 0 0;
  text-align: center;
  font-size: 13px;
  color: rgba(30, 41, 59, 0.55);
}
.nx-close-legal a {
  color: inherit;
  text-decoration: none;
}
.nx-close-legal a:hover {
  color: #2563eb;
  text-decoration: underline;
}
.nx-close-legal span {
  margin: 0 8px;
  opacity: 0.55;
}

/* —— 首页行业资讯 —— */
.nx-news {
  background: #fff;
  padding: 48px 0;
}
.nx-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.nx-news-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px 20px;
  transition: transform .28s ease, box-shadow .28s ease, background .2s ease;
  min-height: 168px;
}
.nx-news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(27,110,196,.12);
  background: #fff;
}
.nx-news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: .82rem;
  color: var(--ink-soft);
}
.nx-news-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--brand-deep);
  font-weight: 700;
  font-size: .75rem;
}
.nx-news-card h3 {
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nx-news-card p {
  color: var(--ink-soft);
  font-size: .92rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: auto;
}
@media (max-width: 900px) {
  .nx-news-grid { grid-template-columns: 1fr; }
}


/* ===== nav: show hamburger until wide enough for 资讯+关于 ===== */
@media (max-width: 1180px) {
  .site-nav { padding: 10px 12px 0; }
  .nav-shell {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-rows: auto;
    align-items: center;
    column-gap: 8px;
    row-gap: 0;
    padding: 8px 8px 8px 12px;
    border-radius: 16px;
    position: relative;
  }
  .nav-brand { grid-column: 1; grid-row: 1; min-width: 0; order: unset !important; }
  .nav-actions {
    grid-column: 2; grid-row: 1; justify-self: end; align-self: center;
    gap: 0; margin-left: 0; order: unset !important;
  }
  .nav-actions .nav-login { display: none; }
  .nav-actions .nav-cta,
  .nav-actions .btn {
    font-size: 13px; min-height: 34px; height: 34px;
    padding: 0 12px; border-radius: 999px; white-space: nowrap;
  }
  .nav-toggle-input { display: block !important; }
  .nav-toggle {
    display: inline-flex !important;
    align-items: center; justify-content: center;
    grid-column: 3; grid-row: 1; justify-self: end; align-self: center;
    width: 38px; height: 38px; border-radius: 12px;
    background: rgba(26, 111, 191, 0.08);
    border: 1px solid rgba(27,110,196,.14);
    cursor: pointer;
  }
  .nav-links {
    display: none !important;
    grid-column: 1 / -1;
    grid-row: 2;
    position: absolute;
    left: 8px; right: 8px;
    top: calc(100% + 8px);
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid rgba(15,77,140,0.08);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15,77,140,.16);
    order: unset !important;
  }
  .nav-toggle-input:checked ~ .nav-links { display: flex !important; }
  .nav-links a {
    font-size: 1.1rem !important;
    padding: 12px 14px !important;
    border-radius: 12px;
    opacity: 1;
  }
  .nav-drawer-auth {
    display: flex !important;
    margin-top: 6px;
    justify-content: center;
    color: #fff !important;
    background: var(--brand-deep) !important;
    font-weight: 700 !important;
  }
}
@media (min-width: 1181px) {
  .nav-shell {
    display: flex !important;
    width: min(1280px, calc(100% - 32px));
    gap: 10px 14px;
    padding: 10px 12px 10px 16px;
  }
  .nav-toggle-input, .nav-toggle { display: none !important; }
  .nav-brand { order: 1; }
  .nav-links {
    display: flex !important;
    order: 2;
    flex: 1;
    gap: 4px 14px;
    min-width: 0;
  }
  .nav-actions { order: 3; margin-left: 0; }
  .nav-drawer-auth { display: none !important; }
  .nav-links a {
    padding: 8px 14px !important;
    font-size: 1rem !important;
  }
  .nav-actions .nav-login { display: inline-flex; font-size: 0.98rem !important; }
  .nav-actions .nav-cta,
  .nav-actions .btn { font-size: 0.95rem !important; padding: 0 14px; min-height: 38px; }
}

/* ===== about page ===== */
.page-about .about-hero { padding-bottom: 28px; }
.page-about .about-intro { background: #fff; padding: 48px 0; }
.page-about .about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 28px 36px;
  align-items: start;
}
.page-about .about-p {
  color: var(--ink-soft);
  line-height: 1.75;
  margin: 0 0 14px;
  font-size: 1rem;
}
.page-about .about-p strong { color: var(--ink); font-weight: 700; }
.page-about .about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.page-about .about-stat {
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.page-about .about-stat b {
  font-size: 1.8rem;
  color: var(--brand-deep);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.page-about .about-stat span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.page-about .about-ip { background: var(--foam); padding: 48px 0; }
.page-about .about-ip-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}
.page-about .about-ip-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 22px 18px;
}
.page-about .about-ip-card h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  color: var(--ink);
}
.page-about .about-ip-card ul {
  margin: 0;
  padding: 0 0 0 18px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.page-about .about-ip-card li { margin: 0 0 6px; }
.page-about .about-ip-note {
  margin: 14px 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.page-about .about-contact { background: #fff; padding: 48px 0 56px; }
.page-about .about-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.page-about .about-contact-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 18px;
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
a.page-about .about-contact-card:hover,
.page-about a.about-contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(27,110,196,.12);
  background: #fff;
}
.page-about .about-contact-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.04em;
}
.page-about .about-contact-card strong {
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.45;
}
.page-about .about-contact-card em {
  font-style: normal;
  color: var(--ink-soft);
  font-size: 0.88rem;
}
@media (max-width: 900px) {
  .page-about .about-intro-grid,
  .page-about .about-ip-grid,
  .page-about .about-contact-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== nav icons + spacing ===== */
.nav-links a::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: none;
  opacity: 0.72;
  background-color: currentColor;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}
.nav-links a:hover::before,
.nav-links a.is-active::before,
.nav-links a.is-on::before { opacity: 1; }

/* home */
.nav-links a[href="/"]::before,
.nav-links a[href="https://www.daolan.net.cn/"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11.5 12 4l9 7.5'/%3E%3Cpath d='M6 10.5V20h12v-9.5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11.5 12 4l9 7.5'/%3E%3Cpath d='M6 10.5V20h12v-9.5'/%3E%3C/svg%3E");
}
/* features */
.nav-links a[href="/features.html"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='7' height='7' rx='1.5'/%3E%3Crect x='13' y='4' width='7' height='7' rx='1.5'/%3E%3Crect x='4' y='13' width='7' height='7' rx='1.5'/%3E%3Crect x='13' y='13' width='7' height='7' rx='1.5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='7' height='7' rx='1.5'/%3E%3Crect x='13' y='4' width='7' height='7' rx='1.5'/%3E%3Crect x='4' y='13' width='7' height='7' rx='1.5'/%3E%3Crect x='13' y='13' width='7' height='7' rx='1.5'/%3E%3C/svg%3E");
}
/* cases */
.nav-links a[href="/cases.html"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M8 7V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M8 7V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3C/svg%3E");
}
/* advantages */
.nav-links a[href="/advantages.html"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.4 4.9 5.4.8-3.9 3.8.9 5.4L12 15.9 7.2 18l.9-5.4L4.2 8.7l5.4-.8L12 3z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.4 4.9 5.4.8-3.9 3.8.9 5.4L12 15.9 7.2 18l.9-5.4L4.2 8.7l5.4-.8L12 3z'/%3E%3C/svg%3E");
}
/* free */
.nav-links a[href="/free.html"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18'/%3E%3Cpath d='M7 8.5c0-2 2-3.5 5-3.5s5 1.3 5 3.2c0 4-10 2.2-10 6.6 0 2 2.2 3.7 5 3.7s5-1.5 5-3.5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18'/%3E%3Cpath d='M7 8.5c0-2 2-3.5 5-3.5s5 1.3 5 3.2c0 4-10 2.2-10 6.6 0 2 2.2 3.7 5 3.7s5-1.5 5-3.5'/%3E%3C/svg%3E");
}
/* help */
.nav-links a[href^="/help/"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.6 9.5a2.5 2.5 0 1 1 3.9 2.1c-.8.5-1.5 1.1-1.5 2'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.6 9.5a2.5 2.5 0 1 1 3.9 2.1c-.8.5-1.5 1.1-1.5 2'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E");
}
/* about */
.nav-links a[href="/about.html"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.2'/%3E%3Cpath d='M5.5 19.2c1.6-3.2 4-4.8 6.5-4.8s4.9 1.6 6.5 4.8'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.2'/%3E%3Cpath d='M5.5 19.2c1.6-3.2 4-4.8 6.5-4.8s4.9 1.6 6.5 4.8'/%3E%3C/svg%3E");
}
.nav-links a.nav-drawer-auth::before { display: none; }

@media (max-width: 1180px) {
  .nav-links a {
    gap: 10px;
    padding: 12px 14px !important;
  }
  .nav-links a::before {
    width: 16px;
    height: 16px;
  }
}

/* ===== page width sync with nav-shell ===== */
:root {
  --max: 1120px;
  --page-gutter: 20px;
}
/* 首页 / 专题页 / 帮助页：导航与内容同宽 */
.home-next .site-nav,
.theme-page .site-nav,
.help-page .site-nav {
  padding-left: var(--page-gutter) !important;
  padding-right: var(--page-gutter) !important;
}
.home-next .nav-shell,
.theme-page .nav-shell,
.help-page .nav-shell {
  width: min(var(--max), 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}
.home-next .wrap,
.home-next .hero-inner,
.home-next .site-footer .wrap,
.theme-page .wrap,
.theme-page .hero-inner,
.theme-page .site-footer .wrap,
.help-page .wrap,
.help-page .site-footer .wrap,
.help-page .help-layout {
  width: min(var(--max), calc(100% - (var(--page-gutter) * 2))) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}
.home-next .wrap.free-plans-4,
.theme-page .wrap.free-plans-4 {
  width: min(var(--max), calc(100% - (var(--page-gutter) * 2))) !important;
}
/* 帮助页标题区内文仍可居中收窄，但外框与导航同宽 */
.help-page .help-hero-inner {
  width: min(var(--max), calc(100% - (var(--page-gutter) * 2))) !important;
  max-width: min(var(--max), calc(100% - (var(--page-gutter) * 2))) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}
@media (max-width: 900px) {
  :root { --page-gutter: 12px; }
  .home-next .site-nav,
  .theme-page .site-nav,
  .help-page .site-nav {
    padding-left: var(--page-gutter) !important;
    padding-right: var(--page-gutter) !important;
  }
}
