/* ==========================================================================
   桂林市智林创新科技有限公司 — 企业官网样式表
   风格：简约大气 / 科技感 / 深青主色调
   ========================================================================== */

/* ----------------------------- 1. 设计变量 ------------------------------ */
:root {
  --brand-900: #062B36;
  --brand-800: #083C4B;
  --brand-700: #0A5364;
  --brand-600: #0B6B7E;
  --brand-500: #0E8497;
  --brand-400: #16A0B0;
  --brand-300: #4FC3CE;

  --accent: #12B5B0;
  --accent-soft: #E5F6F5;

  --ink: #0B2239;
  --ink-2: #1E3A52;
  --body: #4A5C6E;
  --muted: #7A8B9C;

  --line: #E3EAF0;
  --line-2: #EDF2F6;

  --bg: #FFFFFF;
  --bg-soft: #F5F8FA;
  --bg-soft-2: #EEF4F7;

  --ok: #16A34A;
  --warn: #D97706;
  --err: #DC2626;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(11, 34, 57, .06), 0 1px 3px rgba(11, 34, 57, .04);
  --shadow: 0 4px 12px rgba(11, 34, 57, .06), 0 12px 32px rgba(11, 34, 57, .06);
  --shadow-lg: 0 18px 48px rgba(11, 34, 57, .12);

  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB",
          "Source Han Sans SC", "Noto Sans SC", -apple-system, BlinkMacSystemFont,
          "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-num: "SF Mono", "JetBrains Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;

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

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.18; letter-spacing: -.02em; }
h2 { font-size: clamp(24px, 2.9vw, 36px); }
h3 { font-size: clamp(18px, 1.7vw, 21px); }
h4 { font-size: 17px; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-400); }

img, svg { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--brand-300); color: var(--brand-900); }

:focus-visible {
  outline: 2px solid var(--brand-400);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ----------------------------- 3. 布局工具 ------------------------------ */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 860px; }

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark {
  background: linear-gradient(160deg, var(--brand-900) 0%, var(--brand-700) 100%);
  color: rgba(255, 255, 255, .78);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

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

/* --------------------------- 4. 段落标题组件 ---------------------------- */
.sec-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-500);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.section-dark .eyebrow { color: var(--brand-300); }

.sec-head h2 { margin-bottom: 16px; }
.sec-head p { font-size: 17px; color: var(--body); margin: 0; }
.section-dark .sec-head p { color: rgba(255, 255, 255, .72); }

/* ------------------------------ 5. 按钮 -------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: all .24s var(--ease);
}
.btn svg { width: 16px; height: 16px; }

.btn-primary {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: #fff;
  box-shadow: 0 6px 18px rgba(11, 107, 126, .28);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(11, 107, 126, .36);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--brand-400); color: var(--brand-600); background: var(--bg-soft); }

.btn-light {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .32);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn-light:hover { background: rgba(255, 255, 255, .18); color: #fff; border-color: rgba(255, 255, 255, .5); }

.btn-white { background: #fff; color: var(--brand-700); box-shadow: var(--shadow); }
.btn-white:hover { color: var(--brand-800); transform: translateY(-2px); }

.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 0 18px; font-size: 14px; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none !important; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
  color: var(--brand-600);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .24s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ------------------------------ 6. 页头 -------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* 首页深色首屏：页头初始透明 */
body[data-hero="dark"] .site-header:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, .12);
  box-shadow: none;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(11, 34, 57, .06); }

