:root {
  color-scheme: light;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --indigo: #4f46e5;
  --ink: #111827;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f9fafb;
  --panel: #ffffff;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: #eef2f7;
  color: var(--text);
}
a { color: inherit; }
.site {
  width: min(100% - 32px, 1240px);
  margin: 0 auto;
  padding: 24px 0 40px;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.topbar h1 { margin: 0; font-size: 22px; }
.eyebrow { margin: 0 0 6px; color: var(--muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.nav a, .index-grid a {
  text-decoration: none;
  border: 1px solid #d8dee9;
  background: #fff;
  border-radius: 8px;
  color: #374151;
}
.nav a { min-width: 38px; padding: 9px 12px; text-align: center; font-size: 13px; }
.nav a:hover, .index-grid a:hover { border-color: var(--blue); color: var(--blue); }
.stage {
  padding: 20px;
  background: #dfe7f2;
  border: 1px solid #d4dde9;
  border-radius: 10px;
  overflow: auto;
}
.slide {
  position: relative;
  width: 1123px;
  height: 794px;
  margin: 0 auto;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, .22);
}
.slide.soft-bg { background: var(--soft); }
.slide h2, .slide h3, .slide p { margin: 0; }
.kicker { color: var(--blue); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.title { color: var(--ink); font-size: 30px; line-height: 36px; font-weight: 800; }
.subtitle { color: var(--muted); font-size: 16px; line-height: 24px; font-weight: 600; }
.header {
  position: absolute;
  left: 40px;
  right: 40px;
  top: 40px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--blue);
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.small-card { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; }
.blue { color: var(--blue); }
.muted { color: var(--muted); }
.bold { font-weight: 800; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: #4b5563;
  font-size: 12px;
  line-height: 1;
}
.section-title { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 800; }
.dot { width: 26px; height: 26px; border-radius: 50%; background: #dbeafe; display: grid; place-items: center; }
.dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue-dark); }
.flow-box { background: #fff; border: 1px solid #f3f4f6; border-radius: 4px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.phone {
  width: 200px;
  height: 414px;
  border: 8px solid #1f2937;
  border-radius: 32px;
  overflow: hidden;
  background: white;
  box-shadow: 0 22px 28px rgba(0,0,0,.14);
}
.phone img { width: 100%; height: 100%; object-fit: cover; display: block; }
.icon-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sku-grid img {
  width: 96px;
  height: 203px;
  object-fit: cover;
  border: .25px solid #8c8a8a;
  border-radius: 5px;
}
.index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.index-grid a { display: block; padding: 18px; }
.index-grid strong { display: block; margin-bottom: 6px; font-size: 18px; }
.index-grid span { color: var(--muted); font-size: 13px; }

.portfolio-shell {
  width: min(100% - 36px, 1180px);
  margin: 0 auto;
  padding: 28px 0 64px;
}
.portfolio-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  background: rgba(238, 242, 247, .92);
  backdrop-filter: blur(10px);
}
.portfolio-nav .brand {
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
}
.portfolio-nav .links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.portfolio-nav a:not(.brand) {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #d8dee9;
  border-radius: 8px;
  background: #fff;
  color: #374151;
  text-decoration: none;
  font-size: 13px;
}
.portfolio-nav a:hover { border-color: var(--blue); color: var(--blue); }
.portfolio-hero {
  padding: 54px 0 34px;
  border-bottom: 1px solid #d8dee9;
}
.portfolio-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}
.portfolio-hero .lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.module-card,
.detail-card,
.case-card,
.insight-card {
  border: 1px solid #dfe4ec;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}
.module-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 22px;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.module-card:hover,
.module-card:focus-visible {
  border-color: rgba(0, 90, 255, .55);
  box-shadow: 0 18px 42px rgba(0, 90, 255, .14);
  transform: translateY(-2px);
  outline: none;
}
.module-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  pointer-events: none;
  transition: border-color .18s ease;
}
.module-card:hover::after,
.module-card:focus-visible::after {
  border-color: rgba(0, 90, 255, .18);
}
.module-card .num,
.detail-eyebrow {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.module-card h2 {
  margin: 14px 0 8px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.25;
}
.module-card p,
.detail-card p,
.case-card p,
.insight-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.module-card p {
  margin-bottom: 18px;
}
.module-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: fit-content;
  margin-top: auto;
  padding: 9px 12px;
  border: 1px solid #cfe0ff;
  border-radius: 8px;
  background: #eef5ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}
.module-cta b {
  transition: transform .18s ease;
}
.module-card:hover .module-cta b,
.module-card:focus-visible .module-cta b {
  transform: translateX(3px);
}
.detail-section {
  padding: 34px 0;
  border-bottom: 1px solid #d8dee9;
}
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 18px;
}
.section-heading h2 {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.18;
}
.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.detail-card,
.case-card,
.insight-card {
  padding: 22px;
}
.detail-card h3,
.case-card h3,
.insight-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 18px;
}
.detail-card ul,
.case-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.media-card img {
  display: block;
  width: 100%;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
}
.media-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.pill-list span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}
.route-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.route-panel a {
  position: relative;
  display: flex;
  min-height: 94px;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid #d6e3f5;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}
.route-panel a::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--blue);
  opacity: .82;
  transform: scaleY(.42);
  transform-origin: center;
  transition: transform .18s ease, opacity .18s ease;
}
.route-panel a::after {
  content: "进入 →";
  align-self: flex-start;
  margin-top: 12px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #eef5ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  transition: transform .18s ease, background .18s ease;
}
.route-panel a:hover,
.route-panel a:focus-visible {
  border-color: rgba(0, 90, 255, .52);
  background: #fbfdff;
  box-shadow: 0 16px 34px rgba(0, 90, 255, .12);
  transform: translateY(-2px);
  outline: none;
}
.route-panel a:hover::before,
.route-panel a:focus-visible::before {
  opacity: 1;
  transform: scaleY(1);
}
.route-panel a:hover::after,
.route-panel a:focus-visible::after {
  background: #dbeafe;
  transform: translateX(3px);
}
.route-panel strong { display: block; margin-bottom: 6px; padding-left: 6px; }
.route-panel span { padding-left: 6px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
}
.breadcrumb span:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #a5adba;
}
.proof-callout {
  margin-top: 24px;
  padding: 20px 22px;
  border: 1px solid #bfdbfe;
  border-left: 5px solid var(--blue);
  border-radius: 12px;
  background: #eff6ff;
}
.proof-callout strong {
  display: block;
  margin-bottom: 6px;
  color: var(--blue-dark);
  font-size: 15px;
}
.proof-callout p {
  margin: 0;
  color: #1e3a8a;
  font-size: 15px;
  line-height: 1.75;
}
.path-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}
.path-steps article {
  min-height: 132px;
  padding: 16px;
  border: 1px solid #dfe4ec;
  border-radius: 10px;
  background: #fff;
}
.path-steps b {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 13px;
}
.path-steps strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 15px;
}
.path-steps span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.proof-grid article {
  padding: 18px;
  border: 1px solid #dfe4ec;
  border-radius: 12px;
  background: #fff;
}
.proof-grid h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 17px;
}
.proof-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.foundation-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.foundation-kpis article {
  position: relative;
  min-height: 138px;
  padding: 18px;
  border: 1px solid #d6e3f5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
  overflow: hidden;
}
.foundation-kpis article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: var(--blue);
}
.foundation-kpis article:nth-child(2)::before {
  background: #047857;
}
.foundation-kpis article:nth-child(3)::before {
  background: #7c3aed;
}
.foundation-kpis article:nth-child(4)::before {
  background: #c2410c;
}
.foundation-kpis span {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}
.foundation-kpis article:nth-child(2) span {
  color: #047857;
}
.foundation-kpis article:nth-child(3) span {
  color: #7c3aed;
}
.foundation-kpis article:nth-child(4) span {
  color: #c2410c;
}
.foundation-kpis strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 16px;
}
.foundation-kpis p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.business-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.business-flow article {
  position: relative;
  min-height: 136px;
  padding: 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #dfe4ec;
}
.business-flow article:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -10px;
  top: 50%;
  z-index: 2;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 20px;
  text-align: center;
  transform: translateY(-50%);
}
.business-flow b {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--blue);
  font-size: 12px;
}
.business-flow strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 17px;
}
.business-flow span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.foundation-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.accent-card {
  padding: 22px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.accent-card.blue {
  background: #eef5ff;
  border-color: #bfdbfe;
}
.accent-card.green {
  background: #ecfdf5;
  border-color: #bbf7d0;
}
.accent-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.accent-card.green span { color: #047857; }
.accent-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 20px;
}
.accent-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.visual-grid {
  align-items: stretch;
}
.strategy-card {
  border-color: #d6e3f5;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.strategy-list {
  display: grid;
  gap: 12px;
}
.strategy-list div {
  padding: 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
}
.strategy-list.compact div {
  padding: 12px;
}
.strategy-list b {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 14px;
}
.strategy-list span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.state-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 18px;
}
.state-flow span {
  padding: 8px 10px;
  border-radius: 999px;
  background: #eef5ff;
  color: #1e3a8a;
  font-size: 13px;
  font-weight: 800;
}
.state-flow span:last-child {
  background: #fff7ed;
  color: #c2410c;
}
.before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0 16px;
}
.before-after div {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
}
.before-after div:last-child {
  border-color: #bbf7d0;
  background: #ecfdf5;
}
.before-after span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.before-after div:last-child span {
  color: #047857;
}
.before-after strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 16px;
}
.before-after p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.transfer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}
.transfer-tags span {
  padding: 8px 10px;
  border-radius: 999px;
  background: #eef5ff;
  color: #1e3a8a;
  font-size: 13px;
  font-weight: 800;
}
.module-card .proof-label {
  display: block;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e5e7eb;
  color: #1e3a8a;
  font-size: 13px;
  line-height: 1.65;
}
.demo-framework {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}
.demo-framework span {
  padding: 10px;
  border-radius: 8px;
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}
@media (max-width: 760px) {
  .site { width: min(100% - 20px, 1240px); padding-top: 16px; }
  .topbar { align-items: flex-start; flex-direction: column; }
  .stage { padding: 10px; }
  .slide { transform-origin: top left; }
}

@media (max-width: 900px) {
  .module-grid,
  .section-heading,
  .evidence-grid,
  .route-panel,
  .path-steps,
  .proof-grid,
  .foundation-kpis,
  .business-flow,
  .foundation-split,
  .before-after,
  .demo-framework {
    grid-template-columns: 1fr;
  }
  .business-flow article:not(:last-child)::after {
    right: auto;
    left: 18px;
    top: auto;
    bottom: -10px;
    transform: rotate(90deg);
  }
  .portfolio-nav {
    align-items: flex-start;
    flex-direction: column;
  }
  .portfolio-nav .links {
    justify-content: flex-start;
  }
}
