/* ==========================================================================
   恒造科技官网 - 全局样式
   主色调：深蓝科技蓝，体现工业科技感与专业稳重
   ========================================================================== */

/* ---------- 设计令牌 ---------- */
:root {
  /* 主色 */
  --color-primary: #0A2540;        /* 深蓝 - Header/标题/主按钮 */
  --color-primary-light: #1A3A6C;  /* 深蓝亮 */
  --color-accent: #2D7FF9;         /* 亮蓝 - 链接/图标/hover */
  --color-accent-dark: #1E88E5;

  /* 背景 */
  --color-bg: #FFFFFF;
  --color-bg-soft: #F7F9FC;
  --color-bg-dark: #0A2540;

  /* 文字 */
  --color-text: #1A1A1A;
  --color-text-secondary: #555555;
  --color-text-muted: #888888;
  --color-text-inverse: #FFFFFF;

  /* 功能色 */
  --color-success: #2E7D32;
  --color-danger: #D32F2F;
  --color-border: #E5E8EE;

  /* 字体 */
  --font-sans: "PingFang SC", "Microsoft YaHei", "Source Han Sans CN", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* 间距 */
  --container-max: 1200px;
  --section-py: 96px;
  --section-py-mobile: 56px;

  /* 圆角 */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 37, 64, 0.10);
  --shadow-lg: 0 16px 40px rgba(10, 37, 64, 0.14);

  /* 过渡 */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ---------- 容器 ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 排版 ---------- */
h1, h2, h3, h4 { color: var(--color-primary); font-weight: 700; line-height: 1.3; }
h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(26px, 3.5vw, 36px); }
h3 { font-size: clamp(20px, 2vw, 24px); }
h4 { font-size: 18px; }
p { color: var(--color-text-secondary); }

