/* ================================================================
   现代简约主题 Modern Theme
   设计语言:大留白 · 强对比 · 柔和阴影 · 微交互
   适用于:企业/教育/科技/通用服务类站点
   ================================================================ */

/* ---------- 设计令牌 ---------- */
:root {
  /* 配色 */
  --c-primary: #2563eb;
  --c-primary-dark: #1e40af;
  --c-primary-light: #dbeafe;
  --c-accent: #0ea5e9;
  --c-success: #10b981;
  --c-warning: #f59e0b;
  --c-danger: #ef4444;

  /* 中性色 */
  --c-bg: #ffffff;
  --c-bg-alt: #f8fafc;
  --c-bg-muted: #f1f5f9;
  --c-surface: #ffffff;
  --c-overlay: rgba(15, 23, 42, 0.5);

  /* 文字 */
  --c-text: #0f172a;
  --c-text-secondary: #475569;
  --c-text-muted: #94a3b8;
  --c-text-inverse: #ffffff;

  /* 边框 */
  --c-border: #e2e8f0;
  --c-border-light: #f1f5f9;
  --c-border-strong: #cbd5e1;

  /* 字体 */
  --font-sans: 'Noto Sans SC', 'Inter', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-display: 'Noto Sans SC', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* 字号 */
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-base: 15px;
  --fs-lg: 18px;
  --fs-xl: 20px;
  --fs-2xl: 24px;
  --fs-3xl: 30px;
  --fs-4xl: 36px;
  --fs-5xl: 48px;

  /* 行高 */
  --lh-tight: 1.25;
  --lh-snug: 1.375;
  --lh-normal: 1.6;
  --lh-relaxed: 1.75;

  /* 间距(8px 倍数) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* 圆角 */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-full: 999px;

  /* 阴影 */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.06);
  --shadow-primary: 0 8px 24px -4px rgba(37, 99, 235, 0.25);

  /* 过渡 */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --dur-fast: 150ms;
  --dur: 250ms;
  --dur-slow: 400ms;

  /* 布局 */
  --container-max: 1200px;
  --header-h: 64px;
  --z-header: 1000;
  --z-overlay: 900;
  --z-modal: 1100;
}

/* ---------- 重置 ---------- */
*, *::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: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--c-primary); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
a:hover { color: var(--c-primary-dark); }

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

ul, ol { list-style: none; }

button, input, textarea, select { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }

/* ---------- 布局容器 ---------- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--sp-5); }

.section { padding: var(--sp-20) 0; }
.section-sm { padding: var(--sp-12) 0; }
.section-alt { background: var(--c-bg-alt); }

/* ---------- 顶部公告条 ---------- */
.topbar {
  background: var(--c-primary-dark);
  color: var(--c-text-inverse);
  font-size: var(--fs-sm);
  line-height: var(--lh-tight);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; padding-top: var(--sp-2); padding-bottom: var(--sp-2); }
.topbar .topbar-info { display: flex; align-items: center; gap: var(--sp-5); }
.topbar a { color: rgba(255,255,255,0.85); }
.topbar a:hover { color: #fff; }
.topbar .topbar-cta { color: rgba(255,255,255,0.9); font-weight: 500; }

/* ---------- 导航栏(毛玻璃固定) ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--c-border-light);
  transition: box-shadow var(--dur) var(--ease);
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

/* 品牌 Logo */
.navbar-brand { display: flex; align-items: center; gap: var(--sp-3); font-size: var(--fs-lg); font-weight: 700; color: var(--c-text); }
.navbar-brand:hover { color: var(--c-primary); }
.navbar-brand .brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  color: #fff; font-size: var(--fs-base); font-weight: 700;
}

/* 导航菜单 */
.nav-menu { display: flex; align-items: center; gap: var(--sp-1); }
.nav-menu a {
  display: flex; align-items: center; padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-sm); font-weight: 500; color: var(--c-text-secondary);
  border-radius: var(--r-md); transition: all var(--dur-fast) var(--ease);
}
.nav-menu a:hover { color: var(--c-primary); background: var(--c-primary-light); }
.nav-menu a.active { color: var(--c-primary); background: var(--c-primary-light); }

