/* ==========================================================================
   上海行鼎网络科技有限公司 · 企业官网
   设计基调：简约大气 / 科技感 / 大量留白
   ========================================================================== */

:root {
  --brand: #1652f0;
  --brand-600: #0f43cd;
  --brand-700: #0b34a3;
  --brand-soft: #eef3ff;
  --accent: #0fa89b;
  --accent-soft: #e7f7f5;

  --ink: #0b1220;
  --ink-800: #17203a;
  --text: #253048;
  --muted: #667089;
  --muted-2: #8b94a8;

  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-deep: #0b1220;
  --line: #e5e9f2;
  --line-strong: #d3dae8;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 10px 28px -12px rgba(16, 24, 40, .16);
  --shadow-lg: 0 28px 60px -24px rgba(11, 18, 32, .28);

  --container: 1180px;
  --header-h: 70px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0; font-weight: 700; letter-spacing: -.015em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: all .22s var(--ease);
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -10px rgba(22, 82, 240, .8); }
.btn-primary:hover { background: var(--brand-600); transform: translateY(-1px); box-shadow: 0 14px 26px -12px rgba(22, 82, 240, .9); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.btn-light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .32); }
.btn-light:hover { background: rgba(255, 255, 255, .2); }
.btn-white { background: #fff; color: var(--brand-700); }
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .45); }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }

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

/* ---------- 头部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 22px -18px rgba(11, 18, 32, .5); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--brand) 0%, #2f7bff 55%, var(--accent) 140%);
  box-shadow: 0 8px 18px -10px rgba(22, 82, 240, .9);
}
.brand-mark svg { width: 21px; height: 21px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 18px; letter-spacing: .04em; color: var(--ink); }
.brand-text em { font-style: normal; font-size: 10px; letter-spacing: .22em; color: var(--muted-2); font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.main-nav a {
  position: relative; padding: 8px 14px; border-radius: 9px;
  font-size: 15px; font-weight: 500; color: var(--text);
  transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--brand); background: var(--brand-soft); }
.main-nav a.is-active { color: var(--brand); font-weight: 600; }
.main-nav a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--brand);
}
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  border-radius: 11px; background: #fff; padding: 0; place-items: center;
}
.nav-toggle span { display: block; width: 17px; height: 1.8px; background: var(--ink); border-radius: 2px; margin: 3px auto; transition: .25s var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(4.8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-4.8px) rotate(-45deg); }

/* 登录态用户菜单 */
.user-menu { position: relative; }
.user-trigger {
  display: flex; align-items: center; gap: 9px; height: 42px; padding: 0 12px 0 6px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.user-trigger:hover { border-color: var(--brand); box-shadow: 0 6px 16px -12px rgba(22, 82, 240, .8); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(140deg, var(--brand), #4d8bff);
  color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .02em;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-trigger .u-name { font-size: 14px; font-weight: 600; color: var(--ink); max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-trigger svg { width: 14px; height: 14px; color: var(--muted-2); }

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

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-line { border-top: 1px solid var(--line); }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--brand); }
.section-head.center .eyebrow::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--brand); }
.section-head h2 { font-size: 38px; margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 16.5px; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 84px 0 96px;
  background:
    radial-gradient(900px 480px at 82% -8%, rgba(22, 82, 240, .12), transparent 62%),
    radial-gradient(720px 420px at 4% 100%, rgba(15, 168, 155, .1), transparent 60%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(11, 18, 32, .055) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 100%);
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 100%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px 7px 9px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: #fff;
  font-size: 13.5px; color: var(--muted); box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.hero-badge b { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 12.5px; font-weight: 700; }
.hero h1 { font-size: 54px; line-height: 1.16; letter-spacing: -.025em; margin-bottom: 22px; }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--brand) 8%, #3f8bff 45%, var(--accent) 96%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: 18px; color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--text); }
.hero-points svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; }

