:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --ink: #172033;
  --muted: #667085;
  --line: #d8dee8;
  --line-soft: #edf1f6;
  --blue: #1677ff;
  --blue-strong: #0958d9;
  --cyan: #13a8a8;
  --green: #0f8f5f;
  --amber: #b7791f;
  --red: #c2410c;
  --shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(22, 119, 255, 0.34);
  outline-offset: 3px;
}

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

h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.22;
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 66px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(216, 222, 232, 0.8);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  max-width: 100vw;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}

.brand img {
  flex: 0 0 auto;
  border-radius: 8px;
}

.brand span {
  display: grid;
  min-width: 0;
}

.brand strong {
  font-size: 18px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav a {
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #344054;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--blue-strong);
  background: #eff6ff;
  border-color: #bfdbfe;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: 660px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(245, 247, 250, 0.72);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.05fr);
  align-content: center;
  align-items: center;
  gap: 22px;
  width: min(1180px, calc(100vw - 48px));
  min-height: 660px;
  margin: 0 auto;
  padding: 72px 0 58px;
}

.hero-copy-block {
  display: grid;
  gap: 22px;
}

.eyebrow {
  color: var(--blue-strong);
  font-size: 13px;
  font-weight: 800;
}

.hero h1 {
  max-width: 790px;
  font-size: 52px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.hero-copy {
  max-width: 760px;
  color: #344054;
  font-size: 18px;
  overflow-wrap: anywhere;
}

.hero-figure {
  position: relative;
  overflow: hidden;
  align-self: center;
  border-radius: 8px;
  margin: 0;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.hero-figure img {
  width: 100%;
  height: auto;
}

.hero-actions,
.contact-section {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 700;
}

.button.primary {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
}

.button.primary:hover {
  background: var(--blue-strong);
  border-color: var(--blue-strong);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
}

.button.secondary:hover {
  border-color: #91caff;
  color: var(--blue-strong);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(820px, 100%);
}

.hero-metrics div {
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(216, 222, 232, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.hero-metrics dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-metrics dd {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 800;
}

.section {
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 78px 0;
}

.band {
  width: 100%;
  padding-right: max(24px, calc((100vw - 1180px) / 2));
  padding-left: max(24px, calc((100vw - 1180px) / 2));
  background: #ffffff;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 780px;
  margin-bottom: 28px;
}

.section-heading h2,
.interface-copy h2,
.contact-section h2 {
  font-size: 34px;
  overflow-wrap: anywhere;
}

.section-heading p,
.interface-copy p,
.contact-section p {
  color: var(--muted);
  font-size: 16px;
  overflow-wrap: anywhere;
}

.split-heading {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.68fr);
  max-width: none;
  align-items: end;
}

.product-page {
  min-height: calc(100vh - 66px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 247, 250, 0.96)),
    var(--bg);
}

.product-hero {
  display: grid;
  gap: 16px;
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 92px 0 44px;
}

.product-hero h1 {
  max-width: 860px;
  font-size: 44px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.product-hero p {
  max-width: 780px;
  color: #475467;
  font-size: 18px;
  overflow-wrap: anywhere;
}

.compact-section {
  padding-top: 40px;
}

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

.product-card,
.product-detail-grid article {
  display: grid;
  gap: 14px;
  min-height: 228px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.product-card span {
  width: max-content;
  min-height: 24px;
  padding: 2px 9px;
  border-radius: 999px;
  color: var(--blue-strong);
  background: #eff6ff;
  font-size: 12px;
  font-weight: 800;
}

.product-card:nth-child(2) span {
  color: #047481;
  background: #ecfeff;
}

.product-card:nth-child(3) span {
  color: #047857;
  background: #ecfdf3;
}

.product-card h2,
.product-card h3,
.product-detail-grid h2 {
  font-size: 22px;
}

.product-card p,
.product-detail-grid p {
  color: var(--muted);
}

.product-card a,
.text-link {
  align-self: end;
  width: max-content;
  min-height: 34px;
  border-bottom: 2px solid var(--blue);
  color: var(--blue-strong);
  font-weight: 800;
}

.product-card a:hover,
.text-link:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.scenario-section {
  padding-top: 28px;
}

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

.scenario-list article,
.faq-grid article,
.faq-section article {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.scenario-list span {
  color: var(--blue-strong);
  font-weight: 800;
}

.scenario-list p,
.faq-grid p,
.faq-section p {
  color: var(--muted);
}

.scenario-list a,
.inline-cta {
  width: max-content;
  min-height: 34px;
  border-bottom: 2px solid var(--blue);
  color: var(--blue-strong);
  font-weight: 800;
}

.faq-preview {
  padding-top: 46px;
}

.faq-grid {
  margin-bottom: 18px;
}

.faq-grid h3 {
  font-size: 20px;
}

.faq-section {
  display: grid;
  gap: 16px;
  padding-top: 34px;
}

.faq-section article {
  min-height: auto;
}

.faq-section h2 {
  font-size: 22px;
}

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

.company-grid article,
.capability-grid article {
  min-height: 164px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.company-grid article {
  display: grid;
  gap: 10px;
}

.company-grid strong {
  font-size: 18px;
}

.company-grid span,
.capability-grid p {
  color: var(--muted);
}

.capability-grid h3 {
  font-size: 20px;
}

.capability-section {
  padding-top: 38px;
}

.interface-figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.capability-grid {
  margin-top: 16px;
}

.refined-grid article {
  min-height: 184px;
}

.interface-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: center;
  padding-top: 36px;
}

.interface-copy {
  display: grid;
  gap: 14px;
}

.interface-figure {
  padding: 10px;
}

.brand-figure {
  display: grid;
  min-height: 320px;
  place-items: center;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(22, 119, 255, 0.08), rgba(19, 168, 168, 0.08)),
    #ffffff;
}

.brand-figure img {
  width: min(180px, 54%);
  border-radius: 28px;
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.14);
}

.brand-figure figcaption {
  margin-top: 22px;
  color: var(--muted);
  text-align: center;
  font-weight: 700;
}

.contact-section {
  justify-content: space-between;
  gap: 28px;
  min-height: 240px;
  margin-bottom: 48px;
  padding: 34px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
}

.contact-copy {
  display: grid;
  max-width: 740px;
  gap: 10px;
}

.contact-side {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
}

.contact-actions {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.contact-actions span {
  color: #475467;
  font-size: 14px;
  font-weight: 700;
}

.wechat-qr {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.wechat-qr img {
  width: 156px;
  height: 156px;
  border-radius: 8px;
  background: #ffffff;
}

.wechat-qr figcaption {
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 24px max(24px, calc((100vw - 1180px) / 2));
  color: #475467;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.site-footer strong {
  color: var(--ink);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
  font-size: 13px;
}

.site-footer a:hover {
  color: var(--blue-strong);
}

@media (max-width: 1120px) {
  .interface-section,
  .hero-content,
  .split-heading {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding: 0 16px;
  }

  .brand {
    max-width: calc(100vw - 88px);
  }

  .nav-toggle {
    position: relative;
    z-index: 30;
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: fixed;
    inset: 66px 0 auto 0;
    display: none;
    flex-direction: column;
    padding: 12px 16px 18px;
    border-bottom: 1px solid var(--line);
    background: #ffffff;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    min-height: 42px;
  }

  .hero,
  .hero-content {
    min-height: 0;
  }

  .hero-content,
  .product-hero,
  .section {
    width: 100%;
    max-width: 100vw;
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero h1 {
    max-width: calc(100vw - 32px);
    font-size: 32px;
  }

  .hero-content {
    padding-top: 58px;
    padding-bottom: 44px;
  }

  .product-hero {
    padding-top: 62px;
    padding-bottom: 24px;
  }

  .product-hero h1 {
    max-width: calc(100vw - 32px);
    font-size: 31px;
  }

  .product-hero p {
    max-width: calc(100vw - 32px);
    font-size: 16px;
  }

  .hero-copy {
    max-width: calc(100vw - 32px);
    font-size: 16px;
  }

  .hero h1,
  .section-heading h2,
  .interface-copy h2,
  .contact-section h2,
  .hero-copy,
  .section-heading p,
  .interface-copy p,
  .contact-section p,
  .product-hero h1,
  .product-hero p,
  .product-card p,
  .product-detail-grid p,
  .company-grid span,
  .capability-grid p {
    max-width: 100%;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .hero-metrics,
  .company-grid,
  .product-card-grid,
  .product-detail-grid,
  .scenario-list,
  .faq-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .section:not(.band) {
    padding-right: 16px;
    padding-left: 16px;
  }

  .band {
    padding-right: 16px;
    padding-left: 16px;
  }

  .section-heading h2,
  .interface-copy h2,
  .contact-section h2 {
    font-size: 28px;
  }

  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .contact-section {
    align-items: flex-start;
    padding: 24px;
  }

  .contact-side {
    justify-content: flex-start;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}
