/* ==========================================================================
   南京先攻科技有限公司 · 官网样式
   浅色主题 / 无第三方依赖 / 响应式
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  --brand: #3355ff;
  --brand-600: #2340e6;
  --brand-700: #1a32bf;
  --brand-50: #eef2ff;
  --brand-100: #dfe6ff;
  --violet: #7c4dff;
  --accent: #ff6a3d;
  --accent-50: #fff1ec;
  --success: #12b886;

  --ink: #0f1533;
  --ink-2: #3b4468;
  --muted: #6b7494;
  --subtle: #98a0bd;

  --bg: #ffffff;
  --bg-soft: #f6f8fd;
  --bg-soft-2: #eef2fb;
  --line: #e6eaf5;

  --grad: linear-gradient(135deg, #3355ff 0%, #7c4dff 100%);
  --grad-soft: linear-gradient(135deg, #eef2ff 0%, #f3edff 100%);
  /* 产品「桔子工作台」的标识色，用在 logo 标记与产品徽标上 */
  --grad-juzi: linear-gradient(135deg, #ff9a3d 0%, #ff5c2b 100%);

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;

  --shadow-xs: 0 1px 2px rgba(15, 21, 51, .06);
  --shadow-s: 0 4px 16px rgba(15, 21, 51, .06);
  --shadow-m: 0 12px 32px rgba(15, 21, 51, .08);
  --shadow-l: 0 24px 60px rgba(15, 21, 51, .12);
  --shadow-brand: 0 12px 28px rgba(51, 85, 255, .28);

  --container: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB",
    "Source Han Sans CN", "Noto Sans CJK SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
}

p { margin: 0; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a {
  color: var(--brand);
  text-decoration: none;
  transition: color .2s var(--ease);
}
a:hover { color: var(--brand-600); }

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--brand-100); color: var(--brand-700); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. 布局工具 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 72px 0; }

