/* ================================================================
   homepage.css — 首页样式（提取自 index.htm）
   包含：CSS变量、排版、布局、卡片、时间线、DRG系统、评价、
   CTA、文章列表、进攻策略、关系收益、行动步骤等全部首页样式
   ================================================================ */

/* === VARIABLES === */
:root {
  --bg: #FBFBFA;
  --bg-alt: #F6F4F0;
  --bg-tinted: #F4F2FA;
  --bg-card: #ffffff;
  --bg-card-hover: #F8F7FD;
  --border: #E4E1D8;
  --border-hover: #CECCE5;
  --primary: #342C73;
  --primary-light: #5B4EC9;
  --primary-bg: #F0EEFF;
  --accent: #BD436F;
  --text: #161620;
  --text-body: #333230;
  --text-dim: #666560;
  --text-muted: #96948D;
  --serif: 'EB Garamond', 'Noto Serif SC', '思源宋体', Georgia, serif;
  --sans: 'IBM Plex Sans', 'Noto Sans SC', -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', 'SF Mono', 'Fira Code', monospace;
  --shadow-sm: 0 2px 8px rgba(52, 44, 115, 0.03);
  --shadow-md: 0 8px 24px rgba(52, 44, 115, 0.05);
  --shadow-lg: 0 16px 40px rgba(52, 44, 115, 0.08);
}

/* === GLOBAL === */
body {
  font-family: var(--sans);
  background: var(--bg) !important;
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.65;
}
main.flex-1 { background: var(--bg); }

/* 学术风标题排版 */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
}

/* === LAYOUT === */
.lx-wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.lx-section { padding: 20px 0; }
.lx-section-sm { padding: 20px 0; }
.lx-narrow { max-width: 780px; margin: 0 auto; }

/* === TYPOGRAPHY === */
.lx-serif { font-family: var(--serif); }
.lx-h1 {
  font-family: var(--serif); font-size: 26px; font-weight: 700;
  color: var(--text); line-height: 1.3; letter-spacing: -0.02em; margin-bottom: 12px;
}
@media (min-width:640px) { .lx-h1 { font-size: 32px; } }
@media (min-width:768px) { .lx-h1 { font-size: 38px; } }

.lx-h2 {
  font-family: var(--serif); font-size: 22px; font-weight: 700;
  color: var(--text); line-height: 1.25; letter-spacing: -0.02em; margin-bottom: 8px;
}
@media (min-width:640px) { .lx-h2 { font-size: 26px; } }
@media (min-width:768px) { .lx-h2 { font-size: 30px; } }

.lx-h3 {
  font-family: var(--serif); font-size: 17px; font-weight: 700;
  color: var(--text); line-height: 1.35; letter-spacing: -0.01em; margin-bottom: 6px;
}
@media (min-width:640px) { .lx-h3 { font-size: 20px; } }

.lx-body {
  font-family: var(--sans); font-size: 15px; font-weight: 400;
  color: var(--text-body); line-height: 1.65;
}
@media (min-width:640px) { .lx-body { font-size: 16px; } }

.lx-body p { margin-bottom: 0.5rem; }
.lx-body p:last-child { margin-bottom: 0; }

.lx-label {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase;
}

.lx-gold-text { color: var(--primary); }

.lx-center { text-align: center; }
.lx-mb-sm { margin-bottom: 8px; }
.lx-mb-md { margin-bottom: 12px; }
.lx-mb-lg { margin-bottom: 16px; }
.lx-mb-xl { margin-bottom: 24px; }

/* === GHOST BUTTON === */
.lx-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: transparent; border: 1px solid var(--primary);
  color: var(--primary); padding: 8px 22px; border-radius: 999px;
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  text-decoration: none; cursor: pointer;
  letter-spacing: 0.04em;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width:640px) { .lx-ghost { font-size: 14px; padding: 10px 26px; } }
.lx-ghost:hover {
  background: var(--primary); color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(52, 44, 115, 0.15);
}

.lx-ghost--filled {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.lx-ghost--filled:hover {
  background: var(--primary-light); box-shadow: 0 6px 20px rgba(60,52,137,0.25);
}

.lx-ghost--white {
  border-color: var(--primary); color: var(--primary);
}
.lx-ghost--white:hover {
  background: var(--primary-bg); border-color: var(--primary);
  color: var(--primary); box-shadow: none;
}

/* === CARD === */
.lx-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease,
              background-color 0.4s ease;
}
@media (min-width:640px) { .lx-card { padding: 28px; border-radius: 24px; } }

