/* ============================================================
   TG站点通用样式 v4.0 - 全浅色暖系配色
   ============================================================ */

:root {
  --primary: #ea580c;
  --primary-dark: #c2410c;
  --primary-light: #fb923c;
  --primary-soft: #fff7ed;
  --bg: #faf9f6;
  --bg-soft: #ffffff;
  --card: #ffffff;
  --text: #1c1917;
  --text-sub: #78716c;
  --border: #e7e5e4;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0,0,0,.04);
}

* { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
a { color:var(--primary); text-decoration:none; }
a:hover { color:var(--primary-dark); }
img { max-width:100%; height:auto; }
.container { max-width:1200px; margin:0 auto; padding:0 20px; }

/* ===== Header ===== */
header {
  background:var(--card);
  border-bottom:1px solid var(--border);
  position:sticky;
  top:0;
  z-index:100;
  box-shadow:0 1px 8px rgba(0,0,0,.03);
}
.header-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:64px;
}
.logo {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:20px;
  font-weight:700;
  color:var(--text);
}
.logo-icon {
  width:36px;
  height:36px;
  background:linear-gradient(135deg,#fb923c,#fdba74);
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-weight:800;
  font-size:15px;
}
header nav { display:flex; gap:6px; }
header nav a {
  padding:8px 14px;
  border-radius:8px;
  font-size:14px;
  color:var(--text-sub);
  font-weight:500;
  transition:.2s;
}
header nav a:hover,
header nav a.active {
  background:var(--primary-soft);
  color:var(--primary);
}
.header-btn {
  padding:8px 18px;
  background:var(--primary);
  color:#fff;
  border-radius:8px;
  font-size:14px;
  font-weight:600;
  transition:.2s;
}
.header-btn:hover { background:var(--primary-dark); color:#fff; }

/* ===== Hero - 浅色 ===== */
.hero {
  background:linear-gradient(135deg, #fff7ed 0%, #ffffff 50%, #ffedd5 100%);
  color:var(--text);
  padding:60px 0;
  border-bottom:1px solid var(--border);
}
.hero-inner {
  display:flex;
  align-items:center;
  gap:40px;
}
.hero-badge {
  display:inline-block;
  background:#ffedd5;
  color:var(--primary-dark);
  padding:4px 14px;
  border-radius:20px;
  font-size:13px;
  font-weight:600;
  margin-bottom:16px;
  border:1px solid #fed7aa;
}
.hero h1 {
  font-size:38px;
  font-weight:800;
  line-height:1.3;
  margin-bottom:16px;
  color:var(--text);
}
.hero h1 span { color:var(--primary); }
.hero p {
  font-size:16px;
  color:var(--text-sub);
  margin-bottom:28px;
  max-width:520px;
  line-height:1.8;
}
.hero-btns {
  display:flex;
  gap:12px;
  margin-bottom:32px;
  flex-wrap:wrap;
}
.btn-primary {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:14px 28px;
  background:var(--primary);
  color:#fff;
  border-radius:10px;
  font-weight:700;
  font-size:15px;
  transition:.2s;
  box-shadow:0 4px 16px rgba(234,88,12,.15);
}
.btn-primary:hover {
  transform:translateY(-2px);
  box-shadow:0 6px 20px rgba(234,88,12,.25);
  color:#fff;
  background:var(--primary-dark);
}
.btn-secondary {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:14px 28px;
  background:#fff;
  color:var(--text);
  border-radius:10px;
  font-weight:600;
  font-size:15px;
  border:1px solid var(--border);
  transition:.2s;
}
.btn-secondary:hover {
  background:var(--bg);
  color:var(--text);
  border-color:#d6d3d1;
}
.hero-stats { display:flex; gap:32px; }
.stat-num { font-size:28px; font-weight:800; color:var(--primary); }
.stat-label { font-size:13px; color:var(--text-sub); }

/* ===== Section ===== */
.section { padding:60px 0; }
.section-header { text-align:center; margin-bottom:40px; }
.section-tag {
  display:inline-block;
  background:var(--primary-soft);
  color:var(--primary);
  padding:4px 14px;
  border-radius:20px;
  font-size:13px;
  font-weight:600;
  margin-bottom:12px;
}
.section-header h2 {
  font-size:28px;
  font-weight:800;
  margin-bottom:10px;
  color:var(--text);
}
.section-sub { color:var(--text-sub); font-size:15px; }

/* ===== Cards Grid ===== */
.cards-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(280px, 1fr));
  gap:20px;
}
.card {
  background:var(--card);
  border-radius:var(--radius);
  padding:28px;
  box-shadow:var(--shadow);
  border:1px solid var(--border);
  transition:.25s;
}
.card:hover {
  transform:translateY(-4px);
  box-shadow:0 8px 24px rgba(0,0,0,.06);
  border-color:var(--primary-light);
}
.card-icon {
  width:48px;
  height:48px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  font-weight:700;
  margin-bottom:16px;
}
/* 暖色系类比色 - 橙/琥珀/褐/玫/陶 */
.card-icon.red { background:#ffedd5; color:#ea580c; }
.card-icon.yellow { background:#fef3c7; color:#d97706; }
.card-icon.blue { background:#fed7aa; color:#c2410c; }
.card-icon.green { background:#fde68a; color:#b45309; }
.card-icon.purple { background:#fce7f3; color:#be185d; }
.card h3 { font-size:17px; font-weight:700; margin-bottom:8px; color:var(--text); }
.card p { font-size:14px; color:var(--text-sub); line-height:1.7; }
.card-link {
  display:inline-block;
  margin-top:14px;
  font-size:14px;
  font-weight:600;
  color:var(--primary);
}

/* ===== Steps ===== */
.steps-wrap {
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(240px, 1fr));
  gap:20px;
}
.step {
  background:var(--card);
  border-radius:var(--radius);
  padding:28px;
  box-shadow:var(--shadow);
  border:1px solid var(--border);
  text-align:center;
}
.step-num {
  width:40px;
  height:40px;
  background:linear-gradient(135deg,#fb923c,#fdba74);
  color:#fff;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  margin:0 auto 16px;
  font-size:18px;
}
.step h4 { font-size:16px; font-weight:700; margin-bottom:8px; color:var(--text); }
.step p { font-size:14px; color:var(--text-sub); }

/* ===== FAQ ===== */
.faq-list {
  max-width:800px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.faq-item {
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  border:1px solid var(--border);
  overflow:hidden;
}
.faq-q {
  padding:18px 24px;
  font-weight:700;
  font-size:15px;
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  align-items:center;
  transition:.2s;
  color:var(--text);
}
.faq-q:hover { background:var(--bg-soft); }
.faq-q:after { content:'+'; font-size:20px; color:var(--text-sub); }
.faq-item.open .faq-q:after { content:'\2212'; }
.faq-a {
  padding:0 24px 18px;
  font-size:14px;
  color:var(--text-sub);
  line-height:1.8;
  display:none;
}
.faq-item.open .faq-a { display:block; }

/* ===== Breadcrumb ===== */
.breadcrumb { padding:16px 0; font-size:13px; color:var(--text-sub); }
.breadcrumb a { color:var(--primary); }

/* ===== CTA - 浅色 ===== */
.cta {
  background:var(--primary-soft);
  color:var(--text);
  padding:56px 0;
  text-align:center;
  border-top:1px solid #fed7aa;
  border-bottom:1px solid #fed7aa;
}
.cta h2 { font-size:28px; font-weight:800; margin-bottom:12px; color:var(--text); }
.cta p { font-size:16px; color:var(--text-sub); margin-bottom:28px; }
.cta-btns { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.btn-white {
  padding:14px 28px;
  background:var(--primary);
  color:#fff;
  border-radius:10px;
  font-weight:700;
  font-size:15px;
  transition:.2s;
  box-shadow:0 4px 16px rgba(234,88,12,.15);
}
.btn-white:hover {
  transform:translateY(-2px);
  background:var(--primary-dark);
  color:#fff;
}
.btn-outline-white {
  padding:14px 28px;
  border:2px solid var(--primary);
  color:var(--primary);
  border-radius:10px;
  font-weight:600;
  font-size:15px;
  transition:.2s;
  background:transparent;
}
.btn-outline-white:hover {
  background:var(--primary-soft);
  color:var(--primary-dark);
}

/* ===== Footer - 浅色 ===== */
footer {
  background:#f5f5f4;
  color:#57534e;
  padding:56px 0 24px;
  border-top:1px solid var(--border);
}
.footer-grid {
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1fr;
  gap:32px;
  margin-bottom:40px;
}
.footer-brand h3 { color:var(--text); font-size:18px; font-weight:700; margin-bottom:12px; }
.footer-brand p { font-size:13px; line-height:1.8; }
.footer-col h4 { color:var(--text); font-size:14px; font-weight:700; margin-bottom:14px; }
.footer-col ul { list-style:none; }
.footer-col li { margin-bottom:8px; }
.footer-col a { font-size:13px; color:#78716c; transition:.2s; }
.footer-col a:hover { color:var(--primary); }
.footer-bottom {
  border-top:1px solid var(--border);
  padding-top:20px;
  display:flex;
  justify-content:space-between;
  font-size:12px;
  flex-wrap:wrap;
  gap:8px;
}

/* ===== Disclaimer - 暖色系 ===== */
.disclaimer {
  background:var(--primary-soft);
  border:1px solid #fed7aa;
  border-radius:var(--radius);
  padding:16px 20px;
  margin:24px 0;
  font-size:13px;
  color:#9a3412;
  line-height:1.7;
}

/* ===== Download Section - 浅色 ===== */
.dl-section {
  background:linear-gradient(160deg, #fff7ed 0%, #ffffff 50%, #ffedd5 100%);
  padding:64px 0;
  position:relative;
  overflow:hidden;
  border-top:1px solid #fed7aa;
  border-bottom:1px solid #fed7aa;
}
.dl-section .section-header {
  text-align:center;
  margin-bottom:40px;
  position:relative;
  z-index:1;
}
.dl-section .section-header h2 {
  color:var(--text);
  font-size:32px;
  font-weight:800;
}
.dl-section .section-tag {
  background:#ffedd5;
  color:var(--primary-dark);
  border:1px solid #fed7aa;
}
.dl-section .section-sub {
  color:var(--text-sub);
  font-size:15px;
  margin-top:8px;
}
.dl-rating {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top:12px;
}
.dl-rating .stars {
  color:#f59e0b;
  font-size:18px;
  letter-spacing:2px;
}
.dl-rating .rating-text {
  color:var(--text-sub);
  font-size:13px;
}
.dl-grid {
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
  position:relative;
  z-index:1;
}
.dl-platform-card {
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  padding:32px 28px;
  text-align:center;
  transition:all .3s ease;
  position:relative;
  overflow:hidden;
  box-shadow:0 2px 12px rgba(0,0,0,.04);
}
.dl-platform-card:hover {
  transform:translateY(-6px);
  box-shadow:0 12px 40px rgba(0,0,0,.08);
  border-color:var(--primary-light);
}
.dl-platform-icon {
  width:72px;
  height:72px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 20px;
  font-size:32px;
  font-weight:800;
  color:#fff;
}
.dl-platform-card h3 {
  color:var(--text);
  font-size:20px;
  font-weight:700;
  margin-bottom:6px;
}
.dl-platform-card .dl-sub {
  color:var(--text-sub);
  font-size:13px;
  margin-bottom:20px;
}
.dl-platform-meta {
  display:flex;
  justify-content:center;
  gap:20px;
  margin-bottom:24px;
  font-size:13px;
}
.dl-platform-meta span {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:2px;
}
.dl-platform-meta .meta-label { color:#a8a29e; font-size:11px; }
.dl-platform-meta .meta-val { color:var(--text); font-weight:600; }
.dl-platform-card .dl-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  padding:16px 24px;
  border-radius:12px;
  font-weight:700;
  font-size:16px;
  color:#fff;
  background:linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow:0 4px 16px rgba(234,88,12,.2);
  transition:all .25s ease;
  text-decoration:none;
}
.dl-platform-card .dl-btn:hover {
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(234,88,12,.3);
  color:#fff;
}
.dl-badge {
  position:absolute;
  top:16px;
  right:16px;
  background:#ffedd5;
  color:var(--primary-dark);
  font-size:11px;
  font-weight:600;
  padding:4px 10px;
  border-radius:20px;
  border:1px solid #fed7aa;
}
.dl-trust {
  display:flex;
  justify-content:center;
  gap:32px;
  margin-top:40px;
  flex-wrap:wrap;
  position:relative;
  z-index:1;
}
.dl-trust-item {
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--text-sub);
  font-size:14px;
}
.dl-trust-item .check { color:var(--primary); font-size:18px; }

/* ===== Article Download Card ===== */
.article-dl-card {
  background:linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border:1px solid #fed7aa;
  border-radius:16px;
  padding:36px;
  margin:36px 0;
  color:var(--text);
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:24px;
  box-shadow:0 4px 20px rgba(234,88,12,.06);
}
.article-dl-card .adl-info h3 {
  font-size:22px;
  font-weight:800;
  margin-bottom:8px;
  color:var(--text);
}
.article-dl-card .adl-info p {
  font-size:14px;
  color:var(--text-sub);
  line-height:1.7;
}
.article-dl-card .adl-meta {
  display:flex;
  gap:16px;
  margin-top:12px;
  font-size:13px;
  color:var(--primary-dark);
}
.article-dl-card .adl-btn {
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  padding:20px 36px;
  background:var(--primary);
  color:#fff;
  border-radius:14px;
  font-weight:800;
  font-size:16px;
  text-decoration:none;
  box-shadow:0 4px 16px rgba(234,88,12,.2);
  transition:all .25s ease;
  white-space:nowrap;
}
.article-dl-card .adl-btn:hover {
  transform:translateY(-3px);
  box-shadow:0 8px 24px rgba(234,88,12,.3);
  color:#fff;
  background:var(--primary-dark);
}
.article-dl-card .adl-btn .adl-btn-sub {
  font-size:11px;
  font-weight:500;
  color:rgba(255,255,255,.8);
}

/* ===== Responsive ===== */
@media (max-width:768px) {
  .hero-inner { flex-direction:column; text-align:center; }
  .hero h1 { font-size:26px; }
  .hero-btns { justify-content:center; }
  .hero-stats { justify-content:center; }
  .dl-grid { grid-template-columns:1fr; }
  .article-dl-card { grid-template-columns:1fr; text-align:center; }
  .article-dl-card .adl-meta { justify-content:center; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  header nav { display:none; }
  .cards-grid { grid-template-columns:1fr; }
}
@media (max-width:480px) {
  .footer-grid { grid-template-columns:1fr; }
  .hero h1 { font-size:22px; }
  .section-header h2 { font-size:22px; }
}
