/* ==========================================================================
   宁达(NIDA)科技网 - 主样式表
   现代响应式设计 · 深蓝品牌主色 · 纯 CSS 无框架依赖
   ========================================================================== */

/* ---------- 设计令牌 ---------- */
:root {
  --brand: #003d8f;
  --brand-dark: #002a63;
  --brand-light: #1e5fc0;
  --brand-soft: #e8f0fb;
  --accent: #00a3a8;
  --accent-dark: #007a7e;

  --text: #1a2332;
  --text-light: #5a6478;
  --text-muted: #8a93a6;
  --bg: #ffffff;
  --bg-alt: #f6f8fc;
  --bg-dark: #0e1a2e;
  --border: #e2e8f2;

  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(14, 26, 46, .06);
  --shadow: 0 8px 28px rgba(14, 26, 46, .10);
  --shadow-lg: 0 18px 50px rgba(14, 26, 46, .16);

  --maxw: 1200px;
  --header-h: 72px;

  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC",
          "Noto Sans CJK SC", "WenQuanYi Micro Hei", system-ui, -apple-system, sans-serif;
}

/* ---------- 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { margin: 0; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  padding-top: calc(var(--header-h) + 24px);
  text-align: justify;
}
img, video { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-light); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- 通用布局 ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #d8e0ee; }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em;
  color: var(--brand-light); background: var(--brand-soft);
  padding: 6px 16px; border-radius: 30px; margin-bottom: 18px;
}
.section-head h2 { font-size: 34px; font-weight: 700; line-height: 1.3; margin-bottom: 16px; }
.section-head p { font-size: 17px; color: var(--text-light); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 13px 30px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600;
  transition: all .25s; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--brand); border: 2px solid var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: var(--brand-soft); color: var(--brand-dark); }
.btn-lg { padding: 16px 38px; font-size: 16px; }
.btn-block { width: 100%; }

/* ==========================================================================
   头部导航（由 main.js 注入 #site-header）
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; height: var(--header-h);
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(226, 232, 242, .6); z-index: 1000;
  transition: box-shadow .3s, background .3s, height .3s;
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(14, 26, 46, .08);
  background: rgba(255, 255, 255, .98);
}
.header-inner {
  height: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: nowrap;
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.brand-text { font-size: 18px; font-weight: 700; color: var(--brand-dark); letter-spacing: .01em; line-height: 1.1; }
.brand-text small { display: block; font-size: 10px; font-weight: 600; color: var(--text-muted); letter-spacing: .14em; margin-top: 2px; }

/* 导航：下划线动效 + 合理间距，强制单行不换行 */
.main-nav { display: flex; align-items: center; gap: 0; flex-wrap: nowrap; }
.main-nav a {
  position: relative; padding: 10px 12px; font-size: 14.5px; font-weight: 500;
  color: var(--text-light); border-radius: var(--radius-sm); transition: color .2s;
  white-space: nowrap; flex-shrink: 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
  background: var(--brand); border-radius: 2px; transform: scaleX(0); transform-origin: center;
  transition: transform .25s ease;
}
.main-nav a:hover { color: var(--brand); background: transparent; }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a.active { color: var(--brand); font-weight: 600; }
.main-nav a.active::after { transform: scaleX(1); }
.main-nav .nav-cta {
  background: var(--brand); color: #fff; padding: 11px 28px; margin-left: 10px;
  border-radius: var(--radius-sm); font-weight: 600; box-shadow: 0 4px 12px rgba(0, 61, 143, .25);
}
.main-nav .nav-cta::after { display: none; }
.main-nav .nav-cta:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0, 61, 143, .35); }

/* 导航下拉菜单 */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown > a { cursor: pointer; display: flex; align-items: center; }
.nav-dropdown-menu { position: absolute; top: 100%; left: 0; min-width: 200px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .2s; z-index: 100; }
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a { display: block; padding: 9px 14px; font-size: 14px; color: var(--text); border-radius: var(--radius-sm); white-space: nowrap; }
.nav-dropdown-menu a:hover { background: var(--brand-soft); color: var(--brand); }
.nav-dropdown-menu a::after { display: none; }

