/* 家庭理財美股與 ETF AI 指令大師：書封配色覆寫（載入順序必須在 ../styles.css 之後）
   書封色票：暖金 #E0A03A、深藍 #1E3550、米白 #FFF6E6 */
:root {
  --bg:          #fff6e6;
  --bg-soft:     #fce9c4;
  --ink:         #16283c;
  --ink-soft:    #4a5a70;
  --ink-faint:   #8b96a5;
  --brand:       #1e3550;
  --brand-dark:  #16283c;
  --brand-soft:  #e8eef4;
  --accent:      #e0a03a;
  --accent-dark: #b97f1e;
  --accent-soft: #fbeed3;
  --border:      #ecdfc6;
}

/* ---------- Hero：蓋掉母版寫死的藍綠漸層，改書封深藍＋暖金光暈 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 620px 320px at 88% -10%, rgba(224,160,58,0.45), transparent 60%),
    radial-gradient(ellipse 420px 260px at -5% 110%, rgba(224,160,58,0.18), transparent 60%),
    linear-gradient(135deg, #16283c 0%, #1e3550 55%, #274a74 100%);
}
.hero .hero-tag-new {
  background: linear-gradient(120deg, #e0a03a, #c98a22);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  box-shadow: 0 2px 10px rgba(224,160,58,0.45);
}

/* ---------- 痛點問句區 ---------- */
.faq-hook { margin: 26px 0 6px; }
.faq-hook-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.faq-hook-head h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand);
  margin: 0;
  padding-bottom: 4px;
  background: linear-gradient(90deg, var(--accent), transparent 85%) left bottom / 100% 3px no-repeat;
}
.faq-hook-head p { margin: 0; color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
}
.faq-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  font-family: inherit;
  background: linear-gradient(120deg, #fff 0%, #fffaf0 100%);
  border: 1.5px solid var(--border);
  border-left: 5px solid var(--accent);
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.faq-chip:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(224,160,58,0.28);
}
.faq-chip .faq-q { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.45; }
.faq-chip .faq-go { flex: none; font-size: 13px; font-weight: 800; color: var(--accent-dark); white-space: nowrap; transition: transform 0.16s ease; }
.faq-chip:hover .faq-go { transform: translateX(4px); }

/* ---------- 進階版鎖定徽章（書籍讀者看到的 🔒） ---------- */
.tier-lock {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-faint);
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1px 6px;
  margin-left: 7px;
  vertical-align: middle;
  letter-spacing: 0.02em;
}

/* ---------- 書籍驗證區塊 ---------- */
.book-verify-box {
  border-color: var(--brand) !important;
  border-left: 4px solid var(--accent) !important;
}

/* ---------- 分類卡 NEW 徽章 ---------- */
.category-card { position: relative; }
.cat-new {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(120deg, #e0a03a, #c9750f);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(224,160,58,0.5);
}

/* ---------- 傻瓜技術分析警告框 ---------- */
.tech-notice {
  background: #fff8e8;
  border: 1.5px solid #ecc06a;
  border-left: 5px solid #d99518;
  border-radius: 12px;
  padding: 13px 16px;
  margin-bottom: 12px;
  font-size: 13.5px;
  line-height: 1.65;
  color: #5c4708;
}
.tech-notice strong { color: #8a5f00; }

@media (max-width: 640px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-chip .faq-go { display: none; }
}

/* ── 姐妹站互導卡片（理財站 → 百工站，用百工深藍配色） ── */
.sister-promo {
  margin: 40px 0 0;
  padding: 28px 28px 24px;
  background: linear-gradient(135deg, #e8eef4 0%, #d6e0ea 100%);
  border: 1.5px solid #1e3a5f;
  border-radius: 14px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.sister-promo-icon {
  font-size: 52px;
  flex: none;
  line-height: 1;
  margin-top: 2px;
}
.sister-promo-body { flex: 1; min-width: 0; }
.sister-promo-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #2a5090;
  margin-bottom: 4px;
}
.sister-promo-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  color: #1e3a5f;
  line-height: 1.35;
}
.sister-promo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.sister-promo-chip {
  background: #fff;
  border: 1px solid #5880b0;
  color: #1e3a5f;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 11px;
  border-radius: 20px;
  white-space: nowrap;
}
.sister-promo-desc {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.7;
  color: #3a4f65;
}
.sister-promo-btn {
  display: inline-block;
  background: linear-gradient(120deg, #1e3a5f, #142a46);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity .15s;
}
.sister-promo-btn:hover { opacity: .85; }
@media (max-width: 600px) {
  .sister-promo { flex-direction: column; gap: 14px; padding: 22px 18px 20px; }
  .sister-promo-icon { font-size: 40px; }
}
