/* 鸿博档案 - 高端大气视觉风格样式 */
/* 设计要点：
   - 品牌配色体系与变量化
   - 更强的层次、留白、阴影与动效
   - 现代化按钮、卡片与导航交互
   - 高端感的排版与对比度
*/

:root {
  /* 品牌主色与中性色 */
  --brand-600: #1c41ac;
  --brand-700: #123492;
  --brand-800: #0f2d7a;
  --brand-300: #7fa0ff;
  --accent-600: #f4193c;
  --accent-700: #c01430;
  --neutral-900: #0f1222;
  --neutral-800: #181b2f;
  --neutral-700: #202441;
  --neutral-600: #2a2f58;
  --text-strong: #1c1e27;
  --text: #333;
  --text-muted: #6b7280;
  --surface: #ffffff;
  --surface-weak: #f6f8ff;

  /* 效果与渐变 */
  --shadow-soft: 0 6px 24px rgba(12, 14, 35, 0.08);
  --shadow-medium: 0 10px 30px rgba(12, 14, 35, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --gradient-brand: linear-gradient(
    135deg,
    var(--brand-600) 0%,
    var(--brand-800) 100%
  );
  --gradient-accent: linear-gradient(
    135deg,
    #ff8fa3 0%,
    var(--accent-600) 60%,
    #b50f2b 100%
  );
}

/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, "PingFang SC", "Noto Sans CJK SC", sans-serif;
}

body {
  color: var(--text);
  line-height: 1.7;
  background: radial-gradient(
      1200px 600px at 10% -10%,
      rgba(28, 65, 172, 0.06),
      transparent 40%
    ),
    radial-gradient(
      800px 400px at 110% 10%,
      rgba(244, 25, 60, 0.05),
      transparent 45%
    ),
    #fff;
}

html,
body {
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  width: min(95vw, 1200px);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 96px 0;
}

h1,
h2,
h3 {
  letter-spacing: 0px;
  color: var(--text-strong);
}

h1 {
  font-size: 2.875rem;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.25;
  max-width: 1000px;
}
h2 {
  font-size: 40px; /* 文本1 */
  font-weight: 400;
  line-height: 48px;
  color: rgba(36, 36, 36, 1);
  margin-bottom: 30px;
  text-align: center;
}
h3 {
  font-size: 24px; /* 文本1 */
  font-weight: 400;
  line-height: 32px;
  color: rgba(36, 36, 36, 1);
  margin-bottom: 16px;
}
/* h4 全局规范 */
h4 {
  font-size: 14px; /* 文本1 */
  font-weight: 700;
  line-height: 20px;
  color: rgba(36, 36, 36, 1);
}

p {
  margin-bottom: 14px;
  color: var(--text);
}

/* h3 下的小标题段落（紧随其后）全局规范 */
h3 + p {
  font-size: 16px; /* 文本1 */
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 24px;
  color: rgba(102, 102, 102, 1);
}

/* 按钮 */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--gradient-accent);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-pill);
  font-weight: 800;
  letter-spacing: 0.2px;
  transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.25s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(244, 25, 60, 0.22);
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
  box-shadow: 0 12px 28px rgba(244, 25, 60, 0.28);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

/* 导航栏 */
header {
  background: #ffffff;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
  border-top: 3px solid #3b82f6; /* 顶部蓝色细线 */
  box-shadow: 0 1px 0 rgba(2, 6, 23, 0.06);
}

/* 滚动状态：颜色轻微变化 */
header.scrolled {
  box-shadow: 0 2px 10px rgba(2, 6, 23, 0.08);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 34px;
  display: block;
}

.logo-text {
  display: none;
}

.nav-links {
  display: flex;
  list-style: none;
}
.nav-links li {
  margin-left: 28px;
}

.nav-links a {
  text-decoration: none;
  color: #111827;
  font-weight: 600;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #3b82f6;
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: #0f172a;
}
.nav-links a:hover::after {
  width: 100%;
}

/* 英雄区 */
.hero {
  background: url("../images/banner.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 140px 0 160px;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: none;
}

.hero-inner {
  position: relative;
  top: 42px;
  width: 1120px;
  height: 288px;
  opacity: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}
.hero-inner.default {
  padding-left: 40px;
  padding-right: 40px;
}
.hero-inner.default .hero-eyebrow,
.hero-inner.default h1,
.hero-inner.default .hero-sub {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* 英雄区标题最大宽度限制与更优换行 */
.hero-inner.default h1 {
  max-width: 760px;
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: anywhere;
}
.hero-eyebrow {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(28px, 22px + 2.6vw, 48px);
  line-height: 1.22;
  margin-bottom: 36px;
  color: #fff;
}
.hero-sub {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.hero-btn-primary {
  background: var(--gradient-accent);
}
.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 24px; /* 间距更大 */
  margin-top: 45px;
}
.hero .btn {
  background: var(--gradient-accent);
  padding: 10px 22px; /* 高度稍小 */
  border-radius: 14px; /* 圆角稍小 */
}
.hero .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.8); /* 视觉更轻 */
}
.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* 英雄区底部标签 */
.hero-labels {
  display: none;
}

