/* ============ 基础 ============ */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --text: #1a1d24;
  --text-soft: #5b6472;
  --line: #e6e9ef;
  --brand: #1f6feb;
  --brand-dark: #1856b8;
  --brand-soft: #eaf2ff;
  --accent: #e8543c;
  --accent-soft: #fdeeea;
  --ok: #1a9e63;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(20, 40, 80, .08);
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ============ 顶部导航 ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-size: 20px; font-weight: 700; letter-spacing: .5px; }
.logo em { color: var(--brand); font-style: normal; }
.nav-links { display: flex; gap: 6px; list-style: none; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 8px;
  font-size: 15px; color: var(--text-soft); transition: .15s;
}
.nav-links a:hover { color: var(--text); background: var(--bg-soft); }
.nav-links a.active { color: var(--brand); background: var(--brand-soft); font-weight: 600; }
.nav-links a.cta-nav { color: #fff; background: var(--brand); font-weight: 600; }
.nav-links a.cta-nav:hover { color: #fff; background: var(--brand-dark); }
.nav-toggle { display: none; font-size: 24px; background: none; border: none; cursor: pointer; color: var(--text); }

/* ============ 首页 hero ============ */
.hero { background: linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%); padding: 80px 0 64px; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 40px; line-height: 1.3; margin-bottom: 20px; letter-spacing: .5px; }
.hero h1 em { color: var(--brand); font-style: normal; }
.hero .sub { font-size: 17px; color: var(--text-soft); margin-bottom: 28px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { padding: 7px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; color: var(--text-soft); }
.tag.hot { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); font-weight: 600; }
.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.hero-card h3 { font-size: 16px; margin-bottom: 14px; color: var(--text); }
.hero-card ul { list-style: none; }
.hero-card li { padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }
.hero-card li:last-child { border-bottom: none; }
.hero-card li b { color: var(--brand); flex: none; }

/* ============ 通用版块 ============ */
.section { padding: 64px 0; }
.section.soft { background: var(--bg-soft); }
.sec-head { margin-bottom: 36px; }
.sec-head h2 { font-size: 28px; margin-bottom: 10px; letter-spacing: .3px; }
.sec-head p { color: var(--text-soft); font-size: 16px; }

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: .18s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card .num { font-size: 13px; color: var(--brand); font-weight: 700; letter-spacing: 1px; }
.card h3 { font-size: 18px; margin: 10px 0 8px; }
.card p { color: var(--text-soft); font-size: 15px; }

/* ============ 页头（内页） ============ */
.page-head { background: linear-gradient(180deg, #f0f6ff 0%, #fff 100%); padding: 56px 0 40px; }
.page-head h1 { font-size: 34px; letter-spacing: .5px; margin-bottom: 12px; }
.page-head p { color: var(--text-soft); font-size: 16px; max-width: 720px; }
.breadcrumb { font-size: 14px; color: var(--text-soft); margin-bottom: 14px; }
.breadcrumb a { color: var(--brand); }

/* ============ 文章/知识中心 ============ */
.article { max-width: 780px; margin: 0 auto; padding: 56px 24px 80px; }
.article h1 { font-size: 30px; line-height: 1.4; margin-bottom: 14px; }
.article-meta { color: var(--text-soft); font-size: 14px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.article h2 { font-size: 22px; margin: 34px 0 14px; padding-left: 12px; border-left: 4px solid var(--brand); }
.article h3 { font-size: 18px; margin: 26px 0 10px; }
.article p { margin-bottom: 16px; color: #2a3038; font-size: 16px; }
.article ul, .article ol { margin: 0 0 16px 22px; }
.article li { margin-bottom: 8px; }

.conclusion {
  background: var(--brand-soft); border: 1px solid #cfe2ff; border-radius: var(--radius);
  padding: 18px 20px; margin: 20px 0; font-size: 16px;
}
.conclusion b { color: var(--brand-dark); }
.fact-list {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px 20px; margin: 18px 0;
}
.fact-list .fact { padding: 12px 0; border-bottom: 1px dashed var(--line); display: flex; gap: 14px; }
.fact-list .fact:last-child { border-bottom: none; }
.fact-list .k { flex: none; font-weight: 700; color: var(--text); min-width: 110px; }
.fact-list .v { color: #2a3038; }
.source { font-size: 14px; color: var(--text-soft); margin-top: 26px; padding: 14px 16px; background: var(--bg-soft); border-radius: 10px; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--brand); }
.faq-item[open] summary::after { content: "−"; }
.faq-item .ans { padding: 0 22px 20px; color: #2a3038; font-size: 15px; }

/* 案例 */
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.case .tagline { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 13px; margin-bottom: 12px; }
.case .tagline.a { background: var(--brand-soft); color: var(--brand); }
.case .tagline.b { background: var(--accent-soft); color: var(--accent); }
.case h3 { font-size: 18px; margin-bottom: 8px; }
.case p { color: var(--text-soft); font-size: 15px; }
.case .metric { font-size: 28px; font-weight: 700; color: var(--brand); margin: 12px 0 4px; }
.case .metric small { font-size: 14px; color: var(--text-soft); font-weight: 400; }

/* 产品 */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }

/* CTA */
.cta { background: var(--brand); color: #fff; border-radius: var(--radius); padding: 44px 40px; text-align: center; }
.cta h2 { font-size: 26px; margin-bottom: 10px; }
.cta p { color: rgba(255,255,255,.85); margin-bottom: 22px; }
.btn { display: inline-block; padding: 12px 30px; border-radius: 10px; font-size: 16px; font-weight: 600; cursor: pointer; border: none; }
.btn-white { background: #fff; color: var(--brand); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ============ 表单 ============ */
.form-card {
  max-width: 640px; margin: 0 auto; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 40px; box-shadow: var(--shadow);
}
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--text); }
.form-field label em { color: var(--accent); font-style: normal; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 9px;
  font-size: 15px; font-family: inherit; color: var(--text); background: #fff; transition: .15s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31,111,235,.12);
}
.form-field textarea { resize: vertical; min-height: 96px; }
.form-hint { font-size: 13px; color: var(--text-soft); margin-top: 6px; }
.form-tip { font-size: 13px; color: var(--text-soft); text-align: center; margin-top: 14px; }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success .ok { font-size: 48px; color: var(--ok); margin-bottom: 12px; }
.form-success h3 { font-size: 20px; margin-bottom: 8px; }
.form-success p { color: var(--text-soft); }

/* 页脚 */
.site-footer { background: #10151d; color: #aeb6c2; padding: 48px 0 32px; margin-top: 40px; }
.site-footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.site-footer p, .site-footer a { font-size: 14px; line-height: 2; }
.site-footer a:hover { color: #fff; }
.site-footer .copy { grid-column: 1 / -1; border-top: 1px solid #232b37; padding-top: 20px; margin-top: 10px; font-size: 13px; }

/* 响应式 */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; }
  .site-footer .container { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .nav-links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px; display: none; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}

/* 公益免费标签 */
.free-tag { display: inline-block; margin-top: 10px; padding: 4px 14px; border-radius: 999px; background: #fff; color: #e8543c; border: 1.5px solid #e8543c; font-size: 13px; font-weight: 700; letter-spacing: 1px; }

/* 固定提示文字（替代下拉框） */
.fixed-note { padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-soft); color: var(--text); font-size: 15px; }

/* 报名成功页的红色提醒 */
.form-alert { margin-top: 12px; color: #e8543c; font-size: 14px; font-weight: 600; }
