/* ============================================
   云南锗业(002428) 集群页面公共样式
   适用：yunnan-germanium-stock.html 及所有 pages/yunnan-germanium-*.html
   体系：EasyClaw 暖红（与 zijin/catl/hengrui 等金融集群站统一）
   最后更新：2026-06-17
   ============================================ */

*, *::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; }

: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 { 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 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); }
.inline-disclaimer { font-size: 12px; color: var(--text-muted); margin-top: 8px; }

.hook-bar { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; max-width: 680px; margin: 0 auto 24px; }
.hook-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 20px; min-width: 130px; text-align: center; box-shadow: var(--shadow-sm); }
.hook-label { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.hook-val { font-size: 22px; font-weight: 900; color: var(--text); line-height: 1.2; }
.hook-val.up { color: #c62828; }
.hook-val.down { color: #2e7d32; }
.hook-val.neutral { color: var(--text); }
.hook-sub { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

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; }

.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; }
.table-note { font-size: 12px; color: var(--text-muted); margin-top: 8px; line-height: 1.5; }

.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.hub-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: border-color .2s, box-shadow .2s, transform .2s; display: block; }
.hub-card:hover { border-color: var(--red); box-shadow: var(--shadow-md); transform: translateY(-3px); text-decoration: none; }
.hub-card-icon { width: 40px; height: 40px; border-radius: 11px; background: var(--red-light); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 12px; }
.hub-card-name { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.hub-card-desc { font-size: 13px; color: var(--text-soft); line-height: 1.6; }

.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; justify-content: center; }
.tool-grid.cols-1 { grid-template-columns: minmax(260px, 360px); }
.tool-grid.cols-2 { grid-template-columns: repeat(2, minmax(260px, 340px)); }
.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-id { font-size: 11px; color: var(--text-muted); font-family: monospace; 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; }

.skill-showcase { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-top: 24px; box-shadow: var(--shadow-sm); }
.skill-showcase-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.skill-showcase-badge { display: inline-block; font-size: 11px; font-weight: 700; color: var(--red); background: var(--red-light); padding: 3px 10px; border-radius: 12px; margin-bottom: 16px; font-family: monospace; }
.skill-steps { display: flex; flex-direction: column; gap: 12px; }
.skill-step { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-soft); line-height: 1.6; }
.skill-step-num { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: var(--white); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.skill-step em { color: var(--red); font-style: normal; font-weight: 600; }
.skill-dep { font-size: 12px; color: var(--text-muted); margin-top: 14px; background: var(--beige); border-radius: var(--radius-sm); padding: 8px 12px; }

.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 var(--red); transition: box-shadow .2s, transform .2s; }
.argument-card:hover { box-shadow: var(--shadow-md); transform: translateX(3px); }
.argument-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.argument-body { font-size: 14px; color: var(--text-soft); line-height: 1.75; }

.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; }
.faq-cta { margin-top: 24px; background: var(--red-light); border-radius: var(--radius); padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.faq-cta-text { font-size: 15px; font-weight: 700; color: var(--text); }
.faq-cta-sub { font-size: 13px; color: var(--text-soft); margin-top: 4px; }

.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 { 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: 1024px) { .hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .tool-grid { grid-template-columns: 1fr; }
  .hub-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .faq-cta { flex-direction: column; align-items: flex-start; }
}
@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; }
  .hook-item { min-width: 110px; }
}

/* === 真实截图展示 === */
.screenshot-wrap { margin-top: 8px; }
.screenshot-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-sm); max-width: 720px; margin: 0 auto; }
.screenshot-card img { border-radius: var(--radius-sm); border: 1px solid var(--border); width: 100%; }
.screenshot-cap { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 10px; line-height: 1.5; }

