/* ===== 全局 Reset 与变量 ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg-dark: #0A0A0A;
  --bg-light: #ffffff;
  --text-light: #ffffff;
  --text-dark: #1a1a1a;
  --accent: #00b4ff;
  --pink: #FFB0B0;
  --purple: #DA90FC;
  --indigo: #7B8AE8;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --font-main: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;
  --section-pad: 12rem;
  --container: 1280px;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }

/* ===== 容器 ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== 导航栏 ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.3s ease;
}
.navbar.scrolled {
  background: rgba(10, 10, 10, 0.8);
}
.navbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.navbar-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: -0.02em;
}
.navbar-brand span { color: var(--purple); }
.navbar-links {
  display: flex;
  gap: 2.5rem;
}
.navbar-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.navbar-links a:hover,
.navbar-links a.active {
  color: var(--text-light);
}
.navbar-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0; right: 0;
  height: 2px;
  background: var(--purple);
  border-radius: 1px;
}

/* ===== 液态玻璃面板 ===== */
.glass-panel {
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
}

/* ===== CHROME_LUSTRE 按钮效果 ===== */
.chrome-btn-wrapper {
  display: inline-block;
  padding: 2px;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--purple), var(--indigo));
}
.chrome-btn {
  --mx: 0.5;
  --my: 0.5;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  border-radius: calc(1rem - 2px);
  background:
    linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.8) 45%, rgba(255,255,255,0.4) 50%, transparent 55%),
    linear-gradient(135deg, var(--purple), var(--indigo));
  background-position: calc(var(--mx) * 100%) calc(var(--my) * 100%), 0 0;
  background-size: 200% 200%, 100% 100%;
  background-repeat: no-repeat;
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.chrome-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(218, 144, 252, 0.3);
}

/* ===== 下载按钮 ===== */
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--purple), var(--indigo));
  transition: transform 0.2s, box-shadow 0.2s;
}
.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(218, 144, 252, 0.3);
}
.download-btn .spinner {
  display: none;
  width: 18px;
  height: 18px;
  animation: spin 1s linear infinite;
}
.download-btn.loading .spinner { display: inline-block; }
.download-btn.loading .btn-text { display: none; }

/* ===== 通用按钮 ===== */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-light);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.05);
  transition: all 0.2s;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
}

/* ===== spin 动画 ===== */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3rem 0;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}
.footer-inner p {
  color: rgba(255,255,255,0.4);
  font-size: 0.8125rem;
  line-height: 1.8;
}

/* ===== FAQ 折叠面板 ===== */
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  text-align: left;
}
.faq-question svg {
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
}
.faq-answer-inner {
  padding: 0 0 1.25rem;
  color: rgba(0,0,0,0.6);
  font-size: 0.9375rem;
  line-height: 1.8;
}

/* ===== 文章正文排版 ===== */
.article-body h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 2.5rem 0 1rem;
}
.article-body h3 {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 2rem 0 0.75rem;
}
.article-body p {
  color: rgba(0,0,0,0.7);
  margin-bottom: 1rem;
  line-height: 1.9;
}
.article-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: rgba(0,0,0,0.7);
}
.article-body ul li { margin-bottom: 0.5rem; }
.article-body img {
  border-radius: 1rem;
  margin: 1.5rem 0;
}

/* ===== 新闻卡片 ===== */
.news-card {
  display: flex;
  flex-direction: column;
  border-radius: 1.5rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.news-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.news-card-excerpt {
  font-size: 0.875rem;
  color: rgba(0,0,0,0.55);
  line-height: 1.7;
  flex: 1;
}
.news-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: rgba(0,0,0,0.4);
}

/* ===== 功能卡片 ===== */
.feature-card {
  padding: 2.5rem;
  border-radius: 1.5rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px) rotateX(2deg) rotateY(-2deg);
  box-shadow: 0 24px 64px rgba(0,0,0,0.1);
}
.feature-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(0,180,255,0.08);
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.feature-card p {
  font-size: 0.9375rem;
  color: rgba(0,0,0,0.6);
  line-height: 1.7;
}

/* ===== 下载平台卡片 ===== */
.platform-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s;
}
.platform-card:hover {
  border-color: var(--purple);
  box-shadow: 0 8px 32px rgba(218,144,252,0.1);
}
.platform-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(0,180,255,0.06);
  color: var(--accent);
  flex-shrink: 0;
}
.platform-info { flex: 1; }
.platform-info h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.platform-info p {
  font-size: 0.8125rem;
  color: rgba(0,0,0,0.5);
}

/* ===== 评价卡片 ===== */
.review-card {
  padding: 2rem;
  border-radius: 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
}
.review-card-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.review-card-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.review-card-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--indigo));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}
.review-card-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-light);
}
.review-card-role {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

/* ===== 标签 ===== */
.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 0.375rem;
  background: rgba(0,180,255,0.08);
  color: var(--accent);
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  :root { --section-pad: 6rem; }
  .container { padding: 0 1rem; }
  .navbar-inner { padding: 0 1rem; }
  .navbar-links { gap: 1.25rem; }
  .navbar-links a { font-size: 0.8125rem; }
  .chrome-btn { padding: 0.875rem 1.75rem; font-size: 0.9375rem; }
  .feature-card { padding: 1.75rem; }
  .platform-card { flex-direction: column; align-items: flex-start; }
}
