/* ===== Site 1: Professional Blue - Corporate Clean ===== */
:root {
  --primary: #1a5fb4;
  --primary-dark: #104e8b;
  --primary-light: #e8f0fe;
  --accent: #f59e0b;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e5e7eb;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --radius: 8px;
  --radius-lg: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ===== Navigation ===== */
.main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  padding: 0 2rem;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* ===== Hero Section ===== */
.hero {
  padding: 140px 2rem 80px;
  background: linear-gradient(135deg, var(--primary-light) 0%, #dbeafe 50%, var(--bg) 100%);
  text-align: center;
}
.hero-container {
  max-width: 900px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.hero h1 span { color: var(--primary); }
.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  background: var(--bg);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-light);
  border: 1px solid var(--border);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow-lg);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-primary svg { flex-shrink: 0; }

/* ===== Section Common ===== */
.section { padding: 80px 2rem; }
.section-alt { background: var(--bg-alt); }
.container { max-width: 1200px; margin: 0 auto; }
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Feature Cards ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.2s;
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  color: var(--primary);
}
.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== Download Platforms ===== */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.platform-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all 0.2s;
}
.platform-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.platform-icon { margin-bottom: 1rem; }
.platform-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.platform-card p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 1rem; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.5rem;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
  border-radius: var(--radius);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
}
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ===== Product Details ===== */
.detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}
.detail-row:last-child { margin-bottom: 0; }
.detail-row.reverse { direction: rtl; }
.detail-row.reverse > * { direction: ltr; }
.detail-content h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.detail-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1rem;
}
.detail-list {
  list-style: none;
  margin-top: 1rem;
}
.detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}
.detail-list li svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 0.2rem;
}
.detail-visual {
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

/* ===== Reviews ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.review-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
}
.review-meta h4 { font-size: 1rem; font-weight: 600; }
.review-stars { color: #f59e0b; font-size: 0.9rem; margin-top: 0.2rem; }
.review-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; }

/* ===== Stats ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-label {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* ===== Comparison Table ===== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.comparison-table th,
.comparison-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.comparison-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table td svg { vertical-align: middle; }
.check { color: #16a34a; }
.cross { color: #dc2626; }
.highlight-row { background: #eff6ff; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: var(--bg);
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--text);
}
.faq-question:hover { background: var(--bg-alt); }
.faq-question svg { transition: transform 0.2s; flex-shrink: 0; }
.faq-item.active .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== Footer ===== */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 3rem 2rem 2rem;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.footer-notice {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,0.1);
}
.footer-notice p { margin-bottom: 0.5rem; font-size: 0.9rem; }
.footer-notice p:last-child { margin-bottom: 0; }
.footer-copyright {
  font-size: 0.85rem;
  color: #64748b;
}

/* ===== Download Page Specific ===== */
.download-hero {
  padding: 140px 2rem 60px;
  background: linear-gradient(135deg, #dbeafe 0%, var(--bg-alt) 100%);
}
.download-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.download-info h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
.download-info p { color: var(--text-light); margin-bottom: 1.5rem; font-size: 1.05rem; }
.download-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.download-meta-item { text-align: center; }
.download-meta-item .value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}
.download-meta-item .label { font-size: 0.85rem; color: var(--text-light); }
.download-visual {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.platform-downloads { padding: 60px 2rem; }
.platform-dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.platform-dl-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: var(--bg);
}
.platform-dl-card h3 { margin-bottom: 0.5rem; }
.platform-dl-card .version { color: var(--text-light); font-size: 0.85rem; margin-bottom: 1rem; }
.platform-dl-card .requirements { font-size: 0.85rem; color: var(--text-light); margin-bottom: 1.5rem; }
.platform-dl-card .requirements strong { color: var(--text); }
.steps-section { padding: 60px 2rem; background: var(--bg-alt); }
.steps-list { max-width: 800px; margin: 0 auto; }
.step-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.step-content h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.step-content p { color: var(--text-light); font-size: 0.95rem; }

.sysreq-section { padding: 60px 2rem; }
.sysreq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.sysreq-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.sysreq-card h4 { margin-bottom: 1rem; color: var(--primary); }
.sysreq-card ul { list-style: none; }
.sysreq-card li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
}
.sysreq-card li:last-child { border-bottom: none; }

.changelog-section { padding: 60px 2rem; background: var(--bg-alt); }
.changelog-list { max-width: 800px; margin: 0 auto; }
.changelog-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  border-left: 3px solid var(--primary);
  margin-bottom: 1rem;
  background: var(--bg);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.changelog-version { font-weight: 700; color: var(--primary); min-width: 80px; }
.changelog-date { font-size: 0.85rem; color: var(--text-light); margin-bottom: 0.5rem; }
.changelog-item ul { margin-left: 1.2rem; color: var(--text-light); font-size: 0.9rem; }
.changelog-item li { margin-bottom: 0.3rem; }

/* ===== zh-cn Page Specific ===== */
.article-section { padding: 140px 2rem 60px; }
.article-content {
  max-width: 800px;
  margin: 0 auto;
}
.article-content h1 { font-size: 2.2rem; margin-bottom: 1.5rem; }
.article-content h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-light);
}
.article-content h3 { font-size: 1.2rem; margin: 1.5rem 0 0.75rem; }
.article-content p { margin-bottom: 1rem; color: var(--text-light); line-height: 1.8; }
.article-content ul { margin: 1rem 0 1rem 1.5rem; color: var(--text-light); }
.article-content li { margin-bottom: 0.5rem; }
.article-content strong { color: var(--text); }

.cta-section {
  padding: 60px 2rem;
  background: linear-gradient(135deg, var(--primary-light) 0%, #dbeafe 100%);
  text-align: center;
}
.cta-section h2 { font-size: 2rem; margin-bottom: 1rem; }
.cta-section p { color: var(--text-light); margin-bottom: 1.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links { gap: 1rem; }
  .hero h1 { font-size: 2rem; }
  .detail-row { grid-template-columns: 1fr; gap: 2rem; }
  .detail-row.reverse { direction: ltr; }
  .download-main { grid-template-columns: 1fr; gap: 2rem; }
  .section { padding: 60px 1.5rem; }
  .hero { padding: 120px 1.5rem 60px; }
}