.hero-label {
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(12, 14, 35, 0.18);
  border: 1px solid rgba(28, 65, 172, 0.18);
  padding: 14px 18px;
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.2px;
}

@media (max-width: 992px) {
  .hero {
    padding: 120px 0 100px;
    min-height: 360px;
  }
  .hero-inner {
    max-width: 1120px;
    width: min(94vw, 1120px);
    height: auto;
  }
  .hero-inner.default {
    padding-left: 28px;
    padding-right: 28px;
  }
  .hero-inner.default .hero-eyebrow,
  .hero-inner.default h1,
  .hero-inner.default .hero-sub {
    max-width: 680px;
  }
  .hero-inner.default h1 {
    max-width: 640px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 100px 0 80px;
    min-height: 260px;
  }
  .hero-btns {
    flex-direction: column;
  }
  .hero-inner {
    width: min(94vw, 720px);
    height: auto;
    top: 24px;
  }
  .hero-inner.default {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-inner.default .hero-eyebrow,
  .hero-inner.default h1,
  .hero-inner.default .hero-sub {
    max-width: 560px;
  }
  .hero-inner.default h1 {
    max-width: 520px;
  }
}

/* 痛点共鸣区 */
.pain-points {
  background-color: var(--surface-weak);
}

.pain-points-grid {
  display: grid;
  grid-template-columns: repeat(2, 588px); /* 一行两个卡片 */
  justify-content: center; /* 居中对齐 */
  gap: 24px;
}

.pain-points .pain-point {
  width: 588px;
  height: 224px;
  opacity: 1;
  border-radius: 12px;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px;
  border: none;
  position: relative;
  overflow: hidden;
  background-image: none;
}

.pain-points .pain-point:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(28, 65, 172, 0.22);
}
.pain-points .pain-point::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      240px 120px at -10% -10%,
      rgba(28, 65, 172, 0.06),
      transparent 60%
    ),
    radial-gradient(
      240px 120px at 110% 110%,
      rgba(244, 25, 60, 0.05),
      transparent 60%
    );
  pointer-events: none;
}
.pain-point-head {
  display: block; /* 图标独占一行 */
  margin-bottom: 12px;
}
.pain-point-icon {
  width: 56px;
  height: 56px;
  opacity: 1;
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(227, 121, 73, 1) 0%,
    rgba(255, 160, 120, 1) 100%
  );
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 12px;
}
.pain-point h3 {
  margin: 0;
  font-size: 20px; /* 按规范：20px */
  font-weight: 700; /* 粗细 700 */
  letter-spacing: 0px; /* 字距 0 */
  line-height: 28px; /* 行高 28px */
  color: rgba(36, 36, 36, 1); /* 颜色 */
}
.pain-point p {
  margin: 8px 0 0;
  font-size: 16px; /* 文本1：字号 */
  font-weight: 400; /* 常规字重 */
  letter-spacing: 0px; /* 字距 */
  line-height: 24px; /* 行高 */
  color: rgba(102, 102, 102, 1); /* 颜色 */
}

/* 区块主副标题优化（仅对痛点区生效） */
.pain-points h2 {
  /* font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.1rem); */
  letter-spacing: 0.2px;
}
.pain-points .pain-point h3 {
  font-weight: 700;
}

/* 轻微色调变化，提升卡片辨识度与层次 */
.pain-points-grid .pain-point:nth-child(3n + 1) {
  background-image: linear-gradient(
    180deg,
    rgba(28, 65, 172, 0.05) 0%,
    rgba(28, 65, 172, 0) 60%
  );
}
.pain-points-grid .pain-point:nth-child(3n + 2) {
  background-image: linear-gradient(
    180deg,
    rgba(244, 25, 60, 0.045) 0%,
    rgba(244, 25, 60, 0) 60%
  );
}
.pain-points-grid .pain-point:nth-child(3n + 3) {
  background-image: linear-gradient(
    180deg,
    rgba(127, 160, 255, 0.06) 0%,
    rgba(127, 160, 255, 0) 60%
  );
}
.pain-points-grid .pain-point:nth-child(3n + 1) .pain-point-icon {
  background: rgba(28, 65, 172, 0.12);
  color: var(--brand-700);
}
.pain-points-grid .pain-point:nth-child(3n + 2) .pain-point-icon {
  background: rgba(244, 25, 60, 0.12);
  color: var(--accent-700);
}
.pain-points-grid .pain-point:nth-child(3n + 3) .pain-point-icon {
  background: rgba(127, 160, 255, 0.15);
  color: var(--brand-600);
}