/* 语言切换器 */
.lang-switch { position: relative; flex-shrink: 0; margin-left: 6px; }
.lang-current { display: flex; align-items: center; gap: 5px; padding: 8px 12px; font-size: 13px; font-weight: 500; color: var(--text-light); border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; cursor: pointer; transition: all .2s; white-space: nowrap; }
.lang-current:hover { border-color: var(--brand); color: var(--brand); }
.lang-menu { position: absolute; top: calc(100% + 4px); left: 0; min-width: 100%; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 4px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .2s; z-index: 100; }
.lang-switch:hover .lang-menu,
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu a { display: flex; align-items: center; gap: 8px; padding: 9px 12px; font-size: 14px; color: var(--text); border-radius: var(--radius-sm); white-space: nowrap; }
.lang-menu a:hover { background: var(--brand-soft); color: var(--brand); }
.lang-menu a.active { color: var(--brand); font-weight: 600; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 语言门户页 */
.portal { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--bg-dark) 0%, #102a52 55%, var(--brand-dark) 100%); color: #fff; text-align: center; padding: 40px 24px; position: relative; overflow: hidden; }
.portal::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 70% 25%, rgba(30,95,192,.4), transparent 50%), radial-gradient(circle at 20% 80%, rgba(0,163,168,.15), transparent 45%); }
.portal-logo { position: relative; z-index: 2; height: 80px; margin-bottom: 24px; }
.portal h1 { position: relative; z-index: 2; font-size: 38px; font-weight: 800; margin-bottom: 12px; }
.portal .portal-sub { position: relative; z-index: 2; font-size: 17px; color: #c4d0e6; margin-bottom: 48px; }
.lang-cards { position: relative; z-index: 2; display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.lang-card { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 36px 48px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-lg); color: #fff; transition: all .3s; min-width: 200px; backdrop-filter: blur(8px); }
.lang-card:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.35); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.lang-card .lc-flag { font-size: 42px; }
.lang-card .lc-name { font-size: 19px; font-weight: 600; }
.lang-card .lc-region { font-size: 13px; color: #9fb0cc; }

/* ==========================================================================
   首页 Hero
   ========================================================================== */
.hero {
  position: relative; min-height: 88vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #102a52 55%, var(--brand-dark) 100%);
  color: #fff; overflow: hidden; padding-top: 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(30, 95, 192, .35), transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(0, 163, 168, .18), transparent 40%);
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: .22; transition: opacity 1s;
}
.hero-content { position: relative; z-index: 2; width: 100%; display: flex; align-items: center; gap: 48px; text-align: left; }
.hero-content .hero-text { flex: 1; }
.hero-content .hero-image { flex-shrink: 0; width: 45%; }
.hero-content .hero-image img { width: 100%; height: auto; object-fit: contain; }
.hero h1 { font-size: 50px; font-weight: 800; line-height: 1.2; margin-bottom: 22px; max-width: 760px; }
.hero h1 .grad { background: linear-gradient(90deg, #4d9aff, #00e0e6); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lead { font-size: 20px; color: #c4d0e6; max-width: 620px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; margin-top: 60px; }
.hero-stats .stat .num { font-size: 38px; font-weight: 800; color: #fff; }
.hero-stats .stat .label { font-size: 14px; color: #9fb0cc; }

/* 轮播指示点 */
.hero-dots { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.3); transition: .3s; }
.hero-dots button.active { background: #fff; width: 28px; border-radius: 5px; }

/* ==========================================================================
   通用卡片网格
   ========================================================================== */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); text-align: left; }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
/* 默认卡片图：contain 适配，保留完整图片不被裁切（适配产品盒图等竖图） */
.card-img {
  overflow: hidden; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center; padding: 22px;
  aspect-ratio: 4/3;
}
.card-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .5s; }
/* 实景图变体：cover 填满（适配案例照片等横图） */
.card-img--cover { padding: 0; aspect-ratio: 16/10; }
.card-img--cover img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 26px; }
.card-body h3 { font-size: 20px; margin-bottom: 10px; }
.card-body p { color: var(--text-light); font-size: 15px; }

/* 图标特性卡 */
.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 28px; transition: all .3s; position: relative; overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 0;
  background: var(--brand); transition: height .3s;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.feature-card:hover::before { height: 100%; }
.feature-card .icon {
  width: 58px; height: 58px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin: 0 auto 20px; background: var(--brand-soft); color: var(--brand);
}
.feature-card h3 { font-size: 19px; margin-bottom: 10px; text-align: center; }
.feature-card p { color: var(--text-light); font-size: 15px; }
/* feature-card 内嵌的原理图/截图：固定高度容器，contain 完整显示不裁切不变形 */
.feature-card .split-img { height: 170px; padding: 10px; margin-bottom: 16px; border-radius: 8px; }
.feature-card .split-img img { width: 100%; height: 100%; object-fit: contain; }

/* ==========================================================================
   产品版本卡
   ========================================================================== */
.version-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: all .3s; display: flex; flex-direction: column;
}
.version-card.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); position: relative; }
.version-card .badge {
  position: absolute; top: 16px; right: 16px; background: var(--brand); color: #fff;
  font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: var(--radius-sm);
}
.version-card .box-img { aspect-ratio: 3/2.4; background: linear-gradient(180deg, var(--bg-alt), #fff); display: flex; align-items: center; justify-content: center; padding: 24px 40px; }
.version-card .box-img img { max-width: 100%; max-height: 230px; width: auto; height: auto; object-fit: contain; }
.version-card .ver-body { padding: 30px; flex: 1; display: flex; flex-direction: column; }
.version-card h3 { font-size: 22px; margin-bottom: 8px; color: var(--brand); }
.version-card .ver-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 18px; }
.version-card ul { margin-bottom: 24px; flex: 1; }
.version-card ul li { padding: 7px 0 7px 26px; position: relative; font-size: 15px; color: var(--text-light); }
.version-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ==========================================================================
   CTA 横幅
   ========================================================================== */
.cta-banner {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-light) 100%);
  border-radius: var(--radius-lg); padding: 56px 56px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-banner::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  border-radius: 50%; background: rgba(255,255,255,.08); z-index: 0; pointer-events: none;
}
.cta-banner h2 { font-size: 30px; margin-bottom: 8px; position: relative; }
.cta-banner p { font-size: 17px; opacity: .9; position: relative; }
.cta-banner .btn { position: relative; z-index: 1; }