/* 导航 CTA 按钮 */
.nav-cta {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-5); background: var(--c-primary); color: var(--c-text-inverse) !important;
  border-radius: var(--r-md); font-size: var(--fs-sm); font-weight: 600;
  box-shadow: var(--shadow-primary); transition: all var(--dur) var(--ease);
}
.nav-cta:hover { background: var(--c-primary-dark); transform: translateY(-1px); color: var(--c-text-inverse) !important; }

/* 移动端汉堡菜单 */
.nav-toggle { display: none; width: 40px; height: 40px; border: none; background: none; cursor: pointer; border-radius: var(--r-sm); }
.nav-toggle:hover { background: var(--c-bg-muted); }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--c-text); border-radius: 2px; transition: all var(--dur) var(--ease); }
.nav-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6); font-size: var(--fs-base); font-weight: 600;
  border-radius: var(--r-md); border: 1px solid transparent; cursor: pointer;
  transition: all var(--dur) var(--ease); white-space: nowrap; text-align: center;
}
.btn-primary { background: var(--c-primary); color: var(--c-text-inverse); box-shadow: var(--shadow-primary); }
.btn-primary:hover { background: var(--c-primary-dark); transform: translateY(-2px); color: var(--c-text-inverse); box-shadow: var(--shadow-lg); }
.btn-primary:active { transform: translateY(0); }
.btn-outline { background: transparent; color: var(--c-primary); border-color: var(--c-border-strong); }
.btn-outline:hover { background: var(--c-primary-light); border-color: var(--c-primary); color: var(--c-primary); }
.btn-ghost { background: transparent; color: var(--c-text-secondary); }
.btn-ghost:hover { background: var(--c-bg-muted); color: var(--c-text); }
.btn-lg { padding: var(--sp-4) var(--sp-8); font-size: var(--fs-lg); }
.btn-block { width: 100%; }

/* ---------- 面包屑 ---------- */
.breadcrumb { padding: var(--sp-4) 0; font-size: var(--fs-sm); color: var(--c-text-muted); }
.breadcrumb ol { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; }
.breadcrumb li { display: flex; align-items: center; gap: var(--sp-2); }
.breadcrumb li:not(:last-child)::after { content: '/'; color: var(--c-border-strong); }
.breadcrumb a { color: var(--c-text-secondary); }
.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb .current { color: var(--c-text); font-weight: 500; }

/* ---------- 页头 ---------- */
.page-header { padding: var(--sp-16) 0 var(--sp-12); text-align: center; }
.page-header h1 { font-size: var(--fs-4xl); font-weight: 700; color: var(--c-text); letter-spacing: -0.02em; }
.page-header p { margin-top: var(--sp-3); font-size: var(--fs-lg); color: var(--c-text-secondary); }

/* ---------- Hero 区域 ---------- */
.hero { position: relative; padding: var(--sp-24) 0; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.12), transparent),
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(14, 165, 233, 0.08), transparent),
    var(--c-bg-alt);
}
.hero .container { display: flex; align-items: center; gap: var(--sp-16); }
.hero-content { flex: 1; max-width: 560px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-1) var(--sp-3); background: var(--c-primary-light); color: var(--c-primary-dark);
  border-radius: var(--r-full); font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--sp-5);
}
.hero h1 { font-size: var(--fs-5xl); font-weight: 800; line-height: var(--lh-tight); color: var(--c-text); letter-spacing: -0.03em; }
.hero h1 .gradient-text { background: linear-gradient(135deg, var(--c-primary), var(--c-accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lead { margin-top: var(--sp-5); font-size: var(--fs-lg); line-height: var(--lh-relaxed); color: var(--c-text-secondary); }
.hero-actions { display: flex; gap: var(--sp-4); margin-top: var(--sp-8); }
.hero-visual { flex: 1; }
.hero-visual .hero-card {
  background: var(--c-surface); border-radius: var(--r-xl); padding: var(--sp-8);
  box-shadow: var(--shadow-xl); border: 1px solid var(--c-border-light);
}
.hero-stats { display: flex; gap: var(--sp-8); margin-top: var(--sp-10); }
.hero-stat .num { font-size: var(--fs-3xl); font-weight: 800; color: var(--c-primary); }
.hero-stat .label { font-size: var(--fs-sm); color: var(--c-text-muted); margin-top: var(--sp-1); }

/* ---------- 卡片网格 ---------- */
.card-grid { display: grid; gap: var(--sp-6); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* 通用卡片 */
.card {
  background: var(--c-surface); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--c-border-light); transition: all var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--c-border); }
.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--c-bg-muted); }
.card-body { padding: var(--sp-5); }
.card-title { font-size: var(--fs-lg); font-weight: 600; color: var(--c-text); margin-bottom: var(--sp-2); }
.card-title a { color: inherit; }
.card-title a:hover { color: var(--c-primary); }
.card-text { font-size: var(--fs-sm); color: var(--c-text-secondary); line-height: var(--lh-normal); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-4); font-size: var(--fs-xs); color: var(--c-text-muted); }
.card-tag {
  display: inline-block; padding: 2px var(--sp-2); background: var(--c-bg-muted);
  color: var(--c-text-secondary); border-radius: var(--r-sm); font-size: var(--fs-xs); font-weight: 500;
}

