/* =========================================================
   案例中心 V1.0
========================================================= */

html{scroll-behavior:smooth}

.cases-hero{
  background:
    radial-gradient(circle at 8% 28%,rgba(66,148,255,.08),transparent 34%),
    linear-gradient(180deg,#fbfdff 0%,#f4f8ff 100%);
  padding:30px 0 34px;
}

.cases-hero-grid{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:60px;
  align-items:center;
  min-height:410px;
}

.hero-copy{max-width:800px}

.eyebrow{
  font-size:12px;
  letter-spacing:4.2px;
  color:#6a8fca;
  font-weight:800;
  margin-bottom:17px;
}

.hero-copy h1{
  margin:0;
  color:#081325;
  font-size:58px;
  line-height:1.12;
  letter-spacing:-1.2px;
  font-weight:900;
}

.hero-lead{
  margin:22px 0 10px;
  max-width:760px;
  color:#5e6f87;
  font-size:18px;
  line-height:1.9;
}

.hero-lead strong{
  color:#294a76;
  font-weight:800;
}

.hero-note{
  margin:0;
  color:#7b899d;
  font-size:14px;
  line-height:1.8;
}

.hero-actions{
  display:flex;
  gap:14px;
  margin-top:24px;
  flex-wrap:wrap;
}

.hero-actions .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:48px;
  padding:0 24px;
  border-radius:10px;
  font-weight:750;
  border:1px solid transparent;
}

.hero-actions .btn.primary{
  background:linear-gradient(135deg,#3c439f,#292e76);
  color:#fff;
  box-shadow:0 10px 24px rgba(18,92,205,.18);
}

.hero-trust{
  display:flex;
  gap:20px;
  margin-top:19px;
  flex-wrap:wrap;
  color:#74849b;
  font-size:12px;
}

.hero-trust span{
  position:relative;
  padding-left:13px;
}

.hero-trust span::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:6px;
  height:6px;
  border-radius:50%;
  background:#30358d;
  transform:translateY(-50%);
}

.hero-panel{
  justify-self:end;
  width:100%;
  max-width:600px;
  padding:24px;
  border:1px solid #e0e9f4;
  border-radius:20px;
  background:rgba(255,255,255,.9);
  box-shadow:0 20px 55px rgba(22,55,98,.09);
}

.panel-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:14px}
.panel-title{
  color:#19385f;
  font-size:18px;
  font-weight:800;
}
.panel-count{color:#808ba3;font-size:11px;white-space:nowrap}
.panel-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:300px;overflow-y:auto;padding-right:7px;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#a8aed5 #f1f2f9}
.panel-list:focus-visible{outline:3px solid #f7941d;outline-offset:3px}

.panel-row{
  display:grid;
  grid-template-columns:25px minmax(0,1fr);
  gap:8px;
  align-items:center;
  min-height:88px;
  padding:10px;
  border:1px solid #e9eef5;
  border-radius:11px;
  background:#f9fbfe;
}
.panel-row:hover{border-color:#c9cce6;background:#f0f0fa}
.panel-row > div{min-width:0}

.panel-row > span{
  color:#30358d;
  font-size:11px;
  font-weight:800;
}

.panel-row strong{
  display:block;
  margin-bottom:3px;
  color:#223c5e;
  font-size:13px;
  line-height:1.4;
}

.panel-row small{
  display:block;
  color:#8794a6;
  font-size:10px;
  line-height:1.5;
}


/* Filter */

.case-filter{
  padding:12px 0;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid #edf1f6;
}

.filter-row{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.filter-btn{
  padding:9px 14px;
  border:1px solid #dde6f1;
  border-radius:999px;
  background:#fff;
  color:#5f7087;
  font-family:inherit;
  font-size:12px;
  cursor:pointer;
}

.filter-btn.active,
.filter-btn:hover{
  color:#30358d;
  background:#edf4ff;
  border-color:#cfe0f6;
}


/* Cases */

.case-list{
  padding:48px 0 52px;
  background:#fff;
}

.section-head{
  margin-bottom:22px;
}

.section-head .eyebrow{margin-bottom:7px}

.section-head h2{
  margin:0;
  color:#0d1d3b;
  font-size:34px;
  letter-spacing:-.4px;
}

.section-head p{
  margin:8px 0 0;
  color:#7d889b;
  font-size:15px;
}

.case-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.case-card{
  display:flex;
  flex-direction:column;
  min-height:430px;
  padding:24px;
  border:1px solid #e4ebf4;
  border-radius:17px;
  background:#fff;
  box-shadow:0 8px 24px rgba(24,55,96,.05);
  transition:.22s ease;
}

.case-card:hover{
  transform:translateY(-4px);
  border-color:#cfdced;
  box-shadow:0 18px 38px rgba(24,55,96,.10);
}

.case-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:18px;
}

.case-type{
  padding:6px 10px;
  border-radius:999px;
  background:#edf4ff;
  color:#30358d;
  font-size:11px;
  font-weight:800;
}

.case-no{
  color:#a1b2c8;
  font-size:11px;
  font-weight:800;
  letter-spacing:1px;
}

.case-card h3{
  margin:0 0 11px;
  color:#112244;
  font-size:20px;
  line-height:1.45;
}

.case-summary{
  margin:0 0 17px;
  color:#6d7b90;
  font-size:13.5px;
  line-height:1.75;
}

.case-path{
  border-top:1px solid #edf1f6;
}

.case-path > div{
  display:grid;
  grid-template-columns:54px 1fr;
  gap:10px;
  padding:10px 0;
  border-bottom:1px solid #edf1f6;
}

.case-path b{
  color:#30358d;
  font-size:12px;
}

.case-path span{
  color:#60728a;
  font-size:12px;
  line-height:1.5;
}

.case-result{
  margin-top:15px;
  padding:13px 14px;
  border-radius:11px;
  background:#f5f9fe;
}

.case-result span{
  display:block;
  margin-bottom:4px;
  color:#30358d;
  font-size:10px;
  font-weight:800;
}

.case-result strong{
  color:#3c5678;
  font-size:13px;
  line-height:1.5;
}

.case-card > a{
  margin-top:auto;
  padding-top:18px;
  color:#30358d;
  font-size:13px;
  font-weight:800;
}


@media(max-width:1180px){
  .cases-hero-grid{grid-template-columns:1fr;min-height:auto}
  .hero-panel{justify-self:start}
  .case-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:860px){
  .cases-hero{padding:24px 0 30px}
  .hero-copy h1{font-size:42px}
  .hero-lead{font-size:17px}
  .case-list{padding:40px 0}
  .case-grid{grid-template-columns:1fr}
  .case-card{min-height:auto}
}

@media(max-width:540px){
  .panel-list{grid-template-columns:1fr;max-height:280px}
  .panel-row{min-height:68px}
  .panel-row strong{font-size:14px}
  .panel-row small{font-size:11px}
}