.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { flex: none; width: auto; height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 16.5px; font-weight: 700; letter-spacing: .01em; }
.brand-sub {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
body[data-hero="dark"] .site-header:not(.is-scrolled) .brand,
body[data-hero="dark"] .site-header:not(.is-scrolled) .brand:hover { color: #fff; }
body[data-hero="dark"] .site-header:not(.is-scrolled) .brand-sub { color: rgba(255, 255, 255, .6); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  display: block;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav a:hover { color: var(--brand-600); background: var(--bg-soft); }
.nav a.active { color: var(--brand-600); font-weight: 600; }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
body[data-hero="dark"] .site-header:not(.is-scrolled) .nav a { color: rgba(255, 255, 255, .82); }
body[data-hero="dark"] .site-header:not(.is-scrolled) .nav a:hover,
body[data-hero="dark"] .site-header:not(.is-scrolled) .nav a.active { color: #fff; background: rgba(255, 255, 255, .1); }

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

/* 用户下拉 */
.user-menu { position: relative; }
.user-trigger {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 14px 0 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.user-trigger:hover { border-color: var(--brand-300); box-shadow: var(--shadow-sm); }
.avatar {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-400), var(--brand-700));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  object-fit: cover;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-trigger .uname { font-size: 14px; font-weight: 600; color: var(--ink); max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 208px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all .2s var(--ease);
}
.dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--line-2); margin-bottom: 6px; }
.dropdown-head strong { display: block; font-size: 14px; color: var(--ink); }
.dropdown-head span { font-size: 12.5px; color: var(--muted); }
.dropdown a, .dropdown button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  font-size: 14px;
  color: var(--ink-2);
  text-align: left;
  cursor: pointer;
  transition: background .18s var(--ease);
}
.dropdown a:hover, .dropdown button:hover { background: var(--bg-soft); color: var(--brand-600); }
.dropdown a svg, .dropdown button svg { width: 15px; height: 15px; opacity: .7; }

body[data-hero="dark"] .site-header:not(.is-scrolled) .user-trigger {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
}
body[data-hero="dark"] .site-header:not(.is-scrolled) .user-trigger .uname { color: #fff; }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: all .24s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: all .24s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }
body[data-hero="dark"] .site-header:not(.is-scrolled) .nav-toggle { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); }
body[data-hero="dark"] .site-header:not(.is-scrolled) .nav-toggle span,
body[data-hero="dark"] .site-header:not(.is-scrolled) .nav-toggle span::before,
body[data-hero="dark"] .site-header:not(.is-scrolled) .nav-toggle span::after { background: #fff; }

/* ------------------------------ 7. 首屏 -------------------------------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 88px) 0 96px;
  background: linear-gradient(160deg, var(--brand-900) 0%, var(--brand-700) 55%, var(--brand-600) 100%);
  color: rgba(255, 255, 255, .82);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 100%);
}
.hero::after {
  content: "";
  position: absolute;
  top: -240px;
  right: -160px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 181, 176, .34), transparent 62%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .grad {
  background: linear-gradient(100deg, #7FE6DF, var(--accent) 55%, #4FC3CE);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  max-width: 660px;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.85;
  color: rgba(255, 255, 255, .78);
  margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 60px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  font-size: 13px;
  color: rgba(255, 255, 255, .85);
  backdrop-filter: blur(4px);
}
.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(18, 181, 176, .2);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 32px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.hero-stat .num {
  font-family: var(--font-num);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.hero-stat .num small { font-size: .5em; font-weight: 600; margin-left: 2px; }
.hero-stat .label { font-size: 13.5px; color: rgba(255, 255, 255, .6); margin-top: 6px; }

/* 内页页头 */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 68px) 0 68px;
  background: linear-gradient(160deg, var(--brand-900) 0%, var(--brand-700) 100%);
  color: rgba(255, 255, 255, .78);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 14px; }
.page-hero p { max-width: 700px; font-size: 16.5px; color: rgba(255, 255, 255, .72); margin: 0; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .5); margin-bottom: 18px; }
.crumbs a { color: rgba(255, 255, 255, .7); }
.crumbs a:hover { color: #fff; }
.crumbs span { opacity: .5; }

/* ------------------------------ 8. 卡片 -------------------------------- */
.card {
  position: relative;
  padding: 34px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--brand-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--brand-600);
  margin-bottom: 22px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--body); font-size: 15px; line-height: 1.8; }
.card .card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.card-num {
  position: absolute;
  top: 22px;
  right: 26px;
  font-family: var(--font-num);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  color: var(--bg-soft-2);
  letter-spacing: -.03em;
  pointer-events: none;
}

/* 深色区块内的卡片 */
.section-dark .card {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .12);
}
.section-dark .card:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .2); }
.section-dark .card p { color: rgba(255, 255, 255, .7); }
.section-dark .card-icon { background: rgba(18, 181, 176, .16); color: var(--brand-300); }

/* 极简列表卡片 */
.feature-list { display: grid; gap: 18px; }
.feature-item { display: flex; gap: 16px; }
.feature-item .fi-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--brand-600);
}
.feature-item .fi-icon svg { width: 20px; height: 20px; }
.feature-item h4 { margin-bottom: 5px; }
.feature-item p { font-size: 14.5px; margin: 0; }
.section-dark .feature-item .fi-icon { background: rgba(18, 181, 176, .16); color: var(--brand-300); }
.section-dark .feature-item p { color: rgba(255, 255, 255, .68); }

