/*
 * home.css · 首页与二级页共用样式（依据 design/code.html 设计稿 1:1 转写）
 * Page: Home（首页）/ Cases（客户案例）/ FAQ（常见问题）
 * Purpose: 将设计稿的 Tailwind 工具类转写为语义化 CSS，作用于 .home-page 与
 *          .sub-page（/cases、/faq 二级页，共用同一套设计令牌与 .hp-* 组件），
 *          不污染 site.css 的全局令牌与 /articles 等沿用旧样式的页面。
 * Future Components: HomePage.vue / HeroSection.vue / EvidenceSection.vue /
 *                    WhyTrustSection.vue / HowAiBuildsSection.vue / TrustSuiteSection.vue /
 *                    IndustrySolutionsSection.vue / CaseGroupsSection.vue /
 *                    NewsPreviewSection.vue / FaqSection.vue / AuditContactSection.vue / SiteFooter.vue
 * Possible APIs: GET /globals/site-settings, GET /home-page, GET /globals/why-trust,
 *                GET /globals/trust-suite, GET /globals/industry-solutions,
 *                GET /cases-module, GET /news-module, GET /faq-module, POST /api/leads
 *
 * 令牌前缀统一 --hp-*，避免与 site.css 的 --color-* / --radius-* / --shadow-* 冲突。
 *
 * ---------- 字号档位规范 ----------
 * > 16px：沿用设计稿原值，不做修改（18 / 20 / 24 / 30 / 36 / 48 / 60）。
 * < 16px：统一收敛到 12px / 14px / 16px 三档，按页面结构角色取档：
 *   · 12px —— 眉标、mono 标签、编号、徽章、元信息、辅助说明、卡片正文与描述、
 *             表单 label / 提示、页脚等次要或密集信息层
 *   · 14px —— 区块描述正文（.hp-desc）、卡片标题（新闻 / 对比 / 表单卡 / 案例卡）、
 *             步骤标题、强调数值与图标
 *   · 16px —— 子区块标题、案例分组标题、交付流程标题、Hero 副标题、主/次 CTA 按钮、面板标题
 * 同一卡片内「标题 12px/700 + 描述 12px/400」以字重与颜色区分层级，
 * 不再依赖设计稿原有的 10px / 11px 微差。
 */

/* ========== 设计令牌 ========== */
.home-page,
.sub-page {
  --hp-brand: #fa6400;
  --hp-brand-hover: #e05600;
  --hp-brand-50: #fff7ed;
  --hp-brand-100: #ffedd5;
  --hp-brand-200: #fed7aa;
  --hp-brand-400: #fb923c;

  --hp-slate-50: #f8fafc;
  --hp-slate-100: #f1f5f9;
  --hp-slate-200: #e2e8f0;
  --hp-slate-300: #cbd5e1;
  --hp-slate-400: #94a3b8;
  --hp-slate-500: #64748b;
  --hp-slate-600: #475569;
  --hp-slate-700: #334155;
  --hp-slate-800: #1e293b;
  --hp-slate-900: #0f172a;

  --hp-dark: #171e2e;
  --hp-audit: #0f172a;
  --hp-footer: #0b101d;
  --hp-page-bg: #fafbfc;

  --hp-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
    'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --hp-font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont,
    'PingFang SC', 'Microsoft YaHei', sans-serif;
  --hp-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --hp-radius: 4px;
  --hp-radius-lg: 8px;
  --hp-radius-xl: 12px;
  --hp-radius-2xl: 16px;
  --hp-radius-full: 9999px;

  --hp-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --hp-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --hp-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --hp-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

  /* 卡片 hover 上浮专用令牌（设计稿未定义卡片 hover 态，由「卡片 hover 浮动统一层」使用）
     --hp-shadow-lift：强度介于 --hp-shadow-md 与 --hp-shadow-xl 之间，与 -4px 位移匹配 */
  --hp-shadow-lift: 0 12px 24px -8px rgb(15 23 42 / 0.14), 0 4px 8px -4px rgb(15 23 42 / 0.08);

  background: var(--hp-page-bg);
  color: var(--hp-slate-900);
  font-family: var(--hp-font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeSpeed;
}

.home-page *,
.home-page *::before,
.home-page *::after,
.sub-page *,
.sub-page *::before,
.sub-page *::after {
  box-sizing: border-box;
}

/* ---------- 基础重置 ----------
 * 一律用 :where() 包裹标签名，使特异度归零为 (0,1,0)，与组件类选择器同级。
 * 否则 `.home-page h1` 这类写法特异度为 (0,1,1)，会无条件压过 `.hp-desc`、
 * `.hp-btn--primary`、`.hp-hero__subtitle` 等单类组件规则 (0,1,0)——
 * 即使组件规则写在后面也无效，导致 margin / color 被静默归零。
 * 重置写在组件规则之前，同级时后来者胜出，符合「重置让位于组件」的预期。
 * :where() 支持度：Chrome 88+ / Safari 14+ / Firefox 78+ / Edge 88+。
 * .sub-page（/cases、/faq）与 .home-page 并列声明，保持同等 (0,1,0) 特异度。 */
.home-page :where(h1, h2, h3, h4, p, ul, ol, figure),
.sub-page :where(h1, h2, h3, h4, p, ul, ol, figure) {
  margin: 0;
  padding: 0;
}

.home-page :where(ul, ol),
.sub-page :where(ul, ol) {
  list-style: none;
}

.home-page :where(a),
.sub-page :where(a) {
  color: inherit;
  text-decoration: none;
}

.home-page :where(img),
.sub-page :where(img) {
  display: block;
  max-width: 100%;
}

.home-page :where(button),
.sub-page :where(button) {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

/* ========== 通用布局 ========== */
.hp-wrap {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 16px;
}

.hp-wrap--5xl { max-width: 1024px; }
.hp-wrap--4xl { max-width: 896px; }
.hp-wrap--3xl { max-width: 768px; }
.hp-wrap--2xl { max-width: 672px; }
.hp-wrap--xl  { max-width: 576px; }

.hp-section {
  padding: 64px 0;
}

.hp-section--line {
  border-top: 1px solid var(--hp-slate-100);
}

.hp-section--soft {
  background: var(--hp-slate-50);
  border-top: 1px solid rgb(226 232 240 / 0.7);
}

.hp-section--white {
  background: #fff;
}

/* 居中区块头 */
.hp-head {
  max-width: 768px;
  margin: 0 auto 40px;
  text-align: center;
}

.hp-head--xl  { max-width: 576px; }
.hp-head--2xl { max-width: 672px; }
.hp-head--3xl { max-width: 768px; }
.hp-head--mb10 { margin-bottom: 40px; }
.hp-head--mb12 { margin-bottom: 48px; }
.hp-head--mb8  { margin-bottom: 32px; }

.hp-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: var(--hp-font-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hp-brand);
}

/* 眉标小变体：字号统一收敛至 12px 档，仅以字重 600 与 .hp-eyebrow（700）区分 */
.hp-eyebrow--sm {
  font-weight: 600;
}

.hp-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: var(--hp-radius-full);
  background: var(--hp-brand);
  flex: none;
}

