:root {
  --blue: #0f6eff;
  --blue-deep: #063eb8;
  --purple: #7a5cff;
  --purple-deep: #4f46e5;
  --cyan: #65c9ff;
  --ink: #172338;
  --text: #43536b;
  --muted: #718198;
  --line: #dce7f5;
  --soft: #f5f9ff;
  --soft-blue: #eaf4ff;
  --paper: #ffffff;
  --shadow: 0 18px 46px rgba(23, 63, 128, 0.12);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  width: 100%;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 clamp(20px, 5vw, 76px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(220, 231, 245, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  width: 138px;
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 100%;
  display: block;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  color: #35465d;
  font-size: 15px;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 760px;
  padding: 108px clamp(20px, 5vw, 76px) 46px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0) 58%, rgba(255, 255, 255, 0.72) 58% 67%, rgba(255, 255, 255, 0) 67%),
    repeating-linear-gradient(115deg, rgba(15, 110, 255, 0.06) 0 1px, transparent 1px 34px),
    linear-gradient(100deg, #eef7ff 0%, #f7fbff 46%, #edf3ff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -8% 0 -8%;
  height: 150px;
  background:
    linear-gradient(135deg, rgba(15, 110, 255, 0.18), rgba(122, 92, 255, 0.08)),
    linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 74%);
  transform: skewY(-4deg);
  transform-origin: left bottom;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(340px, 0.72fr) minmax(640px, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 52px);
}

.solution-pill,
.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  color: var(--blue-deep);
  font-weight: 900;
}

