/* 上风私募基金 · 新站设计体系
   色板（取自 logo）：主蓝 #0E3793 / 深蓝 #002888 / 灰 #6D6E6E / 浅蓝 #EAF0FB / 白 */
:root {
  --primary: #0E3793;
  --primary-dark: #002888;
  --primary-deep: #061F63;
  --grey: #6D6E6E;
  --grey-light: #A8A8A8;
  --bg-light: #EAF0FB;
  --bg-soft: #F5F8FD;
  --white: #FFFFFF;
  --serif: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --sans: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(14, 55, 147, 0.08);
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: #2b2b2b;
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(14, 55, 147, 0.08);
  box-shadow: 0 2px 12px rgba(0, 40, 136, 0.05);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; }
.brand-name {
  font-family: var(--serif);
  font-size: 20px; font-weight: 700; color: var(--primary);
  letter-spacing: 2px;
  line-height: 1.2;
}
.brand-name small {
  display: block;
  font-family: var(--sans);
  font-size: 10px; font-weight: 400; color: var(--grey-light);
  letter-spacing: 1.5px;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: block; padding: 10px 18px;
  font-size: 15px; color: #333;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.nav-link:hover, .nav-item.active > .nav-link { color: var(--primary); background: var(--bg-light); }
.nav-link .caret { font-size: 10px; margin-left: 4px; color: var(--grey-light); }

.nav-dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 160px; padding: 8px 0;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid rgba(14, 55, 147, 0.08);
  opacity: 0; visibility: hidden; transition: all .2s;
}
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; }
.nav-dropdown a {
  display: block; padding: 9px 20px; font-size: 14px; color: #444;
}
.nav-dropdown a:hover { color: var(--primary); background: var(--bg-light); }

.nav-login {
  margin-left: 16px; padding: 9px 22px;
  background: var(--primary); color: var(--white);
  border-radius: 20px; font-size: 14px;
  transition: background .2s;
}
.nav-login:hover { background: var(--primary-dark); }

.menu-toggle { display: none; font-size: 24px; background: none; border: none; color: var(--primary); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 55%, #1e4fb8 100%);
  color: var(--white);
  padding: 96px 0 120px;
  overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; right: -120px; top: -80px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.14), transparent 65%);
}
.hero::before {
  content: ''; position: absolute; left: -80px; bottom: -160px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.10), transparent 65%);
}
.hero .container { position: relative; z-index: 1; }
.hero-title {
  font-family: var(--serif);
  font-size: 44px; font-weight: 700; line-height: 1.35;
  letter-spacing: 3px; max-width: 640px;
}
.hero-sub {
  margin-top: 20px; font-size: 17px; color: rgba(255,255,255,.85);
  max-width: 600px; line-height: 1.9;
}
.hero-cta { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 34px; border-radius: 26px;
  font-size: 15px; font-weight: 500; transition: all .2s;
}
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--bg-light); }
.btn-ghost { border: 1px solid rgba(255,255,255,.5); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); }

/* ---------- 数据指标条 ---------- */
.stats-bar { margin-top: -56px; position: relative; z-index: 2; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(14,55,147,.06);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.stat {
  background: var(--white); text-align: center; padding: 30px 12px;
}
.stat-num {
  font-family: var(--serif); font-size: 34px; font-weight: 700; color: var(--primary);
}
.stat-num span { font-size: 16px; margin-left: 2px; }
.stat-label { margin-top: 6px; font-size: 13px; color: var(--grey); }

/* ---------- 通用区块 ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; margin-bottom: 52px; }
.section-title {
  font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--primary);
  letter-spacing: 2px;
}
.section-sub { margin-top: 10px; font-size: 14px; color: var(--grey-light); letter-spacing: 1px; }
.section-head::after {
  content: ''; display: block; width: 46px; height: 3px;
  background: var(--primary); margin: 18px auto 0; border-radius: 2px;
}

/* 卡片 */
.card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid rgba(14,55,147,.06);
  padding: 30px; transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(14,55,147,.14); }