.hp-title {
  margin-top: 4px;
  font-family: var(--hp-font-display);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--hp-slate-900);
}

.hp-title--flush { margin-top: 0; }

.hp-desc {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--hp-slate-600);
}

.hp-desc--xs {
  margin-top: 4px;
  font-size: 12px;
  color: var(--hp-slate-500);
}

/* 子区块头 */
.hp-subhead {
  max-width: 672px;
  margin: 0 auto 24px;
  text-align: center;
}

.hp-subhead--tight { margin-bottom: 16px; }
.hp-subhead--spaced { margin-top: 48px; }

.hp-subhead__eyebrow {
  display: block;
  font-family: var(--hp-font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hp-brand);
}

.hp-subhead__title {
  margin-top: 2px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--hp-slate-900);
}

.hp-subhead__desc {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--hp-slate-500);
}

/* 按钮 · 尺寸严格对齐设计稿 Tailwind 行高
 * text-base → 16px/24px，text-xs → 12px/16px
 * 主/次 CTA：px-6 py-3 + 24px 行高 = 48px 高（ghost 含 1px 边框 = 50px）
 * 资讯「查看更多资讯」：px-4 py-2 + 16px 行高 = 32px 高 */
.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: var(--hp-radius-lg);
  font-weight: 600;
  line-height: 1.5;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.hp-btn--primary {
  padding: 12px 24px;
  background: var(--hp-brand);
  color: #fff;
  font-size: 16px;
  line-height: 24px;
  box-shadow: 0 4px 6px -1px rgb(249 115 22 / 0.25), 0 2px 4px -2px rgb(249 115 22 / 0.25);
}

.hp-btn--primary:hover { background: var(--hp-brand-hover); }

.hp-btn--ghost {
  padding: 12px 24px;
  background: #fff;
  border: 1px solid var(--hp-slate-200);
  color: var(--hp-slate-700);
  font-size: 16px;
  line-height: 24px;
}

.hp-btn--ghost:hover { background: var(--hp-slate-50); }

.hp-btn--sm {
  padding: 8px 16px;
  font-size: 12px;
  line-height: 16px;
  background: #fff;
  border: 1px solid var(--hp-slate-200);
  color: var(--hp-slate-700);
}

/* Hero 主 CTA 图标：设计稿 text-lg（18px），大于按钮 16px 字号 */
.hp-btn--primary .hp-icon,
.hp-btn--ghost .hp-icon {
  font-size: 18px;
}

.hp-btn--sm:hover { background: var(--hp-slate-50); }

.hp-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: none;
  vertical-align: -0.125em;
}

.hp-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ========== Hero ========== */
.hp-hero {
  position: relative;
  padding: 64px 0 80px;
  overflow: hidden;
  background: linear-gradient(
    to bottom,
    rgb(255 247 237 / 0.4) 0%,
    #fff 45%,
    rgb(255 255 255 / 0) 100%
  );
}

/* 粒子背景层 · 铺满 hero，位于 .hp-hero 渐变背景之上、文案之下
   （canvas 由 /js/site-enhance.js 的 bindHeroParticles 绘制，此处只负责定位与淡出） */
.hp-hero__particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* 与 hero 背景同向淡出，避免粒子在区块下边界被生硬截断 */
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgb(0 0 0 / 0.95) 0%,
    rgb(0 0 0 / 0.7) 50%,
    rgb(0 0 0 / 0) 96%
  );
  mask-image: linear-gradient(
    to bottom,
    rgb(0 0 0 / 0.95) 0%,
    rgb(0 0 0 / 0.7) 50%,
    rgb(0 0 0 / 0) 96%
  );
}

.hp-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hp-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  padding: 4px 12px;
  border: 1px solid rgb(254 215 170 / 0.8);
  border-radius: var(--hp-radius-full);
  background: var(--hp-brand-50);
  font-size: 12px;
  font-weight: 600;
  color: var(--hp-brand);
}

