/* ========== 第1套：企业蓝风格 - 专业稳重 ========== */
:root {
  --primary: #1565c0;
  --primary-dark: #0d47a1;
  --primary-light: #42a5f5;
  --secondary: #ff8f00;
  --bg: #f5f7fa;
  --surface: #ffffff;
  --text: #263238;
  --text-light: #546e7a;
  --border: #e0e6ed;
  --shadow: 0 2px 12px rgba(21,101,192,0.12);
  --radius: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* 导航栏 - 顶部固定白色 */
header {
  background: var(--surface);
  border-bottom: 2px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.25s ease;
}

.nav-links a:hover {
  color: var(--primary);
  background: rgba(21,101,192,0.06);
}

.nav-links a.active {
  color: var(--primary);
  background: rgba(21,101,192,0.1);
  font-weight: 600;
}

/* Hero 区域 */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: #fff;
  padding: 80px 24px;
  text-align: center;
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.hero p {
  font-size: 18px;
  opacity: 0.92;
  max-width: 640px;
  margin: 0 auto 32px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--secondary);
  color: #fff;
  padding: 16px 40px;
  border-radius: var(--radius);
  font-size: 18px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255,143,0,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,143,0,0.45);
}

/* 内容区域 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 48px;
}

/* 特性卡片 - 网格布局 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s, transform 0.25s;
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(21,101,192,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
}

/* 下载平台区域 */
.download-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.platform-card {
  text-align: center;
  padding: 32px 24px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.platform-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.platform-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-icon svg {
  width: 40px;
  height: 40px;
  color: var(--primary);
}

.platform-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.platform-card p {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 16px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.25s;
}

.download-btn:hover {
  background: var(--primary-dark);
}

/* 功能详细介绍 */
.detail-section .detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.detail-section .detail-block:nth-child(even) {
  direction: rtl;
}

.detail-section .detail-block:nth-child(even) > * {
  direction: ltr;
}

.detail-block h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.detail-block p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.detail-visual {
  background: linear-gradient(135deg, rgba(21,101,192,0.06), rgba(66,165,245,0.1));
  border-radius: var(--radius);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-visual svg {
  width: 120px;
  height: 120px;
  color: var(--primary-light);
}

/* 用户评价 */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

.review-meta h4 {
  font-size: 16px;
  font-weight: 700;
}

.stars {
  display: flex;
  gap: 3px;
  margin-top: 4px;
}

.stars svg {
  width: 16px;
  height: 16px;
  color: var(--secondary);
}

.review-card p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
}

/* 数据统计 */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat-item .stat-number {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-size: 15px;
  opacity: 0.85;
}

/* 对比表格 */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.compare-table th {
  background: var(--primary);
  color: #fff;
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
}

.compare-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table .check {
  color: #2e7d32;
  font-weight: 700;
}

.compare-table .cross {
  color: #c62828;
}

/* FAQ 手风琴 */
.faq-item {
  background: var(--surface);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.faq-question:hover {
  background: rgba(21,101,192,0.04);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  transition: transform 0.3s;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.8;
}

/* 页脚 */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 32px 24px;
  text-align: center;
  font-size: 14px;
}

footer p {
  margin-bottom: 6px;
}

/* ===== download.html 专用样式 ===== */
.dl-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 60px 24px;
}

.dl-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.dl-hero h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.dl-hero p {
  opacity: 0.9;
  margin-bottom: 24px;
}

.dl-big-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--secondary);
  color: #fff;
  padding: 18px 48px;
  border-radius: var(--radius);
  font-size: 20px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255,143,0,0.35);
}

.dl-meta {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  font-size: 13px;
  opacity: 0.8;
}

.dl-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dl-visual svg {
  width: 180px;
  height: 180px;
  color: rgba(255,255,255,0.2);
}

.install-steps {
  counter-reset: step;
}

.step-item {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 16px;
}

.step-content h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-content p {
  color: var(--text-light);
  font-size: 14px;
}

.sys-req-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.sys-req-table th, .sys-req-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.sys-req-table th {
  background: var(--bg);
  font-weight: 600;
}

.changelog-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.changelog-item:last-child {
  border-bottom: none;
}

.changelog-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.changelog-version {
  background: var(--primary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
}

.changelog-date {
  color: var(--text-light);
  font-size: 14px;
}

.changelog-item ul {
  margin-left: 20px;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.8;
}

/* ===== zh-cn.html 专用样式 ===== */
.soft-article {
  max-width: 900px;
  margin: 0 auto;
}

.soft-article h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 40px 0 20px;
  color: var(--primary-dark);
}

.soft-article h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--primary);
}

.soft-article p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 16px;
}

.cta-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  margin: 48px 0;
}

.cta-box h3 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 16px;
}

.cta-box p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--secondary);
  color: #fff;
  padding: 16px 40px;
  border-radius: var(--radius);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(255,143,0,0.35);
  transition: transform 0.2s;
}

.cta-btn:hover {
  transform: translateY(-2px);
}

/* 响应式 */
@media (max-width: 768px) {
  .hero h1 { font-size: 28px; }
  .detail-section .detail-block { grid-template-columns: 1fr; gap: 24px; }
  .detail-section .detail-block:nth-child(even) { direction: ltr; }
  .dl-hero-inner { grid-template-columns: 1fr; }
  .dl-visual { display: none; }
  nav { flex-wrap: wrap; height: auto; padding: 12px 16px; }
  .nav-links { gap: 4px; }
  .nav-links a { padding: 8px 12px; font-size: 13px; }
}