/* 团队成员卡片 */
.team-card { text-align: center; }
.team-card .avatar-wrap { width: 120px; height: 120px; margin: var(--sp-6) auto var(--sp-4); border-radius: var(--r-full); overflow: hidden; border: 3px solid var(--c-border-light); }
.team-card .avatar-wrap img { width: 100%; height: 100%; object-fit: cover; }
.team-card .card-title { font-size: var(--fs-lg); }
.team-card .role { font-size: var(--fs-sm); color: var(--c-primary); font-weight: 500; margin-bottom: var(--sp-2); }
.team-card .tags { display: flex; flex-wrap: wrap; gap: var(--sp-1); justify-content: center; margin-top: var(--sp-3); }

/* ---------- 章节标题 ---------- */
.section-head { text-align: center; margin-bottom: var(--sp-12); }
.section-head .eyebrow { color: var(--c-primary); font-size: var(--fs-sm); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.section-head h2 { font-size: var(--fs-4xl); font-weight: 700; color: var(--c-text); margin-top: var(--sp-2); letter-spacing: -0.02em; }
.section-head p { margin-top: var(--sp-3); font-size: var(--fs-lg); color: var(--c-text-secondary); max-width: 600px; margin-left: auto; margin-right: auto; }

.section-head-left { text-align: left; margin-bottom: var(--sp-8); }
.section-head-left .head-row { display: flex; align-items: flex-end; justify-content: space-between; }
.section-head-left h2 { font-size: var(--fs-3xl); font-weight: 700; letter-spacing: -0.02em; }
.section-head-left .more-link { font-size: var(--fs-sm); font-weight: 500; color: var(--c-primary); white-space: nowrap; }
.section-head-left p { margin-top: var(--sp-2); color: var(--c-text-secondary); }

/* ---------- 特性/亮点区 ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.feature-item { text-align: center; padding: var(--sp-6); }
.feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: var(--r-lg);
  background: var(--c-primary-light); color: var(--c-primary);
  margin-bottom: var(--sp-4); font-size: var(--fs-xl);
}
.feature-item h3 { font-size: var(--fs-base); font-weight: 600; margin-bottom: var(--sp-2); }
.feature-item p { font-size: var(--fs-sm); color: var(--c-text-secondary); }

/* ---------- CTA 横幅 ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  border-radius: var(--r-xl); padding: var(--sp-12) var(--sp-16);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-8);
  box-shadow: var(--shadow-primary);
}
.cta-banner h3 { font-size: var(--fs-2xl); font-weight: 700; color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.9); margin-top: var(--sp-2); }
.cta-banner .btn { background: #fff; color: var(--c-primary); }
.cta-banner .btn:hover { background: var(--c-bg-alt); transform: translateY(-2px); }

/* ---------- 表单 ---------- */
.form-group { margin-bottom: var(--sp-5); }
.form-label { display: block; font-size: var(--fs-sm); font-weight: 500; color: var(--c-text); margin-bottom: var(--sp-2); }
.form-label .req { color: var(--c-danger); margin-left: 2px; }
.form-control {
  width: 100%; padding: var(--sp-3) var(--sp-4); font-size: var(--fs-base);
  background: var(--c-bg); border: 1px solid var(--c-border-strong); border-radius: var(--r-md);
  transition: all var(--dur-fast) var(--ease); color: var(--c-text);
}
.form-control:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-primary-light); }
.form-control::placeholder { color: var(--c-text-muted); }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-hint { font-size: var(--fs-xs); color: var(--c-text-muted); margin-top: var(--sp-1); }
.form-error { font-size: var(--fs-xs); color: var(--c-danger); margin-top: var(--sp-1); }

