/* PC 网站样式 */
body.site {
  background: #fff;
}

/* ---------- 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}

.site-header .wrap {
  height: 66px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2f6bff, #0f3fd6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 14px rgba(30, 94, 255, 0.28);
}

.brand small {
  display: block;
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-top: -2px;
}

.site-nav {
  display: flex;
  gap: 26px;
  flex: 1;
}

.site-nav a {
  color: var(--ink-2);
  font-size: 14px;
  padding: 6px 0;
  position: relative;
}

.site-nav a:hover,
.site-nav a.on {
  color: var(--ink);
}

.site-nav a.on:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  color: var(--ink);
}

.user-chip:hover {
  border-color: #cfd8e8;
  background: #fbfcff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 78% -10%, #dfe9ff 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(700px 380px at 8% 0%, #eaf1ff 0%, rgba(255, 255, 255, 0) 55%),
    #fff;
  border-bottom: 1px solid var(--line-2);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 84px;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.16;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #1e5eff, #6b46e5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 20px;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--ink-2);
  max-width: 520px;
}

.hero-slogan {
  margin-top: 18px;
  font-size: 14px;
  color: var(--brand);
  background: var(--brand-soft);
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
}

.hero-cta {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-badges {
  margin-top: 34px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-badges span {
  font-size: 12.5px;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.7);
}

.hero-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-2);
  padding: 22px;
}

.hero-panel h3 {
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-stat {
  background: #f8faff;
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
  border: 1px solid #eef2fb;
}

.hero-stat b {
  display: block;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero-stat span {
  font-size: 12px;
  color: var(--ink-3);
}

.hero-live {
  margin-top: 16px;
  border-top: 1px dashed var(--line);
  padding-top: 14px;
}

.hero-live-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  font-size: 13.5px;
  color: var(--ink-2);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px var(--ok-soft);
  flex: 0 0 auto;
}

/* ---------- 通用卡片网格 ---------- */
.grid {
  display: grid;
  gap: 16px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.item-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  transition: 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
}

.item-card:hover {
  border-color: #cddcff;
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}

.item-card .title {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.item-card .desc {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.item-card .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: auto;
  padding-top: 4px;
}

.card-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price {
  color: #d9480f;
  font-weight: 700;
  font-size: 15px;
}

/* ---------- 流程 ---------- */
.path-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.path-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
}

.path-card .num {
  font-size: 40px;
  font-weight: 800;
  color: #eef3ff;
  line-height: 1;
  letter-spacing: -0.04em;
}

.path-card h4 {
  font-size: 15.5px;
  margin: 8px 0 6px;
}

.path-card p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.75;
}

/* ---------- 筛选条 ---------- */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.seg {
  display: inline-flex;
  background: #f2f5fa;
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}

.seg button {
  border: 0;
  background: transparent;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
  font-weight: 500;
}

.seg button.on {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-1);
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 300px;
}

.search-box input {
  padding-left: 34px;
}

.search-box:before {
  content: "⌕";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-52%);
  color: var(--ink-4);
  font-size: 16px;
}

/* ---------- 动态列表 ---------- */
.post-row {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-2);
  cursor: pointer;
}

.post-row:last-child {
  border-bottom: 0;
}

.post-row:hover .post-title {
  color: var(--brand);
}

.post-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  transition: 0.16s;
}

.post-body {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-foot {
  display: flex;
  gap: 14px;
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 8px;
}

/* ---------- 政策 / 资讯 ---------- */
.list-tight > li {
  list-style: none;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
  display: flex;
  gap: 12px;
  align-items: baseline;
  cursor: pointer;
}

.list-tight > li:last-child {
  border-bottom: 0;
}

.list-tight > li:hover .li-title {
  color: var(--brand);
}

.li-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  transition: 0.16s;
}

.li-meta {
  font-size: 12px;
  color: var(--ink-3);
  white-space: nowrap;
  margin-left: auto;
}

.tabs-head {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}

.tabs-head button {
  border: 0;
  background: transparent;
  padding: 0 0 10px;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
  position: relative;
}

