/* ═══════════════════════════════════════════
   Google Chrome 下载站 — 全局样式表
   域名：chrome-google-com.com.cn
   ═══════════════════════════════════════════ */

/* ── 基础重置 ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  color: #202124;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  display: block;
  max-width: 100%;
}
a {
  color: #1a73e8;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button {
  font-family: inherit;
  cursor: pointer;
}
ul, ol {
  list-style: none;
}

/* ── 工具类 ── */
.container {
  width: 92%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
.text-center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* ── 导航栏 ── */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid #dadce0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: #202124;
}
.nav-logo svg {
  width: 28px; height: 28px;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #5f6368;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover {
  background: #f1f3f4;
  color: #202124;
  text-decoration: none;
}
.nav-links a.active {
  background: #e8f0fe;
  color: #1a73e8;
  font-weight: 600;
}

/* ── 按钮 ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  border: 0;
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}
.btn:active {
  transform: translateY(0);
}
.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.btn-primary {
  background: #1a73e8;
  color: #fff;
  box-shadow: 0 2px 8px rgba(26,115,232,0.25);
}
.btn-primary:hover {
  background: #1557b0;
  box-shadow: 0 4px 12px rgba(26,115,232,0.35);
}
.btn-secondary {
  background: #fff;
  color: #1a73e8;
  border: 1px solid #dadce0;
}
.btn-secondary:hover {
  background: #f8f9fa;
  border-color: #1a73e8;
}
.btn-ghost {
  background: transparent;
  color: #1a73e8;
  border: 1px solid #1a73e8;
}
.btn-ghost:hover {
  background: #e8f0fe;
}
.btn-lg {
  padding: 14px 36px;
  font-size: 1.1rem;
  border-radius: 10px;
}
.btn-sm {
  padding: 8px 18px;
  font-size: 0.9rem;
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  background: #e8f0fe;
  color: #1a73e8;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  color: #202124;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.hero h1 span {
  color: #1a73e8;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: #5f6368;
  max-width: 520px;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  font-size: 0.85rem;
  color: #80868b;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-illustration img,
.hero-illustration svg {
  max-height: 360px;
  width: auto;
}

/* ── 板块标题 ── */
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-head h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #202124;
  margin-bottom: 10px;
}
.section-head p {
  font-size: 1.05rem;
  color: #5f6368;
  max-width: 640px;
  margin: 0 auto;
}

/* ── 特性卡片 ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 28px 24px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e8eaed;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.feature-card:hover {
  box-shadow: 0 10px 40px rgba(32,33,36,0.08);
  border-color: #dadce0;
  transform: translateY(-2px);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg {
  width: 26px; height: 26px;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #202124;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.95rem;
  color: #5f6368;
  line-height: 1.7;
}

/* ── 平台下载入口 ── */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.platform-card {
  padding: 28px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e8eaed;
  text-align: center;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.platform-card:hover {
  box-shadow: 0 10px 40px rgba(32,33,36,0.08);
  border-color: #dadce0;
}
.platform-card .platform-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #f1f3f4;
}
.platform-card .platform-icon svg {
  width: 30px; height: 30px;
}
.platform-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #202124;
  margin-bottom: 8px;
}
.platform-card p {
  font-size: 0.88rem;
  color: #5f6368;
  margin-bottom: 16px;
  line-height: 1.6;
}

/* ── 大段落介绍区 ── */
.detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 50px 0;
}
.detail-block:nth-child(even) {
  direction: rtl;
}
.detail-block:nth-child(even) > * {
  direction: ltr;
}
.detail-block .detail-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #202124;
  margin-bottom: 12px;
}
.detail-block .detail-text p {
  font-size: 1rem;
  color: #5f6368;
  margin-bottom: 12px;
  line-height: 1.8;
}
.detail-block .detail-text ul {
  list-style: disc;
  padding-left: 22px;
  color: #5f6368;
}
.detail-block .detail-text ul li {
  margin-bottom: 8px;
  line-height: 1.7;
}
.detail-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #f8f9fa;
  padding: 40px;
  min-height: 280px;
}
.detail-visual svg {
  max-height: 220px;
  width: auto;
}

/* ── 评价区 ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  padding: 24px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e8eaed;
}
.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
}
.review-stars svg {
  width: 18px; height: 18px;
}
.review-card p {
  font-size: 0.95rem;
  color: #3c4043;
  line-height: 1.75;
  margin-bottom: 14px;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #e8f0fe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #1a73e8;
}
.review-author strong {
  font-size: 0.9rem;
  color: #202124;
}
.review-author span {
  font-size: 0.8rem;
  color: #80868b;
}

/* ── 数据统计 ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e8eaed;
}
.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: #1a73e8;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.95rem;
  color: #5f6368;
  font-weight: 500;
}

/* ── 对比表格 ── */
.compare-table-wrap {
  overflow-x: auto;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8eaed;
}
.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #e8eaed;
}
.compare-table thead th {
  background: #f8f9fa;
  font-weight: 600;
  color: #202124;
}
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}
.compare-table td:nth-child(2),
.compare-table th:nth-child(2) {
  color: #1a73e8;
  font-weight: 600;
  background: #f8fbff;
}
.check-yes { color: #34a853; font-weight: 600; }
.check-no { color: #ea4335; }

/* ── FAQ ── */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid #e8eaed;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 4px;
  background: none;
  border: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #202124;
  cursor: pointer;
  text-align: left;
}
.faq-question svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  transition: transform 0.25s;
  color: #5f6368;
}
.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}
.faq-answer p,
.faq-answer ul,
.faq-answer ol {
  color: #5f6368;
  line-height: 1.8;
  font-size: 0.95rem;
}
.faq-answer ul,
.faq-answer ol {
  padding-left: 22px;
}
.faq-answer ul li,
.faq-answer ol li {
  margin-bottom: 6px;
}

