@font-face {
  font-family: "DingTalk JinBuTi";
  src: url("dingtalk-jinbuti.ttf") format("truetype");
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #172033;
  background: #f5f7fb;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.82);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 190px;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-copy {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 7px;
  line-height: 1;
}

.brand strong {
  white-space: nowrap;
  color: #111827;
  font-family: "DingTalk JinBuTi", "Microsoft YaHei UI", sans-serif;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0;
}

.brand em {
  margin-top: 4px;
  color: #677182;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 15px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.desktop-nav a,
.header-demo {
  border-radius: 999px;
  padding: 9px 15px;
  color: #334155;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a:hover {
  background: #edf4ff;
  color: #1d4ed8;
}

.header-demo {
  background: #111827;
  color: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #d7deeb;
  border-radius: 999px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: #172033;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(58px, 8vw, 112px) clamp(20px, 5vw, 72px) clamp(44px, 7vw, 84px);
  color: #fff;
  background:
    radial-gradient(circle at 86% 12%, rgba(59, 130, 246, 0.45), transparent 28%),
    linear-gradient(135deg, #111827 0%, #203044 48%, #f8fafc 48.2%, #eef4ff 100%);
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 14px;
  color: #3b82f6;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.hero .eyebrow {
  color: #93c5fd;
}

.hero h1,
.section h2,
.contact-section h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.12;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 5.6vw, 78px);
}

.hero-lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: #d8e3f2;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 22px;
  text-decoration: none;
  font-weight: 900;
}

.primary-action {
  background: #3b82f6;
  color: #fff;
  box-shadow: 0 18px 42px rgba(59, 130, 246, 0.36);
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-meta span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 7px 12px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 800;
}

.product-showcase {
  min-width: 0;
}

.app-window {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.24);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  background: #f8fafc;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.window-bar span:first-child {
  background: #ef4444;
}

.window-bar span:nth-child(2) {
  background: #f59e0b;
}

.window-bar span:nth-child(3) {
  background: #22c55e;
}

.window-bar strong {
  margin-left: 8px;
}

.window-body {
  display: grid;
  grid-template-columns: 132px 1fr;
  min-height: 430px;
  background: #eef4fb;
}

.mock-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 12px;
  background: #fff;
}

.mock-logo {
  width: 74px;
  height: 14px;
  margin: 4px 0 12px;
  border-radius: 999px;
  background: #d7dde8;
}

.mock-sidebar b {
  border-radius: 8px;
  padding: 9px 11px;
  color: #64748b;
  font-size: 12px;
}

.mock-sidebar .active {
  background: #e7f0ff;
  color: #2563eb;
}

.mock-main {
  padding: 22px;
}

.mock-toolbar {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 12px;
  margin-bottom: 18px;
}

.mock-toolbar i,
.table-head {
  height: 34px;
  border-radius: 8px;
  background: #fff;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.metric-row article {
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}

.metric-row strong {
  display: block;
  color: #111827;
  font-size: 24px;
  line-height: 1;
}

.metric-row span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.mock-table {
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
}

.table-head {
  border-radius: 0;
  background: #f8fafc;
}

.table-row {
  display: grid;
  grid-template-columns: 42px 1fr 74px 88px;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-top: 1px solid #eef2f7;
}

.table-row span {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #dbeafe;
}

.table-row b,
.table-row i {
  height: 12px;
  border-radius: 999px;
  background: #d7dde8;
}

.table-row i {
  background: #bfdbfe;
}

.table-row em {
  height: 24px;
  border-radius: 999px;
  background: #dcfce7;
}

