/* ============================================================
   研几资本 v3 —— 专业金融机构风格（参考进化论资产排版规范）
   白底 · 品牌蓝 · 深灰正文 · 细线分隔 · 无阴影无渐变
   ============================================================ */
:root {
  --blue: #2349ab;        /* 品牌蓝 */
  --navy: #16305e;        /* 深藏青（标题/页脚） */
  --ink: #333333;         /* 正文 */
  --gray: #666666;        /* 次级文字 */
  --light: #999999;       /* 辅助文字 */
  --line: #e6e8ec;        /* 分隔线 */
  --bg: #f5f6f8;          /* 浅灰底 */
  --red: #c0392b;         /* 风险提示专用 */
  --max: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.8;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ---------- 导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: auto; }
.brand-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.brand-name { font-size: 20px; font-weight: 700; color: var(--navy); letter-spacing: .14em; }
.brand-sub { font-size: 10px; color: var(--gray); letter-spacing: .32em; text-transform: uppercase; margin-top: 5px; align-self: flex-start; width: 100%; text-align: center; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-logo-row { display: flex; align-items: center; gap: 12px; }
.footer-logo-row img { height: 40px; width: auto; }
.footer-brand p { font-size: 13px; color: var(--gray); line-height: 1.6; margin-bottom: 6px; }
.footer-brand p:last-child { margin-bottom: 0; }

.nav-links { flex: 1; display: flex; justify-content: center; gap: 36px; white-space: nowrap; }
.nav-links a {
  font-size: 15px; color: var(--ink); padding: 26px 0;
  position: relative; transition: color .2s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 18px;
  height: 2px; background: var(--blue); transform: scaleX(0);
  transition: transform .25s ease; transform-origin: center;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-side { display: flex; align-items: center; gap: 20px; }
.nav-lang { font-size: 13px; color: var(--light); }
.nav-lang b { color: var(--navy); font-weight: 500; }

.menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; transition: .3s; }
.mobile-nav { display: none; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 11px 32px; font-size: 14px; letter-spacing: .12em;
  border: 1px solid var(--blue); border-radius: 2px; cursor: pointer;
  transition: all .2s; background: transparent; font-family: inherit;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #1b3a8e; border-color: #1b3a8e; }
.btn-outline { color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-sm { padding: 8px 22px; font-size: 13px; }
.btn-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ---------- 区块 ---------- */
section.block { padding: 88px 0; }
section.block-gray { background: var(--bg); }

.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head h2 { display: inline; font-size: 28px; font-weight: 700; color: var(--navy); letter-spacing: .06em; }
.sec-head .sub { display: inline; margin-left: 16px; font-size: 15px; color: var(--gray); }
.sec-rule { width: 40px; height: 3px; background: var(--blue); margin: 18px auto 0; }
.sec-head .eyebrow { display: block; font-size: 12px; font-weight: 600; color: var(--red); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 8px; }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  padding: 182px 0 156px;
  background-color: #1C3B65;
  border-bottom: 1px solid var(--line);
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
  pointer-events: none;
}
.hero::before {
  background-image: url('../images/dots_hero_a.png');
  animation: dotReveal 2.2s ease-out both, dotTwinkle 3.4s 2.2s infinite;
}
.hero::after {
  background-image: url('../images/dots_hero_b.png');
  animation: dotReveal 2s .6s ease-out both, dotTwinkle 3s 2.6s infinite;
}
@keyframes dotReveal {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}
@keyframes dotTwinkle {
  0%, 100% { opacity: .92; }
  50%      { opacity: 1; filter: brightness(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after,
  .page-head::before, .page-head::after { animation: none; }
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: 46px; font-weight: 700; color: #fff; letter-spacing: .1em; line-height: 1.35; }
.hero h1 span { color: #fff; }
.hero .hero-sub { margin-top: 26px; font-size: 17px; color: #cbd5e1; max-width: 640px; }

/* 内页页头（横幅式） */
.page-head {
  position: relative;
  padding: 205px 0 200px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background-color: #1C3B65;
  color: #fff;
  overflow: hidden;
}
.page-head::before,
.page-head::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
  pointer-events: none;
  /* 16:9 光点图：宽度 = 高度 × 16/9；高=页头内高≈405 时宽≈720，
     桌面 1440 / 1920 容器中靠右完整显示，左侧为纯蓝底 */
}

/* 平板：页头变矮，光点图用 contain 完整显示，靠右 */
@media (max-width: 960px) {
  .page-head { padding: 130px 0 120px; }
  .page-head::before,
  .page-head::after {
    background-size: contain;
    background-position: right center;
  }
}

/* 手机：页头再矮，光点图缩到 75% 容器宽，按比例展示靠右下，不被裁切 */
@media (max-width: 600px) {
  .page-head { padding: 90px 0 80px; }
  .page-head::before,
  .page-head::after {
    background-size: 75% auto;
    background-position: right -10px center;
  }
  /* 手机端：版权与备案号上下居中排列 */
  .footer-bottom {
    flex-direction: column; justify-content: center; text-align: center;
    gap: 8px; padding: 16px 0 24px;
  }
}
.page-head::before {
  background-image: var(--dots-a, none);
  animation: dotReveal 2.2s ease-out both, dotTwinkle 3.4s 2.2s infinite;
}
.page-head::after {
  background-image: var(--dots-b, none);
  animation: dotReveal 2s .6s ease-out both, dotTwinkle 3s 2.6s infinite;
}
.page-head .container { display: block; }
.page-head h1 { position: relative; z-index: 2; display: inline; font-size: 36px; font-weight: 700; color: #fff; letter-spacing: .15em; }
.page-head p { position: relative; z-index: 2; display: inline; margin-left: 18px; color: rgba(255,255,255,0.85); font-size: 15px; }

/* 旧随机光点方案已移除：现采用背景图光点图层 + dotReveal 逐步点亮动画 */

/* ---------- 简介区（左标题右文） ---------- */
.profile { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; }
.profile-title h3 { font-size: 22px; font-weight: 700; color: var(--navy); letter-spacing: .1em; padding-top: 6px; }
.profile-body p { margin-bottom: 18px; text-align: justify; }
.profile-more { margin-top: 28px; }

/* ---------- 投研团队 ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.team-card { text-align: center; padding: 28px 30px; background: #fff; border-top: 3px solid var(--blue); border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.team-header { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.team-header h3 { font-size: 20px; font-weight: 700; color: var(--navy); letter-spacing: .05em; margin-bottom: 6px; }
.team-role { font-size: 13px; font-weight: 500; color: var(--gray); }
.team-list { list-style: none; }
.team-list li { font-size: 13px; color: var(--gray); line-height: 1.8; margin-bottom: 6px; }
.team-list li:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-card { padding: 22px; }
}

/* ---------- 数据带 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 8px 12px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat .num { font-size: 40px; font-weight: 600; color: var(--blue); line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat .num small { font-size: 20px; font-weight: 500; }
.stat .label { margin-top: 10px; font-size: 14px; color: var(--gray); }

/* ---------- 三栏 / 四栏文字卡（细边框，无阴影） ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.col-card { border: 1px solid var(--line); padding: 36px 30px; background: #fff; transition: border-color .2s; }
.col-card:hover { border-color: var(--blue); }
.col-card h3 { font-size: 18px; font-weight: 600; color: var(--navy); margin-bottom: 14px; letter-spacing: .04em; }
.col-card p { font-size: 14px; color: var(--gray); line-height: 1.9; }
.col-card p + p { margin-top: 14px; }

/* 文化词卡（使命/愿景/价值观） */
.word-card { text-align: center; padding: 20px 12px; border-top: 3px solid var(--blue); background: #fff; border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.word-card h3 { font-size: 20px; font-weight: 700; color: var(--navy); letter-spacing: .2em; margin-bottom: 12px; }
.word-card p { font-size: 13.5px; color: var(--gray); }

/* ---------- 表格（策略矩阵等专业数据） ---------- */
.data-table { width: 100%; border-collapse: collapse; background: #fff; }
.data-table th {
  background: var(--navy); color: #fff; font-weight: 500; font-size: 14px;
  padding: 14px 18px; text-align: left; letter-spacing: .08em;
}
.data-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.data-table tr:hover td { background: #fafbfd; }
.data-table td:first-child { font-weight: 600; color: var(--navy); white-space: nowrap; }
.data-table .risk-high { color: var(--red); }
.data-table .risk-mid { color: var(--blue); }

/* ---------- 时间轴 ---------- */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 44px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -34px; top: 8px; width: 9px; height: 9px;
  border-radius: 50%; background: #fff; border: 2px solid var(--blue);
}
.tl-year { font-size: 20px; font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.tl-item h4 { font-size: 16.5px; font-weight: 600; color: var(--navy); margin: 6px 0 8px; }
.tl-item p { font-size: 14px; color: var(--gray); max-width: 620px; }

/* ---------- 文章列表（行式，无卡片） ---------- */
.article-list { border-top: 1px solid var(--line); }
.article-item { display: flex; align-items: baseline; gap: 32px; padding: 26px 8px; border-bottom: 1px solid var(--line); transition: background .2s; }
.article-item:hover { background: #fafbfd; }
.article-date { flex-shrink: 0; width: 100px; font-size: 14px; color: var(--light); font-variant-numeric: tabular-nums; }
.article-body h3 { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 6px; transition: color .2s; }
.article-item:hover .article-body h3 { color: var(--blue); }
.article-body p { font-size: 13.5px; color: var(--gray); }
.article-cat { flex-shrink: 0; font-size: 12.5px; color: var(--blue); border: 1px solid currentColor; padding: 2px 10px; border-radius: 2px; white-space: nowrap; }

/* 分类标签 */
.cat-tabs { display: flex; justify-content: center; gap: 0; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.cat-tabs a { padding: 12px 28px; font-size: 14.5px; color: var(--gray); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.cat-tabs a.active, .cat-tabs a:hover { color: var(--blue); border-bottom-color: var(--blue); }

/* ---------- 岗位折叠（原生 details） ---------- */
.job { border: 1px solid var(--line); background: #fff; margin-bottom: 16px; }
.job summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 28px; cursor: pointer; list-style: none; user-select: none;
}
.job summary::-webkit-details-marker { display: none; }
.job summary h3 { font-size: 17px; font-weight: 600; color: var(--navy); }
.job-tags { display: flex; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.job-tags span { font-size: 12.5px; color: var(--gray); background: var(--bg); padding: 2px 10px; border-radius: 2px; }
.job .arrow { font-size: 13px; color: var(--light); transition: transform .25s; flex-shrink: 0; }
.job[open] .arrow { transform: rotate(90deg); }
.job-detail { padding: 4px 28px 28px; border-top: 1px solid var(--line); }
.job-detail h4 { font-size: 14.5px; color: var(--navy); font-weight: 600; margin: 22px 0 10px; }
.job-detail li { font-size: 14px; color: var(--gray); padding-left: 18px; position: relative; margin-bottom: 6px; }
.job-detail li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 5px; height: 5px; background: var(--blue); }

/* ---------- 招聘 Banner ---------- */
.join-banner { background: var(--navy); color: #fff; text-align: center; padding: 84px 0; }
.join-banner h2 { font-size: 32px; font-weight: 700; letter-spacing: .12em; }
.join-banner .en { font-size: 14px; letter-spacing: .4em; color: rgba(255,255,255,.5); margin-top: 10px; text-transform: uppercase; }
.join-banner p { margin-top: 18px; color: rgba(255,255,255,.75); font-size: 15px; }
.join-banner .btn { margin-top: 32px; }

/* ---------- 风险提示 ---------- */
.risk-note { border: 1px solid #f0d9d5; background: #fdf7f6; padding: 32px 36px; }
.risk-note h3 { font-size: 16px; color: var(--red); font-weight: 600; margin-bottom: 16px; letter-spacing: .06em; }
.risk-note li { font-size: 13.5px; color: #8a5a52; padding-left: 18px; position: relative; margin-bottom: 8px; line-height: 1.9; }
.risk-note li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 5px; height: 5px; background: var(--red); }
.risk-note-sm { padding: 18px 22px; background: rgba(253,247,246,.6); }
.risk-note-sm h3 { font-size: 13px; margin-bottom: 8px; }
.risk-note-sm li { font-size: 11.5px; line-height: 1.7; margin-bottom: 4px; padding-left: 14px; }
.risk-note-sm li::before { top: 9px; width: 4px; height: 4px; }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; padding: 64px 0 48px; }
.footer-col h4 { font-size: 14.5px; color: var(--navy); font-weight: 600; margin-bottom: 18px; letter-spacing: .1em; }
.footer-col li { margin-bottom: 10px; }
.footer-col a, .footer-col span { font-size: 13.5px; color: var(--gray); }
.footer-col a:hover { color: var(--blue); }
.footer-disclaimer { border-top: 1px solid var(--line); padding: 22px 0 30px; font-size: 12.5px; color: var(--light); line-height: 2; }

/* ---------- 页尾底部：版权 + ICP 备案号 ---------- */
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px 24px;
  border-top: 1px solid var(--line);
  padding: 18px 0 28px;
  font-size: 12.5px; color: var(--light); line-height: 1.8;
}
.footer-bottom p { margin: 0; }
.footer-icp a { color: var(--light); transition: color .2s; }
.footer-icp a:hover { color: var(--blue); }

/* ---------- 合格投资者弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  background: rgba(22,48,94,.55); opacity: 0; pointer-events: none; transition: opacity .25s; padding: 20px;
}
.modal-mask.open { opacity: 1; pointer-events: auto; }
.modal-box {
  background: #fff; width: 100%; max-width: 640px; max-height: 88vh; overflow-y: auto;
  padding: 48px 52px; border-top: 3px solid var(--blue);
}
.modal-box h2 { font-size: 22px; color: var(--navy); text-align: center; font-weight: 700; letter-spacing: .1em; margin-bottom: 26px; }
.modal-box .modal-text p { font-size: 13.5px; color: var(--gray); margin-bottom: 12px; text-align: justify; }
.modal-btns { display: flex; gap: 16px; margin-top: 32px; }
.modal-btns .btn { flex: 1; text-align: center; }
.modal-tip { font-size: 12px; color: var(--light); text-align: center; margin-top: 18px; }

/* ---------- 通用 ---------- */
.text-blue { color: var(--blue); }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.lead { font-size: 16px; line-height: 2; text-align: justify; }
.divider { height: 1px; background: var(--line); }

/* 联系页信息表 */
.contact-rows { border-top: 1px solid var(--line); }
.contact-row { display: grid; grid-template-columns: 160px 1fr; border-bottom: 1px solid var(--line); }
.contact-row dt { padding: 22px 24px; font-size: 14.5px; color: var(--navy); font-weight: 600; background: var(--bg); }
.contact-row dd { padding: 22px 24px; font-size: 14.5px; color: var(--gray); }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.contact-card { padding: 24px 28px; background: #fff; border-top: 3px solid var(--blue); border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-card--address { display: grid; grid-template-columns: 1fr 200px; gap: 20px; align-items: center; }
.contact-info { min-width: 0; }
.contact-label { font-size: 12.5px; font-weight: 600; color: var(--blue); letter-spacing: .15em; margin-bottom: 10px; }
.contact-value { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 6px; line-height: 1.5; word-break: break-all; }
.contact-meta { font-size: 12.5px; color: var(--gray); line-height: 1.7; }
.contact-thumb img { display: block; width: 100%; height: 130px; object-fit: cover; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 26px; }
  .nav-links a { font-size: 14px; }
}

@media (max-width: 960px) {
  .container { padding: 0 20px; }
  .nav-links, .nav-side { display: none; }
  .menu-btn { display: block; }
  .header-inner { height: 64px; }
  .mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
  .mobile-nav.open { display: block; }
  .mobile-nav a { display: block; padding: 14px 20px; font-size: 15px; color: var(--ink); border-bottom: 1px solid #f2f3f5; }
  .mobile-nav a.active { color: var(--blue); }

  .hero { padding: 118px 0 102px; }
  .hero h1 { font-size: 32px; color: #fff; }
  .hero .hero-sub { color: rgba(255,255,255,0.82); }
  .page-head { padding: 125px 0 105px; }
  .page-head h1 { font-size: 28px; }
  .profile { grid-template-columns: 1fr; gap: 24px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-left: none; border-top: 1px solid var(--line); padding: 22px 0; }
  .stat:nth-child(-n+2) { border-top: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  section.block { padding: 56px 0; }
  .sec-head { margin-bottom: 36px; }
  .sec-head h2 { font-size: 23px; }
  .cat-tabs { overflow-x: auto; justify-content: flex-start; }
  .cat-tabs a { white-space: nowrap; padding: 12px 18px; }
  .article-item { flex-wrap: wrap; gap: 10px; }
  .article-date { width: auto; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; padding: 44px 0 36px; }
  .modal-box { padding: 32px 24px; }
  .data-table { display: block; overflow-x: auto; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card--address { grid-template-columns: 1fr; }
  .contact-thumb img { height: 160px; }
  .contact-row { grid-template-columns: 1fr; }
  .join-banner { padding: 56px 0; }
}