.hp-hero__badge .hp-dot {
  width: 6px;
  height: 6px;
}

.hp-hero__title {
  font-family: var(--hp-font-display);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--hp-slate-900);
}

.hp-hero__subtitle {
  max-width: 768px;
  margin: 16px auto 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--hp-slate-600);
}

.hp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

/* 深色指标条 */
.hp-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  max-width: 896px;
  margin: 48px auto 0;
  padding: 24px;
  border-radius: var(--hp-radius-2xl);
  background: var(--hp-slate-900);
  color: #fff;
  text-align: left;
  box-shadow: 0 20px 25px -5px rgb(15 23 42 / 0.1), 0 8px 10px -6px rgb(15 23 42 / 0.1);
}

.hp-metric {
  padding: 8px 16px;
  border-top: 1px solid var(--hp-slate-800);
}

.hp-metric:nth-child(-n + 2) { border-top: 0; }

.hp-metric__value {
  font-family: var(--hp-font-display);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

.hp-metric__label {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--hp-slate-400);
}

/* 4 优势卡 */
.hp-badges {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  max-width: 896px;
  margin: 24px auto 0;
  text-align: left;
}

.hp-badge-card {
  padding: 16px;
  border: 1px solid rgb(226 232 240 / 0.8);
  border-radius: var(--hp-radius-xl);
  background: #fff;
  box-shadow: var(--hp-shadow-sm);
}

.hp-badge-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
  border-radius: var(--hp-radius-lg);
  background: var(--hp-brand-50);
  color: var(--hp-brand);
  font-size: 18px;
}

.hp-badge-card__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--hp-slate-900);
}

.hp-badge-card__desc {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--hp-slate-500);
}

/* ========== Evidence · 能力底座 ========== */
.hp-evidence__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.hp-evidence-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid rgb(226 232 240 / 0.8);
  border-radius: var(--hp-radius-2xl);
  background: var(--hp-slate-50);
}

.hp-evidence-card__title {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--hp-slate-900);
}

.hp-evidence-card__figure {
  margin-top: 12px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgb(226 232 240 / 0.8);
  border-radius: var(--hp-radius-xl);
  background: var(--hp-slate-900);
  box-shadow: var(--hp-shadow-sm);
}

.hp-evidence-card__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 公司简介正文 · 设计稿 <p class="mt-3 text-sm text-slate-600 leading-relaxed"> */
.hp-evidence__intro {
  line-height: 1.625;
}

.hp-evidence__banner {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--hp-brand);
}

/* 区块头内形态：置于公司简介之下，与简介保持 16px 间距 */
.hp-evidence__banner--spaced {
  margin-top: 16px;
}

/* 模块底部形态：置于能力卡栅格之后，居中并与栅格保持 24px 间距 */
.hp-evidence__banner--foot {
  margin-top: 24px;
  text-align: center;
}

/* ========== Future · 3 数据卡 ========== */
.hp-stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.hp-stat {
  padding: 20px;
  border: 1px solid rgb(226 232 240 / 0.8);
  border-radius: var(--hp-radius-xl);
  background: #fff;
  box-shadow: var(--hp-shadow-sm);
}

.hp-stat--hot {
  background: rgb(255 247 237 / 0.6);
  border-color: rgb(254 215 170 / 0.8);
}

.hp-stat__tag {
  font-family: var(--hp-font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--hp-slate-400);
}

.hp-stat--hot .hp-stat__tag { color: var(--hp-brand); }

.hp-stat__num {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 8px;
}

.hp-stat__value {
  font-family: var(--hp-font-display);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--hp-slate-900);
}

.hp-stat__unit {
  font-size: 18px;
  font-weight: 700;
  color: var(--hp-slate-600);
}

.hp-stat__meta {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--hp-slate-800);
}

.hp-stat__sub {
  margin-top: 4px;
  font-size: 12px;
  color: var(--hp-slate-400);
}

/* 数据卡徽标 · 后台字段「徽标」，位于指标说明下方
 * 纯文本形态：以品牌橙 + 600 字重与上方指标说明区分层级，不加胶囊外壳
 * 上间距与 .hp-stat__sub 保持一致（4px），使「指标说明 → 徽标 → 补充说明」等距 */
.hp-stat__badge {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--hp-brand);
}

.hp-stat__desc {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--hp-slate-700);
}

.hp-stat__takeaway {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--hp-brand);
}

.hp-stat__takeaway .hp-icon { font-size: 14px; }

/* 数据来源 · 后台字段「数据来源」，紧随 AI 入口数据卡区域之下
 * 存在数据来源时，数据卡区收窄为 12px 紧凑间距，注解与卡片保持同一视觉组 */
.hp-stats:has(+ .hp-stats__source) {
  margin-bottom: 12px;
}

.hp-stats__source {
  margin-bottom: 32px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--hp-slate-500);
}

/* ========== Future · 3 步 ========== */
.hp-steps-box {
  margin-bottom: 48px;
  padding: 24px;
  border: 1px solid rgb(226 232 240 / 0.8);
  border-radius: var(--hp-radius-2xl);
  background: #fff;
  box-shadow: var(--hp-shadow-sm);
}

.hp-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.hp-step__num {
  margin-bottom: 4px;
  font-family: var(--hp-font-mono);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--hp-brand-400);
}

.hp-step__title {
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--hp-slate-900);
}