.solution-pill {
  padding: 7px 14px;
  border: 1px solid #cbdcff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  color: #0854d8;
  font-size: clamp(42px, 5.4vw, 68px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy > p:not(.solution-pill) {
  max-width: 620px;
  margin-bottom: 24px;
  color: #31435c;
  font-size: 18px;
  line-height: 1.76;
}

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

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 14px 32px rgba(15, 110, 255, 0.25);
}

.btn-ghost {
  color: var(--blue-deep);
  border: 1px solid #bdd2ff;
  background: rgba(255, 255, 255, 0.82);
}

.hero-device {
  perspective: 1200px;
}

.device-shell {
  min-height: 438px;
  display: grid;
  grid-template-columns: 150px 1fr;
  overflow: hidden;
  border: 1px solid rgba(198, 216, 245, 0.95);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 26px 56px rgba(8, 84, 216, 0.2);
  transform: rotateX(2deg) rotateY(-5deg);
}

.device-shell aside {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 22px 14px;
  color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(180deg, #064fc7, #09307c);
}

.device-shell aside b {
  margin-bottom: 10px;
  color: #fff;
  font-size: 17px;
}

.device-shell aside span {
  padding: 9px 11px;
  border-radius: 8px;
  font-size: 13px;
}

.device-shell aside .active {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.device-shell section {
  padding: 22px;
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.device-head,
.mock-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.device-head {
  margin-bottom: 18px;
}

.device-head small,
.device-head strong {
  display: block;
}

.device-head small {
  margin-bottom: 6px;
  color: var(--muted);
}

.device-head strong {
  font-size: 23px;
}

.device-head button {
  min-height: 34px;
  padding: 0 14px;
  color: #fff;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
}

.device-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.device-kpis article,
.mini-table,
.mini-line,
.hero-metrics article {
  border: 1px solid #dce7f5;
  border-radius: 8px;
  background: #fff;
}

.device-kpis article {
  padding: 14px;
}

.device-kpis span,
.device-kpis b {
  display: block;
}

.device-kpis span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.device-kpis b {
  margin-top: 6px;
  color: var(--blue-deep);
  font-size: 19px;
}

.device-kpis i {
  display: block;
  height: 4px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
}

.device-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 14px;
}

.mini-table {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.mini-table p {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  margin: 0;
  padding-bottom: 9px;
  border-bottom: 1px solid #edf2f9;
  font-size: 13px;
}

.mini-table p:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.mini-table b {
  color: var(--ink);
}

.mini-table em {
  padding: 3px 7px;
  color: var(--blue-deep);
  border-radius: 999px;
  background: #edf4ff;
  font-style: normal;
  font-size: 11px;
}

.mini-table span {
  grid-column: 1 / -1;
  color: var(--muted);
}

.mini-line {
  display: grid;
  place-items: center;
  padding: 14px;
}

.mini-line svg,
.cockpit-chart svg {
  width: 100%;
  height: 100%;
}

.mini-line path,
.cockpit-chart path {
  fill: none;
  stroke: rgba(15, 110, 255, 0.12);
  stroke-width: 34;
}

.mini-line polyline,
.cockpit-chart polyline {
  fill: none;
  stroke: var(--blue);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-metrics {
  position: relative;
  z-index: 2;
  max-width: 950px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 30px auto 0;
}

.hero-metrics article {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
}

.hero-metrics b {
  color: var(--blue);
  font-size: 26px;
}

.hero-metrics span {
  color: var(--text);
  font-weight: 800;
}

section:not(.hero) {
  padding: 88px clamp(20px, 5vw, 76px);
}

.section-head {
  max-width: 920px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head .eyebrow {
  margin-inline: auto;
}

.section-head h2,
.consult h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-head p:not(.eyebrow),
.consult p {
  color: var(--text);
  font-size: 17px;
  line-height: 1.76;
}

.compare-wrap {
  max-width: 1240px;
  display: grid;
  grid-template-columns: 1fr 72px 1fr;
  align-items: center;
  gap: 18px;
  margin: 0 auto;
}

.compare-card {
  min-height: 430px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(23, 63, 128, 0.08);
}

.goal-card {
  border-color: #9fc2ff;
  background: linear-gradient(180deg, #fff, #f7fbff);
}

.compare-card h3 {
  margin-bottom: 18px;
  font-size: 24px;
}

.compare-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #edf2f9;
}

.compare-item:last-child {
  border-bottom: 0;
}

.compare-item i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 8px;
  background: linear-gradient(135deg, #6f7f93, #9aa7b9);
  font-style: normal;
  font-weight: 900;
}

.goal-card .compare-item i {
  background: linear-gradient(135deg, var(--blue), var(--purple));
}

.compare-item b,
.compare-item span {
  display: block;
}

.compare-item b {
  margin-bottom: 6px;
}

.compare-item span {
  color: var(--muted);
  line-height: 1.65;
}

.compare-arrow {
  height: 0;
  border-top: 28px solid transparent;
  border-bottom: 28px solid transparent;
  border-left: 58px solid var(--blue);
  filter: drop-shadow(0 6px 12px rgba(15, 110, 255, 0.24));
}

.maturity {
  background: linear-gradient(180deg, #fbfdff 0%, #eef6ff 100%);
}

.maturity-grid {
  max-width: 1240px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0 auto;
}

.maturity-grid article {
  min-height: 290px;
  position: relative;
  padding: 72px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.maturity-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 58px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(135deg, #e9f3ff, #f5f7ff);
}

.maturity-grid article:last-child::before {
  background: linear-gradient(135deg, var(--blue), var(--purple));
}

.maturity-grid span {
  position: absolute;
  top: 15px;
  left: 22px;
  z-index: 1;
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
}

.maturity-grid article:last-child span {
  color: #fff;
}

.maturity-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 4px auto 20px;
  color: var(--blue);
  border-radius: 50%;
  background: #edf4ff;
  font-size: 24px;
  font-weight: 900;
}

.maturity-grid b {
  display: block;
  margin-bottom: 12px;
  text-align: center;
  font-size: 20px;
}

.maturity-grid p {
  color: var(--text);
  line-height: 1.72;
}

section.modules {
  background: #fff;
  padding-inline: clamp(20px, 4vw, 58px);
}

.module-shell {
  max-width: 1480px;
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 34px;
  margin: 0 auto;
}

.module-tabs {
  display: grid;
  align-content: start;
  gap: 14px;
}

.tab {
  min-height: 72px;
  padding: 0 26px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.tab.active,
.tab:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--purple));
}

.module-panels {
  min-height: 660px;
  position: relative;
  overflow: hidden;
  border: 1px solid #d7e6ff;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(15, 110, 255, 0.11), rgba(122, 92, 255, 0.06) 44%, transparent 72%),
    var(--soft);
}

.capability-panel {
  position: absolute;
  inset: 0;
  display: none;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(34px, 4vw, 54px);
}

.capability-panel.active {
  display: grid;
  animation: panelIn 0.28s ease both;
}

.capability-panel h3 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.2;
}

.capability-panel p {
  color: var(--text);
  font-size: 18px;
  line-height: 1.78;
}

.panel-product {
  min-height: 390px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid #dce7f5;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.96)),
    #fff;
  box-shadow: 0 20px 46px rgba(15, 70, 150, 0.14);
}

.report-screen {
  display: grid;
  gap: 12px;
}

.report-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.report-top b,
.report-top small {
  display: block;
}

.report-top b {
  margin-bottom: 4px;
  font-size: 18px;
}

.report-top small {
  color: var(--muted);
  font-size: 12px;
}

.report-top > span {
  padding: 7px 11px;
  color: var(--blue-deep);
  border-radius: 999px;
  background: #edf4ff;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.report-kpis,
.ledger-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.report-kpis article,
.ledger-kpis article {
  min-height: 78px;
  padding: 12px;
  border: 1px solid #e1eaf7;
  border-radius: 10px;
  background: #fff;
}

.report-kpis small,
.ledger-kpis small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.report-kpis strong,
.ledger-kpis strong {
  display: block;
  margin-top: 6px;
  color: var(--blue-deep);
  font-size: 18px;
}

.report-kpis em {
  display: inline-flex;
  margin-top: 8px;
  padding: 3px 7px;
  color: #0b8f6a;
  border-radius: 999px;
  background: #eafaf4;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.report-kpis .warn {
  color: #d16b00;
  background: #fff4e5;
}

.income-dashboard,
.payment-dashboard,
.finance-dashboard,
.ledger-dashboard {
  display: grid;
  gap: 12px;
}

.income-dashboard {
  grid-template-columns: 1.35fr 0.75fr;
}

.area-chart,
.score-card,
.status-stack,
.donut-card,
.payment-bars,
.reconcile-card,
.finance-list,
.radar-card,
.risk-rank {
  border: 1px solid #e1eaf7;
  border-radius: 10px;
  background: #fff;
}

.area-chart {
  min-height: 178px;
  padding: 14px;
  overflow: hidden;
}

.chart-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.chart-label b {
  font-size: 14px;
}

.chart-label span {
  color: var(--muted);
  font-size: 12px;
}

.area-chart svg {
  width: 100%;
  height: 128px;
}

.area-chart .fill {
  fill: url(#incomeFill);
}

.area-chart .line {
  fill: none;
  stroke: url(#incomeFill);
  stroke-width: 0;
}

.income-report .area-chart .line {
  stroke: #0f6eff;
  stroke-width: 5;
  stroke-linecap: round;
}

.income-side {
  display: grid;
  gap: 10px;
}

.score-card,
.status-stack {
  padding: 13px;
}

.score-card span,
.score-card b {
  display: block;
}

.score-card span {
  color: var(--muted);
  font-size: 12px;
}

.score-card b {
  margin: 6px 0 10px;
  color: var(--blue);
  font-size: 24px;
}

.score-card i,
.report-timeline span::after,
.payment-bars i,
.reconcile-card i,
.risk-rank i {
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7eaff;
}

.score-card i::before,
.report-timeline span::before,
.payment-bars i::before,
.reconcile-card i::before,
.risk-rank i::before {
  content: "";
  display: block;
  width: var(--value, var(--w));
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--purple));
}

.status-stack {
  display: grid;
  gap: 8px;
}

.status-stack p {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  color: var(--text);
  font-size: 12px;
}

.status-stack span {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.status-stack b {
  color: var(--blue-deep);
}

.report-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.report-timeline span {
  position: relative;
  min-height: 40px;
  padding: 8px 9px 0;
  color: var(--text);
  border: 1px solid #e1eaf7;
  border-radius: 10px;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.report-timeline span::after {
  content: "";
  margin-top: 7px;
}

.report-timeline span::before {
  position: absolute;
  left: 9px;
  right: auto;
  bottom: 8px;
  width: var(--w);
  height: 8px;
}

.payment-dashboard {
  grid-template-columns: 0.82fr 1fr;
}

.donut-card,
.payment-bars {
  min-height: 178px;
  padding: 14px;
}

.donut-ring {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: conic-gradient(var(--blue) 0 68%, var(--purple) 68% 84%, #e1e8f5 84% 100%);
  position: relative;
  text-align: center;
}

.donut-ring::after {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: #fff;
}

.donut-ring b,
.donut-ring span {
  position: relative;
  z-index: 1;
  display: block;
}

.donut-ring b {
  color: var(--blue);
  font-size: 23px;
}

.donut-ring span {
  margin-top: 28px;
  color: var(--muted);
  font-size: 11px;
}

.donut-card p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 6px 0;
  color: var(--text);
  font-size: 12px;
}

.donut-card p i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.payment-bars {
  display: grid;
  gap: 8px;
}

.payment-bars p {
  display: grid;
  grid-template-columns: 42px 1fr 58px;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--text);
  font-size: 12px;
}

.payment-bars em,
.approval-queue em,
.finance-list em,
.risk-rank em {
  color: var(--blue);
  font-style: normal;
  font-weight: 900;
}

.approval-queue,
.finance-flow,
.ledger-strip {
  display: grid;
  gap: 8px;
}

.approval-queue p,
.finance-list p,
.risk-rank p {
  display: grid;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.approval-queue p {
  grid-template-columns: 1fr auto auto;
  padding: 10px 12px;
  border: 1px solid #e1eaf7;
  border-radius: 10px;
  background: #fff;
  font-size: 12px;
}

.approval-queue span,
.finance-list span {
  padding: 4px 8px;
  color: var(--blue-deep);
  border-radius: 999px;
  background: #edf4ff;
  font-weight: 900;
}

.finance-flow {
  grid-template-columns: repeat(4, 1fr);
}

.finance-flow article {
  min-height: 92px;
  padding: 12px;
  border: 1px solid #e1eaf7;
  border-radius: 10px;
  background: #fff;
}

.finance-flow i {
  width: 18px;
  height: 18px;
  display: block;
  margin-bottom: 9px;
  border: 4px solid #dce7f5;
  border-radius: 50%;
}

.finance-flow .done i,
.finance-flow .current i {
  border-color: var(--blue);
  background: var(--blue);
}

.finance-flow b,
.finance-flow small {
  display: block;
}

.finance-flow b {
  font-size: 12px;
}

.finance-flow small {
  margin-top: 5px;
  color: var(--blue-deep);
  font-size: 18px;
  font-weight: 900;
}

.finance-dashboard {
  grid-template-columns: 0.86fr 1fr;
}

.reconcile-card,
.finance-list {
  padding: 14px;
}

.reconcile-card span,
.reconcile-card strong {
  display: block;
}

.reconcile-card span {
  color: var(--muted);
}

.reconcile-card strong {
  margin: 8px 0 16px;
  color: var(--blue);
  font-size: 28px;
}

.finance-list {
  display: grid;
  gap: 9px;
}

.finance-list p {
  grid-template-columns: 1fr auto 28px;
  font-size: 12px;
}

.ledger-strip {
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #e1eaf7;
  border-radius: 10px;
  background: #fff;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 900;
}

.ledger-strip i {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
}

.ledger-dashboard {
  grid-template-columns: 0.82fr 1fr;
}

.radar-card,
.risk-rank {
  min-height: 166px;
  padding: 12px;
}

.radar-card svg {
  width: 100%;
  height: 142px;
}

.radar-card .grid {
  fill: none;
  stroke: #dce7f5;
  stroke-width: 2;
}

.radar-card .inner {
  stroke-dasharray: 5 5;
}

.radar-card .data {
  fill: rgba(15, 110, 255, 0.22);
  stroke: var(--blue);
  stroke-width: 4;
}

.risk-rank {
  display: grid;
  gap: 10px;
}

.risk-rank p {
  grid-template-columns: 70px 1fr 24px;
  font-size: 12px;
}

.report-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.report-actions span {
  min-height: 36px;
  display: grid;
  place-items: center;
  color: var(--blue-deep);
  border: 1px solid #e1eaf7;
  border-radius: 10px;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.mock-toolbar {
  margin-bottom: 18px;
}

.mock-toolbar b {
  font-size: 18px;
}

.mock-toolbar span,
.mock-table em {
  padding: 6px 11px;
  color: var(--blue-deep);
  border-radius: 999px;
  background: #edf4ff;
  font-size: 12px;
  font-weight: 900;
}

.mock-metrics {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 12px;
  margin-bottom: 16px;
}

.mock-metrics div,
.approval-card {
  padding: 16px;
  border-radius: 8px;
  background: #f6f9ff;
}

.mock-metrics small,
.approval-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
}

.mock-metrics strong,
.approval-card strong {
  font-size: 22px;
}

.mock-chart,
.mini-bars {
  height: 106px;
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 18px;
  border-radius: 8px;
  background: #f6f9ff;
}

.mock-chart i,
.mini-bars i {
  flex: 1;
  min-width: 18px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--cyan), var(--purple));
}

.mock-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.mock-actions span {
  min-height: 40px;
  display: grid;
  place-items: center;
  color: var(--blue-deep);
  border-radius: 8px;
  background: #edf4ff;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.mock-table {
  display: grid;
  gap: 10px;
}

.mock-table p {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
}

.mock-table em {
  font-style: normal;
}

.mock-table span {
  grid-column: 1 / -1;
  color: var(--muted);
}

.mock-progress {
  height: 12px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7eaff;
}

.mock-progress span {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--purple));
}

.approval-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.approval-flow div {
  min-height: 122px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.approval-flow i {
  width: 16px;
  height: 16px;
  display: block;
  margin-bottom: 11px;
  border: 3px solid #dce1ff;
  border-radius: 50%;
}

.approval-flow .done i,
.approval-flow .current i {
  border-color: var(--blue);
  background: var(--blue);
}

.approval-flow b,
.approval-flow small {
  display: block;
}

.approval-flow b {
  margin-bottom: 5px;
  font-size: 13px;
}

.approval-flow small {
  color: var(--muted);
}

.dashboard-mini {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.ring {
  width: 150px;
  aspect-ratio: 1;
  position: relative;
  border-radius: 50%;
  background: conic-gradient(var(--blue) 0 46%, var(--purple) 46% 72%, #dde8fb 72% 100%);
}

.ring::after {
  content: "合同";
  position: absolute;
  inset: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  font-weight: 900;
}

.blueprint {
  background: #fff;
}

.blueprint-map {
  max-width: 1240px;
  display: grid;
  grid-template-columns: 250px 1fr 250px;
  gap: 22px;
  align-items: center;
  margin: 0 auto;
}

.blueprint-side {
  display: grid;
  gap: 16px;
}

.blueprint-side article,
.blueprint-core {
  border: 1px solid #cfdfff;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 110, 255, 0.08);
}

.blueprint-side article {
  min-height: 116px;
  padding: 20px;
}

.blueprint-side b,
.blueprint-side span {
  display: block;
}

.blueprint-side b {
  margin-bottom: 10px;
  color: var(--blue-deep);
  font-size: 18px;
}

.blueprint-side span {
  color: var(--text);
  line-height: 1.66;
}

.blueprint-core {
  min-height: 370px;
  padding: 34px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(237, 244, 255, 0.96), rgba(255, 255, 255, 0.98)),
    #fff;
}

.blueprint-core h3 {
  margin-bottom: 8px;
  color: var(--blue-deep);
  font-size: clamp(26px, 3.5vw, 38px);
}

.blueprint-core p {
  width: fit-content;
  margin: 0 auto 26px;
  padding: 8px 18px;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  font-weight: 900;
}

.core-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.core-grid span {
  min-height: 52px;
  display: grid;
  place-items: center;
  color: var(--blue-deep);
  border: 1px solid #dce7f5;
  border-radius: 8px;
  background: #fff;
  font-weight: 900;
}

.cockpit {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0) 62%, rgba(255, 255, 255, 0.55) 62% 70%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #edf7ff 0%, #dbeeff 100%);
}

.cockpit-board {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid #c8ddf8;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.cockpit-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.cockpit-kpis article,
.risk-list,
.cockpit-chart,
.cockpit-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.cockpit-kpis article {
  padding: 18px;
}

.cockpit-kpis span,
.cockpit-kpis b,
.cockpit-kpis small {
  display: block;
}

.cockpit-kpis span,
.cockpit-kpis small {
  color: var(--muted);
}

.cockpit-kpis b {
  margin: 8px 0;
  color: var(--blue);
  font-size: 28px;
}

.cockpit-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr 1.1fr;
  gap: 16px;
}

.risk-list,
.cockpit-chart,
.cockpit-table {
  min-height: 220px;
  padding: 20px;
}

.risk-list h3 {
  margin-bottom: 18px;
}

.risk-list p {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--text);
}

.risk-list i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
}

.cockpit-table {
  display: grid;
  gap: 10px;
}

.cockpit-table p {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid #edf2f9;
}

.cockpit-table p:last-child {
  border-bottom: 0;
}

.cockpit-table span {
  color: var(--muted);
}

.cockpit-table em {
  color: var(--blue);
  font-style: normal;
  font-weight: 900;
}

.lifecycle {
  background: #fff;
}

.life-steps {
  max-width: 1240px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 0 auto;
}

.life-steps article {
  min-height: 178px;
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(23, 63, 128, 0.08);
}

.life-steps article::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -17px;
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
}

.life-steps article:last-child::after {
  display: none;
}

.life-steps i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  font-style: normal;
  font-weight: 900;
}

