/* ==========================================================================
   流苏 · 官网三产品版 共用样式
   原则：零外链、零 JS 依赖、纯 CSS；主色 #0d9488

   字体策略（无侵权风险）：
     只声明“调用用户设备已安装的系统字体”，不打包、不分发任何字体文件，
     没有 @font-face，也不引 Google Fonts 等外部字体服务。
     PingFang SC / Hiragino Sans GB —— 苹果系统自带
     Microsoft YaHei —— Windows 系统自带
     Noto Sans SC —— SIL Open Font License，可免费商用（作为兜底）
     -apple-system / Segoe UI / Roboto / sans-serif —— 各自系统默认
   ========================================================================== */

:root {
  --teal: #0d9488;
  --teal-deep: #0f766e;
  --teal-soft: #ecfdf9;
  --teal-line: #cbf2ec;

  --ink: #111827;
  --body: #4b5563;
  --muted: #8b97a3;
  --line: #e9edf1;
  --bg: #ffffff;
  --soft: #f7faf9;

  --erp: #0d9488;
  --oa: #4f46e5;
  --fin: #b45309;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, .04);
  --shadow: 0 6px 22px rgba(17, 24, 39, .06);
  --shadow-lg: 0 18px 46px rgba(17, 24, 39, .10);
  --maxw: 1340px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC",
               -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* 三产品强调色（避免 color-mix，兼容旧内核） */
.p-erp { --accent: #0d9488; --accent-soft: #e6f7f4; }
.p-oa  { --accent: #4f46e5; --accent-soft: #eef2ff; }
.p-fin { --accent: #b45309; --accent-soft: #fdf4e3; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }

.logo { display: flex; align-items: center; gap: 11px; }
.logo-mark { height: 32px; width: auto; display: block; }
.logo-sub {
  font-size: 9.5px; font-weight: 700; letter-spacing: 1.2px;
  color: var(--muted); line-height: 1.2;
  padding-left: 11px; border-left: 1px solid var(--line);
}

.nav-links { display: flex; gap: 26px; margin-left: 8px; }
.nav-links a { font-size: 14px; color: var(--body); padding: 6px 0; position: relative; transition: color .16s; }
.nav-links a:hover { color: var(--teal-deep); }
.nav-links a.on { color: var(--teal-deep); font-weight: 600; }
.nav-links a.on::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 2px; border-radius: 2px; background: var(--teal);
}

.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 40px; padding: 0 20px; border-radius: 10px;
  font-size: 14px; font-weight: 600; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .14s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn svg { width: 15px; height: 15px; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 4px 14px rgba(13, 148, 136, .22); }
.btn-primary:hover { background: var(--teal-deep); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(13, 148, 136, .28); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #cbd5dd; color: var(--teal-deep); }
.btn-lg { height: 48px; padding: 0 26px; font-size: 15px; border-radius: 12px; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }

/* ---------- 通用段落 ---------- */
.section { padding: 84px 0; }
.section.tight { padding: 60px 0; }
.section.soft { background: var(--soft); }
.section + .section { padding-top: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 1.6px;
  color: var(--teal-deep); text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 16px; height: 2px; border-radius: 2px; background: var(--teal); }

.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head h2 {
  margin: 14px 0 14px; font-size: 32px; line-height: 1.35;
  color: var(--ink); font-weight: 700; letter-spacing: -.3px;
}
.section-head p { font-size: 15px; color: var(--body); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ---------- 首屏 ---------- */
.hero { position: relative; overflow: hidden; padding: 68px 0 46px; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 620px;
  background:
    radial-gradient(680px 320px at 18% 12%, rgba(13, 148, 136, .13), transparent 62%),
    radial-gradient(520px 280px at 84% 6%, rgba(79, 70, 229, .10), transparent 66%);
  pointer-events: none;
}
.hero-inner { position: relative; }

.hero h1 {
  font-size: 46px; line-height: 1.24; color: var(--ink);
  font-weight: 800; letter-spacing: -1px; margin: 18px 0 20px; max-width: 880px;
}
.hero h1 em { font-style: normal; color: var(--teal); }
.hero .lead { font-size: 17px; line-height: 1.85; color: var(--body); max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* 产品切换小卡（首屏底部） */
.hero-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 54px; }
.hero-card {
  position: relative; display: block; padding: 20px 22px 18px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .22s ease, border-color .18s ease;
}
.hero-card::after {
  content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 3px;
  border-radius: 0 0 3px 3px; background: var(--accent, var(--teal)); opacity: .9;
}
.hero-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #dfe6ec; }
.hero-card .hc-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.hero-card .hc-ico {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--accent-soft, var(--teal-soft));
  color: var(--accent, var(--teal)); flex: none;
}
.hero-card .hc-ico svg { width: 16px; height: 16px; }
.hero-card h3 { font-size: 15px; color: var(--ink); font-weight: 700; }
.hero-card p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.hero-card .hc-go { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--accent, var(--teal)); display: inline-flex; align-items: center; gap: 4px; }
.hero-card .hc-go svg { width: 13px; height: 13px; transition: transform .18s; }
.hero-card:hover .hc-go svg { transform: translateX(3px); }

/* ---------- 产品矩阵大卡 ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.prod {
  display: flex; flex-direction: column; padding: 26px 24px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .18s ease, box-shadow .22s ease, border-color .18s ease;
}
.prod::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--accent);
}
.prod:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #dfe6ec; }
.prod-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.prod-ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); flex: none;
}
.prod-ico svg { width: 21px; height: 21px; }
.prod-head h3 { font-size: 18px; color: var(--ink); font-weight: 700; line-height: 1.4; }
.prod-head .sub { font-size: 12px; color: var(--muted); letter-spacing: .4px; }
.prod > p { font-size: 14px; line-height: 1.8; margin-bottom: 16px; }
.prod-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.tag {
  font-size: 12px; padding: 3px 10px; border-radius: 999px;
  background: var(--soft); color: var(--body); border: 1px solid var(--line);
}
.prod-list { margin-bottom: 22px; display: grid; gap: 8px; }
.prod-list li { display: flex; gap: 8px; font-size: 13.5px; color: var(--body); line-height: 1.7; }
.prod-list li svg { width: 15px; height: 15px; flex: none; margin-top: 4px; color: var(--accent); }
.prod-foot { margin-top: auto; display: flex; gap: 8px; }
/* 卡片内的主按钮跟随该产品强调色，避免绿按钮配靛蓝卡片 */
.prod .btn-primary { background: var(--accent); box-shadow: 0 4px 14px rgba(17, 24, 39, .10); }
.prod .btn-primary:hover { background: var(--accent); filter: brightness(.9); }

/* ---------- 通用卡片网格 ---------- */
.grid { display: grid; gap: 16px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }

.card {
  padding: 22px 22px 20px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.card h4 { font-size: 15px; color: var(--ink); font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 13.5px; color: var(--body); line-height: 1.8; }
.card .ico {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal-deep); margin-bottom: 14px;
}
.card .ico svg { width: 18px; height: 18px; }

/* ---------- 数字条 ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; overflow: hidden;
}
.stats div { padding: 26px 24px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font-size: 30px; font-weight: 800; color: var(--teal-deep); line-height: 1.2; letter-spacing: -.5px; }
.stats span { font-size: 13px; color: var(--muted); }

/* ---------- 模块地图 ---------- */
.mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mod {
  padding: 18px 18px 16px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
}
.mod h4 { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ink); font-weight: 700; margin-bottom: 9px; }
.mod h4 .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent, var(--teal)); flex: none; }
.mod h4 .cnt { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--muted); background: var(--soft); border-radius: 999px; padding: 1px 8px; }
.mod p { font-size: 13px; color: var(--body); line-height: 1.8; }

