@charset "utf-8";
/* ==========================================================================
   正普科技 · 千方百剂产品站  设计系统
   主色参考任我行千方百剂官网 #11AB86，品牌红 #E60012 作点缀
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 千方绿主色阶 */
  --brand-900: #083F31;
  --brand-800: #0A5C48;
  --brand-700: #0B8A6C;
  --brand-600: #11AB86;
  --brand-500: #17BF97;
  --brand-400: #4BD3AC;
  --brand-200: #B7EBDC;
  --brand-100: #E1F7F0;
  --brand-50:  #F2FBF8;

  /* 品牌红（正普）作强调点缀 */
  --red: #E60012;
  --red-soft: #FDECEE;

  /* 中性 */
  --ink: #0C211C;
  --text: #35443E;
  --muted: #6D8078;
  --line: #DCEAE5;
  --line-soft: #EAF4F1;
  --canvas: #F6FBF9;
  --white: #fff;

  /* 深色区（页脚 / CTA） */
  --dark: #0B2B23;
  --dark-2: #104035;

  /* 功能色 */
  --ok: #11AB86;
  --warn: #D98A00;

  /* 圆角 */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 26px;

  /* 阴影 */
  --sh-xs: 0 1px 2px rgba(12, 33, 28, .05);
  --sh-sm: 0 2px 10px rgba(12, 33, 28, .06);
  --sh-md: 0 10px 28px rgba(12, 33, 28, .08);
  --sh-lg: 0 22px 54px rgba(12, 33, 28, .12);

  /* 其他 */
  --container: 1180px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
          "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, h5 { margin: 0; color: var(--ink); font-weight: 800; line-height: 1.28; letter-spacing: -.01em; }
h1 { font-size: clamp(28px, 4.4vw, 46px); }
h2 { font-size: clamp(23px, 3.1vw, 34px); }
h3 { font-size: clamp(18px, 2vw, 21px); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid rgba(17, 171, 134, .55); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--brand-200); color: var(--brand-900); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- 3. 布局 ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 920px; }

.section { padding: 84px 0; position: relative; }
.section--tight { padding: 62px 0; }
.section--soft { background: var(--canvas); }
.section--brand { background: linear-gradient(160deg, var(--brand-50) 0%, #fff 60%); }
.section--dark { background: var(--dark); color: rgba(255, 255, 255, .76); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.section-head { margin-bottom: 44px; max-width: 820px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .section-desc { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block; margin-bottom: 12px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--brand-600);
}
.section--dark .eyebrow { color: var(--brand-400); }

.section-title { font-size: clamp(23px, 3.1vw, 34px); }
.section-desc { margin-top: 14px; font-size: 16px; color: var(--muted); }
.section--dark .section-desc { color: rgba(255, 255, 255, .7); }

/* 通用网格 */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(216px, 1fr)); }

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 700; line-height: 1.2;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: linear-gradient(135deg, var(--brand-600), var(--brand-500)); color: #fff; box-shadow: 0 8px 20px rgba(17, 171, 134, .28); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(17, 171, 134, .38); }

.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--brand-800); }

.btn-ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand-400); color: var(--brand-700); background: var(--brand-50); }

.btn-ghost-light { border-color: rgba(255, 255, 255, .38); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .6); }

.btn-light { background: #fff; color: var(--brand-800); }
.btn-light:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, .16); }

.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* 文字链接 */
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand-700); font-size: 15px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .18s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 5. 顶栏 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: 0 6px 22px rgba(12, 33, 28, .07); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { height: 36px; width: auto; }
.brand-sub {
  display: none; padding-left: 10px; margin-left: 2px;
  border-left: 1px solid var(--line);
  font-size: 12px; font-weight: 700; color: var(--brand-700); line-height: 1.3;
}

.nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: block; padding: 9px 13px; border-radius: 9px;
  font-size: 15px; font-weight: 600; color: var(--text);
  white-space: nowrap;
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.nav-link:hover { background: var(--brand-100); color: var(--brand-800); }
.nav-link.is-active { color: var(--brand-800); background: var(--brand-100); font-weight: 700; }
.nav-cta { margin-left: 10px; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-tel { display: none; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; color: var(--brand-800); }
.header-tel svg { width: 16px; height: 16px; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff;
  padding: 0; place-items: center;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; margin: 2.5px auto;
  background: var(--ink); border-radius: 2px;
  transition: transform .22s var(--ease), opacity .18s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (min-width: 1120px) {
  .brand-sub { display: block; }
  .header-tel { display: inline-flex; }
}

/* ---------- 6. 页面头 ---------- */
.page-hero {
  padding: 54px 0 46px;
  background: linear-gradient(160deg, var(--brand-50), #fff 70%);
  border-bottom: 1px solid var(--line-soft);
}
.crumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.crumb a:hover { color: var(--brand-700); }
.crumb span { opacity: .5; }
.page-hero h1 { max-width: 900px; }
.page-hero .lead { margin-top: 16px; max-width: 780px; font-size: 17px; color: var(--muted); }

/* ---------- 7. 首页 Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 68px 0 76px;
  background:
    radial-gradient(760px 400px at 88% -8%, rgba(75, 211, 172, .34), transparent 62%),
    radial-gradient(620px 380px at 4% 104%, rgba(17, 171, 134, .16), transparent 60%),
    linear-gradient(158deg, #F4FCF9 0%, #FFFFFF 58%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(17, 171, 134, .05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(17, 171, 134, .05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(560px 380px at 78% 26%, #000, transparent 76%);
  -webkit-mask-image: radial-gradient(560px 380px at 78% 26%, #000, transparent 76%);
}
.hero-grid { position: relative; z-index: 2; display: grid; gap: 46px; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 11px; border-radius: 999px;
  background: #fff; border: 1px solid var(--brand-200);
  box-shadow: var(--sh-sm);
  font-size: 13.5px; font-weight: 700; color: var(--brand-800);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-500); box-shadow: 0 0 0 4px rgba(75, 211, 172, .3); }

.hero h1 { margin-top: 22px; }
.hero h1 .hl { color: var(--brand-700); }
.hero-lead { margin-top: 20px; max-width: 620px; font-size: 17px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 30px; font-size: 14px; color: var(--text); }
.hero-tags li { display: flex; align-items: center; gap: 7px; }
.hero-tags svg { width: 17px; height: 17px; color: var(--brand-600); flex: none; }

/* 右侧数据面板 */
.hero-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 26px; box-shadow: var(--sh-lg); position: relative;
}
.hero-panel::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(150deg, rgba(17, 171, 134, .07), transparent 55%);
  pointer-events: none;
}
.hero-panel-head { display: flex; align-items: center; gap: 11px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.hero-panel-head .mark { width: 42px; height: 42px; border-radius: 11px; flex: none; }
.hero-panel-head h3 { font-size: 16.5px; }
.hero-panel-head p { font-size: 13px; color: var(--muted); }
.hero-panel-list { margin-top: 16px; }
.hero-panel-list li { display: flex; align-items: flex-start; gap: 11px; padding: 10px 0; font-size: 14.5px; }
.hero-panel-list li + li { border-top: 1px solid var(--line-soft); }
.hero-panel-list .tick {
  width: 21px; height: 21px; border-radius: 50%; flex: none; margin-top: 3px;
  background: var(--brand-100); color: var(--brand-700);
  display: grid; place-items: center;
}
.hero-panel-list .tick svg { width: 13px; height: 13px; }
.hero-panel-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hero-panel-foot .price { font-size: 15px; color: var(--muted); }
.hero-panel-foot .price b { font-size: 24px; color: var(--red); font-weight: 800; }

@media (min-width: 1000px) {
  .hero { padding: 84px 0 92px; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 56px; }
}

/* ---------- 8. 数据条 ---------- */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
}
.stats li { background: #fff; padding: 24px 20px; text-align: center; }
.stats .num { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; color: var(--brand-700); line-height: 1.1; letter-spacing: -.02em; }
.stats .num small { font-size: .5em; font-weight: 700; margin-left: 2px; }
.stats .lbl { margin-top: 7px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 9. 卡片 ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; position: relative;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--brand-200); }
.card h3 { font-size: 18px; }
.card p { margin-top: 10px; font-size: 14.5px; color: var(--muted); }

/* 图标容器 */
.ico {
  width: 50px; height: 50px; border-radius: 14px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--brand-100), var(--brand-50));
  color: var(--brand-700); margin-bottom: 18px;
}
.ico svg { width: 25px; height: 25px; }
.ico--solid { background: linear-gradient(140deg, var(--brand-600), var(--brand-500)); color: #fff; }
.ico--red { background: var(--red-soft); color: var(--red); }

/* 产品卡 */
.product-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; position: relative;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--brand-200); }
.product-card-top {
  padding: 22px 24px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
}
.product-card-body { padding: 18px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.product-card-body h3 { font-size: 19px; }
.product-card-body .sub { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--brand-600); letter-spacing: .04em; }
.product-card-body p { margin-top: 12px; font-size: 14.5px; color: var(--muted); }
.product-card-feats { margin: 16px 0 20px; display: grid; gap: 9px; }
.product-card-feats li { display: flex; gap: 9px; font-size: 14px; align-items: flex-start; }
.product-card-feats svg { width: 16px; height: 16px; color: var(--brand-600); flex: none; margin-top: 4px; }
.product-card-foot { margin-top: auto; padding-top: 4px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-card--feature { border-color: var(--brand-400); box-shadow: 0 12px 34px rgba(17, 171, 134, .14); }
.tag-hot {
  flex: none; padding: 4px 11px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em;
}
.tag-soft {
  flex: none; padding: 4px 11px; border-radius: 999px;
  background: var(--brand-100); color: var(--brand-800); font-size: 12px; font-weight: 700;
}

/* 编号卡（流程 / 步骤） */
.num-card { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); position: relative; overflow: hidden; }
.num-card .n {
  font-size: 13px; font-weight: 800; letter-spacing: .1em;
  color: var(--brand-600); display: inline-block; margin-bottom: 12px;
}
.num-card h3 { font-size: 17px; }
.num-card p { margin-top: 9px; font-size: 14.5px; color: var(--muted); }
.num-card::after {
  content: attr(data-n); position: absolute; right: 16px; bottom: -14px;
  font-size: 76px; font-weight: 800; color: var(--brand-50); line-height: 1; z-index: 0;
}
.num-card > * { position: relative; z-index: 1; }

