/* ============================================
   鹏鼎控股 集群页面公共样式
   适用：pengding-stock.html 及所有 pages/pengding-*.html 子页面
   最后更新：2026-06-22
   ============================================ */

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
}
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* === CSS变量 === */
:root {
  --red:        #c0392b;
  --red-light:  #fde8e8;
  --red-dark:   #a93226;
  --cream:      #faf8f4;
  --beige:      #f5f0e8;
  --beige-dark: #ede8df;
  --text:       #2d2926;
  --text-soft:  #5c5449;
  --text-muted: #8c8680;
  --border:     #e0d9ce;
  --white:      #ffffff;
  --warning-bg: #fff8e1;
  --warning-border: #f9a825;
  --success-bg: #e8f5e9;
  --success-border: #43a047;
  --risk-bg:    #fff3f3;
  --risk-border:#e57373;
  --shadow-sm:  0 2px 8px rgba(0,0,0,.06);
  --shadow-md:  0 4px 20px rgba(0,0,0,.10);
  --radius:     10px;
  --radius-sm:  6px;
  --max-width:  860px;
}

/* === 滚动进度条 === */
#progress-bar {
  position: fixed; top: 60px; left: 0; height: 3px;
  background: var(--red); width: 0%; z-index: 101;
  transition: width .1s linear;
}

/* === 导航 === */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
}
.nav-logo {
  font-weight: 900; font-size: 18px; color: var(--red);
  white-space: nowrap; text-decoration: none;
}
.nav-logo span { color: var(--text); font-weight: 700; }
.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
}
.nav-links a {
  font-size: 14px; font-weight: 600; color: var(--text-soft);
  padding: 6px 12px; border-radius: var(--radius-sm);
  white-space: nowrap; transition: background .2s, color .2s;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--red-light); color: var(--red); text-decoration: none;
}
.nav-cta {
  background: var(--red); color: var(--white) !important;
  padding: 7px 16px !important; border-radius: 20px;
  font-size: 13px !important; font-weight: 700 !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--red-dark) !important; }
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--text);
}
.mobile-menu {
  display: none; position: fixed; top: 60px; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 12px 20px; z-index: 99;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 10px 0;
  font-size: 15px; font-weight: 600; color: var(--text-soft);
  border-bottom: 1px solid var(--beige-dark);
}
.mobile-menu a:last-child { border-bottom: none; }

/* === 主体 === */
main { padding-top: 60px; }
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}
section { padding: clamp(40px, 6vw, 72px) 0; }
section + section { border-top: 1px solid var(--border); }

/* === Hero === */
.hero {
  background: var(--cream);
  color: var(--text);
  padding: clamp(48px, 8vw, 96px) clamp(16px, 4vw, 40px);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero-breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.hero-breadcrumb a { color: var(--red); }
.hero-breadcrumb a:hover { text-decoration: underline; }
.hero h1 {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 900; line-height: 1.3; margin-bottom: 20px;
  color: var(--text);
}
.hero h1 .red { color: var(--red); }
.hero-intro {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--text-soft); max-width: 680px; margin: 0 auto 32px; line-height: 1.75;
}
.hero-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; margin-bottom: 32px;
}
.hero-tag {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-soft); font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 20px;
}
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn-primary {
  display: inline-block;
  background: var(--red); color: var(--white);
  font-weight: 700; font-size: 15px;
  padding: 12px 28px; border-radius: 28px;
  transition: transform .2s, box-shadow .2s, background .2s;
  box-shadow: 0 4px 14px rgba(192,57,43,.3);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(192,57,43,.4);
  text-decoration: none; color: var(--white);
}
.btn-secondary {
  display: inline-block;
  background: var(--white); color: var(--red);
  font-weight: 600; font-size: 14px;
  padding: 11px 24px; border-radius: 28px;
  border: 1.5px solid var(--red);
  transition: background .2s;
}
.btn-secondary:hover { background: var(--red-light); text-decoration: none; color: var(--red); }
.hero-update { margin-top: 24px; font-size: 12px; color: var(--text-muted); }

/* === 章节标题 === */
h2.section-title {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 900; color: var(--text);
  margin-bottom: 28px;
  text-align: center;
  position: relative;
}
h2.section-title::after {
  content: '';
  display: block;
  width: 40px; height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin: 10px auto 0;
}

/* === 分隔线标题 === */
.section-label {
  display: block;
  text-align: center;
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-light);
  border-radius: 20px;
  padding: 4px 14px;
  width: fit-content;
  margin: 0 auto 12px;
}
.section-label::before { display: none; }

/* === 合规框 === */
.compliance-box {
  background: var(--warning-bg); border-left: 4px solid var(--warning-border);
  border-radius: var(--radius-sm); padding: 14px 18px;
  font-size: 13px; color: #5d4037; margin-bottom: 20px; line-height: 1.6;
}
.compliance-box strong { color: #e65100; }

/* === 表格 === */
.table-wrap { overflow-x: auto; margin-bottom: 8px; }
table {
  width: 100%; border-collapse: collapse; font-size: 14px;
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
thead { background: var(--red); color: var(--white); }
thead th { padding: 13px 16px; text-align: left; font-weight: 700; font-size: 13px; white-space: nowrap; }
tbody tr { border-bottom: 1px solid var(--border); }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--beige); }
tbody td { padding: 12px 16px; vertical-align: middle; color: var(--text); font-size: 14px; }
tbody td:first-child { font-weight: 600; }
.badge-buy {
  display: inline-block; background: var(--success-bg); color: #2e7d32;
  border: 1px solid var(--success-border); font-size: 12px; font-weight: 700;
  padding: 2px 8px; border-radius: 10px;
}
.badge-neutral {
  display: inline-block; background: var(--beige); color: var(--text-muted);
  border: 1px solid var(--border); font-size: 12px; font-weight: 600;
  padding: 2px 8px; border-radius: 10px;
}
.table-note { font-size: 12px; color: var(--text-muted); margin-top: 8px; line-height: 1.5; }