/* ==========================================================================
   页面通用 Hero（内页顶部）
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #122c54 100%);
  color: #fff; padding: calc(var(--header-h) + 70px) 0 70px; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 70% 30%, rgba(30,95,192,.3), transparent 50%);
}
.page-hero h1 { font-size: 40px; font-weight: 800; margin-bottom: 14px; position: relative; }
.page-hero p { font-size: 18px; color: #c4d0e6; max-width: 640px; margin: 0 auto; position: relative; }
.breadcrumb { margin-top: 20px; font-size: 14px; color: #9fb0cc; position: relative; }
.breadcrumb a { color: #c4d0e6; }
.breadcrumb a:hover { color: #fff; }

/* ==========================================================================
   图文交替区（功能/原理页）
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-text { order: 2; }
.split-text h3 { font-size: 26px; margin-bottom: 16px; }
.split-text p { color: var(--text-light); margin-bottom: 14px; }
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-alt); display: flex; align-items: center; justify-content: center; padding: 12px; }
.split-img img { width: 100%; height: auto; object-fit: contain; border-radius: calc(var(--radius) - 4px); }

/* 图片画廊 */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery .g-item { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16/10; box-shadow: var(--shadow-sm); cursor: pointer; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; padding: 8px; }
.gallery .g-item img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .4s; }
.gallery .g-item:hover img { transform: scale(1.05); }

