:root {
  --bg: #f7faf8;
  --ink: #17211d;
  --muted: #5a6862;
  --line: rgba(23, 33, 29, 0.12);
  --green: #1f8a62;
  --teal: #0f9ca7;
  --lime: #b8dd62;
  --graphite: #18211f;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(24, 33, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(12, 18, 17, 0.76), rgba(12, 18, 17, 0));
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 0;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: #10201a;
  background: linear-gradient(135deg, var(--lime), #6ee7d7);
  box-shadow: 0 0 24px rgba(110, 231, 215, 0.36);
}

.nav {
  gap: clamp(12px, 3vw, 28px);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.86);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 14, 13, 0.92) 0%, rgba(8, 14, 13, 0.72) 40%, rgba(8, 14, 13, 0.25) 74%),
    url("assets/hero-tech.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 26%;
  background: linear-gradient(180deg, rgba(247, 250, 248, 0), var(--bg));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 112px 0 80px;
}

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

.hero .eyebrow {
  color: #91f1de;
}

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

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

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

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 2vw, 20px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
}

.button.primary {
  color: #10201a;
  background: linear-gradient(135deg, var(--lime), #7be8d9);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

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

.intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.section-title {
  max-width: 760px;
}

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

.card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(24, 33, 31, 0.06);
}

.card .icon {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--green);
  font-weight: 900;
}

.card p,
.product p,
.steps p {
  margin: 14px 0 0;
  color: var(--muted);
}

.product-section {
  width: 100%;
  padding-inline: max(20px, calc((100vw - 1120px) / 2));
  background: #eef5f1;
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  margin-top: 30px;
}

.tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 10px;
  border-radius: 8px;
  color: #0d4639;
  background: rgba(31, 138, 98, 0.12);
  font-size: 14px;
  font-weight: 800;
}

.product-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(31, 138, 98, 0.22);
  border-radius: 8px;
  background: var(--graphite);
  box-shadow: var(--shadow);
}

.panel-row {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
}

.panel-row span {
  color: #8ff0d9;
  font-size: 13px;
  font-weight: 800;
}

.panel-row strong {
  font-size: 18px;
}

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

.steps span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font-weight: 800;
}

.cta {
  width: min(1120px, calc(100% - 40px));
  margin: 28px auto 0;
  padding: clamp(30px, 5vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 54px);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(24, 33, 31, 0.96), rgba(15, 83, 78, 0.94)),
    radial-gradient(circle at 80% 20%, rgba(184, 221, 98, 0.28), transparent 34%);
}

.cta .eyebrow {
  color: #91f1de;
}

.cta h2 {
  max-width: 760px;
}

.contact-note {
  max-width: 560px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

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

.wechat-card,
.email-card {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
}

.wechat-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px;
}

.wechat-card img {
  display: block;
  width: 112px;
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--white);
  object-fit: cover;
}

.wechat-card figcaption,
.email-card span {
  color: #91f1de;
  font-size: 14px;
  font-weight: 800;
}

.email-card {
  display: grid;
  gap: 4px;
  padding: 18px;
}

.email-card strong {
  font-size: 18px;
  overflow-wrap: anywhere;
}

.footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    padding-top: 16px;
  }

  .brand span:last-child {
    max-width: 9em;
    line-height: 1.25;
  }

  .nav {
    gap: 12px;
    font-size: 14px;
  }

  .hero {
    min-height: 760px;
    background:
      linear-gradient(180deg, rgba(8, 14, 13, 0.92), rgba(8, 14, 13, 0.76) 56%, rgba(8, 14, 13, 0.42)),
      url("assets/hero-tech.png") center / cover no-repeat;
  }

  .hero-inner {
    padding-top: 132px;
  }

  .intro,
  .service-grid,
  .product,
  .steps {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .card {
    min-height: auto;
  }

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

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

@media (max-width: 520px) {
  .site-header {
    flex-direction: column;
    gap: 12px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: 36px;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

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

  .wechat-card img {
    width: min(100%, 220px);
  }
}