/* --------------------------- 9. 双栏图文区块 ---------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 68px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-body h2 { margin-bottom: 20px; }
.split-body > p { font-size: 16.5px; margin-bottom: 26px; }
.split-body .btn { margin-top: 8px; }

.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 34px;
  background: linear-gradient(150deg, var(--bg-soft), var(--bg-soft-2));
  border: 1px solid var(--line);
  overflow: hidden;
}
.split-media::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 181, 176, .18), transparent 68%);
}
.split-media .metric-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.metric {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.metric .m-num {
  font-family: var(--font-num);
  font-size: 26px;
  font-weight: 700;
  color: var(--brand-700);
  line-height: 1.15;
}
.metric .m-label { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* --------------------------- 9.5 清单 / 问答 ---------------------------- */
.check-list { display: grid; gap: 11px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--body); line-height: 1.7; }
.check-list li::before {
  content: "";
  flex: none;
  width: 18px; height: 18px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E8497' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E")
    center / 11px no-repeat;
}
.section-dark .check-list li { color: rgba(255, 255, 255, .72); }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-solid {
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid #CDEBE9;
  font-size: 13px;
  color: var(--brand-700);
  font-weight: 500;
}

.faq { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 21px 26px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
  list-style: none;
  transition: background .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--bg-soft); }
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
  color: var(--brand-400);
  transition: transform .24s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 26px 24px; font-size: 14.8px; color: var(--body); line-height: 1.9; }