/* === 静态行情快照面板（炒股软件感） === */
.quote-panel { max-width: var(--max-width); margin: -32px auto 0; padding: 0 clamp(16px,4vw,40px); position: relative; z-index: 2; }
.quote-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-md); padding: clamp(18px,3vw,28px); }
.qp-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--border); padding-bottom: 14px; margin-bottom: 16px; }
.qp-name { font-size: 17px; font-weight: 900; color: var(--text); }
.qp-name span { font-size: 13px; font-weight: 600; color: var(--text-muted); margin-left: 6px; }
.qp-tag { font-size: 11px; font-weight: 700; color: #c62828; background: #fdeaea; border-radius: 12px; padding: 3px 10px; }
.qp-main { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.qp-price { font-size: clamp(30px,6vw,42px); font-weight: 900; line-height: 1; color: #c62828; font-variant-numeric: tabular-nums; }
.qp-price-label { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.qp-change { font-size: 14px; font-weight: 700; color: #c62828; background: #fdeaea; border-radius: 6px; padding: 4px 10px; }
.qp-range { margin-bottom: 18px; }
.qp-range-bar { position: relative; height: 8px; border-radius: 4px; background: linear-gradient(90deg,#2e7d32 0%,#f9a825 55%,#c62828 100%); }
.qp-range-dot { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 3px solid #c62828; transform: translate(-50%,-50%); box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.qp-range-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); margin-top: 8px; }
.qp-range-cur { text-align: center; font-size: 12px; color: #c62828; font-weight: 700; margin-top: 4px; }
.qp-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.qp-metric { background: var(--beige); border-radius: 8px; padding: 12px; text-align: center; }
.qp-metric-label { font-size: 11px; color: var(--text-muted); margin-bottom: 5px; }
.qp-metric-val { font-size: 17px; font-weight: 900; color: var(--text); font-variant-numeric: tabular-nums; }
.qp-metric-val.warn { color: #c62828; }
.qp-metric-sub { font-size: 10px; color: var(--text-muted); margin-top: 3px; }
.qp-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.qp-note { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.qp-btn { display: inline-block; background: var(--red); color: var(--white); font-size: 13px; font-weight: 700; padding: 8px 18px; border-radius: 20px; white-space: nowrap; transition: background .2s; }
.qp-btn:hover { background: var(--red-dark); color: var(--white); text-decoration: none; }
@media (max-width: 600px) { .qp-metrics { grid-template-columns: repeat(2,1fr); } }

/* === 3秒问AI 交互卡 === */
.ask-ai { max-width: 760px; margin: 0 auto 8px; }
.ask-ai-card { background: linear-gradient(135deg,#fff 0%,#fdf6f5 100%); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-md); padding: clamp(20px,4vw,32px); }
.ask-ai-title { font-size: clamp(18px,3vw,22px); font-weight: 900; color: var(--text); text-align: center; margin-bottom: 6px; }
.ask-ai-sub { font-size: 13px; color: var(--text-muted); text-align: center; margin-bottom: 20px; }
.ask-ai-box { display: flex; align-items: center; gap: 10px; background: var(--white); border: 2px solid var(--red-light); border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; cursor: text; }
.ask-ai-box .ph { flex: 1; color: var(--text-muted); font-size: 15px; }
.ask-ai-box .cursor { width: 2px; height: 18px; background: var(--red); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ask-ai-send { background: var(--red); color: #fff; border-radius: 8px; padding: 6px 14px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.ask-ai-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ask-ai-chip { background: var(--beige); border: 1px solid var(--border); border-radius: 20px; padding: 8px 16px; font-size: 13px; color: var(--text-soft); cursor: pointer; transition: all .2s; }
.ask-ai-chip:hover { background: var(--red-light); border-color: var(--red); color: var(--red); transform: translateY(-1px); }
.ask-ai-hint { margin-top: 16px; padding: 12px 16px; background: var(--red-light); border-radius: 10px; font-size: 13px; color: var(--text); display: none; animation: fadeUp .3s ease; }
.ask-ai-hint.show { display: block; }
.ask-ai-hint a { color: var(--red); font-weight: 700; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.tool-card.flash { animation: cardFlash 1.2s ease; }
@keyframes cardFlash { 0%,100% { box-shadow: var(--shadow-md); } 30% { box-shadow: 0 0 0 3px var(--red); } }
