/* 按钮 */
.btn {
  display: inline-block; padding: 0 22px; height: 46px; line-height: 46px;
  border-radius: var(--radius-pill); font-size: 15px; font-weight: 500;
  cursor: pointer; border: 1px solid transparent; text-align: center;
  transition: transform .18s var(--ease-out), box-shadow .18s ease, background .2s ease, opacity .2s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--color-primary); color: #fff; box-shadow: 0 6px 18px -6px rgba(0,113,227,.5); }
.btn--primary:hover { background: var(--color-primary-hover); transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--color-primary); border-color: var(--color-primary); }
.btn--ghost:hover { background: rgba(0,113,227,.06); }
.btn--lg { height: 52px; line-height: 52px; padding: 0 28px; font-size: 16px; }
.btn--sm { height: 36px; line-height: 36px; padding: 0 16px; font-size: 13px; }

/* 卡片 */
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 34px 30px; box-shadow: var(--shadow-sm); transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; }
.card:hover { box-shadow: var(--shadow-md); border-color: rgba(0,113,227,.35); transform: translateY(-4px); }
.card__title { font-size: 19px; margin: 0 0 10px; color: var(--color-text); font-weight: 600; }
.card__body { color: var(--color-text-soft); font-size: 15.5px; margin: 0; line-height: 1.65; }
.card__body + .card__body { margin-top: 12px; }
.card__link { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 500; }
.card__icon {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--gradient-brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 20px; margin-bottom: 20px;
  box-shadow: 0 8px 20px -8px rgba(0,113,227,.5);
}
.card__icon--soft { background: rgba(0,113,227,.09); color: var(--color-primary); box-shadow: none; }

/* 代码块 */
.code { background: #F5F7FA; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 18px 20px; font-family: var(--font-mono); font-size: 14px; color: var(--color-text); overflow-x: auto; white-space: pre; margin: 0 0 16px; line-height: 1.6; }

/* 步骤列表 */
.steps { counter-reset: step; }
.steps li { position: relative; padding: 14px 0 14px 46px; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--gradient-brand); color: #fff; font-size: 14px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px -4px rgba(0,113,227,.5); }
.steps li h3 { font-size: 17px; margin: 0 0 4px; }
.steps li p { margin: 0; font-size: 15px; }

/* 能力要点列表 */
.feat-list li { padding: 8px 0 8px 26px; position: relative; color: var(--color-text-soft); font-size: 15.5px; }
.feat-list li::before { content: "✓"; position: absolute; left: 0; color: var(--color-accent); font-weight: 700; }

/* 痛点/解法标签 */
.pain, .solve { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .12em; border-radius: var(--radius-pill); padding: 3px 10px; margin-bottom: 8px; }
.pain { color: #B45309; background: rgba(217,119,6,.10); }
.solve { color: var(--color-primary); background: rgba(0,113,227,.09); }

/* 用户案例 / 故事卡片 */
.story { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 40px 36px; box-shadow: var(--shadow-sm); position: relative; }
.story + .story { margin-top: 28px; }
.story__badge {
  display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--color-primary);
  background: rgba(0,113,227,.08); border-radius: var(--radius-pill); padding: 5px 14px; margin-bottom: 16px;
}
.story__title { font-size: 26px; margin: 0 0 18px; letter-spacing: -.015em; }
.story__text { color: var(--color-text-soft); font-size: 16.5px; margin: 0 0 14px; line-height: 1.75; }
.story__text:last-child { margin-bottom: 0; }
.story__high { color: var(--color-text); font-weight: 600; }

/* 案例卡片（首页） */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: stretch;
}
.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(180deg, #FFFFFF 0%, #FBFBFD 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 34px 30px 30px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.case-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
  opacity: .85;
}
.case-card::after {
  content: attr(data-num);
  position: absolute;
  right: 18px;
  top: 10px;
  font-size: 56px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.04em;
  color: rgba(0,113,227,.06);
  pointer-events: none;
}
.case-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(0,113,227,.35);
  transform: translateY(-4px);
}
.case-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.case-card__badge {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(0,113,227,.08);
  border: 1px solid rgba(0,113,227,.16);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
}
.case-card__num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--color-muted);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
}
.case-card__title {
  position: relative;
  z-index: 1;
  font-size: 21px;
  line-height: 1.4;
  margin: 0 0 14px;
  letter-spacing: -.015em;
}
.case-card__body {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.case-card__field {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 15px;
  line-height: 1.7;
}
.case-card__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--color-primary);
  margin-bottom: 4px;
}
.case-card__label::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--gradient-brand);
  margin-right: 8px;
  vertical-align: 2px;
}
@media (max-width: 720px) {
  .case-grid { grid-template-columns: 1fr; }
  .case-card { padding: 28px 22px 24px; }
}

/* 评语块 */
.quote { font-style: normal; color: var(--color-text-soft); font-size: 15.5px; line-height: 1.65; }