.tabs-head button.on {
  color: var(--ink);
  font-weight: 600;
}

.tabs-head button.on:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

/* ---------- 服务 / 伙伴 ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  background: linear-gradient(180deg, #fbfcff, #fff);
}

.service-card h4 {
  font-size: 14.5px;
  margin-bottom: 7px;
}

.service-card p {
  font-size: 12.8px;
  color: var(--ink-2);
  line-height: 1.75;
}

.partner-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.partner-strip span {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 16px;
  font-size: 13px;
  color: var(--ink-2);
  background: #fff;
}

/* ---------- CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, #14307a, #1e5eff 55%, #4b7bff);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 46px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-size: 28px;
  letter-spacing: -0.02em;
}

.cta-band p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14.5px;
}

.cta-band .btn {
  background: #fff;
  color: var(--brand);
  border-color: #fff;
  font-weight: 600;
}

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: #fbfcfe;
  margin-top: 20px;
  padding: 46px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr;
  gap: 32px;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 6px 14px;
  }
}

.footer-grid h5 {
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 12px;
  font-weight: 600;
}

.footer-grid a,
.footer-grid span,
.footer-grid p {
  display: block;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 2;
  margin: 0;
}

.footer-grid a:hover {
  color: var(--brand);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ink-3);
  flex-wrap: wrap;
}

/* ---------- 弹窗内排版 ---------- */
.detail-head h2 {
  font-size: 21px;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.detail-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0 18px;
}

.kv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background: #f8faff;
  border: 1px solid #eef2fb;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

.kv-item span {
  font-size: 12px;
  color: var(--ink-3);
  display: block;
}

.kv-item b {
  font-size: 14px;
  font-weight: 600;
}

.prose {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-2);
  white-space: pre-wrap;
  word-break: break-word;
}

.prose-block {
  margin: 18px 0;
}

.prose-block h4 {
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 8px;
}

.bullet {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bullet li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.9;
}

.bullet li:before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-soft-2);
}

.comment-item {
  display: flex;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.comment-item .name {
  font-size: 13px;
  font-weight: 600;
}

.comment-item .text {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.75;
}

.comment-item .time {
  font-size: 11.5px;
  color: var(--ink-4);
}

.course-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.course-line:last-child {
  border-bottom: 0;
}

.seat-bar {
  height: 5px;
  border-radius: 4px;
  background: #eef2f8;
  overflow: hidden;
  margin-top: 8px;
}

.seat-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #1e5eff, #6b46e5);
  border-radius: 4px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 52px;
    padding-bottom: 56px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .grid-4,
  .path-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-nav {
    display: none;
  }
}

@media (max-width: 720px) {
  .grid-3,
  .grid-2,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 40px 0;
  }
  .hero h1 {
    font-size: 32px;
  }
  .cta-band {
    padding: 28px 22px;
  }
  .foot-note-hide {
    display: none;
  }
}

/* ================= 视觉精修层 · PC 端（UI Polish v2） ================= */

/* 导航：下划线滑动动画 */
.site-nav a {
  transition: color 0.16s ease;
}

.site-nav a:after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -4px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #2f6bff, #6b46e5);
  transition: left 0.22s ease, right 0.22s ease;
}

.site-nav a:hover:after,
.site-nav a.on:after {
  left: 0;
  right: 0;
}

.site-nav a:hover {
  color: var(--ink);
}

