/* ==========================================================================
   gandehao.cn 软件案例详情页专属样式 · anli-ruanjian.css
   依赖：global.css
   独有签名：改版前后双列对照 Hero + 三条文案原则
   ========================================================================== */

/* Hero */
.ar-hero { background: linear-gradient(150deg, var(--c-white), var(--c-mint)); padding: clamp(60px, 8vw, 100px) 0 clamp(50px, 6vw, 80px); }
.ar-crumb { margin-bottom: 16px; }
.ar-h1 { font-size: clamp(30px, 4.2vw, 46px); margin: 12px 0 14px; line-height: 1.32; }
.ar-sub { color: var(--c-muted); font-size: 16px; line-height: 1.9; max-width: 720px; }

/* 改版前后对照 */
.ar-compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; margin-top: 36px; }
.ar-side { border-radius: var(--r-xl); padding: 28px 26px; box-shadow: var(--sh-sm); }
.ar-before { background: #F1F0EE; border: 1px solid #E2E0DC; }
.ar-after { background: var(--c-white); border: 1px solid var(--c-line); box-shadow: var(--sh-md); border-top: 5px solid var(--c-green); }
.ar-side-tag {
  display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: 1px;
  padding: 4px 14px; border-radius: var(--r-pill);
}
.ar-before .ar-side-tag { background: #E4DFD8; color: #8A7E6E; }
.ar-after .ar-side-tag { background: var(--c-green-soft); color: var(--c-green-deep); }
.ar-side h3 { font-size: 18px; margin: 14px 0 10px; }
.ar-side ul { display: grid; gap: 8px; }
.ar-side li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.75; color: var(--c-muted); }
.ar-before li::before { content: "×"; position: absolute; left: 0; color: #C0564A; font-weight: 800; }
.ar-after li::before { content: "✓"; position: absolute; left: 0; color: var(--c-green-deep); font-weight: 800; }
.ar-mid {
  align-self: center; width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(120deg, var(--c-green), var(--c-blue));
  color: #fff; font-weight: 800; font-size: 15px; box-shadow: var(--sh-md);
}
.ar-hero-media { margin-top: 40px; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); }
.ar-hero-media img { width: 100%; }

/* 痛点 */
.ar-pain { list-style: none; margin: 18px 0; display: grid; gap: 10px; }
.ar-pain li { position: relative; padding: 11px 16px 11px 38px; background: var(--c-blue-soft); border-radius: var(--r-md); font-size: 14.5px; }
.ar-pain li::before {
  content: ""; position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px; border-radius: 4px; background: var(--c-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/9px no-repeat;
}

/* 三条文案原则 */
.ar-principle { display: grid; gap: 16px; max-width: 860px; margin: 0 auto; }
.ar-prin {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: 22px 24px; box-shadow: var(--sh-sm);
  transition: transform .3s, box-shadow .3s;
}
.ar-prin:hover { transform: translateX(6px); box-shadow: var(--sh-md); }
.ar-prin-num {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--c-green), var(--c-blue));
  color: #fff; font-size: 20px; font-weight: 800;
}
.ar-prin h3 { font-size: 16.5px; margin-bottom: 4px; }
.ar-prin p { font-size: 14.5px; color: var(--c-muted); line-height: 1.8; }

/* 客户评价 */
.ar-quote {
  max-width: 860px; margin: 0 auto; background: var(--c-white);
  border-left: 5px solid var(--c-blue); border-radius: var(--r-lg);
  padding: 30px 32px; box-shadow: var(--sh-sm);
}
.ar-quote p { font-size: 16.5px; line-height: 2; }
.ar-quote-who { margin-top: 16px; font-size: 14px; color: var(--c-blue-deep); font-weight: 700; }

/* 相关案例 */
.ar-rel-card { display: block; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); transition: transform .3s, box-shadow .3s; }
.ar-rel-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.ar-rel-media { height: 150px; overflow: hidden; }
.ar-rel-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ar-rel-card:hover .ar-rel-media img { transform: scale(1.06); }
.ar-rel-more { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--c-green-soft), var(--c-blue-soft)); text-align: center; font-size: 16px; font-weight: 800; color: var(--c-green-deep); line-height: 1.7; }
.ar-rel-card h3 { font-size: 16px; margin: 14px 18px 4px; }
.ar-rel-card p { font-size: 13.5px; color: var(--c-muted); padding: 0 18px 18px; }

/* 响应式 */
@media (max-width: 900px) {
  .ar-compare { grid-template-columns: 1fr; }
  .ar-mid { margin: 0 auto; }
}
