:root {
  --bg: #001f1a;
  --bg-2: #073b31;
  --panel: rgba(9, 48, 41, 0.78);
  --panel-2: rgba(18, 56, 47, 0.82);
  --gold: #f4d28a;
  --gold-2: #d7a75b;
  --cream: #fff4dd;
  --muted: #e5d2ac;
  --line: rgba(244, 210, 138, 0.72);
  --green-line: rgba(116, 174, 155, 0.42);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: #001814;
  color: var(--cream);
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  letter-spacing: 0;
}

body {
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.app {
  width: min(100vw, 480px);
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  background:
    radial-gradient(circle at 78% 8%, rgba(244, 210, 138, 0.22), transparent 24%),
    linear-gradient(140deg, var(--bg), var(--bg-2));
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.screen {
  display: none;
  min-height: 100vh;
  padding: 38px 22px 28px;
  position: relative;
  isolation: isolate;
}

.screen::after {
  content: "";
  position: absolute;
  inset: auto -24% -8% -16%;
  height: 42%;
  background: repeating-linear-gradient(132deg, rgba(30, 110, 93, 0.24) 0 1px, transparent 1px 24px);
  opacity: 0.42;
  z-index: -1;
}

.screen.active {
  display: block;
  animation: fadeIn 260ms ease both;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 22%, rgba(96, 185, 157, 0.22), transparent 18%),
    linear-gradient(90deg, rgba(0, 31, 26, 0.12), rgba(244, 210, 138, 0.04));
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 42, 36, 0.72);
  color: var(--cream);
  font-weight: 700;
  font-size: 16px;
  box-shadow: inset 0 1px 12px rgba(255, 255, 255, 0.08);
}

.badge-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--gold);
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1 {
  margin-top: 34px;
  font-size: clamp(44px, 12.6vw, 66px);
  line-height: 1.17;
  color: var(--cream);
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.26);
}

h2 {
  margin-top: 38px;
  font-size: clamp(38px, 10.2vw, 54px);
  line-height: 1.14;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.25);
}

h3 {
  color: var(--gold);
  font-size: 22px;
}

.lead {
  margin-top: 20px;
  color: var(--cream);
  font-size: 19px;
  line-height: 1.7;
}

.capability-panel,
.diagnosis-card,
.value-card,
.recommend-choice,
.service-card,
.note-card,
.solution-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(8, 43, 37, 0.84), rgba(15, 62, 52, 0.58));
  box-shadow: var(--shadow), inset 0 1px 18px rgba(255, 255, 255, 0.06);
}

.capability-panel {
  margin-top: 28px;
  padding: 16px 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.capability-panel article {
  min-height: 146px;
  padding: 10px;
  border-right: 1px solid rgba(244, 210, 138, 0.22);
}

.capability-panel article:nth-child(even) {
  border-right: 0;
}

.cap-title {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--cream);
  font-size: 18px;
  font-weight: 800;
}

.cap-title span {
  color: var(--gold);
  font-size: 18px;
}

.capability-panel p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 13px;
}

.score-ring {
  width: 76px;
  height: 76px;
  margin-top: 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #10372f 0 48%, transparent 50%),
    conic-gradient(var(--gold) 0 25%, #2d927f 25% 100%);
}

.score-ring strong {
  font-size: 25px;
}

.score-ring small {
  font-size: 11px;
  color: var(--muted);
  margin-left: 42px;
  margin-top: -28px;
}

.capability-panel em {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-style: normal;
  color: var(--muted);
}

.content-preview {
  margin-top: 14px;
  width: 112px;
  height: 78px;
  border: 1px solid var(--green-line);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.12));
  position: relative;
}

.content-preview div:nth-child(1) {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 18px;
  height: 10px;
  border-radius: 10px;
  background: var(--gold);
}

.content-preview div:nth-child(2) {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 28px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(120deg, #855b38, #e2c68d);
}

.content-preview div:nth-child(3) {
  position: absolute;
  left: 10px;
  bottom: 9px;
  width: 42px;
  height: 8px;
  border-radius: 8px;
  background: rgba(244, 210, 138, 0.35);
}

.platform-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 44px);
  gap: 8px;
}