/* 价值主张区 */
.value-propositions {
  text-align: center;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-item {
  padding: 30px 22px;
}

.value-item h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0px;
  line-height: 28px;
  color: rgba(36, 36, 36, 1);
}
.value-item p {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 24px;
  color: rgba(102, 102, 102, 1);
}

.value-icon {
  width: 120px;
  height: 120px;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.value-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* 解决方案演进区 */
.solutions {
  background: radial-gradient(
      1200px 600px at 20% 20%,
      rgba(28, 65, 172, 0.04),
      transparent 50%
    ),
    radial-gradient(
      800px 400px at 80% 80%,
      rgba(127, 160, 255, 0.03),
      transparent 45%
    ),
    #fafbff;
}

.solution-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
  border-bottom: 1px solid #e5e7eb;
  gap: 6px;
}

.solution-tab {
  padding: 14px 24px;
  background: none;
  border: none;
  font-size: 16px; /* 文本1 */
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 24px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color 0.2s ease, border-color 0.25s ease;
  color: rgba(13, 52, 168, 1);
}

.solution-tab:hover {
  color: var(--brand-700);
}
.solution-tab.active {
  color: var(--brand-700);
  border-bottom-color: var(--brand-600);
}

.solution-content {
  display: none;
}
.solution-content.active {
  display: block;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: center;
}

.solution-image {
  background: linear-gradient(180deg, #eef2ff 0%, #e9ecff 100%);
  width: 600px;
  height: 284px;
  opacity: 1;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  box-shadow: var(--shadow-soft);
  background-size: cover;
  background-position: center;
}

/* 解决方案演进区：标题与文案规范化 */
.solutions h2 {
  font-size: 40px; /* 文本1 */
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 48px;
  color: rgba(36, 36, 36, 1);
}
.solutions .solution-content h3 {
  font-size: 24px; /* 文本1 */
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 32px;
  color: rgba(36, 36, 36, 1);
}
.solutions .solution-content h3 + p {
  font-size: 16px; /* 文本1 */
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 24px;
  color: rgba(102, 102, 102, 1);
}
.solutions .solution-content h4 {
  font-size: 14px; /* 文本1 */
  font-weight: 700;
  letter-spacing: 0px;
  line-height: 20px;
  color: rgba(36, 36, 36, 1);
}

.solution-services {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}

.service-item {
  width: 225px;
  height: 40px;
  opacity: 1;
  border-radius: 4px;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 10px;
  border: none;

  font-size: 14px; /* 文本1 */
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 20px;
  color: rgba(36, 36, 36, 1);
}

.service-item .service-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: inline-block;
  margin-right: 8px;
}

/* 解决方案演进区：按钮规范（仅限本区的CTA按钮） */
.solutions a.btn {
  width: 192px;
  height: 48px;
  opacity: 1;
  border-radius: 6px;
  background: rgba(13, 52, 168, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px 32px;
  box-shadow: none;
  border: none;

  font-size: 16px; /* 文本1 */
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 20px;
  color: rgba(255, 255, 255, 1);
}

/* 为三个方案面板设置对应示意图 */
#solution1 .solution-image {
  background-image: url("../images/fa1.jpg");
}
#solution2 .solution-image {
  background-image: url("../images/fa2.jpeg");
}
#solution3 .solution-image {
  background-image: url("../images/fa3.png");
}

/* 客户案例区 */
.case-studies {
  text-align: center;
  background: radial-gradient(
      1000px 500px at 10% 10%,
      rgba(244, 25, 60, 0.03),
      transparent 50%
    ),
    radial-gradient(
      600px 300px at 90% 90%,
      rgba(255, 160, 120, 0.025),
      transparent 45%
    ),
    #fefefe;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 384px);
  gap: 28px;
  justify-content: center;
}

.case-study {
  width: 384px;
  background-color: white;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
  border: 1px solid #eef2ff;
  display: flex;
  flex-direction: column;
}