.lx-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* === DIVIDER === */
.lx-divider {
  height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

/* === HERO === */
.lx-hero { padding: 20px 0; position: relative; overflow: hidden; }

.lx-hero::before {
  content: ''; position: absolute; top: -40%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(60,52,137,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.lx-hero-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center;
}
@media (min-width:768px) {
  .lx-hero-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

.lx-hero-badge {
  display: inline-block; border: 1px solid var(--border);
  padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 500; color: var(--primary);
  letter-spacing: 0.05em; margin-bottom: 12px;
}

.lx-hero-subtitle {
  font-family: var(--sans); font-size: 15px; font-weight: 300;
  color: var(--text-dim); line-height: 1.65; max-width: 560px; margin-bottom: 12px;
}
@media (min-width:640px) { .lx-hero-subtitle { font-size: 16px; } }
.lx-hero-subtitle strong { color: var(--text); font-weight: 500; }

.lx-hero-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.lx-hero-tag {
  border: 1px solid var(--border); padding: 5px 14px;
  border-radius: 10px; font-size: 13px; font-weight: 400;
  color: var(--text-dim); background: var(--bg-card);
}
.lx-hero-tag--primary {
  display: block; margin-top: 6px;
  background: var(--primary); color: #fff; border-color: var(--primary);
  font-weight: 500;
}

.lx-hero-trust-line { font-size: 13px; color: var(--primary); font-weight: 600; margin: 2px 0 10px; letter-spacing: 0.02em; }
.lx-quote-card { max-width:760px; margin:24px auto 0; padding:24px 30px; border-radius:18px; background:linear-gradient(135deg,#FFFFFF 0%,#F8F7FD 100%); border:1px solid rgba(52,44,115,0.12); box-shadow:0 16px 48px rgba(52,44,115,0.06); text-align:center; font-family:'EB Garamond','Noto Serif SC',serif; font-size:22px; line-height:1.6; color:var(--primary); }
.lx-hero-facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin-bottom: 14px; width: 100%;
}
.lx-hero-fact {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 10px 8px; text-align: center;
}
.lx-hero-fact-num {
  font-family: var(--serif); font-size: 24px; font-weight: 700;
  color: var(--primary); line-height: 1.2; margin-bottom: 4px;
}
@media (min-width:640px) { .lx-hero-fact-num { font-size: 28px; } }
.lx-hero-fact-label {
  font-size: 11px; color: var(--text-muted); font-weight: 400; line-height: 1.3;
}

.lx-hero-cta { display: flex; flex-wrap: wrap; gap: 8px; }

/* Hero visual (right column) */
.lx-hero-visual { display: flex; flex-direction: column; align-items: center; gap: 12px; }
@media (min-width:768px) {
  .lx-hero-visual { align-items: flex-start; }
}
.lx-hero-photo-wrap {
  width: 100%; max-width: 320px; border-radius: 20px; overflow: hidden;
  box-shadow: 0 8px 32px rgba(60,52,137,0.1);
}
@media (min-width:768px) { .lx-hero-photo-wrap { max-width: 360px; } }
.lx-hero-photo { width: 100%; display: block; aspect-ratio: 4/5; object-fit: cover; }
.lx-hero-photo-card {
  width: 100%; max-width: 320px; text-align: center; padding: 10px;
}
@media (min-width:768px) {
  .lx-hero-photo-card { max-width: 360px; text-align: left; }
}
.lx-hero-photo-name {
  font-family: var(--serif); font-size: 18px; font-weight: 700;
  color: var(--text); margin-bottom: 4px;
}
.lx-hero-photo-role {
  font-size: 13px; color: var(--text-dim); font-weight: 300; line-height: 1.6;
}

/* Big stats display for hero right */
.lx-hero-bigstats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  width: 100%; max-width: 360px;
}
.lx-hero-bigstat {
  text-align: center; padding: 20px 12px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px;
}
.lx-hero-bigstat-num {
  font-family: var(--serif); font-size: 48px; font-weight: 800;
  color: var(--primary); line-height: 1; margin-bottom: 6px;
  letter-spacing: -0.03em;
}
@media (min-width:640px) { .lx-hero-bigstat-num { font-size: 56px; } }
.lx-hero-bigstat-num em { font-size: 24px; font-weight: 600; font-style: normal; }
@media (min-width:640px) { .lx-hero-bigstat-num em { font-size: 28px; } }
.lx-hero-bigstat-label {
  font-size: 12px; color: var(--text-muted); font-weight: 300;
}

/* === STATE DIAGNOSIS — Expandable Card Grid === */
.lx-state-grid {
  display: grid; grid-template-columns: 1fr; gap: 10px;
}
@media (min-width:640px) { .lx-state-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (min-width:768px) { .lx-state-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }

.lx-state-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 20px; cursor: pointer;
  transition: all 0.2s;
}
.lx-state-card:hover {
  border-color: var(--border-hover); box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.lx-state-card.open {
  border-color: var(--primary); background: var(--bg-tinted);
}
.lx-state-card-tag {
  font-size: 13px; font-weight: 800; color: var(--primary);
  margin-bottom: 6px;
}
@media (min-width:640px) { .lx-state-card-tag { font-size: 14px; } }
.lx-state-card-name {
  font-family: var(--sans); font-size: 16px; font-weight: 700;
  color: var(--text); margin: 0 0 4px; line-height: 1.3;
}
@media (min-width:640px) { .lx-state-card-name { font-size: 17px; } }
.lx-state-card-summary {
  font-size: 13px; font-weight: 300; color: var(--text-dim);
  line-height: 1.5; margin: 0 0 8px;
}
@media (min-width:640px) { .lx-state-card-summary { font-size: 14px; } }

.lx-state-card-detail {
  display: none; margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--primary-bg);
}
.lx-state-card.open .lx-state-card-detail { display: block; }
.lx-state-card.open .lx-state-card-summary { display: none; }
.lx-state-card-detail p {
  font-size: 13px; font-weight: 300; color: var(--text-body);
  line-height: 1.6; margin-bottom: 8px;
}
@media (min-width:640px) { .lx-state-card-detail p { font-size: 14px; margin-bottom: 10px; } }
.lx-state-card-detail .lx-state-points { margin-bottom: 12px; }
.lx-state-card-more {
  font-size: 12px; color: var(--primary); font-weight: 500;
}
.lx-state-card.open .lx-state-card-more,
.lx-pain-card.open .lx-state-card-more {
  font-size: 0;
}
.lx-pain-card.open .lx-state-card-more::before {
  content: '收起 ↑'; font-size: 11px;
}
.lx-state-card.open .lx-state-card-more::before {
  content: '收起 ↑'; font-size: 12px;
}

.lx-state-points { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.lx-state-points span {
  border: 1px solid rgba(60,52,137,0.2); color: #6F63D9;
  border-radius: 999px; padding: 6px 14px; font-size: 12px; font-weight: 400;
}
@media (min-width:640px) { .lx-state-points span { font-size: 13px; } }

/* === STATE DIAGNOSIS LAYOUT === */
.lx-state-layout {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width:768px) {
  .lx-state-layout { grid-template-columns: 1fr; gap: 24px; }
}

/* === PAIN POINTS GRID === */
.lx-pain-grid {
  display: grid; grid-template-columns: 1fr; gap: 14px;
}
@media (min-width:640px) { .lx-pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width:768px) { .lx-pain-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

.lx-pain-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 16px; cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); min-height: 120px;
}
.lx-pain-card:hover {
  border-color: var(--primary); background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(60, 52, 137, 0.03);
}
.lx-pain-card.open {
  background: #FAF9FF; border-color: var(--primary);
  box-shadow: 0 16px 48px rgba(60, 52, 137, 0.05);
}
.lx-pain-card h3 {
  font-family: var(--serif); font-size: 17px; font-weight: 700;
  color: var(--text); line-height: 1.4; margin-bottom: 10px;
}
@media (min-width:640px) { .lx-pain-card h3 { font-size: 18px; } }
.lx-pain-card > p {
  font-size: 14px; color: var(--text-dim); line-height: 1.65; font-weight: 300;
}
@media (min-width:640px) { .lx-pain-card > p { font-size: 15px; } }

.lx-pain-expand {
  max-height: 0; overflow: hidden; opacity: 0; margin-top: 0;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, margin-top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.lx-pain-card.open .lx-pain-expand { max-height: 500px; opacity: 1; margin-top: 16px; }
.lx-pain-expand-inner {
  background: rgba(60,52,137,0.04); border: 1px solid rgba(60,52,137,0.1);
  border-radius: 14px; padding: 16px; margin-top: 16px;
}
.lx-pain-expand-inner .drg-tag {
  color: var(--primary); font-weight: 600; font-size: 12px;
  margin-bottom: 6px; display: block; letter-spacing: 0.05em;
}
.lx-pain-expand-inner p {
  color: var(--text-dim); font-size: 14px; line-height: 1.65; margin-bottom: 8px;
}
.lx-pain-expand-inner a {
  color: var(--primary); font-weight: 500; font-size: 14px;
  text-decoration: none; border-bottom: 1px solid rgba(60,52,137,0.3);
}
.lx-pain-expand-inner a:hover { border-bottom-color: var(--primary); }

/* === EXPLAIN SECTION === */
.lx-explain-quote {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 20px 16px;
  font-family: var(--serif); font-size: 18px; font-weight: 700;
  color: var(--primary); line-height: 1.5; text-align: center;
}
@media (min-width:640px) { .lx-explain-quote { font-size: 22px; padding: 24px 24px; } }

/* === DRG TABS === */
.lx-drg-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 18px 16px;
}
@media (min-width:640px) { .lx-drg-card { padding: 24px 24px; } }
.lx-drg-tabs {
  display: flex; justify-content: center; gap: 6px;
  flex-wrap: wrap; margin-bottom: 16px;
}
.lx-drg-tab {
  background: transparent; border: 1px solid var(--border);
  border-radius: 999px; padding: 8px 20px;
  font-family: var(--sans); font-size: 14px; font-weight: 400;
  color: var(--text-dim); cursor: pointer; transition: all 0.2s;
}
.lx-drg-tab:hover { border-color: var(--border-hover); color: var(--text); }
.lx-drg-tab.active {
  background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600;
}
.lx-drg-panel { display: none; max-width: 680px; margin: 0 auto; animation: lxFadeIn 0.25s ease; }
.lx-drg-panel.active { display: block; }
.lx-drg-panel-title {
  font-family: var(--serif); font-size: 20px; font-weight: 700;
  color: var(--text); margin-bottom: 12px;
}
@media (min-width:640px) { .lx-drg-panel-title { font-size: 22px; } }
.lx-drg-panel-text {
  font-size: 15px; color: var(--text-dim); line-height: 1.7; margin-bottom: 14px;
}
@media (min-width:640px) { .lx-drg-panel-text { font-size: 16px; } }
.lx-drg-quote {
  border-left: 2px solid var(--primary); padding-left: 16px;
  color: var(--primary); font-weight: 500; font-size: 15px;
  margin: 16px 0; line-height: 1.6;
}
@media (min-width:640px) { .lx-drg-quote { font-size: 16px; } }

/* === HORIZONTAL TIMELINE === */
.lx-timeline {
  position: relative; padding: 20px 0 0;
}
.lx-timeline-line {
  position: absolute; top: 50px; left: 0; right: 0;
  height: 1px; background: linear-gradient(90deg, transparent 0%, var(--primary) 10%, var(--primary) 90%, transparent 100%);
  opacity: 0.3;
}
@media (max-width:768px) { .lx-timeline-line { display: none; } }

.lx-timeline-nodes {
  display: flex; justify-content: space-between; gap: 8px;
  position: relative; overflow-x: auto; padding-bottom: 12px;
  scrollbar-width: none;
}
.lx-timeline-nodes::-webkit-scrollbar { display: none; }

.lx-tl-node {
  flex: 1; min-width: 120px; text-align: center;
  cursor: pointer; padding: 0 8px; transition: all 0.2s;
  position: relative;
}
@media (min-width:768px) { .lx-tl-node { min-width: 0; } }

.lx-tl-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 2px solid #6F63D9;
  margin: 0 auto 16px; transition: all 0.2s;
  position: relative; z-index: 1;
}
.lx-tl-node:hover .lx-tl-dot { border-color: var(--primary); box-shadow: 0 0 12px rgba(60,52,137,0.3); }
.lx-tl-node.active .lx-tl-dot {
  background: var(--primary); border-color: var(--primary);
  box-shadow: 0 0 16px rgba(60,52,137,0.4);
}

.lx-tl-year {
  font-family: var(--serif); font-size: 14px; font-weight: 700;
  color: #6F63D9; margin-bottom: 4px;
}
.lx-tl-node.active .lx-tl-year { color: var(--primary); }
.lx-tl-label {
  font-size: 12px; color: var(--text-muted); font-weight: 300; line-height: 1.4;
}
.lx-tl-node.active .lx-tl-label { color: var(--text-dim); }

.lx-tl-detail {
  margin-top: 16px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 16px;
  padding: 16px; display: none; animation: lxFadeIn 0.3s ease;
}
@media (min-width:640px) { .lx-tl-detail { padding: 20px; } }
.lx-tl-detail.active { display: block; }
.lx-tl-detail h4 {
  font-family: var(--serif); font-size: 18px; font-weight: 700;
  color: var(--primary); margin-bottom: 12px;
}
@media (min-width:640px) { .lx-tl-detail h4 { font-size: 20px; } }
.lx-tl-detail p {
  font-size: 15px; color: var(--text-dim); line-height: 1.7;
}
@media (min-width:640px) { .lx-tl-detail p { font-size: 16px; } }

/* === MEDIA LOGO WALL === */
.lx-media-wall {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}

.lx-media-logo {
  padding: 8px 12px; text-align: center;
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 8px;
  transition: all 0.2s; cursor: default;
  flex: 0 0 auto;
}
.lx-media-logo:hover { background: var(--bg-tinted); }
.lx-media-logo-name {
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  letter-spacing: 0.02em; transition: color 0.2s;
  line-height: 24px;
}
.lx-media-logo:hover .lx-media-logo-name { color: var(--text-dim); }
.lx-media-logo-event { display: none; }

/* Collapsible media links */
.lx-media-links-toggle {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: none; border: none; color: var(--text-muted);
  font-size: 13px; cursor: pointer; padding: 12px 0;
  font-family: var(--sans); transition: color 0.2s;
  margin: 16px auto 0;
}
.lx-media-links-toggle:hover { color: var(--primary); }
.lx-media-links-toggle svg { transition: transform 0.3s; }
.lx-media-links.open .lx-media-links-toggle svg { transform: rotate(180deg); }

.lx-media-links-list {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
}
.lx-media-links.open .lx-media-links-list { max-height: 600px; }

.lx-media-link-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,0.04);
}
.lx-media-link-item:last-child { border-bottom: none; }
.lx-media-link-text { font-size: 13px; color: var(--text-dim); }
.lx-media-link-item a {
  font-size: 13px; color: var(--primary); text-decoration: none;
  border-bottom: 1px solid rgba(60,52,137,0.3);
}
.lx-media-link-item a:hover { border-bottom-color: var(--primary); }

