/* ===== Site 1: Modern SaaS Blue ===== */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --secondary: #f59e0b;
  --text: #1e293b;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --radius: 12px;
  --radius-lg: 16px;
  --max-width: 1200px;
  --transition: all 0.25s ease;
}

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }

/* Navigation */
header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
nav { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-size: 22px; font-weight: 800; color: var(--primary); display: flex; align-items: center; gap: 8px; }
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-light); padding: 8px 18px; border-radius: 8px; font-weight: 500; font-size: 15px; transition: var(--transition); }
.nav-links a:hover { color: var(--primary); background: var(--primary-light); }
.nav-links a.active { color: var(--primary); background: var(--primary-light); font-weight: 600; }

/* Hero */
.hero { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #bfdbfe 100%); padding: 100px 24px 80px; text-align: center; }
.hero-inner { max-width: var(--max-width); margin: 0 auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(37,99,235,0.1); color: var(--primary); padding: 8px 18px; border-radius: 50px; font-size: 14px; font-weight: 600; margin-bottom: 24px; }
.hero h1 { font-size: 52px; font-weight: 800; line-height: 1.15; margin-bottom: 20px; color: var(--text); }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 20px; color: var(--text-light); max-width: 640px; margin: 0 auto 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 10px; font-size: 16px; font-weight: 600; cursor: pointer; border: none; transition: var(--transition); text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(37,99,235,0.35); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37,99,235,0.4); }
.btn-secondary { background: #fff; color: var(--primary); border: 2px solid var(--primary); }
.btn-secondary:hover { background: var(--primary-light); }
.btn-lg { padding: 16px 40px; font-size: 18px; }

/* Section Common */
section { padding: 80px 24px; }
.container { max-width: var(--max-width); margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 36px; font-weight: 700; margin-bottom: 12px; }
.section-header p { font-size: 18px; color: var(--text-light); max-width: 560px; margin: 0 auto; }

/* Features Grid */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; transition: var(--transition); box-shadow: var(--shadow); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.feature-icon { width: 52px; height: 52px; background: var(--primary-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feature-icon svg { width: 26px; height: 26px; color: var(--primary); }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 15px; color: var(--text-light); line-height: 1.7; }

/* Platform Download */
.platforms { background: var(--bg-alt); }
.platform-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.platform-card { background: var(--bg-card); border-radius: var(--radius); padding: 28px; text-align: center; border: 1px solid var(--border); transition: var(--transition); }
.platform-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.platform-icon { margin-bottom: 16px; }
.platform-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.platform-card p { font-size: 14px; color: var(--text-light); margin-bottom: 16px; }
.platform-card .btn { padding: 10px 24px; font-size: 14px; width: 100%; justify-content: center; }

/* Function Details */
.function-list { display: flex; flex-direction: column; gap: 48px; }
.function-item { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.function-item:nth-child(even) { direction: rtl; }
.function-item:nth-child(even) > * { direction: ltr; }
.function-visual { background: linear-gradient(135deg, var(--primary-light), #eff6ff); border-radius: var(--radius-lg); height: 280px; display: flex; align-items: center; justify-content: center; }
.function-visual svg { width: 80px; height: 80px; color: var(--primary); opacity: 0.5; }
.function-text h3 { font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.function-text p { font-size: 16px; color: var(--text-light); line-height: 1.8; margin-bottom: 12px; }

/* Reviews */
.reviews { background: var(--bg-alt); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.review-card { background: var(--bg-card); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); }
.stars { display: flex; gap: 4px; margin-bottom: 14px; }
.stars svg { width: 18px; height: 18px; color: var(--secondary); fill: var(--secondary); }
.review-card p { font-size: 15px; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar { width: 40px; height: 40px; background: var(--primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--primary); font-size: 14px; }
.reviewer-name { font-weight: 600; font-size: 14px; }
.reviewer-role { font-size: 13px; color: var(--text-light); }

/* Stats */
.stats-bar { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); padding: 60px 24px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; max-width: var(--max-width); margin: 0 auto; }
.stat-item { text-align: center; color: #fff; }
.stat-number { font-size: 40px; font-weight: 800; margin-bottom: 8px; }
.stat-label { font-size: 15px; opacity: 0.85; }

/* Compare Table */
.compare-table { width: 100%; border-collapse: collapse; margin-top: 32px; }
.compare-table th { background: var(--primary); color: #fff; padding: 16px; text-align: left; font-weight: 600; }
.compare-table th:first-child { border-radius: 10px 0 0 0; }
.compare-table th:last-child { border-radius: 0 10px 0 0; }
.compare-table td { padding: 16px; border-bottom: 1px solid var(--border); font-size: 15px; }
.compare-table tr:nth-child(even) { background: var(--bg-alt); }
.compare-table .check { color: #16a34a; font-weight: 700; }
.compare-table .cross { color: #dc2626; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-question { padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 16px; background: var(--bg-card); transition: var(--transition); }
.faq-question:hover { background: var(--bg-alt); }
.faq-question svg { width: 20px; height: 20px; color: var(--text-light); transition: var(--transition); 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 24px 20px; font-size: 15px; color: var(--text-light); line-height: 1.8; }

/* Footer */
footer { background: var(--text); color: #94a3b8; padding: 40px 24px; text-align: center; font-size: 14px; }
footer p { max-width: var(--max-width); margin: 0 auto 8px; }

/* Download Page */
.download-hero { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); padding: 80px 24px 60px; text-align: center; color: #fff; }
.download-hero h1 { font-size: 42px; font-weight: 800; margin-bottom: 16px; }
.download-hero p { font-size: 18px; opacity: 0.8; max-width: 600px; margin: 0 auto 32px; }
.download-main { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 48px; max-width: 640px; margin: -40px auto 0; box-shadow: var(--shadow-lg); text-align: center; position: relative; z-index: 2; }
.download-meta { display: flex; gap: 24px; justify-content: center; margin-top: 20px; font-size: 14px; color: var(--text-light); flex-wrap: wrap; }
.download-meta span { display: flex; align-items: center; gap: 6px; }

.install-steps { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.install-step { display: flex; gap: 20px; 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; }
.step-content h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.step-content p { font-size: 15px; color: var(--text-light); line-height: 1.7; }

.version-log { display: flex; flex-direction: column; gap: 16px; }
.version-item { border-left: 3px solid var(--primary); padding-left: 20px; }
.version-header { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.version-tag { background: var(--primary-light); color: var(--primary); padding: 4px 12px; border-radius: 6px; font-size: 13px; font-weight: 700; }
.version-date { font-size: 13px; color: var(--text-light); }
.version-item ul { list-style: none; }
.version-item li { font-size: 15px; color: var(--text-light); padding: 4px 0; padding-left: 16px; position: relative; }
.version-item li::before { content: ""; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; background: var(--primary); border-radius: 50%; }

.sys-req { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.sys-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.sys-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.sys-card table { width: 100%; font-size: 14px; }
.sys-card td { padding: 8px 0; color: var(--text-light); }
.sys-card td:first-child { font-weight: 600; color: var(--text); width: 40%; }

/* zh-cn page */
.article-content { max-width: 900px; margin: 0 auto; }
.article-content h2 { font-size: 28px; font-weight: 700; margin: 48px 0 20px; padding-bottom: 12px; border-bottom: 2px solid var(--primary-light); }
.article-content h3 { font-size: 22px; font-weight: 600; margin: 32px 0 14px; color: var(--primary-dark); }
.article-content p { font-size: 16px; color: var(--text-light); line-height: 1.9; margin-bottom: 16px; }
.article-content ul { margin: 16px 0; padding-left: 24px; }
.article-content li { font-size: 16px; color: var(--text-light); line-height: 1.9; margin-bottom: 8px; }
.article-content strong { color: var(--text); }

.cta-box { background: linear-gradient(135deg, var(--primary-light), #eff6ff); border: 1px solid var(--primary); border-radius: var(--radius-lg); padding: 40px; text-align: center; margin-top: 48px; }
.cta-box h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.cta-box p { font-size: 16px; color: var(--text-light); margin-bottom: 24px; }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .function-item { grid-template-columns: 1fr !important; }
  .function-item:nth-child(even) { direction: ltr; }
  .section-header h2 { font-size: 26px; }
  .stat-number { font-size: 28px; }
  .download-main { padding: 28px; margin: -20px 16px 0; }
  nav { height: 60px; }
  .nav-links a { padding: 6px 12px; font-size: 13px; }
}