.platform-grid span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--gold);
  border: 1px solid rgba(244, 210, 138, 0.72);
  box-shadow: inset 0 0 0 1px rgba(116, 174, 155, 0.45), 0 0 12px rgba(244, 210, 138, 0.12);
  border-radius: 9px;
  background: rgba(5, 46, 39, 0.85);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.08;
}

.mini-chart {
  margin-top: 16px;
  height: 60px;
  display: flex;
  align-items: end;
  gap: 8px;
}

.mini-chart i {
  display: block;
  width: 17px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(#f5d290, #2f816f);
}

.mini-chart i:nth-child(1) { height: 20px; }
.mini-chart i:nth-child(2) { height: 32px; }
.mini-chart i:nth-child(3) { height: 43px; }
.mini-chart i:nth-child(4) { height: 56px; }

.growth {
  color: var(--gold);
  font-size: 20px;
}

.question-title {
  margin-top: 24px;
  color: var(--gold);
  font-size: 26px;
  text-align: center;
}

.home-problems {
  margin: 18px auto 0;
  display: grid;
  gap: 10px;
  max-width: 92%;
}

.home-problems div {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream);
  font-size: 17px;
  font-weight: 700;
}

.home-problems span {
  color: var(--gold);
}

.solution-card {
  margin-top: 24px;
  padding: 18px 20px;
  font-size: 18px;
}

.solution-card strong {
  color: var(--cream);
}

.solution-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.glass-button {
  width: 100%;
  min-height: 68px;
  margin-top: 22px;
  color: #10251f;
  border-radius: 999px;
  font-size: 22px;
  font-weight: 900;
  position: relative;
  overflow: hidden;
  background: linear-gradient(98deg, rgba(37, 59, 52, 0.92), #f1cc82);
  border: 2px solid rgba(255, 240, 200, 0.9);
  box-shadow:
    0 0 0 4px rgba(244, 210, 138, 0.12),
    0 14px 28px rgba(0, 0, 0, 0.34),
    0 10px 34px rgba(244, 210, 138, 0.28),
    inset 0 2px 16px rgba(255, 255, 255, 0.5);
}

.glass-button::before {
  content: "";
  position: absolute;
  inset: 7px 8px auto;
  height: 45%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.04));
  pointer-events: none;
}

.glass-button::after {
  content: "›";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 38px;
  height: 38px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gold);
  background: #10251f;
  font-size: 34px;
  line-height: 1;
}

.glass-button:active {
  transform: translateY(1px);
}

.bottom-action {
  margin-top: 28px;
}

.foot-note {
  margin-top: 14px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 16px;
  padding: 6px 12px;
  color: var(--gold);
  border: 1px solid rgba(244, 210, 138, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 14px;
  font-weight: 800;
}

.step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
}

.step-head strong {
  font-size: 18px;
}

.step-head > div:last-child {
  flex: 1 1 auto;
  min-width: 0;
}

.step-no {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
  color: #15231f;
  font: 900 38px Georgia, serif;
}

.progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(250px, 100%);
  max-width: 100%;
  height: 24px;
  position: relative;
}

.progress::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: rgba(165, 181, 168, 0.55);
}

.progress i {
  position: relative;
  z-index: 1;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(165, 181, 168, 0.75);
}

.progress i:first-child,
.active-2 i:nth-child(-n+2),
.active-3 i:nth-child(-n+3),
.active-4 i:nth-child(-n+4) {
  background: var(--gold);
}

.choice-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.choice-card {
  min-height: 128px;
  padding: 16px;
  text-align: left;
  color: var(--cream);
  border: 1px solid rgba(145, 111, 60, 0.86);
  border-radius: 18px;
  background: rgba(10, 45, 39, 0.86);
  box-shadow: inset 0 1px 14px rgba(255, 255, 255, 0.04);
  position: relative;
}

.choice-card.selected {
  border-color: var(--gold);
  background: rgba(20, 64, 54, 0.92);
  box-shadow: 0 0 18px rgba(244, 210, 138, 0.15), inset 0 1px 14px rgba(255, 255, 255, 0.08);
}

.choice-card .num,
.choice-card .icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--gold);
  color: #10251f;
  font-weight: 900;
}