.hero-visual { position: relative; }
.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 18px; overflow: hidden;
}
.hero-card-top { display: flex; align-items: center; gap: 7px; padding: 0 4px 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #e2e6ef; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.hero-card-top span.t { margin-left: 8px; font-size: 12.5px; color: var(--muted-2); letter-spacing: .04em; }
.hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.hero-metric { background: var(--bg-soft); border-radius: 12px; padding: 12px; }
.hero-metric em { display: block; font-style: normal; font-size: 11.5px; color: var(--muted-2); margin-bottom: 4px; }
.hero-metric b { font-size: 20px; color: var(--ink); letter-spacing: -.01em; }
.hero-metric i { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--accent); margin-left: 4px; }
.hero-chart { display: flex; align-items: flex-end; gap: 7px; height: 92px; padding: 0 4px; }
.hero-chart span { flex: 1; border-radius: 5px 5px 3px 3px; background: linear-gradient(180deg, rgba(22, 82, 240, .85), rgba(22, 82, 240, .22)); }
.hero-chart span:nth-child(even) { background: linear-gradient(180deg, rgba(15, 168, 155, .8), rgba(15, 168, 155, .18)); }
.hero-float {
  position: absolute; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow); padding: 12px 15px;
  display: flex; align-items: center; gap: 11px;
}
.hero-float.f1 { left: -26px; top: 34px; animation: float 5.5s ease-in-out infinite; }
.hero-float.f2 { right: -20px; bottom: 26px; animation: float 6.5s ease-in-out infinite .8s; }
.hero-float .fi { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.hero-float .fi svg { width: 18px; height: 18px; }
.hero-float b { display: block; font-size: 14px; color: var(--ink); }
.hero-float span { font-size: 11.5px; color: var(--muted-2); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- 能力卡片 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.card:hover { border-color: #c5d3f5; box-shadow: var(--shadow); transform: translateY(-3px); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.8px; }
.card .icon-box {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 18px;
}
.card .icon-box svg { width: 24px; height: 24px; }
.card .icon-box.teal { background: var(--accent-soft); color: var(--accent); }

.cap-list { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.cap-list li { position: relative; padding-left: 20px; font-size: 14px; color: var(--muted); }
.cap-list li::before {
  content: ""; position: absolute; left: 2px; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand); opacity: .55;
}

/* ---------- 数据带 ---------- */
.band {
  background:
    radial-gradient(700px 340px at 12% 0%, rgba(22, 82, 240, .35), transparent 60%),
    radial-gradient(600px 300px at 92% 110%, rgba(15, 168, 155, .28), transparent 60%),
    var(--bg-deep);
  color: #fff; padding: 70px 0;
}
.band h2 { color: #fff; }
.band .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 8px; }
.stat b { display: block; font-size: 44px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1;
  background: linear-gradient(180deg, #fff, #a9c2ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 8px; font-size: 14.5px; color: rgba(255, 255, 255, .68); }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .12); }

/* ---------- 产品卡片 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter-btn {
  height: 40px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: #fff;
  font-size: 14.5px; color: var(--text); transition: .2s var(--ease);
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-btn i { font-style: normal; opacity: .55; margin-left: 6px; font-size: 12.5px; }

.product-card { display: flex; flex-direction: column; }
.product-card .tag {
  display: inline-block; align-self: flex-start; margin-bottom: 14px;
  padding: 3px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: var(--bg-soft); color: var(--muted);
}
.product-card .sub { font-size: 13.5px; color: var(--brand); font-weight: 600; margin-bottom: 10px; }
.product-card .desc { flex: 1; }
.product-card .card-foot {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.product-card .card-foot button {
  border: 0; background: none; color: var(--brand); font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 5px; padding: 0;
}
.product-card .card-foot button svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.product-card .card-foot button:hover svg { transform: translateX(3px); }
.product-card .card-foot .idx { font-size: 12.5px; color: var(--muted-2); letter-spacing: .08em; }

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding-top: 34px; }
.step::before {
  counter-increment: s; content: "0" counter(s);
  position: absolute; top: 0; left: 0;
  font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--brand);
}
.step::after {
  content: ""; position: absolute; top: 8px; left: 34px; right: -18px; height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}
.step:last-child::after { display: none; }
.step h4 { font-size: 16.5px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- 动态列表 ---------- */
.news-list { border-top: 1px solid var(--line); }
.news-item {
  display: grid; grid-template-columns: 128px 1fr auto; gap: 26px; align-items: center;
  padding: 24px 4px; border-bottom: 1px solid var(--line); transition: .22s var(--ease);
}
.news-item:hover { background: var(--bg-soft); padding-left: 16px; padding-right: 16px; }
.news-item time { font-size: 14px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.news-item h4 { font-size: 17px; margin-bottom: 6px; transition: color .2s; }
.news-item:hover h4 { color: var(--brand); }
.news-item p { font-size: 14.2px; color: var(--muted); }
.news-item .cat { font-size: 12.5px; padding: 3px 11px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-weight: 600; white-space: nowrap; }

/* ---------- CTA ---------- */
.cta-band {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: linear-gradient(112deg, var(--brand-700) 0%, var(--brand) 52%, #2f8dff 100%);
  color: #fff; padding: 62px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.cta-band::after {
  content: ""; position: absolute; right: -70px; top: -70px; width: 300px; height: 300px;
  border-radius: 50%; background: rgba(255, 255, 255, .1);
}
.cta-band h2 { color: #fff; font-size: 32px; margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, .84); font-size: 16px; max-width: 560px; }
.cta-band .btn { position: relative; z-index: 1; }

/* ---------- 页面头部（内页） ---------- */
.page-hero {
  position: relative; padding: 66px 0 58px;
  background:
    radial-gradient(700px 380px at 88% 0%, rgba(22, 82, 240, .12), transparent 62%),
    linear-gradient(180deg, #fbfcff, #ffffff);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: 42px; margin: 14px 0 14px; }
.page-hero p { color: var(--muted); font-size: 17px; max-width: 720px; }
.crumb { font-size: 13.5px; color: var(--muted-2); display: flex; align-items: center; gap: 8px; }
.crumb a:hover { color: var(--brand); }
.crumb svg { width: 13px; height: 13px; }

/* ---------- 关于我们 ---------- */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.about-grid h2 { font-size: 32px; margin-bottom: 20px; }
.about-grid p { color: var(--muted); margin-bottom: 16px; font-size: 15.5px; }
.about-quote {
  border-left: 3px solid var(--brand); padding: 4px 0 4px 20px;
  color: var(--ink); font-size: 16.5px; font-weight: 500; margin: 24px 0;
}
.about-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.fact { background: var(--bg-soft); border-radius: var(--radius); padding: 22px; }
.fact b { display: block; font-size: 26px; color: var(--brand); letter-spacing: -.02em; }
.fact span { font-size: 13.5px; color: var(--muted); }

.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--line-strong); }
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 6px;
  width: 13px; height: 13px; border-radius: 50%; background: #fff;
  border: 3px solid var(--brand);
}
.tl-item b { display: block; font-size: 17px; color: var(--brand); letter-spacing: .02em; }
.tl-item h4 { font-size: 16px; margin: 4px 0 6px; }
.tl-item p { font-size: 14.2px; color: var(--muted); }

.honor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.honor {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px;
  background: #fff; text-align: center;
}
.honor svg { width: 26px; height: 26px; color: var(--brand); margin-bottom: 12px; }
.honor b { display: block; font-size: 14.5px; color: var(--ink); margin-bottom: 4px; }
.honor span { font-size: 12.5px; color: var(--muted-2); }

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.info-list { display: flex; flex-direction: column; gap: 4px; }
.info-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-item:last-child { border-bottom: 0; }
.info-item .ii {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--brand-soft); color: var(--brand);
}
.info-item .ii svg { width: 20px; height: 20px; }
.info-item b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 3px; }
.info-item p, .info-item a { font-size: 14.5px; color: var(--muted); }
.info-item a:hover { color: var(--brand); }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.8px; font-weight: 600; color: var(--ink-800); }
.field label i { font-style: normal; color: #e5484d; margin-left: 3px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 11px;
  background: #fff; padding: 12px 14px; font: inherit; font-size: 14.8px; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 128px; line-height: 1.65; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3.5px rgba(22, 82, 240, .12);
}
.field input::placeholder, .field textarea::placeholder { color: #a9b1c4; }
.field .err { font-size: 13px; color: #e5484d; min-height: 0; }
.field .hint { font-size: 12.8px; color: var(--muted-2); }

.map-box {
  margin-top: 18px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-soft); position: relative; height: 210px;
}
.map-box svg { width: 100%; height: 100%; }
.map-label {
  position: absolute; left: 18px; bottom: 18px; background: #fff;
  border-radius: 11px; box-shadow: var(--shadow); padding: 10px 16px;
  font-size: 14px; font-weight: 600; color: var(--ink);
}
.map-label span { display: block; font-size: 12.5px; font-weight: 400; color: var(--muted); }

/* ---------- 会员中心 ---------- */
.account-wrap { display: grid; grid-template-columns: 232px 1fr; gap: 30px; align-items: start; }
.side-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; position: sticky; top: calc(var(--header-h) + 20px); }
.side-nav button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 11px 14px; border: 0; border-radius: 10px; background: none;
  font-size: 14.6px; color: var(--text); text-align: left; transition: .18s;
}
.side-nav button svg { width: 17px; height: 17px; color: var(--muted); }
.side-nav button:hover { background: var(--bg-soft); color: var(--brand); }
.side-nav button.is-active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.side-nav button.is-active svg { color: var(--brand); }

.pane { display: none; }
.pane.is-active { display: block; animation: fadeUp .35s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.account-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; flex-wrap: wrap; }
.account-head h2 { font-size: 24px; }
.account-head p { font-size: 14.2px; color: var(--muted); margin-top: 4px; }

.avatar-row { display: flex; align-items: center; gap: 20px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.avatar-lg {
  width: 78px; height: 78px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  display: grid; place-items: center; background: linear-gradient(140deg, var(--brand), #4d8bff);
  color: #fff; font-size: 28px; font-weight: 700;
}
.avatar-lg img { width: 100%; height: 100%; object-fit: cover; }
.avatar-row .ar-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.avatar-row .ar-actions .btn { height: 38px; padding: 0 16px; font-size: 13.8px; }

.msg-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: #fff; }
.msg-card + .msg-card { margin-top: 14px; }
.msg-card .mc-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 10px; flex-wrap: wrap; }
.msg-card .mc-head b { font-size: 15.5px; color: var(--ink); }
.msg-card .mc-head time { font-size: 13px; color: var(--muted-2); }
.msg-card .mc-body { font-size: 14.4px; color: var(--muted); white-space: pre-wrap; }
.msg-card .mc-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line); font-size: 13.2px; color: var(--muted-2); }
.badge { padding: 2px 10px; border-radius: 999px; font-size: 12.2px; font-weight: 600; background: var(--accent-soft); color: #0b7d72; }

.file-row { display: flex; align-items: center; gap: 14px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.file-row:last-child { border-bottom: 0; }
.file-row .fi { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex-shrink: 0; }
.file-row .fi svg { width: 19px; height: 19px; }
.file-row .fm { flex: 1; min-width: 0; }
.file-row .fm b { display: block; font-size: 14.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-row .fm span { font-size: 12.8px; color: var(--muted-2); }
.file-row .fa { display: flex; gap: 6px; }
.icon-btn {
  width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 9px;
  background: #fff; display: grid; place-items: center; color: var(--muted); transition: .18s;
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }
.icon-btn.danger:hover { border-color: #e5484d; color: #e5484d; }
.icon-btn svg { width: 16px; height: 16px; }

.empty { text-align: center; padding: 56px 20px; color: var(--muted-2); }
.empty svg { width: 42px; height: 42px; color: var(--line-strong); margin: 0 auto 14px; }
.empty b { display: block; font-size: 15.5px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.empty p { font-size: 14px; }

.gate {
  max-width: 460px; margin: 0 auto; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 52px 40px; box-shadow: var(--shadow);
}
.gate .gi {
  width: 62px; height: 62px; border-radius: 18px; margin: 0 auto 20px;
  display: grid; place-items: center; background: var(--brand-soft); color: var(--brand);
}
.gate .gi svg { width: 28px; height: 28px; }
.gate h2 { font-size: 24px; margin-bottom: 10px; }
.gate p { color: var(--muted); font-size: 14.6px; margin-bottom: 26px; }

/* ---------- 登录弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(11, 18, 32, .5); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: .22s var(--ease);
}
.modal-mask.is-open { opacity: 1; visibility: visible; }
.modal {
  position: relative;
  width: 100%; max-width: 452px; max-height: calc(100vh - 48px); overflow-y: auto;
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg);
  padding: 32px 32px 28px; transform: translateY(14px) scale(.985);
  transition: .26s var(--ease);
}
.modal-mask.is-open .modal { transform: none; }
.modal.wide { max-width: 620px; }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px;
  border: 0; border-radius: 9px; background: var(--bg-soft); color: var(--muted);
  display: grid; place-items: center;
}
.modal-close:hover { background: #eaeef7; color: var(--ink); }
.modal-close svg { width: 16px; height: 16px; }
.modal-head { position: relative; text-align: center; margin-bottom: 24px; }
.modal-head h3 { font-size: 23px; margin-bottom: 8px; }
.modal-head p { font-size: 14.2px; color: var(--muted); }

.tabs { display: flex; gap: 4px; padding: 4px; background: var(--bg-soft); border-radius: 12px; margin-bottom: 22px; }
.tabs button {
  flex: 1; height: 38px; border: 0; border-radius: 9px; background: none;
  font-size: 14.4px; color: var(--muted); font-weight: 500; transition: .18s;
}
.tabs button.is-active { background: #fff; color: var(--ink); font-weight: 600; box-shadow: var(--shadow-sm); }

.form-stack { display: flex; flex-direction: column; gap: 15px; }
.form-stack .field label { font-size: 13.4px; }
.code-row { display: flex; gap: 10px; }
.code-row input { flex: 1; }
.code-btn {
  height: 45px; padding: 0 16px; border-radius: 11px; white-space: nowrap;
  border: 1px solid var(--line-strong); background: #fff; color: var(--brand);
  font-size: 13.8px; font-weight: 600; transition: .18s;
}
.code-btn:hover:not(:disabled) { border-color: var(--brand); background: var(--brand-soft); }
.code-btn:disabled { color: var(--muted-2); cursor: not-allowed; }

.form-note { font-size: 12.9px; color: var(--muted-2); text-align: center; line-height: 1.6; }
.form-note a { color: var(--brand); }
.switcher { display: flex; justify-content: space-between; align-items: center; font-size: 13.6px; }
.switcher button { border: 0; background: none; color: var(--brand); font-size: 13.6px; padding: 0; }
.switcher button:hover { text-decoration: underline; }

.alert { border-radius: 11px; padding: 11px 14px; font-size: 13.8px; line-height: 1.55; }
.alert-error { background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }
.alert-ok { background: #ecfdf3; color: #067647; border: 1px solid #abefc6; }
.alert-info { background: var(--brand-soft); color: var(--brand-700); border: 1px solid #d3e0ff; }

.divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--muted-2); font-size: 12.8px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.btn-wechat { width: 100%; background: #fff; border-color: #d7e0ea; color: var(--ink); }
.btn-wechat:hover { border-color: #07c160; color: #07c160; background: #f5fffa; }
.btn-wechat svg { color: #07c160; }

/* ---------- 详情弹窗 ---------- */
.detail-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.detail-head .icon-box { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex-shrink: 0; }
.detail-head .icon-box svg { width: 26px; height: 26px; }
.detail-head h3 { font-size: 22px; margin-bottom: 6px; }
.detail-head span { font-size: 14px; color: var(--brand); font-weight: 600; }
.detail-body p { color: var(--muted); font-size: 15.2px; margin-bottom: 20px; }
.detail-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 24px; }
.detail-list li { display: flex; gap: 10px; font-size: 14.2px; color: var(--text); background: var(--bg-soft); border-radius: 11px; padding: 13px 15px; }
.detail-list svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--bg-deep); color: rgba(255, 255, 255, .68); padding: 62px 0 0; margin-top: 0; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 46px; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text em { color: rgba(255, 255, 255, .42); }
.footer-brand p { font-size: 14px; color: rgba(255, 255, 255, .58); margin-top: 18px; max-width: 320px; }
.footer-col h5 { color: #fff; font-size: 15px; margin: 0 0 16px; font-weight: 600; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: rgba(255, 255, 255, .62); transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 14px; color: rgba(255, 255, 255, .62); margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255, 255, 255, .45);
}

/* ---------- 滚动动画 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 提示条 ---------- */
.toast-wrap { position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast {
  background: var(--ink); color: #fff; border-radius: 12px; padding: 12px 20px;
  font-size: 14.2px; box-shadow: var(--shadow-lg); animation: toastIn .3s var(--ease);
  display: flex; align-items: center; gap: 9px;
}
.toast svg { width: 17px; height: 17px; }
.toast.ok svg { color: #4ade80; }
.toast.err { background: #b42318; }
.toast.err svg { color: #fff; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- 骨架屏 ---------- */
.skel { background: linear-gradient(90deg, #eef1f7 25%, #f6f8fc 37%, #eef1f7 63%); background-size: 400% 100%; animation: skel 1.4s ease infinite; border-radius: 8px; }
@keyframes skel { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-visual { max-width: 560px; }
  .hero-float.f1 { left: -8px; }
  .hero-float.f2 { right: -6px; }
  .grid-4, .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .band .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .stat + .stat { border-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .12); }
}

@media (max-width: 900px) {
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 18px 20px; margin: 0;
    box-shadow: 0 20px 30px -22px rgba(11, 18, 32, .5);
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 14px; }
  .main-nav a.is-active::after { display: none; }
  .main-nav a.is-active { background: var(--brand-soft); }
  .nav-toggle { display: grid; }
  .grid-3, .grid-2, .about-grid, .contact-grid, .account-wrap, .detail-list { grid-template-columns: 1fr; }
  .side-nav { position: static; display: flex; gap: 6px; overflow-x: auto; }
  .side-nav button { white-space: nowrap; width: auto; }
  .section { padding: 68px 0; }
  .hero { padding: 56px 0 68px; }
  .hero h1 { font-size: 38px; }
  .section-head h2 { font-size: 29px; }
  .page-hero h1 { font-size: 32px; }
  .cta-band { padding: 44px 30px; }
  .cta-band h2 { font-size: 26px; }
  .news-item { grid-template-columns: 1fr; gap: 8px; }
  .panel { padding: 26px 22px; }
  .modal { padding: 28px 22px 24px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .hero h1 { font-size: 31px; }
  .brand-text strong { font-size: 16px; }
  .brand-text em { display: none; }
  .hero-float { display: none; }
  .grid-4, .honor-grid, .band .stats, .form-grid, .about-facts { grid-template-columns: 1fr; }
  .stat:nth-child(even) { border-left: 0; }
  .footer-main { grid-template-columns: 1fr; }
  .hero-metrics { grid-template-columns: repeat(3, 1fr); }
  .hero-metric b { font-size: 16px; }
  .account-wrap { gap: 20px; }
  .avatar-row { flex-direction: column; align-items: flex-start; }
}