/* ── 页脚 ── */
.site-footer {
  background: #f8f9fa;
  border-top: 1px solid #e8eaed;
  padding: 40px 0 30px;
  margin-top: 60px;
}
.footer-inner {
  text-align: center;
}
.footer-inner p {
  font-size: 0.9rem;
  color: #5f6368;
  line-height: 1.8;
}
.footer-seal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px 18px;
  border-radius: 20px;
  background: #e6f4ea;
  color: #34a853;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ── 下载页专属 ── */
.download-hero {
  padding: 70px 0 90px;
  background: linear-gradient(180deg, #e8f0fe 0%, #ffffff 100%);
}
.download-hero-inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.download-hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  color: #202124;
  margin-bottom: 14px;
}
.download-hero > .download-hero-inner > p {
  font-size: 1.1rem;
  color: #5f6368;
  margin-bottom: 30px;
}
.download-meta {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 18px;
  font-size: 0.85rem;
  color: #80868b;
}
.download-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dl-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.dl-card {
  padding: 28px 24px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e8eaed;
}
.dl-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #202124;
  margin-bottom: 6px;
}
.dl-card .version {
  font-size: 0.8rem;
  color: #80868b;
  margin-bottom: 12px;
}
.dl-card .dl-info {
  font-size: 0.88rem;
  color: #5f6368;
  line-height: 1.7;
  margin-bottom: 16px;
}
.dl-card .dl-info strong {
  color: #202124;
}
.dl-card .dl-steps {
  font-size: 0.85rem;
  color: #5f6368;
  line-height: 1.7;
  margin-bottom: 16px;
  padding-left: 18px;
  list-style: decimal;
}
.dl-card .dl-steps li {
  margin-bottom: 6px;
}

/* 安装指南 */
.guide-section h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #202124;
  margin-bottom: 20px;
}
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.step-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
}
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #e8f0fe;
  color: #1a73e8;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #202124;
  margin-bottom: 6px;
}
.step-body p {
  font-size: 0.95rem;
  color: #5f6368;
  line-height: 1.7;
}

/* 系统要求 */
.sys-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8eaed;
}
.sys-table th,
.sys-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #e8eaed;
}
.sys-table thead th {
  background: #f8f9fa;
  font-weight: 600;
  color: #202124;
}
.sys-table tbody tr:last-child td {
  border-bottom: 0;
}

/* 版本日志 */
.changelog-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.changelog-item {
  padding: 22px 24px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e8eaed;
}
.changelog-item .version-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.changelog-item .version-head h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #202124;
}
.changelog-item .version-head time {
  font-size: 0.85rem;
  color: #80868b;
}
.changelog-item ul {
  padding-left: 20px;
  list-style: disc;
}
.changelog-item ul li {
  font-size: 0.95rem;
  color: #5f6368;
  line-height: 1.7;
  margin-bottom: 4px;
}

/* 安全说明 */
.security-box {
  padding: 28px 28px;
  border-radius: 14px;
  background: #e6f4ea;
  border: 1px solid #b7e1c8;
}
.security-box h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e8e3e;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.security-box p {
  font-size: 0.95rem;
  color: #3c4043;
  line-height: 1.8;
}

/* ── 中文 SEO 页 ── */
.seo-article {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 0;
}
.seo-article h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #202124;
  margin: 40px 0 14px;
}
.seo-article h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #202124;
  margin: 28px 0 10px;
}
.seo-article p {
  font-size: 1rem;
  color: #3c4043;
  line-height: 1.9;
  margin-bottom: 14px;
}
.seo-article ul,
.seo-article ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.seo-article ul li,
.seo-article ol li {
  font-size: 1rem;
  color: #3c4043;
  line-height: 1.9;
  margin-bottom: 8px;
}
.seo-cta-box {
  text-align: center;
  padding: 40px 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, #e8f0fe 0%, #f8f9fa 100%);
  border: 1px solid #dadce0;
  margin: 40px 0;
}
.seo-cta-box h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #202124;
  margin-bottom: 10px;
}
.seo-cta-box p {
  font-size: 1rem;
  color: #5f6368;
  margin-bottom: 20px;
}

/* ── 通用板块间距 ── */
.section {
  padding: 70px 0;
}
.section-alt {
  background: #f8f9fa;
}

/* ── spin 动画（下载按钮 loading 必需） ── */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── 响应式 ── */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 2.2rem; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-meta { justify-content: center; }
  .hero-illustration { order: -1; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-block { grid-template-columns: 1fr; gap: 30px; }
  .detail-block:nth-child(even) { direction: ltr; }
  .dl-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 1.8rem; }
  .features-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .dl-cards { grid-template-columns: 1fr; }
  .nav-links a { padding: 6px 10px; font-size: 0.88rem; }
  .section { padding: 50px 0; }
  .section-head h2 { font-size: 1.6rem; }
}
