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

: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: 40px 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: 256px;
  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.png");
}

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

/* 添加半透明遮罩层确保文字可读性 */
.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;
  }
}

/* 工具类 */
.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);
  }
}
