:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --surface-soft: #eef5ff;
  --text: #172033;
  --muted: #667085;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #f97316;
  --border: #dbe3f0;
  --shadow: 0 22px 60px rgba(22, 34, 51, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(37, 99, 235, 0.13), transparent 28rem),
    radial-gradient(circle at 90% 8%, rgba(249, 115, 22, 0.12), transparent 24rem),
    var(--bg);
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

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

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

code,
pre {
  font-family: Consolas, "SFMono-Regular", Menlo, monospace;
}

code {
  padding: 0.12rem 0.35rem;
  border-radius: 0.45rem;
  background: #edf2ff;
  color: #1e40af;
}

pre {
  overflow: auto;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #0f172a;
  color: #e2e8f0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(219, 227, 240, 0.76);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.brand-mark {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border-radius: 0.9rem;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #344054;
  font-size: 0.95rem;
}

.site-nav a {
  padding: 0.45rem 0.2rem;
}

.site-nav a:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  border: 0;
  border-radius: 0.75rem;
  padding: 0.55rem 0.75rem;
  background: #edf2ff;
  color: var(--primary);
  font-size: 1.1rem;
}

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  min-height: calc(100vh - 76px);
}

.eyebrow,
.tag {
  margin: 0 0 0.65rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.16;
}

h1 {
  max-width: 13ch;
  font-size: clamp(2.8rem, 7vw, 5.7rem);
  letter-spacing: -0.06em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.25rem;
}

.hero-lead,
.section-heading p {
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-lead {
  max-width: 46rem;
  margin: 1.35rem 0 0;
}

.hero-actions,
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero-badges span {
  padding: 0.38rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #475467;
  font-size: 0.88rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.button.primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.26);
}

.button.primary:hover {
  background: var(--primary-dark);
}

.button.secondary {
  color: #fff;
  background: #0f172a;
}

.button.ghost {
  color: var(--primary);
  background: #eaf1ff;
}

.hero-card {
  padding: 0.35rem;
  border: 1px solid rgba(219, 227, 240, 0.9);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 16px 42px rgba(22, 34, 51, 0.1);
}

.hero-card img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.text-link {
  color: var(--primary);
  font-weight: 700;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.feature-grid,
.download-grid,
.screenshot-grid,
.docs-grid {
  display: grid;
  gap: 1rem;
}

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

.feature-card,
.download-card,
.doc-panel,
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 30px rgba(22, 34, 51, 0.06);
}

.feature-card {
  padding: 1.2rem;
}

.feature-card .icon {
  display: inline-grid;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 0.85rem;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.feature-card p,
.download-card p,
.doc-panel p,
.faq p {
  color: var(--muted);
}

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

.download-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.35rem;
}

.download-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
}

.download-card dt {
  color: var(--muted);
  font-size: 0.82rem;
}

.download-card dd {
  margin: 0;
  font-weight: 700;
}

.download-note {
  margin: 0;
  color: #344054;
}

.steps {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  align-items: start;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
}

.steps li::before {
  content: counter(step);
  grid-row: span 2;
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  background: var(--primary);
}

.steps span {
  color: var(--muted);
}

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

.doc-panel {
  padding: 1.35rem;
}

.check-list {
  padding-left: 1.1rem;
  color: var(--muted);
}

.check-list li {
  margin: 0.35rem 0;
}

.digital-human {
  border-radius: var(--radius-lg);
}

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

.two-column > div {
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
}

.tool-highlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 1rem;
  margin-top: 1rem;
}

.tool-highlight > div,
.tool-highlight figure {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 12px 30px rgba(22, 34, 51, 0.06);
}

.tool-highlight > div {
  padding: 1.35rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

th,
td {
  padding: 0.7rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

th {
  width: 8rem;
  color: #344054;
}

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

figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
}

figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  background: #f8fafc;
}

figcaption {
  padding: 0.8rem 1rem 1rem;
  color: #344054;
  font-weight: 700;
}

.faq {
  max-width: 900px;
}

.faq details {
  padding: 1rem 1.15rem;
  margin-bottom: 0.8rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--border);
  background: #fff;
}

.site-footer p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 960px) {
  .hero,
  .two-column,
  .tool-highlight,
  .download-grid,
  .docs-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  .feature-grid,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

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