/* 山水易图官网公共样式 - 2026-08-14 */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: #334155;
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: #3b82f6; text-decoration: none; }
a:hover { color: #2563eb; }
img { max-width: 100%; }

/* 顶部导航 */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e2e8f0;
}
.header-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 20px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: #1e3a5f; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: #475569; font-size: 15px; }
.nav a:hover { color: #3b82f6; }
.nav .btn-dl { background: #3b82f6; color: #fff; padding: 8px 20px; border-radius: 20px; font-weight: 600; }
.nav .btn-dl:hover { background: #2563eb; color: #fff; }

/* 移动端导航 */
.nav-toggle { display: none; }
@media (max-width: 820px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 20px; gap: 14px; border-bottom: 1px solid #e2e8f0; }
  .nav.open { display: flex; }
  .nav-toggle { display: block; background: none; border: none; font-size: 22px; color: #1e3a5f; cursor: pointer; }
}

/* 首页 Hero */
.hero {
  background: linear-gradient(160deg, #eff6ff 0%, #f7fbfa 55%, #ffffff 100%);
  padding: 72px 20px 60px;
}
.hero-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 40px; line-height: 1.3; color: #1e3a5f; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: #3b82f6; }
.hero .sub { font-size: 17px; color: #64748b; margin-bottom: 26px; }
.hero .points { list-style: none; margin-bottom: 30px; }
.hero .points li { padding: 6px 0 6px 28px; position: relative; color: #475569; font-size: 15px; }
.hero .points li::before { content: "✓"; position: absolute; left: 0; color: #3b82f6; font-weight: 700; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 26px; font-size: 15px; font-weight: 600;
  border: none; cursor: pointer; text-decoration: none;
}
.btn-primary { background: #3b82f6; color: #fff; }
.btn-primary:hover { background: #2563eb; color: #fff; }
.btn-outline { background: #fff; color: #3b82f6; border: 1.5px solid #3b82f6; }
.btn-outline:hover { background: #eff6ff; color: #2563eb; }
.btn-lg { padding: 14px 36px; font-size: 16px; }
.hero-visual {
  background: #fff; border-radius: 18px; padding: 28px;
  box-shadow: 0 12px 40px rgba(15,76,64,.10);
  border: 1px solid #e2e8f0;
}
.hero-visual .v-title { font-size: 15px; font-weight: 700; color: #1e3a5f; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.hero-visual .v-img { border-radius: 12px; overflow: hidden; border: 1px solid #e2e8f0; margin-bottom: 12px; }
.hero-visual .v-img img { display: block; width: 100%; }
.hero-visual .v-cap { font-size: 13px; color: #94a3b8; text-align: center; }

/* 通用区块 */
.section { padding: 64px 20px; }
.section-alt { background: #f0f7ff; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { font-size: 30px; color: #1e3a5f; margin-bottom: 10px; }
.section-head p { color: #64748b; font-size: 15px; }

/* 功能六宫格 */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 26px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 8px 28px rgba(15,76,64,.10); transform: translateY(-2px); }
.card .icon { font-size: 30px; margin-bottom: 12px; }
.card h3 { font-size: 17px; color: #1e3a5f; margin-bottom: 8px; }
.card p { font-size: 14px; color: #64748b; }

/* 步骤 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 22px 18px; position: relative; text-align: center; }
.step .num { width: 34px; height: 34px; border-radius: 50%; background: #3b82f6; color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 15px; }
.step h4 { font-size: 15px; color: #1e3a5f; margin-bottom: 6px; }
.step p { font-size: 13px; color: #64748b; }

/* FAQ */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; margin-bottom: 12px; padding: 18px 22px; }
.faq-item h3 { font-size: 16px; color: #1e3a5f; cursor: pointer; }
.faq-item .a { margin-top: 10px; font-size: 14px; color: #64748b; }
.faq-item .a.hidden { display: none; }

/* 价格表 */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price-card { background: #fff; border: 1.5px solid #e2e8f0; border-radius: 16px; padding: 30px 26px; text-align: center; }
.price-card.hot { border-color: #3b82f6; box-shadow: 0 10px 34px rgba(23,138,117,.14); position: relative; }
.price-card .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: #3b82f6; color: #fff; font-size: 12px; padding: 4px 14px; border-radius: 12px; }
.price-card h3 { font-size: 18px; color: #1e3a5f; margin-bottom: 6px; }
.price-card .use { font-size: 13px; color: #94a3b8; margin-bottom: 14px; }
.price-card .price { font-size: 32px; font-weight: 800; color: #3b82f6; margin-bottom: 4px; }
.price-card .price small { font-size: 14px; font-weight: 400; color: #94a3b8; }
.price-card ul { list-style: none; text-align: left; margin: 16px 0 22px; }
.price-card ul li { padding: 5px 0 5px 22px; position: relative; font-size: 14px; color: #475569; }
.price-card ul li::before { content: "✓"; position: absolute; left: 0; color: #3b82f6; font-weight: 700; }

/* CTA 下载区 */
.cta {
  background: linear-gradient(135deg, #1e3a5f 0%, #3b82f6 100%);
  padding: 60px 20px; text-align: center; color: #fff;
}
.cta h2 { font-size: 30px; margin-bottom: 12px; }
.cta p { opacity: .85; margin-bottom: 28px; }
.cta .btn-primary { background: #fff; color: #1e3a5f; }
.cta .btn-primary:hover { background: #eff6ff; color: #2563eb; }
.cta .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.cta .btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }

/* 页脚 */
.footer { background: #10233f; color: #9fb3c8; padding: 44px 20px 30px; font-size: 13px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.footer h4 { color: #dbe7f5; font-size: 14px; margin-bottom: 12px; }
.footer a { color: #9fb3c8; display: block; margin-bottom: 8px; }
.footer a:hover { color: #fff; }
.footer .bottom { max-width: 1100px; margin: 30px auto 0; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; text-align: center; }
.footer .bottom a { display: inline; margin: 0 6px; }

/* 文章页 */
.article-body { max-width: 780px; margin: 0 auto; padding: 48px 20px 70px; }
.article-body h1 { font-size: 30px; color: #1e3a5f; line-height: 1.4; margin-bottom: 10px; }
.article-body .meta { color: #94a3b8; font-size: 13px; margin-bottom: 30px; }
.article-body h2 { font-size: 21px; color: #1e3a5f; margin: 34px 0 12px; }
.article-body h3 { font-size: 17px; color: #1e3a5f; margin: 26px 0 10px; }
.article-body p { margin-bottom: 16px; font-size: 15px; }
.article-body ul, .article-body ol { margin: 0 0 16px 22px; font-size: 15px; }
.article-body li { margin-bottom: 6px; }
.article-body .tip { background: #eff6ff; border-left: 4px solid #3b82f6; padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 18px 0; font-size: 14px; color: #3d6a9e; }
.article-end { margin-top: 40px; background: #f0f7ff; border-radius: 12px; padding: 22px; text-align: center; }
.article-end p { margin-bottom: 12px; color: #475569; }

/* 内页通用头 */
.page-hero { background: linear-gradient(160deg, #eff6ff, #ffffff); padding: 52px 20px 40px; text-align: center; }
.page-hero h1 { font-size: 32px; color: #1e3a5f; margin-bottom: 8px; }
.page-hero p { color: #64748b; max-width: 640px; margin: 0 auto; }

/* 表格 */
.tbl { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.tbl th, .tbl td { border: 1px solid #e2e8f0; padding: 10px 14px; text-align: left; }
.tbl th { background: #eff6ff; color: #1e3a5f; }

/* 响应式 */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