.life-steps b,
.life-steps span {
  display: block;
}

.life-steps b {
  margin-bottom: 8px;
  font-size: 18px;
}

.life-steps span {
  color: var(--text);
  line-height: 1.66;
}

.toolbox {
  background: linear-gradient(180deg, #fbfdff 0%, #eef6ff 100%);
}

.tool-grid {
  max-width: 1240px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 auto;
}

.tool-grid article {
  min-height: 230px;
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    radial-gradient(circle at 86% 16%, rgba(15, 110, 255, 0.09), transparent 28%),
    #fff;
  box-shadow: 0 12px 30px rgba(23, 63, 128, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.tool-grid article:hover {
  transform: translateY(-5px);
  border-color: #aecaef;
  box-shadow: 0 18px 38px rgba(15, 80, 180, 0.14);
}

.tool-index {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  font-weight: 900;
}

.tool-icon {
  width: 70px;
  height: 70px;
  position: relative;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(15, 110, 255, 0.14), rgba(122, 92, 255, 0.12)),
    #f3f8ff;
}

.tool-icon::before,
.tool-icon::after,
.tool-icon i,
.tool-icon i::before,
.tool-icon i::after {
  content: "";
  position: absolute;
  display: block;
}

.tool-icon::before {
  inset: 10px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  opacity: 0.95;
}

.tool-icon i {
  z-index: 1;
}

.import-icon i {
  width: 30px;
  height: 36px;
  border: 3px solid #fff;
  border-radius: 5px;
}

.import-icon i::before {
  left: 7px;
  top: 8px;
  width: 16px;
  height: 3px;
  background: #fff;
  box-shadow: 0 9px 0 #fff, 0 18px 0 #fff;
}

.import-icon i::after {
  right: -9px;
  bottom: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #78c7ff;
  box-shadow: inset 0 0 0 4px #fff;
}

.plan-icon i {
  width: 34px;
  height: 34px;
  border: 3px solid #fff;
  border-radius: 8px;
}

.plan-icon i::before {
  left: -3px;
  top: 8px;
  width: 34px;
  height: 3px;
  background: #fff;
}

.plan-icon i::after {
  left: 8px;
  top: 15px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 12px 0 0 #fff, 0 11px 0 #fff, 12px 11px 0 #78c7ff;
}

.approval-tool-icon i {
  width: 36px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.24);
  border: 3px solid #fff;
}

.approval-tool-icon i::before {
  left: 7px;
  top: 11px;
  width: 20px;
  height: 9px;
  border-left: 4px solid #fff;
  border-bottom: 4px solid #fff;
  transform: rotate(-45deg);
}

.approval-tool-icon i::after {
  right: -8px;
  top: -10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #78c7ff;
}

.ledger-tool-icon i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 4px solid #fff;
}