.form-card { max-width: 640px; margin: 0 auto; background: var(--c-surface); border-radius: var(--r-lg); padding: var(--sp-10); box-shadow: var(--shadow-md); border: 1px solid var(--c-border-light); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--c-border-light); border-radius: var(--r-md); margin-bottom: var(--sp-3); overflow: hidden; transition: all var(--dur) var(--ease); background: var(--c-surface); }
.faq-item:hover { border-color: var(--c-border); box-shadow: var(--shadow-sm); }
.faq-item[open] { border-color: var(--c-primary); box-shadow: var(--shadow-sm); }
.faq-item summary { padding: var(--sp-4) var(--sp-5); font-size: var(--fs-base); font-weight: 500; color: var(--c-text); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; user-select: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ''; width: 20px; height: 20px; flex-shrink: 0; background: var(--c-text-muted); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 16l-6-6h12z'/%3E%3C/svg%3E") no-repeat center / contain; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 16l-6-6h12z'/%3E%3C/svg%3E") no-repeat center / contain; transition: transform var(--dur) var(--ease); }
.faq-item[open] summary::after { transform: rotate(180deg); background: var(--c-primary); }
.faq-item .answer { padding: 0 var(--sp-5) var(--sp-5); color: var(--c-text-secondary); font-size: var(--fs-sm); line-height: var(--lh-relaxed); }

/* ---------- 文章正文 ---------- */
.article-body { max-width: 760px; margin: 0 auto; }
.article-body h2 { font-size: var(--fs-xl); font-weight: 700; color: var(--c-text); margin: var(--sp-8) 0 var(--sp-4); padding-bottom: var(--sp-2); border-bottom: 2px solid var(--c-border-light); }
.article-body h3 { font-size: var(--fs-lg); font-weight: 600; margin: var(--sp-6) 0 var(--sp-3); }
.article-body p { margin-bottom: var(--sp-4); line-height: var(--lh-relaxed); color: var(--c-text-secondary); }
.article-body img { border-radius: var(--r-md); margin: var(--sp-5) 0; }
.article-body ul, .article-body ol { margin: var(--sp-4) 0; padding-left: var(--sp-6); }
.article-body li { margin-bottom: var(--sp-2); }

/* ---------- 页脚 ---------- */
.site-footer { background: #0f172a; color: #94a3b8; padding: var(--sp-16) 0 var(--sp-8); margin-top: var(--sp-24); }
.site-footer .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-10); margin-bottom: var(--sp-12); }
.site-footer .footer-brand h4 { font-size: var(--fs-lg); color: #fff; margin-bottom: var(--sp-3); font-weight: 700; }
.site-footer .footer-brand p { font-size: var(--fs-sm); line-height: var(--lh-relaxed); }
.site-footer h5 { font-size: var(--fs-sm); color: #fff; font-weight: 600; margin-bottom: var(--sp-4); text-transform: uppercase; letter-spacing: 0.05em; }
.site-footer a { color: #94a3b8; font-size: var(--fs-sm); }
.site-footer a:hover { color: #fff; }
.site-footer .footer-links li { margin-bottom: var(--sp-2); }
.site-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: var(--sp-6); text-align: center; font-size: var(--fs-xs); color: #64748b; line-height: var(--lh-relaxed); }

/* ---------- FAQ 区域(兼容默认 FAQ 局部模板) ---------- */
.faq-section { max-width: 800px; margin: var(--sp-12) auto 0; }
.faq-section > h2 {
  font-size: var(--fs-2xl) !important; font-weight: 700; color: var(--c-text) !important;
  text-align: center; margin-bottom: var(--sp-6) !important; letter-spacing: -0.02em;
}
.faq-section .faq-item {
  border: 1px solid var(--c-border-light); border-radius: var(--r-md);
  margin-bottom: var(--sp-3); overflow: hidden; background: var(--c-surface);
  transition: all var(--dur) var(--ease);
}
.faq-section .faq-item:hover { border-color: var(--c-border); box-shadow: var(--shadow-sm); }
.faq-section .faq-item[open] { border-color: var(--c-primary); }
.faq-section .faq-item summary {
  padding: var(--sp-4) var(--sp-5); font-size: var(--fs-base); font-weight: 500;
  color: var(--c-text); cursor: pointer; list-style: none; display: flex;
  justify-content: space-between; align-items: center; user-select: none;
}
.faq-section .faq-item summary::-webkit-details-marker { display: none; }
.faq-section .faq-item .answer {
  padding: 0 var(--sp-5) var(--sp-5); color: var(--c-text-secondary);
  font-size: var(--fs-sm); line-height: var(--lh-relaxed);
}
.faq-section .faq-item .answer p { margin-bottom: var(--sp-2); }

/* ---------- 分页 ---------- */
.pagination { display: flex; align-items: center; justify-content: center; gap: var(--sp-2); margin-top: var(--sp-10); }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 var(--sp-3);
  border-radius: var(--r-md); font-size: var(--fs-sm); font-weight: 500;
  border: 1px solid var(--c-border); color: var(--c-text-secondary);
  transition: all var(--dur-fast) var(--ease);
}
.pagination a:hover { border-color: var(--c-primary); color: var(--c-primary); background: var(--c-primary-light); }
.pagination .current { background: var(--c-primary); color: var(--c-text-inverse); border-color: var(--c-primary); }
.pagination .total { font-size: var(--fs-sm); color: var(--c-text-muted); margin-left: var(--sp-3); border: none; }

/* ---------- 标签筛选 ---------- */
.tag-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2); margin-bottom: var(--sp-8); }
.tag-filter a {
  display: inline-block; padding: var(--sp-2) var(--sp-4); border-radius: var(--r-full);
  font-size: var(--fs-sm); font-weight: 500; color: var(--c-text-secondary);
  background: var(--c-bg-muted); transition: all var(--dur-fast) var(--ease);
}
.tag-filter a:hover { background: var(--c-primary-light); color: var(--c-primary); }
.tag-filter a.active { background: var(--c-primary); color: var(--c-text-inverse); }

/* ---------- 表格 ---------- */
.data-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.data-table th {
  padding: var(--sp-3) var(--sp-4); text-align: left; font-weight: 600;
  color: var(--c-text-secondary); background: var(--c-bg-muted);
  border-bottom: 2px solid var(--c-border);
}
.data-table td { padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--c-border-light); color: var(--c-text); }
.data-table tr:hover td { background: var(--c-bg-alt); }
.data-table .label-cell { font-weight: 600; color: var(--c-text); background: var(--c-bg-alt); width: 30%; }

