* {
  box-sizing: border-box;
}

:root {
  --bg: #02111d;
  --panel: #061d31;
  --panel-2: #08263d;
  --field: #092840;
  --cyan: #22e4ff;
  --cyan-soft: rgba(34, 228, 255, 0.16);
  --cyan-line: rgba(34, 228, 255, 0.48);
  --pink: #ff2b72;
  --orange: #ff9d32;
  --green: #32d78a;
  --red: #ff5b6d;
  --text: #eefbff;
  --muted: #9ab7ca;
  --deep: #020b14;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 8% 8%, rgba(34, 228, 255, 0.14), transparent 28%),
    radial-gradient(circle at 86% 20%, rgba(255, 43, 114, 0.12), transparent 24%),
    linear-gradient(135deg, #020b14 0%, #041928 46%, #020f1b 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(34, 228, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 228, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.25));
}

button {
  font: inherit;
}

.stage {
  position: relative;
  width: min(1280px, calc(100% - 30px));
  margin: 0 auto;
  padding: 18px 0 28px;
}

.hero {
  position: relative;
  min-height: 242px;
  padding: 38px 42px;
  border: 1px solid var(--cyan-line);
  background:
    linear-gradient(120deg, rgba(3, 18, 31, 0.96), rgba(8, 40, 64, 0.78)),
    repeating-linear-gradient(90deg, rgba(34, 228, 255, 0.035) 0 1px, transparent 1px 72px);
  box-shadow: var(--shadow), inset 0 0 48px rgba(34, 228, 255, 0.045);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -160px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(34, 228, 255, 0.2);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 228, 255, 0.12), transparent 62%);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 18px;
  letter-spacing: 0.2px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(54px, 8vw, 84px);
  line-height: 1.04;
  font-weight: 950;
  letter-spacing: 0;
}

.hero p {
  margin: 18px 0 0;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.2;
  font-weight: 850;
}

.online-badge {
  position: absolute;
  right: 42px;
  top: 38px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--cyan-line);
  color: var(--cyan);
  background: rgba(3, 24, 40, 0.82);
  font-weight: 850;
}

.online-badge span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(34, 228, 255, 0.9);
}

.step-nav {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 18px;
  padding: 14px;
  border: 1px solid var(--cyan-line);
  background: rgba(3, 23, 38, 0.86);
}

.step-tab {
  min-height: 82px;
  padding: 12px 12px 10px;
  border: 1px solid rgba(34, 228, 255, 0.36);
  color: var(--text);
  background: rgba(6, 31, 51, 0.9);
  text-align: left;
  font-size: 18px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.step-tab span {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 16px;
}

.step-tab:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  background: rgba(10, 48, 76, 0.96);
}

.step-tab.active {
  border-color: var(--pink);
  background: linear-gradient(135deg, rgba(255, 43, 114, 0.23), rgba(9, 42, 66, 0.98));
  box-shadow: inset 0 0 0 1px rgba(255, 43, 114, 0.35);
}

.content-card {
  min-height: 570px;
  border: 1px solid var(--pink);
  background:
    linear-gradient(145deg, rgba(3, 20, 34, 0.96), rgba(7, 33, 54, 0.94)),
    linear-gradient(90deg, transparent, rgba(34, 228, 255, 0.035));
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(34, 228, 255, 0.14);
  animation: fadeIn 0.2s ease;
}

.module-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 30px 22px;
  border-bottom: 1px solid rgba(34, 228, 255, 0.2);
}

.module-head h2 {
  margin: 0;
  font-size: 30px;
  letter-spacing: 0;
}

.module-tag {
  color: var(--cyan);
  font-weight: 900;
  letter-spacing: .4px;
}

