:root {
  color-scheme: light;
  --page: #f6faf8;
  --paper: rgba(255, 255, 255, 0.86);
  --paper-solid: #ffffff;
  --ink: #101918;
  --muted: #61716e;
  --soft: #8a9996;
  --line: rgba(16, 25, 24, 0.1);
  --line-soft: rgba(16, 25, 24, 0.065);
  --brand: #08a982;
  --brand-strong: #048a70;
  --mint: #e7fff7;
  --sky: #eaf6ff;
  --blue: #3192ff;
  --violet: #7c6cff;
  --amber: #ffb84c;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow-soft: 0 18px 60px rgba(17, 42, 38, 0.09);
  --shadow-card: 0 12px 34px rgba(17, 42, 38, 0.07);
  font-family:
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 0%, rgba(8, 169, 130, 0.11), transparent 34rem),
    radial-gradient(circle at 82% 14%, rgba(49, 146, 255, 0.08), transparent 24rem),
    linear-gradient(180deg, #fbfdfc 0%, var(--page) 55%, #ffffff 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(16, 25, 24, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 25, 24, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 70%);
}

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 24px;
  transition: 180ms ease;
}

.site-header.is-scrolled {
  border-bottom: 1px solid var(--line-soft);
  background: rgba(251, 253, 252, 0.82);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-size: 18px;
  font-weight: 780;
  letter-spacing: -0.03em;
}

.brand-icon,
.logo-dot {
  display: inline-block;
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 28%, #ffffff 0 9%, transparent 10%),
    conic-gradient(from 130deg, #55b7ff, #08a982, #baffea, #55b7ff);
  box-shadow: 0 0 26px rgba(8, 169, 130, 0.3);
}

.brand-icon {
  width: 26px;
  height: 26px;
}

.logo-dot {
  width: 18px;
  height: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
  backdrop-filter: blur(18px);
}

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

.nav-links a:hover {
  color: var(--ink);
  background: #f0f7f4;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  display: flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.76);
}

.language-switch button {
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.language-switch button.is-active {
  color: white;
  background: #111b1a;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: white;
  background: #111b1a;
  font-size: 13px;
  font-weight: 720;
  box-shadow: 0 8px 22px rgba(16, 25, 24, 0.14);
}

.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 76px 24px 36px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(8, 169, 130, 0.22);
  border-radius: 999px;
  color: #087760;
  background: rgba(231, 255, 247, 0.78);
  box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset;
  font-size: 13px;
  font-weight: 720;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(8, 169, 130, 0.12);
}

.hero h1 {
  max-width: 672px;
  margin: 22px auto 0;
  font-size: 36px;
  line-height: 40px;
  letter-spacing: -0.045em;
  font-weight: 760;
}

.hero p {
  max-width: 672px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.01em;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 760;
  transition: 180ms ease;
}

.primary-button {
  color: white;
  background: linear-gradient(135deg, #111b1a, #0d8f74);
  box-shadow: 0 16px 34px rgba(8, 169, 130, 0.24);
}

.secondary-button {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255,255,255,0.82);
}

.primary-button:hover,
.secondary-button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.hero-card-wrap {
  max-width: 960px;
  margin: 64px auto 0;
  padding: 12px;
  border: 1px solid rgba(16, 25, 24, 0.08);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.hero-card,
.dashboard-card {
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 0% 0%, rgba(8,169,130,0.09), transparent 26rem),
    #ffffff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
}

.hero-card {
  padding: 22px;
  text-align: left;
}

.card-toolbar,
.dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.card-toolbar span,
.dashboard-head span,
.metric-label {
  color: var(--soft);
  font-size: 12px;
  font-weight: 650;
}

.card-toolbar strong {
  display: block;
  margin-top: 7px;
  font-size: 20px;
  letter-spacing: -0.035em;
}

.status-chip {
  padding: 8px 11px;
  border-radius: 999px;
  color: #087760 !important;
  background: #e9fff7;
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.answer-grid article,
.feature-card,
.metric-grid article,
.use-case-grid article,
.task-row div,
.topic-list div {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-card);
}

.answer-grid article {
  padding: 18px;
}

.answer-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 36px;
  letter-spacing: -0.06em;
}

.answer-grid p,
.feature-card p,
.task-row p,
.use-case-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.answer-panel {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.answer-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(247, 250, 248, 0.86);
}

.answer-row span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #087760;
  background: #e4fff5;
  font-size: 12px;
  font-weight: 780;
}