/* ---------- 信息卡片(详情页) ---------- */
.info-card {
  background: var(--c-surface); border-radius: var(--r-lg); padding: var(--sp-8);
  box-shadow: var(--shadow-sm); border: 1px solid var(--c-border-light); margin-bottom: var(--sp-6);
}
.info-card h2, .info-card h3 { font-size: var(--fs-xl); font-weight: 700; color: var(--c-text); margin-bottom: var(--sp-4); }
.info-card p { color: var(--c-text-secondary); line-height: var(--lh-relaxed); margin-bottom: var(--sp-3); }
.info-card p:last-child { margin-bottom: 0; }

/* ---------- 技能标签 ---------- */
.skill-tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.skill-tag {
  display: inline-block; padding: var(--sp-1) var(--sp-3);
  background: var(--c-primary-light); color: var(--c-primary-dark);
  border-radius: var(--r-full); font-size: var(--fs-sm); font-weight: 500;
}

/* ---------- 提示框 ---------- */
.alert { padding: var(--sp-4) var(--sp-5); border-radius: var(--r-md); font-size: var(--fs-sm); line-height: var(--lh-relaxed); margin-bottom: var(--sp-4); }
.alert-info { background: var(--c-primary-light); color: var(--c-primary-dark); border: 1px solid rgba(37, 99, 235, 0.2); }
.alert-warning { background: #fef3c7; color: #92400e; border: 1px solid rgba(245, 158, 11, 0.3); }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid rgba(16, 185, 129, 0.3); }

/* ---------- 照片网格 ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--sp-4); }
.photo-grid img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--r-md); cursor: pointer; transition: all var(--dur) var(--ease); }
.photo-grid img:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }

/* ---------- 服务区块 ---------- */
.service-block { background: var(--c-surface); border-radius: var(--r-lg); padding: var(--sp-6) var(--sp-8); box-shadow: var(--shadow-sm); border: 1px solid var(--c-border-light); margin-bottom: var(--sp-6); }
.service-cat-header { margin-bottom: var(--sp-4); }
.service-cat-header h2 { font-size: var(--fs-xl); font-weight: 700; margin-bottom: var(--sp-2); }
.service-cat-header .cat-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: var(--r-md); background: var(--c-primary-light); color: var(--c-primary); font-size: var(--fs-base); font-weight: 700; flex-shrink: 0; margin-right: var(--sp-2); vertical-align: middle; }
.service-cat-header .cat-intro { color: var(--c-text-secondary); font-size: var(--fs-sm); line-height: var(--lh-relaxed); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.service-card { display: flex; flex-direction: column; background: var(--c-bg); border-radius: var(--r-md); border: 1px solid var(--c-border-light); overflow: hidden; text-decoration: none; color: inherit; transition: all var(--dur-fast) var(--ease); }
.service-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--c-primary); }
.service-card .card-img { height: 120px; background: center/cover no-repeat; flex-shrink: 0; }
.service-card .card-body { padding: var(--sp-4); flex: 1; display: flex; flex-direction: column; }
.service-card h4 { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-base); font-weight: 600; margin: 0; }
.service-card .card-desc { margin-top: var(--sp-2); font-size: var(--fs-sm); color: var(--c-text-secondary); line-height: var(--lh-relaxed); flex: 1; }
.service-card .card-tags { margin-top: var(--sp-3); display: flex; flex-wrap: wrap; gap: 4px; }
.card-tag { display: inline-block; padding: 2px 8px; font-size: var(--fs-xs); color: var(--c-primary); background: var(--c-primary-light); border-radius: var(--r-sm); white-space: nowrap; }