.hp-step__desc {
  font-size: 12px;
  line-height: 1.7;
  color: var(--hp-slate-500);
}

/* ========== Future · 6 行业提问 ========== */
.hp-ind-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.hp-ind-card {
  padding: 16px;
  border: 1px solid rgb(226 232 240 / 0.8);
  border-radius: var(--hp-radius-xl);
  background: #fff;
  box-shadow: var(--hp-shadow-sm);
}

.hp-ind-card__name {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--hp-slate-900);
}

.hp-ind-card__name .hp-icon {
  font-size: 14px;
  color: var(--hp-brand);
}

.hp-ind-card__question {
  font-size: 12px;
  font-style: italic;
  line-height: 1.7;
  color: var(--hp-slate-500);
}

/* ========== 暗色 · HOW AI BUILDS AN ANSWER ========== */
.hp-howai {
  padding: 64px 0;
  background: var(--hp-dark);
  color: #fff;
}

.hp-howai__head {
  max-width: 672px;
  margin: 0 auto 40px;
  text-align: center;
}

.hp-howai__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--hp-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hp-brand-400);
}

.hp-howai__eyebrow .hp-dot { background: var(--hp-brand-400); }

.hp-howai__title {
  margin-top: 4px;
  font-family: var(--hp-font-display);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
}

.hp-howai__desc {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--hp-slate-400);
}

.hp-howai__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.hp-howai-card {
  position: relative;
  padding: 16px;
  border: 1px solid rgb(51 65 85 / 0.6);
  border-radius: var(--hp-radius-xl);
  background: rgb(30 41 59 / 0.7);
}

.hp-howai-card--star { border-color: rgb(249 115 22 / 0.5); }

.hp-howai-card__star {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 12px;
  line-height: 1;
  color: var(--hp-brand-400);
}

.hp-howai-card__num {
  margin-bottom: 4px;
  font-family: var(--hp-font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hp-brand-400);
}

.hp-howai-card__title {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.hp-howai-card__desc {
  font-size: 12px;
  line-height: 1.7;
  color: var(--hp-slate-400);
}

/* ========== Services · Tuta GEO System ========== */
.hp-services__box {
  padding: 24px;
  border: 1px solid rgb(226 232 240 / 0.8);
  border-radius: var(--hp-radius-2xl);
  background: var(--hp-slate-50);
  box-shadow: var(--hp-shadow-sm);
}

.hp-method-head {
  margin-bottom: 24px;
  text-align: center;
}

.hp-method-head__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--hp-slate-900);
}

.hp-method-head__desc {
  margin-top: 4px;
  font-size: 12px;
  color: var(--hp-slate-500);
}

.hp-geo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.hp-geo-card {
  padding: 12px;
  border: 1px solid rgb(226 232 240 / 0.8);
  border-radius: var(--hp-radius-xl);
  background: #fff;
  text-align: center;
  box-shadow: var(--hp-shadow-sm);
}

.hp-geo-card__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: 0 auto 6px;
  border-radius: var(--hp-radius-full);
  background: var(--hp-brand-100);
  font-size: 12px;
  font-weight: 700;
  color: var(--hp-brand);
}

.hp-geo-card__title {
  font-size: 12px;
  font-weight: 700;
  color: var(--hp-slate-900);
}

.hp-geo-card__desc {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--hp-slate-500);
}

.hp-geo-goal {
  margin-bottom: 24px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--hp-brand);
}

/* kbBase 三列 */
.hp-kb-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.hp-kb-card {
  padding: 16px;
  border: 1px solid rgb(226 232 240 / 0.8);
  border-radius: var(--hp-radius-xl);
  background: #fff;
  box-shadow: var(--hp-shadow-sm);
}

.hp-kb-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.hp-kb-card__letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: var(--hp-radius);
  background: var(--hp-brand-100);
  font-size: 12px;
  font-weight: 700;
  color: var(--hp-brand);
}

.hp-kb-card__title {
  font-size: 12px;
  font-weight: 700;
  color: var(--hp-slate-900);
}

.hp-kb-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.hp-kb-tag {
  padding: 2px 8px;
  border-radius: var(--hp-radius);
  background: var(--hp-slate-100);
  font-size: 12px;
  color: var(--hp-slate-600);
}

/* ========== Services · 交付差异对比 ========== */
.hp-diff { margin-top: 48px; }

.hp-diff__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  max-width: 896px;
  margin: 0 auto;
}

.hp-diff-card {
  position: relative;
  padding: 20px;
  border-radius: var(--hp-radius-xl);
  font-size: 12px;
  box-shadow: var(--hp-shadow-sm);
}

.hp-diff-card--plain {
  border: 1px solid rgb(226 232 240 / 0.8);
  background: var(--hp-slate-50);
  color: var(--hp-slate-600);
}

.hp-diff-card--highlight {
  border: 1px solid rgb(254 215 170 / 0.8);
  background: rgb(255 247 237 / 0.6);
  color: var(--hp-slate-700);
}

.hp-diff-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 2px 6px;
  border-radius: var(--hp-radius);
  background: var(--hp-brand);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.hp-diff-card__title {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
}

.hp-diff-card--plain .hp-diff-card__title { color: var(--hp-slate-800); }
.hp-diff-card--highlight .hp-diff-card__title { color: var(--hp-slate-900); }

.hp-diff-card__list > li {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.6;
}

.hp-diff-card__list > li + li { margin-top: 8px; }

.hp-diff-card__dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: var(--hp-radius-full);
}

