:root {
  --ink: #172126;
  --muted: #5d6b73;
  --soft: #f4f8f7;
  --line: #dce8e4;
  --green: #0f9f78;
  --green-dark: #07624f;
  --cyan: #28b7c8;
  --amber: #d99b35;
  --deep: #0b1d22;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(9, 34, 40, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px max(24px, calc((100vw - 1160px) / 2));
  color: var(--white);
  transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(7, 39, 45, 0.12);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

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

.brand small {
  margin-top: 4px;
  color: currentColor;
  font-size: 11px;
  opacity: 0.74;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: currentColor;
  font-size: 15px;
}

.site-nav a {
  opacity: 0.82;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #19d0a4;
  opacity: 1;
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a.is-active {
  color: var(--green);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.site-header.is-scrolled .nav-toggle,
.site-header.is-open .nav-toggle {
  border-color: var(--line);
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 84vh;
  padding: 150px 0 64px;
  color: var(--white);
  overflow: hidden;
  background: var(--deep);
}

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

.hero-bg {
  background: url("../images/hero-dashboard.jpg") center / cover no-repeat;
  transform: scale(1.03);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 15, 20, 0.92), rgba(3, 24, 25, 0.68) 44%, rgba(3, 18, 21, 0.2)),
    linear-gradient(180deg, rgba(3, 13, 18, 0.72), rgba(3, 13, 18, 0.12) 46%, rgba(3, 13, 18, 0.8));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1160px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.hero .eyebrow {
  color: #67f0ce;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 58px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: var(--white);
  box-shadow: 0 16px 32px rgba(15, 159, 120, 0.28);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(760px, 100%);
  margin: 56px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(4, 27, 31, 0.62);
  backdrop-filter: blur(12px);
}

.hero-metrics div {
  padding: 20px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics dt {
  color: #7ff2d3;
  font-size: 22px;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.section-pad {
  padding: 92px 0;
}

.soft-bg {
  background: var(--soft);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: 36px;
  line-height: 1.22;
  letter-spacing: 0;
}

.intro p,
.section-head p,
.ai-copy p,
.delivery-grid > div > p,
.contact-grid > div > p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

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

.service-card,
.case-card,
.solution-strip article,
.fit-grid p {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(10, 39, 46, 0.06);
}

.service-card {
  min-height: 240px;
  padding: 28px;
}

.card-index {
  display: block;
  color: var(--amber);
  font-size: 14px;
  font-weight: 800;
}

.service-card h3,
.solution-strip h3,
.case-card h3 {
  margin: 18px 0 10px;
  font-size: 21px;
  line-height: 1.25;
}

.service-card p,
.solution-strip p,
.case-card p,
.fit-grid p,
.timeline p {
  margin: 0;
  color: var(--muted);
}

.ai-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #324249;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--cyan));
}

.image-feature {
  margin: 0;
}

.image-feature img,
.visual-band img,
.case-card img {
  width: 100%;
  object-fit: cover;
  background: #d7e5e2;
}

.image-feature img {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-feature figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.deep-bg {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(9, 31, 38, 0.96), rgba(7, 64, 61, 0.94)),
    url("../images/grid-texture.png") center / cover;
}

.inverted h2,
.deep-bg h2 {
  color: var(--white);
}

.inverted p {
  color: rgba(255, 255, 255, 0.72);
}

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

.solution-strip article {
  min-height: 230px;
  padding: 26px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.solution-strip h3 {
  color: var(--white);
}

.solution-strip p {
  color: rgba(255, 255, 255, 0.72);
}

.visual-band {
  padding: 88px 0;
  background: #101f25;
  color: var(--white);
  overflow: hidden;
}

.visual-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 52px;
  align-items: center;
}

.visual-copy {
  width: 100%;
  max-width: 560px;
  padding: 0;
}

.visual-copy h2 {
  color: var(--white);
  line-height: 1.18;
}

.visual-copy h2 span {
  display: block;
}

.visual-copy p:last-child {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.72);
}

.visual-media {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.visual-media img {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  border-radius: 6px;
  object-fit: cover;
}

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

.case-card {
  overflow: hidden;
}

.case-card-large {
  grid-column: span 2;
  grid-row: span 2;
}

.case-card img {
  height: 180px;
}

.case-card-large img {
  height: 360px;
}

.case-card div {
  padding: 22px;
}

.case-card h3 {
  margin-top: 0;
}

.delivery-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.timeline li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.timeline span {
  grid-row: span 2;
  color: var(--green);
  font-size: 24px;
  font-weight: 800;
}

.timeline strong {
  font-size: 19px;
}

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

.fit-grid p {
  min-height: 170px;
  padding: 24px;
  color: #2d3f46;
}

.contact-section {
  padding: 90px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 31, 35, 0.94), rgba(6, 67, 58, 0.9)),
    url("../images/contact-bg.jpg") center / cover no-repeat;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 42px;
  align-items: center;
}

.contact-grid h2 {
  color: var(--white);
}

.contact-grid > div > p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
}

.contact-panel span,
.contact-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-panel strong {
  display: block;
  margin-top: 10px;
  font-size: 34px;
}

.contact-panel a {
  display: block;
  margin-top: 8px;
  color: #7ff2d3;
  font-size: 30px;
  font-weight: 800;
}

.wechat-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  align-items: center;
  margin: 22px 0 18px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
}

.wechat-card img {
  width: 132px;
  aspect-ratio: 1;
  border-radius: 6px;
  background: var(--white);
}

.wechat-card p {
  margin: 0;
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
}

.site-footer {
  padding: 26px 0;
  color: #c9d9d5;
  background: #071417;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: #7ff2d3;
}

.floating-call {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 25;
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 18px 38px rgba(7, 98, 79, 0.3);
  font-weight: 800;
}

@media (max-width: 1020px) {
  .service-grid,
  .solution-strip,
  .fit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-grid,
  .delivery-grid,
  .intro-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .visual-inner {
    grid-template-columns: 1fr;
  }

  .visual-copy {
    width: min(700px, calc(100% - 40px));
    max-width: 700px;
    margin: 0;
    padding: 0;
  }

  .visual-media img {
    aspect-ratio: 16 / 9;
  }

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

@media (max-width: 820px) {
  .site-header {
    padding: 12px 20px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    right: 20px;
    left: 20px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 14px;
    border-radius: 6px;
  }

  .site-nav a:hover,
  .site-nav a.is-active {
    background: var(--soft);
  }

  .hero {
    min-height: 720px;
    padding-top: 124px;
  }

  .hero h1 {
    font-size: 42px;
  }

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

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

  .hero-metrics div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  .section-pad {
    padding: 70px 0;
  }

  h2 {
    font-size: 30px;
  }

  .floating-call {
    display: inline-flex;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 680px;
    padding-bottom: 44px;
  }

  .hero h1 {
    font-size: 34px;
  }

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

  .hero-actions {
    display: grid;
  }

  .service-grid,
  .solution-strip,
  .fit-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .fit-grid p {
    min-height: auto;
  }

  .case-card-large {
    grid-column: auto;
    grid-row: auto;
  }

  .case-card img,
  .case-card-large img {
    height: 230px;
  }

  .timeline li {
    grid-template-columns: 1fr;
  }

  .timeline span {
    grid-row: auto;
  }

  .contact-panel strong {
    font-size: 28px;
  }

  .contact-panel a {
    font-size: 24px;
  }

  .wechat-card {
    grid-template-columns: 116px 1fr;
  }

  .wechat-card img {
    width: 116px;
  }

  .footer-inner {
    display: grid;
  }
}
