/* ========== 基础重置 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2c3e50;
  background: #f7f9fc;
}
a { color: #1a73e8; text-decoration: none; transition: color .2s; }
a:hover { color: #0b57d0; text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: #1a2a44; line-height: 1.35; }
h1 { font-size: 32px; margin-bottom: 18px; }
h2 { font-size: 24px; margin: 28px 0 14px; }
h3 { font-size: 20px; margin: 20px 0 12px; }
p { margin-bottom: 14px; }

/* ========== 顶部下载条（首屏直接看到下载按钮） ========== */
.top-download-bar {
  background: #ff7a00;
  color: #fff;
  padding: 14px 0;
  text-align: center;
  font-size: 15px;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.top-download-bar strong { color: #fff; margin-right: 10px; }
.top-download-bar a {
  display: inline-block;
  background: #fff;
  color: #ff7a00 !important;
  padding: 8px 22px;
  border-radius: 20px;
  font-weight: 700;
  margin: 0 6px;
  text-decoration: none;
}
.top-download-bar a:hover { background: #fff7e6; }

/* ========== 顶部导航 ========== */
.site-header {
  background: linear-gradient(135deg, #1a73e8, #0b57d0);
  color: #fff;
  padding: 12px 0;
  position: relative;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo img { width: 32px; height: 32px; border-radius: 6px; }
.nav-links a {
  color: #fff;
  margin-left: 24px;
  font-weight: 500;
  opacity: .9;
}
.nav-links a:hover { opacity: 1; text-decoration: underline; }

/* ========== 大横幅 Hero ========== */
.hero {
  background: linear-gradient(135deg, #1a73e8 0%, #4cb8ff 100%);
  color: #fff;
  padding: 70px 0 60px;
  text-align: center;
}
.hero h1 { color: #fff; font-size: 38px; margin-bottom: 16px; }
.hero p { font-size: 18px; opacity: .95; max-width: 720px; margin: 0 auto 28px; }
.btn {
  display: inline-block;
  background: #ff7a00;
  color: #fff !important;
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 17px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  transition: transform .2s, box-shadow .2s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.22);
  text-decoration: none;
}
.btn-secondary {
  background: #fff;
  color: #1a73e8 !important;
  margin-left: 12px;
}

/* 大尺寸下载按钮（首屏下载区用） */
.btn-large {
  padding: 16px 28px;
  font-size: 17px;
  width: 100%;
  max-width: 280px;
  text-align: center;
  margin: 8px auto;
  display: inline-block;
}
.download-card {
  text-align: center;
  border: 2px solid #ff7a00;
  background: linear-gradient(135deg, #fff7e6 0%, #fff 60%);
}
.download-card h3 { font-size: 20px; color: #ff7a00; }

/* ========== H1-H2-H3-H4 语义层级样式 ========== */
h1 { font-size: 30px; font-weight: 800; color: #1a1f36; margin-bottom: 14px; }
h2 { font-size: 26px; font-weight: 700; color: #1a1f36; margin: 14px 0; border-left: 5px solid #1a73e8; padding-left: 12px; }
h3 { font-size: 19px; font-weight: 700; color: #1a73e8; margin: 12px 0 6px; }
h4 { font-size: 16px; font-weight: 600; color: #4a5a7a; margin: 10px 0 4px; padding-left: 8px; border-left: 3px solid #ff7a00; }

/* ========== 对比表格样式（竞品拦截） ========== */
.compare-table-wrap { overflow-x: auto; margin: 20px 0; }
table.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  border-radius: 8px;
  overflow: hidden;
  font-size: 14px;
}
.compare-table th {
  background: #1a73e8;
  color: #fff;
  padding: 12px 10px;
  text-align: left;
  font-weight: 600;
}
.compare-table th.row-self { background: #ff7a00; }
.compare-table td {
  padding: 11px 10px;
  border-bottom: 1px solid #eef0f5;
  vertical-align: top;
}
.compare-table tr:hover td { background: #f7faff; }
.compare-table tr.row-self td { background: #fff7e6; font-weight: 600; }
.compare-table .ok { color: #2ea44f; font-weight: 700; }
.compare-table .no { color: #d73a49; font-weight: 700; }
.compare-table .half { color: #d97706; font-weight: 700; }

/* ========== 图文评价样式 ========== */
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a73e8, #0b57d0);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}
.review-meta { flex: 1; }
.review-name { font-weight: 700; color: #1a1f36; font-size: 15px; }
.review-role { color: #8898ad; font-size: 12px; }
.review-stars { color: #ff7a00; font-size: 14px; }
.review-photo {
  width: 100%;
  border-radius: 6px;
  margin-top: 10px;
  background: #f4f7fc;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8898ad;
  font-size: 13px;
}

/* ========== 开发者工具代码块样式 ========== */
.code-block {
  background: #1a1f36;
  color: #e8eaf0;
  padding: 16px;
  border-radius: 6px;
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
  line-height: 1.7;
  overflow-x: auto;
  margin: 10px 0;
}
.code-block .comment { color: #6c8aef; }
.code-block .keyword { color: #ff7a00; }
.code-block .string { color: #2ea44f; }

/* ========== 权威背书模块样式 ========== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 20px 0;
}
.trust-item {
  background: #fff;
  border: 1px solid #eef0f5;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.trust-item .trust-icon {
  font-size: 32px;
  margin-bottom: 8px;
  display: block;
}
.trust-item .trust-num {
  font-size: 24px;
  font-weight: 800;
  color: #1a73e8;
  display: block;
}
.trust-item .trust-label {
  font-size: 13px;
  color: #6b7c93;
}

/* ========== 资讯文章卡片 ========== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 20px 0;
}
.news-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  overflow: hidden;
  transition: transform .2s;
}
.news-card:hover { transform: translateY(-4px); }
.news-card .news-cover {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, #1a73e8, #0b57d0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 36px;
  font-weight: 700;
}
.news-card .news-body { padding: 14px 16px; }
.news-card .news-date { font-size: 12px; color: #8898ad; }
.news-card .news-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1f36;
  margin: 6px 0;
  line-height: 1.5;
}
.news-card .news-excerpt {
  font-size: 13px;
  color: #6b7c93;
  line-height: 1.6;
}

/* 响应式 */
@media (max-width: 768px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
}

/* ========== 卡片网格 ========== */
.section { padding: 50px 0; }
.section h2 { text-align: center; }
.section-sub { text-align: center; color: #6b7c93; margin-bottom: 36px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 28px;
}
.card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 6px 22px rgba(0,0,0,.10); }
.card h3 { color: #1a73e8; margin-bottom: 10px; font-size: 18px; }
.card p { color: #4a5b71; font-size: 15px; }

/* ========== 资讯卡片 ========== */
.news-card { display: block; text-decoration: none; color: inherit; position: relative; padding-top: 18px; }
.news-card:hover { border-color: #1a73e8; }
.news-card .news-date { display: inline-block; font-size: 12px; color: #6b7c93; margin-bottom: 6px; }
.news-card .news-tag { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 12px; background: #fff3e6; color: #ff7a00; margin-left: 8px; font-weight: 600; }
.news-card h3 { font-size: 17px; margin: 8px 0 10px; line-height: 1.4; }
.news-card p { font-size: 14px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card::after { content: "阅读全文 →"; display: block; margin-top: 12px; color: #1a73e8; font-size: 13px; font-weight: 600; }
.cta-secondary { display: inline-block; padding: 12px 28px; border: 2px solid #1a73e8; color: #1a73e8; border-radius: 6px; text-decoration: none; font-weight: 600; transition: all .2s; }
.cta-secondary:hover { background: #1a73e8; color: #fff; }

/* ========== 截图展示 ========== */
.screenshot {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 6px 24px rgba(0,0,0,.10);
  margin: 20px 0;
  text-align: center;
}
.screenshot img { border-radius: 10px; margin: 0 auto; }

/* ========== FAQ ========== */
.faq-item {
  background: #fff;
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 12px;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
}
.faq-item h3 { color: #1a2a44; font-size: 17px; margin-bottom: 8px; }
.faq-item p { margin-bottom: 0; color: #4a5b71; }

/* ========== 底部 ========== */
.footer {
  background: #1a2a44;
  color: #c2cbd9;
  padding: 36px 0 22px;
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
}
.footer a { color: #9ab4ff; }
.footer-links { margin-bottom: 12px; }
.footer-links a { margin: 0 12px; }

/* ========== 响应式 ========== */
@media (max-width: 720px) {
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 16px; }
  .nav-links a { margin-left: 14px; font-size: 14px; }
  .btn-secondary { margin-left: 0; margin-top: 12px; display: inline-block; }
  h1 { font-size: 26px; }
  h2 { font-size: 20px; }
}