/* === 论据卡片 === */
.argument-list { display: flex; flex-direction: column; gap: 16px; }
.argument-card {
  background: var(--white); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow-sm);
  border-left: 5px solid transparent; transition: box-shadow .2s, transform .2s;
}
.argument-card:hover { box-shadow: var(--shadow-md); transform: translateX(3px); }
.argument-card.bull { border-left-color: #43a047; }
.argument-card.bear { border-left-color: #e53935; }
.argument-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  font-size: 13px; font-weight: 700; margin-right: 10px; flex-shrink: 0;
}
.bull .argument-num { background: var(--success-bg); color: #2e7d32; }
.bear .argument-num { background: var(--risk-bg); color: #c62828; }
.argument-header { display: flex; align-items: center; margin-bottom: 10px; }
.argument-title { font-size: 15px; font-weight: 700; color: var(--text); }
.argument-body { font-size: 14px; color: var(--text-soft); line-height: 1.75; padding-left: 36px; }

/* === 统计条 === */
.stat-bar {
  background: var(--white); border-radius: var(--radius);
  padding: 20px 24px; margin-bottom: 20px;
  box-shadow: var(--shadow-sm); display: flex; flex-wrap: wrap; gap: 24px;
}
.stat-item { flex: 1; min-width: 120px; }
.stat-label { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; font-weight: 500; }
.stat-value { font-size: 22px; font-weight: 900; color: var(--text); line-height: 1.2; }
.stat-value.up { color: #c62828; }
.stat-value.down { color: #2e7d32; }
.stat-change { font-size: 12px; font-weight: 600; margin-top: 2px; }
.stat-change.positive { color: #c62828; }
.stat-source { width: 100%; font-size: 11px; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 10px; margin-top: 4px; }

/* === 工具卡片 === */
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.tool-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 20px; text-align: center;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.tool-card:hover { border-color: var(--red); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.tool-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--red-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; font-size: 20px;
}
.tool-name { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.tool-desc { font-size: 12px; color: var(--text-soft); line-height: 1.6; margin-bottom: 14px; }
.tool-btn {
  display: inline-block; background: var(--red); color: var(--white);
  font-size: 12px; font-weight: 700; padding: 7px 18px; border-radius: 20px;
  transition: background .2s;
}
.tool-btn:hover { background: var(--red-dark); text-decoration: none; color: var(--white); }
.tool-note {
  font-size: 12px; color: var(--text-muted); margin-top: 16px; text-align: center;
  background: var(--beige); border-radius: var(--radius-sm); padding: 10px 14px; line-height: 1.5;
}

/* === FAQ === */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; cursor: pointer;
  font-size: 14px; font-weight: 700; color: var(--text);
  user-select: none; transition: background .2s;
}
.faq-q:hover { background: var(--beige); }
.faq-q::after { content: '＋'; font-size: 18px; font-weight: 400; color: var(--red); flex-shrink: 0; margin-left: 12px; }
.faq-item.open .faq-q::after { content: '－'; }
.faq-a {
  display: none; padding: 0 20px 16px;
  font-size: 14px; color: var(--text-soft); line-height: 1.75;
  border-top: 1px solid var(--border);
}
.faq-item.open .faq-a { display: block; padding-top: 14px; }

/* === 内链导航 === */
.internal-nav {
  background: var(--beige); border-radius: var(--radius);
  padding: 16px 20px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.internal-nav-label { font-size: 12px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.internal-nav-link {
  font-size: 13px; font-weight: 600; color: var(--red);
  background: var(--white); border: 1px solid var(--border);
  padding: 5px 14px; border-radius: 20px;
  transition: background .2s, border-color .2s; white-space: nowrap;
}
.internal-nav-link:hover { background: var(--red-light); border-color: var(--red); text-decoration: none; }

/* === 免责声明 === */
.disclaimer-box {
  background: var(--risk-bg); border: 1px solid var(--risk-border);
  border-radius: var(--radius); padding: 16px 20px;
  font-size: 13px; color: #5d4037; line-height: 1.65;
}
.disclaimer-box strong { color: #c62828; }

/* === 面包屑（子页） === */
.breadcrumb { padding: 16px 0; font-size: 13px; color: var(--text-muted); }
.breadcrumb a { color: var(--red); }

/* === 滚动动画 === */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* === Footer === */
footer {
  background: var(--text); color: rgba(255,255,255,.65);
  padding: clamp(32px, 5vw, 56px) clamp(16px, 4vw, 48px);
  font-size: 13px; line-height: 1.7;
}
.footer-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px;
}
.footer-brand { font-weight: 900; font-size: 16px; color: var(--white); margin-bottom: 8px; }
.footer-desc { font-size: 12px; color: rgba(255,255,255,.5); line-height: 1.6; }
.footer-col-title { font-weight: 700; color: var(--white); margin-bottom: 10px; font-size: 13px; }
.footer-col a { display: block; color: rgba(255,255,255,.55); margin-bottom: 6px; font-size: 12px; }
.footer-col a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  max-width: var(--max-width); margin: 24px auto 0;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12);
  font-size: 12px; color: rgba(255,255,255,.35);
}

/* === 响应式 === */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .tool-grid { grid-template-columns: 1fr; }
  .stat-bar { gap: 16px; }
  .stat-item { min-width: 80px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 20px; }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 280px; text-align: center; }
}
