:root {
  --bg: #06090f;
  --bg-2: #0b111d;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-2: rgba(255, 255, 255, 0.085);
  --line: rgba(160, 176, 210, 0.18);
  --line-strong: rgba(160, 176, 210, 0.34);
  --text: #eef3ff;
  --muted: #a8b2c8;
  --quiet: #717d97;
  --cyan: #00d9ff;
  --blue: #4c7dff;
  --green: #25d6a2;
  --gold: #f5b84c;
  --coral: #ff6f61;
  --violet: #a16eff;
  --w: min(1180px, calc(100vw - 44px));
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(0, 217, 255, 0.08), transparent 24%),
    linear-gradient(225deg, rgba(245, 184, 76, 0.08), transparent 22%),
    linear-gradient(180deg, var(--bg), #080d16 52%, #05070c);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(160, 176, 210, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 176, 210, 0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, black, transparent 82%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.024) 0,
      rgba(255, 255, 255, 0.024) 1px,
      transparent 1px,
      transparent 8px
    );
  opacity: 0.32;
}

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

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 9, 15, 0.76);
  backdrop-filter: blur(20px) saturate(140%);
}

.nav-inner {
  width: var(--w);
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #061019;
  font-size: 14px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--green) 44%, var(--gold));
  box-shadow: 0 12px 30px rgba(0, 217, 255, 0.22);
}

.brand-copy {
  display: grid;
  line-height: 1.16;
}

.brand-copy b {
  font-size: 16px;
  letter-spacing: 0.02em;
}

.brand-copy span {
  color: var(--quiet);
  font-size: 11px;
  white-space: nowrap;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 13px;
  transition: 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(0, 217, 255, 0.34);
  border-radius: 999px;
  min-height: 42px;
  padding: 10px 18px;
  color: #041018;
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 18px 42px rgba(0, 217, 255, 0.18);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 52px rgba(37, 214, 162, 0.22);
}

.btn.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-strong);
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 72px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 34%, rgba(0, 217, 255, 0.08) 34% 35%, transparent 35%),
    linear-gradient(120deg, transparent 0 58%, rgba(245, 184, 76, 0.09) 58% 59%, transparent 59%);
}

.hero-grid {
  width: var(--w);
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 900;
}

.grad {
  color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--green) 45%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 650px;
}

.signal {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.045);
}

.signal b {
  display: block;
  color: var(--text);
  font-size: 18px;
}

.signal span {
  color: var(--quiet);
  font-size: 12px;
}

.product-board {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
}

.board-top {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 9, 15, 0.58);
}

.dots {
  display: flex;
  gap: 7px;
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--quiet);
}

.dots span:nth-child(1) { background: var(--coral); }
.dots span:nth-child(2) { background: var(--gold); }
.dots span:nth-child(3) { background: var(--green); }

.board-title {
  margin-left: 8px;
  color: var(--muted);
  font-size: 12px;
}

.live-pill {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(37, 214, 162, 0.32);
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--green);
  font-size: 11px;
}

.live-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.board-body {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  min-height: 500px;
}

.side-list {
  border-right: 1px solid var(--line);
  background: rgba(3, 7, 13, 0.26);
  padding: 16px;
}