.hp-diff-card--plain .hp-diff-card__dot { background: var(--hp-slate-400); }
.hp-diff-card--highlight .hp-diff-card__dot { background: var(--hp-brand); }

.hp-diff-card__banner {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgb(254 215 170 / 0.8);
  font-size: 12px;
  font-weight: 600;
  color: var(--hp-brand);
}

/* ========== Services · 核心服务 7 卡 ========== */
.hp-core { margin-top: 48px; }

.hp-core__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.hp-core-card {
  padding: 16px;
  border: 1px solid rgb(226 232 240 / 0.8);
  border-radius: var(--hp-radius-xl);
  background: var(--hp-slate-50);
  box-shadow: var(--hp-shadow-sm);
}

.hp-core-card__num {
  margin-bottom: 4px;
  font-family: var(--hp-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--hp-brand);
}

.hp-core-card__title {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--hp-slate-900);
}

.hp-core-card__desc {
  font-size: 12px;
  line-height: 1.7;
  color: var(--hp-slate-500);
}

/* ========== Services · 交付流程 6 步条 ========== */
.hp-process {
  margin-top: 32px;
  padding: 16px;
  border: 1px solid rgb(226 232 240 / 0.8);
  border-radius: var(--hp-radius-xl);
  background: var(--hp-slate-50);
  box-shadow: var(--hp-shadow-sm);
}

.hp-process__label {
  margin-bottom: 12px;
  text-align: center;
  font-family: var(--hp-font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hp-brand);
}

/* 眉标下方紧跟交付流程标题时，两者间距收窄至 4px（对齐 .hp-title / .hp-subhead__title 的眉标-标题节奏） */
.hp-process__label:has(+ .hp-process__heading) {
  margin-bottom: 4px;
}

/* 交付流程标题 · 子区块标题档位 16px；下方保留原眉标→流程网格的 12px 间距
 * 基础重置已改为 .home-page :where(h3) 特异度 (0,1,0)，与本单类规则同级且写在前面，
 * 故此处无需再加 .home-page 前缀，margin-bottom 正常生效。 */
.hp-process__heading {
  margin-bottom: 12px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--hp-slate-900);
}

.hp-process__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  text-align: center;
  font-size: 12px;
}

.hp-process__item {
  padding: 8px;
  border-top: 1px solid rgb(226 232 240 / 0.7);
}

.hp-process__grid > .hp-process__item:nth-child(-n + 2) { border-top: 0; }

.hp-process__num {
  font-size: 12px;
  font-weight: 700;
  color: var(--hp-brand);
}

.hp-process__title {
  margin-top: 2px;
  font-weight: 700;
  color: var(--hp-slate-900);
}

.hp-process__desc {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--hp-slate-500);
}

/* ========== Solutions · 行业方案 ========== */
.hp-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

/* Tab · 非激活态基础样式
 * 基础重置已改为 .home-page :where(button) 特异度 (0,1,0)，与本规则同级且写在前面，
 * 故 background / color / font 正常生效，无需再加 .home-page 前缀。
 * 跨文件竞争（site.css .industry-tab / .industry-tab:hover、site-enhance.css !important）
 * 由「home.css 最后加载」的源码顺序 + 末尾「遗留样式覆盖层」共同保证。 */
.hp-tab {
  padding: 6px 14px;
  border-radius: var(--hp-radius-lg);
  background: var(--hp-slate-100);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: var(--hp-slate-600);
  transition: background-color 0.2s, color 0.2s;
}

/* hover 只换底色，字色沿用 600 灰（设计稿未声明 hover 变色）
 * (0,2,0) 与 site.css 的 .industry-tab:hover 同级，靠 home.css 后加载胜出橙色字 */
.hp-tab:hover { background: var(--hp-slate-200); }

/* 激活态由 public/js/site.js 的 mountIndustryTabs 切换 .industry-tab--active
 * (0,2,0) 高于 site.css 的 .industry-tab--active (0,1,0) */
.hp-tab.industry-tab--active {
  background: var(--hp-brand);
  color: #fff;
  font-weight: 600;
  box-shadow: var(--hp-shadow-sm);
}

.hp-tab.industry-tab--active:hover { background: var(--hp-brand); }

/* 面板显隐由 site.js mountIndustryTabs 切换 .industry-panel--active（见 site.css） */

.hp-panel__inner {
  padding: 24px;
  border: 1px solid var(--hp-slate-200);
  border-radius: var(--hp-radius-2xl);
  background: var(--hp-slate-50);
}

.hp-panel__head {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--hp-slate-200);
}

.hp-panel__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--hp-slate-900);
}

.hp-panel__subtitle {
  margin-top: 2px;
  font-size: 12px;
  color: var(--hp-slate-500);
}

.hp-panel__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  font-size: 12px;
}

.hp-panel__col-title {
  margin-bottom: 6px;
  font-weight: 700;
  color: var(--hp-slate-800);
}

.hp-panel__list {
  font-size: 12px;
  line-height: 1.75;
  color: var(--hp-slate-500);
}

.hp-panel__questions {
  font-size: 12px;
  line-height: 1.75;
  font-style: italic;
  color: var(--hp-slate-500);
}

.hp-panel__directions {
  display: grid;
  gap: 8px;
}

.hp-panel__direction {
  font-size: 12px;
  line-height: 1.6;
  color: var(--hp-slate-500);
}

/* ========== Cases · 客户案例 ========== */
.hp-case-group + .hp-case-group { margin-top: 24px; }