.case-study:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(28, 65, 172, 0.22);
}
.case-image {
  height: 120px;
  background: linear-gradient(180deg, #eef2ff 0%, #e9ecff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  background-size: cover;
  background-position: center;
}
.case-study:nth-child(1) .case-image {
  background-image: url("../images/al1.png");
}
.case-study:nth-child(2) .case-image {
  background-image: url("../images/al2.png");
}
.case-study:nth-child(3) .case-image {
  background-image: url("../images/al3.png");
}
.case-content {
  padding: 12px 20px;
  text-align: left;
  /* 文本1 */
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 24px;
  color: rgba(36, 36, 36, 1);
}
.case-content h3 {
  width: 336px;
  height: 28px;
  opacity: 1;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  /* 文本1 */
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0px;
  line-height: 28px;
  color: rgba(36, 36, 36, 1);
  text-align: center;
  vertical-align: top;
  margin: 0 0 6px;
}
.case-content p {
  width: 336px;
  height: 48px;
  opacity: 1;
  background: transparent;
  display: flex;
  /* 文本1 */
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 24px;
  color: rgba(36, 36, 36, 1);
  text-align: left;
  vertical-align: top;
  margin: 6px 0;
}
.case-content p.case-customer {
  width: 336px;
  height: 20px;
  opacity: 1;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  /* 文本1 */
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 20px;
  color: rgba(102, 102, 102, 1);
  text-align: center;
  vertical-align: top;
  margin: 8px 0 10px;
}
.case-content p.case-customer + p {
  margin-top: 14px; /* 增加客户名与首段正文的间距 */
}
.case-tag {
  width: 336px;
  height: 36px;
  opacity: 1;
  border-radius: 20px;
  background: rgba(245, 246, 250, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8px 20px 8px 20px;
  /* 文本1 */
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 20px;
  color: rgba(13, 52, 168, 1);
  text-align: center;
  margin-top: 12px; /* 在原基础上增加50% */
}

/* 行动号召区 */
.cta {
  background: var(--gradient-brand);
  color: white;
  text-align: center;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    800px 300px at 80% 20%,
    rgba(255, 255, 255, 0.12),
    transparent 60%
  );
  pointer-events: none;
}

.cta h2 {
  font-size: 40px; /* 文本1 */
  font-weight: 400;
  line-height: 48px;
  color: #fff;
  margin-bottom: 16px;
}

.cta p {
  font-size: 16px; /* 文本1 */
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

.cta-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 32px;
  align-items: stretch;
}

.cta-form {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cta-form h3 {
  font-size: 24px; /* 文本1 */
  font-weight: 400;
  line-height: 32px;
  color: #fff;
  margin-bottom: 20px;
  text-align: center;
}

.cta-form form {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cta-form .btn-full {
  margin-top: auto;
  margin-bottom: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-group {
  margin-bottom: 14px;
  text-align: left;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
  color: #fff;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 14px; /* 文本1 */
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 20px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.15);
}

.form-control:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background-color: rgba(255, 255, 255, 0.12);
}

/* 下拉框特殊样式 */
select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

select.form-control option {
  background-color: #1c41ac;
  color: #fff;
  padding: 8px 12px;
}

/* 其他输入框样式 */
.other-input {
  animation: fadeIn 0.3s ease-in-out;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.checkbox-item {
  display: flex;
  align-items: center;
  margin-right: 14px;
}
.checkbox-item input {
  margin-right: 6px;
}

/* 联系我们信息样式 */
.contact-info {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-header {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-header h3 {
  font-size: 24px; /* 文本1 */
  font-weight: 400;
  line-height: 32px;
  color: #fff;
  margin-bottom: 8px;
}

.company-name {
  font-size: 16px; /* 文本1 */
  font-weight: 600;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.5px;
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.contact-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.contact-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0.05)
  );
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.contact-text {
  flex: 1;
  min-width: 0;
}

.contact-label {
  font-size: 12px; /* 文本1 */
  font-weight: 500;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-value {
  font-size: 14px; /* 文本1 */
  font-weight: 600;
  line-height: 20px;
  color: #fff;
  word-break: break-all;
}

.qr-section {
  text-align: center;
  padding: 20px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.03)
  );
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}

.qr-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.qr-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0.05)
  );
  border-radius: 50%;
}

.qr-icon svg {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.9);
}

.qr-text {
  text-align: left;
}

.qr-title {
  font-size: 14px; /* 文本1 */
  font-weight: 600;
  line-height: 20px;
  color: #fff;
  margin-bottom: 2px;
}

.qr-subtitle {
  font-size: 12px; /* 文本1 */
  font-weight: 400;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.7);
}

.qr-code {
  position: relative;
  display: inline-block;
}

.qr-code img {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease;
}

.qr-code:hover img {
  transform: scale(1.05);
}

/* 为什么选择鸿博区 */
.why-choose {
  background: radial-gradient(
      1200px 600px at 15% 15%,
      rgba(28, 65, 172, 0.025),
      transparent 50%
    ),
    radial-gradient(
      800px 400px at 85% 85%,
      rgba(244, 25, 60, 0.02),
      transparent 45%
    ),
    #fafbfc;
  text-align: center;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 384px);
  gap: 32px;
  margin-top: 48px;
  justify-content: center;
}

