/* ==========================================================================
   明睿智能人事管理系统 · 官网公共样式
   浅色明亮科技风主题（Light Tech）
   纯原生 CSS，无任何外部依赖
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1. 设计变量
   --------------------------------------------------------------------------- */
:root {
  --primary: #0268ed;
  --primary-dark: #0051c7;
  --primary-light: #e6f0fe;
  --primary-soft: #f0f7ff;
  --accent-cyan: #06b6d4;
  --accent-violet: #6366f1;

  --bg: #ffffff;
  --bg-2: #f8fafc;
  --bg-3: #f1f5f9;
  --bg-dark: #0f172a;
  --bg-dark-2: #1e293b;

  --panel: #ffffff;
  --panel-2: #f8fafc;

  --border: #e2e8f0;
  --border-2: #cbd5e1;
  --border-light: #f1f5f9;

  --text: #0f172a;
  --text-2: #475569;
  --text-3: #94a3b8;
  --text-light: #ffffff;
  --text-light-2: #cbd5e1;

  --grad: linear-gradient(135deg, #0268ed 0%, #3b82f6 50%, #06b6d4 100%);
  --grad-soft: linear-gradient(135deg, #e6f0fe 0%, #f0f7ff 100%);
  --grad-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);

  --radius: 16px;
  --radius-lg: 22px;
  --radius-sm: 10px;
  --radius-xs: 8px;

  --shadow: 0 4px 24px rgba(2, 104, 237, .06);
  --shadow-md: 0 8px 32px rgba(2, 104, 237, .10);
  --shadow-lg: 0 18px 56px rgba(15, 23, 42, .12);
  --shadow-blue: 0 8px 30px rgba(2, 104, 237, .22);

  --container: 1200px;
  --glow: 0 0 40px rgba(2, 104, 237, .25);

  --header-height: 76px;
}

/* ---------------------------------------------------------------------------
   2. 基础重置
   --------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  line-height: 1.25;
  font-weight: 700;
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: rgba(2, 104, 237, .18);
  color: var(--primary-dark);
}

/* ---------------------------------------------------------------------------
   3. 布局容器 / 区块
   --------------------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 110px 0;
  position: relative;
}

.section:first-of-type {
  padding-top: 0;
}

.section.bg-alt {
  background: var(--bg-2);
}

.section.bg-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.section.bg-dark .section-title,
.section.bg-dark .card-title,
.section.bg-dark .module-name,
.section.bg-dark .step-title,
.section.bg-dark .faq-q {
  color: var(--text-light);
}

.section.bg-dark .section-desc,
.section.bg-dark .card-desc,
.section.bg-dark .module-desc,
.section.bg-dark .step-desc,
.section.bg-dark .faq-a p,
.section.bg-dark .text-dim {
  color: var(--text-light-2);
}

.section-sm {
  padding: 72px 0;
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 64px;
}

.section-head.left {
  text-align: left;
  margin-left: 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  margin-bottom: 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid rgba(2, 104, 237, .12);
}

.section-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.section-title {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 18px;
  color: var(--text);
}

.section-desc {
  color: var(--text-2);
  font-size: clamp(15px, 1.4vw, 18px);
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------------------------------------------------------------------------
   4. 栅格
   --------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 24px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ---------------------------------------------------------------------------
   5. 通用工具类
   --------------------------------------------------------------------------- */
.text-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.text-dim {
  color: var(--text-2);
}

.text-muted {
  color: var(--text-3);
}

.center {
  text-align: center;
}

.divider {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--border-2), transparent);
}

.divider-solid {
  background: var(--border);
}

/* 列表：蓝色前缀 */
.list {
  display: grid;
  gap: 12px;
}

.list li {
  position: relative;
  padding-left: 26px;
  color: var(--text-2);
  line-height: 1.7;
}

.list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px rgba(2, 104, 237, .35);
}

/* ---------------------------------------------------------------------------
   6. 顶部导航（sticky）
   --------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s ease, background .3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(2, 104, 237, .08);
  background: rgba(255, 255, 255, .96);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 24px;
}

/* 品牌 Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  height: 40px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: .01em;
}

.brand-text em {
  font-style: normal;
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
}

/* 主导航 */
.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color .25s ease, background .25s ease;
}

