:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #6b7280;
  --soft: #eef6ff;
  --line: #e6eaf2;
  --brand: #2f6bff;
  --brand-dark: #173681;
  --accent: #14b8a6;
  --navy: #10205a;
  --navy-deep: #111f56;
  --paper: #ffffff;
  --warm: #f5f7fb;
  --shadow: 0 24px 70px rgba(33, 43, 60, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
}

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

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(230, 234, 242, 0.92);
  backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  width: 190px;
  min-width: 190px;
}

.brand img,
.footer-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  font-size: 14px;
}

.nav a {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted);
}

.nav a[aria-current="page"],
.nav a:hover {
  color: var(--brand-dark);
  background: var(--soft);
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  white-space: nowrap;
}

.header-cta,
.primary-button {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 16px 34px rgba(47, 107, 255, 0.2);
}

.secondary-button {
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.82);
  border-color: #bcd0ff;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("/images/hehengcloud-governance-hero.webp");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(245, 247, 251, 0.98) 0%, rgba(245, 247, 251, 0.9) 34%, rgba(245, 247, 251, 0.2) 68%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 40px));
  margin-left: clamp(20px, 6vw, 92px);
  padding: 90px 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

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

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-lead,
.page-hero p,
.section-heading p,
.split-section p,
.cta-section p {
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
}

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

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

.hero-metrics div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(230, 234, 242, 0.95);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.07);
}

.hero-metrics dt {
  color: var(--brand-dark);
  font-weight: 800;
}

.hero-metrics dd {
  margin: 2px 0 0;
  color: var(--muted);
}

.section,
.page-hero {
  padding: clamp(70px, 9vw, 124px) clamp(20px, 5vw, 72px);
}

.page-hero {
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
    url("/images/hehengcloud-governance-hero.webp") center / cover;
  border-bottom: 1px solid var(--line);
}

.page-hero h1,
.section-heading h2,
.split-section h2,
.security-band h2,
.cta-section h2 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.16;
  letter-spacing: 0;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 38px;
}

.pain-grid,
.feature-grid,
.solution-grid,
.pricing-grid,
.detail-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pain-grid article,
.feature-card,
.solution-card,
.price-card,
.detail-list article,
.process-list article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.05);
}

.pain-grid article {
  display: flex;
  gap: 12px;
  padding: 20px;
}

.pain-grid span {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.feature-card,
.solution-card,
.price-card,
.detail-list article {
  padding: 26px;
}

.card-index {
  color: var(--accent);
  font-weight: 900;
}

.feature-card h3,
.solution-card h3,
.price-card h2,
.detail-list h2 {
  margin: 10px 0 8px;
  font-size: 22px;
  line-height: 1.25;
}

.feature-card p,
.solution-card p,
.price-card p,
.detail-list p,
.process-list span,
.site-footer p {
  color: var(--muted);
}

.soft-band,
.security-band {
  background: var(--warm);
}

.solution-card ul,
.price-card ul,
.security-band ul {
  margin: 20px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.split-section,
.security-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
}

.process-list {
  display: grid;
  gap: 14px;
}

.process-list article {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 14px;
  padding: 20px;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--brand-dark);
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

details {
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

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

details p {
  color: var(--muted);
}

.cta-section {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(23, 54, 129, 0.98), rgba(16, 32, 90, 0.98)),
    var(--navy);
}

.cta-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: center;
  gap: clamp(40px, 8vw, 120px);
}

.cta-copy {
  min-width: 0;
}

.cta-section .eyebrow,
.cta-section p {
  color: #c8d4ff;
}

.cta-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.cta-points span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(200, 212, 255, 0.28);
  border-radius: 999px;
  color: #e5edff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 700;
}

.wecom-card {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin: 0;
}

.wecom-card img {
  width: min(100%, 340px);
  height: auto;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(8, 18, 58, 0.32);
}

.wecom-card figcaption {
  color: #e5edff;
  font-size: 15px;
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(360px, auto);
  align-items: center;
  gap: clamp(28px, 6vw, 88px);
  padding: 46px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-brand-block {
  display: grid;
  gap: 12px;
}

.footer-brand-block p {
  max-width: 360px;
  margin: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(96px, 1fr));
  gap: 12px 28px;
  justify-items: start;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: #59647a;
}

.footer-links a:hover {
  color: var(--brand-dark);
}

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-legal a {
  color: #7b8496;
}

.footer-legal a:hover {
  color: var(--brand-dark);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 660px;
  }

  .hero-overlay {
    background: rgba(255, 255, 255, 0.88);
  }

  .pain-grid,
  .feature-grid,
  .solution-grid,
  .pricing-grid,
  .detail-list,
  .split-section,
  .security-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .cta-layout {
    grid-template-columns: 1fr;
  }

  .wecom-card {
    justify-content: flex-start;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }
}

@media (max-width: 640px) {
  .nav {
    justify-content: flex-start;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px;
  }

  .section,
  .page-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .process-list article {
    grid-template-columns: 1fr;
  }
}