.why-choose-card {
  width: 384px;
  height: 484px;
  opacity: 1;
  border-radius: 12px;
  background: rgba(255, 255, 255, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 40px 24px 40px 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(28, 65, 172, 0.08);
  position: relative;
  overflow: hidden;
}

.why-choose-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(28, 65, 172, 0.15);
}

.card-header {
  margin-bottom: 24px;
}

.card-header h3 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0px;
  line-height: 36px;
  color: rgba(36, 36, 36, 1);
  width: 336px;
  height: 36px;
  opacity: 1;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.card-header p {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 24px;
  color: rgba(36, 36, 36, 1);
  width: 336px;
  height: 48px;
  opacity: 1;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  vertical-align: top;
  margin: 0;
}

.card-visual {
  width: 260px;
  height: 260px;
  opacity: 1;
  border: 1px solid rgba(13, 52, 168, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
}

.card-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 关于我们区 */
.about {
  background-color: var(--surface-weak);
  text-align: center;
}
.about-content {
  max-width: 840px;
  margin: 0 auto;
}

/* 关于我们区段落样式 */
.about-content p {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 24px;
  color: rgba(102, 102, 102, 1);
  width: 496px;
  height: 10px;
  opacity: 1;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  vertical-align: top;
  margin: 0 auto 20px;
}

/* 使命和愿景段落之间的间距为10px */
.about-content p:first-of-type {
  margin-bottom: 10px;
}

/* 关于我们区标题样式 */
.about-content h3 {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 36px;
  color: rgba(36, 36, 36, 1);
  width: 168px;
  height: 36px;
  opacity: 1;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  vertical-align: top;
  margin: 0 auto 20px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 384px);
  gap: 28px;
  margin-top: 36px;
  justify-content: center;
}

.value-card {
  width: 384px;
  height: 200px;
  opacity: 1;
  border-radius: 8px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 48px 48px 48px 48px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

/* 为每个卡片设置不同的背景图片 */
.value-card:nth-child(1) {
  background-image: url("../images/our1.png");
}

.value-card:nth-child(2) {
  background-image: url("../images/our2.jpeg");
}

.value-card:nth-child(3) {
  background-image: url("../images/our3.jpeg");
}

/* 添加半透明遮罩层确保文字可读性 */
.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.value-card h3,
.value-card p {
  position: relative;
  z-index: 2;
}

.value-card h3 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0px;
  line-height: 36px;
  color: rgba(255, 255, 255, 1);
  width: 56px;
  height: 36px;
  opacity: 1;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  vertical-align: top;
  margin: 0 auto 12px;
}

.value-card p {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 24px;
  color: rgba(255, 255, 255, 1);
  width: 288px;
  height: 48px;
  opacity: 1;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  vertical-align: top;
  margin: 0 auto;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(5, 232px);
  gap: 20px;
  margin-top: 36px;
  justify-content: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.badge {
  width: 232px;
  height: 80px;
  opacity: 1;
  border-radius: 8px;
  background: rgba(255, 255, 255, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px 10px 10px 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.badge:hover {
  transform: translateY(-2px);
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
}

.badge img {
  width: 131.42px;
  height: 32px;
  opacity: 1;
  display: flex;
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}

/* 页脚 */
footer {
  background: linear-gradient(135deg, #0c0f1c 0%, #1a1d2e 100%);
  color: white;
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(28, 65, 172, 0.3),
    transparent
  );
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
  position: relative;
  z-index: 2;
}

.footer-column h3 {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-600), var(--accent-600));
  border-radius: 1px;
}

.footer-column p {
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
  transition: transform 0.2s ease;
}

.footer-links li:hover {
  transform: translateX(4px);
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-links a:hover {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(28, 65, 172, 0.3);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #a3aed0;
  font-size: 0.9rem;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--brand-600),
    transparent
  );
}

.footer-bottom p {
  margin-bottom: 8px;
  opacity: 0.9;
}

.footer-bottom p:last-child {
  margin-bottom: 0;
  opacity: 0.8;
}