/* 解决方案卡 */
.sol-card {
  display: flex; flex-direction: column; gap: 0;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand-400);
  border-radius: var(--r); padding: 24px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-left-color .22s var(--ease);
}
.sol-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-left-color: var(--brand-600); }
.sol-card h3 { font-size: 17.5px; }
.sol-card .pain { margin-top: 12px; font-size: 14px; color: var(--muted); }
.sol-card .solve { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14.5px; }
.sol-card .solve b { color: var(--brand-800); }
.sol-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.sol-tags span { padding: 4px 10px; border-radius: 999px; background: var(--brand-50); border: 1px solid var(--brand-100); font-size: 12.5px; color: var(--brand-800); font-weight: 600; }

/* 案例卡 */
.case-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 0; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease);
}
.case-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.case-head {
  padding: 22px 24px; color: #fff;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  position: relative; overflow: hidden;
}
.case-head::after {
  content: ""; position: absolute; right: -30px; top: -30px; width: 130px; height: 130px;
  border-radius: 50%; background: rgba(255, 255, 255, .12);
}
.case-head .ind { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; opacity: .9; }
.case-head h3 { color: #fff; font-size: 19px; margin-top: 6px; }
.case-head .scale { margin-top: 8px; font-size: 13px; opacity: .9; }
.case-body { padding: 22px 24px; display: grid; gap: 16px; flex: 1; }
.case-row { display: grid; gap: 5px; }
.case-row .k { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; color: var(--brand-600); }
.case-row .v { font-size: 14.5px; color: var(--text); }
.case-result { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.case-result span {
  padding: 5px 12px; border-radius: 999px; background: var(--brand-50);
  border: 1px solid var(--brand-100); font-size: 13px; font-weight: 700; color: var(--brand-800);
}

/* ---------- 10. 特点列表 / 双栏 ---------- */
.split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 940px) { .split { grid-template-columns: 1fr 1fr; gap: 60px; } .split--wide { grid-template-columns: 1.15fr .85fr; } }

.check-list { display: grid; gap: 14px; margin-top: 26px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .tick {
  width: 24px; height: 24px; border-radius: 50%; flex: none; margin-top: 2px;
  background: var(--brand-100); color: var(--brand-700); display: grid; place-items: center;
}
.check-list .tick svg { width: 14px; height: 14px; }
.check-list b { display: block; color: var(--ink); font-size: 15.5px; font-weight: 700; }
.check-list span { font-size: 14.5px; color: var(--muted); }

/* 界面预览（纯 CSS 绘制的管理界面示意） */
.ui-mock {
  border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden;
  background: #fff; box-shadow: var(--sh-lg);
}
.ui-mock-bar {
  display: flex; align-items: center; gap: 7px; padding: 11px 14px;
  background: var(--brand-50); border-bottom: 1px solid var(--line);
}
.ui-mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--brand-200); display: block; }
.ui-mock-bar i:first-child { background: #FF8A8A; }
.ui-mock-bar i:nth-child(2) { background: #FFD37A; }
.ui-mock-bar .t { margin-left: 8px; font-size: 12.5px; font-weight: 700; color: var(--brand-800); }
.ui-mock-body { padding: 16px; display: grid; gap: 12px; }
.ui-row { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: center; }
.ui-row .k { font-size: 12.5px; color: var(--muted); }
.ui-row .v { height: 9px; border-radius: 5px; background: var(--brand-100); }
.ui-row .v.w1 { width: 88%; } .ui-row .v.w2 { width: 66%; } .ui-row .v.w3 { width: 74%; } .ui-row .v.w4 { width: 52%; }
.ui-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ui-cards div { background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 10px; padding: 12px; }
.ui-cards .n { font-size: 17px; font-weight: 800; color: var(--brand-700); }
.ui-cards .s { margin-top: 4px; height: 7px; border-radius: 4px; background: var(--brand-100); }

/* ---------- 11. 表格（价格对比） ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; -webkit-overflow-scrolling: touch; }
table.cmp { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14.5px; }
table.cmp th, table.cmp td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.cmp thead th { background: var(--brand-50); font-size: 14px; font-weight: 800; color: var(--brand-900); border-bottom: 1px solid var(--line); white-space: nowrap; }
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp td:first-child { font-weight: 700; color: var(--ink); width: 24%; }
table.cmp .col-hi { background: rgba(17, 171, 134, .05); }
table.cmp .yes { color: var(--brand-700); font-weight: 700; }
table.cmp .no { color: var(--red); font-weight: 700; }

/* ---------- 12. 步骤 / 时间线 ---------- */
.steps { display: grid; gap: 18px; counter-reset: s; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.step .idx {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--brand-600), var(--brand-500)); color: #fff;
  font-weight: 800; font-size: 16px;
}
.step h4 { font-size: 16.5px; }
.step p { margin-top: 7px; font-size: 14.5px; color: var(--muted); }

.timeline { position: relative; margin-top: 8px; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--brand-400), var(--brand-100)); }
.timeline li { position: relative; padding: 0 0 26px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -28px; top: 7px; width: 18px; height: 18px;
  border-radius: 50%; background: #fff; border: 4px solid var(--brand-500); box-shadow: 0 0 0 3px var(--brand-50);
}
.timeline .when { font-size: 13px; font-weight: 800; color: var(--brand-700); letter-spacing: .04em; }
.timeline .what { margin-top: 4px; font-size: 15px; font-weight: 700; color: var(--ink); }
.timeline p { margin-top: 5px; font-size: 14.5px; color: var(--muted); }

