/* ============================================================
   即刻智能 · 客户案例页共享样式（cases/case.css）
   v2：与官网主页统一的暗色科技风
   品牌色 #0071E3 / #4DA3FF · 背景 #050508 · 玻璃拟态面板
   ============================================================ */
:root {
  --bg: #050508;
  --bg2: #0a0a14;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-hi: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.1);
  --blue: #0071E3;
  --blue2: #4DA3FF;
  --orange: #FF6B00;
  --txt: #e8ecf4;
  --strong: #ffffff;
  --dim: rgba(255, 255, 255, 0.62);
  --dim2: rgba(255, 255, 255, 0.42);
  --grad: linear-gradient(90deg, #4DA3FF, #0071E3);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: var(--bg);
  color: var(--txt);
  line-height: 1.85;
  font-size: 15px;
}
img, video { max-width: 100%; }
a { color: var(--blue2); text-decoration: none; }
a:hover { color: #7db9ff; }
:focus-visible { outline: 2px solid var(--blue2); outline-offset: 2px; border-radius: 4px; }
.skip { position: fixed; top: -60px; left: 16px; z-index: 99; padding: 10px 18px; border-radius: 8px; background: var(--blue); color: #fff; font-weight: 600; transition: top .2s; }
.skip:focus-visible { top: 12px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 与首页一致的导航（fixed，滚动变玻璃拟态） ---------- */
.jk-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: transparent; transition: background .5s, box-shadow .5s; }
.jk-nav.scrolled { background: rgba(5, 5, 8, 0.9); backdrop-filter: blur(24px); box-shadow: 0 4px 30px rgba(0, 113, 227, 0.15); }
.jk-nav-line {
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px; opacity: 0;
  background: linear-gradient(90deg, transparent, #0071E3, transparent);
  box-shadow: none; transition: opacity .5s, box-shadow .5s;
}
.jk-nav.scrolled .jk-nav-line { opacity: 1; box-shadow: 0 0 20px rgba(0, 113, 227, 0.5); }
.jk-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 5vw; max-width: 1600px; margin: 0 auto; transition: height .5s;
}
.jk-nav.scrolled .jk-nav-inner { height: 56px; }
.jk-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.jk-logo img { height: 32px; width: auto; }
.jk-menu { display: none; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.jk-link {
  position: relative; font-size: 0.85rem; font-weight: 500; letter-spacing: .025em;
  color: rgba(255, 255, 255, 0.6); min-height: 44px; display: inline-flex; align-items: center;
  transition: color .3s;
}
.jk-link:hover, .jk-link:focus-visible { color: #0071E3; }
.jk-uline {
  position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%);
  height: 2px; width: 0; background: #0071E3; border-radius: 999px; transition: width .3s;
}
.jk-link:hover .jk-uline, .jk-link:focus-visible .jk-uline { width: 100%; }
.jk-right { display: flex; align-items: center; gap: 12px; }
.jk-cta {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px;
  padding: 10px 24px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; color: #fff !important;
  background: linear-gradient(135deg, #0071E3 0%, #0066CC 100%);
  box-shadow: 0 4px 20px rgba(0, 113, 227, 0.3); transition: box-shadow .3s, transform .3s;
}
.jk-cta:hover { box-shadow: 0 6px 26px rgba(0, 113, 227, 0.45); transform: translateY(-1px); }
.jk-burger { display: inline-flex; flex-direction: column; gap: 6px; padding: 10px 8px; background: none; border: 0; cursor: pointer; min-width: 44px; align-items: center; }
.jk-burger span { width: 20px; height: 2px; background: #fff; transition: transform .3s, opacity .3s; }
.jk-burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.jk-burger.open span:nth-child(2) { opacity: 0; }
.jk-burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.jk-mobile {
  position: absolute; top: 100%; left: 0; right: 0; max-height: 0; opacity: 0; overflow: hidden;
  background: rgba(5, 5, 8, 0.95); backdrop-filter: blur(20px); transition: max-height .3s, opacity .3s;
}
.jk-mobile.open { max-height: 420px; opacity: 1; }
.jk-mobile-in { display: flex; flex-direction: column; gap: 12px; padding: 20px 24px 24px; }
.jk-mobile-in a {
  color: rgba(255, 255, 255, 0.7); font-size: 14px; font-weight: 500;
  padding: 8px 0; min-height: 40px; display: flex; align-items: center; transition: color .3s;
}
.jk-mobile-in a:hover { color: #0071E3; }
.jk-mobile-cta {
  margin-top: 8px; justify-content: center; border-radius: 999px; color: #fff !important; font-weight: 600;
  background: linear-gradient(135deg, #0071E3, #0066CC); padding: 12px 0 !important;
}
@media (min-width: 1024px) {
  .jk-menu { display: flex; }
  .jk-burger, .jk-mobile { display: none; }
}
@media (max-width: 1023.5px) {
  .jk-cta { display: none; }
}

/* ---------- 文章主体 ---------- */
.cs-main { max-width: 860px; margin: 0 auto; padding: 130px 20px 80px; }
.crumb { font-size: 12px; color: var(--dim2); margin-bottom: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumb a { color: var(--dim2); }
.crumb a:hover { color: var(--blue2); }
.crumb b { color: var(--dim); font-weight: 500; }
.crumb i { color: var(--dim2); font-style: normal; }
.cs-article h1 {
  font-size: clamp(24px, 4.2vw, 36px); line-height: 1.35; letter-spacing: -.4px; font-weight: 800;
  background: linear-gradient(90deg, #ffffff, #bcd8ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cs-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 20px 0 4px; font-size: 12px; color: var(--dim); }
.cs-meta time { color: var(--dim2); }
.chip {
  background: rgba(0, 113, 227, .12); color: var(--blue2);
  border: 1px solid rgba(0, 113, 227, .3);
  border-radius: 999px; padding: 3px 12px; font-size: 12px;
}
.chip.soft { background: var(--panel); border-color: var(--line); color: var(--dim); }
.cs-lead {
  font-size: 16px; color: var(--dim); margin-top: 20px;
  background: linear-gradient(90deg, rgba(0, 113, 227, .12), rgba(77, 163, 255, .04));
  border-left: 3px solid var(--blue); border-radius: 0 12px 12px 0;
  padding: 16px 20px;
}
.cs-cover { margin: 28px 0; }
.cs-cover img { width: 100%; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 16px 50px rgba(0, 0, 0, .5); }
.cs-content { margin-top: 14px; font-size: 15.5px; color: #d4dae6; }

/* 标题层级：主标题带渐变竖条，与主页区块节奏一致 */
.cs-content h2, .cs-article h2 {
  position: relative; font-size: 22px; margin: 40px 0 16px; padding-left: 14px;
  color: #fff; letter-spacing: -.2px; font-weight: 700;
}
.cs-content h2::before {
  content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px;
  border-radius: 4px; background: var(--grad);
}
.cs-content h3 { font-size: 18px; margin: 28px 0 12px; color: #fff; }
.cs-content h4 { font-size: 15.5px; margin: 20px 0 8px; color: #eef2f9; }
.cs-content p { margin: 12px 0; }
.cs-content a { border-bottom: 1px dashed rgba(77, 163, 255, .5); }
.cs-content ul, .cs-content ol { padding-left: 26px; margin: 12px 0; }
.cs-content li { margin: 7px 0; }
.cs-content li::marker { color: var(--blue2); }
.cs-content blockquote {
  border-left: 3px solid var(--blue2);
  background: var(--panel); border-radius: 0 12px 12px 0;
  padding: 14px 20px; margin: 18px 0; color: var(--dim);
  font-style: normal;
}
.cs-content img { border-radius: 12px; margin: 12px 0; border: 1px solid var(--line); }
.cs-content figure { margin: 22px 0; text-align: center; }
.cs-content figcaption { font-size: 12px; color: var(--dim2); margin-top: 10px; }
.cs-content video { border-radius: 14px; background: #000; border: 1px solid var(--line); box-shadow: 0 10px 36px rgba(0, 0, 0, .5); }
.cs-content table {
  border-collapse: collapse; width: 100%; margin: 20px 0; font-size: 14px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.cs-content th, .cs-content td { border-bottom: 1px solid var(--line); padding: 11px 16px; text-align: left; }
.cs-content th { background: rgba(0, 113, 227, .1); color: #fff; font-weight: 600; white-space: nowrap; }
.cs-content tr:last-child td { border-bottom: 0; }
.cs-content tr:hover td { background: rgba(255, 255, 255, .03); }
.cs-content hr { border: 0; border-top: 1px dashed rgba(255, 255, 255, .18); margin: 30px 0; }
.cs-content strong { color: #fff; }
.cs-content .callout {
  background: rgba(255, 107, 0, .08); border: 1px solid rgba(255, 107, 0, .3);
  border-radius: 12px; padding: 14px 18px; margin: 18px 0; color: #ffd9bd; font-size: 14.5px;
}

/* ---------- 关于 / 相关链接（渐变品牌横幅） ---------- */
.cs-about {
  margin-top: 56px; border-radius: 20px; padding: 32px 32px 36px;
  background:
    radial-gradient(500px 240px at 15% 0%, rgba(0, 113, 227, .18), transparent 60%),
    linear-gradient(135deg, #0a0f1a, #101a2e);
  border: 1px solid var(--line); color: #dfe6f2;
}
.cs-about h2 { color: #fff; font-size: 18px; margin-bottom: 12px; }
.cs-about p { font-size: 13px; color: #aeb9cc; }
.cs-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 24px; }
.cs-links a {
  color: #cfe4ff; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px;
  padding: 7px 16px; font-size: 13px; min-height: 36px; display: inline-flex; align-items: center;
  transition: background .2s, border-color .2s;
}
.cs-links a:hover { background: rgba(0, 113, 227, .18); border-color: rgba(77, 163, 255, .5); }
.cs-about .btn {
  display: inline-flex; align-items: center; min-height: 46px; padding: 12px 26px;
  border-radius: 999px; background: var(--grad); color: #fff; font-weight: 600;
  box-shadow: 0 6px 22px rgba(0, 113, 227, .45); transition: transform .2s, box-shadow .2s;
}
.cs-about .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0, 113, 227, .55); }

/* ---------- 案例中心列表 ---------- */
.ci-title {
  font-size: clamp(24px, 4vw, 34px); letter-spacing: -.4px; font-weight: 800;
  background: linear-gradient(90deg, #ffffff, #bcd8ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ci-sub { color: var(--dim); margin: 12px 0 36px; }
.ci-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.ci-card {
  display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.ci-card:hover {
  transform: translateY(-4px); border-color: rgba(0, 113, 227, .4);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
}
.ci-cover {
  aspect-ratio: 16/9;
  background:
    radial-gradient(300px 140px at 30% 20%, rgba(0, 113, 227, .18), transparent 60%),
    linear-gradient(135deg, #0b1220, #101a2e);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.ci-cover img { width: 100%; height: 100%; object-fit: cover; }
.ci-ph { color: #5f7ba6; font-size: 14px; letter-spacing: 3px; }
.ci-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ci-meta { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--dim2); flex-wrap: wrap; }
.ci-card h2 { font-size: 17px; color: #fff; line-height: 1.5; font-weight: 700; }
.ci-card p { font-size: 13px; color: var(--dim); flex: 1; }
.ci-more { font-size: 13px; color: var(--blue2); font-weight: 600; }
.ci-card:hover .ci-more { color: #7db9ff; }
.ci-empty { grid-column: 1/-1; text-align: center; padding: 60px 20px; color: var(--dim); background: var(--panel); border: 1px dashed var(--line); border-radius: 16px; }

/* ---------- Footer ---------- */
.cs-footer { border-top: 1px solid var(--line); background: #030306; padding: 26px 5vw; text-align: center; font-size: 13px; color: var(--dim2); }
.cs-footer a { color: var(--dim); }
.cs-footer a:hover { color: var(--blue2); }

/* ---------- 案例页 FAQ ---------- */
.cs-faq { margin: 32px 0 8px; }
.cs-faq h2 { font-size: 20px; color: var(--strong); margin: 0 0 16px; font-weight: 700; }
.cs-faq-item { border: 1px solid var(--line); background: var(--panel); border-radius: 12px; margin-bottom: 10px; overflow: hidden; transition: border-color .25s; }
.cs-faq-item[open] { border-color: rgba(77, 163, 255, .35); }
.cs-faq-item summary { cursor: pointer; padding: 15px 46px 15px 18px; font-size: 15px; font-weight: 600; color: var(--strong); list-style: none; position: relative; }
.cs-faq-item summary::-webkit-details-marker { display: none; }
.cs-faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--blue2); font-size: 20px; line-height: 1; transition: transform .25s; }
.cs-faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.cs-faq-item p { margin: 0; padding: 0 18px 16px; font-size: 14px; color: var(--dim); line-height: 1.85; }