/* 子分类列表 */
.sub-cat-list { margin-top: var(--sp-5); }
.sub-cat-item { padding: var(--sp-3) 0; border-bottom: 1px dashed var(--c-border-light); }
.sub-cat-item:last-child { border-bottom: none; }
.sub-cat-item h3 { font-size: var(--fs-lg); font-weight: 600; color: var(--c-text); margin-bottom: var(--sp-1); display: flex; align-items: center; gap: var(--sp-2); }
.sub-cat-item p { font-size: var(--fs-sm); color: var(--c-text-secondary); line-height: var(--lh-relaxed); margin: 0; }

/* 合规提示 */
.compliance-note { margin-top: var(--sp-4); display: flex; gap: var(--sp-3); align-items: flex-start; padding: var(--sp-3) var(--sp-4); background: var(--c-bg-alt); border-radius: var(--r-md); font-size: var(--fs-sm); color: var(--c-text-secondary); }
.disclaimer { margin-top: var(--sp-8); display: flex; gap: var(--sp-3); align-items: flex-start; padding: var(--sp-4); background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--r-md); font-size: var(--fs-sm); color: #92400e; line-height: var(--lh-relaxed); }

/* ---------- 详情页头部 ---------- */
.detail-header { background: var(--c-bg-alt); padding: var(--sp-16) 0 var(--sp-12); text-align: center; }
.detail-header h1 { font-size: var(--fs-4xl); font-weight: 800; letter-spacing: -0.02em; }
.detail-header .subtitle { margin-top: var(--sp-3); font-size: var(--fs-lg); color: var(--c-text-secondary); }
.detail-meta { display: flex; align-items: center; justify-content: center; gap: var(--sp-4); margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--c-text-muted); }

/* ---------- 内容容器 ---------- */
.content-narrow { max-width: 800px; margin: 0 auto; }
.content-wide { max-width: 1000px; margin: 0 auto; }