/* ---------- 13. 折叠面板 ---------- */
.faq { display: grid; gap: 12px; max-width: 880px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.faq-item.is-open { border-color: var(--brand-200); box-shadow: var(--sh-sm); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; text-align: left; font-size: 16px; font-weight: 700; color: var(--ink);
}
.faq-q svg { width: 20px; height: 20px; flex: none; color: var(--brand-600); transition: transform .24s var(--ease); }
.faq-item.is-open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a-inner { padding: 0 22px 20px; font-size: 14.8px; color: var(--muted); }

/* ---------- 14. 表单 ---------- */
.form-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--sh-sm); }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 700; color: var(--ink); }
.field .req { color: var(--red); margin-left: 3px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: #fff; font-size: 15px; transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field textarea { min-height: 108px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 4px rgba(17, 171, 134, .12);
}
.field-err { display: block; margin-top: 6px; font-size: 13px; color: var(--red); min-height: 18px; }
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: var(--red); }
.field.has-err .field-err { font-weight: 600; }
.form-consent { margin-top: 18px; }
.consent-label { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); font-weight: 500; }
.consent-label input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--brand-600); }
.consent-label a { color: var(--brand-700); text-decoration: underline; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; }
.form-note { font-size: 13px; color: var(--muted); }
.form-alert {
  display: none; align-items: flex-start; gap: 11px; margin-bottom: 20px; padding: 15px 17px;
  border-radius: var(--r); background: var(--brand-50); border: 1px solid var(--brand-200);
  color: var(--brand-900); font-size: 14.5px;
}
.form-alert.is-on { display: flex; }
.form-alert svg { width: 20px; height: 20px; flex: none; color: var(--brand-600); margin-top: 2px; }

