:root {
  --red: #d7221d;
  --red-dark: #b71915;
  --blue: #0064d4;
  --cyan: #00a6c8;
  --green: #25a55b;
  --amber: #f0a11c;
  --ink: #222;
  --muted: #666;
  --soft: #f6f8fb;
  --line: #e3e7ef;
  --paper: #fff;
  --shadow: 0 12px 30px rgba(20, 36, 70, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Source Han Sans CN", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.72;
  background: var(--paper);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 14px; }
.wrap { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(900px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(31, 41, 55, .06);
}
.header-inner {
  height: 88px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand img { width: 200px; height: 55px; object-fit: contain; }
.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
}
.site-nav a,
.nav-drop > a {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 13px;
  font-size: 16px;
  color: #333;
  border-radius: 2px;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a.is-active,
.nav-drop:hover > a {
  color: #fff;
  background: var(--red);
}
.nav-drop { position: relative; display: inline-flex; }
.drop-menu {
  position: absolute;
  left: 0;
  top: 44px;
  width: 132px;
  padding: 6px 0;
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.nav-drop:hover .drop-menu { display: block; }
.drop-menu a { display: flex; height: 40px; border-radius: 0; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-left: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #333;
}

.hero {
  min-height: 560px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: #eef4fb;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.82) 45%, rgba(255,255,255,.25) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 70px 0;
}
.eyebrow,
.section-kicker {
  display: inline-block;
  color: var(--blue);
  font-weight: 700;
}
.hero h1,
.page-hero h1 {
  margin: 12px 0 18px;
  max-width: 650px;
  font-size: 46px;
  line-height: 1.18;
  letter-spacing: 0;
}
.hero p {
  max-width: 580px;
  font-size: 20px;
  color: #434343;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-weight: 700;
}
.btn.primary { color: #fff; background: var(--red); }
.btn.primary:hover { background: var(--red-dark); }
.btn.ghost { color: var(--blue); background: #fff; border-color: #b9d8ff; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: -54px;
  position: relative;
  z-index: 2;
}
.stat-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.stat-item strong {
  display: block;
  color: var(--red);
  font-size: 28px;
  line-height: 1.2;
}
.stat-item span { color: var(--muted); font-size: 14px; }

.section { padding: 76px 0; }
.section.soft { background: var(--soft); }
.section.dark { color: #fff; background: #252a32; }
.section-head {
  width: min(760px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}
.section-head.align-left { margin-left: 0; text-align: left; }
.section-head h2,
.trial-copy h2 {
  margin: 8px 0 10px;
  font-size: 34px;
  line-height: 1.28;
  letter-spacing: 0;
}
.section-head p { color: var(--muted); }
.dark .section-head p { color: #d4dae4; }

.feature-grid,
.service-grid,
.addon-grid,
.news-grid,
.case-grid,
.solution-grid,
.help-grid {
  display: grid;
  gap: 22px;
}
.feature-grid { grid-template-columns: repeat(4, 1fr); }
.service-grid,
.addon-grid { grid-template-columns: repeat(3, 1fr); }
.news-grid { grid-template-columns: repeat(3, 1fr); }
.case-grid { grid-template-columns: repeat(3, 1fr); }
.solution-grid { grid-template-columns: repeat(4, 1fr); }
.help-grid { grid-template-columns: repeat(4, 1fr); }

.feature-card,
.service-card,
.addon-card,
.news-card,
.case-card,
.solution-card,
.help-card,
.price-card,
.list-card,
.side-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(25, 45, 82, .07);
}
.feature-card { padding: 24px; }
.feature-card img { width: 58px; height: 58px; object-fit: contain; margin-bottom: 16px; }
.feature-card h3,
.service-card h3,
.addon-card h3,
.solution-card h3,
.help-card h3,
.price-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.feature-card p,
.service-card p,
.addon-card p,
.solution-card p,
.help-card p,
.list-card p { color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 46px;
  align-items: center;
}
.split.reverse { grid-template-columns: .92fr 1.08fr; }
.split-image {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.point-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
.point-list div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
}
.icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  font-weight: 800;
}
.icon.red { background: var(--red); }
.icon.green { background: var(--green); }
.icon.amber { background: var(--amber); }
.icon.cyan { background: var(--cyan); }

.service-card,
.addon-card,
.solution-card,
.help-card { padding: 26px; }
.service-card img,
.addon-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 18px;
}
.case-card {
  min-height: 142px;
  display: grid;
  place-items: center;
  padding: 18px;
}
.case-card img {
  max-height: 110px;
  width: auto;
  margin: 0 auto 10px;
}
.case-card strong {
  display: block;
  text-align: center;
  font-size: 14px;
  color: #454545;
}
.case-grid + .section-head { margin-top: 48px; }
.news-grid .list-card { grid-template-columns: 1fr; }
.news-grid .list-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
}

.page-hero {
  background: linear-gradient(120deg, #f9fbff, #eef6ff);
  border-bottom: 1px solid var(--line);
}
.page-hero .wrap {
  min-height: 260px;
  display: grid;
  align-items: center;
  padding: 48px 0;
}
.page-hero p { max-width: 720px; color: var(--muted); font-size: 18px; }
.crumb { color: #7a8494; font-size: 14px; }

.category-nav,
.case-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.category-nav a,
.case-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  color: #333;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.category-nav a:hover,
.case-tabs a:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.article-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
}
.side-box {
  padding: 18px;
  position: sticky;
  top: 110px;
}
.side-box h3 { margin: 0 0 12px; font-size: 18px; }
.side-box a {
  display: block;
  padding: 9px 0;
  color: #505a69;
  border-bottom: 1px solid var(--line);
}
.side-box a:last-child { border-bottom: 0; }
.list-stack {
  display: grid;
  gap: 18px;
}
.list-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 22px;
  padding: 18px;
}
.list-card img {
  width: 200px;
  height: 150px;
  object-fit: fill;
  border-radius: 6px;
  background: #eef1f5;
}
.list-card h2 {
  margin: 4px 0 8px;
  font-size: 22px;
  line-height: 1.35;
}
.list-card h2 a:hover { color: var(--blue); }
.list-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: #8a93a3;
  font-size: 13px;
}
.read-more {
  display: inline-flex;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 700;
}

.detail {
  padding: 62px 0 82px;
}
.detail-shell {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 34px;
  align-items: start;
}
.article-detail {
  min-width: 0;
}
.article-detail h1 {
  margin: 8px 0 12px;
  font-size: 34px;
  line-height: 1.28;
  letter-spacing: 0;
}
.detail-info {
  color: #8a93a3;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 26px;
}
.richtext {
  font-size: 16px;
  color: #4b5563;
}
.richtext h2,
.richtext h3 { color: var(--ink); line-height: 1.35; }
.richtext img {
  max-width: 100%;
  height: auto;
  margin: 18px auto;
  border-radius: 6px;
}
.richtext table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  overflow-x: auto;
}
.richtext th,
.richtext td {
  border: 1px solid var(--line);
  padding: 10px 12px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.price-table th,
.price-table td {
  padding: 13px 15px;
  border: 1px solid var(--line);
  text-align: center;
}
.price-table th {
  background: #f1f6ff;
  color: var(--blue);
}
.price-table td:first-child {
  text-align: left;
  color: #374151;
}
.price-highlight {
  color: var(--red);
  font-size: 26px;
  font-weight: 800;
}
.table-scroll { overflow-x: auto; }

.trial-panel {
  color: #fff;
  background: linear-gradient(110deg, #26313f, #153f68);
}
.trial-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: center;
}
.trial-copy p { color: #dce5f1; }
.trial-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 26px;
  background: #fff;
  border-radius: 8px;
}
.trial-form input,
.trial-form select,
.trial-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: #222;
  border: 1px solid #ccd5e1;
  border-radius: 4px;
  font: inherit;
}
.trial-form textarea {
  grid-column: 1 / -1;
  min-height: 104px;
  padding-top: 10px;
  resize: vertical;
}
.trial-form button {
  min-height: 46px;
  color: #fff;
  border: 0;
  border-radius: 4px;
  background: var(--red);
  font-weight: 700;
  cursor: pointer;
}
.trial-form .form-note {
  align-self: center;
  margin: 0;
  color: var(--red);
}

.site-footer {
  color: #dbe1ea;
  background: #252a32;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.3fr;
  gap: 30px;
  padding: 46px 0;
}
.footer-logo { width: 90px; margin-bottom: 16px; }
.site-footer h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 18px;
}
.site-footer a {
  display: block;
  color: #dbe1ea;
  margin: 7px 0;
}
.copyright {
  padding: 16px 20px;
  text-align: center;
  color: #c3cbd8;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 14px;
}
.float-bar {
  position: fixed;
  right: 18px;
  bottom: 70px;
  z-index: 40;
  display: grid;
  gap: 8px;
}
.float-bar a,
.float-bar button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  border: 0;
  border-radius: 6px;
  box-shadow: var(--shadow);
  cursor: pointer;
  font-weight: 800;
}

