/* AI净 · 全站公共样式（导航、页脚、首页营销区、内页正文） */

.site-global-header {
  flex-shrink: 0;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px 10px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px 20px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-global-header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #0c0c0c;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.site-global-header .brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
}

.site-main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
  flex: 1 1 240px;
  min-width: 0;
}

.site-global-header .site-main-nav {
  justify-content: flex-end;
}

.site-main-nav a {
  display: inline-block;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 400;
  color: #3d454d;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.site-main-nav a:hover {
  color: #1a5c52;
  background: rgba(58, 168, 151, 0.1);
}

.top-nav-wkonly {
  display: none;
  font-size: 13px;
  font-weight: 400;
  margin-left: 8px;
}

.top-nav-wkonly a {
  color: #3aa897;
  text-decoration: none;
  margin-right: 12px;
}

.top-nav-wkonly a:hover {
  text-decoration: underline;
}

/* 首页：显示主导航；工作台：隐藏主导航，显示帮助链接 */
.wrap:has(#stageWork:not([hidden])) .site-main-nav {
  display: none !important;
}

.wrap:has(#stageWork:not([hidden])) .top-nav-wkonly {
  display: inline-flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 0;
}

/* 首页内 .top-nav 与全站 header 融合 */
.wrap .top-nav.site-header-tool {
  height: auto;
  min-height: 56px;
  margin-bottom: 12px;
  padding: 0 4px;
  flex-wrap: wrap;
}

.wrap .top-nav.site-header-tool .top-nav-inner {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.wrap:has(#stageHome:not([hidden])) .top-nav.site-header-tool .top-nav-slogan {
  width: 100%;
  flex: none;
  max-width: 100%;
  margin-top: 2px;
  font-size: 13px;
}

.wrap:has(#stageWork:not([hidden])) .top-nav.site-header-tool .top-nav-slogan {
  flex: 1 1 160px;
  width: auto;
  margin-top: 0;
}

.wrap:has(#stageWork:not([hidden])) .top-nav.site-header-tool {
  min-height: 40px;
  margin-bottom: 6px;
}

/* —— 首页营销区块 —— */
.home-landing {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 16px 48px;
  box-sizing: border-box;
}

.home-landing-section {
  margin-top: 36px;
  padding: 22px 22px 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
}

.home-landing-section h2 {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 600;
  color: #0c0c0c;
  letter-spacing: 0.02em;
}

.home-landing-section p,
.home-landing-section li {
  font-size: 14px;
  font-weight: 400;
  color: #3d454d;
  line-height: 1.65;
  margin: 0 0 10px;
}

.home-landing-section ul {
  margin: 0 0 8px;
  padding-left: 1.2em;
}

.home-landing-section li {
  margin-bottom: 6px;
}

.home-landing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.home-landing-card {
  padding: 14px 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 13px;
  line-height: 1.55;
  color: #454d55;
}

.home-landing-card strong {
  display: block;
  font-size: 14px;
  color: #0c0c0c;
  margin-bottom: 6px;
  font-weight: 600;
}

.home-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.home-steps li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 12px;
  min-height: 28px;
}

.home-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(58, 168, 151, 0.15);
  color: #1a5c52;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-faq-mini details {
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.65);
}

.home-faq-mini summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #222;
}

.home-faq-mini p {
  margin: 10px 0 0;
  font-size: 13px;
  color: #555;
}

.home-faq-mini a {
  color: #1a6b5f;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.home-faq-mini a:hover {
  color: #0d4a42;
}

.home-faq-more {
  margin-top: 14px;
  margin-bottom: 0;
}

.home-faq-more a {
  font-size: 14px;
  color: #1a6b5f;
  text-decoration: none;
  border-bottom: 1px solid rgba(58, 168, 151, 0.35);
}

.home-faq-more a:hover {
  color: #0d4a42;
}

.home-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 10px;
}

@media (max-width: 640px) {
  .home-compare {
    grid-template-columns: 1fr;
  }
}

.home-compare-col {
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: #454d55;
}

.home-compare-col.before {
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.12);
}

.home-compare-col.after {
  background: rgba(58, 168, 151, 0.1);
  border: 1px solid rgba(58, 168, 151, 0.2);
}

.home-compare-col .label {
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  color: #333;
}

.home-guide-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 12px;
}

.home-guide-links a {
  font-size: 13px;
  color: #1a6b5f;
  text-decoration: none;
  border-bottom: 1px solid rgba(58, 168, 151, 0.35);
}

.home-guide-links a:hover {
  color: #0d4a42;
}

/* —— 全站页脚（首页 + 工作台） —— */
.site-footer.site-footer-full {
  text-align: left;
  padding: 24px 16px 20px;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.site-footer-full .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px 24px;
  margin-bottom: 20px;
}

.site-footer-full .footer-col-title {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.site-footer-full .footer-col a {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
  border-bottom: none;
  color: #4b5563;
}

.site-footer-full .footer-col a:hover {
  color: var(--accent-strong, #3aa897);
}

.site-footer-full .footer-bottom {
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 12px;
  color: #6b7280;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  justify-content: space-between;
}

.site-footer-full .footer-bottom a {
  border-bottom: none;
  color: #6b7280;
}

.site-footer-full .footer-bottom a:hover {
  color: #3aa897;
}

/* —— 独立内页（关于、协议等） —— */
body.site-body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #0c0c0c;
  background:
    radial-gradient(ellipse 110% 90% at 12% 8%, rgba(190, 235, 215, 0.42), transparent 54%),
    radial-gradient(ellipse 100% 85% at 88% 12%, rgba(200, 230, 255, 0.32), transparent 58%),
    linear-gradient(168deg, #eef9f4 0%, #e9f3fb 45%, #f4eef9 100%);
}

.site-body .site-global-header {
  max-width: none;
  width: 100%;
}

.site-main {
  flex: 1;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 28px 20px 48px;
  box-sizing: border-box;
}

.article-prose h1 {
  font-size: 1.55rem;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.article-prose .lead {
  font-size: 15px;
  color: #4b5563;
  margin: 0 0 22px;
}

.article-prose h2 {
  font-size: 1.12rem;
  font-weight: 600;
  margin: 26px 0 10px;
  color: #111827;
}

.article-prose p,
.article-prose li {
  margin: 0 0 12px;
  color: #374151;
}

.article-prose ul {
  padding-left: 1.25em;
  margin: 0 0 14px;
}

.article-prose .panel {
  padding: 16px 18px;
  margin: 18px 0;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
}

.cta-bar {
  margin-top: 28px;
  padding: 18px 20px;
  background: rgba(58, 168, 151, 0.12);
  border: 1px solid rgba(58, 168, 151, 0.22);
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: space-between;
}

.cta-bar p {
  margin: 0;
  font-size: 14px;
  color: #1f2937;
}

.cta-bar .btn {
  display: inline-block;
  padding: 10px 18px;
  background: #3aa897;
  color: #fff !important;
  text-decoration: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  border: none;
}

.cta-bar .btn:hover {
  background: #2f8f81;
}

.site-body .site-global-footer {
  flex-shrink: 0;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px 28px;
  box-sizing: border-box;
}

.site-body .site-global-footer .site-footer-full {
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

/* 首页 stage-home 纵向布局由 index.html 内联样式控制（flex:none 防止页脚与长内容重叠） */