.footer-bottom strong {
  color: #ffffff;
  font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .pain-points-grid {
    grid-template-columns: 1fr;
    justify-content: center;
  }
  .value-grid,
  .solution-grid,
  .case-grid,
  .values-grid {
    grid-template-columns: repeat(2, 384px);
  }
  .trust-badges {
    grid-template-columns: repeat(4, 232px);
  }
  .why-choose-grid,
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  footer {
    padding: 60px 0 32px;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  /* 使固定宽度模块在Pad端自适应容器宽度 */
  .pain-points .pain-point {
    width: 100%;
    height: auto;
  }
  .solution-image {
    width: 100%;
    height: auto;
    min-height: 220px;
  }
  .case-study,
  .why-choose-card,
  .value-card,
  .badge {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-btns {
    flex-direction: column;
    align-items: center;
  }
  .hero-btns .btn {
    width: 100%;
    max-width: 300px;
    margin-bottom: 10px;
  }

  .pain-points-grid,
  .value-grid,
  .solution-grid,
  .case-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }
  .why-choose-grid,
  .footer-content {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 32px;
  }

  footer {
    padding: 48px 0 24px;
  }

  .footer-column h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
  }

  .footer-bottom {
    padding-top: 24px;
    font-size: 0.85rem;
  }

  /* 移动端价值观卡片样式调整 */
  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .value-card {
    width: 100%;
    max-width: 384px;
    margin: 0 auto;
    padding: 32px 24px;
    height: auto;
  }

  /* 移动端信任背书样式调整 */
  .trust-badges {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 0 20px;
  }

  .badge {
    width: 100%;
    max-width: 232px;
    margin: 0 auto;
    padding: 8px;
  }

  .badge img {
    width: 120px;
    height: 28px;
  }

  .solution-services {
    grid-template-columns: 1fr;
  }

  /* 行动号召区响应式 */
  .cta-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cta {
    padding: 40px 0;
  }

  .cta h2 {
    font-size: 32px;
    line-height: 40px;
  }

  /* 联系我们卡片响应式 */
  .contact-info {
    padding: 24px;
  }

  .contact-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
  }

  .contact-header h3 {
    font-size: 20px;
    line-height: 28px;
  }

  .company-name {
    font-size: 14px;
    line-height: 20px;
  }

  .contact-item {
    padding: 10px 12px;
    gap: 10px;
  }

  .contact-icon {
    width: 36px;
    height: 36px;
  }

  .contact-icon svg {
    width: 18px;
    height: 18px;
  }

  .qr-section {
    padding: 16px;
  }

  .qr-header {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
  }

  .qr-text {
    text-align: center;
  }

  .qr-code img {
    width: 80px;
    height: 80px;
  }

  /* 让固定宽度卡片在手机端全宽并自适应高度 */
  .case-study,
  .why-choose-card {
    width: 100%;
    height: auto;
  }
  .case-content h3,
  .case-content p,
  .case-tag {
    width: 100%;
  }
  .about-content p {
    width: 100%;
    height: auto;
  }
}

/* 文章页面样式 */
.post-article {
  padding-top: calc(
    var(--header-height, 80px) + 2rem
  ); /* 动态导航栏高度 + 额外间距 */
  padding-bottom: 80px;
  background: linear-gradient(
    135deg,
    rgba(28, 65, 172, 0.02) 0%,
    rgba(244, 25, 60, 0.01) 100%
  );
  min-height: 100vh;
}

.post-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 24px 0;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(28, 65, 172, 0.08);
  position: relative;
  overflow: hidden;
}

.post-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
}

.post-title {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-strong);
  margin-bottom: 24px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.post-content {
  margin: 0 auto;
  padding: 40px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(28, 65, 172, 0.08);
  line-height: 1.8;
  font-size: 16px;
  color: var(--text);
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  color: var(--text-strong);
  margin-top: 32px;
  margin-bottom: 16px;
  font-weight: 700;
}

.post-content h1 {
  font-size: 2rem;
  border-bottom: 2px solid var(--brand-600);
  padding-bottom: 8px;
}

.post-content h2 {
  font-size: 1.5rem;
  color: var(--brand-700);
}

.post-content h3 {
  font-size: 1.25rem;
}

.post-content p {
  margin-bottom: 20px;
  text-align: justify;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  margin: 24px 0;
}

.post-content blockquote {
  border-left: 4px solid var(--brand-600);
  background: rgba(28, 65, 172, 0.05);
  padding: 20px;
  margin: 24px 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text-muted);
}

.post-content code {
  background: rgba(28, 65, 172, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: "Consolas", "Monaco", "Courier New", monospace;
  font-size: 0.9em;
  color: var(--brand-700);
}

.post-content pre {
  background: var(--neutral-800);
  color: #e2e8f0;
  padding: 20px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 24px 0;
}

.post-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.post-content ul,
.post-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.post-content li {
  margin-bottom: 8px;
}

.post-content a {
  color: var(--brand-600);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.post-content a:hover {
  color: var(--brand-700);
  border-bottom-color: var(--brand-600);
}

/* ——— Enhanced, editor-safe article typography (scoped) ——— */
/* Keep all styles under .post-content to avoid affecting Halo editor output elsewhere */
.post-content {
  max-width: 860px;
}

/* Fine-tune heading rhythm without overriding editor inline styles */
.post-content h2 + p,
.post-content h3 + p {
  margin-top: 8px;
}

/* Tables: responsive and readable */
.post-content .table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
}
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.post-content thead th {
  background: rgba(28, 65, 172, 0.06);
  color: var(--text-strong);
}
.post-content th,
.post-content td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 10px 12px;
  text-align: left;
}
.post-content tr:hover td {
  background: rgba(28, 65, 172, 0.03);
}