/* ---------------------------- 10. 数据条带 ------------------------------ */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stats-band .stat {
  padding: 38px 24px;
  background: #fff;
  text-align: center;
}
.stats-band .stat .num {
  font-family: var(--font-num);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  color: var(--brand-700);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.stats-band .stat .num small { font-size: .48em; font-weight: 600; }
.stats-band .stat .label { font-size: 14px; color: var(--muted); margin-top: 8px; }

/* ---------------------------- 11. 时间轴 -------------------------------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--line));
}
.tl-item { position: relative; padding-bottom: 40px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand-400);
  box-shadow: 0 0 0 4px rgba(22, 160, 176, .1);
}
.tl-year {
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--brand-500);
  margin-bottom: 6px;
}
.tl-item h4 { margin-bottom: 8px; }
.tl-item p { font-size: 15px; margin: 0; }

/* ----------------------------- 12. 表单 -------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--err); margin-left: 2px; }
.field .hint { font-size: 12.5px; color: var(--muted); }

.input, .select, .textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  appearance: none;
}
.input::placeholder, .textarea::placeholder { color: #A9B6C2; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--brand-400);
  box-shadow: 0 0 0 3px rgba(22, 160, 176, .13);
}
.textarea { min-height: 132px; resize: vertical; line-height: 1.7; }
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A8B9C' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 17px;
  padding-right: 42px;
}
.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] {
  border-color: var(--err);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .1);
}
.field-error { font-size: 12.5px; color: var(--err); min-height: 0; }

.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--body); cursor: pointer; }
.checkbox input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--brand-500); flex: none; }

.form-note { font-size: 13px; color: var(--muted); }

/* 提示条 */
.alert {
  display: none;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.6;
}
.alert.show { display: flex; }
.alert svg { width: 17px; height: 17px; flex: none; margin-top: 2px; }
.alert-ok { background: #ECFDF3; color: #15803D; border: 1px solid #BBF7D0; }
.alert-err { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.alert-info { background: #EFF8FA; color: var(--brand-700); border: 1px solid #CFE8EC; }

/* --------------------------- 13. 联系信息卡 ----------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 44px;
  align-items: start;
}
.contact-stack { display: grid; gap: 18px; }

.contact-card {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.contact-card:hover { border-color: var(--brand-300); box-shadow: var(--shadow-sm); }
.contact-card .cc-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  color: var(--brand-600);
  margin-bottom: 16px;
}
.contact-card .cc-icon svg { width: 21px; height: 21px; }
.contact-card h4 { margin-bottom: 8px; font-size: 15.5px; }
.contact-card p { font-size: 14.5px; margin: 0; color: var(--body); word-break: break-word; }

/* --------------------------- 14. 登录 / 注册 ---------------------------- */
.auth-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--bg-soft);
}
.auth-aside {
  position: relative;
  padding: 60px 56px;
  background: linear-gradient(160deg, var(--brand-900) 0%, var(--brand-700) 60%, var(--brand-600) 100%);
  color: rgba(255, 255, 255, .78);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.auth-aside::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 20%, #000, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 20%, #000, transparent);
}
.auth-aside > * { position: relative; z-index: 2; }
.auth-aside h2 { color: #fff; font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 18px; }
.auth-aside p { color: rgba(255, 255, 255, .7); max-width: 420px; }
.auth-points { display: grid; gap: 18px; margin-top: 40px; }
.auth-point { display: flex; gap: 14px; }
.auth-point .ap-icon {
  flex: none; width: 38px; height: 38px; border-radius: 11px;
  background: rgba(18, 181, 176, .18);
  color: var(--brand-300);
  display: flex; align-items: center; justify-content: center;
}
.auth-point .ap-icon svg { width: 19px; height: 19px; }
.auth-point strong { display: block; color: #fff; font-size: 15px; font-weight: 600; }
.auth-point span { font-size: 13.5px; color: rgba(255, 255, 255, .62); }
.auth-aside .brand, .auth-aside .brand:hover { color: #fff; }
.auth-aside .brand-sub { color: rgba(255, 255, 255, .55); }

.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 32px;
}
.auth-box { width: 100%; max-width: 420px; }
.auth-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); margin-bottom: 26px; }
.auth-back:hover { color: var(--brand-600); }
.auth-back svg { width: 15px; height: 15px; }
.auth-box h1 { font-size: 27px; margin-bottom: 8px; }
.auth-box .auth-sub { font-size: 14.5px; color: var(--muted); margin-bottom: 28px; }

.tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--bg-soft-2);
  border-radius: 999px;
  margin-bottom: 28px;
}
.tabs button {
  flex: 1;
  padding: 10px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all .22s var(--ease);
}
.tabs button.active { background: #fff; color: var(--brand-700); box-shadow: var(--shadow-sm); }

.auth-form { display: grid; gap: 18px; }
.auth-form .field label { font-size: 13.5px; }
.pw-field { position: relative; }
.pw-field .input { padding-right: 46px; }
.pw-toggle {
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  border: 0; border-radius: 8px;
  background: none;
  color: var(--muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.pw-toggle:hover { background: var(--bg-soft); color: var(--brand-600); }
.pw-toggle svg { width: 17px; height: 17px; }
.auth-alt { text-align: center; font-size: 14px; color: var(--muted); }

/* 登录方式分段控件 */
.seg {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
}
.seg button {
  flex: 1;
  padding: 9px 10px;
  border: 0;
  border-radius: 7px;
  background: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all .22s var(--ease);
}
.seg button.active { background: #fff; color: var(--brand-700); box-shadow: var(--shadow-sm); }

/* 验证码：输入框与「获取验证码」同行 */
.code-row { display: flex; gap: 10px; align-items: stretch; }
.code-row .input { flex: 1 1 auto; min-width: 0; }
.code-row .btn { flex: 0 0 auto; white-space: nowrap; padding-inline: 16px; font-size: 14px; }
.code-row .btn[disabled] { opacity: .55; cursor: not-allowed; }

.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--muted);
}

/* --------------------------- 15. 个人中心 ------------------------------- */
.member-head {
  padding: calc(var(--header-h) + 52px) 0 96px;
  background: linear-gradient(160deg, var(--brand-900) 0%, var(--brand-700) 100%);
}
.member-head .container { position: relative; z-index: 2; }
.member-profile {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.member-avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-400), var(--brand-700));
  border: 3px solid rgba(255, 255, 255, .28);
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex: none;
}
.member-avatar img { width: 100%; height: 100%; object-fit: cover; }
.member-meta h1 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.member-meta p { color: rgba(255, 255, 255, .68); font-size: 14.5px; margin: 0; }
.member-body { margin-top: -56px; position: relative; z-index: 3; padding-bottom: 96px; }

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.member-layout { display: grid; grid-template-columns: .92fr 1.4fr; gap: 28px; align-items: start; }
.member-aside-stack { display: grid; gap: 28px; }
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line-2);
  flex-wrap: wrap;
}
.panel-head h3 { font-size: 17px; }
.panel-head .panel-note { font-size: 13px; color: var(--muted); }
.panel-body { padding: 28px; }

