/* 第1套 - 根域名：清新蓝绿学习风，居中Hero + 功能卡片网格 */
:root {
  --primary: #0EA98F;
  --primary-dark: #0B8570;
  --primary-light: #E3F8F1;
  --accent: #6FCF97;
  --accent-light: #EFFBF3;
  --text: #17342E;
  --text-muted: #587B72;
  --bg: #FFFFFF;
  --bg-alt: #F3FBF8;
  --border: #D6EEE5;
  --warn: #F5A623;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(14, 169, 143, 0.12);
  --font: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.75; font-size: 16px; }
a { color: var(--primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
ul { list-style: none; }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ---------- 导航：顶部固定白底 + 胶囊高亮 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--text); }
.logo svg { width: 36px; height: 36px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  display: block; padding: 10px 18px; border-radius: 999px;
  color: var(--text-muted); font-weight: 600; font-size: 0.95rem;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--primary-dark); background: var(--primary-light); text-decoration: none; }
.nav-links a.active { color: #fff; background: var(--primary); }
.nav-cta {
  margin-left: 6px; padding: 10px 22px !important;
  background: var(--text) !important; color: #fff !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border: none; border-radius: 999px;
  font-size: 1rem; font-weight: 700; cursor: pointer; font-family: inherit;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: 0.7; cursor: wait; transform: none; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: #fff; color: var(--primary-dark); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-lg { padding: 18px 36px; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Hero：居中大标题 ---------- */
.hero {
  position: relative; text-align: center; padding: 96px 0 80px; overflow: hidden;
  background: radial-gradient(circle at 50% -10%, var(--primary-light) 0%, #fff 60%);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; z-index: 0;
  background: var(--accent-light);
}
.hero::before { width: 320px; height: 320px; top: -120px; left: -100px; }
.hero::after { width: 260px; height: 260px; bottom: -80px; right: -60px; background: var(--primary-light); }
.hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px;
  background: #fff; border: 1px solid var(--border); color: var(--primary-dark);
  border-radius: 999px; font-size: 0.88rem; font-weight: 700; margin-bottom: 20px; box-shadow: var(--shadow);
}
.hero h1 { font-size: 2.6rem; line-height: 1.3; margin-bottom: 18px; color: var(--text); }
.hero-lead { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 32px; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---------- 通用板块 ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-tag { display: inline-block; color: var(--primary-dark); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px; }
.section-title { font-size: 2rem; margin-bottom: 12px; }
.section-desc { color: var(--text-muted); }

/* ---------- 功能卡片网格 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  padding: 30px 26px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.feature-icon {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  background: var(--primary-light); border-radius: 14px; margin-bottom: 18px;
}
.feature-icon svg { width: 28px; height: 28px; color: var(--primary-dark); }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- 平台下载 ---------- */
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.platform-card { text-align: center; padding: 30px 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.platform-card svg { width: 42px; height: 42px; margin-bottom: 14px; color: var(--primary-dark); }
.platform-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.platform-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 18px; }

/* ---------- 深入了解（图文交替） ---------- */
.dive-block { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin-bottom: 56px; }
.dive-block:nth-child(even) { direction: rtl; }
.dive-block:nth-child(even) > * { direction: ltr; }
.dive-num { color: var(--primary); font-weight: 800; font-size: 0.9rem; margin-bottom: 8px; }
.dive-text h3 { font-size: 1.5rem; margin-bottom: 14px; }
.dive-text p { color: var(--text-muted); margin-bottom: 12px; }
.dive-visual { background: var(--primary-light); border-radius: var(--radius); padding: 36px; display: flex; align-items: center; justify-content: center; }
.dive-visual svg { width: 140px; height: 140px; color: var(--primary-dark); }

/* ---------- 数据统计 ---------- */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-card { padding: 8px; }
.stat-num { font-size: 2.3rem; font-weight: 800; color: var(--primary-dark); }
.stat-label { color: var(--text-muted); font-size: 0.92rem; margin-top: 6px; }

/* ---------- 对比表格 ---------- */
.compare-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); }
.compare-table th { background: var(--primary); color: #fff; font-weight: 700; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: var(--bg-alt); }
.yes { color: var(--primary-dark); font-weight: 700; }
.no { color: #C0392B; }

/* ---------- 用户评价 ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { padding: 26px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.review-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.review-name { font-weight: 700; font-size: 0.95rem; }
.stars { color: var(--warn); letter-spacing: 2px; font-size: 0.9rem; }
.review-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- FAQ 手风琴 ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-item summary { padding: 18px 22px; font-weight: 700; cursor: pointer; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  color: var(--primary-dark); font-size: 1.4rem; font-weight: 400;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-a { padding: 0 22px 18px; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 14px; margin: 0 22px 18px; }

/* ---------- 下载页 ---------- */
.dl-hero { padding: 64px 0; background: linear-gradient(180deg, var(--primary-light), #fff); text-align: center; }
.dl-hero h1 { font-size: 2.3rem; margin-bottom: 14px; }
.dl-hero p { color: var(--text-muted); margin-bottom: 26px; max-width: 620px; margin-left: auto; margin-right: auto; }
.dl-meta { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; margin-top: 20px; font-size: 0.92rem; color: var(--text-muted); }
.dl-meta span { display: inline-flex; align-items: center; gap: 6px; }
.dl-platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dl-card { padding: 30px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.dl-card h3 { margin: 14px 0 8px; }
.dl-card .meta { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 14px; }
.dl-card ol { padding-left: 20px; color: var(--text-muted); font-size: 0.92rem; margin-bottom: 18px; }
.steps { counter-reset: step; list-style: none; }
.steps li { position: relative; padding: 22px 22px 22px 76px; margin-bottom: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.steps li::before {
  counter-increment: step; content: counter(step); position: absolute; left: 22px; top: 22px;
  width: 38px; height: 38px; background: var(--primary); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.steps li h3 { margin-bottom: 6px; }
.steps li p { color: var(--text-muted); font-size: 0.95rem; }
.changelog { max-width: 820px; margin: 0 auto; }
.changelog-item { padding: 20px 26px; background: #fff; margin-bottom: 16px; border-radius: var(--radius-sm); border: 1px solid var(--border); border-left: 4px solid var(--primary); }
.changelog-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.changelog-date { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.req-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.req-table th, .req-table td { padding: 13px 18px; border-bottom: 1px solid var(--border); text-align: left; }
.req-table th { background: var(--bg-alt); }
.security-box { padding: 30px; background: var(--primary-light); border-radius: var(--radius); border: 1px solid var(--border); }
.security-box h3 { margin-bottom: 12px; }
.security-box p { color: var(--text-muted); margin-bottom: 8px; }

/* ---------- zh-cn 软文页 ---------- */
.article-hero { padding: 56px 0 36px; background: var(--bg-alt); text-align: center; }
.article-hero h1 { font-size: 2.1rem; margin-bottom: 14px; }
.article-hero p { color: var(--text-muted); max-width: 640px; margin: 0 auto; }
.article-body { max-width: 800px; margin: 0 auto; padding: 44px 24px 72px; }
.article-body h2 { font-size: 1.5rem; margin: 40px 0 14px; color: var(--text); }
.article-body h3 { font-size: 1.18rem; margin: 26px 0 10px; }
.article-body p { margin-bottom: 14px; color: var(--text-muted); }
.article-body ul, .article-body ol { margin: 0 0 16px 22px; color: var(--text-muted); }
.article-body li { margin-bottom: 6px; }
.cta-banner { text-align: center; padding: 44px 26px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: var(--radius); color: #fff; margin-top: 44px; }
.cta-banner h2 { color: #fff; margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,0.92); margin-bottom: 22px; }
.cta-banner .btn { background: #fff; color: var(--primary-dark); }
.cta-banner .btn:hover { background: var(--primary-light); text-decoration: none; }

/* ---------- 页脚 ---------- */
.site-footer { background: #17342E; color: #A9C6BC; padding: 44px 0 30px; }
.footer-safe { text-align: center; padding: 12px 20px; background: rgba(111,207,151,0.15); border-radius: 999px; color: #9FE6C4; margin-bottom: 22px; font-size: 0.95rem; }
.footer-nav { display: flex; justify-content: center; gap: 26px; margin-bottom: 22px; }
.footer-nav a { color: #C7E5DA; }
.footer-nav a:hover { color: #fff; }
.footer-copy { text-align: center; font-size: 0.85rem; line-height: 1.7; color: #8FB3A7; }

@media (max-width: 960px) {
  .dive-block, .dive-block:nth-child(even) { grid-template-columns: 1fr; direction: ltr; }
  .feature-grid, .review-grid, .dl-platform-grid { grid-template-columns: 1fr 1fr; }
  .stats-row, .platform-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2rem; }
}
@media (max-width: 640px) {
  .nav-links a:not(.active):not(.nav-cta) { display: none; }
  .feature-grid, .review-grid, .dl-platform-grid, .stats-row, .platform-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0; }
}