.side-card {
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 13px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.side-card.active {
  border-color: rgba(0, 217, 255, 0.4);
  background: rgba(0, 217, 255, 0.09);
}

.side-card b {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
  font-size: 14px;
}

.side-card small,
.side-card span {
  color: var(--quiet);
  font-size: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 2px 8px;
  color: #061019;
  background: var(--gold);
  font-size: 11px;
  font-weight: 900;
}

.work-area {
  padding: 18px;
}

.work-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.work-head b {
  font-size: 17px;
}

.work-head span {
  color: var(--quiet);
  font-size: 12px;
}

.chat {
  display: grid;
  gap: 10px;
}

.bubble {
  max-width: 88%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 11px 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
}

.bubble.user {
  justify-self: start;
}

.bubble.ai {
  justify-self: end;
  border-color: rgba(0, 217, 255, 0.22);
  color: var(--text);
  background: rgba(0, 217, 255, 0.09);
}

.bubble.system {
  max-width: 100%;
  color: var(--green);
  background: rgba(37, 214, 162, 0.08);
  border-color: rgba(37, 214, 162, 0.24);
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.insight {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.insight strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
}

.insight span {
  color: var(--quiet);
  font-size: 12px;
}

.section {
  padding: 92px 0;
}

.section.alt {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.section-inner {
  width: var(--w);
  margin: 0 auto;
}

.section-head {
  max-width: 780px;
  margin-bottom: 40px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  font-weight: 900;
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--panel);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.card .num {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.flow {
  display: grid;
  gap: 14px;
}

.flow-step {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 170px;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.flow-step code {
  color: var(--cyan);
  font-family: "Cascadia Mono", "Consolas", monospace;
  font-size: 12px;
  font-weight: 800;
}

.flow-step h3 {
  margin-bottom: 4px;
  font-size: 20px;
}

.flow-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.flow-step .outcome {
  justify-self: end;
  border: 1px solid rgba(245, 184, 76, 0.32);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.fit {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--panel);
}

.fit i {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #041018;
  font-style: normal;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--green));
}

.fit h3 {
  margin-bottom: 5px;
  font-size: 19px;
}

.fit p {
  margin-bottom: 0;
  color: var(--muted);
}

.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.compare-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--panel);
}

.compare-panel.good {
  border-color: rgba(37, 214, 162, 0.3);
  background: rgba(37, 214, 162, 0.055);
}

.compare-panel h3 {
  margin-bottom: 16px;
  font-size: 22px;
}

.compare-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.compare-panel li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}

.compare-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--quiet);
}

.compare-panel.good li::before {
  background: var(--green);
}

.cta {
  padding: 92px 0 110px;
}

.cta-card {
  width: var(--w);
  margin: 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(0, 217, 255, 0.12), transparent 34%),
    linear-gradient(225deg, rgba(245, 184, 76, 0.13), transparent 30%),
    rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.cta h2 {
  max-width: 760px;
}

.cta p {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
}

.qr {
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  width: 210px;
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  text-align: center;
}

.qr img {
  width: 100%;
  border-radius: 10px;
}

.qr span {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 800;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 36px;
  color: var(--quiet);
  font-size: 13px;
}

.footer-inner {
  width: var(--w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

.footer a {
  color: var(--muted);
}

.page-kefu {
  --cyan: #42e8ff;
  --green: #39d98a;
  --gold: #ffcf5a;
  --coral: #ff7a7a;
}

.page-aiyuangong {
  --cyan: #00d9ff;
  --green: #2bd4bd;
  --gold: #f5b84c;
  --violet: #9f7aea;
}

@media (max-width: 980px) {
  .nav-inner {
    min-height: auto;
    padding: 12px 0;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-cta {
    margin-left: auto;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .board-body {
    grid-template-columns: 1fr;
  }

  .side-list {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .side-card {
    margin-bottom: 0;
  }

  .card-grid,
  .insight-grid {
    grid-template-columns: 1fr;
  }

  .flow-step {
    grid-template-columns: 1fr;
  }

  .flow-step .outcome {
    justify-self: start;
  }

  .cta-card {
    grid-template-columns: 1fr;
  }

  .qr {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  :root {
    --w: min(100vw - 28px, 1180px);
  }

  .brand-copy span {
    display: none;
  }

  .nav-cta {
    width: 100%;
  }

  .nav-links a {
    white-space: nowrap;
  }

  h1 {
    font-size: clamp(40px, 14vw, 60px);
  }

  .hero-lead,
  .section-head p,
  .cta p {
    font-size: 16px;
  }

  .signal-row,
  .fit-grid,
  .compare,
  .side-list {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .product-board {
    border-radius: 16px;
  }

  .board-body {
    min-height: auto;
  }

  .work-area,
  .side-list {
    padding: 12px;
  }

  .bubble {
    max-width: 100%;
  }

  .section {
    padding: 70px 0;
  }

  .cta {
    padding: 70px 0 86px;
  }

  .cta-card {
    padding: 22px;
    border-radius: 16px;
  }

  .qr {
    width: min(100%, 220px);
  }
}