.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head.is-left {
  margin-left: 0;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.section-title {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--muted);
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grad-juzi {
  background: var(--grad-juzi);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow--juzi {
  background: var(--accent-50);
  color: #d1441a;
}
.eyebrow--juzi::before { background: var(--accent); }

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
    background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { color: #fff; box-shadow: 0 16px 34px rgba(51, 85, 255, .34); }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}
.btn-ghost:hover { border-color: var(--brand-100); color: var(--brand-700); }

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px rgba(255, 106, 61, .3);
}
.btn-accent:hover { color: #fff; }

.btn-lg { height: 54px; padding: 0 32px; font-size: 16px; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
}
.link-arrow svg { transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 5. 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(15, 21, 51, .05);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  flex-shrink: 0;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--grad-juzi);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 19px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(255, 92, 43, .3);
}

.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { font-size: 17px; font-weight: 700; letter-spacing: .01em; }
.logo-text em {
  font-style: normal;
  font-size: 11px;
  color: var(--subtle);
  letter-spacing: .02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav > a {
  position: relative;
  padding: 8px 16px;
  border-radius: 10px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}

.nav > a:hover { color: var(--brand); background: var(--brand-50); }
.nav > a.active { color: var(--brand); font-weight: 600; }

.nav-cta { margin-left: 12px; }
.nav > a.nav-cta:hover { background: var(--grad); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 11px 10px;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- 6. 首屏 ---------- */
.hero {
  position: relative;
  padding: 88px 0 96px;
  background: linear-gradient(180deg, #f7f9ff 0%, #fdfdff 60%, #ffffff 100%);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  pointer-events: none;
}

.hero::before {
  width: 520px; height: 520px;
  top: -200px; right: -120px;
  background: radial-gradient(circle, rgba(124, 77, 255, .38), transparent 70%);
}

.hero::after {
  width: 460px; height: 460px;
  bottom: -220px; left: -140px;
  background: radial-gradient(circle, rgba(51, 85, 255, .3), transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.2;
  margin-bottom: 22px;
  letter-spacing: -.02em;
}

.hero-lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 28px 0 0;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.tick {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.tick svg { width: 11px; height: 11px; }

/* 首屏可视化：模拟控制台 */
.hero-visual { position: relative; }

.console {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
  padding: 20px;
  position: relative;
  z-index: 2;
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.console-dots { display: flex; gap: 6px; }
.console-dots i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--bg-soft-2);
}
.console-dots i:first-child { background: #ffbdb0; }
.console-dots i:nth-child(2) { background: #ffe0a3; }
.console-dots i:nth-child(3) { background: #b6ecd8; }

.console-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.live-pill {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-50);
  color: #e04f22;
  font-size: 12px;
  font-weight: 700;
}

.live-pill i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #ff5a2c;
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.72); }
}

.console-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.kpi {
  background: var(--bg-soft);
  border-radius: var(--radius-s);
  padding: 12px 14px;
}
.kpi span { display: block; font-size: 12px; color: var(--muted); }
.kpi strong { font-size: 20px; color: var(--ink); letter-spacing: -.02em; }
.kpi em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--success);
}

.chart {
  height: 132px;
  display: flex;
  align-items: flex-end;
  gap: 9px;
  padding: 0 2px 4px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 18px;
}

.chart i {
  flex: 1;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #7c4dff 0%, #3355ff 100%);
  opacity: .22;
  transform-origin: bottom;
  animation: grow 1s var(--ease) both;
}
.chart i.hot { opacity: 1; }

@keyframes grow {
  from { transform: scaleY(.04); }
  to { transform: scaleY(1); }
}

.feed { display: grid; gap: 10px; }

.feed-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: #fff;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.feed-item:hover { border-color: var(--brand-100); transform: translateX(3px); }

.feed-ico {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--grad-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.feed-ico svg { width: 16px; height: 16px; }

.feed-main { min-width: 0; flex: 1; }
.feed-main b { display: block; font-size: 14px; color: var(--ink); font-weight: 600; }
.feed-main span { font-size: 12.5px; color: var(--muted); }

.tag {
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  background: var(--brand-50);
  color: var(--brand-700);
  white-space: nowrap;
}
.tag--green { background: #e6f8f1; color: #0d8f6b; }
.tag--orange { background: var(--accent-50); color: #e04f22; }

.float-card {
  position: absolute;
  z-index: 3;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-m);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: bob 5s ease-in-out infinite;
}

.float-card b { font-size: 15px; color: var(--ink); display: block; line-height: 1.3; }
.float-card span { font-size: 12px; color: var(--muted); }

.float-card--tl { top: -22px; left: -26px; }
.float-card--br { bottom: -26px; right: -18px; animation-delay: 1.6s; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.badge-round {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.badge-round.is-green { background: #e6f8f1; color: #0d8f6b; }
.badge-round.is-brand { background: var(--brand-50); color: var(--brand); }
.badge-round svg { width: 17px; height: 17px; }

/* ---------- 7. 信任条 ---------- */
.trust {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 40px;
  justify-content: space-between;
}

.trust-label {
  font-size: 13.5px;
  color: var(--subtle);
  font-weight: 600;
  letter-spacing: .04em;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  align-items: center;
}

.trust-list li {
  font-size: 15px;
  font-weight: 700;
  color: #9aa2bf;
  letter-spacing: .02em;
  transition: color .2s var(--ease);
}
.trust-list li:hover { color: var(--ink-2); }

/* ---------- 8. 通用卡片网格 ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 32px 28px;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-m);
  border-color: var(--brand-100);
}
.card:hover::after { transform: scaleX(1); }

.card-ico {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--grad-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.card-ico svg { width: 25px; height: 25px; }

.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--muted); }

.card-list {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.card-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-2);
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--brand);
  opacity: .55;
}

/* 版本套餐卡片 */
.card--featured {
  border-color: var(--brand);
  box-shadow: var(--shadow-m);
}
.card--featured::after { transform: scaleX(1); }

.card-flag {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}

.plan-for {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 8px;
  background: var(--bg-soft-2);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
}

.plan-foot { margin-top: 24px; }
.plan-foot .btn { width: 100%; }

/* 产品规格表 */
.spec-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  /* 两侧滚动阴影：local 层随内容滚动、把 scroll 层的阴影盖住，
     因此阴影只在该侧还有内容可滑时出现，滑到头自动消失 */
  background:
    linear-gradient(to right, #fff 40%, rgba(255, 255, 255, 0)) left center,
    linear-gradient(to left, #fff 40%, rgba(255, 255, 255, 0)) right center,
    radial-gradient(farthest-side at 0 50%, rgba(15, 23, 42, .13), rgba(15, 23, 42, 0)) left center,
    radial-gradient(farthest-side at 100% 50%, rgba(15, 23, 42, .13), rgba(15, 23, 42, 0)) right center;
  background-color: #fff;
  background-repeat: no-repeat;
  background-size: 44px 100%, 44px 100%, 15px 100%, 15px 100%;
  background-attachment: local, local, scroll, scroll;
}

.spec {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.spec th,
.spec td {
  padding: 15px 22px;
  text-align: left;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec thead th {
  background: var(--bg-soft);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.spec tbody td:first-child {
  color: var(--ink);
  font-weight: 600;
  width: 190px;
  white-space: nowrap;
}

.spec tbody td { color: var(--muted); }
.spec tbody tr:last-child td { border-bottom: none; }
.spec tbody tr:hover td { background: #fafbff; }

.spec .center { text-align: center; }
.spec .yes { color: var(--success); font-weight: 700; }
.spec .no { color: var(--subtle); }
.spec thead th.is-hot { color: var(--brand-700); background: var(--brand-50); }

/* ---------- 9. 流程步骤 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-s); }

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 14px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .9;
}

.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

.step-arrow {
  position: absolute;
  top: 50%;
  right: -14px;
  transform: translateY(-50%);
  color: var(--brand-100);
  z-index: 1;
}

/* ---------- 10. 图文对照区 ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
}

.split.is-reverse .split-media { order: -1; }

.split h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 18px;
}

.split-lead { font-size: 16.5px; color: var(--muted); margin-bottom: 28px; }

.feature-list { display: grid; gap: 20px; }

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-item .badge-round {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand);
}
.feature-item .badge-round svg { width: 19px; height: 19px; }

.feature-item h4 { font-size: 16px; margin-bottom: 4px; }
.feature-item p { font-size: 14.5px; color: var(--muted); }

.media-frame {
  position: relative;
  border-radius: var(--radius-l);
  padding: 28px;
  background: var(--grad-soft);
  border: 1px solid var(--line);
}

.compare {
  display: grid;
  gap: 14px;
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow-xs);
}

.compare-row .old { font-size: 13.5px; color: var(--subtle); text-decoration: line-through; }
.compare-row .new { font-size: 14.5px; color: var(--ink); font-weight: 600; text-align: right; }
.compare-row .arw { color: var(--brand); display: grid; place-items: center; }
.compare-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--subtle);
  letter-spacing: .06em;
  padding: 0 16px;
}
.compare-head span:last-child { text-align: right; }

/* ---------- 11. 数据统计 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.stat {
  text-align: center;
  padding: 28px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat-num {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-num .suf { font-size: .55em; }
.stat p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* ---------- 12. 客户评价 ---------- */
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.quote:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); }

.quote-mark {
  font-size: 44px;
  line-height: .6;
  color: var(--brand-100);
  font-family: Georgia, serif;
}

.quote p { font-size: 15px; color: var(--ink-2); flex: 1; }

.quote-by {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.quote-by b { display: block; font-size: 14.5px; color: var(--ink); }
.quote-by span { font-size: 13px; color: var(--muted); }

/* ---------- 13. CTA 区块 ---------- */
.cta {
  position: relative;
  border-radius: var(--radius-l);
  padding: 60px 56px;
  background: var(--grad);
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-l);
}

.cta::before,
.cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  pointer-events: none;
}
.cta::before { width: 320px; height: 320px; top: -150px; right: 60px; }
.cta::after { width: 220px; height: 220px; bottom: -120px; right: -60px; }

.cta-text { position: relative; z-index: 1; max-width: 620px; }
.cta h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; }
.cta p { color: rgba(255, 255, 255, .88); font-size: 16px; }

.cta .btn-row { position: relative; z-index: 1; }

.btn-white { background: #fff; color: var(--brand-700); box-shadow: 0 12px 28px rgba(10, 20, 60, .2); }
.btn-white:hover { color: var(--brand-700); }

.btn-outline-white {
  border: 1px solid rgba(255, 255, 255, .55);
  color: #fff;
  background: rgba(255, 255, 255, .08);
}
.btn-outline-white:hover { color: #fff; background: rgba(255, 255, 255, .18); }

/* ---------- 14. 内页页头 ---------- */
.page-hero {
  position: relative;
  padding: 72px 0 64px;
  background: linear-gradient(180deg, #f4f7ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  top: -260px; right: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 77, 255, .28), transparent 70%);
  filter: blur(70px);
}

.page-hero-inner { position: relative; z-index: 1; max-width: 780px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 16px; }
.page-hero p { font-size: 17px; color: var(--muted); }

.crumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13.5px;
  color: var(--subtle);
  margin-bottom: 18px;
}
.crumb a { color: var(--subtle); }
.crumb a:hover { color: var(--brand); }

/* ---------- 15. 时间轴 ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: 28px;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), rgba(124, 77, 255, .1));
}

.timeline-item { position: relative; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 8px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand);
  box-shadow: 0 0 0 4px var(--brand-50);
}

.timeline-item time {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .04em;
  margin-bottom: 6px;
}
.timeline-item h4 { font-size: 17px; margin-bottom: 6px; }
.timeline-item p { font-size: 14.5px; color: var(--muted); }

/* ---------- 16. 折叠问答 ---------- */
.faq { display: grid; gap: 14px; max-width: 860px; margin: 0 auto; }

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq-item.is-open { border-color: var(--brand-100); box-shadow: var(--shadow-s); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.faq-q i {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--brand-50);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 18px;
  line-height: 1;
  transition: transform .25s var(--ease);
}
.faq-item.is-open .faq-q i { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s var(--ease);
}
.faq-a p {
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- 17. 联系页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

.info-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.info-card:hover { border-color: var(--brand-100); transform: translateY(-3px); }
.info-card h4 { font-size: 15px; margin-bottom: 4px; }
.info-card p { font-size: 14.5px; color: var(--muted); word-break: break-all; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 36px;
  box-shadow: var(--shadow-s);
}

.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.field label .req { color: var(--accent); margin-left: 2px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}

.field textarea { min-height: 124px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(51, 85, 255, .1);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--subtle); }

.field .err {
  display: none;
  margin-top: 6px;
  font-size: 13px;
  color: #e04f22;
}
.field.is-invalid input,
.field.is-invalid textarea { border-color: #f0a08a; background: #fff8f6; }
.field.is-invalid .err { display: block; }

.form-note { font-size: 13px; color: var(--subtle); margin-top: 14px; }

.form-msg {
  display: none;
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: var(--radius-s);
  background: #e6f8f1;
  border: 1px solid #b6ecd8;
  color: #0d8f6b;
  font-size: 14.5px;
}
.form-msg.is-show { display: block; }
.form-msg a { color: #0a7a5b; text-decoration: underline; }
.form-msg a:hover { color: #075c44; }

/* ---------- 18. 页脚 ---------- */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 64px 0 28px;
  color: var(--muted);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 14.5px; max-width: 360px; }

.footer-col h5 {
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-col li { margin-bottom: 10px; }
.footer-col a, .footer-col span { font-size: 14.5px; color: var(--muted); }
.footer-col a:hover { color: var(--brand); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
}

.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--brand); }
.beian { display: inline-flex; gap: 18px; flex-wrap: wrap; }

/* ---------- 19. 回到顶部 ---------- */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-m);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.to-top.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- 20. 滚动入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 21. 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hero-lead { max-width: none; }
  .float-card--tl { left: 0; }
  .float-card--br { right: 0; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-arrow { display: none; }
  .split { gap: 44px; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 20px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-m);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }

  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav > a { padding: 13px 14px; font-size: 16px; }
  .nav-cta { margin: 8px 0 0; height: 48px; }

  .section { padding: 72px 0; }
  /* 必须是 minmax(0,1fr) 而非 1fr：裸 1fr 的轨道 min-width 为 auto，
     会拒绝收缩到子元素 min-content 以下（.spec 有 min-width:640px），
     导致整个网格撑到 660px 被 body 的 overflow-x:hidden 静默切掉 */
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .split, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .split.is-reverse .split-media { order: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { padding: 44px 30px; }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .section { padding: 60px 0; }
  .hero { padding: 56px 0 72px; }
  .grid-2, .grid-4, .steps { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .console-kpis { grid-template-columns: minmax(0, 1fr); }
  .float-card { display: none; }
  .form-card { padding: 26px 20px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .logo-text strong { font-size: 16px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .nav .btn { width: 100%; }
  .footer-bottom { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 22. 打印 ---------- */
@media print {
  .site-header, .to-top, .cta, .nav-toggle { display: none !important; }
  body { color: #000; }
}