/* 分组标题 · 16px 档；基础重置已为 :where(h3) (0,1,0)，单类规则即可生效 */
.hp-case-group__title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--hp-slate-800);
}

.hp-case-group__title .hp-dot {
  width: 6px;
  height: 6px;
}

.hp-case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  font-size: 12px;
}

/* 案例卡 · 高度固定 192px
 * 依据：2 行地区服务项(36) + 项目名(4+21) + 3 行简介(4+61.2) + 价格(12+18)
 *       + 卡片内边距 32 + 边框 2 ≈ 190.2，取 8 的整数倍 192 留余量。
 * 纵向 flex：价格用 margin-top:auto 固定在卡片底部区域，
 * 简介占据标题与价格之间的剩余空间，卡片 overflow:hidden 兜住极端长文案。 */
.hp-case-card {
  display: flex;
  flex-direction: column;
  height: 192px;
  padding: 16px;
  border: 1px solid rgb(226 232 240 / 0.8);
  border-radius: var(--hp-radius-xl);
  background: #fff;
  box-shadow: var(--hp-shadow-sm);
  overflow: hidden;
}

.hp-case-card__meta {
  flex: none;
  font-size: 12px;
  color: var(--hp-slate-400);
}

/* 项目名最多 1 行，超出以省略号截断
 * 基础重置已为 .home-page :where(h4) (0,1,0)，单类规则的 margin-top 正常生效。 */
.hp-case-card__name {
  flex: none;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--hp-slate-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 案例文案最多展示 3 行，超出以省略号截断（基础重置已为 :where(p)，单类规则即可生效）
 * 不再声明标准 line-clamp：Chrome 142 下它会把 display 序列化为 flow-root，
 * 使 -webkit-box 截断路径失效（省略号错位、第 4 行仍绘制），只保留 -webkit-line-clamp。
 * flex:none + max-height 锁定 3 行高度（3 × 12px × 1.7 = 61.2px），
 * 即使截断在个别内核失效也只是硬裁 3 行，不会把价格挤出固定高度的卡片。 */
.hp-case-card__intro {
  flex: none;
  max-height: 61.2px;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--hp-slate-500);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* 卡脚固定在底部区域：margin-top:auto 吸收剩余空间，padding-top 保证与简介至少 12px
 * 价格（左）与「查看详情」文本按钮（右）同一行，两端对齐；
 * 行高由 12px × 1.5 = 18px 决定，与原「价格单行」等高，卡片 192px 总高不变。 */
.hp-case-card__foot {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  font-size: 12px;
}

/* 价格：长文案单行省略，避免把「查看详情」挤出卡片 */
.hp-case-card__price {
  font-weight: 700;
  color: var(--hp-brand);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 查看详情 · 文本按钮，样式对齐资讯卡「阅读全文」（.hp-news-card__more） */
.hp-case-card__more {
  flex: none;
  font-weight: 600;
  color: var(--hp-brand);
}

.hp-case-card__more:hover { text-decoration: underline; }

/* 案例区「查看更多案例」· 与资讯区 .hp-news__footer 同规格 */
.hp-cases__footer {
  margin-top: 24px;
  text-align: center;
}

/* ========== News · 公司资讯 ========== */
.hp-news__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.hp-news-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid var(--hp-slate-200);
  border-radius: var(--hp-radius-xl);
  background: var(--hp-slate-50);
}

.hp-news-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-family: var(--hp-font-mono);
  font-size: 12px;
  color: var(--hp-slate-400);
}

.hp-news-card__date { white-space: nowrap; }

.hp-news-card__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--hp-slate-900);
}

.hp-news-card__excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.7;
  color: var(--hp-slate-500);
}

.hp-news-card__foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgb(226 232 240 / 0.8);
  font-size: 12px;
}

.hp-news-card__more {
  font-weight: 600;
  color: var(--hp-brand);
}

.hp-news-card__more:hover { text-decoration: underline; }

.hp-news__footer {
  margin-top: 24px;
  text-align: center;
}

/* ========== FAQ ========== */
.hp-faq__list > * + * { margin-top: 12px; }

.hp-faq-item {
  padding: 16px;
  border: 1px solid rgb(226 232 240 / 0.8);
  border-radius: var(--hp-radius-xl);
  background: #fff;
  /* 点击区已扩大到整张卡片（含 16px 内边距），见 site-enhance.js bindFaqAccordion；
     光标随之整卡给出可点提示，答案区单独回退为文本光标 */
  cursor: pointer;
  transition: box-shadow 0.2s;
}

.hp-faq-item[open] { box-shadow: var(--hp-shadow-sm); }

/* FAQ 项不参与「卡片 hover 浮动统一层」：手风琴开合时上浮会造成行高跳动，
   这里只给投影反馈，保持列表基线稳定 */
.hp-faq-item:hover { box-shadow: var(--hp-shadow-lift); }

.hp-faq-item__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--hp-slate-900);
  cursor: pointer;
  list-style: none;
}

.hp-faq-item__summary::-webkit-details-marker { display: none; }

.hp-faq-item__chevron {
  flex: none;
  font-size: 16px;
  color: var(--hp-slate-400);
  transition: transform 0.2s;
}

.hp-faq-item[open] .hp-faq-item__chevron { transform: rotate(180deg); }

/* 答案高度过渡裁剪层：site-enhance.js bindFaqAccordion 在开合时写入显式 height
   （0 ↔ 内容高度），overflow:hidden 负责裁剪；未加载 JS 时 height 保持 auto，
   原生 <details> 仍可即时开合，仅没有动画。
   overflow:hidden 同时使本层成为 BFC，__answer 的 margin-top 不会外溢塌陷。 */