/* 视频网格 */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: #000; }
.video-item video { width: 100%; display: block; }
.video-item .v-cap { padding: 14px 18px; background: #fff; font-size: 15px; font-weight: 500; }

/* ==========================================================================
   表格（版本对比 / 购买）
   ========================================================================== */
.compare-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--border); }
.compare-table th { background: var(--brand); color: #fff; font-weight: 600; font-size: 15px; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; font-weight: 500; }
.compare-table tbody tr:hover { background: var(--brand-soft); }
.compare-table .yes { color: var(--accent); font-weight: 700; }
.compare-table .no { color: var(--text-muted); }

/* ==========================================================================
   联系页
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-info .ci-item { display: flex; gap: 18px; margin-bottom: 28px; }
.contact-info .ci-item .ci-icon { width: 50px; height: 50px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.contact-info .ci-item h4 { font-size: 16px; margin-bottom: 4px; }
.contact-info .ci-item p { color: var(--text-light); font-size: 15px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 420px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* 办公室卡片 */
.office-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; transition: all .3s; }
.office-card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-4px); }
.office-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.office-flag { width: 52px; height: 52px; border-radius: 12px; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; }
.office-head h3 { font-size: 19px; margin-bottom: 4px; }
.office-sub { font-size: 13px; color: var(--text-muted); }
.office-info { display: flex; flex-direction: column; gap: 12px; }
.office-info li { display: flex; gap: 12px; font-size: 15px; color: var(--text-light); align-items: flex-start; }
.office-info li span:first-child { flex-shrink: 0; }

/* 团队成员 */
.member-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all .3s; }
.member-card:hover { box-shadow: var(--shadow); }
.member-top { display: flex; gap: 28px; padding: 36px; align-items: flex-start; }
.member-photo { width: 160px; height: 160px; border-radius: var(--radius); object-fit: cover; flex-shrink: 0; background: var(--bg-alt); }
.member-info h3 { font-size: 24px; margin-bottom: 4px; }
.member-title-en { font-size: 14px; color: var(--brand); font-weight: 600; margin-bottom: 6px; }
.member-affil { font-size: 14px; color: var(--text-muted); margin-bottom: 14px; }
.member-bio { font-size: 15px; color: var(--text-light); line-height: 1.8; }
.member-detail { padding: 0 36px 36px; }
.member-detail h4 { font-size: 16px; margin: 22px 0 10px; color: var(--brand-dark); display: flex; align-items: center; gap: 8px; }
.member-detail h4::before { content: ""; width: 4px; height: 18px; background: var(--brand); border-radius: 2px; }
.member-detail ul { padding-left: 20px; }
.member-detail ul li { font-size: 14.5px; color: var(--text-light); margin-bottom: 8px; line-height: 1.7; list-style: disc; }
.member-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.member-tags span { font-size: 12px; background: var(--brand-soft); color: var(--brand); padding: 4px 12px; border-radius: 20px; }

/* 招聘岗位 */
.job-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; transition: all .3s; }
.job-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.job-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.job-head h3 { font-size: 20px; }
.job-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; font-size: 14px; color: var(--text-muted); }
.job-meta span { display: flex; align-items: center; gap: 5px; }
.job-section h4 { font-size: 15px; margin: 18px 0 10px; color: var(--brand-dark); }
.job-section ul { padding-left: 20px; }
.job-section ul li { font-size: 14.5px; color: var(--text-light); margin-bottom: 7px; line-height: 1.7; list-style: disc; }