.answer-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.answer-row.focused {
  border-color: rgba(8, 169, 130, 0.2);
  background: #edfff8;
}

.trusted-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 10px 24px 34px;
  color: var(--soft);
}

.agent-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 960px;
  margin: 0 auto 86px;
  padding: 0 24px;
}

.agent-strip article {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 86px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  background: rgba(255,255,255,0.78);
  box-shadow: var(--shadow-card);
}

.agent-strip img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
}

.agent-strip strong,
.agent-strip span {
  display: block;
}

.agent-strip strong {
  font-size: 14px;
}

.agent-strip span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
}

.trusted-strip b {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,0.66);
  font-size: 13px;
}

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 86px 24px;
}

.soft-section {
  max-width: none;
  padding-right: max(24px, calc((100vw - 1240px) / 2 + 24px));
  padding-left: max(24px, calc((100vw - 1240px) / 2 + 24px));
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(231,255,247,0.42));
  border-block: 1px solid rgba(16,25,24,0.06);
}

.section-heading {
  max-width: 704px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.section-heading span,
.final-cta span {
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading h2,
.final-cta h2 {
  margin: 14px 0 0;
  font-size: 30px;
  line-height: 36px;
  letter-spacing: -0.035em;
}

.section-heading p,
.final-cta p {
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}

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

.feature-card {
  padding: 24px;
}

.feature-card.large {
  grid-row: span 2;
}

.feature-card.wide {
  grid-column: span 2;
}

.feature-index {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: white;
  background: #111b1a;
  font-size: 12px;
  font-weight: 780;
}

.feature-card h3,
.use-case-grid h3 {
  margin: 18px 0 0;
  font-size: 20px;
  line-height: 26px;
  letter-spacing: -0.03em;
}

.mini-table {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.mini-table div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: #f5faf8;
}

.mini-table b {
  color: #087760;
  white-space: nowrap;
}

.topic-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.topic-flow span,
.topic-flow strong {
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 13px;
}

.topic-flow span {
  color: var(--muted);
  background: #f2f7f5;
}

.topic-flow strong {
  color: white;
  background: linear-gradient(135deg, #111b1a, #0d8f74);
}

.loop-line {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  max-width: 1040px;
  margin: 0 auto 28px;
}

.loop-line div {
  padding: 13px 10px;
  border: 1px solid rgba(8, 169, 130, 0.18);
  border-radius: 999px;
  color: #087760;
  background: rgba(255,255,255,0.74);
  text-align: center;
  font-size: 13px;
  font-weight: 760;
}

.dashboard-card {
  display: grid;
  grid-template-columns: 230px 1fr;
  overflow: hidden;
  max-width: 1110px;
  margin: 0 auto;
  text-align: left;
}

.dashboard-card aside {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 22px;
  border-right: 1px solid var(--line-soft);
  background: rgba(255,255,255,0.6);
}

.dashboard-card aside b {
  margin-bottom: 12px;
}

.dashboard-card aside button {
  border: 0;
  border-radius: 14px;
  padding: 11px 12px;
  color: var(--muted);
  background: transparent;
  text-align: left;
}

.dashboard-card aside button.active {
  color: #087760;
  background: #eafff8;
}

.dashboard-main {
  padding: 24px;
}

.dashboard-head h3 {
  margin: 8px 0 0;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: -0.035em;
}

.dashboard-head button {
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  color: white;
  background: var(--brand);
  font-weight: 760;
}

.task-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.task-row div {
  padding: 16px;
}

.topic-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.topic-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px;
}

.topic-list b {
  color: #087760;
}

.metric-grid,
.use-case-grid {
  display: grid;
  gap: 16px;
}

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

.metric-grid article {
  padding: 24px;
  text-align: center;
}

.metric-grid span {
  color: var(--muted);
  font-size: 13px;
}

.metric-grid strong {
  display: block;
  margin-top: 10px;
  font-size: 32px;
  letter-spacing: -0.04em;
}

.use-case-grid {
  grid-template-columns: repeat(5, 1fr);
}

.use-case-grid article {
  min-height: 180px;
  padding: 22px;
}

.final-cta {
  max-width: 1060px;
  margin: 68px auto 0;
  padding: 86px 24px;
  border: 1px solid rgba(8, 169, 130, 0.16);
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 0%, rgba(8,169,130,0.15), transparent 30rem),
    #ffffff;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.final-cta p {
  max-width: 560px;
  margin-bottom: 28px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 38px 24px 58px;
  color: var(--soft);
  font-size: 13px;
}

.feature-card,
.metric-grid article,
.use-case-grid article,
.agent-strip article,
.dashboard-card,
.hero-card-wrap {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-card.is-visible,
.metric-grid article.is-visible,
.use-case-grid article.is-visible,
.agent-strip article.is-visible,
.dashboard-card.is-visible,
.hero-card-wrap.is-visible,
.no-js .feature-card,
.no-js .metric-grid article,
.no-js .use-case-grid article,
.no-js .agent-strip article,
.no-js .dashboard-card,
.no-js .hero-card-wrap {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .feature-grid,
  .metric-grid,
  .use-case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card.large,
  .feature-card.wide {
    grid-row: auto;
    grid-column: auto;
  }

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

  .dashboard-card aside {
    display: none;
  }

  .loop-line {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 14px 16px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding: 66px 18px 42px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 38px;
  }

  .hero-card {
    padding: 16px;
  }

  .card-toolbar,
  .dashboard-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .answer-grid,
  .task-row,
  .feature-grid,
  .metric-grid,
  .use-case-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .soft-section {
    padding: 70px 18px;
  }

  .loop-line {
    grid-template-columns: 1fr 1fr;
  }

  .topic-list div {
    flex-direction: column;
  }

  .site-footer {
    flex-direction: column;
  }
}

/* ============================================================
   追加组件（在原视觉系统之上）：
   语言切换链接版 / 自绘图标 / 示例数据角标 / 对比表 / FAQ / 多栏页脚
   ============================================================ */

.language-switch a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.language-switch a.is-active {
  color: white;
  background: #111b1a;
}

/* 自绘智能体图标（替代外链图片） */
.agent-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: white;
  box-shadow: 0 8px 18px rgba(17, 42, 38, 0.16);
}

.agent-icon svg {
  width: 20px;
  height: 20px;
}

.agent-icon.tone-brand  { background: linear-gradient(135deg, #0d8f74, var(--brand)); }
.agent-icon.tone-blue   { background: linear-gradient(135deg, #1f7ae0, var(--blue)); }
.agent-icon.tone-violet { background: linear-gradient(135deg, #5d4ce6, var(--violet)); }

/* 示例数据角标 */
.toolbar-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.example-chip {
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px dashed rgba(16, 25, 24, 0.18);
  color: var(--soft) !important;
  background: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 650;
}

.example-note {
  margin-top: 10px !important;
  font-size: 13px !important;
  color: var(--soft) !important;
}

/* 对比表 */
.compare-wrap {
  max-width: 1040px;
  margin: 0 auto;
  overflow-x: auto;
}

.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-card);
}

.compare th,
.compare td {
  padding: 16px 20px;
  text-align: left;
  font-size: 14.5px;
  line-height: 1.55;
}

.compare thead th {
  background: rgba(247, 250, 248, 0.9);
  border-bottom: 1px solid var(--line-soft);
  color: var(--soft);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare tbody tr + tr td {
  border-top: 1px solid var(--line-soft);
}

.compare td:first-child {
  font-weight: 700;
}

.compare td:nth-child(2) {
  color: var(--soft);
}

.compare .ours {
  background: #eafff8;
  color: #087760;
  font-weight: 620;
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-card);
  padding: 0 22px;
  transition: border-color 180ms ease;
}

.faq[open] {
  border-color: rgba(8, 169, 130, 0.32);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 18px 38px 18px 0;
  font-size: 15.5px;
  font-weight: 720;
  letter-spacing: -0.01em;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  color: #087760;
  background: #e4fff5;
  font-size: 16px;
  font-weight: 760;
}

.faq[open] summary::after { content: "–"; }

.faq p {
  margin: 0;
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

/* 尾部 CTA 信任注脚 */
.cta-trust {
  margin-top: 16px !important;
  font-size: 13px !important;
  color: var(--soft) !important;
}

/* 多栏页脚 */
.site-footer {
  display: block;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 34px;
}

.footer-brand p {
  margin: 12px 0 0;
  color: var(--soft);
  font-size: 13px;
}

.footer-col h4 {
  margin: 0 0 12px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  padding: 4px 0;
  color: var(--muted);
  font-size: 13.5px;
}

.footer-col a:hover {
  color: var(--brand-strong);
}

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
