:root {
  --brand: #4d6bfe;
  --brand-dark: #243bdb;
  --ink: #111827;
  --muted: #5d667a;
  --line: #e4e9f5;
  --soft: #f5f7ff;
  --white: #ffffff;
  --cyan: #16b8d8;
  --green: #16a978;
  --amber: #f7a928;
  --shadow: 0 24px 70px rgba(30, 52, 139, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  background: #ffffff;
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(228, 233, 245, 0.82);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  border-radius: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--cyan));
  box-shadow: 0 12px 24px rgba(77, 107, 254, 0.28);
}

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

.brand strong {
  font-size: 17px;
  line-height: 1.1;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.7vw, 34px);
  color: #2f3749;
  font-size: 15px;
}

.nav-links a {
  position: relative;
  padding: 7px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
  content: "";
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 42px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.section-band {
  padding: 96px clamp(18px, 5vw, 72px) 34px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(560px, 1.28fr);
  gap: clamp(24px, 3.8vw, 56px);
  align-items: center;
  min-height: 92vh;
  background:
    linear-gradient(115deg, rgba(77, 107, 254, 0.12), rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, #f9fbff 0%, #ffffff 78%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

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

h1 {
  max-width: 760px;
  font-size: clamp(36px, 4.4vw, 58px);
  letter-spacing: 0;
}

.hero-lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: #3c455c;
  font-size: clamp(17px, 1.45vw, 22px);
}

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

.primary-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 700;
}

.primary-button {
  border: 0;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 16px 32px rgba(77, 107, 254, 0.28);
  cursor: pointer;
}

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

.text-button {
  border: 1px solid var(--line);
  color: var(--brand-dark);
  background: #fff;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 430px;
  margin: 42px 0 0;
}

.hero-metrics div,
.solution-grid article,
.case-grid article,
.resource-panel > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}

.hero-metrics div {
  padding: 18px;
}

.hero-metrics dt {
  color: var(--brand);
  font-size: clamp(23px, 2.3vw, 34px);
  font-weight: 850;
  line-height: 1;
}

.hero-metrics dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(77, 107, 254, 0.18);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(180deg, rgba(77, 107, 254, 0.08), rgba(255, 255, 255, 0.92)),
    #ffffff;
  box-shadow: var(--shadow);
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(77, 107, 254, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 107, 254, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, #000, transparent 88%);
  pointer-events: none;
  content: "";
}

.architecture-title,
.architecture-main-image,
.architecture-tags {
  position: relative;
  z-index: 1;
}

.architecture-title {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 18px;
}

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

.architecture-title strong {
  color: var(--brand-dark);
  font-size: clamp(20px, 2vw, 28px);
}

.architecture-main-image {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.08);
}

.architecture-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.architecture-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(77, 107, 254, 0.18);
  border-radius: 8px;
  color: #273562;
  font-size: 13px;
  font-weight: 700;
  background: #fff;
}

.section {
  padding: clamp(62px, 9vw, 110px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 830px;
  margin: 0 0 34px;
}

.section-heading.compact {
  max-width: 980px;
}

.section-heading h2 {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.solution-grid article {
  min-height: 230px;
  padding: 26px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.solution-grid article:hover {
  border-color: rgba(77, 107, 254, 0.46);
  box-shadow: 0 18px 48px rgba(77, 107, 254, 0.12);
  transform: translateY(-4px);
}

.number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  aspect-ratio: 1;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--brand);
  font-weight: 850;
  background: var(--soft);
}

.solution-grid h3,
.resource-panel h3 {
  font-size: 22px;
}

.solution-grid p,
.loop-steps span,
.resource-panel p {
  margin: 12px 0 0;
  color: var(--muted);
}

.system-section {
  background: linear-gradient(180deg, #f7f9ff, #ffffff);
}

.system-layout {
  display: grid;
  grid-template-columns: minmax(290px, 0.78fr) minmax(0, 1.22fr);
  gap: 26px;
  align-items: stretch;
}

.loop-steps {
  display: grid;
  gap: 14px;
}

.loop-steps article {
  padding: 20px;
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(41, 65, 133, 0.08);
}

.loop-steps b,
.loop-steps span {
  display: block;
}

.architecture-figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.architecture-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.architecture-figure figcaption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 13px;
}

.proof-section {
  background: #fff;
}

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

.case-grid article {
  padding: 24px;
  background: linear-gradient(180deg, #fff, #f8faff);
}

.case-type {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.case-grid h3 {
  font-size: 25px;
}

.case-grid dl {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
}

.case-grid dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.case-grid dt {
  color: var(--brand-dark);
  font-size: 24px;
  font-weight: 850;
}

.case-grid dd {
  margin: 0;
  color: var(--muted);
}

.screenshot-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(180px, 0.45fr) minmax(180px, 0.45fr);
  gap: 18px;
  align-items: start;
  margin-top: 26px;
}

.screenshot-strip img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(30, 52, 139, 0.12);
}

.screenshot-strip img:first-child {
  align-self: stretch;
}

.channels-section {
  background: #f7f9ff;
}

.channel-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.channel-logos > div {
  display: grid;
  place-items: center;
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.channel-logos img {
  max-height: 58px;
  object-fit: contain;
}

.channel-word {
  color: #1d2b58;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

.resource-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.resource-panel > div {
  padding: 24px;
}

.industries-section {
  background: #fff;
}

.industry-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.industry-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(77, 107, 254, 0.22);
  border-radius: 8px;
  color: #2c3760;
  background: #fff;
}

.industry-cloud span:nth-child(3n) {
  border-color: rgba(22, 169, 120, 0.28);
}

.industry-cloud span:nth-child(4n) {
  border-color: rgba(247, 169, 40, 0.32);
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
  padding: clamp(62px, 9vw, 110px) clamp(18px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(77, 107, 254, 0.96), rgba(22, 184, 216, 0.92)),
    #4d6bfe;
}

.cta-section .eyebrow,
.cta-section p {
  color: rgba(255, 255, 255, 0.84);
}

.cta-section h2 {
  font-size: clamp(32px, 4vw, 52px);
}

.cta-section p:not(.eyebrow) {
  max-width: 560px;
  margin: 16px 0 0;
  font-size: 18px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  padding: 10px 12px;
  color: #0f172a;
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .wide,
.contact-form button,
.form-note {
  grid-column: 1 / -1;
}

.contact-form .primary-button {
  width: 100%;
  background: #111827;
  box-shadow: none;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: #fff;
  font-size: 14px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: #0f172a;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong,
.site-footer a {
  color: #fff;
}

.site-footer span {
  margin-top: 4px;
  font-size: 13px;
}

@media (max-width: 1080px) {
  .hero,
  .system-layout,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .solution-grid,
  .case-grid,
  .resource-panel {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 820px) {
  .site-header {
    min-height: 68px;
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 12px;
  }

  .section-band {
    padding-top: 96px;
  }

  .hero-metrics,
  .solution-grid,
  .case-grid,
  .resource-panel,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
  }

  .hero-metrics div {
    padding: 15px;
  }

  .architecture-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .architecture-tags span {
    min-height: 32px;
    font-size: 12px;
  }

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

  .screenshot-strip img:nth-child(n + 2) {
    max-height: 520px;
    object-fit: cover;
    object-position: top;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand small {
    display: none;
  }

  .section,
  .cta-section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-button,
  .text-button {
    width: 100%;
  }

  .channel-logos {
    grid-template-columns: 1fr;
  }
}