.choice-card strong {
  display: block;
  font-size: 20px;
  line-height: 1.2;
}

.choice-card p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.choice-card.selected::after {
  content: "✓";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.hint {
  margin-top: 24px;
  text-align: center;
  color: var(--gold);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.55;
}

.hint span {
  color: var(--muted);
  font-weight: 400;
}

.select-toast {
  display: none;
  margin-top: 16px;
  padding: 12px 14px;
  text-align: center;
  color: #10251f;
  border-radius: 14px;
  background: var(--gold);
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.select-toast.show {
  display: block;
  animation: fadeIn 180ms ease both;
}

.diagnosis-card {
  margin-top: 28px;
  padding: 22px 18px;
  text-align: center;
}

.diagnosis-card strong {
  display: block;
  font-size: 23px;
  line-height: 1.3;
}

.tag-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.tag-row span {
  min-width: 86px;
  padding: 8px 14px;
  text-align: center;
  color: var(--gold);
  border: 1px solid rgba(244, 210, 138, 0.62);
  border-radius: 999px;
  background: rgba(20, 61, 52, 0.72);
  font-weight: 800;
}

.diagnosis-card p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.action-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.action-row span {
  padding: 8px 10px;
  color: var(--cream);
  border: 1px solid rgba(244, 210, 138, 0.42);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 14px;
  font-weight: 800;
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.price-card,
.visual-price {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-2);
  padding: 17px;
  box-shadow: inset 0 1px 14px rgba(255, 255, 255, 0.05);
  position: relative;
}

.price-card span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 9px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: #10251f;
  font-size: 13px;
  font-weight: 900;
}

.price-card h4,
.visual-price h4 {
  color: var(--cream);
  font-size: 19px;
  line-height: 1.3;
  word-break: keep-all;
}

.price-card strong,
.visual-price strong {
  display: block;
  margin-top: 14px;
  color: var(--gold);
  font-size: 34px;
  line-height: 1;
}

.price-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.price-card em {
  display: block;
  margin-top: 8px;
  color: var(--cream);
  font-size: 14px;
  font-style: normal;
  line-height: 1.45;
}

.visual-price {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 10px;
}

.visual-price p {
  color: var(--cream);
  font-size: 15px;
  line-height: 1.5;
}

.value-card,
.recommend-choice,
.service-card,
.note-card {
  margin-top: 18px;
  padding: 20px;
}

.value-card p,
.recommend-choice strong,
.service-card p,
.note-card p {
  display: block;
  margin-top: 12px;
  color: var(--cream);
  font-size: 17px;
  line-height: 1.62;
}

.service-card ul {
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
  list-style: none;
}

.service-card li {
  color: var(--cream);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.workflow-line {
  color: var(--muted);
}

.stats-note {
  margin-top: 12px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.service-card li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--gold);
  color: #10251f;
  font-size: 14px;
}

.qr-section {
  margin-top: 28px;
  text-align: center;
}

.qr-section h3 {
  font-size: 26px;
}

.qr-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.qr-grid figure {
  margin: 0;
}

.qr-grid figcaption {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 18px;
  font-weight: 900;
}

.qr-grid img {
  width: 100%;
  max-width: 178px;
  padding: 6px;
  background: #fff;
  box-shadow: 0 0 26px rgba(244, 210, 138, 0.18);
}

.phone-link {
  display: block;
  margin-top: 20px;
  color: var(--gold);
  font-size: 23px;
  font-weight: 900;
  text-decoration: none;
}

.qr-section p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 380px) {
  .screen {
    padding-inline: 16px;
  }
  .step-head {
    gap: 10px;
  }
  .step-no {
    width: 48px;
    height: 48px;
    font-size: 32px;
  }
  .step-head strong {
    font-size: 16px;
  }
  .capability-panel {
    gap: 8px;
  }
  .choice-grid,
  .price-grid {
    gap: 10px;
  }
  .choice-card {
    padding: 13px;
  }
  .choice-card strong {
    font-size: 18px;
  }
  .glass-button {
    font-size: 20px;
  }
  .service-card ul {
    grid-template-columns: 1fr;
  }
}