.site-nav a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.site-nav a.active {
  color: var(--primary);
  background: var(--primary-light);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* 移动端汉堡按钮 */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  border-radius: 12px;
  background: var(--primary-light);
  cursor: pointer;
  transition: background .25s ease;
}

.nav-toggle:hover {
  background: #dbeafe;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transition: transform .3s ease, opacity .3s ease;
}

/* 展开时变成叉号 */
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------------------------------------------------------------------------
   7. 按钮
   --------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
  white-space: nowrap;
}

.btn-primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 8px 24px rgba(2, 104, 237, .28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue), 0 12px 30px rgba(2, 104, 237, .22);
  filter: brightness(1.05);
}

.btn-ghost {
  color: var(--primary);
  background: transparent;
  border-color: rgba(2, 104, 237, .25);
}

.btn-ghost:hover {
  background: var(--primary-light);
  border-color: var(--primary);
}

.btn-light {
  color: var(--primary);
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .12);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .18);
}

.btn-white {
  color: var(--primary);
  background: #fff;
  box-shadow: 0 4px 16px rgba(2, 104, 237, .15);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 104, 237, .25);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13px;
}

.btn-lg {
  padding: 16px 34px;
  font-size: 16px;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ---------------------------------------------------------------------------
   8. Hero 首屏
   --------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 130px 0 110px;
  background:
    radial-gradient(900px 520px at 18% 0%, rgba(2, 104, 237, .10), transparent 65%),
    radial-gradient(760px 420px at 92% 20%, rgba(6, 182, 212, .10), transparent 65%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

/* 装饰光斑层 */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 104, 237, .14), transparent 68%);
  filter: blur(20px);
  animation: floatGlow 12s ease-in-out infinite;
}

.hero-bg::after {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, .12), transparent 68%);
  filter: blur(24px);
  animation: floatGlow 15s ease-in-out infinite reverse;
}

/* 网格纹理 */
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .4;
  background-image:
    linear-gradient(rgba(2, 104, 237, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 104, 237, .06) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: .85;
  }
  50% {
    transform: translate3d(24px, -20px, 0) scale(1.06);
    opacity: 1;
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  margin-bottom: 26px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid rgba(2, 104, 237, .12);
}

.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

.hero-title {
  font-size: clamp(36px, 5.2vw, 64px);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 24px;
  line-height: 1.1;
  color: var(--text);
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--text-2);
  max-width: 740px;
  line-height: 1.7;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tag {
  display: inline-block;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease;
}

.tag:hover {
  color: var(--primary);
  border-color: rgba(2, 104, 237, .35);
  background: var(--primary-light);
  transform: translateY(-1px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* Hero 统计 */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.hero-stat {
  padding: 24px;
  border-radius: var(--radius);
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.hero-stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(2, 104, 237, .25);
}

.hero-stat-num {
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 800;
  letter-spacing: -.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-stat-label {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-2);
}

/* ---------------------------------------------------------------------------
   9. 卡片
   --------------------------------------------------------------------------- */
.card {
  position: relative;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease, background .35s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(2, 104, 237, .25);
  box-shadow: var(--shadow-md), 0 12px 40px rgba(2, 104, 237, .08);
}

a.card:hover {
  border-color: rgba(2, 104, 237, .35);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 8px 22px rgba(2, 104, 237, .28);
}

.card-icon.light {
  color: var(--primary);
  background: var(--primary-light);
  box-shadow: none;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.card-desc {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.7;
}

.card-list {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.card-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.6;
}

.card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}

/* 场景方案卡片色条 */
.card-pain,
.card-solution,
.card-value {
  position: relative;
  overflow: hidden;
}

.card-pain::before,
.card-solution::before,
.card-value::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.card-pain::before {
  background: linear-gradient(90deg, #f97316, #fb923c);
}

.card-solution::before {
  background: var(--grad);
}

.card-value::before {
  background: linear-gradient(90deg, #22c55e, #4ade80);
}

/* ---------------------------------------------------------------------------
   10. 内页页头
   --------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: 110px 0 60px;
  background:
    radial-gradient(760px 380px at 12% 0%, rgba(2, 104, 237, .08), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  border-bottom: 1px solid var(--border);
}

.page-hero.center {
  text-align: center;
}

.page-title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 18px;
  color: var(--text);
}

.page-desc {
  max-width: 760px;
  color: var(--text-2);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.7;
}

.page-hero.center .page-desc {
  margin-left: auto;
  margin-right: auto;
}

.breadcrumb {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 20px;
  font-weight: 500;
}

.breadcrumb a {
  color: var(--text-2);
  transition: color .25s ease;
}

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

/* ---------------------------------------------------------------------------
   11. 模块 / 功能块
   --------------------------------------------------------------------------- */
.module {
  display: block;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.module:hover {
  transform: translateY(-4px);
  border-color: rgba(2, 104, 237, .25);
  box-shadow: var(--shadow-md);
}

.module-head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border-light);
}

.module-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.module-desc {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.7;
}

.module-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 28px;
  margin-top: 0;
}

.module-points li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

.module-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px rgba(2, 104, 237, .35);
}

/* 键值小卡片 */
.kv {
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.kv .kv-k {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 6px;
  font-weight: 500;
}

.kv .kv-v {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

/* ---------------------------------------------------------------------------
   12. 流程步骤
   --------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.step:hover {
  transform: translateY(-4px);
  border-color: rgba(2, 104, 237, .25);
  box-shadow: var(--shadow-md);
}

/* 连接线 */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50px;
  right: -24px;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--border-2), transparent);
}

