:root {
  --c-primary: #0b4a8f;
  --c-accent: #e8651e;
  --c-text: #111827;
  --c-muted: #4b5563;
  --c-line: #e5e7eb;
  --c-bg: #f8fafc;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 16px; line-height: 1.8; color: var(--c-text); background: #fff; padding-bottom: 70px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 20px; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; transition: .2s; border: 1px solid transparent; }
.btn-primary { background: var(--c-accent); color: #fff; }
.btn-primary:hover { background: #d85a15; }
.btn-outline { border-color: var(--c-primary); color: var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn-lg { height: 48px; padding: 0 30px; font-size: 16px; }

/* 头部 */
.site-header { background: #fff; border-bottom: 1px solid var(--c-line); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 42px; height: 42px; border-radius: 8px; background: var(--c-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; letter-spacing: -1px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text b { font-size: 20px; color: var(--c-primary); }
.logo-text em { font-size: 12px; color: var(--c-muted); font-style: normal; letter-spacing: 2px; }
.main-nav { display: flex; margin-left: auto; }
.main-nav > li > a { padding: 0 15px; height: 72px; display: flex; align-items: center; font-weight: 600; color: #111; }
.main-nav > li > a:hover, .main-nav > li > a.active { color: var(--c-primary); font-weight: bold; }
.has-sub { position: relative; }
.sub-menu { position: absolute; top: 72px; left: 0; background: #fff; border: 1px solid var(--c-line); border-radius: 8px; display: none; min-width: 150px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.has-sub:hover .sub-menu { display: block; }
.sub-menu a { display: block; padding: 10px 15px; }
.sub-menu a:hover { background: #f3f4f6; color: var(--c-primary); }
.header-actions { display: flex; gap: 10px; margin-left: 20px; }
.nav-toggle { display: none; font-size: 24px; background: none; border: none; margin-left: auto; }

/* 首页 Hero (左右布局) */
.hero { padding: 60px 0; background: #f0f7ff; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 40px; color: #000; line-height: 1.3; margin-bottom: 20px; }
.hero h1 span { color: var(--c-accent); }
.hero-desc { font-size: 16px; color: #222; line-height: 1.9; margin-bottom: 30px; }
.hero-btns { display: flex; gap: 15px; margin-bottom: 30px; }
.hero-badge { display: inline-block; padding: 5px 12px; background: #e0f2fe; color: var(--c-primary); border-radius: 20px; font-size: 13px; font-weight: bold; margin-bottom: 15px; }

/* 卖点标签（强制横排） */
.hero-points { display: flex !important; flex-direction: row !important; gap: 12px; flex-wrap: wrap; }
.hero-points li { 
  background: #fff; 
  padding: 6px 16px; 
  border-radius: 30px; 
  font-size: 14px; 
  color: var(--c-primary); 
  font-weight: 500;
  border: 1px solid #d0e3f5;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.hero-points li::before { 
  content: "✓"; 
  color: #16a34a; 
  margin-right: 6px; 
  font-weight: bold; 
}

/* 行情卡片 */
.quote-card { background: #fff; padding: 25px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.quote-head { display: flex; justify-content: space-between; font-weight: bold; padding-bottom: 15px; border-bottom: 1px solid #eee; color: #000; }
.quote-head span { font-size: 12px; color: #999; font-weight: normal; }
.quote-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed #eee; font-size: 14px; font-weight: 600; }
.up { color: #16a34a; } .down { color: #dc2626; }

/* 通用区块 */
.sec { padding: 60px 0; }
.sec-bg { background: var(--c-bg); }
.sec-head { text-align: center; max-width: 800px; margin: 0 auto 40px; }
.sec-head h2 { font-size: 28px; font-weight: 800; margin-bottom: 15px; color: #000; }
.sec-head h2 span { color: var(--c-accent); }
.sec-head p { font-size: 15px; color: var(--c-muted); }

/* 高级数据看板（参考图上半部分） */
.data-panel { 
  display: flex; 
  background: #f4f6f9; 
  border-radius: 16px; 
  padding: 40px; 
  align-items: center; 
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}
.data-left { flex: 1; min-width: 300px; }
.data-left h2 { font-size: 26px; color: var(--c-accent); margin-bottom: 20px; font-weight: 800; }
.data-left h3 { font-size: 22px; color: #000; margin-bottom: 10px; font-weight: 700; }
.data-left p { font-size: 16px; color: #666; }
.data-right { 
  flex: 1.2; 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px 10px; 
  border-left: 1px solid #e1e5eb;
  padding-left: 40px;
}
.data-item { display: flex; flex-direction: column; }
.data-item span { font-size: 13px; color: #666; margin-bottom: 5px; }
.data-item b { font-size: 26px; color: var(--c-primary); font-weight: 800; line-height: 1.2; }

/* 高级横排卡片（参考图下半部分） */
.grid { display: grid; gap: 24px; }
.g3 { grid-template-columns: repeat(3, 1fr) !important; }
.g4 { grid-template-columns: repeat(4, 1fr) !important; }

.expert-card { 
  background: #f4f6f9; 
  border-radius: 16px; 
  padding: 30px; 
  display: flex; 
  flex-direction: column; 
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  transition: 0.3s;
}
.expert-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.expert-content h3 { font-size: 20px; color: #000; margin-bottom: 15px; font-weight: 800; }
.expert-content p { font-size: 14px; color: #555; line-height: 1.8; margin-bottom: 30px; position: relative; z-index: 2; }

.expert-footer { display: flex; justify-content: space-between; align-items: flex-end; position: relative; z-index: 2; }
.expert-footer .btn { background: #fff; padding: 8px 20px; font-size: 14px; border-radius: 6px; font-weight: 600; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.expert-footer .btn:hover { background: var(--c-primary); color: #fff; }

/* 模拟右下角的装饰图形 */
.expert-img-shape {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0e8f5, #c1d3ec);
  z-index: 1;
  opacity: 0.8;
}
.shape-2 { background: linear-gradient(135deg, #fce4d6, #f9c9a8); }
.shape-3 { background: linear-gradient(135deg, #e2f0d9, #c5e0b4); }

/* 交易产品与其他卡片 */
.card { background: #fff; padding: 30px 24px; border: 1px solid var(--c-line); border-radius: 12px; transition: 0.3s; }
.card:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.05); transform: translateY(-3px); }
.card h3 { color: #000; font-size: 18px; margin-bottom: 12px; }
.card p { font-size: 14px; color: #555; line-height: 1.8; }
.ico { 
  width: 54px; height: 54px; border-radius: 12px; background: #eef6ff; color: #1a6bbf; 
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px; 
}
.ico svg { width: 24px !important; height: 24px !important; display: block; }
.product-card .more { display: inline-block; margin-top: 15px; color: var(--c-primary); font-weight: bold; font-size: 14px; }

/* 开户流程 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: #fff; padding: 30px; text-align: center; border-radius: 12px; border: 1px solid var(--c-line); }
.step-num { width: 50px; height: 50px; background: var(--c-primary); color: #fff; font-size: 24px; font-weight: bold; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; }
.step h3 { color: #000; margin-bottom: 10px; }
.step p { font-size: 14px; color: #666; }

/* 文章卡片 */
.article-card { display: block; background: #fff; border: 1px solid var(--c-line); border-radius: 12px; overflow: hidden; transition: 0.3s; text-decoration: none; }
.article-card:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.05); transform: translateY(-3px); }
.article-thumb { height: 160px; background: #f0f7ff; color: #9bc4ef; display: flex; align-items: center; justify-content: center; }
.article-thumb svg { width: 48px !important; height: 48px !important; }
.article-body { padding: 20px; }
.article-meta { font-size: 12px; color: #999; margin-bottom: 10px; display: flex; gap: 10px; }
.article-body h3 { color: #000; font-size: 16px; margin-bottom: 10px; line-height: 1.5; }
.article-body p { font-size: 14px; color: #666; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--c-line); border-radius: 8px; margin-bottom: 15px; padding: 0 20px; }
.faq summary { padding: 18px 0; font-weight: bold; color: #000; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--c-primary); }
.faq details[open] summary::after { content: "-"; }
.faq-body { padding: 0 0 20px; font-size: 14px; color: #555; line-height: 1.8; }

/* 底部 CTA */
.cta { background: linear-gradient(120deg, #0b4a8f, #1a6bbf); border-radius: 16px; padding: 40px; display: flex; justify-content: space-between; align-items: center; color: #fff; flex-wrap: wrap; gap: 20px; }
.cta h2 { font-size: 26px; margin-bottom: 10px; }
.cta p { opacity: 0.8; font-size: 15px; }
.cta .btn { background: #fff; color: var(--c-primary); height: 48px; padding: 0 30px; font-size: 16px; }

/* 页面 Banner 与文章正文 */
.page-banner { background: #f8fafc; padding: 40px 0; border-bottom: 1px solid #eee; }
.page-banner h1 { font-size: 32px; color: #000; }
.article { max-width: 900px; margin: 0 auto; }
.article h2 { font-size: 22px; margin: 30px 0 15px; color: #000; border-left: 4px solid var(--c-accent); padding-left: 10px; font-weight: bold; }
.article p { font-size: 16px; color: #111; line-height: 2; margin-bottom: 15px; text-align: justify; white-space: pre-wrap; }

/* 移动端底部 */
.mobile-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; padding: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,0.05); gap: 10px; z-index: 200; }
.mobile-bar .btn { flex: 1; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; border-bottom: 1px solid #eee; }
  .main-nav.open { display: flex; }
  .main-nav > li > a { justify-content: center; border-bottom: 1px solid #f9f9f9; }
  .header-actions { display: none; }
  .nav-toggle { display: block; }
  .sub-menu { position: static; display: block; box-shadow: none; border: none; text-align: center; background: #fafafa; }
  
  /* 手机端强制单列 */
  .g3, .g4, .steps { grid-template-columns: 1fr !important; }
  .data-panel { flex-direction: column; padding: 30px 20px; text-align: center; }
  .data-right { border-left: none; padding-left: 0; border-top: 1px solid #e1e5eb; padding-top: 30px; width: 100%; grid-template-columns: repeat(2, 1fr); }
  
  .mobile-bar { display: flex; }
  .cta { text-align: center; justify-content: center; }
}