/* Figures and captions */
.post-content figure {
  margin: 24px auto;
  text-align: center;
}
.post-content figcaption {
  margin-top: 8px;
  font-size: 0.9em;
  color: var(--text-muted);
}

/* Alignment helpers commonly used by editors */
.post-content .aligncenter,
.post-content .align-center {
  /* support both naming styles */
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.post-content .alignleft,
.post-content .align-left {
  float: left;
  margin: 8px 16px 8px 0;
}
.post-content .alignright,
.post-content .align-right {
  float: right;
  margin: 8px 0 8px 16px;
}
.post-content::after {
  /* clear floats within content */
  content: "";
  display: block;
  clear: both;
}

/* Inline helpers */
.post-content mark {
  background: #fff3bf;
  padding: 0 2px;
}
.post-content kbd {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-bottom-width: 2px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-size: 0.85em;
  padding: 2px 6px;
}
.post-content sup,
.post-content sub {
  font-size: 0.8em;
}

/* Horizontal rule */
.post-content hr {
  border: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0),
    rgba(28, 65, 172, 0.25),
    rgba(0, 0, 0, 0)
  );
  margin: 28px 0;
}

/* Lists: better readability for nested items */
.post-content ul ul,
.post-content ol ol,
.post-content ul ol,
.post-content ol ul {
  margin-top: 8px;
  margin-bottom: 8px;
}

/* Code-related tweaks (non-destructive) */
.post-content pre code {
  line-height: 1.6;
}
.post-content code[class*="language-"],
.post-content pre[class*="language-"] {
  /* let syntax highlighters style themselves; only guard spacing */
  tab-size: 2;
}

/* Media embeds */
.post-content iframe,
.post-content video {
  max-width: 100%;
  width: 100%;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  margin: 24px 0;
}
.post-content .embed {
  position: relative;
  width: 100%;
  max-width: 100%;
}
.post-content .embed.embed-16x9 {
  aspect-ratio: 16 / 9;
}
.post-content .embed.embed-4x3 {
  aspect-ratio: 4 / 3;
}
.post-content .embed > iframe,
.post-content .embed > video,
.post-content .embed > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ToC common pattern (if editor injects a toc block) */
.post-content .toc {
  background: rgba(28, 65, 172, 0.05);
  border: 1px solid rgba(28, 65, 172, 0.15);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 24px 0;
}
.post-content .toc ul {
  list-style: none;
  padding-left: 0;
}
.post-content .toc li {
  margin: 6px 0;
}
.post-content .toc a {
  text-decoration: none;
  color: var(--brand-700);
}

/* Footnotes (common markdown patterns) */
.post-content .footnotes {
  font-size: 0.9em;
  color: var(--text-muted);
  border-top: 1px dashed rgba(0, 0, 0, 0.15);
  margin-top: 28px;
  padding-top: 16px;
}
.post-content .footnotes li {
  margin: 6px 0;
}
.post-content .footnote-ref {
  text-decoration: none;
}

/* Utility to disable media chrome if author wants it */
.post-content .no-shadow {
  box-shadow: none;
}

.post-footer {
  max-width: 960px;
  margin: 40px auto 0;
  padding: 32px 40px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(28, 65, 172, 0.08);
}

.post-tags {
  margin-bottom: 24px;
}

.tags-label {
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 12px;
}

.post-tags .tag {
  display: inline-block;
  background: rgba(28, 65, 172, 0.1);
  color: var(--brand-700);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  margin-right: 8px;
  margin-bottom: 8px;
  transition: all 0.2s ease;
  border: 1px solid rgba(28, 65, 172, 0.2);
}

.post-tags .tag:hover {
  background: var(--brand-600);
  color: white;
  transform: translateY(-1px);
}