/* ---------- 15. 联系信息卡 ---------- */
.info-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; transition: box-shadow .2s var(--ease), border-color .2s var(--ease); }
.info-card:hover { border-color: var(--brand-200); box-shadow: var(--sh-sm); }
.info-ico {
  width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--brand-100), var(--brand-50)); color: var(--brand-700);
}
.info-ico svg { width: 21px; height: 21px; }
.info-card h4 { font-size: 15.5px; }
.info-card p { margin-top: 5px; font-size: 14px; color: var(--muted); }
.info-card .big { display: inline-block; margin-top: 5px; font-size: 20px; font-weight: 800; color: var(--brand-700); letter-spacing: .01em; }
.info-card .big:hover { color: var(--brand-500); }
.info-card--primary { border-color: var(--brand-400); background: linear-gradient(160deg, var(--brand-50), #fff); box-shadow: 0 8px 24px rgba(17, 171, 134, .1); }
.card-num { font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--brand-600); margin-bottom: 12px; line-height: 1.2; }

.wecom-card { background: linear-gradient(160deg, var(--brand-50), #fff); border: 1px solid var(--brand-200); border-radius: var(--r-lg); padding: 22px; }
.wecom-card-head { display: flex; gap: 12px; align-items: center; padding-bottom: 15px; border-bottom: 1px solid var(--brand-100); }
.wecom-card-head svg { width: 30px; height: 30px; color: var(--brand-600); flex: none; }
.wecom-card-head h4 { font-size: 16px; }
.wecom-card-head p { font-size: 13px; color: var(--muted); }
.wecom-card-body { padding-top: 15px; }
.wecom-card-body p { font-size: 14.5px; color: var(--muted); margin-bottom: 15px; }

/* ---------- 16. CTA 区块 ---------- */
.cta { background: linear-gradient(135deg, var(--dark), var(--brand-800) 70%, var(--brand-700)); color: #fff; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  border-radius: 50%; background: radial-gradient(circle, rgba(75, 211, 172, .28), transparent 68%);
}
.cta-inner { position: relative; z-index: 1; padding: 62px 0; display: grid; gap: 28px; align-items: center; }
.cta h2 { color: #fff; }
.cta p { margin-top: 12px; max-width: 640px; color: rgba(255, 255, 255, .78); font-size: 16px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) {
  .cta-inner { grid-template-columns: 1fr auto; gap: 46px; padding: 72px 0; }
}

/* ---------- 17. 页脚 ---------- */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .68); padding: 62px 0 0; font-size: 14.5px; }
.footer-grid { display: grid; gap: 38px; padding-bottom: 44px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 44px; } }
.footer-brand { display: flex; align-items: center; }
.footer-brand img { height: 46px; width: auto; }
.footer-about { margin-top: 18px; max-width: 380px; line-height: 1.85; font-size: 14px; }
.footer-col h4 { font-size: 15px; color: #fff; margin-bottom: 16px; letter-spacing: .02em; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a:hover { color: var(--brand-400); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--brand-400); }
.footer-contact .big { font-size: 17px; font-weight: 800; color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0; display: flex; flex-wrap: wrap; gap: 12px 22px;
  align-items: center; justify-content: space-between; font-size: 13px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a:hover { color: var(--brand-400); }
.footer-disclaimer { padding: 14px 0 8px; font-size: 12.5px; color: rgba(255, 255, 255, .42); line-height: 1.7; }

/* ---------- 18. 回到顶部 ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 22px; z-index: 70;
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); color: var(--brand-700);
  box-shadow: var(--sh-md); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.to-top.is-on { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 20px; height: 20px; }

/* 移动端底部快捷条 */
.mobile-bar { display: none; }

/* ---------- 19. 提示条 ---------- */
.notice {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px; border-radius: var(--r);
  background: var(--brand-50); border: 1px solid var(--brand-100);
  font-size: 14.5px; color: var(--brand-900);
}
.notice svg { width: 20px; height: 20px; flex: none; color: var(--brand-600); margin-top: 2px; }
.notice--warn { background: #FFF8EC; border-color: #F5E2BE; color: #7A5200; }
.notice--warn svg { color: var(--warn); }
.notice--red { background: var(--red-soft); border-color: #F8D3D7; color: #9E0010; }
.notice--red svg { color: var(--red); }

/* ---------- 20. 动画 ---------- */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:hover, .card:hover, .product-card:hover, .case-card:hover, .sol-card:hover { transform: none; }
}

/* ---------- 21. 响应式 ---------- */
@media (max-width: 1119px) and (min-width: 961px) {
  .nav-link { padding: 9px 10px; font-size: 14.5px; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; scroll-padding-top: 76px; }
  .container { padding: 0 18px; }
  .section { padding: 60px 0; }
  .section--tight { padding: 48px 0; }
  .section-head { margin-bottom: 34px; }

  .brand img { height: 32px; }

  .nav-toggle { display: grid; }

  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 4px;
    max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    padding: 14px 18px 26px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 42px rgba(12, 33, 28, .15);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-link { padding: 13px 14px; font-size: 16px; border-radius: 10px; }
  .nav-link.is-active { background: var(--brand-100); }
  .nav-cta { margin: 12px 0 0; }
  .nav-cta .btn { width: 100%; }

  .hero { padding: 40px 0 52px; }
  .hero-lead { font-size: 16px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-panel { padding: 20px; }

  .page-hero { padding: 38px 0 32px; }
  .page-hero .lead { font-size: 16px; }

  .split { gap: 32px; }
  .card, .product-card-body, .num-card, .sol-card { padding-left: 20px; padding-right: 20px; }
  .cta-inner { padding: 50px 0; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 100%; }

  .site-footer { padding-top: 48px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .to-top { right: 14px; bottom: 78px; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 88;
    background: var(--line); border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a, .mobile-bar button {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 10px; background: #fff; font-size: 15px; font-weight: 700; color: var(--ink);
  }
  .mobile-bar svg { width: 18px; height: 18px; color: var(--brand-600); }
  .mobile-bar .primary { background: linear-gradient(135deg, var(--brand-600), var(--brand-500)); color: #fff; }
  .mobile-bar .primary svg { color: #fff; }
  body { padding-bottom: 52px; }
}

@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li { padding: 18px 12px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-tags { font-size: 13.5px; gap: 8px 14px; }
  .form-panel { padding: 20px; }
  .footer-links { gap: 14px; }
}

/* ---------- 22. 打印 ---------- */
@media print {
  .site-header, .to-top, .mobile-bar, .cta { display: none !important; }
  body { color: #000; }
}