.module-body {
  padding: 26px 30px 30px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-panel,
.field,
.result-panel,
.case-card,
.plan-card {
  border: 1px solid rgba(34, 228, 255, 0.34);
  background: rgba(8, 39, 63, 0.74);
}

.info-panel,
.result-panel,
.case-card,
.plan-card {
  padding: 18px;
}

.field {
  min-height: 76px;
  padding: 14px 16px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 15px;
  font-weight: 850;
}

.field strong {
  display: block;
  font-size: 21px;
  line-height: 1.25;
}

.info-panel h3,
.result-panel h3,
.case-card h3,
.plan-card h3 {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 21px;
}

.info-panel p,
.result-panel p,
.case-card p,
.plan-card p {
  margin: 8px 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.summary-box {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(34, 228, 255, 0.4);
  background: rgba(3, 20, 34, 0.92);
}

.summary-box h3 {
  margin: 0 0 10px;
  color: var(--cyan);
}

.summary-box p {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.6;
  font-weight: 800;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(34, 228, 255, 0.44);
  color: var(--cyan);
  background: rgba(34, 228, 255, 0.09);
  font-weight: 850;
}

.tag.hot {
  border-color: rgba(255, 91, 109, 0.7);
  color: #ffd4da;
  background: rgba(255, 91, 109, 0.14);
}

.tag.warn {
  border-color: rgba(255, 157, 50, 0.7);
  color: #ffe1ba;
  background: rgba(255, 157, 50, 0.14);
}

.process-list {
  display: grid;
  gap: 13px;
  counter-reset: process;
}

.process-list li {
  list-style: none;
  position: relative;
  padding: 15px 16px 15px 54px;
  border: 1px solid rgba(34, 228, 255, 0.28);
  background: rgba(3, 20, 34, 0.72);
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
}

.process-list li::before {
  counter-increment: process;
  content: counter(process, decimal-leading-zero);
  position: absolute;
  left: 14px;
  top: 14px;
  color: var(--cyan);
  font-weight: 950;
}

.risk-box {
  border-color: rgba(255, 91, 109, 0.62);
  background: linear-gradient(145deg, rgba(255, 91, 109, 0.16), rgba(8, 39, 63, 0.72));
}

.risk-meter {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.risk-row {
  display: grid;
  grid-template-columns: 98px 1fr 62px;
  gap: 10px;
  align-items: center;
  color: var(--muted);
}

.risk-row i {
  height: 12px;
  border: 1px solid rgba(255, 91, 109, 0.34);
  background: linear-gradient(90deg, var(--red) var(--w), rgba(255, 91, 109, 0.1) var(--w));
}

.case-card {
  position: relative;
  min-height: 220px;
  transition: transform .18s ease, border-color .18s ease;
}

.case-card:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
}

.similarity {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  color: #05111c;
  background: var(--cyan);
  font-weight: 950;
}

.plan-card {
  min-height: 175px;
}

.plan-card .owner {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 10px;
  color: var(--cyan);
  border: 1px solid rgba(34, 228, 255, 0.4);
}

.status-line {
  display: grid;
  gap: 12px;
}

.status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 16px;
  border: 1px solid rgba(34, 228, 255, 0.28);
  background: rgba(3, 20, 34, 0.72);
}

.status-item b {
  color: var(--text);
  font-size: 18px;
}

.status-item span {
  color: var(--green);
  font-weight: 950;
}

.sync-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric {
  padding: 18px;
  border: 1px solid rgba(34, 228, 255, 0.34);
  background: rgba(8, 39, 63, 0.74);
}

.metric small {
  display: block;
  color: var(--muted);
  margin-bottom: 10px;
}

.metric strong {
  display: block;
  font-size: 36px;
  color: var(--cyan);
}

.next-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(34, 228, 255, 0.2);
}

.step-hint {
  color: var(--muted);
  font-size: 15px;
}

.primary-btn {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--cyan);
  color: #03111f;
  background: var(--cyan);
  font-weight: 950;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(34, 228, 255, 0.18);
}

.primary-btn.final {
  border-color: var(--green);
  background: var(--green);
}

.flow-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 18px;
  padding: 15px;
  border: 1px solid rgba(34, 228, 255, 0.26);
  color: var(--muted);
  background: rgba(3, 20, 34, 0.8);
  font-weight: 800;
}

.flow-strip i {
  width: 34px;
  height: 1px;
  background: var(--cyan-line);
}

.mock-note {
  margin-top: 16px;
  padding: 13px 16px;
  border: 1px solid rgba(34, 228, 255, 0.28);
  color: var(--muted);
  background: rgba(2, 13, 23, 0.86);
  font-size: 13px;
  line-height: 1.6;
}

@keyframes fadeIn {
  from {
    opacity: .75;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1050px) {
  .step-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .grid.three,
  .grid.four,
  .sync-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .stage {
    width: min(100% - 18px, 1280px);
  }

  .hero {
    padding: 28px 20px;
  }

  .online-badge {
    position: static;
    margin-top: 20px;
  }

  .step-nav,
  .grid.two,
  .grid.three,
  .grid.four,
  .sync-metrics {
    grid-template-columns: 1fr;
  }

  .module-head,
  .module-body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .next-row,
  .status-item {
    align-items: flex-start;
    flex-direction: column;
  }
}