.post-share {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.share-label {
  font-weight: 600;
  color: var(--text-muted);
}

.post-share a {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.share-weibo {
  background: #e6162d;
  color: white;
}

.share-weibo:hover {
  background: #c01430;
  transform: translateY(-1px);
}

.share-qq {
  background: #12b7f5;
  color: white;
}

.share-qq:hover {
  background: #0ea5e9;
  transform: translateY(-1px);
}

/* 相关文章推荐 */
.related-posts {
  margin-top: 80px;
  padding: 60px 0;
  background: rgba(28, 65, 172, 0.02);
}

.related-posts h3 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 40px;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.related-post {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(28, 65, 172, 0.08);
}

.related-post:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.related-post a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.related-post img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.related-post h4 {
  padding: 20px 24px 12px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-strong);
  line-height: 1.4;
}

.related-post p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .post-article {
    padding-top: calc(
      var(--header-height, 70px) + 1.5rem
    ); /* 移动端动态导航栏高度 + 间距 */
    padding-bottom: 60px;
  }

  .post-header {
    margin-bottom: 40px;
    padding: 24px 20px;
  }

  .post-title {
    font-size: 1.75rem;
  }

  .post-content {
    padding: 24px 20px;
    margin: 0 10px;
  }

  .post-footer {
    padding: 24px 20px;
    margin: 20px 10px 0;
  }

  .related-posts {
    margin-top: 60px;
    padding: 40px 0;
  }

  .related-posts-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .post-content {
    padding: 20px 16px;
    margin: 0 5px;
  }

  .post-footer {
    padding: 20px 16px;
    margin: 20px 5px 0;
  }

  .post-header {
    padding: 20px 16px;
  }
}
.btn-full {
  width: 100%;
}
.mt-40 {
  margin-top: 40px !important;
}
.mt-60 {
  margin-top: 60px !important;
}

/* 动效：滚动进场通用动画（尊重系统“减少动态效果”设置） */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
    will-change: transform, opacity;
  }
  .reveal.visible {
    opacity: 1;
    transform: none;
  }
  .reveal[data-animate="fade"] {
    transform: none;
  }
  .reveal[data-animate="left"] {
    transform: translateX(-24px);
  }
  .reveal[data-animate="right"] {
    transform: translateX(24px);
  }
}

/* 案例详情页面样式 */
.case-detail-page {
  padding: 40px 0;
  background: var(--surface-weak);
  min-height: 100vh;
}

.breadcrumb {
  margin-bottom: 32px;
  font-size: 14px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--brand-600);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--brand-700);
}

.breadcrumb .separator {
  margin: 0 8px;
  color: var(--text-muted);
}

.breadcrumb .current {
  color: var(--text-strong);
  font-weight: 500;
}

.case-detail-content {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.case-header {
  padding: 40px;
  background: var(--gradient-brand);
  color: white;
  text-align: center;
}

.case-header h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.case-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.case-customer {
  font-size: 18px;
  font-weight: 500;
  opacity: 0.9;
}

.case-tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.case-body {
  padding: 40px;
}

.case-section {
  margin-bottom: 40px;
}

.case-section:last-child {
  margin-bottom: 0;
}

.case-section h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--brand-600);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--brand-300);
  display: inline-block;
}

.challenge-content,
.solution-content,
.result-content {
  background: var(--surface-weak);
  padding: 24px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--brand-600);
}

.challenge-content p,
.solution-content p,
.result-content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

.testimonial {
  background: var(--gradient-brand);
  color: white;
  padding: 32px;
  border-radius: var(--radius-md);
  text-align: center;
}

.testimonial blockquote {
  font-size: 18px;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 16px;
  opacity: 0.95;
}

.testimonial cite {
  font-size: 14px;
  opacity: 0.8;
  font-style: normal;
}

.related-cases {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e5e7eb;
}

.related-cases h2 {
  text-align: center;
  margin-bottom: 32px;
  color: var(--text-strong);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.related-case {
  background: white;
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.related-case:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  border-color: var(--brand-300);
}

.related-case h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 8px;
}

.related-case p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 14px;
}

.related-case .btn {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.related-case .btn-outline {
  color: var(--brand-600);
  border: 1px solid var(--brand-600);
}

.related-case .btn-outline:hover {
  background: var(--brand-600);
  color: white;
}

/* 案例卡片链接样式 - 保持原有样式不变 */
.case-study-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.3s ease;
}

.case-study-link:hover {
  text-decoration: none;
  color: inherit;
}

/* 确保a标签内的所有元素都保持原有样式 */
.case-study-link * {
  text-decoration: none;
}

.case-study-link:hover * {
  text-decoration: none;
}

/* 返回顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--brand-600);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: var(--shadow-medium);
  transition: all 0.3s ease;
  z-index: 1000;
  display: none;
}

.back-to-top:hover {
  background: var(--brand-700);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(28, 65, 172, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .case-header {
    padding: 24px;
  }

  .case-header h1 {
    font-size: 24px;
  }

  .case-meta {
    flex-direction: column;
    gap: 12px;
  }

  .case-body {
    padding: 24px;
  }

  .case-section h2 {
    font-size: 20px;
  }

  .challenge-content,
  .solution-content,
  .result-content {
    padding: 16px;
  }

  .testimonial {
    padding: 24px;
  }

  .testimonial blockquote {
    font-size: 16px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}
