:root {
  --ink: #18212f;
  --muted: #5c6878;
  --line: #d8e0ea;
  --bg: #f7f9fc;
  --panel: #ffffff;
  --accent: #0f8b8d;
  --accent-dark: #0a6268;
  --gold: #d59f3a;
  --green: #2f9e6d;

  /* 首页首屏文字大小，在这里调整即可 */
  --hero-company-size: 52px;
  --hero-brand-size: 17px;
  --hero-english-size: 13px;
  --hero-title-size: 32px;
  --hero-copy-size: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 7vw;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #ffffff;
  background: var(--accent);
  border-radius: 8px;
  font-weight: 800;
}

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

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

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 64px 7vw 80px;
  background:
    linear-gradient(120deg, rgba(15, 139, 141, 0.12), rgba(213, 159, 58, 0.12)),
    radial-gradient(circle at 72% 24%, rgba(47, 158, 109, 0.24), transparent 28%),
    #ffffff;
}

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

.hero-brandline {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 28px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(24, 33, 47, 0.18);
}

.hero-brandline span {
  color: var(--ink);
  font-size: var(--hero-company-size);
  font-weight: 850;
  line-height: 1;
}

.hero-brandline small {
  color: var(--accent-dark);
  font-size: var(--hero-brand-size);
  font-weight: 800;
  letter-spacing: 0;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: var(--hero-title-size);
  line-height: 1.12;
}

h2 {
  margin-bottom: 0;
  font-size: 32px;
  line-height: 1.25;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.hero-copy {
  max-width: 680px;
  color: var(--muted);
  font-size: var(--hero-copy-size);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

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

.primary-action {
  color: #ffffff;
  background: var(--accent);
}

.secondary-action {
  color: var(--accent-dark);
  border: 1px solid var(--accent);
  background: #ffffff;
}

.hero-visual {
  display: grid;
  min-height: 460px;
  place-items: center;
}

.phone-frame {
  position: relative;
  width: min(360px, 100%);
  aspect-ratio: 0.72;
  padding: 56px 22px 24px;
  background: #16212e;
  border: 10px solid #273647;
  border-radius: 34px;
  box-shadow: 0 28px 80px rgba(24, 33, 47, 0.28);
}

.phone-top {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 92px;
  height: 8px;
  background: #5f6d7c;
  border-radius: 99px;
  transform: translateX(-50%);
}

.benefit-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 112px;
  margin-bottom: 18px;
  padding: 18px;
  color: #ffffff;
  border-radius: 8px;
}

.benefit-card span {
  color: rgba(255, 255, 255, 0.82);
}

.benefit-card strong {
  font-size: 24px;
}

.card-a {
  background: linear-gradient(135deg, var(--accent), #34a6a8);
}

.card-b {
  background: linear-gradient(135deg, var(--gold), #c77b36);
}

.card-c {
  background: linear-gradient(135deg, var(--green), #277d98);
}

.section {
  padding: 76px 7vw;
}

.muted {
  background: #eef3f7;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.scenario-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 24px;
}

.scenario-main,
.service-grid article,
.contact-panel,
.process li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.scenario-main {
  padding: 30px;
}

.scenario-main p,
.service-grid p,
.process p,
.contact-panel p {
  color: var(--muted);
}

.scenario-list {
  display: grid;
  gap: 12px;
}

.scenario-list div {
  padding: 18px;
  background: #ffffff;
  border-left: 4px solid var(--accent);
}

.scenario-list strong,
.scenario-list span {
  display: block;
}

.scenario-list span {
  margin-top: 4px;
  color: var(--muted);
}

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

.service-grid article {
  min-height: 190px;
  padding: 22px;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process li {
  min-height: 205px;
  padding: 22px;
}

.process span {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 28px;
  font-weight: 800;
}

.process strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 28px;
  padding: 32px;
}

.contact-box {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 22px;
  background: #f7f9fc;
  border-radius: 8px;
}

.contact-box strong {
  color: var(--accent-dark);
}

.contact-box span {
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 7vw;
  color: var(--muted);
  background: #ffffff;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

@media (max-width: 980px) {
  :root {
    --hero-company-size: 34px;
    --hero-brand-size: 15px;
    --hero-title-size: 42px;
  }

  h1 {
    font-size: var(--hero-title-size);
  }

  .hero,
  .scenario-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  :root {
    --hero-company-size: 30px;
    --hero-title-size: 34px;
    --hero-copy-size: 16px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 20px;
  }

  .nav {
    justify-content: flex-start;
    gap: 12px;
  }

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

  h1 {
    font-size: var(--hero-title-size);
  }

  .hero-brandline {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hero-brandline small {
    bottom: 0;
  }

  h2 {
    font-size: 26px;
  }

  .service-grid,
  .process {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 390px;
  }

  .footer {
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
  }
}