.step-no {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-bottom: 18px;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 6px 18px rgba(2, 104, 237, .28);
}

.step-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.step-desc {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------------------------------------------------------------------------
   13. 架构分层
   --------------------------------------------------------------------------- */
.arch {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.arch-layer {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.arch-layer:hover {
  border-color: rgba(2, 104, 237, .25);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.arch-label {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.arch-label::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--primary);
  box-shadow: 0 0 10px rgba(2, 104, 237, .4);
  flex-shrink: 0;
}

.arch-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  background: var(--bg-2);
  border: 1px solid var(--border);
  transition: color .25s ease, border-color .25s ease, background .25s ease;
}

.chip:hover {
  color: var(--primary);
  border-color: rgba(2, 104, 237, .25);
  background: var(--primary-light);
}

/* ---------------------------------------------------------------------------
   14. 问答手风琴
   --------------------------------------------------------------------------- */
.faq {
  display: grid;
  gap: 14px;
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color .3s ease, box-shadow .3s ease;
}

.faq-item:hover {
  border-color: rgba(2, 104, 237, .2);
}

.faq-item.open {
  border-color: rgba(2, 104, 237, .35);
  box-shadow: var(--shadow-md);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  transition: color .3s ease;
}

.faq-q::after {
  content: "+";
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 400;
  color: var(--primary);
  transition: transform .3s ease;
}

.faq-item.open .faq-q {
  color: var(--primary-dark);
}

.faq-item.open .faq-q::after {
  content: "−";
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .38s ease;
}

.faq-item.open .faq-a {
  max-height: 420px;
}

.faq-a p {
  padding: 0 24px 22px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------------------------------------------------------------------------
   15. 表单
   --------------------------------------------------------------------------- */
.demo-form {
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 17px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-3);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(2, 104, 237, .12), 0 4px 16px rgba(2, 104, 237, .08);
}

/* 字段错误态 */
.form-group.is-error input,
.form-group.is-error textarea {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .12);
}

.form-msg {
  display: none;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.form-msg.is-error,
.form-msg.is-ok {
  display: block;
}

.form-msg.is-error {
  color: #b91c1c;
  background: rgba(239, 68, 68, .08);
  border: 1px solid rgba(239, 68, 68, .25);
}

.form-msg.is-ok {
  color: #15803d;
  background: rgba(34, 197, 94, .08);
  border: 1px solid rgba(34, 197, 94, .25);
}

/* ---------------------------------------------------------------------------
   16. 统计数字
   --------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  padding: 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(2, 104, 237, .2);
}

.stat-num {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.stat-label {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
}

/* 蓝底反白统计 */
.stats-light .stat {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .12);
}

.stats-light .stat-num {
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
}

.stats-light .stat-label {
  color: var(--text-light-2);
}

/* ---------------------------------------------------------------------------
   16.1 扫码添加微信
   --------------------------------------------------------------------------- */
.qr-code {
  display: inline-block;
  padding: 14px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.qr-code img {
  max-width: 220px;
  margin: 0 auto;
  border-radius: var(--radius-sm);
}

.qr-hint {
  margin-top: 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.qr-tip {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-3);
}

/* ---------------------------------------------------------------------------
   16.2 预约演示扫码弹窗
   --------------------------------------------------------------------------- */
.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, .65);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.modal-mask.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 34px 32px 30px;
  border-radius: var(--radius-lg);
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transform: translateY(12px) scale(.98);
  transition: transform .25s ease;
}