/* === DOUBAN CARD === */
.lx-douban {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 20px 16px;
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width:640px) {
  .lx-douban { grid-template-columns: 120px 1fr; gap: 24px; padding: 24px 24px; }
}
.lx-douban-score {
  text-align: center;
}
.lx-douban-num {
  font-family: var(--serif); font-size: 56px; font-weight: 800;
  color: var(--primary); line-height: 1;
}
@media (min-width:640px) { .lx-douban-num { font-size: 64px; } }
.lx-douban-label { font-size: 13px; color: var(--text-muted); margin-top: 8px; }
.lx-douban-book {
  font-family: var(--serif); font-size: 16px; font-weight: 700;
  color: var(--text); margin-top: 12px;
}
.lx-douban-quotes { display: flex; flex-direction: column; gap: 14px; }
.lx-douban-q {
  background: rgba(60,52,137,0.03); border-left: 2px solid var(--primary);
  border-radius: 0 12px 12px 0; padding: 16px 20px;
  font-size: 14px; color: var(--text); line-height: 1.7;
  font-style: italic;
}
@media (min-width:640px) { .lx-douban-q { font-size: 15px; } }
.lx-douban-q cite {
  display: block; font-size: 12px; color: var(--text-muted);
  font-style: normal; margin-top: 8px;
}