.card-title { font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.card-text { font-size: 14px; color: #555; line-height: 1.9; }

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

/* ---------- 团队 ---------- */
.team-card { text-align: center; }
.team-avatar {
  width: 110px; height: 110px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 16px; border: 3px solid var(--bg-light);
}
.team-name { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--primary); }
.team-role { font-size: 13px; color: var(--grey); margin: 4px 0 14px; letter-spacing: 1px; }
.team-bio { font-size: 13.5px; color: #555; line-height: 1.85; text-align: left; }

/* ---------- 荣誉 ---------- */
.honor-item {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 26px; margin-bottom: 16px;
  background: var(--white); border-radius: var(--radius);
  border: 1px solid rgba(14,55,147,.08);
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.honor-item:hover { transform: translateX(6px); }
.honor-icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  background: var(--bg-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.honor-text { font-size: 15px; color: #333; }

/* ---------- 文章列表 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { overflow: hidden; padding: 0; }
.news-card .news-body { padding: 22px 24px 26px; }
.news-date { font-size: 12px; color: var(--grey-light); letter-spacing: 1px; }
.news-title {
  font-family: var(--serif); font-size: 17px; font-weight: 700; color: #222;
  margin: 8px 0 10px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-title:hover { color: var(--primary); }
.news-summary { font-size: 13.5px; color: #666; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-more { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--primary); }

/* ---------- 文章详情 ---------- */
.article { max-width: 820px; margin: 0 auto; }
.article h1 { font-family: var(--serif); font-size: 30px; color: var(--primary); margin-bottom: 12px; }
.article-meta { font-size: 13px; color: var(--grey-light); margin-bottom: 34px; padding-bottom: 20px; border-bottom: 1px solid rgba(14,55,147,.08); }
.article-body { font-size: 15.5px; color: #333; line-height: 2; }
.article-body p { margin-bottom: 1.2em; }
.article-body img { margin: 1.2em auto; border-radius: 8px; }

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-bottom: 1px dashed rgba(14,55,147,.15); }
.contact-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--bg-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-label { font-size: 12px; color: var(--grey-light); letter-spacing: 1px; }
.contact-value { font-size: 16px; color: #333; margin-top: 2px; }
.contact-value a { color: var(--primary); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--primary-deep); color: rgba(255,255,255,.75); padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { height: 46px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 13px; line-height: 1.9; max-width: 380px; }
.footer-title { color: var(--white); font-size: 15px; margin-bottom: 16px; font-weight: 600; }
.footer-links a { display: block; font-size: 13px; padding: 4px 0; color: rgba(255,255,255,.7); }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; text-align: center; font-size: 12px; color: rgba(255,255,255,.55); }
.footer-bottom a { color: rgba(255,255,255,.7); }

/* ---------- 合规弹窗 ---------- */
.gate-mask {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0, 20, 60, .78);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.gate-box {
  background: var(--white); border-radius: 14px; max-width: 640px; width: 100%;
  max-height: 84vh; overflow-y: auto; padding: 44px 46px;
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
}
.gate-box h2 { font-family: var(--serif); text-align: center; font-size: 24px; color: var(--primary); margin-bottom: 22px; letter-spacing: 2px; }
.gate-box .gate-body { font-size: 13.5px; color: #444; line-height: 1.9; }
.gate-box .gate-body h4 { color: var(--primary); margin: 14px 0 6px; font-size: 14px; }
.gate-box .gate-body ul { padding-left: 20px; }
.gate-actions { display: flex; gap: 16px; justify-content: center; margin-top: 30px; }
.gate-accept { background: var(--primary); color: var(--white); }
.gate-accept:hover { background: var(--primary-dark); }
.gate-decline { background: #e9e9e9; color: #666; }
.gate-decline:hover { background: #ddd; }
.hidden { display: none !important; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .header-inner { height: 64px; }
  .menu-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 12px 20px 20px;
    border-bottom: 1px solid rgba(14,55,147,.1); box-shadow: 0 10px 24px rgba(0,40,136,.08);
  }
  .main-nav.open { display: flex; }
  .nav-dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; padding: 0 0 0 16px; border: none; }
  .nav-login { margin: 12px 0 0; text-align: center; }
  .grid-3, .news-grid { grid-template-columns: 1fr; }
  .grid-2, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 64px 0 90px; }
  .hero-title { font-size: 30px; }
  .section { padding: 56px 0; }
}