.section-title { text-align: center; margin-bottom: 16px; }
.section-subtitle {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 17px;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-eyebrow {
  display: inline-block;
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ---------- 区块 ---------- */
.section { padding: var(--section-py) 0; }
.section-soft { background: var(--color-bg-soft); }
.section-dark { background: var(--color-bg-dark); color: var(--color-text-inverse); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.75); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}
.btn-light {
  background: #fff;
  color: var(--color-primary);
}
.btn-light:hover { background: var(--color-bg-soft); color: var(--color-primary); }
.btn-lg { padding: 16px 40px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }

/* ==========================================================================
   Header 导航
   ========================================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}
.header.scrolled {
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo img { height: 40px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  padding: 6px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--color-accent); }

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  display: flex; align-items: center; gap: 6px;
}
.header-phone svg { width: 16px; height: 16px; color: var(--color-accent); }
.btn-header {
  padding: 10px 22px;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  width: 24px; height: 2px;
  background: var(--color-primary);
  transition: all var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero 首屏
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, rgba(10,37,64,0.92) 0%, rgba(26,58,108,0.88) 100%),
              url("../img/hero.jpg") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(45,127,249,0.25) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(45,127,249,0.18);
  border: 1px solid rgba(45,127,249,0.4);
  border-radius: 999px;
  color: #7FB7FF;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.hero h1 {
  color: #fff;
  margin-bottom: 24px;
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.2;
}
.hero h1 .highlight { color: #7FB7FF; }
.hero-subtitle {
  font-size: 19px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  max-width: 620px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* 页面通用 Hero（内页头） */
.page-hero {
  position: relative;
  padding: 140px 0 72px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #fff;
  text-align: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(45,127,249,0.25) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(45,127,249,0.15) 0%, transparent 40%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 18px; max-width: 680px; margin: 0 auto; }

/* ==========================================================================
   核心能力卡片
   ========================================================================== */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.capability-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: all var(--transition);
  display: block;
}
.capability-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}
.capability-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.capability-icon svg { width: 28px; height: 28px; color: #fff; }
.capability-card h3 { margin-bottom: 10px; font-size: 19px; }
.capability-card p { font-size: 14px; line-height: 1.6; }

/* ==========================================================================
   数据成果墙
   ========================================================================== */
.stats {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(45,127,249,0.2) 0%, transparent 40%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}
.stat-item { text-align: center; color: #fff; }
.stat-number {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  color: #7FB7FF;
  line-height: 1;
  margin-bottom: 12px;
  font-family: "Inter", -apple-system, sans-serif;
}
.stat-label { font-size: 15px; color: rgba(255,255,255,0.85); }

/* ==========================================================================
   卡片网格（案例/新闻通用）
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-bg-soft);
}
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-media img { transform: scale(1.06); }
.card-tag {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 12px;
  background: var(--color-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  z-index: 2;
}
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 18px; margin-bottom: 10px; }
.card-body p { font-size: 14px; line-height: 1.65; }
.card-result {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 600;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ==========================================================================
   筛选标签
   ========================================================================== */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}
.filter-tab {
  padding: 10px 24px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: all var(--transition);
}
.filter-tab:hover { border-color: var(--color-accent); color: var(--color-accent); }
.filter-tab.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* ==========================================================================
   关于简介区
   ========================================================================== */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-preview-text h2 { margin-bottom: 20px; }
.about-preview-text p { margin-bottom: 16px; }
.about-preview-text .quote {
  font-size: 19px;
  color: var(--color-primary);
  font-weight: 600;
  margin: 24px 0;
  padding-left: 16px;
  border-left: 3px solid var(--color-accent);
}
.about-preview-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}
.about-preview-media img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   功能模块（解决方案页）
   ========================================================================== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.pain-card {
  padding: 32px 24px;
  background: #fff;
  border-radius: var(--radius-md);
  border-top: 3px solid var(--color-danger);
  box-shadow: var(--shadow-sm);
}
.pain-card .pain-icon {
  width: 44px; height: 44px;
  background: rgba(211,47,47,0.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.pain-card .pain-icon svg { width: 24px; height: 24px; color: var(--color-danger); }
.pain-card h3 { font-size: 18px; margin-bottom: 8px; }
.pain-card p { font-size: 14px; }

.module-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.module-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}
.module-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.module-card .module-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
  font-family: "Inter", sans-serif;
}
.module-card h3 { margin-bottom: 12px; }
.module-card p { font-size: 15px; margin-bottom: 16px; }
.module-card .module-value {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(45,127,249,0.1);
  color: var(--color-accent);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.solution-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.solution-block:last-child { margin-bottom: 0; }
.solution-block.reverse .solution-text { order: 2; }
.solution-text h3 {
  font-size: 24px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}
.solution-text p { margin-bottom: 20px; }
.solution-text ul li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--color-text-secondary);
}
.solution-text ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D7FF9' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}
.solution-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}
.solution-media img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   时间线（关于页）
   ========================================================================== */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--color-accent), transparent);
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 40px 48px;
}
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-item::before {
  content: "";
  position: absolute;
  top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px rgba(45,127,249,0.2);
}
.timeline-item:nth-child(odd)::before { right: -8px; }
.timeline-item:nth-child(even)::before { left: -8px; }
.timeline-year {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-accent);
  font-family: "Inter", sans-serif;
  margin-bottom: 6px;
}
.timeline-item p { font-size: 15px; }

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.mvv-card {
  text-align: center;
  padding: 40px 28px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--color-accent);
}
.mvv-card .mvv-label {
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.mvv-card h3 { margin-bottom: 12px; }
.mvv-card p { font-size: 15px; }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.partner-item {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 24px 16px;
  text-align: center;
  font-weight: 600;
  color: var(--color-text-secondary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}
.partner-item:hover { color: var(--color-primary); box-shadow: var(--shadow-md); transform: translateY(-3px); }

/* ==========================================================================
   联系表单
   ========================================================================== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
}
.contact-info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}
.contact-info-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary-light));
  display: flex; align-items: center; justify-content: center;
}
.contact-info-icon svg { width: 24px; height: 24px; color: #fff; }
.contact-info-item h4 { font-size: 14px; color: var(--color-text-muted); font-weight: 500; margin-bottom: 4px; }
.contact-info-item p { font-size: 18px; color: var(--color-primary); font-weight: 600; }

.form-card {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.form-group label .required { color: var(--color-danger); }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  background: #fff;
  transition: all var(--transition);
  color: var(--color-text);
}
.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(45,127,249,0.12);
}
.form-control.error { border-color: var(--color-danger); }
textarea.form-control { resize: vertical; min-height: 120px; font-family: inherit; }
.form-error {
  display: none;
  color: var(--color-danger);
  font-size: 13px;
  margin-top: 6px;
}
.form-group.has-error .form-error { display: block; }
.form-success {
  display: none;
  padding: 16px 20px;
  background: rgba(46,125,50,0.1);
  border: 1px solid var(--color-success);
  border-radius: var(--radius-sm);
  color: var(--color-success);
  margin-bottom: 20px;
  font-size: 14px;
  align-items: center;
  gap: 10px;
}
.form-success.show { display: flex; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.map-wrap {
  margin-top: 64px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 380px;
  background: var(--color-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}

/* ==========================================================================
   CTA 区
   ========================================================================== */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 30%, rgba(45,127,249,0.3) 0%, transparent 35%),
    radial-gradient(circle at 85% 70%, rgba(45,127,249,0.2) 0%, transparent 35%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 18px; margin-bottom: 32px; }
.cta-band .hero-actions { justify-content: center; }
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  font-family: "Inter", sans-serif;
}
.cta-phone svg { width: 28px; height: 28px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #06182D;
  color: rgba(255,255,255,0.7);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img { height: 40px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.7; }
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: all var(--transition);
}
.footer-col ul li a:hover { color: #fff; padding-left: 4px; }
.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--color-accent); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .icp { margin-left: 16px; }