/* === TESTIMONIALS GRID === */
.lx-review-filters {
  display: flex; gap: 6px; flex-wrap: nowrap; overflow-x: auto;
  padding-bottom: 4px; margin-bottom: 14px;
  scrollbar-width: none;
}
.lx-review-filters::-webkit-scrollbar { display: none; }
.lx-review-filter {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: 20px; padding: 4px 12px;
  font-size: 12px; font-weight: 500; cursor: pointer;
  transition: all 0.2s; white-space: nowrap;
  color: var(--text-dim); font-family: var(--sans);
}
.lx-review-filter:hover { border-color: var(--border-hover); color: var(--text); }
.lx-review-filter.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.lx-review-grid {
  display: grid; grid-template-columns: 1fr; gap: 10px;
}
@media (min-width:640px) { .lx-review-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

.lx-review-card {
  background: var(--bg-alt, #F8F6F3); border-radius: 18px;
  padding: 16px; border-left: 3px solid var(--primary);
  transition: all 0.22s ease;
}
@media (min-width:640px) { .lx-review-card { padding: 20px; } }
.lx-review-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 24px rgba(60,52,137,0.08);
  transform: translateY(-3px);
}
.lx-review-card.hidden { display: none; }

.lx-rc-scene {
  display: inline-block; background: var(--primary-bg);
  color: var(--primary); padding: 4px 12px;
  border-radius: 8px; font-size: 12px; font-weight: 600;
  margin-bottom: 12px;
}
.lx-rc-text {
  font-size: 15px; line-height: 1.85; color: var(--text);
  font-style: italic; margin-bottom: 14px;
}
.lx-rc-author { font-size: 13px; color: var(--text-muted); }
.lx-rc-author strong { color: var(--primary); font-weight: 600; }

/* === FINAL CTA === */
.lx-final-cta {
  border: 1px solid var(--border); border-radius: 20px;
  padding: 28px 20px; text-align: center;
  background: linear-gradient(135deg, rgba(60,52,137,0.06) 0%, rgba(60,52,137,0.02) 100%);
  position: relative; overflow: hidden;
}
@media (min-width:640px) { .lx-final-cta { padding: 36px 32px; } }
@media (min-width:768px) { .lx-final-cta { padding: 44px 40px; } }

.lx-final-cta::before {
  content: ''; position: absolute; top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(60,52,137,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* === STICKY CTA === */
.lx-sticky-pc {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; display: none;
}
.lx-sticky-pc.show { display: block; }
.lx-sticky-mobile {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none;
  background: rgba(252,252,250,0.95); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border); padding: 10px 14px;
}
.lx-sticky-mobile.show { display: flex; }
.lx-sticky-mobile a,
.lx-sticky-mobile button {
  flex: 1; text-align: center; padding: 12px; border-radius: 999px;
  font-size: 14px; font-weight: 500; border: none; cursor: pointer;
  text-decoration: none; font-family: var(--sans);
}
.lx-sticky-mobile a {
  background: var(--primary); color: #fff; margin-right: 8px;
}
.lx-sticky-mobile button {
  background: transparent; border: 1px solid var(--primary); color: var(--primary);
}
@media (max-width:768px) { .lx-sticky-pc { display: none !important; } }
@media (min-width:769px) { .lx-sticky-mobile { display: none !important; } }

/* === CONTACT MODAL (homepage variant) === */
.contact-modal-overlay {
  position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.6);
  display: none; align-items: center; justify-content: center; padding: 16px;
  animation: lxFadeIn 0.2s ease;
}
.contact-modal-overlay.active { display: flex; }
.contact-modal {
  background: #fff; border-radius: 20px; width: 100%; max-width: 520px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3); padding: 32px 28px 28px;
  position: relative; animation: lxSlideUp 0.25s ease;
}
.contact-modal .cm-close {
  position: absolute; top: 16px; right: 20px; font-size: 28px; line-height: 1;
  color: #999; cursor: pointer; background: none; border: none; padding: 0;
}
.contact-modal .cm-close:hover { color: #333; }
.contact-modal .cm-title { font-size: 22px; font-weight: 700; color: #1E1E2A; margin-bottom: 6px; }
.contact-modal .cm-subtitle { font-size: 14px; color: #888780; margin-bottom: 28px; }
.contact-modal .cm-field { margin-bottom: 20px; }
.contact-modal .cm-field label { display: block; font-size: 14px; font-weight: 500; color: #2C2C2A; margin-bottom: 8px; }
.contact-modal .cm-field label .required { color: #C94F7C; }
.contact-modal .cm-field input,
.contact-modal .cm-field textarea {
  width: 100%; padding: 12px 16px; border: 1px solid #E6E4DC; border-radius: 12px;
  background: #FCFCFA; font-size: 14px; color: #1E1E2A; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s; font-family: inherit;
}
.contact-modal .cm-field input:focus,
.contact-modal .cm-field textarea:focus {
  border-color: #3C3489; box-shadow: 0 0 0 3px rgba(60,52,137,0.12);
}
.contact-modal .cm-field input::placeholder,
.contact-modal .cm-field textarea::placeholder { color: #B8B4AC; }
.contact-modal .cm-field textarea { resize: none; }
.contact-modal .cm-submit {
  width: 100%; padding: 14px; border: none; border-radius: 60px;
  background: linear-gradient(135deg, #3C3489 0%, #6F63D9 100%); color: #fff;
  font-size: 16px; font-weight: 600; cursor: pointer; transition: opacity 0.2s;
  font-family: inherit;
}
.contact-modal .cm-submit:hover { opacity: 0.92; }
.contact-modal .cm-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.contact-modal .cm-footer { text-align: center; margin-top: 16px; font-size: 13px; color: #A89880; }
.contact-modal .cm-success { text-align: center; padding: 20px 0; }
.contact-modal .cm-success .cm-icon { font-size: 48px; margin-bottom: 12px; }
.contact-modal .cm-success .cm-ok { font-size: 17px; font-weight: 600; color: #1E1E2A; margin-bottom: 6px; }
.contact-modal .cm-success .cm-note { font-size: 14px; color: #888780; }

/* === SCROLL HEADER === */
.site-header { transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }

/* Reading progress bar */
#readingProgress { background: linear-gradient(90deg, var(--primary), var(--primary-light)) !important; }
#backToTop { background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important; color: #fff !important; }
/* 首页：回到顶部按钮上移，避开右下角 Sticky CTA */
@media (min-width:769px) {
  #backToTop { bottom: 84px !important; right: 24px !important; }
}
@media (max-width:768px) {
  #backToTop { bottom: 72px !important; right: 16px !important; }
}

/* === ANIMATIONS === */
@keyframes lxFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes lxSlideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.2); }

/* === SELECTION === */
::selection { background: rgba(60,52,137,0.3); color: #fff; }

/* === RESPONSIVE === */
@media (max-width:768px) {
  .lx-hero { padding: 16px 0; text-align: center; }
  .lx-hero-badge { display: inline-block; }
  .lx-hero-tags { justify-content: center; }
  .lx-hero-tag--primary { display: inline-block; margin-left: auto; margin-right: auto; }
  .lx-hero-subtitle { margin-left: auto; margin-right: auto; }
  .lx-hero-facts { margin-left: auto; margin-right: auto; }
  .lx-hero-cta { justify-content: center; }
  .lx-timeline-line { display: none; }
  .lx-tl-node { min-width: 100px; }
  .lx-pain-grid { grid-template-columns: 1fr; }
  .lx-final-cta { padding: 24px 16px; border-radius: 16px; }
  .lx-article-grid { grid-template-columns: repeat(2,1fr) }
}
/* === 文章入口 === */
.lx-article-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 767px) { .lx-article-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
.lx-article-card {
  background: linear-gradient(180deg, #FFFFFF 0%, #FCFBFF 100%);
  border: 1px solid var(--border); border-radius: 12px;
  padding: 12px 10px; transition: all 0.3s ease;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.lx-article-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.lx-article-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.lx-article-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 4px; font-size: 12px; line-height: 1.4; }
.lx-article-list li a { color: var(--text); text-decoration: none; font-weight: 500; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-article-list li a:hover { color: var(--primary); }
.lx-article-list li span { color: var(--text-muted); font-size: 10px; white-space: nowrap; flex-shrink: 0; }
@media (max-width: 767px) {
  .lx-article-card { padding: 10px 8px; border-radius: 10px; }
  .lx-article-list { gap: 6px; }
  .lx-article-list li { font-size: 11px; }
  .lx-article-list li span { font-size: 10px; }
  .lx-quote-card { font-size:18px; padding:18px 16px; }
  .lx-cta-row { flex-direction: column !important; align-items: stretch !important; }
  .lx-cta-row a, .lx-cta-row button { width: 100%; min-width: auto !important; }
}
/* === 进攻型策略新增组件 === */
.lx-action-card{border-top:3px solid var(--primary)}
.lx-action-direction{margin-top:16px;padding:12px 14px;border-radius:12px;background:var(--primary-bg);color:var(--primary);font-size:13px;font-weight:600;line-height:1.6}
.lx-push-tags{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.lx-push-tag{flex:1 1 150px;background:#fff;border:1px solid var(--border);border-radius:14px;padding:16px 18px;transition:all 0.3s ease}
.lx-push-tag:hover{border-color:var(--border-hover);box-shadow:var(--shadow-md)}
.lx-push-tag strong{display:block;color:var(--primary);font-size:15px;margin-bottom:6px}
.lx-push-tag span{display:block;color:var(--text-dim);font-size:13px;line-height:1.6}
.lx-action-grid{display:grid;grid-template-columns:1fr;gap:16px}
@media(min-width:768px){.lx-action-grid{grid-template-columns:repeat(3,1fr)}}
.lx-action-card-inner{background:var(--bg-card);border:1px solid var(--border);border-radius:20px;padding:24px 22px;transition:all var(--lx-ease,0.4s cubic-bezier(0.16,1,0.3,1));box-shadow:var(--shadow-sm)}
.lx-action-card-inner:hover{border-color:var(--border-hover);box-shadow:var(--shadow-lg);transform:translateY(-2px)}
.lx-action-num{font-family:var(--mono);font-size:12px;font-weight:600;color:var(--primary);margin-bottom:8px;letter-spacing:0.06em}
.lx-action-title{font-family:var(--serif);font-size:19px;font-weight:500;color:var(--text);margin-bottom:10px;line-height:1.3}
.lx-action-desc{font-size:14px;color:var(--text-dim);line-height:1.65;margin-bottom:14px}
.lx-benefit-grid{display:grid;grid-template-columns:1fr;gap:14px;margin-top:20px}
@media(min-width:640px){.lx-benefit-grid{grid-template-columns:repeat(3,1fr)}}
.lx-benefit-card{background:var(--bg-card);border:1px solid var(--border);border-radius:16px;padding:20px 18px;text-align:center;transition:all var(--lx-ease,0.4s cubic-bezier(0.16,1,0.3,1));box-shadow:var(--shadow-sm)}
.lx-benefit-card:hover{border-color:var(--border-hover);box-shadow:var(--shadow-md)}
.lx-benefit-card h4{font-family:var(--serif);font-size:17px;font-weight:600;color:var(--accent);margin-bottom:6px}
.lx-benefit-card p{font-size:13px;color:var(--text-dim);line-height:1.6}
.lx-step-row{display:grid;grid-template-columns:1fr;gap:14px;margin-top:20px}
@media(min-width:640px){.lx-step-row{grid-template-columns:repeat(3,1fr)}}
.lx-step-block{background:var(--bg-card);border:1px solid var(--border);border-radius:18px;padding:22px 20px;box-shadow:var(--shadow-sm);transition:all var(--lx-ease,0.4s cubic-bezier(0.16,1,0.3,1))}
.lx-step-block:hover{border-color:var(--border-hover);box-shadow:var(--shadow-md)}
.lx-step-block .lx-step-num{font-family:var(--mono);font-size:12px;font-weight:600;color:var(--primary);margin-bottom:6px;letter-spacing:0.06em}
.lx-step-block h4{font-family:var(--serif);font-size:18px;font-weight:500;color:var(--text);margin-bottom:8px}
.lx-step-block p{font-size:13px;color:var(--text-dim);line-height:1.65;margin-bottom:10px}
.lx-step-block .lx-step-dir{font-size:12px;color:var(--primary);font-weight:600;padding-top:10px;border-top:1px solid var(--border)}

/* === Scoped Matrix Card Interaction Styles === */
.lx-matrix-card {
  position: relative;
  background-color: #ffffff;
  border: 1px solid #E6E4DC;
  border-radius: 16px;
  padding: 24px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 768px) {
  .lx-matrix-card { padding: 28px; }
}
.lx-matrix-card:hover {
  border-color: #3C3489;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(60, 52, 137, 0.03);
}
.lx-matrix-card.open {
  background-color: #FAF9FF !important;
  border-color: #3C3489 !important;
  box-shadow: 0 16px 48px rgba(60, 52, 137, 0.05);
}
.lx-matrix-card .lx-state-card-detail {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.lx-matrix-card.open .lx-state-card-detail {
  display: block;
  max-height: 500px;
  opacity: 1;
  margin-top: 20px;
}
