:root {
  --primary: #1f6bff;
  --secondary: #0d1b3f;
  --accent: #15d1a0;
  /*--bg: #f7f9fc;*/
  --bg: #eef4ff;
  --card: #ffffff;
  --text: #1b1f27;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e7ecf3;
}
.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary);
}
.brand span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #7ac6ff);
  color: #fff;
  font-weight: 800;
}
.brand img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
}
.nav-links {
  display: flex;
  gap: 18px;
  font-weight: 600;
}
.nav-links a {
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.nav-links a.active {
  color: var(--primary);
  background: #e9f1ff;
}
.nav-links a:hover { background: #e9f1ff; color: var(--primary); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), #5ca3ff);
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(31, 107, 255, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
a.btn {
  text-decoration: none;
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(31, 107, 255, 0.35); }
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #e7ecf3;
  background: #0d1b3f;
  min-height: 640px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-bg img.active { opacity: 1; }
.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
  background: rgba(13, 27, 63, 0.45);
  padding: 8px 12px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(13, 27, 63, 0.7), rgba(13, 27, 63, 0.25), rgba(255, 255, 255, 0.08));
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 20px 120px;
  display: grid;
  gap: 16px;
  color: #fff;
}
.hero h1 {
  font-size: 42px;
  margin: 0;
  line-height: 1.2;
}
.hero-sub {
  margin: 0;
  max-width: 680px;
  color: #e5ecff;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.hero-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.hero-card-min {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}
.hero-card-min p { margin: 4px 0 0; color: #e5ecff; font-size: 13px; line-height: 1.5; }
.hero-card-min strong { color: #fff; }
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}
.badge {
  padding: 6px 10px;
  border-radius: 10px;
  background: #eef4ff;
  color: var(--primary);
  font-weight: 600;
  font-size: 12px;
}
section {
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 60px 20px 0;
}
h2 { margin: 0 0 14px; color: var(--secondary); font-size: 28px; }
.sub { margin: 0 0 26px; color: #4a5366; }
.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  background: var(--card);
  border-radius: 14px;
  padding: 18px;
  border: 1px solid #e7ecf3;
  box-shadow: 0 14px 40px rgba(13, 27, 63, 0.08);
  display: grid;
  gap: 12px;
}
.icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef4ff;
  color: var(--primary);
  font-weight: 700;
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.step {
  background: #fff;
  border: 1px solid #e7ecf3;
  border-radius: 14px;
  padding: 16px;
  display: grid;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(13, 27, 63, 0.07);
}
.step-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.step-icon {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  background: #eef4ff;
  display: grid;
  place-items: center;
  border: 1px solid #d8e6ff;
}
.step-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.step strong { color: var(--secondary); }
.step-head strong { text-align: center; }
.step-desc {
  margin: 0;
  color: #3c4b66;
  line-height: 1.7;
}
.strip { display: flex; gap: 10px; flex-wrap: wrap; }
.strip span {
  background: #f0f3f9;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
}
.news, .faq { display: grid; gap: 12px; }
.news article, .faq article {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e7ecf3;
  box-shadow: 0 10px 28px rgba(13, 27, 63, 0.07);
}
.tag {
  font-size: 12px;
  color: var(--primary);
  background: #eef4ff;
  padding: 4px 8px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 700;
}
.guide {
  background: #0d1b3f;
  color: #fff;
  border-radius: 18px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.guide h2 { color: #fff; }
.slider { position: relative; overflow: hidden; }
.slides { display: flex; transition: transform 0.5s ease; }
.slide { min-width: 100%; padding: 12px 0; }
.slide-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 16px;
  display: grid;
  gap: 8px;
}
.bullet { display: flex; gap: 10px; align-items: flex-start; }
.bullet strong { color: #fff; }
.slider-dots { display: flex; gap: 8px; margin-top: 10px; }
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.2s;
}
.dot.active { background: #fff; }
.cta { padding-top: 10px; padding-bottom: 90px; }
.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 20px;
  margin: 18px auto 0;
  align-items: stretch;
  max-width: 760px;
}
.qr-card {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 20px;
}
.qr-img {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1f6bff, #7ac6ff);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 12px 32px rgba(13, 27, 63, 0.12);
}
.news-list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}
.news-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}
.empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
  opacity: 0.6;
}
.empty-text {
  font-size: 18px;
  font-weight: 700;
  color: #1a2740;
  margin-bottom: 8px;
}
.empty-desc {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}
.news-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-card-link:hover {
  transform: translateY(-4px);
}
.news-card-link:hover .news-card {
  box-shadow: 0 16px 40px rgba(13, 27, 63, 0.12);
}
.news-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e7ecf3;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(13, 27, 63, 0.08);
}
.news-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #6b7280;
}
.news-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.news-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
}
.news-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1a2740;
  line-height: 1.4;
  height: calc(1.4em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-desc {
  margin: 0;
  color: #4a5366;
  line-height: 1.7;
  font-size: 14px;
  max-height: calc(1.7em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.faq-grid { display: grid; gap: 14px; }
.faq-item {
  background: #fff;
  padding: 4px 18px;
  border-radius: 14px;
  border: 1px solid #e7ecf3;
  box-shadow: 0 12px 32px rgba(13, 27, 63, 0.08);
}
.guide-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}
.carousel {
  background: #0d1b3f;
  color: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 18px 50px rgba(13, 27, 63, 0.2);
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.carousel-slide {
  min-width: 100%;
  display: grid;
  gap: 12px;
  align-items: center;
  justify-items: center;
}
.guide-img {
  width: 384px;
  height: 544px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.carousel-text { max-width: 560px; text-align: center; }
.carousel-dots { display: flex; gap: 10px; justify-content: center; margin-top: 10px; }
.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
}
.carousel-dot.active { background: #fff; }
.article-page {
  background: #eef4ff;
}
.article-hero {
  padding: 70px 20px 90px;
  overflow: hidden;
}
.article-hero .hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  color: #0c223f;
}
.hero-bg-dot {
  position: absolute;
  right: 8%;
  top: 20%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(31, 107, 255, 0.16), transparent 70%);
  filter: blur(8px);
  z-index: 1;
}
.crumbs {
  color: #5c6a86;
  font-size: 14px;
  margin-bottom: 12px;
}
.article-hero .article-title {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.3;
  color: #0f1f3d;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #4a5366;
  font-size: 14px;
}
.article-meta .tag {
  background: #eef4ff;
  color: var(--primary);
  border-radius: 10px;
  padding: 4px 10px;
  font-size: 12px;
  border: 1px solid #d8e6ff;
}
.article-layout {
  max-width: 1200px;
  margin: -40px auto 0px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
  align-items: start;
}
.article-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e6ecf5;
  box-shadow: 0 20px 50px rgba(13, 27, 63, 0.08);
}
.article-card .article-content {
  display: grid;
  gap: 12px;
  color: #1a2740;
  line-height: 1.75;
}
.article-card h3 {
  margin: 10px 0 2px;
  color: #0f1f3d;
}
.article-card p { margin: 0; color: #3c4b66; }
.article-card ul { margin: 0; padding-left: 18px; color: #3c4b66; display: grid; gap: 6px; }
.article-card li { line-height: 1.7; }
.article-card .highlight {
  padding: 12px 14px;
  background: #f4f8ff;
  border: 1px dashed #cfe1ff;
  border-radius: 12px;
  color: #0f1f3d;
}
.article-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid #e6ecf5;
}
.nav-item {
  /*background: #f7f9ff;*/
  border: 1px solid #e6ecf5;
  border-radius: 12px;
  padding: 12px 14px;
  display: grid;
  gap: 4px;
}
.nav-label {
  font-size: 13px;
  color: #6b7280;
}
.nav-title {
  font-weight: 700;
  color: #0f1f3d;
}
.article-aside {
  display: grid;
  gap: 14px;
}
.aside-card {
  background: #fff;
  border: 1px solid #e6ecf5;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 14px 40px rgba(13, 27, 63, 0.06);
}
.aside-card h3 {
  margin: 0 0 10px;
  color: #0f1f3d;
}
.related-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.related-list li {
  padding: 10px 0;
  border-bottom: 1px dashed #e6ecf5;
}
.related-list li:last-child { border-bottom: none; }
.related-title {
  font-weight: 700;
  color: #1a2740;
  line-height: 1.5;
  display: inline-block;
}
.related-meta {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}
.no-related {
  margin-top: 8px;
  font-size: 13px;
  color: #6b7280;
}
.aside-card.ad {
  text-align: left;
  display: grid;
  gap: 10px;
}
.ad-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 10px;
  background: #eef4ff;
  color: var(--primary);
  font-weight: 700;
  width: fit-content;
}
.ad-img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid #e6ecf5;
}
.ad-desc {
  color: #3c4b66;
  line-height: 1.6;
}
.btn-block {
  width: 100%;
  justify-content: center;
}
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
    margin-top: -20px;
  }
}
@media (max-width: 640px) {
  .article-hero { padding: 50px 18px 70px; }
  .article-hero .article-title { font-size: 24px; }
  .article-card { padding: 18px; }
  .article-layout { padding: 0 16px; }
  .nav-title { font-size: 14px; }
}
.panel {
  background: linear-gradient(160deg, #f8fbff, #eef4ff);
  border: 1px solid #e7ecf3;
  border-radius: 18px;
  padding: 22px 18px 28px;
  box-shadow: 0 16px 40px rgba(13, 27, 63, 0.08);
}
.feature-grid .card {
  background: #fff;
  border: 1px solid #e7ecf3;
}
footer {
  background: #0f1629;
  color: #d9deeb;
  padding: 24px 20px 40px;
  border-top: 1px solid #1e2a45;
}
footer .inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}
footer a { color: #9fc3ff; }
.footer {
  background: #0d1b3f;
  color: rgba(255, 255, 255, 0.8);
  padding: 36px 24px 28px;
}
.footer-content {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-left {
  display: grid;
  gap: 14px;
  max-width: 520px;
}
.footer-logo img { width: 180px; }
.footer-info div {
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}
.footer-info .beian img { vertical-align: middle; margin-right: 6px; }
.footer-right {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.qrcode-item {
  text-align: center;
  padding: 12px;
  width: 140px;
}
.qrcode-item img {
  width: 116px;
  height: 116px;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
}
.qrcode-text { margin-top: 8px; color: rgba(255, 255, 255, 0.85); }
.site-links {
  width: 100%;
  padding: 20px 0;
  /*background: #fafafa;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;*/
  color: #666;
}
.site-links-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  gap: 8px;
}
.site-links-item {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 14px;
}
.site-links-item span {
  color: #333;
  font-weight: 600;
}
.site-links-item a {
  color: #666;
}
.site-links-item a:hover { color: #1f6bff; }
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 120;
  padding: 20px;
}
.modal.show { display: flex; }
.modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 20px 20px 24px;
  max-width: 820px;
  width: 100%;
  box-shadow: 0 30px 80px rgba(13, 27, 63, 0.25);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
  color: #65708a;
}
.modal h3 { margin: 0 0 10px; color: #1a2740; }
.modal p.sub { margin: 0 0 14px; color: #51607a; }
.check-modal-content {
  max-width: 480px;
  text-align: center;
}
.check-qr-card {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 20px 0;
}
.check-qr-img {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  border: 1px solid #e7ecf3;
  box-shadow: 0 8px 24px rgba(13, 27, 63, 0.1);
}
.check-qr-card strong {
  color: #1a2740;
  font-size: 16px;
  font-weight: 700;
}
.check-qr-desc {
  margin: 0;
  color: #6b7280;
  font-size: 10px;
}
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f6bff, #7ac6ff);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  box-shadow: 0 14px 30px rgba(31, 107, 255, 0.35);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 99;
}
.back-to-top img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:not(.show) { transform: translateY(12px); }
@media (max-width: 640px) {
  .footer { padding: 28px 18px 22px; }
  .footer-logo img { width: 150px; }
  .qrcode-item { width: 120px; padding: 10px; }
  .qrcode-item img { width: 102px; height: 102px; }
}
@media (max-width: 900px) {
  header { position: static; }
  .nav { flex-direction: column; gap: 10px; align-items: flex-start; }
  .guide-img { width: 100%; height: auto; aspect-ratio: 480 / 680; }
  .qr-grid { grid-template-columns: 1fr; }
}

/* 二级导航：使用外层 .nav-item-sub.has-sub 包裹，避免与全站 .nav-item 样式冲突 */
.nav { position: relative; }
.nav-item-sub.has-sub {
  position: relative;          /* 让二级导航相对当前一级导航项水平居中 */
  display: inline-block;
}
.nav-item-sub.has-sub > a.nav-parent {
  /* 仍使用 .nav-links a 的样式，不额外改变外观 */
  display: inline-block;
}
.nav-item-sub.has-sub .sub-nav {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  /* 使用略亮的纯白背景，与页面整体浅蓝背景区分开 */
  background: rgba(255, 255, 255, 0.9);
  min-width: 120px;           /* 不要太宽，更贴近文字 */
  max-width: 160px;
  padding: 14px 0 6px;
  border-top: none;
  z-index: 5;
  text-align: center;
}
.nav-item-sub.has-sub .sub-nav a {
  display: block;
  padding: 9px 16px;          /* 适中高度 */
  white-space: nowrap;
  border-radius: 0;
  font-size: 14px;
}
.nav-item-sub.has-sub .sub-nav a:hover {
  background: #EEEEEE;        /* 略带蓝色高亮，与主导航风格一致 */
  color: #1f6bff;
}
.nav-item-sub.has-sub:hover .sub-nav {
  display: block;
}

