

/* ==== from solutions/solution-detail.html ==== */

/* ==================== Design Tokens (from index.html) ==================== */
:root {
  --bg: #f7f8fa;
  --panel: #ffffff;
  --text: #17171b;
  --muted: #6f7078;
  --muted-2: #9a9aa3;
  --border: #e5e5eb;
  --soft: #f2f1f7;
  --purple: #5b2ee6;
  --purple-dark: #4320bd;
  --purple-soft: #eee9ff;
  --green: #29a96b;
  --green-soft: #e9f8f1;
  --green-text: #168653;
  --shadow: 0 8px 24px rgba(36, 24, 70, .08);
  --shadow-lg: 0 16px 48px rgba(36, 24, 70, .12);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 8px;
  --transition: .22s cubic-bezier(.4, 0, .2, 1);
  --max-w: 1280px;
  --gradient: linear-gradient(135deg, #5b2ee6, #9a6cff);
  --gradient-hover: linear-gradient(135deg, #4320bd, #7b4fff);
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.65;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* Navbar */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 68px; display: flex; align-items: center;
  background: rgba(255,255,255,.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-logo { display: flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 800; letter-spacing: -.3px; }
.nav-logo .logo-mark {
  width: 36px; height: 36px; border-radius: 10px; background: var(--gradient);
  color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 15px;
  box-shadow: 0 6px 18px rgba(91,46,230,.26);
}
.nav-menu { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-menu a { color: #4d4e56; font-size: 15px; font-weight: 550; transition: var(--transition); }
.nav-menu a:hover { color: var(--purple); }
.btn-primary {
  padding: 9px 22px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: var(--purple); color: #fff; transition: var(--transition);
  box-shadow: 0 4px 14px rgba(91,46,230,.22); display: inline-flex; align-items: center;
}
.btn-primary:hover { background: var(--purple-dark); box-shadow: 0 6px 20px rgba(91,46,230,.36); }
.btn-gradient {
  padding: 12px 28px; border-radius: 999px; font-size: 15px; font-weight: 700;
  background: var(--gradient); color: #fff; transition: var(--transition);
  box-shadow: 0 6px 20px rgba(91,46,230,.28); display: inline-flex; align-items: center; gap: 8px;
}
.btn-gradient:hover { background: var(--gradient-hover); transform: translateY(-1px); box-shadow: 0 8px 28px rgba(91,46,230,.4); }

/* ==================== Detail Page ==================== */
.detail-page { padding: 104px 0 72px; }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a { transition: var(--transition); }
.breadcrumb a:hover { color: var(--purple); }
.breadcrumb .sep { opacity: .45; }
.breadcrumb .current { color: var(--text); font-weight: 600; }

/* Hero */
.detail-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 380px at 88% -20%, rgba(91,46,230,.18), transparent 60%),
    linear-gradient(135deg, #241c47 0%, #3a2c86 52%, #5b2ee6 100%);
  border-radius: 22px; padding: 46px 48px 42px; margin-bottom: 26px;
  color: #fff;
}
.detail-hero::after {
  content: ''; position: absolute; right: -70px; top: -70px; width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,255,255,.14), transparent 70%); border-radius: 50%;
}
.hero-eyebrow { display: flex; gap: 10px; margin-bottom: 18px; position: relative; z-index: 1; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .01em;
  padding: 6px 14px; border-radius: 999px;
  background: #fff; color: var(--purple);
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
}
.hero-chip.soft { background: rgba(255,255,255,.15); color: #fff; box-shadow: none; }
.detail-hero h1 {
  position: relative; z-index: 1;
  font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; line-height: 1.22;
  letter-spacing: -.5px; margin: 0 0 14px; max-width: 880px;
}
.detail-hero .hero-sub {
  position: relative; z-index: 1;
  font-size: 16px; color: rgba(255,255,255,.82); max-width: 780px; line-height: 1.75; margin: 0;
}
.hero-meta { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 26px; }
.hero-meta .meta-item {
  display: flex; align-items: baseline; gap: 8px;
  padding: 0; background: none; border: none;
}
.hero-meta .meta-item:not(:last-child)::after {
  content: '|'; margin-left: 26px; color: rgba(255,255,255,.25);
}
.hero-meta .meta-k { font-size: 12.5px; color: rgba(255,255,255,.62); }
.hero-meta .meta-v { font-size: 15px; font-weight: 700; color: #fff; }

/* Sticky section nav */
.detail-nav {
  position: sticky; top: 80px; z-index: 40;
  display: flex; gap: 6px; margin-bottom: 22px;
  background: rgba(247,248,250,.92); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: 999px; padding: 7px;
  width: fit-content;
}
.dn-item {
  padding: 9px 22px; border-radius: 999px; font-size: 14px; font-weight: 650; color: var(--muted);
  transition: var(--transition);
}
.dn-item:hover { color: var(--purple); }
.dn-item.active { background: var(--gradient); color: #fff; box-shadow: 0 4px 14px rgba(91,46,230,.25); }

/* Sections */
.detail-section {
  background: var(--panel); border: 1px solid var(--border); border-radius: 20px;
  padding: 42px 48px; margin-bottom: 26px; scroll-margin-top: 152px;
}
.sec-head { margin-bottom: 24px; }
.sec-no {
  display: inline-block; font-size: 13px; font-weight: 700; color: var(--purple);
  background: var(--purple-soft); padding: 4px 10px; border-radius: 999px; margin-right: 10px;
}
.detail-section h2 { font-size: 26px; font-weight: 800; color: var(--text); margin: 0; letter-spacing: -.5px; display: inline; }
.prose p { font-size: 15.5px; color: var(--text); line-height: 1.9; margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }

/* 需求背景：简洁卡片 + 左侧紫色强调线 */
.need-prose {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 32px 36px; position: relative; overflow: hidden;
}
.need-prose::before {
  content: ''; position: absolute; left: 0; top: 24px; bottom: 24px; width: 4px;
  background: linear-gradient(180deg, var(--purple), #9a7dff); border-radius: 0 3px 3px 0;
}
.need-prose p { font-size: 15.5px; line-height: 1.95; color: #3a3a45; margin: 0 0 18px; }
.need-prose p:last-child { margin-bottom: 0; }

/* 方案简介：能力要点列表 */
.cap-list { list-style: none; margin: 22px 0 34px; padding: 0; }
.cap-list li {
  position: relative; padding-left: 30px; margin-bottom: 14px;
  font-size: 15px; color: var(--text); line-height: 1.7;
}
.cap-list li::before {
  content: ''; position: absolute; left: 0; top: 6px; width: 18px; height: 18px;
  background: var(--purple-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b2ee6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
  border-radius: 50%;
}

/* 流程图容器：更大、更干净 */
.diagram-card {
  margin-top: 0; padding: 28px 32px 24px; background: #fff;
  border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 2px 14px rgba(13, 12, 34, .04);
}
.diagram-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.diagram-title::before { content: ''; width: 5px; height: 16px; border-radius: 3px; background: var(--gradient); }
.diagram-card svg { width: 100%; height: auto; display: block; min-height: 180px; }

/* Pain points */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.pain-card {
  background: #faf9fe; border: 1px solid #eceaf7; border-radius: 14px; padding: 20px 20px 18px;
  transition: var(--transition);
}
.pain-card:hover { border-color: #d4cdff; box-shadow: 0 8px 22px rgba(91,46,230,.08); transform: translateY(-2px); }
.pain-ico { width: 40px; height: 40px; border-radius: 11px; background: #fff; border: 1px solid #eceaf7; display: grid; place-items: center; font-size: 19px; margin-bottom: 12px; }
.pain-card h4 { font-size: 15.5px; font-weight: 700; margin: 0 0 7px; color: var(--text); }
.pain-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin: 0; }

/* Diagram */
.diagram-card {
  margin-top: 26px; padding: 22px 24px 20px; background: #fff;
  border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 4px 18px rgba(91,46,230,.05);
}
.diagram-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.diagram-title::before { content: ''; width: 5px; height: 16px; border-radius: 3px; background: var(--gradient); }
.diagram-card svg { width: 100%; height: auto; display: block; }

/* Core capabilities */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.cap-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 22px 20px; transition: var(--transition); }
.cap-card:hover { border-color: #c9bcff; box-shadow: 0 10px 26px rgba(91,46,230,.1); transform: translateY(-2px); }
.cap-ico { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--purple), #7b4cff); color: #fff; display: grid; place-items: center; font-size: 21px; margin-bottom: 14px; box-shadow: 0 6px 16px rgba(91,46,230,.22); }
.cap-card h4 { font-size: 16px; font-weight: 700; margin: 0 0 8px; color: var(--text); }
.cap-card p { font-size: 13.5px; color: var(--muted); line-height: 1.65; margin: 0; }

/* Value */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-grid.col2 { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin-left: auto; margin-right: auto; }
.value-card {
  text-align: center; background: #fff; border: 1px solid var(--border); border-radius: 18px;
  padding: 34px 24px 30px; transition: var(--transition);
}
.value-card:hover { border-color: #c9bcff; box-shadow: 0 10px 28px rgba(91,46,230,.08); transform: translateY(-3px); }
.vc-ico {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 16px;
  background: var(--purple-soft); color: var(--purple); display: grid; place-items: center;
}
.vc-ico svg { width: 28px; height: 28px; stroke-width: 1.8; }
.value-card h4 { font-size: 16px; font-weight: 700; color: var(--text); margin: 0 0 10px; }
.value-card p { font-size: 14px; color: var(--muted); line-height: 1.7; margin: 0; }

/* Stat band（当前页面不再使用，保留样式以防复用） */
.stat-band { display: none; }
.stat-band.show {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px;
  background: transparent; padding: 0;
}
.stat {
  text-align: center; color: var(--text);
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 26px 16px;
  transition: var(--transition);
}
.stat:hover { border-color: #c9bcff; box-shadow: 0 10px 26px rgba(91,46,230,.08); transform: translateY(-2px); }
.stat b { display: block; font-size: 32px; font-weight: 800; letter-spacing: -.8px; color: var(--purple); }
.stat span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); }

/* Related */
.related { margin-top: 4px; margin-bottom: 22px; }
.related h3 { font-size: 18px; font-weight: 800; margin: 0 0 16px; color: var(--text); }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.related-card {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  background: #fff; border: 1px solid var(--border); border-radius: 13px; transition: var(--transition);
}
.related-card:hover { border-color: #c9bcff; box-shadow: 0 8px 22px rgba(91,46,230,.1); transform: translateX(3px); }
.related-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gradient); flex-shrink: 0; }
.related-card span { font-size: 14px; font-weight: 600; color: var(--text); }

/* CTA */
.detail-cta {
  background: linear-gradient(135deg, #181822, #2a2840);
  border-radius: 20px; padding: 40px 44px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 6px;
}
.detail-cta h3 { font-size: 21px; font-weight: 800; margin: 0 0 8px; }
.detail-cta p { color: #a0a0b0; font-size: 14.5px; margin: 0; line-height: 1.6; }

/* Footer */
.footer {
  background: #17142a; color: #fff; padding: 50px 0 36px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px;
}
.footer-brand { font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.footer-desc { font-size: 14px; color: #a0a0b0; line-height: 1.7; }
.footer h4 { font-size: 14px; font-weight: 700; margin-bottom: 18px; color: #fff; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer a { font-size: 14px; color: #a0a0b0; transition: var(--transition); }
.footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 24px;
  font-size: 13px; color: #6e6c85; display: flex; justify-content: space-between;
}

.empty-state {
  text-align: center; padding: 80px 20px;
}
.empty-state h2 { font-size: 28px; margin-bottom: 12px; }
.empty-state p { color: var(--muted); }

@media (max-width: 900px) {
  .pain-grid, .cap-grid { grid-template-columns: 1fr; }
  .value-grid, .related-grid { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr; gap: 10px; }
  .detail-nav { width: 100%; overflow-x: auto; }
}
@media (max-width: 768px) {
  .detail-hero { padding: 30px 24px 28px; }
  .detail-section { padding: 26px 22px; }
  .detail-cta { flex-direction: column; text-align: center; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