.ledger-tool-icon i::before {
  left: 5px;
  top: 7px;
  width: 22px;
  height: 4px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 9px 0 #fff, 0 18px 0 #fff;
}

.ledger-tool-icon i::after {
  right: -8px;
  bottom: -4px;
  width: 18px;
  height: 4px;
  border-radius: 999px;
  background: #78c7ff;
  transform: rotate(-35deg);
}

.cockpit-tool-icon i {
  width: 38px;
  height: 28px;
  border: 3px solid #fff;
  border-radius: 7px;
}

.cockpit-tool-icon i::before {
  left: 5px;
  bottom: 5px;
  width: 5px;
  height: 10px;
  border-radius: 999px 999px 2px 2px;
  background: #fff;
  box-shadow: 10px -6px 0 #78c7ff, 20px -12px 0 #fff;
}

.cockpit-tool-icon i::after {
  left: 7px;
  top: -12px;
  width: 20px;
  height: 20px;
  border: 4px solid #fff;
  border-bottom-color: transparent;
  border-radius: 50%;
}

.permission-icon i {
  width: 35px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.26);
  border: 3px solid #fff;
}

.permission-icon i::before {
  left: 9px;
  top: -16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: -14px 19px 0 #78c7ff, 14px 19px 0 #fff;
}