/* 浮动电话按钮（移动端） */
.float-call {
  display: none;
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 999;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}
.float-call svg { width: 26px; height: 26px; }

/* ==========================================================================
   动效
   ========================================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.in-view { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --section-py: var(--section-py-mobile); }
  .container { padding: 0 16px; }

  /* 导航 */
  .nav, .header-phone { display: none; }
  .menu-toggle { display: flex; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: #fff;
    padding: 24px;
    gap: 0;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--color-border);
  }
  .nav.open .nav-link {
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
    width: 100%;
  }
  .nav.open .nav-link::after { display: none; }
  .header-cta .btn-header { display: none; }

  /* Hero */
  .hero { min-height: auto; padding: 110px 0 56px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; min-width: 0; padding: 14px 20px; font-size: 15px; }
  .page-hero { padding: 110px 0 56px; }

  /* 网格转单列 */
  .capability-grid, .card-grid, .pain-grid, .module-grid,
  .mvv-grid, .about-preview, .contact-wrap, .solution-block,
  .stats-grid, .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }

  /* 时间线转单侧 */
  .timeline::before { left: 8px; }
  .timeline-item { width: 100%; left: 0 !important; text-align: left !important; padding: 0 0 36px 36px; }
  .timeline-item::before { left: 0 !important; right: auto !important; }

  .solution-block.reverse .solution-text { order: 0; }

  .form-card { padding: 24px; }
  .section-subtitle { margin-bottom: 36px; }
  .float-call { display: flex; }
  .cta-phone { font-size: 22px; }
}

/* ==========================================================================
   面包屑导航
   ========================================================================== */
.breadcrumb {
  background: var(--color-bg-soft);
  border-bottom: 1px solid var(--color-border);
  padding: 18px 0;
  font-size: 14px;
  color: var(--color-text-muted);
}
.breadcrumb a { color: var(--color-text-secondary); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb .sep { margin: 0 8px; color: var(--color-text-muted); }
.breadcrumb .current { color: var(--color-text); font-weight: 500; }

/* ==========================================================================
   文章页
   ========================================================================== */
.article { padding: 64px 0 32px; }
.article-container { max-width: 820px; }

.article-header { text-align: center; margin-bottom: 36px; }
.article-header h1 {
  font-size: clamp(26px, 4vw, 38px);
  margin: 16px 0 18px;
  line-height: 1.35;
}
.article-category {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--color-accent);
}
.article-category.cat-company { background: var(--color-accent); }
.article-category.cat-industry { background: #00897B; }
.article-category.cat-tech { background: var(--color-primary-light); }
.article-meta {
  font-size: 14px;
  color: var(--color-text-muted);
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.article-meta .dot { color: var(--color-border); }

.article-cover {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
}

/* 正文 Markdown 排版 */
.article-body { font-size: 17px; line-height: 1.85; color: var(--color-text); }
.article-body h2 {
  font-size: 24px;
  margin: 40px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--color-accent);
}
.article-body h3 { font-size: 20px; margin: 32px 0 14px; }
.article-body p { color: var(--color-text-secondary); margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 24px; }
.article-body li { color: var(--color-text-secondary); margin-bottom: 8px; }
.article-body li::marker { color: var(--color-accent); }
.article-body a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 2px; }
.article-body a:hover { color: var(--color-accent-dark); }
.article-body blockquote {
  margin: 24px 0;
  padding: 16px 22px;
  border-left: 4px solid var(--color-accent);
  background: var(--color-bg-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--color-text-secondary);
}
.article-body blockquote p { margin-bottom: 0; }
.article-body img { border-radius: var(--radius-md); margin: 24px 0; }
.article-body code {
  background: var(--color-bg-soft);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--color-accent-dark);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}
.article-body pre {
  background: var(--color-primary);
  color: #e6edf3;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 24px 0;
}
.article-body pre code { background: none; color: inherit; padding: 0; }
.article-body hr { border: none; border-top: 1px solid var(--color-border); margin: 36px 0; }
.article-body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.article-body th, .article-body td { border: 1px solid var(--color-border); padding: 10px 14px; text-align: left; }
.article-body th { background: var(--color-bg-soft); color: var(--color-primary); font-weight: 600; }

/* 上一篇 / 下一篇 */
.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}
.article-nav > a, .article-nav > span {
  flex: 1;
  max-width: 48%;
  padding: 18px 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.article-nav > a:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.article-nav .next { text-align: right; }
.article-nav .nav-label { font-size: 13px; color: var(--color-text-muted); }
.article-nav .nav-title { font-size: 15px; font-weight: 600; color: var(--color-primary); }
.article-nav .disabled { opacity: 0.5; cursor: default; }
.article-nav .disabled .nav-title { color: var(--color-text-muted); font-weight: 400; }

@media (max-width: 768px) {
  .article { padding: 40px 0 16px; }
  .article-body { font-size: 16px; }
  .article-nav { flex-direction: column; }
  .article-nav .next { text-align: left; }
}
