:root {
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #1f2430;
  --muted: #5b6477;
  --line: #e7ebf3;
  --blue: #2f6bff;
  --blue-600: #1f54e6;
  --green-50: #e9f8ef;
  --green-600: #1f9254;
  --orange-50: #fff7e6;
  --orange-600: #b45000;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(31,36,48,.06);
  --radius: 12px;
}

/** { box-sizing: border-box; }*/
html, body { height: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", HarmonyOS_Sans_SC, "PingFang SC", "Microsoft YaHei", Roboto, Arial, "Helvetica Neue", Helvetica, "Noto Sans CJK SC", sans-serif;
  color: var(--text);
  background: var(--bg);
}

.page { padding: 24px; }
.container {
  max-width: 1175px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

.card {
  background: var(--card);
  box-shadow: var(--shadow);
  border-bottom: 1px solid #dedede;
  padding: 24px;
}

.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.product .title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-box {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eef3ff;
  color: var(--blue);
  font-size: 22px;
}

h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.badges {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
}
.badge-orange { background: var(--orange-50); color: var(--orange-600); }
.badge-green { background: var(--green-50); color: var(--green-600); }

.subtitle {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.price {
  margin-top: 20px;
  display: grid;
  grid-template-columns: auto auto auto 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 18px 16px;
  background: #f7f9ff;
  border-radius: 10px;
}
.price-label { color: var(--muted); }
.price-value {
  font-size: 36px;
  font-weight: 800;
  color: #ff4d4f;
}
.price-sub {
  color: var(--muted);
  font-size: 12px;
}
.price-meta {
  justify-self: end;
  font-size: 12px;
  color: #f2612a;
}

.section { margin-top: 18px; }
.section-title { color: var(--muted); margin-bottom: 10px; }

.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
  transition: .15s ease;
}
.chip:hover { border-color: #cfd6e6; }
.chip-active {
  border-color: var(--blue);
  background: #eef3ff;
  color: var(--blue);
}

.term {
  display: flex;
  align-items: center;
  gap: 12px;
}
.select {
  padding: 10px 14px;
  border: 1px solid var(--blue);
  border-radius: 10px;
  background: #eef3ff;
  cursor: default;
}
.tip { font-size: 12px; color: var(--muted); }

.cta { margin-top: 22px; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: background .15s ease;
}
.btn-primary:hover { background: var(--blue-600); }

.tabs {
  margin-top: 20px;
  padding: 0;
  display: flex;
  gap: 0;
  overflow: hidden;
}
.tab {
  flex: 0 0 auto;
  padding: 14px 18px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  font-weight: 600;
}
.tab.active {
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
}

.content .section-heading {
  margin: 30px 0 15px;
  font-size: 16px;
}
.list {
  margin: 0 0 10px;
  padding-left: 18px;
  color: var(--muted);
}
.links { list-style: none; padding: 0; margin: 0; }
.links a {
  color: var(--blue);
  text-decoration: none;
}
.links a:hover { text-decoration: underline; }
.text-muted { color: var(--muted); margin: 0 0 10px; }

.advantages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 10px;
}
.advantage-item {
  text-align: center;
  padding: 12px 8px;
  border-radius: 10px;
  background: #f8f9fd;
}
.advantage-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #eef3ff;
}
.advantage-title { font-weight: 600; }
.advantage-desc { font-size: 12px; color: var(--muted); margin-top: 4px; }

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
}
.workflow-item {
  min-width: 150px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px;
  text-align: center;
  background: #fff;
}
.workflow-arrow {
  /*text-align: center;*/
  padding: 40px 0 40px 2px;
  width: 20px;
  color: #c9cfdb;
  font-size: 18px;
}
.workflow-top{
    display: flex;
    justify-content: space-between;
}
.workflow-step {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #2f3a53;
}
.workflow-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 6px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #f1f4fb;
}
.workflow-title { font-weight: 600; font-size: 13px; }
.workflow-desc { color: var(--muted); font-size: 12px; margin-top: 4px; }

.doc-block {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  background: #fbfcff;
}
.doc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.doc-link {
  padding: 8px 14px;
  border-radius: 999px;
  background: #eef3ff;
  color: var(--blue);
  text-decoration: none;
  font-size: 12px;
}
.doc-link:hover { background: #e1e9ff; }
.doc-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}
.doc-row:last-child { border-bottom: none; }
.doc-label { color: var(--muted); }
.doc-value { color: var(--text); }
.doc-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 18px;
}
.doc-table th,
.doc-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 13px;
}
.doc-table th {
  background: #f7f9ff;
  color: #3a4664;
  font-weight: 600;
}
.doc-table tr:last-child td { border-bottom: none; }

.code {
  margin: 0;
  padding: 14px;
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 10px;
  overflow: auto;
  font-size: 12px;
}
.code-tags {
  display: flex;
  gap: 8px;
}
.code-tag {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
}
.code-tag.active {
  border-color: var(--blue);
  color: var(--blue);
  background: #eef3ff;
}
.code-panel { margin-top: 16px; }
.code-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
}
.copy-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
}
.copy-btn:hover { border-color: #cfd6e6; }

.card-title {
  margin: 0 0 10px;
  font-size: 18px;
}
.kv { list-style: none; padding: 0; margin: 0; }
.kv li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.kv li:last-child { border-bottom: none; }
.kv span { color: var(--muted); }
.kv b { font-weight: 700; }

.recommend {
  margin-top: 20px;
}
.recommend .rec-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  margin-bottom: 12px;
  transition: box-shadow .15s ease, transform .05s ease;
}
.recommend .rec-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.rec-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f3f4f7;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 18px;
}
.rec-title { font-weight: 600; }
.rec-sub { color: var(--muted); font-size: 12px; margin-top: 2px; }

@media (max-width: 1120px) {
  .advantages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .workflow-arrow { display: none; }
}

@media (max-width: 1024px) {
  .container {
    grid-template-columns: 1fr;
  }
  .aside { order: 2; }
  .main { order: 1; }
}

@media (max-width: 600px) {
  .price {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .price-meta { justify-self: start; }
}
