/* ============================================================
   朱俊腾 · 财富顾问 个人品牌站
   设计系统：深蓝主色 + 金色点缀 + 红涨绿跌（A股惯例）
   ============================================================ */

:root {
  --navy: #0b1f3a;
  --navy-2: #14315c;
  --navy-3: #1d3f73;
  --gold: #c9a227;
  --gold-2: #e3c45a;
  --bg: #f5f7fa;
  --surface: #ffffff;
  --text: #1a2436;
  --muted: #5d6b82;
  --up: #e23b3b;     /* 涨 · 红 */
  --down: #16a34a;   /* 跌 · 绿 */
  --border: #e3e8ef;
  --shadow: 0 6px 24px rgba(11, 31, 58, .08);
  --shadow-lg: 0 14px 40px rgba(11, 31, 58, .14);
  --radius: 14px;
  --radius-sm: 10px;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", Georgia, "Times New Roman", serif;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------------- Header / Nav ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 31, 58, .92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  letter-spacing: .5px;
}
.brand span {
  color: var(--gold-2);
  font-weight: 600;
  font-size: 15px;
  margin-left: 4px;
}
.brand .b-name {
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  margin-left: 0;
}
.nav-links {
  display: flex;
  gap: 26px;
}
.nav-links a {
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold-2); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold-2);
  border-radius: 2px;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(201,162,39,.18), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 70% 20%, #000, transparent 70%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  padding: 76px 20px 84px;
}
.hero .eyebrow {
  display: inline-block;
  color: var(--gold-2);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 18px;
  border: 1px solid rgba(227,196,90,.4);
  padding: 5px 14px;
  border-radius: 999px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.4vw, 46px);
  line-height: 1.35;
  margin: 0 0 18px;
  max-width: 880px;
  font-weight: 700;
}
.hero h1 b { color: var(--gold-2); }
.hero p.lead {
  font-size: clamp(15px, 1.6vw, 19px);
  color: rgba(255,255,255,.85);
  max-width: 680px;
  margin: 0 0 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #2a2206;
  box-shadow: 0 8px 22px rgba(201,162,39,.35);
}
.btn-ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.25);
}
.btn-ghost:hover { background: rgba(255,255,255,.16); }

/* ---------------- Sections ---------------- */
.section { padding: 64px 0; }
.section.alt { background: #eef2f7; }
.section-head { margin-bottom: 36px; }
.section-head .kicker {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 13px;
}
.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 34px);
  margin: 8px 0 6px;
  color: var(--navy);
}
.section-head p { color: var(--muted); margin: 0; max-width: 720px; }

/* ---------------- Cards ---------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------------- Intro / About card ---------------- */
.intro-grid { align-items: stretch; }
.intro-main h3 { color: var(--navy); margin-top: 0; font-size: 22px; }
.intro-main ul.timeline {
  list-style: none;
  padding: 0; margin: 14px 0 0;
}
.intro-main ul.timeline li {
  position: relative;
  padding: 0 0 16px 26px;
  border-left: 2px solid var(--border);
}
.intro-main ul.timeline li::before {
  content: "";
  position: absolute; left: -7px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--gold);
}
.intro-main ul.timeline li b { color: var(--navy); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag {
  background: #eef2f7;
  color: var(--navy-3);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}

.trust-list { list-style: none; padding: 0; margin: 0; }
.trust-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
}
.trust-list li:last-child { border-bottom: none; }
.trust-list .ico {
  width: 38px; height: 38px; flex: 0 0 38px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  color: var(--gold-2);
  border-radius: 10px; font-weight: 700; font-size: 15px;
}
.trust-list b { display: block; color: var(--navy); }
.trust-list small { color: var(--muted); }