@media (max-width: 980px) {
  .header-inner { height: 74px; }
  .brand img { width: 170px; height: auto; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    padding: 12px 20px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .nav-drop { display: grid; }
  .drop-menu { position: static; display: grid; width: 100%; box-shadow: none; border: 0; padding-left: 12px; }
  .drop-menu a { height: 36px; }
  .hero { min-height: 500px; }
  .hero h1, .page-hero h1 { font-size: 34px; }
  .hero p, .page-hero p { font-size: 17px; }
  .stats,
  .feature-grid,
  .service-grid,
  .addon-grid,
  .news-grid,
  .case-grid,
  .solution-grid,
  .help-grid,
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .split,
  .split.reverse,
  .article-layout,
  .detail-shell,
  .trial-grid { grid-template-columns: 1fr; }
  .side-box { position: static; }
}

@media (max-width: 640px) {
  .wrap,
  .narrow { width: min(100% - 26px, 1200px); }
  .site-nav.is-open { grid-template-columns: 1fr; }
  .hero { min-height: 480px; }
  .hero::after { background: rgba(255,255,255,.9); }
  .hero h1, .page-hero h1 { font-size: 30px; }
  .section { padding: 52px 0; }
  .section-head h2,
  .trial-copy h2,
  .article-detail h1 { font-size: 26px; }
  .stats,
  .feature-grid,
  .service-grid,
  .addon-grid,
  .news-grid,
  .case-grid,
  .solution-grid,
  .help-grid,
  .footer-grid,
  .trial-form { grid-template-columns: 1fr; }
  .stats { margin-top: 0; padding-top: 20px; }
  .list-card { grid-template-columns: 1fr; }
  .list-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .trial-form textarea { grid-column: auto; }
  .float-bar,
  .wpsbCustomer_style,
  #qiao-wrap {
    display: none !important;
  }
}