.hp-faq-item__body {
  overflow: hidden;
  /* 答案区不参与卡片点击开合（见 bindFaqAccordion），光标回退为文本选择态 */
  cursor: auto;
  transition: height 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 后台答案为纯文本（含 \n 换行），保留换行与空行渲染 */
.hp-faq-item__answer {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--hp-slate-100);
  font-size: 12px;
  line-height: 1.7;
  color: var(--hp-slate-600);
  white-space: pre-line;
}

/* FAQ 区「查看更多问题」· 与资讯区 .hp-news__footer 同规格 */
.hp-faq__footer {
  margin-top: 24px;
  text-align: center;
}

/* ========== Audit · 联系与表单 ========== */
.hp-audit {
  position: relative;
  padding: 64px 0;
  background: var(--hp-audit);
  color: #fff;
}

.hp-audit__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.hp-audit__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--hp-brand-400);
}

.hp-audit__eyebrow .hp-dot { background: var(--hp-brand-400); }

.hp-audit__title {
  font-family: var(--hp-font-display);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
}

.hp-audit__intro {
  max-width: 576px;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--hp-slate-400);
}

.hp-audit__rows {
  margin-top: 24px;
  font-size: 12px;
  color: var(--hp-slate-300);
}

.hp-audit__rows > * + * { margin-top: 8px; }

.hp-audit__row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hp-audit__row--muted {
  padding-top: 4px;
  color: var(--hp-slate-400);
}

.hp-audit__row-icon {
  flex: none;
  font-size: 14px;
  color: var(--hp-brand-400);
}

.hp-audit__row strong {
  margin-left: 4px;
  font-family: var(--hp-font-mono);
  font-size: 14px;
  color: #fff;
}

/* 表单卡 */
.hp-form-card {
  position: relative;
  padding: 24px;
  border: 1px solid rgb(51 65 85 / 0.8);
  border-radius: var(--hp-radius-2xl);
  background: rgb(30 41 59 / 0.9);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.5);
}

.hp-form-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.hp-form-card__title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.hp-form-card__desc {
  margin-top: 2px;
  font-size: 12px;
  color: var(--hp-slate-400);
}

.hp-form-card__badge {
  flex: none;
  padding: 2px 8px;
  border: 1px solid rgb(249 115 22 / 0.4);
  border-radius: var(--hp-radius);
  background: rgb(249 115 22 / 0.2);
  font-family: var(--hp-font-mono);
  font-size: 12px;
  color: var(--hp-brand-400);
  white-space: nowrap;
}

.hp-form > * + * { margin-top: 12px; }

.hp-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hp-field__label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  color: var(--hp-slate-300);
}

.hp-field__input,
.hp-field__select {
  display: block;
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--hp-slate-700);
  border-radius: var(--hp-radius-lg);
  background: var(--hp-slate-900);
  font-family: inherit;
  font-size: 12px;
  color: #fff;
  transition: border-color 0.2s;
}

.hp-field__input::placeholder { color: var(--hp-slate-500); }

.hp-field__input:focus,
.hp-field__select:focus {
  outline: none;
  border-color: var(--hp-brand);
}