.trust-strip,
.section,
.contact-section,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.trust-strip div {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 20px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

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

.trust-strip strong {
  color: #0f172a;
  font-size: 18px;
}

.trust-strip span {
  margin-top: 4px;
  color: #64748b;
  font-size: 14px;
}

.section {
  padding: 86px 0 0;
}

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

.section h2,
.contact-section h2 {
  color: #111827;
  font-size: clamp(30px, 4vw, 48px);
}

.section-heading > p:not(.eyebrow),
.split-section > div > p:not(.eyebrow),
.contact-section p {
  color: #64748b;
  font-size: 17px;
}

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

.feature-grid article,
.workflow article,
.demo-card,
.benefit-list p {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

.feature-grid article {
  min-height: 246px;
  padding: 22px;
}

.feature-grid span {
  color: #2563eb;
  font-size: 13px;
  font-weight: 900;
}

.feature-grid h3,
.workflow h3 {
  margin: 10px 0 8px;
  color: #111827;
  font-size: 20px;
}

.feature-grid p,
.workflow p,
.benefit-list span {
  margin: 0;
  color: #64748b;
  font-size: 15px;
}

.workflow-section {
  width: 100%;
  max-width: none;
  margin-top: 86px;
  padding: 82px clamp(20px, 5vw, 72px);
  background: #111827;
}

.workflow-section .section-heading,
.workflow {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.workflow-section h2 {
  color: #fff;
}

.workflow-section .eyebrow {
  color: #93c5fd;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.workflow article {
  border-color: rgba(148, 163, 184, 0.2);
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.workflow b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #3b82f6;
  color: #fff;
}

.workflow h3 {
  color: #fff;
}

.workflow p {
  color: #cbd5e1;
}

.split-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 44px;
  align-items: start;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.benefit-list p {
  margin: 0;
  padding: 20px;
}

.benefit-list strong,
.benefit-list span {
  display: block;
}

.benefit-list strong {
  margin-bottom: 6px;
  color: #111827;
}

.demo-section {
  padding-bottom: 4px;
}

.demo-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.demo-card {
  padding: 20px;
}

.demo-card span,
.wechat-card span {
  display: block;
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
}

.demo-card a,
.demo-card strong,
.wechat-card strong {
  display: block;
  margin-top: 6px;
  color: #111827;
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
}

.role-table-wrap {
  overflow: auto;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

.role-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.role-table th,
.role-table td {
  padding: 15px 18px;
  border-bottom: 1px solid #eef2f7;
  text-align: left;
}

.role-table th {
  background: #f8fafc;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.role-table td:first-child {
  color: #1d4ed8;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-weight: 900;
}

.role-table tr:last-child td {
  border-bottom: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin-top: 94px;
  margin-bottom: 40px;
  border-radius: 24px;
  padding: clamp(28px, 5vw, 54px);
  color: #fff;
  background:
    radial-gradient(circle at 86% 16%, rgba(96, 165, 250, 0.38), transparent 24%),
    linear-gradient(135deg, #111827, #1f3a5f);
}

.contact-section h2,
.contact-section .eyebrow {
  color: #fff;
}

.contact-section p {
  color: #dbeafe;
}

.wechat-card {
  min-width: 260px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
}

.wechat-card span {
  color: #bfdbfe;
}

.wechat-card strong {
  color: #fff;
  font-size: 34px;
}

.site-footer {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 28px 0 42px;
  color: #64748b;
  font-size: 14px;
}

.site-footer a {
  text-decoration: none;
  font-weight: 800;
}

.manual-page {
  background: #f4f7fb;
}

.manual-page .hero {
  display: block;
  min-height: 360px;
  padding: 0;
  color: #172033;
  background: linear-gradient(135deg, #f7fbff 0%, #e8f2ff 42%, #dcecff 100%);
  border-bottom: 1px solid #d8e5f5;
}

.manual-page .hero::after {
  content: "";
  position: absolute;
  top: -180px;
  right: -130px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(49, 122, 255, 0.12);
}

.topbar {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.manual-actions {
  display: flex;
  gap: 10px;
}

.pill {
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  padding: 8px 16px;
  background: #fff;
  color: #2563eb;
  text-decoration: none;
  font-weight: 800;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 28px 76px;
}

.manual-page .hero .eyebrow {
  color: #2563eb;
}

.manual-page .hero h1 {
  max-width: 860px;
  color: #0f1f3a;
  font-size: 44px;
}

.subtitle {
  max-width: 840px;
  margin: 22px 0 0;
  color: #53627a;
  font-size: 18px;
}

.layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  padding: 28px;
}

.sidebar {
  position: sticky;
  top: 20px;
  align-self: start;
  max-height: calc(100vh - 40px);
  overflow: auto;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 35, 70, 0.06);
}

.sidebar-title {
  margin-bottom: 10px;
  font-weight: 900;
}

.sidebar a {
  display: block;
  border-left: 3px solid transparent;
  border-radius: 8px;
  padding: 8px 10px;
  color: #43516a;
  text-decoration: none;
  font-size: 14px;
}

.sidebar a:hover {
  background: #eef5ff;
  color: #1d5fd7;
}

.sidebar a.active {
  background: #e8f1ff;
  color: #155bd6;
  border-left-color: #2563eb;
  font-weight: 800;
}

.content {
  min-width: 0;
}

.manual-page .section {
  width: auto;
  margin-bottom: 20px;
  padding: 26px 30px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 35, 70, 0.05);
  scroll-margin-top: 20px;
}

.manual-page .section h2 {
  margin: 0 0 16px;
  color: #10264a;
  font-size: 28px;
  line-height: 1.3;
}

.manual-page .section h3 {
  margin: 24px 0 8px;
  color: #1757bd;
  font-size: 20px;
}

.manual-page .section h4 {
  margin: 18px 0 6px;
  color: #263752;
  font-size: 16px;
}

.manual-page .section p {
  margin: 8px 0;
  color: #263752;
}

.lead {
  border-color: #bfd7ff;
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.table-wrap {
  overflow: auto;
  margin: 14px 0;
  border: 1px solid #dfe7f2;
  border-radius: 12px;
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  border-bottom: 1px solid #e8eef6;
  padding: 11px 13px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f2f6fb;
  color: #21314d;
  font-weight: 900;
}

tr:last-child td {
  border-bottom: 0;
}

.menu-button {
  display: none;
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  padding: 12px 18px;
  font: inherit;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.34);
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    background:
      radial-gradient(circle at 80% 6%, rgba(59, 130, 246, 0.38), transparent 32%),
      linear-gradient(150deg, #111827 0%, #203044 68%, #eef4ff 68.2%, #eef4ff 100%);
  }

  .product-showcase {
    max-width: 760px;
  }

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

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    padding: 10px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand em {
    font-size: 12px;
  }

  .desktop-nav {
    position: fixed;
    inset: 64px 16px auto;
    display: none;
    flex-direction: column;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 10px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  }

  body.nav-open .desktop-nav {
    display: flex;
  }

  .header-demo {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
    grid-column: 3;
  }

  .hero {
    min-height: auto;
    padding: 54px 18px 34px;
  }

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

  .hero-lead {
    font-size: 16px;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

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

  .mock-sidebar {
    display: none;
  }

  .mock-main {
    padding: 14px;
  }

  .metric-row,
  .mock-toolbar,
  .trust-strip,
  .feature-grid,
  .workflow,
  .split-section,
  .benefit-list,
  .demo-panel,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .trust-strip,
  .section,
  .contact-section,
  .site-footer {
    width: calc(100% - 28px);
  }

  .section {
    padding-top: 58px;
  }

  .workflow-section {
    margin-top: 58px;
    padding: 58px 14px;
  }

  .feature-grid article {
    min-height: 0;
  }

  .contact-section {
    margin-top: 58px;
  }

  .wechat-card {
    min-width: 0;
  }

  .site-footer {
    flex-wrap: wrap;
  }

  .manual-page.menu-open {
    overflow: hidden;
  }

  .manual-page .hero {
    min-height: 300px;
  }

  .topbar,
  .hero-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .manual-actions {
    gap: 6px;
  }

  .pill {
    padding: 8px 11px;
    font-size: 13px;
  }

  .manual-page .hero h1 {
    font-size: 30px;
  }

  .subtitle {
    font-size: 16px;
  }

  .layout {
    display: block;
    padding: 14px 14px 86px;
  }

  .menu-button {
    position: fixed;
    right: 18px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    z-index: 45;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    height: 46px;
  }

  .sidebar {
    position: fixed;
    inset: auto 0 0;
    z-index: 40;
    max-height: min(72vh, 620px);
    margin: 0;
    padding: 16px 16px calc(18px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -24px 64px rgba(15, 31, 58, 0.26);
    transform: translateY(108%);
    transition: transform 0.2s ease;
  }

  .manual-page.menu-open .sidebar {
    transform: translateY(0);
  }

  .sidebar-title {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 2px 0 10px;
    font-size: 17px;
  }

  .sidebar a,
  .sidebar a.active {
    border-left: 0;
    border-radius: 10px;
    padding: 11px 12px;
  }

  .manual-page .section {
    padding: 20px 18px;
    margin-bottom: 14px;
    border-radius: 14px;
  }

  .manual-page .section h2 {
    font-size: 24px;
  }

  .manual-page .section h3 {
    font-size: 18px;
  }
}
