:root {
  color-scheme: light;
  --ink: #101828;
  --muted: #667085;
  --line: #d9e2ef;
  --paper: #f7f9fc;
  --white: #ffffff;
  --blue: #2475ff;
  --cyan: #1bc8f5;
  --green: #35d69b;
  --navy: #081424;
  --orange: #ffb85c;
  --shadow: 0 24px 70px rgba(16, 24, 40, .13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: 78px;
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #eef6ff 0, #ffffff 420px, #f7f9fc 100%);
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1160px, calc(100% - 32px));
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 8px;
  background: rgba(8, 20, 36, .72);
  color: #fff;
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 48px rgba(8, 20, 36, .22);
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: #06131f;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 16px;
  line-height: 1.2;
}

.brand small {
  margin-top: 4px;
  color: rgba(255, 255, 255, .66);
  font-size: 10px;
}

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

.nav-links a {
  padding: 10px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 150px max(24px, calc((100vw - 1160px) / 2)) 54px;
  background: var(--navy);
  color: #fff;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 13, 27, .92) 0%, rgba(5, 13, 27, .64) 42%, rgba(5, 13, 27, .25) 100%),
    linear-gradient(180deg, rgba(5, 13, 27, .15), rgba(5, 13, 27, .72));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  padding-bottom: 88px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #79f0c4;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--blue);
}

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

h1 {
  margin-bottom: 22px;
  max-width: 900px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 1.03;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

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

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.btn.primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  box-shadow: 0 18px 38px rgba(36, 117, 255, .32);
}

.btn.primary.light {
  background: #fff;
  color: #0a5dde;
  box-shadow: none;
}

.btn.ghost {
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.hero-panel {
  position: absolute;
  z-index: 3;
  right: max(24px, calc((100vw - 1160px) / 2));
  bottom: 52px;
  width: min(390px, calc(100% - 48px));
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: rgba(8, 20, 36, .66);
  backdrop-filter: blur(20px);
}

.hero-panel span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
}

.hero-panel strong {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.35;
}

.hero-panel p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  line-height: 1.7;
}

.metrics {
  position: relative;
  z-index: 5;
  width: min(1160px, calc(100% - 32px));
  margin: -42px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.metrics div {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 20px 28px;
  border-right: 1px solid var(--line);
}

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

.metrics strong {
  color: var(--blue);
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1;
}

.metrics span {
  color: var(--muted);
  font-weight: 700;
}

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

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 430px) 1fr;
  gap: 72px;
  align-items: start;
  padding-bottom: 40px;
}

.section-heading h2,
.contact-info h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.15;
  letter-spacing: 0;
}

.section-copy {
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 2;
}

.services {
  padding-top: 48px;
}

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

.service-card {
  min-height: 292px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 18px 50px rgba(16, 24, 40, .06);
}

.service-card.accent-card {
  background: linear-gradient(155deg, #0c223b, #143c58);
  color: #fff;
  border-color: rgba(255, 255, 255, .12);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 8px;
  background: #eaf2ff;
  color: var(--blue);
  font-weight: 900;
}

.accent-card .card-icon {
  background: rgba(255, 255, 255, .12);
  color: #79f0c4;
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 22px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.accent-card p {
  color: rgba(255, 255, 255, .74);
}

.process {
  padding-top: 76px;
}

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

.timeline li {
  position: relative;
  min-height: 186px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.timeline li::before {
  content: "";
  width: 12px;
  height: 12px;
  display: block;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(53, 214, 155, .13);
}

.timeline strong {
  display: block;
  margin-bottom: 12px;
  font-size: 20px;
}

.timeline span {
  color: var(--muted);
  line-height: 1.75;
}

.contact-section {
  width: min(1160px, calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 46px;
  align-items: center;
  margin: 26px auto 92px;
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-info p:not(.eyebrow) {
  margin: 22px 0 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

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

.contact-list a,
.contact-list span {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  background: #f2f6fb;
  color: #31506e;
  font-weight: 700;
}

.contact-list a {
  color: var(--blue);
}

.qr-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 22px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f5f9ff, #ffffff);
  border: 1px solid var(--line);
  text-align: center;
}

.qr-card img {
  width: min(260px, 100%);
  border-radius: 8px;
  border: 10px solid #fff;
  box-shadow: 0 14px 36px rgba(16, 24, 40, .1);
}

.qr-card strong {
  font-size: 22px;
}

.qr-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.qr-card .qr-title {
  color: var(--blue);
  font-weight: 800;
}

.qr-card .qr-phone {
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
}

.site-footer {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 28px 24px 30px;
  background: var(--navy);
  color: rgba(255, 255, 255, .68);
  text-align: center;
  line-height: 1.6;
}

.site-footer span:first-child {
  color: rgba(255, 255, 255, .82);
}

.footer-address {
  width: min(520px, 100%);
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .58);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.fixed-contact {
  position: fixed;
  z-index: 30;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  background: #07111f;
  color: #fff;
  box-shadow: 0 -14px 42px rgba(8, 20, 36, .28);
  backdrop-filter: blur(18px);
}

.fixed-contact span {
  min-width: 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.fixed-contact a {
  min-height: 38px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    height: auto;
    min-height: 68px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-bottom: 250px;
  }

  .hero-panel {
    left: 24px;
    right: auto;
  }

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

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

@media (max-width: 680px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    padding: 12px;
  }

  .brand strong {
    max-width: calc(100vw - 88px);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: 820px;
    padding: 118px 18px 34px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(5, 13, 27, .86), rgba(5, 13, 27, .7) 48%, rgba(5, 13, 27, .88));
  }

  .hero-content {
    padding-bottom: 270px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .hero-lead,
  .section-copy,
  .contact-info p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-panel {
    left: 18px;
    bottom: 28px;
    width: calc(100% - 36px);
    padding: 20px;
  }

  .hero-panel strong {
    font-size: 21px;
  }

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

  .metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .section {
    padding: 68px 0;
  }

  .intro {
    gap: 20px;
    padding-bottom: 20px;
  }

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

  .service-card,
  .timeline li {
    min-height: auto;
  }

  .contact-section {
    width: calc(100% - 32px);
    margin-bottom: 64px;
    padding: 24px;
  }

  .site-footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .fixed-contact {
    min-height: 68px;
    align-items: stretch;
    padding: 10px 12px;
  }

  .fixed-contact span {
    font-size: 13px;
  }

  .fixed-contact a {
    min-width: 104px;
    padding: 0 10px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