/* ---------- 富文本正文样式 ---------- */
.article-content { font-size: var(--fs-base); line-height: 1.85; color: var(--c-text-secondary); }
.article-content h2 { font-size: 20px; font-weight: 700; color: var(--c-text); margin: 32px 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--c-primary-light); position: relative; }
.article-content h2::before { content: ''; position: absolute; bottom: -2px; left: 0; width: 60px; height: 2px; background: var(--c-primary); }
.article-content h2:first-child { margin-top: 0; }
.article-content h3 { font-size: 17px; font-weight: 600; color: var(--c-text); margin: 24px 0 12px; padding-left: 12px; border-left: 3px solid var(--c-primary); line-height: 1.5; }
.article-content p { margin: 0 0 16px; color: var(--c-text-secondary); }
.article-content ul, .article-content ol { margin: 0 0 16px; padding-left: 4px; list-style: none; }
.article-content ul li { position: relative; padding-left: 22px; margin-bottom: 10px; color: var(--c-text-secondary); }
.article-content ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--c-primary); }
.article-content ol { counter-reset: ol-counter; }
.article-content ol li { position: relative; padding-left: 28px; margin-bottom: 10px; counter-increment: ol-counter; color: var(--c-text-secondary); }
.article-content ol li::before { content: counter(ol-counter); position: absolute; left: 0; top: 2px; width: 20px; height: 20px; line-height: 20px; text-align: center; font-size: 12px; font-weight: 700; color: #fff; background: var(--c-primary); border-radius: 50%; }
.article-content strong { color: var(--c-text); font-weight: 600; }
.article-content blockquote { margin: 16px 0; padding: 14px 18px; background: var(--c-primary-light); border-left: 4px solid var(--c-primary); border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--c-text); font-size: var(--fs-sm); }
.article-content a { color: var(--c-primary); text-decoration: none; border-bottom: 1px dashed var(--c-primary); }
.article-content img { max-width: 100%; height: auto; border-radius: var(--r-md); margin: 16px 0; }

/* ---------- 联系信息卡 ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.contact-card { text-align: center; padding: var(--sp-6); background: var(--c-bg-alt); border-radius: var(--r-lg); }
.contact-card .icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--r-full); background: var(--c-primary-light); color: var(--c-primary); margin-bottom: var(--sp-3); }
.contact-card .label { font-size: var(--fs-sm); color: var(--c-text-muted); margin-bottom: var(--sp-1); }
.contact-card .value { font-size: var(--fs-base); font-weight: 600; color: var(--c-text); }

/* ---------- 空状态 ---------- */
.empty-state { text-align: center; padding: var(--sp-16) var(--sp-5); }
.empty-state .icon { font-size: 48px; color: var(--c-text-muted); margin-bottom: var(--sp-4); }
.empty-state h3 { font-size: var(--fs-lg); font-weight: 600; margin-bottom: var(--sp-2); }
.empty-state p { color: var(--c-text-secondary); }

/* ---------- 工具类 ---------- */
.text-center { text-align: center; }
.text-muted { color: var(--c-text-muted); }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: var(--sp-2); } .mt-4 { margin-top: var(--sp-4); } .mt-6 { margin-top: var(--sp-6); } .mt-8 { margin-top: var(--sp-8); }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: var(--sp-2); } .mb-4 { margin-bottom: var(--sp-4); } .mb-6 { margin-bottom: var(--sp-6); } .mb-8 { margin-bottom: var(--sp-8); }
.hidden { display: none !important; }

/* ---------- 动画 ---------- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.fade-in-up { animation: fadeInUp var(--dur-slow) var(--ease-out) both; }
.fade-in { animation: fadeIn var(--dur-slow) var(--ease-out) both; }
.delay-1 { animation-delay: 100ms; }
.delay-2 { animation-delay: 200ms; }
.delay-3 { animation-delay: 300ms; }
.delay-4 { animation-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .hero .container { flex-direction: column; }
  .hero-visual { width: 100%; max-width: 480px; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --fs-5xl: 32px; --fs-4xl: 26px; --fs-3xl: 22px; }
  .section { padding: var(--sp-12) 0; }
  .hero { padding: var(--sp-16) 0; }
  .hero-stats { gap: var(--sp-6); }

  .nav-menu { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; background: var(--c-surface); border-bottom: 1px solid var(--c-border); padding: var(--sp-4); box-shadow: var(--shadow-lg); }
  .nav-menu.open { display: flex; }
  .nav-menu a { width: 100%; padding: var(--sp-3) var(--sp-4); }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }

  .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; padding: var(--sp-8); }
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .form-card { padding: var(--sp-6); }
  .contact-cards { grid-template-columns: 1fr; }
  .service-block { padding: var(--sp-5); }
  .service-grid { grid-template-columns: 1fr; }
  .data-table { font-size: var(--fs-xs); }
  .data-table th, .data-table td { padding: var(--sp-2); }
  .detail-header { padding: var(--sp-10) 0 var(--sp-8); }
  .info-card { padding: var(--sp-5); }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--sp-4); }
  .hero h1 { font-size: var(--fs-3xl); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