.modal-mask.is-open .modal-dialog {
  transform: none;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-2);
  font-size: 20px;
  line-height: 1;
  color: var(--text-2);
  cursor: pointer;
  transition: color .25s ease, border-color .25s ease, background .25s ease;
}

.modal-close:hover {
  color: var(--text);
  border-color: var(--border-2);
  background: var(--bg-3);
}

.modal-title {
  font-size: 22px;
  color: var(--text);
  font-weight: 700;
}

.modal-desc {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

.modal-dialog .qr-code {
  margin-top: 24px;
}

body.is-modal-open {
  overflow: hidden;
}

/* ---------------------------------------------------------------------------
   17. 页脚
   --------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-dark);
  color: var(--text-light-2);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand p {
  margin-top: 18px;
  max-width: 340px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-light-2);
}

.footer-brand .brand {
  margin-bottom: 4px;
}

.footer-brand .brand-text strong {
  color: #fff;
}

.footer-brand .brand-text em {
  color: var(--text-light-2);
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #fff;
}

.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-light-2);
  transition: color .25s ease, transform .25s ease;
}

.footer-col a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
  color: var(--text-light-2);
  flex-wrap: wrap;
}

/* ---------------------------------------------------------------------------
   18. 滚动淡入动画
   --------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------------------------------------------------------------------------
   19. 深色区块内组件适配
   --------------------------------------------------------------------------- */
.section.bg-dark .card {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .1);
}

.section.bg-dark .card:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .2);
}

.section.bg-dark .card-desc,
.section.bg-dark .card-list li {
  color: var(--text-light-2);
}

.section.bg-dark .tag {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .15);
  color: var(--text-light-2);
}

.section.bg-dark .tag:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.section.bg-dark .section-tag {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .2);
  color: #fff;
}

.section.bg-dark .section-tag::before {
  background: #fff;
}

/* ---------------------------------------------------------------------------
   20. 响应式
   --------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps .step:nth-child(2n)::after {
    display: none;
  }

  .arch-layer {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  .container {
    padding: 0 18px;
  }

  .section {
    padding: 72px 0;
  }

  .section-sm {
    padding: 56px 0;
  }

  .section-head {
    margin-bottom: 42px;
  }

  .hero {
    padding: 90px 0 72px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .page-hero {
    padding: 84px 0 44px;
  }

  /* 移动端导航抽屉 */
  .nav-toggle {
    display: inline-flex;
  }

  /* header 三栏在移动端收敛 */
  .header-actions .btn {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 18px 20px;
    background: rgba(255, 255, 255, .98);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: none;
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
  }

  /* 栅格下降 */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .stats,
  .steps {
    grid-template-columns: 1fr;
  }

  .steps .step::after {
    display: none;
  }

  .module-points {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  /* 字号缩小 */
  .hero-title {
    font-size: clamp(30px, 8vw, 44px);
  }

  .section-title {
    font-size: clamp(24px, 6vw, 32px);
  }

  .card {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 56px 0;
  }

  .section-sm {
    padding: 40px 0;
  }

  .hero {
    padding: 72px 0 56px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .brand-text em {
    display: none;
  }

  .card {
    padding: 20px;
  }

  .module,
  .step,
  .arch-layer {
    padding: 20px;
  }

  .faq-q {
    padding: 16px 18px;
    font-size: 15px;
  }

  .faq-a p {
    padding: 0 18px 18px;
  }
}

/* ---------------------------------------------------------------------------
   21. 无障碍：减少动画
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