/* ---------- 功能一览（三列模块清单） ---------- */
.feat3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.feat-col {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 24px 24px 22px;
  border-top: 4px solid var(--accent);
}
.feat-col h3 { font-size: 17px; color: var(--ink); font-weight: 700; margin-bottom: 18px; }
.feat-col dl { margin: 0; display: grid; gap: 13px; }
.feat-col dt { font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.feat-col dd { margin: 0; font-size: 12.5px; color: var(--body); line-height: 1.8; }

/* ---------- 流程条 ---------- */
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 14px 0 20px; }
.flow span {
  font-size: 13px; padding: 5px 13px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600;
}
.flow i { color: var(--muted); font-style: normal; font-size: 13px; }

/* ---------- 场景卡（大） ---------- */
.scene {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; align-items: center;
  padding: 28px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.scene + .scene { margin-top: 16px; }
.scene:nth-child(even) .scene-visual { order: -1; }
.scene h3 { font-size: 20px; color: var(--ink); font-weight: 700; margin-bottom: 10px; }
.scene p { font-size: 14px; line-height: 1.85; }
.scene-visual {
  border-radius: 12px; background: linear-gradient(160deg, var(--teal-soft), #fbfdfc);
  border: 1px solid var(--teal-line); padding: 20px;
}
.mini-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.mini-table th {
  text-align: left; font-weight: 600; color: var(--muted); font-size: 11.5px;
  padding: 0 0 8px; border-bottom: 1px solid var(--line);
}
.mini-table td { padding: 8px 0; border-bottom: 1px dashed #eef2f4; color: var(--body); }
.mini-table tr:last-child td { border-bottom: 0; }
.mini-table .num { text-align: right; color: var(--teal-deep); font-weight: 700; }
.mini-table .ok { color: var(--teal-deep); font-weight: 600; }

/* ---------- 部署方式 ---------- */
.deploy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.deploy .card { display: flex; flex-direction: column; }
.deploy .card .tag { align-self: flex-start; margin-top: auto; }

/* ---------- CTA 区 ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0b7f75 0%, #0d9488 55%, #0f9e8f 100%);
  border-radius: 18px; padding: 46px 40px; color: #fff;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -110px; width: 380px; height: 380px;
  border-radius: 50%; background: rgba(255, 255, 255, .10);
}
.cta-band h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; letter-spacing: -.3px; }
.cta-band p { font-size: 14.5px; color: rgba(255, 255, 255, .82); max-width: 620px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; position: relative; z-index: 1; }
.cta-band .btn-primary { background: #fff; color: var(--teal-deep); box-shadow: 0 6px 18px rgba(4, 60, 55, .22); }
.cta-band .btn-primary:hover { background: #f3fffd; color: var(--teal-deep); }
.cta-band .btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .38); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); background: #fcfdfd; padding: 52px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.footer h5 { font-size: 13px; color: var(--ink); font-weight: 700; margin: 0 0 14px; }
.footer .logo-mark { height: 34px; }
.footer ul { display: grid; gap: 9px; }
.footer li a, .footer li span { font-size: 13px; color: var(--body); }
.footer li a:hover { color: var(--teal-deep); }
.footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.85; margin-top: 12px; max-width: 300px; }
.footer-bottom {
  margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 12.5px; color: var(--muted);
}
.footer-bottom a:hover { color: var(--teal-deep); }

/* ---------- 产品页主题 ---------- */
.theme-oa { --teal: #4f46e5; --teal-deep: #4338ca; --teal-soft: #eef2ff; --teal-line: #dfe3fb; }
.theme-fin { --teal: #b45309; --teal-deep: #92400e; --teal-soft: #fef6e7; --teal-line: #f7e6c4; }

/* ---------- 产品页首屏 ---------- */
.phero { padding: 64px 0 56px; position: relative; overflow: hidden; }
.phero::before {
  content: ""; position: absolute; inset: -40% -10% auto -10%; height: 560px;
  background: radial-gradient(620px 300px at 20% 10%, var(--teal-soft), transparent 64%);
  pointer-events: none;
}
.phero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.phero h1 { font-size: 40px; line-height: 1.28; color: var(--ink); font-weight: 800; letter-spacing: -.8px; margin: 16px 0 16px; }
.phero .lead { font-size: 16px; line-height: 1.9; max-width: 620px; }
.phero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.phero-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); }

.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px 20px 16px;
}
.panel-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.panel-head .dots { display: flex; gap: 5px; }
.panel-head .dots i { width: 8px; height: 8px; border-radius: 50%; background: #e6eaee; }
.panel-head .dots i:first-child { background: var(--teal); }
.panel-head span { font-size: 12px; color: var(--muted); margin-left: auto; }
.panel-rows { display: grid; gap: 10px; }
.panel-row {
  display: flex; align-items: center; gap: 10px; padding: 11px 13px;
  background: var(--soft); border-radius: 9px; font-size: 13px; color: var(--body);
}
.panel-row .k { color: var(--ink); font-weight: 600; }
.panel-row .v { margin-left: auto; font-weight: 700; color: var(--teal-deep); }
.panel-row .bar { height: 6px; border-radius: 999px; background: var(--teal-line); flex: 1; max-width: 120px; }
.panel-row .bar b { display: block; height: 100%; border-radius: 999px; background: var(--teal); }

/* ---------- 适用对象 ---------- */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.who div {
  padding: 18px; border-radius: var(--radius-sm); background: #fff;
  border: 1px solid var(--line); font-size: 13.5px; color: var(--body);
}
.who div b { display: block; color: var(--ink); font-size: 14px; margin-bottom: 6px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero h1 { font-size: 38px; }
  .prod-grid, .hero-cards, .mods, .grid.c3, .grid.c4, .deploy, .who { grid-template-columns: repeat(2, 1fr); }
  .feat3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(1), .stats div:nth-child(2) { border-bottom: 1px solid var(--line); }
  .phero-inner { grid-template-columns: 1fr; gap: 30px; }
  .scene { grid-template-columns: 1fr; }
  .scene:nth-child(even) .scene-visual { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .nav-links { display: none; }
  .nav-inner { height: 58px; gap: 14px; }
  .logo-mark { height: 26px; }
  .logo-sub { display: none; }
  .hero { padding: 46px 0 48px; }
  .hero h1 { font-size: 24px; letter-spacing: -.2px; line-height: 1.45; }
  .hero .lead { font-size: 15px; }
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 24px; }
  .prod-grid, .hero-cards, .mods, .grid.c2, .grid.c3, .grid.c4, .deploy, .who { grid-template-columns: 1fr; }
  .feat3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats div { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats div:last-child { border-bottom: 0; }
  .phero { padding: 40px 0 36px; }
  .phero h1 { font-size: 28px; }
  .cta-band { padding: 32px 22px; border-radius: 14px; }
  .cta-band h2 { font-size: 22px; }
  .footer { padding: 38px 0 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .btn { height: 38px; padding: 0 16px; }
  .btn-lg { height: 44px; padding: 0 20px; font-size: 14px; }
}

/* ---------- 宽屏（1920 / 2560）---------- */
@media (min-width: 1680px) {
  :root { --maxw: 1520px; }
  body { font-size: 15.5px; }
  .hero h1 { font-size: 52px; max-width: 1040px; }
  .hero .lead { max-width: 900px; }
  .section-head { max-width: 940px; }
  .phero h1 { font-size: 44px; }
  .section-head h2 { font-size: 34px; }
  .mods { grid-template-columns: repeat(4, 1fr); }
  .section { padding: 92px 0; }
  .grid.c4 { gap: 18px; }
  .feat3 { gap: 22px; }
  .feat-col { padding: 28px 28px 24px; }
}

@media (min-width: 2100px) {
  :root { --maxw: 1700px; }
  body { font-size: 16px; }
  .hero h1 { font-size: 58px; }
  .phero h1 { font-size: 48px; }
  .section { padding: 104px 0; }
}