/* ---------------- Stat strip ---------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  text-align: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  border-radius: var(--radius);
  padding: 26px 16px;
  box-shadow: var(--shadow);
}
.stat .num {
  font-family: var(--font-serif);
  font-size: 34px; font-weight: 700;
  color: var(--gold-2);
}
.stat .lbl { color: rgba(255,255,255,.8); font-size: 14px; margin-top: 4px; }

/* ---------------- Market dashboard ---------------- */
.market-wrap { display: grid; gap: 22px; }
.index-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.index-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.index-card .name { font-size: 14px; color: var(--muted); }
.index-card .code { font-size: 12px; color: #9aa6ba; }
.index-card .val {
  font-family: var(--font-serif);
  font-size: 28px; font-weight: 700;
  margin: 8px 0 2px;
}
.index-card .chg { font-size: 15px; font-weight: 600; }
.index-card .bar {
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
}
.up { color: var(--up); }
.down { color: var(--down); }
.flat { color: var(--muted); }
.bar.up { background: var(--up); }
.bar.down { background: var(--down); }
.bar.flat { background: var(--muted); }

/* 全球市场速览 */
.global-grid {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px;
}
.global-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  text-align: center;
  box-shadow: var(--shadow);
}
.global-card .g-name { font-size: 12px; color: var(--muted); white-space: nowrap; }
.global-card .g-val { font-family: var(--font-serif); font-size: 18px; font-weight: 700; margin: 4px 0 2px; white-space: nowrap; }
.global-card .g-chg { font-size: 13px; font-weight: 600; }

.boards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.board-card h4 { margin: 0 0 12px; color: var(--navy); font-size: 17px; }
.board-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 0; border-bottom: 1px dashed var(--border);
}
.board-row:last-child { border-bottom: none; }
.board-row .bname { color: var(--text); font-weight: 500; }
.board-row .bpct { font-weight: 700; font-variant-numeric: tabular-nums; }

.sentiment { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.senti-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 18px; box-shadow: var(--shadow);
  text-align: center;
}
.senti-card .v { font-size: 24px; font-weight: 700; font-family: var(--font-serif); color: var(--navy); }
.senti-card .k { color: var(--muted); font-size: 13px; margin-top: 4px; }
.senti-card .v small { font-size: 13px; color: var(--muted); font-weight: 500; }

.comment-box {
  background: linear-gradient(135deg, #fffdf5, #fff);
  border: 1px solid #f0e6c2;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.comment-box .meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.comment-box .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  color: var(--gold-2); display: grid; place-items: center; font-weight: 800;
}
.comment-box .who b { color: var(--navy); display: block; }
.comment-box .who small { color: var(--muted); }
.comment-box .text { font-size: 16px; color: #2a3346; line-height: 1.8; }
.comment-box .date { color: var(--gold); font-size: 13px; margin-top: 10px; }

.calendar-list { list-style: none; padding: 0; margin: 0; }
.calendar-list li {
  display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--border);
}
.calendar-list .day {
  flex: 0 0 64px; text-align: center;
  background: #eef2f7; border-radius: 8px; padding: 8px 0;
}
.calendar-list .day b { display: block; color: var(--navy); font-size: 18px; }
.calendar-list .day small { color: var(--muted); }
.calendar-list .ev b { color: var(--text); }
.calendar-list .ev span { color: var(--muted); font-size: 14px; }

.refresh-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; flex-wrap: wrap; gap: 10px;
}
.refresh-bar .status { color: var(--muted); font-size: 13px; }
.refresh-bar .status .dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--down); margin-right: 6px;
}
.refresh-bar .status.live .dot { background: var(--up); }

.market-note {
  background: #fff8e8; border: 1px solid #f2e2b8; border-radius: var(--radius-sm);
  padding: 14px 16px; color: #7a5e16; font-size: 13px; margin-top: 18px;
}

