/* ==========================================================================
   HNAIA · 海南自贸港OPC全球智能体协会 官网样式系统
   Design tokens: 深海蓝 #0A4DA6 / 自贸金 #D4A843 / 生态绿 #2E8B57 / 科技青 #00CED1
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --blue: #0A4DA6;
  --blue-d: #063A80;
  --blue-l: #1F6BD0;
  --blue-x: #E8F0FB;
  --gold: #D4A843;
  --gold-d: #B98E2E;
  --gold-x: #FBF4E3;
  --green: #2E8B57;
  --green-x: #E7F4ED;
  --cyan: #00CED1;
  --cyan-x: #E2FAFB;

  --bg: #FFFFFF;
  --bg-soft: #F5F7FA;
  --bg-deep: #0B1B33;
  --line: #E4E9F0;
  --line-2: #EEF1F6;

  --tx: #333333;
  --tx-2: #666666;
  --tx-3: #8A93A0;
  --tx-inv: #FFFFFF;

  --r-s: 6px;
  --r: 12px;
  --r-l: 18px;
  --r-xl: 26px;

  --sh-1: 0 1px 2px rgba(11, 27, 51, .05), 0 2px 8px rgba(11, 27, 51, .05);
  --sh-2: 0 4px 12px rgba(11, 27, 51, .07), 0 12px 32px rgba(11, 27, 51, .07);
  --sh-3: 0 10px 24px rgba(10, 77, 166, .12), 0 24px 60px rgba(10, 77, 166, .10);

  --maxw: 1240px;
  --nav-h: 72px;
  --ease: cubic-bezier(.4, 0, .2, 1);

  --font: "Inter", "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC",
    "Microsoft YaHei", "微软雅黑", sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", ui-monospace, SFMono-Regular,
    Consolas, "Liberation Mono", monospace;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--tx);
  font-family: var(--font); font-size: 16px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .22s var(--ease); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.32; letter-spacing: -.01em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--blue); color: #fff; }

/* ---------- 3. Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-n { max-width: 940px; }
.sec { padding: 84px 0; }
.sec-sm { padding: 56px 0; }
.sec-soft { background: var(--bg-soft); }
.sec-dark { background: var(--bg-deep); color: #E8EDF5; }
.sec-grad { background: linear-gradient(160deg, #F7FAFF 0%, #EDF3FC 100%); }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g6 { grid-template-columns: repeat(6, 1fr); }
.flex { display: flex; }
.center { align-items: center; }
.between { justify-content: space-between; }
.gap-s { gap: 10px; } .gap { gap: 18px; } .gap-l { gap: 32px; }
.wrapf { flex-wrap: wrap; }
.tc { text-align: center; }
.mt-s { margin-top: 12px; } .mt { margin-top: 24px; } .mt-l { margin-top: 44px; }
.hide { display: none !important; }

/* ---------- 4. Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); }
.sec-dark .eyebrow { color: var(--cyan); }
.h1 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.22; }
.h2 { font-size: clamp(26px, 3.1vw, 38px); line-height: 1.26; }
.h3 { font-size: clamp(19px, 1.6vw, 23px); }
.h4 { font-size: 17px; }
.lead { font-size: clamp(15px, 1.2vw, 18px); color: var(--tx-2); line-height: 1.9; }
.muted { color: var(--tx-2); }
.small { font-size: 13.5px; }
.num { font-family: var(--font); font-variant-numeric: tabular-nums; font-weight: 800; }
.grad-tx {
  background: linear-gradient(92deg, var(--blue) 0%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sec-head { max-width: 780px; margin-bottom: 44px; }
.sec-head.tc { margin-left: auto; margin-right: auto; }
.sec-head .h2 { margin: 14px 0 14px; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding: 0 26px; border: 1px solid transparent; border-radius: 999px;
  font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: all .24s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-p { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(10, 77, 166, .26); }
.btn-p:hover { background: var(--blue-d); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(10, 77, 166, .34); color: #fff; }
.btn-g { background: var(--gold); color: #24313F; box-shadow: 0 6px 18px rgba(212, 168, 67, .3); }
.btn-g:hover { background: var(--gold-d); color: #fff; transform: translateY(-2px); }
.btn-o { background: transparent; color: var(--blue); border-color: rgba(10, 77, 166, .35); }
.btn-o:hover { background: var(--blue-x); border-color: var(--blue); }
.btn-w { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn-w:hover { background: #fff; color: var(--blue); border-color: #fff; }
.btn-sm { height: 38px; padding: 0 18px; font-size: 13.5px; }
.btn-lg { height: 54px; padding: 0 32px; font-size: 16px; }
.link-a { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; font-size: 14.5px; }
.link-a::after { content: "→"; transition: transform .22s var(--ease); }
.link-a:hover::after { transform: translateX(4px); }

/* ---------- 6. Top utility bar ---------- */
.topbar {
  background: var(--blue-d); color: rgba(255, 255, 255, .82); font-size: 13px;
  height: 38px; display: flex; align-items: center;
}
.topbar a:hover { color: #fff; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar .tb-l { display: flex; gap: 22px; align-items: center; }
.topbar .tb-r { display: flex; gap: 14px; align-items: center; }
.tb-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 206, 209, .22); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: .35 } }
.lang-sw { display: inline-flex; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; overflow: hidden; }
.lang-sw button { background: none; border: 0; color: inherit; padding: 2px 11px; font-size: 12px; cursor: pointer; }
.lang-sw button.on { background: var(--gold); color: #22303f; font-weight: 700; }

/* ---------- 7. Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 200; background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line-2);
  transition: box-shadow .3s var(--ease);
}
.header.stuck { box-shadow: 0 6px 24px rgba(11, 27, 51, .09); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 44px; width: auto; }
.brand-tx { line-height: 1.15; }
.brand-tx b { display: block; font-size: 17px; letter-spacing: .02em; color: var(--blue-d); }
.brand-tx span { display: block; font-size: 10.5px; letter-spacing: .06em; color: var(--tx-3); text-transform: uppercase; }

.nav { display: flex; align-items: center; height: 100%; }
.nav > li { position: relative; height: 100%; }
.nav > li > a {
  display: flex; align-items: center; justify-content: center; height: 100%; padding: 0 13px;
  font-size: 14.5px; font-weight: 600; color: #2A3543; position: relative;
  white-space: nowrap; text-align: center;
}
.nav > li > a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 16px; height: 2.5px;
  background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .26s var(--ease);
}
.nav > li:hover > a, .nav > li.act > a { color: var(--blue); }
.nav > li:hover > a::after, .nav > li.act > a::after { transform: scaleX(1); }

.drop {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
  min-width: 232px; background: #fff; border: 1px solid var(--line-2);
  border-radius: var(--r); box-shadow: var(--sh-2); padding: 10px;
  opacity: 0; visibility: hidden; transition: all .22s var(--ease);
}
.nav > li:hover .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop a {
  display: block; padding: 9px 14px; border-radius: var(--r-s); font-size: 14.5px;
  color: var(--tx-2); white-space: nowrap;
}
.drop a:hover { background: var(--blue-x); color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: var(--r-s); cursor: pointer; align-items: center; justify-content: center; }
.burger span { display: block; width: 19px; height: 2px; background: var(--blue-d); position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 19px; height: 2px; background: var(--blue-d); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

/* mobile drawer */
.mnav {
  position: fixed; inset: 0 0 0 auto; width: min(88vw, 360px); background: #fff; z-index: 300;
  transform: translateX(102%); transition: transform .34s var(--ease); overflow-y: auto;
  box-shadow: -14px 0 40px rgba(11, 27, 51, .16); padding: 18px 18px 60px;
}
.mnav.open { transform: translateX(0); }
.mnav-hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mnav-hd button { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: var(--tx-2); }
.macc > div { border-bottom: 1px solid var(--line-2); }
.macc-t { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; font-weight: 600; cursor: pointer; }
.macc-t i { font-style: normal; color: var(--tx-3); transition: transform .24s var(--ease); }
.macc.on .macc-t i, .macc > div.on .macc-t i { transform: rotate(90deg); }
.macc-b { display: none; padding: 0 4px 12px; }
.macc-b a { display: block; padding: 8px 10px; color: var(--tx-2); font-size: 14.5px; border-radius: var(--r-s); }
.macc-b a:hover { background: var(--bg-soft); color: var(--blue); }
.scrim { position: fixed; inset: 0; background: rgba(11, 27, 51, .45); z-index: 290; opacity: 0; visibility: hidden; transition: .28s; }
.scrim.on { opacity: 1; visibility: visible; }

/* ---------- 8. Hero (home) ---------- */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(135deg, #06264F 0%, #0A4DA6 48%, #0E6E9E 100%); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .62; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(1100px 520px at 78% 22%, rgba(0, 206, 209, .3), transparent 62%),
              radial-gradient(760px 420px at 8% 84%, rgba(212, 168, 67, .22), transparent 60%);
}
.hero-in { position: relative; z-index: 3; padding: 96px 0; color: #fff; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px 7px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .26);
  font-size: 13.5px; backdrop-filter: blur(8px); margin-bottom: 26px;
}
.hero-badge b { background: var(--gold); color: #26313d; padding: 2px 10px; border-radius: 999px; font-size: 12px; }
.hero h1 { font-size: clamp(34px, 5.6vw, 66px); line-height: 1.14; letter-spacing: -.02em; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .hero-sub { margin-top: 22px; max-width: 660px; font-size: clamp(15px, 1.4vw, 18.5px); line-height: 1.9; color: rgba(255, 255, 255, .88); }
.hero-btns { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-mini { margin-top: 52px; display: flex; gap: 34px; flex-wrap: wrap; color: rgba(255, 255, 255, .78); font-size: 13.5px; }
.hero-mini div { display: flex; align-items: center; gap: 8px; }
.hero-mini i { font-style: normal; color: var(--cyan); font-size: 16px; }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 4; color: rgba(255,255,255,.6); font-size: 12px; letter-spacing: .12em; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.scroll-hint::after { content: ""; width: 1px; height: 26px; background: linear-gradient(rgba(255,255,255,.7), transparent); animation: sh 1.8s infinite; }
@keyframes sh { 0% { opacity: 0; transform: scaleY(.3) } 50% { opacity: 1 } 100% { opacity: 0; transform: scaleY(1) } }

/* ---------- 9. Stats ---------- */
.stats { position: relative; z-index: 5; margin-top: -62px; }
.stats-in { background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-3); padding: 12px; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 24px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 26%; height: 48%; width: 1px; background: var(--line); }
.stat b { display: block; font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; color: var(--blue); line-height: 1.1; letter-spacing: -.02em; }
.stat b i { font-style: normal; color: var(--gold); }
.stat span { display: block; margin-top: 8px; font-size: 14px; color: var(--tx-2); }
.stat em { display: block; font-style: normal; font-size: 12px; color: var(--tx-3); margin-top: 3px; }

/* ---------- 10. Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 32px 28px; transition: all .3s var(--ease); position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: rgba(10, 77, 166, .28); }
.card-top { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform .34s var(--ease); }
.card:hover .card-top { transform: scaleX(1); }
.ico {
  width: 54px; height: 54px; border-radius: 15px; display: flex; align-items: center; justify-content: center;
  font-size: 25px; margin-bottom: 20px; background: var(--blue-x); color: var(--blue);
}
.ico.gold { background: var(--gold-x); color: var(--gold-d); }
.ico.green { background: var(--green-x); color: var(--green); }
.ico.cyan { background: var(--cyan-x); color: #069DA0; }
.card h3 { font-size: 19px; margin-bottom: 12px; }
.card p { color: var(--tx-2); font-size: 14.5px; line-height: 1.85; }
.card ul.tick { margin-top: 16px; display: grid; gap: 8px; }
.card ul.tick li { position: relative; padding-left: 20px; font-size: 14px; color: var(--tx-2); }
.card ul.tick li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }

.card-soft { background: var(--bg-soft); border-color: transparent; }
.card-flat { padding: 26px 24px; }
.card-dark { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: #DCE5F2; }
.card-dark h3 { color: #fff; } .card-dark p { color: rgba(255, 255, 255, .72); }
.card-dark:hover { border-color: rgba(0, 206, 209, .5); }

/* ---------- 11. Feature strip (海南特色) ---------- */
.fstrip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.fstrip > div { background: #fff; padding: 30px 26px; transition: background .28s var(--ease); }
.fstrip > div:hover { background: linear-gradient(160deg, #fff, var(--blue-x)); }
.fstrip .fs-k { font-size: 26px; font-weight: 800; color: var(--blue); letter-spacing: -.01em; }
.fstrip .fs-k small { font-size: 13px; font-weight: 600; color: var(--gold-d); margin-left: 6px; }
.fstrip h4 { margin: 10px 0 8px; font-size: 16px; }
.fstrip p { font-size: 13.5px; color: var(--tx-2); line-height: 1.75; }

/* ---------- 12. News ---------- */
.news-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; transition: all .3s var(--ease); }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
.news-thumb { height: 176px; background: linear-gradient(135deg, var(--blue) 0%, #0E6E9E 100%); position: relative; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.9); font-size: 40px; }
.news-thumb.v2 { background: linear-gradient(135deg, #0E6E9E, var(--cyan)); }
.news-thumb.v3 { background: linear-gradient(135deg, #16694A, var(--green)); }
.news-thumb.v4 { background: linear-gradient(135deg, #8A6A1C, var(--gold)); }
.news-tag { position: absolute; left: 14px; top: 14px; background: rgba(255, 255, 255, .92); color: var(--blue); font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.news-body { padding: 22px 22px 26px; }
.news-body time { font-size: 12.5px; color: var(--tx-3); letter-spacing: .04em; }
.news-body h3 { font-size: 17px; margin: 9px 0 10px; line-height: 1.55; }
.news-card:hover h3 { color: var(--blue); }
.news-body p { font-size: 14px; color: var(--tx-2); line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.news-row { display: flex; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line-2); }
.news-row:hover h3 { color: var(--blue); }
.news-row .nr-date { flex: none; width: 84px; text-align: center; border-right: 1px solid var(--line); padding-right: 18px; }
.news-row .nr-date b { display: block; font-size: 30px; font-weight: 800; color: var(--blue); line-height: 1; }
.news-row .nr-date span { font-size: 12.5px; color: var(--tx-3); }
.news-row h3 { font-size: 17.5px; margin-bottom: 8px; }
.news-row p { font-size: 14px; color: var(--tx-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-row .nr-meta { margin-top: 10px; display: flex; gap: 14px; font-size: 12.5px; color: var(--tx-3); }

/* ---------- 13. Page hero (inner) ---------- */
.phero { position: relative; background: linear-gradient(120deg, #07305F 0%, #0A4DA6 60%, #0C6C9C 100%); color: #fff; overflow: hidden; }
.phero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(circle at 72% 40%, #000, transparent 74%);
}
.phero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(0,206,209,.32), transparent 66%); }
.phero-in { position: relative; z-index: 2; padding: 66px 0 54px; }
.phero h1 { font-size: clamp(27px, 3.6vw, 42px); font-weight: 800; }
.phero p { margin-top: 14px; max-width: 720px; color: rgba(255, 255, 255, .84); font-size: 15.5px; line-height: 1.85; }
.crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .66); margin-bottom: 18px; flex-wrap: wrap; }
.crumb a:hover { color: #fff; }
.crumb span { opacity: .5; }

/* ---------- 14. Sidebar layout ---------- */
.side-wrap { display: grid; grid-template-columns: 250px 1fr; gap: 48px; align-items: start; }
.side { position: sticky; top: 96px; }
.side h4 { font-size: 16px; padding: 0 0 14px; border-bottom: 2px solid var(--blue); margin-bottom: 8px; color: var(--blue-d); }
.side a { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-radius: var(--r-s); font-size: 14.5px; color: var(--tx-2); border-left: 2px solid transparent; }
.side a:hover { background: var(--bg-soft); color: var(--blue); }
.side a.on { background: var(--blue-x); color: var(--blue); font-weight: 600; border-left-color: var(--blue); }
.side-box { margin-top: 26px; background: linear-gradient(160deg, var(--blue), #0C6C9C); color: #fff; border-radius: var(--r-l); padding: 24px; }
.side-box h5 { font-size: 15.5px; margin-bottom: 8px; }
.side-box p { font-size: 13px; color: rgba(255,255,255,.82); line-height: 1.75; margin-bottom: 14px; }

/* ---------- 15. Prose ---------- */
.prose { font-size: 15.5px; line-height: 1.95; color: #40474F; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: 24px; margin-top: 44px; padding-left: 14px; border-left: 4px solid var(--blue); color: #1E2A38; }
.prose h3 { font-size: 19px; margin-top: 34px; color: var(--blue-d); }
.prose h4 { font-size: 16.5px; margin-top: 26px; color: #1E2A38; }
.prose strong { color: #1E2A38; font-weight: 700; }
.prose ul { display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 7px; height: 7px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.prose ol { counter-reset: n; display: grid; gap: 10px; }
.prose ol li { position: relative; padding-left: 34px; counter-increment: n; }
.prose ol li::before {
  content: counter(n); position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-x); color: var(--blue); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.prose blockquote { margin: 24px 0; padding: 20px 24px; background: var(--bg-soft); border-left: 4px solid var(--gold); border-radius: 0 var(--r) var(--r) 0; color: var(--tx-2); font-size: 15px; }
.prose code { font-family: var(--font-mono); background: var(--blue-x); color: var(--blue-d); padding: 2px 7px; border-radius: 5px; font-size: 13.5px; }
.prose a { color: var(--blue); border-bottom: 1px solid rgba(10, 77, 166, .3); }
.prose a:hover { border-color: var(--blue); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }

/* ---------- 16. Tables ---------- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); margin: 24px 0; -webkit-overflow-scrolling: touch; }
table.tbl { min-width: 620px; font-size: 14.5px; }
table.tbl th {
  background: linear-gradient(180deg, #F7F9FC, #EEF2F8); text-align: left; padding: 15px 18px;
  font-weight: 700; color: #1E2A38; border-bottom: 2px solid var(--line); white-space: nowrap; font-size: 14px;
}
table.tbl td { padding: 15px 18px; border-bottom: 1px solid var(--line-2); color: var(--tx-2); vertical-align: top; line-height: 1.8; }
table.tbl tr:last-child td { border-bottom: 0; }
table.tbl tbody tr:hover td { background: #FAFCFF; }
table.tbl td strong, table.tbl td b { color: #1E2A38; }
table.tbl.center-h td:not(:first-child) { }

/* ---------- 17. Badges / tags ---------- */
.bdg { display: inline-flex; align-items: center; gap: 5px; padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.bdg-b { background: var(--blue-x); color: var(--blue); }
.bdg-g { background: var(--gold-x); color: var(--gold-d); }
.bdg-e { background: var(--green-x); color: var(--green); }
.bdg-c { background: var(--cyan-x); color: #07969A; }
.bdg-n { background: #F1F3F7; color: var(--tx-2); }
.bdg-l { padding: 5px 14px; font-size: 13px; }

/* ---------- 18. Steps / process ---------- */
.steps { display: grid; gap: 18px; grid-template-columns: repeat(6, 1fr); counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 18px; text-align: center; counter-increment: s; }
.step::before {
  content: counter(s); display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin: 0 auto 12px;
  border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 15px;
}
.step h4 { font-size: 15px; margin-bottom: 6px; }
.step p { font-size: 12.5px; color: var(--tx-3); line-height: 1.6; }
.step::after { content: "›"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); color: var(--line); font-size: 26px; z-index: 2; }
.step:last-child::after { display: none; }

.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--blue), var(--cyan)); }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item::before { content: ""; position: absolute; left: -33px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.tl-item time { font-size: 13px; font-weight: 700; color: var(--gold-d); letter-spacing: .04em; }
.tl-item h4 { font-size: 17px; margin: 5px 0 7px; }
.tl-item p { font-size: 14.5px; color: var(--tx-2); }

/* ---------- 19. Org chart ---------- */
.org { display: grid; gap: 18px; justify-items: center; }
.org-node { width: 100%; max-width: 720px; border-radius: var(--r-l); padding: 22px 26px; text-align: center; position: relative; }
.org-l1 { background: linear-gradient(120deg, var(--blue-d), var(--blue)); color: #fff; box-shadow: var(--sh-3); }
.org-l2 { background: linear-gradient(120deg, #0C6C9C, var(--cyan)); color: #fff; max-width: 620px; }
.org-l4 { background: linear-gradient(120deg, #1E2A38, #37485C); color: #fff; max-width: 860px; text-align: left; }
.org-node h4 { font-size: 19px; }
.org-node p { font-size: 13.5px; opacity: .88; margin-top: 6px; }
.org-node .org-pill { display: inline-block; margin-top: 12px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: 4px 14px; font-size: 12.5px; }
.org-arrow { width: 2px; height: 26px; background: var(--line); position: relative; }
.org-arrow::after { content: ""; position: absolute; bottom: -1px; left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--line); }
.org-row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; width: 100%; max-width: 860px; }
.org-com { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--r); padding: 20px; text-align: center; }
.org-com h5 { font-size: 15.5px; color: var(--blue-d); }
.org-com p { font-size: 12.5px; color: var(--tx-3); margin-top: 6px; }
.org-depts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.org-depts div { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r-s); padding: 10px; text-align: center; font-size: 13.5px; }

/* ---------- 20. Skill market cards ---------- */
.skill-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; transition: all .3s var(--ease); display: flex; flex-direction: column; }
.skill-card:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: rgba(0, 206, 209, .45); }
.sk-hd { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.sk-av { width: 46px; height: 46px; border-radius: 13px; flex: none; display: flex; align-items: center; justify-content: center; font-size: 22px; background: linear-gradient(135deg, var(--blue-x), var(--cyan-x)); }
.sk-hd h4 { font-size: 16.5px; line-height: 1.4; }
.sk-hd span { font-size: 12.5px; color: var(--tx-3); }
.skill-card > p { font-size: 13.8px; color: var(--tx-2); line-height: 1.8; flex: 1; }
.sk-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.sk-ft { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px dashed var(--line); }
.sk-price { font-size: 18px; font-weight: 800; color: var(--blue); }
.sk-price small { font-size: 12px; font-weight: 500; color: var(--tx-3); }
.sk-star { font-size: 13px; color: var(--gold-d); font-weight: 600; }

/* ---------- 21. Member compare ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; transition: all .3s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.plan.hot { border-color: var(--cyan); box-shadow: 0 12px 34px rgba(0, 206, 209, .16); }
.plan-hd { padding: 30px 26px 24px; text-align: center; border-bottom: 1px solid var(--line-2); position: relative; }
.plan.hot .plan-hd { background: linear-gradient(160deg, var(--cyan-x), #fff); }
.plan-hd .p-ico { font-size: 34px; }
.plan-hd h3 { margin: 10px 0 6px; font-size: 21px; }
.plan-hd p { font-size: 13.5px; color: var(--tx-2); }
.plan-flag { position: absolute; right: 0; top: 16px; background: var(--gold); color: #29323d; font-size: 11.5px; font-weight: 800; padding: 4px 12px; border-radius: 999px 0 0 999px; }
.plan-bd { padding: 24px 26px 30px; }
.plan-bd h5 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--tx-3); margin: 18px 0 10px; }
.plan-bd h5:first-child { margin-top: 0; }
.plan-bd li { position: relative; padding-left: 22px; font-size: 14px; color: var(--tx-2); margin-bottom: 8px; line-height: 1.7; }
.plan-bd li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; font-size: 13px; }
.plan-bd li.x::before { content: "•"; color: var(--tx-3); }

/* ---------- 22. Forms ---------- */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 34px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.fld { display: flex; flex-direction: column; gap: 7px; }
.fld.full { grid-column: 1 / -1; }
.fld label { font-size: 13.5px; font-weight: 600; color: #1E2A38; }
.fld label i { color: #D64545; font-style: normal; margin-left: 3px; }
.fld input, .fld select, .fld textarea {
  height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-s);
  background: #fff; font-size: 14.5px; transition: all .2s var(--ease); width: 100%;
}
.fld textarea { height: auto; min-height: 118px; padding: 12px 14px; resize: vertical; line-height: 1.7; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10, 77, 166, .12); }
.fld small { font-size: 12px; color: var(--tx-3); }
.fld-check { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: var(--tx-2); }
.fld-check input { width: 16px; height: 16px; margin-top: 3px; flex: none; }
.form-note { margin-top: 18px; font-size: 12.5px; color: var(--tx-3); }
.form-ok { display: none; background: var(--green-x); border: 1px solid rgba(46, 139, 87, .3); color: var(--green); border-radius: var(--r); padding: 14px 18px; font-size: 14px; margin-bottom: 18px; }
.form-ok.on { display: block; }

/* ---------- 23. Tabs ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.tabs button {
  background: none; border: 0; padding: 12px 20px; font-size: 15px; font-weight: 600; color: var(--tx-2);
  cursor: pointer; border-bottom: 2.5px solid transparent; margin-bottom: -1px;
}
.tabs button.on { color: var(--blue); border-bottom-color: var(--blue); }
.tab-pane { display: none; } .tab-pane.on { display: block; animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }

/* filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips button { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font-size: 13.5px; color: var(--tx-2); cursor: pointer; transition: all .22s var(--ease); }
.chips button:hover { border-color: var(--blue); color: var(--blue); }
.chips button.on { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }

/* ---------- 24. Doc download ---------- */
.doc-list { display: grid; gap: 14px; }
.doc-card { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; transition: all .26s var(--ease); }
.doc-card:hover { border-color: var(--blue); box-shadow: var(--sh-1); transform: translateY(-2px); }
.doc-ico { width: 46px; height: 54px; flex: none; border-radius: 6px; background: linear-gradient(160deg, #E8462F, #C4331F); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; letter-spacing: .04em; box-shadow: 0 4px 10px rgba(196, 51, 31, .25); }
.doc-ico.w { background: linear-gradient(160deg, #2B579A, #1B3A6B); box-shadow: 0 4px 10px rgba(43, 87, 154, .25); }
.doc-meta { flex: 1; min-width: 0; }
.doc-meta h4 { font-size: 15.5px; margin-bottom: 4px; }
.doc-meta span { font-size: 12.5px; color: var(--tx-3); }

/* ---------- 25. Logo wall ---------- */
.logowall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.logowall div { background: #fff; height: 104px; display: flex; align-items: center; justify-content: center; color: var(--tx-3); font-size: 13.5px; text-align: center; padding: 12px; transition: all .26s var(--ease); }
.logowall div:hover { background: var(--bg-soft); color: var(--blue); }

/* ---------- 26. Countdown ---------- */
.cd-box { background: linear-gradient(125deg, #06264F 0%, #0A4DA6 55%, #0C6C9C 100%); border-radius: var(--r-xl); padding: 52px 48px; color: #fff; position: relative; overflow: hidden; }
.cd-box::before { content: ""; position: absolute; right: -60px; bottom: -80px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(212,168,67,.28), transparent 68%); }
.cd-box .cd-in { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cd-nums { display: flex; gap: 14px; }
.cd-u { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--r); width: 84px; padding: 14px 4px; text-align: center; backdrop-filter: blur(8px); }
.cd-u b { display: block; font-size: 32px; font-weight: 800; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.cd-u span { font-size: 12px; opacity: .8; }

/* ---------- 27. Callout ---------- */
.callout { display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--r); background: var(--blue-x); border-left: 4px solid var(--blue); }
.callout.gold { background: var(--gold-x); border-color: var(--gold); }
.callout.green { background: var(--green-x); border-color: var(--green); }
.callout .co-i { font-size: 22px; flex: none; }
.callout h4 { font-size: 15.5px; margin-bottom: 6px; }
.callout p { font-size: 14px; color: var(--tx-2); line-height: 1.8; }

/* code block */
pre.code { background: #0F1E33; color: #D8E4F5; border-radius: var(--r); padding: 22px 24px; overflow-x: auto; font-family: var(--font-mono); font-size: 13.2px; line-height: 1.75; margin: 22px 0; }
pre.code .k { color: #7FD1E8; } pre.code .s { color: #E6C07B; } pre.code .c { color: #6B7C93; } pre.code .f { color: #98D8A0; }

/* ---------- 28. Footer ---------- */
.footer { background: var(--bg-deep); color: rgba(255, 255, 255, .68); font-size: 14px; padding-top: 66px; }
.footer a:hover { color: #fff; }
.f-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.f-brand img { height: 46px; margin-bottom: 18px; }
.f-brand p { font-size: 13.5px; line-height: 1.85; color: rgba(255, 255, 255, .58); }
.f-col h5 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.f-col li { margin-bottom: 10px; font-size: 13.8px; }
.f-contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 13.8px; line-height: 1.6; }
.f-contact i { font-style: normal; color: var(--cyan); flex: none; }
.f-qr { display: flex; gap: 14px; margin-top: 18px; }
.f-qr div { width: 84px; text-align: center; }
.f-qr .qr-ph { width: 84px; height: 84px; border-radius: 8px; background: rgba(255,255,255,.08); border: 1px dashed rgba(255,255,255,.22); display: flex; align-items: center; justify-content: center; font-size: 11px; color: rgba(255,255,255,.4); }
.f-qr span { display: block; font-size: 11.5px; margin-top: 6px; color: rgba(255, 255, 255, .5); }
.f-bot { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0 30px; font-size: 13px; color: rgba(255, 255, 255, .46); flex-wrap: wrap; }
.f-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* back to top */
.totop { position: fixed; right: 26px; bottom: 30px; width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--sh-2); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--ease); z-index: 150; border: 0; font-size: 18px; }
.totop.on { opacity: 1; visibility: visible; transform: none; }

/* ---------- 29. Reveal animation ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } * { animation: none !important; } }

/* ---------- 30. Responsive ---------- */
@media (max-width: 1280px) {
  .brand-tx span { display: none; }
}
@media (max-width: 1160px) {
  .nav > li > a { padding: 0 11px; font-size: 14px; }
  .brand-tx b { font-size: 15.5px; }
  .f-top { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (max-width: 1080px) {
  .nav > li > a { padding: 0 9px; font-size: 13.5px; }
}
@media (max-width: 1024px) {
  .nav, .nav-cta .btn { display: none; }
  .burger { display: flex; }
  .g4, .g6 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .stats-in { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before, .stat:nth-child(odd)::before { display: none; }
  .fstrip { grid-template-columns: repeat(2, 1fr); }
  .side-wrap { grid-template-columns: 1fr; gap: 30px; }
  .side { position: static; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
  .side h4, .side-box { display: none; }
  .side a { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; border-radius: 0; }
  .side a.on { background: none; border-bottom-color: var(--blue); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step::after { display: none; }
  .plans { grid-template-columns: 1fr; }
  .logowall { grid-template-columns: repeat(3, 1fr); }
  .org-depts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .sec { padding: 56px 0; }
  .wrap { padding: 0 18px; }
  .topbar .tb-l span.hide-m { display: none; }
  .g2, .g3, .g4, .g6 { grid-template-columns: 1fr; }
  .hero { min-height: 540px; }
  .hero-in { padding: 66px 0; }
  .stats { margin-top: -40px; }
  .stats-in { grid-template-columns: 1fr; }
  .stat + .stat::before { display: none; }
  .stat { border-top: 1px solid var(--line-2); }
  .stat:first-child { border-top: 0; }
  .fstrip { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .org-row3 { grid-template-columns: 1fr; }
  .org-depts { grid-template-columns: 1fr; }
  .form { padding: 24px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .f-top { grid-template-columns: 1fr; gap: 32px; padding-bottom: 34px; }
  .cd-box { padding: 34px 24px; }
  .cd-u { width: 68px; }
  .news-row { flex-direction: column; gap: 12px; }
  .news-row .nr-date { display: flex; align-items: baseline; gap: 8px; width: auto; border-right: 0; padding-right: 0; text-align: left; }
  .news-row .nr-date b { font-size: 20px; }
  .logowall { grid-template-columns: repeat(2, 1fr); }
  .prose h2 { font-size: 21px; }
}

/* ---- 后台上传的图片：新闻缩略图 / 封面 / 会员 Logo ---- */
.news-row.has-thumb { align-items: flex-start; }
.news-row .nr-thumb { flex: none; width: 168px; margin-left: auto; }
.news-row .nr-thumb img { width: 100%; height: 104px; object-fit: cover; border-radius: 12px; display: block; background: var(--bg-2, #F4F6FA); }
.news-cover { margin: 20px 0 26px; }
.news-cover img { width: 100%; border-radius: 16px; display: block; }
.news-article .prose img, .news-article img { max-width: 100%; height: auto; border-radius: 12px; }
.news-article figure { margin: 22px 0; }
.news-article figcaption { font-size: 13px; color: var(--tx-3); text-align: center; margin-top: 8px; }
.sk-av.m-logo { background: #fff; border: 1px solid var(--line); overflow: hidden; padding: 4px; }
.sk-av.m-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* 富文本正文里的常见结构 */
.news-article blockquote { border-left: 3px solid var(--blue); padding: 4px 0 4px 16px; margin: 18px 0; color: var(--tx-2); background: transparent; }
.news-article .ql-align-center { text-align: center; }
.news-article .ql-align-right { text-align: right; }
.news-article .ql-align-justify { text-align: justify; }
@media (max-width: 860px) {
  .news-row .nr-thumb { width: 100%; margin-left: 0; order: -1; }
  .news-row .nr-thumb img { height: 170px; }
}

/* print */
@media print {
  .header, .topbar, .footer, .totop, .side, .phero::before { display: none !important; }
  body { font-size: 12pt; }
}
