/* ============ 全局 ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --bg: #ffffff;
  --bg-gray: #f5f7fa;
  --text: #1f2937;
  --text-sub: #6b7280;
  --border: #e5e7eb;
  --radius: 12px;
  --shadow: 0 4px 16px rgba(31, 41, 55, 0.08);
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

a { text-decoration: none; color: inherit; }

/* ============ 按钮 ============ */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  transition: all .2s;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: #eff6ff; }
.btn-sm { padding: 7px 18px; font-size: 14px; }
.btn-lg { padding: 13px 32px; font-size: 16px; }

/* ============ 导航 ============ */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; gap: 40px; height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 700; color: var(--text);
}
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  color: #fff; font-size: 18px; font-weight: 700;
}
.logo-light { color: #fff; }
.nav-links { display: flex; gap: 32px; margin-left: auto; }
.nav-links a {
  font-size: 15px; color: var(--text-sub); padding: 6px 2px;
  border-bottom: 2px solid transparent; transition: all .2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.active { color: var(--primary); font-weight: 600; border-bottom-color: var(--primary); }

/* ============ Hero（主页）============ */
.hero {
  background: linear-gradient(160deg, #eff6ff 0%, #f8fafc 55%, #f5f3ff 100%);
  padding: 80px 0 90px;
}
.hero-inner { display: flex; align-items: center; gap: 60px; }
.hero-text { flex: 1.1; }
.hero h1 { font-size: 44px; line-height: 1.25; letter-spacing: 1px; }
.accent {
  background: linear-gradient(90deg, var(--primary), #7c3aed);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin: 20px 0 30px; font-size: 17px; color: var(--text-sub); max-width: 480px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 36px; margin-top: 44px; flex-wrap: wrap;
}
.stat strong { display: block; font-size: 26px; color: var(--primary); }
.stat span { font-size: 13px; color: var(--text-sub); }

/* 模拟软件窗口 */
.hero-visual { flex: 1; }
.mock-window {
  background: #fff; border-radius: 14px; box-shadow: var(--shadow);
  overflow: hidden; border: 1px solid var(--border);
}
.mock-titlebar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; background: #f1f5f9; border-bottom: 1px solid var(--border);
}
.mock-titlebar span { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.mock-titlebar span:first-child { background: #f87171; }
.mock-titlebar span:nth-child(2) { background: #fbbf24; }
.mock-titlebar span:nth-child(3) { background: #34d399; }
.mock-titlebar em { margin-left: 10px; font-style: normal; font-size: 12px; color: var(--text-sub); }
.mock-body { display: flex; min-height: 240px; }
.mock-side { width: 110px; background: #f8fafc; border-right: 1px solid var(--border); padding: 12px 8px; }
.mock-item { font-size: 12px; color: var(--text-sub); padding: 8px 10px; border-radius: 6px; }
.mock-item.active { background: #eff6ff; color: var(--primary); font-weight: 600; }
.mock-main { flex: 1; padding: 16px; }
.mock-card-row { display: flex; gap: 12px; margin-bottom: 14px; }
.mock-card {
  flex: 1; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px;
}
.mock-card b { display: block; font-size: 16px; color: var(--primary); }
.mock-card span { font-size: 11px; color: var(--text-sub); }
.mock-chart {
  display: flex; align-items: flex-end; gap: 10px;
  height: 110px; padding: 8px; border: 1px solid var(--border); border-radius: 8px;
}
.mock-chart div {
  flex: 1; border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--primary), #93c5fd);
}

/* ============ 页头（内页）============ */
.page-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #7c3aed 100%);
  color: #fff; padding: 64px 0; text-align: center;
}
.page-hero h1 { font-size: 36px; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 640px; margin: 0 auto; font-size: 16px; }

/* ============ 区块 ============ */
.section { padding: 72px 0; }
.section-gray { background: var(--bg-gray); }
.section-title { text-align: center; font-size: 30px; margin-bottom: 10px; }
.section-sub { text-align: center; color: var(--text-sub); margin-bottom: 48px; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* 卡片 */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; transition: all .25s;
}
.section-gray .card { border: none; box-shadow: var(--shadow); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 18px; margin: 14px 0 8px; }
.card p { font-size: 14px; color: var(--text-sub); }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 12px;
  font-weight: 700; font-size: 16px; color: #fff;
}
.i-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.i-green { background: linear-gradient(135deg, #34d399, #059669); }
.i-orange { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.i-purple { background: linear-gradient(135deg, #a78bfa, #7c3aed); }

/* 评价卡片 */
.quote-card {
  background: #fff; border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px;
}
.quote-card p { font-size: 15px; color: var(--text); }
.quote-card footer { font-size: 13px; color: var(--text-sub); }

/* ============ 下载页 ============ */
.dl-table { display: flex; flex-direction: column; gap: 20px; }
.dl-row {
  display: flex; align-items: center; gap: 24px;
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 28px; transition: all .2s;
}
.dl-row:hover { box-shadow: var(--shadow); border-color: #bfdbfe; }
.dl-icon {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 15px;
}
.dl-info { flex: 1; }
.dl-info h3 { font-size: 17px; margin-bottom: 4px; }
.dl-info p { font-size: 13px; color: var(--text-sub); }
.dl-tags { margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  font-size: 12px; color: var(--primary); background: #eff6ff;
  padding: 2px 10px; border-radius: 20px;
}
.dl-size { font-size: 14px; color: var(--text-sub); white-space: nowrap; }
.dl-actions { display: flex; gap: 10px; white-space: nowrap; }
.notice {
  margin-top: 40px; padding: 18px 24px; font-size: 14px;
  background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--radius);
  color: #92400e;
}
.notice a { color: var(--primary); font-weight: 600; }

/* ============ 服务页 ============ */
.steps { display: flex; align-items: flex-start; gap: 8px; }
.step {
  flex: 1; background: #fff; border-radius: var(--radius);
  padding: 26px 20px; text-align: center; box-shadow: var(--shadow);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 700; font-size: 18px;
  margin-bottom: 12px;
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--text-sub); }
.step-arrow { align-self: center; color: var(--primary); font-size: 22px; font-weight: 700; }

.faq { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq details {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 24px; background: #fff; transition: all .2s;
}
.faq details[open] { border-color: #bfdbfe; box-shadow: var(--shadow); }
.faq summary {
  font-weight: 600; font-size: 15px; cursor: pointer; list-style: none;
  position: relative; padding-right: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%;
  transform: translateY(-50%); color: var(--primary); font-size: 18px;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 12px; font-size: 14px; color: var(--text-sub); }

.contact-section { background: linear-gradient(160deg, #eff6ff, #f5f3ff); }
.contact-card {
  background: #fff; border-radius: var(--radius); padding: 32px 28px;
  text-align: center; box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 17px; margin-bottom: 12px; }
.contact-big { font-size: 24px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.contact-card p:last-child { font-size: 13px; color: var(--text-sub); }

/* ============ 页脚 ============ */
.footer { background: #111827; color: #9ca3af; padding: 48px 0 24px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; }
.footer-desc { margin-top: 10px; font-size: 13px; }
.footer-links { display: flex; gap: 28px; margin-left: auto; }
.footer-links a { font-size: 14px; color: #d1d5db; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.copyright { width: 100%; border-top: 1px solid #1f2937; padding-top: 20px; margin-top: 8px; font-size: 12px; }

/* ============ 响应式 ============ */
@media (max-width: 960px) {
  .hero-inner { flex-direction: column; }
  .hero h1 { font-size: 34px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .dl-row { flex-wrap: wrap; }
  .dl-actions { margin-left: auto; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; }
  .hero-stats { gap: 20px; }
}