/* 文章/新闻列表 */
.article-list { max-width: 860px; margin: 0 auto; }
.article-item { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--border); transition: padding .2s; }
.article-item:hover { padding-left: 8px; }
.article-date { flex-shrink: 0; width: 90px; text-align: center; }
.article-date .day { font-size: 30px; font-weight: 800; color: var(--brand); line-height: 1; }
.article-date .ym { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.article-body h3 { font-size: 18px; margin-bottom: 8px; }
.article-body h3 a { color: var(--text); }
.article-body h3 a:hover { color: var(--brand); }
.article-body p { font-size: 15px; color: var(--text-light); }

/* 文章正文 */
.article-content { max-width: 860px; margin: 0 auto; }
.article-content h1 { font-size: 30px; margin-bottom: 12px; }
.article-content .article-meta { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.article-content p { font-size: 16px; color: var(--text); line-height: 1.9; margin-bottom: 18px; }
.article-content h2 { font-size: 22px; margin: 32px 0 14px; color: var(--brand-dark); }
.article-content h3 { font-size: 18px; margin: 24px 0 12px; color: var(--brand-dark); }
.article-content ul { padding-left: 22px; margin-bottom: 18px; }
.article-content ul li { font-size: 15.5px; color: var(--text); margin-bottom: 8px; line-height: 1.8; list-style: disc; }
.article-content img { border-radius: var(--radius-sm); margin: 18px 0; box-shadow: var(--shadow-sm); }
.article-back { margin-top: 36px; }

/* ==========================================================================
   试用申请表单
   ========================================================================== */
.trial-wrap { max-width: 760px; margin: 0 auto; }
.form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 48px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.form-group label .req { color: #e03838; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit; color: var(--text); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group .hint { font-size: 13px; color: var(--text-muted); margin-top: 6px; }
.form-group .err { font-size: 13px; color: #e0383388; margin-top: 6px; display: none; }
.form-group.invalid input, .form-group.invalid select, .form-group.invalid textarea { border-color: #e0383e; }
.form-group.invalid .err { display: block; }
/* honeypot 隐藏字段 */
.hp { position: absolute; left: -9999px; top: -9999px; }

.form-note { font-size: 13px; color: var(--text-muted); margin-top: 18px; text-align: center; }

/* 表单提交反馈 */
.form-feedback { display: none; text-align: center; padding: 24px; border-radius: var(--radius-sm); margin-bottom: 24px; }
.form-feedback.success { display: block; background: #e8f8ed; color: #1a7a3a; border: 1px solid #b8e6c8; }
.form-feedback.error { display: block; background: #fdecec; color: #b3261e; border: 1px solid #f3c4c0; }
.form-feedback .spinner {
  display: inline-block; width: 18px; height: 18px; border: 2.5px solid currentColor;
  border-top-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; vertical-align: middle; margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   下载卡片
   ========================================================================== */
.dl-card {
  display: flex; align-items: center; gap: 24px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 32px; transition: all .3s;
}
.dl-card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateX(4px); }
.dl-card .dl-icon { width: 60px; height: 60px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; }
.dl-card .dl-info { flex: 1; }
.dl-card .dl-info h4 { font-size: 18px; margin-bottom: 4px; }
.dl-card .dl-info p { font-size: 14px; color: var(--text-muted); }

/* ==========================================================================
   关于页
   ========================================================================== */
.about-intro { max-width: 820px; margin: 0 auto; }
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 20px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline .tl-item { position: relative; padding-left: 56px; padding-bottom: 36px; }
.timeline .tl-item::before { content: ""; position: absolute; left: 13px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--brand); }
.timeline .tl-item .tl-year { font-size: 14px; font-weight: 700; color: var(--brand); }
.timeline .tl-item h4 { font-size: 17px; margin: 4px 0 6px; }
.timeline .tl-item p { font-size: 15px; color: var(--text-light); }

/* ==========================================================================
   页脚（由 main.js 注入 #site-footer）
   ========================================================================== */
.site-footer { background: var(--bg-alt); color: var(--text-light); padding: 64px 0 0; border-top: 1px solid var(--border); }
.footer-grid { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 64px; padding-bottom: 48px; }
.footer-col h4 { color: var(--text); font-size: 16px; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--text-light); font-size: 14px; }
.footer-col ul li a:hover { color: var(--brand); }
.footer-about p { font-size: 14px; line-height: 1.8; margin-bottom: 18px; }
.footer-about img { height: 44px; margin-bottom: 18px; }
.footer-contact { flex: 0 0 auto; }
.footer-contact li { font-size: 14px; margin-bottom: 14px; display: flex; gap: 10px; align-items: flex-start; }
.footer-contact li span:first-child { flex-shrink: 0; }
.footer-partners { flex: 0 0 auto; }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0; text-align: center; font-size: 13px; color: var(--text-muted); }

/* ==========================================================================
   回到顶部
   ========================================================================== */
.to-top {
  position: fixed; right: 28px; bottom: 28px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 20px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: .3s; z-index: 900;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--brand-dark); transform: translateY(-3px); }

/* ==========================================================================
   滚动渐入动画
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}