.hp-field__select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--hp-slate-400) 50%),
    linear-gradient(135deg, var(--hp-slate-400) 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.hp-field__select option { background: var(--hp-slate-800); color: #fff; }

/* 提交按钮 · 基础重置已改为 .home-page :where(button) 特异度 (0,1,0)，
 * 与本单类规则同级且写在前面，主色底与字号字重正常生效，无需 .home-page 前缀 */
.hp-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 8px;
  padding: 10px;
  border-radius: var(--hp-radius-lg);
  background: var(--hp-brand);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 6px -1px rgb(250 100 0 / 0.3);
  transition: background-color 0.2s;
}

.hp-form__submit:hover { background: var(--hp-brand-hover); }

.hp-form__submit .hp-icon { font-size: 14px; }

.hp-form__note {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  color: var(--hp-slate-500);
}

/* 表单提交状态（提交中 / 成功 / 失败）
 * 仅新增状态样式，沿用 note 行的位置、字号与对齐，不改动设计稿布局 */
.hp-form__submit:disabled {
  background: var(--hp-brand-hover);
  cursor: not-allowed;
  opacity: 0.7;
}

.hp-form__note--success { color: #4ade80; }

.hp-form__note--error { color: #f87171; }

/* ========== Footer ========== */
.hp-footer {
  padding: 24px 0;
  border-top: 1px solid var(--hp-slate-800);
  background: var(--hp-footer);
  font-size: 12px;
  color: var(--hp-slate-500);
  text-align: center;
}

.hp-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* 公网安备 · 图标 + 文案（对齐旧站页脚） */
.hp-footer__beian {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  vertical-align: middle;
}

.hp-footer__beian-icon {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ========== 响应式 ========== */
@media (min-width: 640px) {
  .hp-wrap { padding: 0 24px; }
  .hp-hero__title { font-size: 48px; }
  .hp-hero__subtitle { font-size: 18px; }
  .hp-title { font-size: 30px; }
  .hp-howai__title { font-size: 30px; }
  .hp-audit__title { font-size: 30px; }
  .hp-audit__intro { font-size: 14px; }

  .hp-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .hp-metric {
    padding: 0 16px;
    border-top: 0;
    border-left: 1px solid var(--hp-slate-800);
  }
  .hp-metric:first-child { border-left: 0; }
  .hp-metric__value { font-size: 30px; }

  .hp-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .hp-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hp-ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-howai__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-geo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hp-core__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-faq-item__summary { font-size: 14px; }
  .hp-services__box { padding: 32px; }

  .hp-process__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .hp-process__item {
    border-top: 0;
    border-left: 1px solid rgb(226 232 240 / 0.7);
  }
  .hp-process__item:first-child { border-left: 0; }

  .hp-footer__inner { flex-direction: row; justify-content: center; text-align: center; }
}

@media (min-width: 768px) {
  .hp-evidence__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hp-kb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hp-diff__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-panel__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hp-news__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .hp-wrap { padding: 0 32px; }
  /* 主标题 19 字，52px 才能在 1024px 容器内单行完整展示 */
  .hp-hero__title { font-size: 52px; }
  .hp-badges { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hp-ind-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hp-howai__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hp-geo-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .hp-core__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hp-core-card--wide { grid-column: span 2; }
  .hp-case-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hp-audit__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .hp-audit__info { grid-column: span 7; }
  .hp-audit__form { grid-column: span 5; }
  .hp-audit__title { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page *,
  .home-page *::before,
  .home-page *::after,
  .sub-page *,
  .sub-page *::before,
  .sub-page *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   卡片 hover 浮动统一层
   --------------------------------------------------------------------------
   设计稿只给出卡片静态态，这里统一补齐 hover：上浮 4px + 投影加深。
   集中声明而非分散写在各卡片规则内，原因：
   1) 必须位于所有卡片基础规则之后，同特异度下靠后加载才能胜出；
   2) 后续新增卡片只需把类名加入选择器列表，动效参数只有一处口径。

   过渡只声明 transform / box-shadow（暗色卡另加 background-color），
   不写 all，避免波及 .hp-case-card__intro 的行数截断等布局属性。
   二级页的 .sp-* 卡片在 subpage.css 末尾同规格声明：
   subpage.css 后于 home.css 加载，.sp-news-row:hover 已有基础规则，
   放在这里会被其覆盖。

   不参与本层的卡片：
   - .hp-faq-item：手风琴，见 FAQ 区块的投影 hover
   - .hp-form-card：表单容器，上浮会在指针靠近输入框时产生位移抖动
   ========================================================================== */

.hp-badge-card,
.hp-evidence-card,
.hp-stat,
.hp-ind-card,
.hp-geo-card,
.hp-kb-card,
.hp-diff-card,
.hp-core-card,
.hp-case-card,
.hp-news-card {
  transition:
    transform 0.24s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.24s cubic-bezier(0.4, 0, 0.2, 1);
}

.hp-badge-card:hover,
.hp-evidence-card:hover,
.hp-stat:hover,
.hp-ind-card:hover,
.hp-geo-card:hover,
.hp-kb-card:hover,
.hp-diff-card:hover,
.hp-core-card:hover,
.hp-case-card:hover,
.hp-news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hp-shadow-lift);
}

/* 暗色区块卡（HOW AI BUILDS AN ANSWER）：深色底上投影不可见，
   改用「底色提亮」表达离面，位移与亮色卡保持一致 */
.hp-howai-card {
  transition:
    transform 0.24s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.24s cubic-bezier(0.4, 0, 0.2, 1);
}

.hp-howai-card:hover {
  transform: translateY(-4px);
  background: rgb(30 41 59 / 0.95);
}

/* ==========================================================================
   遗留样式覆盖层 · 修正 site-enhance.css 对新设计页面的 !important 污染
   --------------------------------------------------------------------------
   site-enhance.css 面向旧版首页（/articles 等旧页面仍需要），其中以下规则
   带 !important，会盖掉设计稿 design/code.html 的背景色与按钮尺寸：

   1. section[id="about"] / section[data-component="AboutMetrics"]
      → 暖橙渐变背景；设计稿要求 #about 为纯白 bg-white
   2. section[id="trust-suite"] / section[data-component="TrustSuite"]
      → 暖橙渐变背景；设计稿要求 #services 为纯白 bg-white
   3. .industry-tab--active
      → var(--gradient-hero) 橙色渐变 + 高光内阴影；设计稿要求纯 #fa6400
   4. @media (max-width:768px) .industry-tab
      → padding 8px 16px / font-size 14px；设计稿要求 6px 14px / 12px

   home.css 在 site-enhance.css 之后加载，这里用 .home-page / .sub-page
   提升特异度，仅在采用新设计规范的页面生效，不影响 /articles 等旧样式页面。
   ========================================================================== */

/* 1 & 2 · 区块背景还原为设计稿纯白 */
.home-page section[id='about'],
.home-page section[data-component='AboutMetrics'],
.home-page section[id='trust-suite'],
.home-page section[data-component='TrustSuite'] {
  background: #fff !important;
}

/* 3 & 4 · 行业方案 Tab 尺寸与激活态还原（首页 + /cases 行业切换 Tab 共用） */
.home-page .hp-tab,
.sub-page .hp-tab {
  padding: 6px 14px !important;
  font-size: 12px !important;
  line-height: 16px !important;
}

.home-page .hp-tab.industry-tab--active,
.sub-page .hp-tab.industry-tab--active {
  background: var(--hp-brand) !important;
  box-shadow: var(--hp-shadow-sm) !important;
}

.home-page .hp-tab.industry-tab--active:hover,
.sub-page .hp-tab.industry-tab--active:hover {
  background: var(--hp-brand) !important;
}