/* ---------------- Content center ---------------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.video-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .2s;
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.video-thumb {
  position: relative; aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  display: grid; place-items: center; color: #fff;
}
.video-thumb .play {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,.18); display: grid; place-items: center;
  font-size: 22px;
}
.video-thumb .plat {
  position: absolute; top: 10px; left: 10px;
  background: rgba(0,0,0,.55); color: #fff; font-size: 12px;
  padding: 3px 10px; border-radius: 999px;
}
.video-card .body { padding: 16px; }
.video-card .body h4 { margin: 0 0 6px; color: var(--navy); font-size: 16px; }
.video-card .body p { margin: 0; color: var(--muted); font-size: 13px; }
.video-card .body a.more { color: var(--gold); font-weight: 600; font-size: 13px; display: inline-block; margin-top: 10px; }

.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.article-card {
  display: flex; gap: 16px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow);
}
.article-card .cover {
  flex: 0 0 120px; height: 86px; border-radius: 8px;
  background: linear-gradient(135deg, var(--navy-2), var(--navy-3));
  color: var(--gold-2); display: grid; place-items: center; font-size: 12px;
  text-align: center; padding: 6px;
}
.article-card .info h4 { margin: 0 0 6px; color: var(--navy); font-size: 16px; }
.article-card .info p { margin: 0; color: var(--muted); font-size: 13px; }
.article-card .info .cat { color: var(--gold); font-size: 12px; font-weight: 600; }

/* ---------------- Services ---------------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.svc-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
}
.svc-card h3 { margin: 0 0 8px; color: var(--navy); }
.svc-card p { color: var(--muted); margin: 0 0 12px; }
.svc-card ul { margin: 0; padding-left: 18px; color: var(--text); }
.svc-card ul li { margin: 4px 0; }

.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: step; }
.flow .step {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 20px 14px; text-align: center;
  box-shadow: var(--shadow); position: relative;
}
.flow .step::before {
  counter-increment: step; content: counter(step);
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy); color: var(--gold-2); font-weight: 700; margin-bottom: 10px;
}
.flow .step b { display: block; color: var(--navy); font-size: 15px; }
.flow .step small { color: var(--muted); }

.audience { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------------- Articles page ---------------- */
.post { background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); margin-bottom: 24px; }
.post .cat { color: var(--gold); font-weight: 700; font-size: 13px; }
.post h2 { font-family: var(--font-serif); color: var(--navy); margin: 8px 0 6px; font-size: 26px; }
.post .meta { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.post p { color: #2a3346; }
.post h3 { color: var(--navy-2); margin-top: 22px; }

.compliance-box {
  background: #fff8e8; border: 1px solid #f2e2b8; border-radius: var(--radius);
  padding: 18px 20px; color: #7a5e16; font-size: 14px; margin-top: 10px;
}

/* ---------------- About / Contact ---------------- */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.contact-card { background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.contact-card .row { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.contact-card .row:last-child { border-bottom: none; }
.contact-card .row .k { flex: 0 0 84px; color: var(--navy); font-weight: 600; }
.contact-card .row .v { color: var(--text); }
.matrix { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.matrix .m {
  flex: 1 1 120px; text-align: center; border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px; background: #fafbfd;
  text-decoration: none; color: inherit; display: block;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.matrix .m b { display: block; color: var(--navy); margin-bottom: 4px; }
.matrix .m small { color: var(--muted); }

/* 可点击跳转的矩阵卡片 */
.matrix a.m[href] { cursor: pointer; }
.matrix a.m[href]:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow); }
.matrix a.m[href]:hover b { color: var(--gold); }
.matrix a.m[href] b::after { content: " ↗"; font-size: 11px; color: var(--gold); }
.matrix .m.no-link { cursor: default; }

.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff; border-radius: var(--radius); padding: 40px;
  text-align: center; box-shadow: var(--shadow-lg);
}
.cta-band h2 { font-family: var(--font-serif); margin: 0 0 10px; font-size: 28px; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0 0 22px; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.8);
  padding: 30px 0 36px;
  margin-top: 40px;
}
.site-footer .disclaimer {
  font-size: 13px; color: rgba(255,255,255,.7);
  border-left: 3px solid var(--gold); padding-left: 12px; margin: 0 0 12px;
  max-width: 880px; line-height: 1.7;
}
.site-footer .copy { font-size: 13px; color: rgba(255,255,255,.55); margin: 0; }
.site-footer .beian { font-size: 13px; color: rgba(255,255,255,.55); margin: 8px 0 0; }
.site-footer .beian a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer .beian a:hover { color: var(--gold); text-decoration: underline; }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .grid-4, .index-grid, .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .video-grid, .article-grid { grid-template-columns: 1fr; }
  .grid-2, .svc-grid, .boards, .sentiment, .about-grid { grid-template-columns: 1fr; }
  .global-grid { grid-template-columns: repeat(4, 1fr); }
  .flow { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--navy-2);
    border-top: 1px solid rgba(255,255,255,.1);
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .nav-links.open { max-height: 320px; }
  .nav-links a { padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav-toggle { display: block; }
  .hero .container { padding: 54px 20px 60px; }
  .index-grid, .stats { grid-template-columns: 1fr 1fr; }
  .global-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; }
  .section { padding: 46px 0; }
}