.permission-icon i::after {
  left: 10px;
  top: 10px;
  width: 10px;
  height: 8px;
  border-left: 4px solid #fff;
  border-bottom: 4px solid #fff;
  transform: rotate(-45deg);
}

.tool-grid b {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.tool-grid p {
  margin-bottom: 18px;
  color: var(--text);
  line-height: 1.72;
}

.tool-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tool-tags em {
  padding: 6px 10px;
  color: var(--blue-deep);
  border-radius: 999px;
  background: #edf4ff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.consult {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0) 0 58%, rgba(255, 255, 255, 0.18) 58% 66%, rgba(255, 255, 255, 0) 66%),
    linear-gradient(135deg, #0749cc 0%, #0f6eff 42%, #7a5cff 100%);
}

.consult::before {
  content: "";
  position: absolute;
  inset: auto -6% -56px -6%;
  height: 160px;
  background: rgba(255, 255, 255, 0.18);
  transform: skewY(-5deg);
}

.consult-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.consult .eyebrow,
.consult h2 {
  color: #fff;
}

.consult-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 14px;
  margin-top: 34px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.consult-form input,
.consult-form select {
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #dce7f5;
  border-radius: 8px;
  background: #fff;
}

.footer {
  min-height: 74px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 clamp(20px, 5vw, 76px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.section-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.section-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
}

@media (max-width: 1180px) {
  .hero-inner,
  .compare-wrap,
  .module-shell,
  .blueprint-map,
  .cockpit-detail {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    max-width: 860px;
  }

  .hero-copy {
    text-align: center;
  }

  .solution-pill {
    margin-inline: auto;
  }

  .hero-copy > p:not(.solution-pill),
  .hero-actions {
    justify-content: center;
    margin-inline: auto;
  }

  .device-shell {
    transform: none;
  }

  .compare-arrow {
    width: 56px;
    height: 56px;
    margin: 0 auto;
    border: 0;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    background: var(--blue);
  }

  .maturity-grid,
  .issue-grid,
  .cockpit-kpis,
  .life-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .capability-panel {
    position: static;
    grid-template-columns: 1fr;
  }

  .module-panels {
    min-height: 0;
    overflow: visible;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 64px;
    padding-inline: 18px;
  }

  .brand {
    width: 118px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    margin-left: auto;
    min-height: 36px;
    padding: 0 13px;
    font-size: 14px;
  }

  .hero {
    min-height: auto;
    padding: 92px 18px 42px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-copy > p:not(.solution-pill) {
    font-size: 17px;
  }

  .device-shell,
  .hero-metrics,
  .maturity-grid,
  .mock-metrics,
  .mock-actions,
  .approval-flow,
  .dashboard-mini,
  .blueprint-map,
  .cockpit-kpis,
  .life-steps,
  .tool-grid,
  .consult-form {
    grid-template-columns: 1fr;
  }

  .device-kpis,
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .device-shell aside {
    display: none;
  }

  .device-shell {
    min-height: 0;
    max-height: 320px;
    overflow: hidden;
  }

  .device-shell section {
    padding: 16px;
  }

  .device-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .mini-line {
    display: none;
  }

  .device-grid {
    display: none;
  }

  .hero-metrics {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 18px;
  }

  .hero-metrics article {
    min-height: 66px;
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 8px 6px;
    text-align: center;
  }

  .hero-metrics b {
    font-size: 19px;
  }

  .hero-metrics span {
    font-size: 12px;
  }

  section:not(.hero) {
    padding: 62px 18px;
  }

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

  .compare-card {
    min-height: auto;
    padding: 20px;
  }

  .maturity-grid article {
    min-height: 240px;
  }

  .tab {
    min-height: 58px;
    padding: 0 18px;
  }

  .capability-panel {
    padding: 24px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .capability-panel h3 {
    font-size: 30px;
  }

  .panel-product {
    min-height: auto;
    padding: 16px;
    width: 100%;
    max-width: 100%;
  }

  .report-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .report-kpis,
  .ledger-kpis,
  .income-dashboard,
  .payment-dashboard,
  .finance-flow,
  .finance-dashboard,
  .ledger-dashboard,
  .report-timeline,
  .report-actions {
    grid-template-columns: 1fr;
  }

  .area-chart svg {
    height: 112px;
  }

  .donut-ring {
    width: 104px;
    height: 104px;
  }

  .ledger-strip {
    grid-template-columns: 1fr;
  }

  .ledger-strip i {
    display: none;
  }

  .ring {
    width: 136px;
    margin: 0 auto;
  }

  .blueprint-core {
    min-height: auto;
    padding: 24px;
  }

  .core-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .life-steps article::after {
    display: none;
  }

  .footer {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    text-align: center;
  }
}