/* Hero：网格纹理 + 第三光斑，第一屏质感升级 */
.hero {
  background:
    radial-gradient(900px 420px at 78% -10%, #dfe9ff 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(700px 380px at 8% 0%, #eaf1ff 0%, rgba(255, 255, 255, 0) 55%),
    radial-gradient(520px 300px at 92% 88%, rgba(107, 70, 229, 0.08) 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(rgba(37, 99, 235, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.028) 1px, transparent 1px),
    #fff;
  background-size: auto, auto, auto, 44px 44px, 44px 44px, auto;
}

.hero h1 em {
  background: linear-gradient(120deg, #1e5eff 10%, #7c4df0 60%, #a855f7 100%);
}

/* slogan 胶囊：渐变描边 + 呼吸点 */
.hero-slogan {
  position: relative;
  padding-left: 26px;
  background: linear-gradient(90deg, var(--brand-soft), #f5f0ff);
  border: 1px solid var(--brand-soft-2);
}

.hero-slogan::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(30, 94, 255, 0.4);
  animation: pulse-dot 2s ease-out infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(30, 94, 255, 0.35); }
  70% { box-shadow: 0 0 0 7px rgba(30, 94, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(30, 94, 255, 0); }
}

/* Hero 数据面板：渐变描边 + 悬浮光晕 */
.hero-panel {
  position: relative;
  border: 1px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(150deg, #cfe0ff, #f0e9ff 55%, #e4ecff) border-box;
  box-shadow: 0 18px 44px rgba(30, 94, 255, 0.1);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.hero-panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 54px rgba(30, 94, 255, 0.16);
}

.hero-stat b {
  background: linear-gradient(135deg, #1e5eff, #6b46e5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 24px;
}

/* 徽章胶囊 hover */
.hero-badges span {
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.hero-badges span:hover {
  border-color: var(--brand-soft-2);
  background: var(--brand-soft);
  color: var(--brand);
}

/* 深色 Footer：收尾质感 */
.site-footer {
  background: linear-gradient(180deg, #101828 0%, #0b1120 100%);
  border-top: none;
}

.site-footer .footer-grid h5 {
  color: #f1f5f9;
}

.site-footer .footer-grid a,
.site-footer .footer-grid span,
.site-footer .footer-grid p {
  color: #94a3b8;
}

.site-footer .footer-grid a:hover {
  color: #e2e8f0;
}

.site-footer .brand {
  color: #f8fafc;
}

.site-footer .brand small {
  color: #7c8aa5;
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  color: #64748b;
}

.site-footer .footer-bottom a {
  color: #94a3b8;
}

.site-footer .footer-bottom a:hover {
  color: #e2e8f0;
}

/* tabs 胶囊化：选中项实底 */
.tabs-head button {
  border-radius: 999px;
  transition: all 0.18s ease;
}

/* CTA 带渐变强化 */
.cta-band {
  background: linear-gradient(120deg, #1e5eff 0%, #5b3ce0 70%, #7c4df0 100%);
}

/* 资源列表行 hover 滑动 */
.list-tight > li {
  border-radius: 10px;
  padding: 8px 10px;
  margin: 0 -10px;
  transition: background 0.15s ease;
}

.list-tight > li:hover {
  background: #f6f9ff;
}

/* 首页资源中心入口卡 */
.res-entry {
  display: block;
  text-decoration: none;
  color: inherit;
}

.res-entry .res-ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(150deg, #f2f6ff, #f5f0ff);
  border: 1px solid #e6ecff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}

.res-entry h4 {
  margin: 0 0 6px;
  font-size: 15.5px;
}

.res-entry p {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.7;
}

.res-entry .res-more {
  font-size: 12.5px;
  color: var(--brand);
  font-weight: 500;
}

/* ===== 备案区（公安备案图标 + 主体行） ===== */
.beian-mps {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
}

.beian-mps img {
  display: block;
}

.footer-entity-line {
  display: block;
  font-size: 12px;
  color: inherit;
  opacity: 0.85;
  line-height: 1.8;
}

/* ===== 永安信基金展示区 ===== */
.fund-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.fund-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 20px 16px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.fund-card:hover {
  transform: translateY(-3px);
  border-color: rgba(157, 180, 255, 0.45);
}

.fund-ic {
  font-size: 22px;
  margin-bottom: 4px;
}

.fund-card b {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.fund-card b i {
  font-style: normal;
  font-size: 15px;
  font-weight: 500;
  color: #9db4ff;
  margin-left: 2px;
}

.fund-card > span:last-child {
  font-size: 12.5px;
  color: #aab6d5;
}

@media (max-width: 860px) {
  .fund-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