/* CTA 横条 */
.cta-band { background: var(--gradient-brand); border-radius: var(--radius-lg); padding: 64px 40px; color: #fff; text-align: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 200px at 50% 0%, rgba(255,255,255,.18), transparent 70%); pointer-events: none; }
.cta-band h2 { color: #fff; font-size: 34px; margin: 0 0 12px; letter-spacing: -.02em; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 18px; margin: 0 0 32px; }
.cta-band .btn { background: #fff; color: var(--color-primary); }
.cta-band .btn + .btn { margin-left: 12px; background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.cta-band .btn:hover { background: #fff; }

/* 评价头像占位 */
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--color-bg-soft); border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center; font-weight: 600; color: var(--color-primary); flex: 0 0 auto; }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review__name { font-weight: 600; color: var(--color-text); font-size: 15px; }
.review__role { font-size: 13px; color: var(--color-muted); }

/* 故事篇幅内的角色徽章（stories 页复用） */
.story__role { display: inline-block; font-size: 13px; color: var(--color-accent); font-weight: 600; margin-bottom: 6px; }
.story__point { color: var(--color-accent); font-weight: 600; }

/* AI 对话框（首屏产品视觉） */
.dialog { background: #fff; border: 1px solid var(--color-border); border-radius: 26px; box-shadow: var(--shadow-lg); overflow: hidden; text-align: left; max-width: 640px; margin: 60px auto 0; }
.dialog__bar { display: flex; align-items: center; gap: 8px; padding: 15px 22px; border-bottom: 1px solid var(--color-border); background: var(--color-bg-soft); }
.dialog__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--color-border); }
.dialog__dot--r { background: #FF5F57; }
.dialog__dot--y { background: #FEBC2E; }
.dialog__dot--g { background: #28C840; }
.dialog__title { margin-left: 8px; font-size: 13px; font-weight: 600; color: var(--color-text-soft); }
.dialog__body { padding: 32px 26px 28px; }
.dialog__q { font-size: 22px; font-weight: 600; color: var(--color-text); text-align: center; margin: 0 0 6px; letter-spacing: -.01em; }
.dialog__hint { font-size: 13.5px; color: var(--color-muted); text-align: center; margin: 0 0 22px; }
.dialog__input { display: flex; gap: 10px; align-items: center; background: var(--color-bg-soft); border: 1px solid var(--color-border); border-radius: 18px; padding: 10px 10px 10px 20px; }
.dialog__prompt { flex: 1; font-size: 15.5px; color: var(--color-text); line-height: 1.5; }
.dialog__recs { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--color-border); }
.dialog__recs-label { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--color-muted); margin-bottom: 14px; }
.dialog__recs ul { display: flex; flex-wrap: wrap; gap: 8px; }
.dialog__recs li { font-size: 13.5px; color: var(--color-text-soft); background: var(--color-bg-soft); border: 1px solid var(--color-border); border-radius: var(--radius-pill); padding: 7px 15px; }

/* 对话气泡（对话示例区） */
.chat { display: flex; flex-direction: column; gap: 16px; max-width: 680px; margin: 0 auto; }
.chat-msg { max-width: 82%; font-size: 15.5px; line-height: 1.65; padding: 14px 20px; border-radius: 22px; }
.chat-msg__label { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; margin-bottom: 6px; opacity: .75; }
.chat-msg--user { align-self: flex-end; background: var(--gradient-brand); color: #fff; border-bottom-right-radius: 6px; }
.chat-msg--agent { align-self: flex-start; background: var(--color-bg-soft); border: 1px solid var(--color-border); color: var(--color-text); border-bottom-left-radius: 6px; }

/* 执行流水线 */
.pipe { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
.pipe span { font-size: 13px; font-weight: 500; color: var(--color-text); background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-pill); padding: 6px 15px; }
.pipe i { color: var(--color-muted); font-style: normal; font-size: 14px; }

/* 结果数字卡 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { background: #fff; border: 1px solid var(--color-border); border-radius: 16px; padding: 22px 18px; text-align: center; box-shadow: var(--shadow-sm); }
.stat__label { font-size: 13px; color: var(--color-muted); margin-bottom: 8px; }
.stat__value { font-size: 30px; font-weight: 700; letter-spacing: -.02em; color: var(--color-text); }
.stat__value.up { color: #0B7A3B; }
.stat__value.down { color: #D32F2F; }

/* 术语剥离提示 */
.jargon { text-align: center; font-size: 14.5px; color: var(--color-muted); margin: 0; }
.jargon s { color: var(--color-muted); }
.jargon b { color: var(--color-primary); font-weight: 600; }

/* 子技能卡片（7 宫格） */
.skill-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.skill { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 30px 26px; box-shadow: var(--shadow-sm); transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; position: relative; }
.skill:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: rgba(0,113,227,.35); }
.skill__num { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--color-primary); margin-bottom: 12px; }
.skill__title { font-size: 18px; margin: 0 0 10px; }
.skill__text { font-size: 14.5px; color: var(--color-text-soft); line-height: 1.65; margin: 0; }
.skill__example { font-size: 13px; color: var(--color-muted); margin-top: 12px; line-height: 1.55; }

/* 移动端子技能栅格 */
@media (max-width: 720px) {
  .skill-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* 每日简报 mock */
.report { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.report__head { padding: 18px 22px; border-bottom: 1px solid var(--color-border); background: var(--color-bg-soft); font-size: 14px; font-weight: 600; color: var(--color-text); }
.report__row { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; border-bottom: 1px solid var(--color-border); font-size: 14px; }
.report__row:last-child { border-bottom: 0; }
.report__row .tag { color: var(--color-text-soft); }
.report__row b { font-weight: 600; }
.ok { color: #0B7A3B; }
.warn { color: #D97706; }
.bad { color: #D32F2F; }

/* 阴影通用的 CTA（旧样式兜底） */
.btn + .btn { margin-left: 0; }