:root {
  --navy: #0F2A47;
  --navy-2: #173B63;
  --gold: #C9A24D;
  --gold-2: #E8D399;
  --sky: #7FA3C9;
  --ink: #1E2A38;
  --muted: #62708A;
  --line: #E3E8F0;
  --bg: #F6F8FB;
  --white: #fff;
  --max: 1180px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 42, 71, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--white);
  font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Segoe UI", sans-serif;
  line-height: 1.7; font-size: 16px;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }

/* ---------- 顶栏 */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 20px; color: var(--navy); letter-spacing: 1px; }
.brand small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 2px; line-height: 1.2; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 8px; font-size: 15px; color: var(--ink); }
.nav a:hover { background: var(--bg); }
.nav a.active { color: var(--navy); font-weight: 700; position: relative; }
.nav a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--gold); border-radius: 2px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 10px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: .15s; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { filter: brightness(1.05); }
.btn-outline { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-light { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-light:hover { border-color: var(--navy); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; width: 40px; height: 40px; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--navy); margin: 4px auto; }

/* ---------- Hero */
.hero { background: radial-gradient(1200px 600px at 80% -10%, #274C78 0%, var(--navy) 55%); color: #fff; padding: 96px 0 80px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 520px; height: 520px; border-radius: 50%; border: 60px solid rgba(201,162,77,0.12); }
.hero .eyebrow { color: var(--gold-2); letter-spacing: 3px; font-size: 14px; margin-bottom: 14px; }
.hero h1 { font-size: 44px; letter-spacing: 1px; }
.hero h1 b { color: var(--gold); }
.hero p.lead { font-size: 18px; color: rgba(255,255,255,0.82); max-width: 680px; margin: 18px 0 30px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.page-hero { padding: 64px 0 56px; }
.page-hero h1 { font-size: 36px; }
.page-hero p.lead { margin-bottom: 0; }

/* ---------- 数字 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -44px; position: relative; z-index: 2; }
.stat { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; border-top: 3px solid var(--gold); }
.stat .v { font-size: 34px; font-weight: 800; color: var(--navy); letter-spacing: -0.5px; }
.stat .v small { font-size: 16px; font-weight: 600; margin-left: 2px; }
.stat .k { color: var(--muted); font-size: 14px; }

/* ---------- 区块 */
.section { padding: 80px 0; }
.section.alt { background: var(--bg); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head .eyebrow { color: var(--gold); letter-spacing: 3px; font-size: 13px; font-weight: 600; }
.section-head h2 { font-size: 30px; color: var(--navy); margin: 8px 0 10px; }
.section-head p { color: var(--muted); margin: 0; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: transparent; }
.card h3 { font-size: 19px; color: var(--navy); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.icon { width: 48px; height: 48px; border-radius: 12px; background: #EEF3FA; color: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.icon svg { width: 24px; height: 24px; }
.icon.gold { background: #FBF4E2; color: #9A7A2E; }
.tag { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 999px; background: #EEF3FA; color: var(--navy); font-weight: 600; margin-bottom: 12px; }
.tag.gold { background: #FBF4E2; color: #9A7A2E; }

/* 公司卡 */
.company { border-top: 4px solid var(--navy); }
.company.tax { border-top-color: #3C6E9E; }
.company.audit { border-top-color: var(--navy); }
.company.consult { border-top-color: var(--gold); }
.company .meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 16px; margin: 18px 0; padding: 16px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.company .meta b { display: block; font-size: 18px; color: var(--navy); }
.company .meta span { font-size: 12px; color: var(--muted); }
.company ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.company ul li { margin: 3px 0; }

/* 服务列表 */
.service-block { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: 48px 0; border-bottom: 1px solid var(--line); }
.service-block:last-child { border-bottom: 0; }
.service-block h3 { font-size: 26px; color: var(--navy); margin-bottom: 8px; }
.service-block .who { color: var(--gold); font-weight: 600; font-size: 14px; letter-spacing: 1px; }
.service-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service-item { padding: 18px 20px; background: var(--bg); border-radius: 12px; border-left: 3px solid var(--gold); }
.service-item h4 { font-size: 16px; color: var(--navy); margin-bottom: 6px; }
.service-item p { font-size: 14px; color: var(--muted); margin: 0; }

/* 版本对比表 */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.plan.vip { background: var(--navy); color: #fff; border-color: var(--navy); }
.plan h4 { font-size: 18px; margin-bottom: 4px; }
.plan .sub { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.plan.vip .sub { color: var(--gold-2); }
.plan ul { margin: 0; padding: 0; list-style: none; font-size: 14px; }
.plan li { padding: 6px 0 6px 22px; position: relative; border-top: 1px solid var(--line); }
.plan.vip li { border-top-color: rgba(255,255,255,0.15); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* 优势 */
.adv { display: flex; gap: 18px; }
.adv .num { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--gold); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.adv h3 { font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.adv p { color: var(--muted); font-size: 15px; margin: 0; }

/* 团队 */
.leader { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.avatar { width: 220px; height: 220px; border-radius: 20px; background: linear-gradient(160deg, var(--navy), #2C5A8C); color: var(--gold); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 48px; font-weight: 800; }
.avatar small { font-size: 13px; color: var(--gold-2); font-weight: 500; letter-spacing: 2px; margin-top: 6px; }
.badges { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 18px; }
.badge { background: #FBF4E2; color: #9A7A2E; font-size: 13px; padding: 4px 12px; border-radius: 999px; font-weight: 600; }

/* 时间线 / 目标 */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.timeline .t { background: #fff; border-radius: 12px; padding: 20px; border: 1px solid var(--line); text-align: center; }
.timeline .t b { display: block; font-size: 26px; color: var(--navy); }
.timeline .t span { font-size: 13px; color: var(--muted); }

/* CTA */
.cta { background: var(--navy); color: #fff; border-radius: 20px; padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { font-size: 28px; }
.cta p { color: rgba(255,255,255,0.75); margin: 6px 0 0; }

/* 联系 */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list .icon { margin: 0; flex: none; }
.contact-list b { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }
.contact-list span { font-size: 18px; color: var(--navy); font-weight: 600; }
.entities { background: var(--bg); border-radius: var(--radius); padding: 24px; }
.entities h3 { font-size: 16px; color: var(--navy); margin-bottom: 10px; }
.entities ol { margin: 0; padding-left: 20px; color: var(--muted); font-size: 15px; }
.entities li { margin: 6px 0; }

/* ---------- 页脚 */
footer { background: #0B1F36; color: rgba(255,255,255,0.7); padding: 56px 0 28px; font-size: 14px; }
footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
footer a:hover { color: #fff; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin: 6px 0; }
footer .brand { color: #fff; }
footer .brand small { color: rgba(255,255,255,0.5); }
footer .legal { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.5); }

/* ---------- 响应式 */
@media (max-width: 960px) {
  .grid-3, .grid-4, .plans, .timeline { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .service-block { grid-template-columns: 1fr; gap: 20px; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 34px; }
}
@media (max-width: 680px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .topbar .btn { display: none; }
  .grid-2, .grid-3, .grid-4, .plans, .timeline, .contact-grid, .leader, .service-items { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 24px; }
  .hero { padding: 64px 0 48px; }
  .hero h1 { font-size: 28px; }
  .section { padding: 56px 0; }
  .cta { flex-direction: column; align-items: flex-start; padding: 32px; }
  .avatar { width: 160px; height: 160px; font-size: 36px; }
  footer .cols { grid-template-columns: 1fr; }
}

/* 顶栏双按钮 */
.top-actions { display: flex; gap: 10px; align-items: center; flex: none; }
@media (max-width: 680px) { .top-actions { display: none; } }

/* 导航加入易研智云后防跳行：收紧间距、禁止折行 */
.topbar .wrap { gap: 16px; }
.brand { flex: none; white-space: nowrap; }
.nav { gap: 0; }
.nav a { white-space: nowrap; padding: 8px 10px; font-size: 14.5px; }
.nav a.active::after { left: 10px; right: 10px; }
.top-actions .btn { white-space: nowrap; padding: 9px 16px; font-size: 14px; }
@media (max-width: 1180px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(16,24,52,0.08); }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
}

/* ================= 首页优化 ================= */
/* 首屏两栏 + 集团矩阵面板 */
.hero-home { padding: 88px 0 104px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero-home p.lead { max-width: 560px; text-wrap: pretty; }
.hero-home h1 { font-size: 46px; }
.matrix { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 18px; padding: 10px; backdrop-filter: blur(6px); box-shadow: 0 24px 60px rgba(4,16,32,0.35); }
.matrix-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px 14px; font-size: 13px; color: rgba(255,255,255,0.6); letter-spacing: 1px; }
.matrix-head b { color: var(--gold-2); font-weight: 600; }
.matrix-row { display: grid; grid-template-columns: 10px 1fr auto; gap: 14px; align-items: center; padding: 14px; border-radius: 12px; transition: background .15s; }
.matrix-row + .matrix-row { border-top: 1px solid rgba(255,255,255,0.07); }
.matrix-row:hover { background: rgba(255,255,255,0.07); }
.matrix-row .dot { width: 10px; height: 10px; border-radius: 50%; }
.matrix-row b { display: block; color: #fff; font-size: 16px; font-weight: 600; }
.matrix-row span { display: block; color: rgba(255,255,255,0.6); font-size: 13px; margin-top: 2px; }
.matrix-row em { font-style: normal; font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.22); color: rgba(255,255,255,0.8); }
.matrix-row em.new { border-color: var(--gold); color: var(--gold-2); }

/* 公司卡：数据行沉底对齐，标题均衡折行 */
a.card.company { display: flex; flex-direction: column; }
.card.company h3 { font-size: 18px; text-wrap: balance; }
.card.company .meta { margin-top: auto; margin-bottom: 0; }
.card.company p { margin-bottom: 18px; }

/* 易研智云产品带 */
.product-band { background: radial-gradient(900px 500px at 90% 10%, #22476F 0%, var(--navy) 60%); color: #fff; padding: 88px 0; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.product-band .eyebrow { color: var(--gold-2); letter-spacing: 3px; font-size: 13px; font-weight: 600; }
.product-band h2 { font-size: 32px; margin: 10px 0 12px; }
.product-band .lead { color: rgba(255,255,255,0.78); max-width: 540px; text-wrap: pretty; }
.product-band .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.feats { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.feats li { padding-left: 16px; border-left: 2px solid var(--gold); }
.feats b { display: block; font-size: 16px; }
.feats span { display: block; font-size: 13.5px; color: rgba(255,255,255,0.65); margin-top: 2px; }
.mock { background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 30px 70px rgba(4,16,32,0.45); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D5DCE6; }
.mock-bar span { margin-left: 10px; font-size: 13px; color: var(--muted); font-weight: 600; }
.mock-steps { display: flex; gap: 6px; padding: 16px 18px 6px; flex-wrap: wrap; }
.mock-steps span { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: #EEF3FA; color: var(--navy); font-weight: 600; }
.mock-steps .done::before { content: "✓ "; color: #2E8B57; }
.mock-steps .now { background: var(--gold); color: var(--navy); }
.mock-list { list-style: none; margin: 0; padding: 8px 18px; }
.mock-list li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.mock-list li:last-child { border-bottom: 0; }
.mock-list em { font-style: normal; font-size: 12px; color: #2E8B57; background: #E8F5EE; padding: 2px 8px; border-radius: 6px; flex: none; margin-left: 12px; }
.mock-foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: var(--navy); color: rgba(255,255,255,0.8); font-size: 13px; }
.mock-foot b { color: var(--gold-2); }

@media (max-width: 960px) {
  .hero-grid, .product-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-home h1 { font-size: 34px; }
}
@media (max-width: 680px) {
  .hero-home { padding: 56px 0 48px; }
  .hero-home h1 { font-size: 28px; }
  .product-band { padding: 56px 0; }
  .product-band h2 { font-size: 26px; }
  .feats { grid-template-columns: 1fr; }
}
.hero-grid { grid-template-columns: 1.2fr 1fr; }
.hero-home p.lead { max-width: none; }
.hero-home p.lead span { display: block; }
.card.company .tag { align-self: flex-start; }
