:root {
  --brand: #0b73f6;
  --brand-dark: #045ad4;
  --brand-soft: #e9f3ff;
  --ink: #112033;
  --muted: #5f6f85;
  --line: #dbe7f7;
  --bg: #f7fbff;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(10, 92, 190, 0.14);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 251, 255, 0.9);
  border-bottom: 1px solid rgba(219, 231, 247, 0.8);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1160px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 182px;
}

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

.menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.menu a {
  min-width: 64px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #31445b;
  text-align: center;
  font-size: 15px;
  transition: color 0.2s ease, background 0.2s ease;
}

.menu a:hover,
.menu a.active {
  color: var(--brand);
  background: var(--brand-soft);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--brand);
}

.section-anchor {
  scroll-margin-top: 88px;
}

.hero {
  width: min(1160px, calc(100% - 40px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 86px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.84fr);
  align-items: center;
  gap: 48px;
}

.hero-content {
  max-width: 680px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
  white-space: nowrap;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.3;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--brand);
  box-shadow: 0 12px 28px rgba(11, 115, 246, 0.24);
}

.button.secondary {
  color: var(--brand);
  background: var(--white);
  border-color: var(--line);
}

.button.light {
  background: var(--white);
  color: var(--brand);
  box-shadow: none;
}

.hero-panel {
  position: relative;
  padding: 34px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 22px 22px auto auto;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(197, 228, 255, 0.64);
}

.metric {
  position: relative;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.metric:last-child {
  border-bottom: 0;
}

.metric strong {
  display: block;
  margin-bottom: 6px;
  font-size: 30px;
  line-height: 1.2;
}

.metric span {
  color: rgba(255, 255, 255, 0.78);
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-head p:last-child {
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 286px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 34px rgba(19, 59, 105, 0.06);
}

.card-index {
  display: inline-flex;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 800;
}

.card p,
.step p,
.about p,
.cta p {
  color: var(--muted);
}

.band {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100% - 1160px) / 2));
  padding-left: max(20px, calc((100% - 1160px) / 2));
  background: var(--white);
}

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

.solution-item {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(90deg, var(--brand-soft), var(--white));
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.solution-item:hover {
  transform: translateX(4px);
  border-color: rgba(11, 115, 246, 0.45);
}

.solution-item span {
  color: var(--brand);
  font-weight: 800;
}

.solution-item strong {
  font-size: 18px;
  line-height: 1.4;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step {
  padding: 26px;
  border-left: 3px solid var(--brand);
  border-radius: 8px;
  background: var(--white);
}

.step span {
  display: block;
  margin-bottom: 28px;
  color: rgba(11, 115, 246, 0.28);
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
}

.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 54px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.about p {
  margin-bottom: 0;
  font-size: 18px;
}

.cta {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto 84px;
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: var(--shadow);
}

.cta .eyebrow,
.cta p {
  color: rgba(255, 255, 255, 0.78);
}

.cta h2 {
  margin-bottom: 12px;
}

.cta p {
  margin-bottom: 0;
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-inner {
  width: min(1160px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

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

@media (max-width: 980px) {
  .hero,
  .service-grid,
  .process,
  .about {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
  }

  .service-grid,
  .process {
    gap: 16px;
  }

  .card {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .nav {
    width: min(100% - 28px, 1160px);
    min-height: 68px;
  }

  .brand {
    width: 150px;
  }

  .menu-toggle {
    display: block;
  }

  .menu {
    position: absolute;
    top: 68px;
    right: 14px;
    left: 14px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .menu.open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu a {
    border-radius: 8px;
  }

  .hero,
  .section,
  .cta {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    padding: 48px 0 56px;
    gap: 30px;
  }

  h1 {
    font-size: clamp(28px, 9vw, 42px);
    white-space: normal;
  }

  h2 {
    font-size: 30px;
  }

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

  .hero-panel {
    padding: 26px;
  }

  .metric strong {
    font-size: 24px;
  }

  .section {
    padding: 60px 0;
  }

  .band {
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }

  .solution-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px;
  }

  .cta {
    margin-bottom: 60px;
    padding: 30px;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    width: min(100% - 28px, 1160px);
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}