.info-row { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row dt { font-size: 14px; color: var(--muted); }
.info-row dd { margin: 0; font-size: 14.5px; color: var(--ink); word-break: break-all; }

.msg-item {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .2s var(--ease);
}
.msg-item + .msg-item { margin-top: 14px; }
.msg-item:hover { border-color: var(--brand-300); }
.msg-item-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 8px; flex-wrap: wrap; }
.msg-item-top strong { font-size: 15px; color: var(--ink); }
.msg-item-top time { font-size: 12.5px; color: var(--muted); font-family: var(--font-num); }
.msg-item .msg-content { font-size: 14.5px; color: var(--body); margin: 0; white-space: pre-wrap; }
.msg-status {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: var(--accent-soft);
  color: var(--brand-600);
}

.empty-state {
  padding: 56px 24px;
  text-align: center;
  color: var(--muted);
}
.empty-state svg { width: 46px; height: 46px; margin: 0 auto 16px; opacity: .35; }
.empty-state p { font-size: 14.5px; margin: 0 0 3px; }

/* ------------------------------ 16. 页脚 -------------------------------- */
.site-footer {
  background: var(--brand-900);
  color: rgba(255, 255, 255, .6);
  padding: 72px 0 0;
  font-size: 14.5px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 48px;
}
.footer-brand .brand, .footer-brand .brand:hover { color: #fff; margin-bottom: 18px; }
.footer-logo { display: block; width: auto; height: 42px; max-width: 100%; }
.auth-logo { display: block; width: auto; height: 44px; max-width: 100%; }
.footer-brand .brand-sub { color: rgba(255, 255, 255, .45); }
.footer-brand p { max-width: 330px; color: rgba(255, 255, 255, .58); line-height: 1.85; margin-top: 16px; }
.footer-col h5 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 20px;
}
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: rgba(255, 255, 255, .6); font-size: 14.5px; }
.footer-col a:hover { color: var(--brand-300); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; color: rgba(255, 255, 255, .6); }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--brand-300); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13.5px;
  color: rgba(255, 255, 255, .45);
}
.footer-bottom a { color: rgba(255, 255, 255, .6); }
.footer-bottom a:hover { color: var(--brand-300); }

/* ---------------------------- 17. 动效 ---------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* --------------------------- 18. 移动端导航 ----------------------------- */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 190;
  background: #fff;
  padding: 20px 24px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .32s var(--ease);
  visibility: hidden;
}
body.nav-open .mobile-nav { transform: none; visibility: visible; }
.mobile-nav a.mnav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 4px;
  border-bottom: 1px solid var(--line-2);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}
.mobile-nav a.mnav-link.active { color: var(--brand-600); }
.mobile-nav a.mnav-link svg { width: 17px; height: 17px; color: var(--muted); }
.mobile-nav .mnav-actions { display: grid; gap: 12px; margin-top: 28px; }

/* --------------------------- 19. 响应式 --------------------------------- */
@media (max-width: 1024px) {
  .section { padding: 76px 0; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { gap: 44px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .nav, .header-actions .desk-only { display: none; }
  .nav-toggle { display: flex; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .member-layout { grid-template-columns: 1fr; gap: 22px; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .split-media { order: 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 1px; padding-top: 28px; }
  .stats-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .container { padding: 0 18px; }
  .section { padding: 58px 0; }
  .sec-head { margin-bottom: 38px; }
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .card { padding: 28px 22px; }
  .card-num { font-size: 34px; top: 18px; right: 20px; }
  .hero { padding: calc(var(--header-h) + 56px) 0 68px; }
  .hero-actions { margin-bottom: 44px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .page-hero { padding: calc(var(--header-h) + 44px) 0 48px; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; padding-bottom: 36px; }
  .member-profile { gap: 16px; }
  .member-avatar { width: 68px; height: 68px; font-size: 24px; }
  .info-row { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
  .panel-body, .panel-head { padding: 20px; }
  .auth-main { padding: 40px 20px; }
  .auth-box .auth-box-title { font-size: 23px; }
  .split-media { padding: 22px; }
}

/* 打印 */
@media print {
  .site-header, .site-footer, .mobile-nav, .hero-actions { display: none; }
  body { color: #000; }
}
