/* 若聚凡星 V3 客户案例总览页（/case-studies/）与 25 个案例详情页统一样式（彻底清除旧版紫蓝配色割裂） */
html { scroll-behavior: smooth; }
body.rf3-v3-page,
body.rf3-v3-case-page {
  margin: 0;
  background: var(--rf3-bg);
  color: var(--rf3-ink);
  font-family: var(--rf3-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.rf3-case-main *,
.rf3-case-main *::before,
.rf3-case-main *::after { box-sizing: border-box; }
.rf3-case-main [id] { scroll-margin-top: 90px; }

/* Vertical Accent Tokens */
.rf3-case-main { --rf3-ca: #E85D1A; --rf3-ca-soft: rgba(232, 93, 26, 0.24); --rf3-ca-light: #FF945A; }
.rf3-case-main.is-geo { --rf3-ca: #0F8F83; --rf3-ca-soft: rgba(15, 143, 131, 0.26); --rf3-ca-light: #7BF0E2; }
.rf3-case-main.is-web { --rf3-ca: #147D4B; --rf3-ca-soft: rgba(20, 125, 75, 0.26); --rf3-ca-light: #7EE4AD; }

.rf3-crumb {
  display: inline-flex; align-items: center; gap: 7px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(255, 255, 255, 0.65); margin-bottom: 18px;
}
.rf3-crumb a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.rf3-crumb a:hover { color: var(--rf3-ca-light); }
.rf3-crumb-cur { color: #fff; font-weight: 600; }

/* ===== DARK CASE HERO ===== */
.rf3-chero {
  position: relative;
  background: #121620;
  color: #fff;
  overflow: hidden;
  padding: 44px 0 58px;
}
.rf3-chero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, var(--rf3-ca-soft) 0%, transparent 45%),
    radial-gradient(circle at 14% 84%, rgba(15, 143, 131, 0.14) 0%, transparent 44%),
    linear-gradient(110deg, rgba(16, 20, 29, 0.96) 0%, rgba(22, 19, 23, 0.9) 100%);
  pointer-events: none;
}
.rf3-chero .rf3-wrap { position: relative; z-index: 2; }
.rf3-chero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 38px; align-items: center;
}
@media (max-width: 980px) {
  .rf3-chero { padding: 34px 0 46px; }
  .rf3-chero-grid { grid-template-columns: 1fr; gap: 26px; }
}
.rf3-ckicker-dark {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 12px; font-weight: 700; color: var(--rf3-ca-light); margin-bottom: 14px;
}
.rf3-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--rf3-ca); box-shadow: 0 0 0 4px var(--rf3-ca-soft); flex-shrink: 0;
}
.rf3-chero h1 {
  margin: 0 0 14px !important;
  font-size: clamp(27px, 3.4vw, 40px) !important;
  line-height: 1.22 !important;
  font-weight: 900 !important;
  font-family: var(--rf3-sans) !important;
  color: #fff !important;
}
.rf3-chero-lead {
  margin: 0 0 22px; font-size: 15.2px; color: rgba(255, 255, 255, 0.82); line-height: 1.72; max-width: 620px;
}
.rf3-chero-navpills { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 22px; }
.rf3-chero-pill {
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff; font-size: 13px; font-weight: 700; text-decoration: none;
  transition: all 0.15s;
}
.rf3-chero-pill:hover,
.rf3-chero-pill.is-cur { background: var(--rf3-ca); border-color: var(--rf3-ca); color: #fff; }
.rf3-chero-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* Right Proof Card in Hero */
.rf3-cvis {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px; padding: 18px;
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.rf3-cvis-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-bottom: 13px; }
.rf3-cvis-kpi {
  background: rgba(12, 15, 22, 0.56); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px; padding: 10px;
}
.rf3-cvis-kpi strong { display: block; font-size: 17.5px; font-weight: 900; color: var(--rf3-ca-light); line-height: 1.15; }
.rf3-cvis-kpi span { font-size: 11px; color: rgba(255, 255, 255, 0.68); display: block; margin-top: 2px; }
.rf3-cvis-shot {
  position: relative; border-radius: 12px; overflow: hidden;
  aspect-ratio: 16 / 9; background: #14171F; cursor: zoom-in;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.rf3-cvis-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.rf3-cvis-zoom {
  position: absolute; right: 10px; bottom: 10px;
  background: rgba(16, 20, 29, 0.86); color: #fff;
  font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px;
}

/* ===== CASE HUB SECTIONS ===== */
.rf3-cssec { padding: 66px 0; }
.rf3-cssec.is-white { background: var(--rf3-surface); }
.rf3-cssec.is-alt { background: var(--rf3-bg-alt); }
@media (max-width: 760px) { .rf3-cssec { padding: 48px 0; } }
.rf3-cshead { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.rf3-cskicker { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rf3-ca); margin-bottom: 5px; }
.rf3-cshead h2 { margin: 0; font-size: clamp(22px, 2.8vw, 32px); line-height: 1.24; color: var(--rf3-ink); }
.rf3-cshead p { margin: 6px 0 0; font-size: 14.4px; color: var(--rf3-muted); }

/* 4 Flagship KPI Cards */
.rf3-kpi-cases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
@media (max-width: 1020px) { .rf3-kpi-cases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .rf3-kpi-cases { grid-template-columns: 1fr; } }
.rf3-kpi-card {
  background: linear-gradient(155deg, #141925 0%, #201C1B 100%);
  color: #fff; border-radius: 18px; padding: 22px 20px;
  border-top: 4px solid var(--rf3-brand);
  display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
}
.rf3-kpi-card.is-teal { border-top-color: var(--rf3-teal); }
.rf3-kpi-big { font-size: 30px; font-weight: 900; color: #FF945A; line-height: 1.1; margin: 4px 0; }
.rf3-kpi-card.is-teal .rf3-kpi-big { color: #5CE2D3; }
.rf3-kpi-card h3 { margin: 0 0 6px; font-size: 16px; color: #fff; }
.rf3-kpi-card p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, 0.76); line-height: 1.5; }
.rf3-kpi-foot { font-size: 11.8px; color: rgba(255, 255, 255, 0.62); padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.1); }

/* Proof Filter & Gallery */
.rf3-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.rf3-pill {
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--rf3-border); background: var(--rf3-surface);
  color: var(--rf3-ink-2); font-size: 13.4px; font-weight: 700; cursor: pointer; transition: all 0.15s;
}
.rf3-pill:hover { border-color: var(--rf3-brand); color: var(--rf3-brand); }
.rf3-pill.rf3-active { background: var(--rf3-ink); border-color: var(--rf3-ink); color: #fff; }

.rf3-proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 20px; }
@media (max-width: 980px) { .rf3-proof-grid { grid-template-columns: 1fr; } }
.rf3-proof-card {
  background: var(--rf3-surface); border: 1px solid var(--rf3-border);
  border-radius: 18px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--rf3-shadow-sm);
}
.rf3-proof-card[data-hidden="true"] { display: none; }
.rf3-shot { position: relative; aspect-ratio: 16 / 10; background: #14171F; overflow: hidden; cursor: zoom-in; border-bottom: 1px solid var(--rf3-border); }
.rf3-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.35s; }
.rf3-shot:hover img { transform: scale(1.03); }
.rf3-proof-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.rf3-proof-kpis { display: flex; gap: 6px; flex-wrap: wrap; }
.rf3-kpi-tag { padding: 3px 9px; border-radius: 7px; background: var(--rf3-green-soft); color: var(--rf3-green); font-size: 12px; font-weight: 800; }
.rf3-kpi-tag.is-orange { background: var(--rf3-brand-soft); color: var(--rf3-brand); }
.rf3-kpi-tag.is-teal { background: var(--rf3-teal-soft); color: var(--rf3-teal); }
.rf3-proof-body h3 { margin: 0; font-size: 16.5px; color: var(--rf3-ink); line-height: 1.35; }
.rf3-proof-body p { margin: 0; font-size: 13.2px; color: var(--rf3-muted); }

.rf3-reviews-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1020px) { .rf3-reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .rf3-reviews-grid { grid-template-columns: 1fr; } }
.rf3-review-card {
  background: var(--rf3-bg); border: 1px solid var(--rf3-border);
  border-radius: 15px; overflow: hidden; display: flex; flex-direction: column;
}
.rf3-review-card[data-hidden="true"] { display: none; }
.rf3-review-shot { position: relative; height: 168px; background: #fff; overflow: hidden; cursor: zoom-in; border-bottom: 1px solid var(--rf3-border); }
.rf3-review-shot img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.rf3-review-copy { padding: 12px 14px; font-size: 13px; font-weight: 700; color: var(--rf3-ink); line-height: 1.5; }

/* Directory Grid for all 25 Case Subpages */
.rf3-cdir-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .rf3-cdir-grid { grid-template-columns: 1fr; } }
.rf3-cdir-box {
  background: var(--rf3-surface); border: 1px solid var(--rf3-border);
  border-radius: 18px; padding: 22px 24px;
}
.rf3-cdir-box[data-hidden="true"] { display: none; }
.rf3-cdir-head {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--rf3-border);
}
.rf3-cdir-head h3 { margin: 0; font-size: 17.5px; color: var(--rf3-ink); }
.rf3-cdir-head a { font-size: 12.6px; font-weight: 700; color: var(--rf3-brand); text-decoration: none; }
.rf3-cdir-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
@media (max-width: 480px) { .rf3-cdir-links { grid-template-columns: 1fr; } }
.rf3-cdir-a {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  padding: 10px 12px; border-radius: 10px;
  background: var(--rf3-bg); border: 1px solid var(--rf3-border);
  font-size: 13.4px; font-weight: 700; color: var(--rf3-ink); text-decoration: none;
  transition: all 0.15s;
}
.rf3-cdir-a:hover { border-color: var(--rf3-brand); background: #fff; color: var(--rf3-brand); }
.rf3-cdir-a::after { content: "→"; opacity: 0.45; font-size: 12px; }
.rf3-cdir-a:hover::after { opacity: 1; }

/* ===== HARMONIZED LEGACY CASE BODY (.rf3-case-body) + PURPLE-BLUE REMOVAL ===== */
.rf3-case-body {
  font-family: var(--rf3-sans);
  color: var(--rf3-ink);
  --violet: #0F8F83;
  --violet-d: #0C756B;
}
.rf3-case-body .sec { padding: 54px 0 !important; background: var(--rf3-surface); border-bottom: 1px solid var(--rf3-border); }
.rf3-case-body .sec.cream { background: var(--rf3-bg) !important; }
.rf3-case-body .wrap { max-width: 1240px !important; margin: 0 auto !important; padding: 0 24px !important; }
.rf3-case-body h2,
.rf3-case-body .shead h2 {
  font-family: var(--rf3-sans) !important; font-weight: 900 !important; color: var(--rf3-ink) !important;
}
.rf3-case-body .eyebrow,
.rf3-case-body .eyebrow.v { color: var(--rf3-ca) !important; font-weight: 800 !important; }
.rf3-case-body .eyebrow::before,
.rf3-case-body .eyebrow.v::before { background: var(--rf3-ca) !important; }
/* 彻底替换旧版紫蓝渐变胶囊/卡片为品牌标准墨黑/橙/青 */
.rf3-case-body .cfilter button.on,
.rf3-case-body .cfilter .on,
.rf3-case-body .pill.on,
.rf3-case-body .tag.geo,
.rf3-case-body .badge.geo {
  background: var(--rf3-ink) !important;
  background-image: none !important;
  border-color: var(--rf3-ink) !important;
  color: #fff !important;
}
.rf3-case-body .sp.geo {
  background: linear-gradient(155deg, #10242A, #0F8F83) !important;
}
.rf3-case-body .card,
.rf3-case-body .ccard,
.rf3-case-body .relc,
.rf3-case-body .fq {
  border-radius: 16px !important; border-color: var(--rf3-border) !important; background: var(--rf3-surface) !important;
}
.rf3-case-body table {
  width: 100%; border-collapse: collapse; background: var(--rf3-surface);
  border: 1px solid var(--rf3-border); border-radius: 14px; overflow: hidden;
}
.rf3-case-body th { background: var(--rf3-bg-alt) !important; color: var(--rf3-ink) !important; font-weight: 800 !important; }
.rf3-case-body td,
.rf3-case-body th { border-color: var(--rf3-border) !important; padding: 12px 14px !important; }
@media (max-width: 760px) {
  .rf3-case-body .sec { padding: 42px 0 !important; }
  .rf3-case-body .wrap { padding: 0 18px !important; }
  .rf3-case-body table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* Sibling Quick Strip & Conversion Card */
.rf3-csib-strip {
  background: var(--rf3-surface); border: 1px solid var(--rf3-border);
  border-radius: 18px; padding: 20px 22px; margin-bottom: 24px;
}
.rf3-csib-strip strong { display: block; font-size: 14.5px; color: var(--rf3-ink); margin-bottom: 12px; }
.rf3-csib-links { display: flex; flex-wrap: wrap; gap: 8px; }
.rf3-csib-links a {
  padding: 7px 13px; border-radius: 999px;
  background: var(--rf3-bg); border: 1px solid var(--rf3-border);
  font-size: 13px; font-weight: 700; color: var(--rf3-ink-2); text-decoration: none;
}
.rf3-csib-links a:hover,
.rf3-csib-links a.is-cur { border-color: var(--rf3-ca); background: var(--rf3-brand-soft); color: var(--rf3-brand); }

.rf3-ccta-banner {
  background: linear-gradient(135deg, #131823 0%, #241D18 68%, #3B2315 100%);
  color: #fff; border-radius: 24px; padding: 38px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 32px; align-items: center;
  box-shadow: var(--rf3-shadow-lg);
}
.rf3-case-main.is-geo .rf3-ccta-banner { background: linear-gradient(135deg, #101A22 0%, #143332 100%); }
@media (max-width: 900px) { .rf3-ccta-banner { grid-template-columns: 1fr; padding: 26px 20px; } }
.rf3-ccta-form { background: var(--rf3-surface); color: var(--rf3-ink); border-radius: 18px; padding: 24px; }
.rf3-field { margin-bottom: 11px; }
.rf3-field label { display: block; font-size: 12.8px; font-weight: 700; margin-bottom: 4px; color: var(--rf3-ink-2); }
.rf3-field input {
  width: 100%; padding: 10px 12px; border-radius: 10px;
  border: 1.5px solid var(--rf3-border); background: var(--rf3-bg);
  font-size: 14px; font-family: inherit; color: var(--rf3-ink); outline: none;
}
.rf3-field input:focus { border-color: var(--rf3-brand); background: #fff; }
.rf3-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 520px) { .rf3-field-row { grid-template-columns: 1fr; } }
.rf3-hp {
  position: absolute !important; left: -9999px !important;
  width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important;
}
.rf3-ccta-form .ok {
  display: none; background: var(--rf3-green-soft); border: 1px solid #B6E6CD;
  color: var(--rf3-green); border-radius: 10px; padding: 11px 13px;
  font-size: 13.5px; font-weight: 700; margin-bottom: 12px;
}
.rf3-ccta-form .ok.on { display: block; }
.rf3-ccta-foot {
  margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--rf3-border);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  flex-wrap: wrap; font-size: 12.6px; color: var(--rf3-muted);
}
