:root {
  --blue: #1e50ae;
  --blue-dark: #163f8c;
  --red: #ec5454;
  --ink: #222222;
  --muted: #666666;
  --line: #e9edf5;
  --bg: #ffffff;
  --soft: #f6f8fc;
  --width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.topbar {
  background: #fff;
  position: relative;
  z-index: 5;
  box-shadow: 0 1px 0 rgba(30, 80, 174, 0.08);
}

.mini-strip {
  background: var(--blue);
  color: #fff;
  font-size: 13px;
}

.mini-inner {
  min-height: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand-row {
  height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  color: var(--blue);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0;
}

.menu-button {
  display: none;
  border: 1px solid var(--blue);
  background: #fff;
  color: var(--blue);
  padding: 8px 14px;
  font: 700 14px inherit;
}

.nav {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.nav-inner {
  height: 56px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0;
}

.nav a {
  min-width: 128px;
  height: 56px;
  display: grid;
  place-items: center;
  color: #333;
  font-size: 15px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: var(--blue);
}

.hero {
  min-height: 800px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.86) 30%, rgba(255, 255, 255, 0.18) 62%, rgba(255, 255, 255, 0.04) 100%),
    url("https://28726884.s21i.faiusr.com/2/1/ABUIABACGAAgkqb-yAYooJHHlwYwgB44_Ao.jpg") center / cover no-repeat,
    linear-gradient(135deg, #edf4ff, #ffffff 45%, #d8e6ff);
  display: flex;
  align-items: center;
}

.hero-copy {
  padding-top: 28px;
}

.hero-tag {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
}

.hero h1 {
  margin: 0 0 28px;
  color: var(--red);
  font-size: 48px;
  line-height: 1.2;
  font-weight: 800;
}

.hero p {
  margin: 0 0 54px;
  color: #4b4b4b;
  font-size: 24px;
}

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

.primary-button,
.white-button,
.blue-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 162px;
  height: 54px;
  padding: 0 28px;
  border-radius: 0;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  min-width: 224px;
  background: var(--red);
  color: #fff;
  font-size: 24px;
}

.white-button {
  min-width: 250px;
  height: 66px;
  background: #fff;
  color: var(--blue);
  font-size: 18px;
}

.blue-button {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 12px rgba(30, 80, 174, 0.35);
}

.ghost-button {
  border: 1px solid var(--blue);
  color: var(--blue);
  background: rgba(255, 255, 255, 0.78);
}

.primary-button:hover,
.white-button:hover,
.blue-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(30, 80, 174, 0.2);
}

.quick-links {
  background: #fff;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

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

.quick-item {
  min-height: 128px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  align-content: center;
  gap: 4px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.quick-item:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 80, 174, 0.36);
  box-shadow: 0 16px 28px rgba(30, 80, 174, 0.08);
}

.quick-item b {
  color: var(--red);
  font-size: 18px;
}

.quick-item strong {
  color: var(--blue);
  font-size: 20px;
}

.quick-item span {
  color: var(--muted);
  font-size: 14px;
}

.section-blue {
  background: linear-gradient(135deg, var(--blue), #2d6bd2);
  color: #fff;
}

.service {
  padding: 96px 0 104px;
}

.service-grid,
.community-grid,
.process-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 80px;
  align-items: center;
}

.phone-art {
  display: flex;
  justify-content: center;
}

.service-phone-img {
  width: min(253px, 82vw);
  max-height: 513px;
  object-fit: contain;
  filter: drop-shadow(0 30px 58px rgba(0, 0, 0, 0.22));
}

.phone-shell {
  width: 253px;
  height: 513px;
  border-radius: 34px;
  padding: 15px;
  background: linear-gradient(145deg, #f8fbff, #b8cffd);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
}

.phone-screen {
  height: 100%;
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  padding: 24px;
}

.phone-title {
  color: var(--blue);
  font-size: 24px;
  font-weight: 800;
}

.qr-mark,
.big-qr {
  background-color: #fff;
  background-image:
    linear-gradient(90deg, #111 12%, transparent 12% 22%, #111 22% 30%, transparent 30% 44%, #111 44% 56%, transparent 56% 72%, #111 72% 84%, transparent 84%),
    linear-gradient(#111 12%, transparent 12% 22%, #111 22% 30%, transparent 30% 44%, #111 44% 56%, transparent 56% 72%, #111 72% 84%, transparent 84%);
  background-size: 36px 36px;
  border: 12px solid #fff;
  box-shadow: 0 0 0 1px #d9e0ee;
  image-rendering: pixelated;
}

.qr-mark {
  width: 150px;
  height: 150px;
}

.service-copy h2,
.community-card h2,
.process-heading h2,
.articles-head h2,
.contact-panel h2 {
  margin: 10px 0 22px;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
}

.service-copy p {
  max-width: 560px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  text-align: left;
}

.service-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.service-points span {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
  padding: 8px 14px;
  font-size: 14px;
}

.section-kicker {
  display: inline-block;
  color: currentColor;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0.72;
}

.community {
  padding: 108px 0;
  background: #122f69;
  color: #fff;
  overflow: hidden;
}

.community-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px;
  background:
    linear-gradient(135deg, rgba(236, 84, 84, 0.92), rgba(30, 80, 174, 0.88)),
    url("https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&w=1000&q=80") center / cover no-repeat;
}

.community-card p {
  margin: 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.9);
}

.chat-panel {
  background: #fff;
  color: var(--ink);
  padding: 30px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.22);
}

.community-side {
  position: relative;
  min-height: 586px;
  display: grid;
  align-items: center;
}

.community-side img {
  position: absolute;
  right: 0;
  top: 0;
  width: min(287px, 45vw);
  max-height: 586px;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.24));
}

.community-side .chat-panel {
  position: relative;
  z-index: 1;
  max-width: 430px;
}

.chat-head {
  display: flex;
  justify-content: space-between;
  color: var(--blue);
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.bubble {
  width: fit-content;
  max-width: 82%;
  margin: 14px 0;
  padding: 14px 18px;
  background: #eef3ff;
  color: var(--blue-dark);
}

.bubble.alt {
  margin-left: auto;
  background: var(--red);
  color: #fff;
}

.process {
  padding: 112px 0;
  background: #fff;
}

.process-heading {
  align-self: start;
}

.process-heading .section-kicker,
.articles-head .section-kicker,
.contact-panel .section-kicker {
  color: var(--blue);
}

.process-heading h2 {
  color: #353535;
}

.process-heading p {
  max-width: 560px;
  color: #444;
  margin: 0 0 30px;
}

.steps {
  display: grid;
  gap: 18px;
}

.steps article {
  padding: 28px 30px;
  border: 1px solid var(--line);
  background: var(--soft);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.steps article:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 80, 174, 0.35);
}

.steps b {
  color: var(--red);
  font-size: 24px;
}

.steps h3 {
  margin: 8px 0 8px;
  font-size: 22px;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.process-strip {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: #fff;
}

.process-strip span {
  min-height: 84px;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-weight: 700;
  border-right: 1px solid var(--line);
}

.process-strip span:last-child {
  border-right: 0;
  background: var(--blue);
  color: #fff;
}

.articles {
  padding: 96px 0;
  background: var(--soft);
}

.articles-head {
  text-align: center;
  margin-bottom: 44px;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.article-list article {
  background: #fff;
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 190px;
  box-shadow: 0 12px 30px rgba(30, 80, 174, 0.08);
}

.article-list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-list div {
  padding: 26px;
}

.article-list h3 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 21px;
}

.article-list p {
  margin: 0 0 18px;
  color: var(--muted);
}

.article-list a {
  color: var(--red);
  font-weight: 700;
}

.contact-card {
  padding: 88px 0;
  background: #fff;
}

.sub-hero {
  min-height: 420px;
  color: #fff;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(19, 63, 140, 0.88), rgba(30, 80, 174, 0.68)),
    url("https://20718839.s61i.faiusr.com/4/AD0I98nwCRAEGAAgjLPk7QUow7Sj8wYwgA84oAY.png") center / cover no-repeat,
    var(--blue);
}

.sub-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.12;
}

.sub-hero p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.sub-hero .hero-tag {
  color: #fff;
  opacity: 0.86;
}

.process-hero,
.service-hero {
  background:
    linear-gradient(90deg, rgba(19, 63, 140, 0.9), rgba(30, 80, 174, 0.6)),
    url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1800&q=80") center / cover no-repeat;
}

.contact-hero {
  background:
    linear-gradient(90deg, rgba(19, 63, 140, 0.88), rgba(30, 80, 174, 0.58)),
    url("https://images.unsplash.com/photo-1553877522-43269d4ea984?auto=format&fit=crop&w=1800&q=80") center / cover no-repeat;
}

.article-hero {
  background:
    linear-gradient(90deg, rgba(19, 63, 140, 0.88), rgba(30, 80, 174, 0.58)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80") center / cover no-repeat;
}

.faq-hero,
.sitemap-hero {
  background:
    linear-gradient(90deg, rgba(19, 63, 140, 0.88), rgba(30, 80, 174, 0.64)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=80") center / cover no-repeat;
}

.breadcrumb {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

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

.breadcrumb span::before {
  content: "/";
  margin-right: 12px;
  color: #aab3c5;
}

.inner-section {
  padding: 84px 0;
  background: #fff;
}

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

.inner-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 34px;
  align-items: start;
}

.content-panel,
.side-panel,
.contact-large,
.qr-box {
  border: 1px solid var(--line);
  background: #fff;
  padding: 38px;
}

.content-panel h2,
.side-panel h2,
.contact-large h2 {
  margin: 10px 0 18px;
  color: #353535;
  font-size: 32px;
  line-height: 1.2;
}

.content-panel p,
.contact-large p {
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.timeline div {
  display: grid;
  grid-template-columns: 70px 160px 1fr;
  gap: 22px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.timeline b {
  color: var(--red);
  font-size: 26px;
}

.timeline h3 {
  margin: 0;
  color: var(--blue);
  font-size: 22px;
}

.timeline p {
  margin: 0;
}

.side-panel {
  position: sticky;
  top: 20px;
  display: grid;
  gap: 12px;
}

.side-panel a,
.inline-links a,
.sitemap-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  color: var(--blue);
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
}

.side-panel a:hover,
.inline-links a:hover,
.sitemap-list a:hover {
  background: var(--blue);
  color: #fff;
}

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

.detail-card {
  min-height: 180px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
}

.detail-card h3 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 22px;
}

.detail-card p {
  margin: 0;
  color: var(--muted);
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
}

.contact-actions,
.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.qr-box {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  text-align: center;
}

.qr-box strong {
  color: var(--blue);
  font-size: 22px;
}

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

.article-page-list {
  display: grid;
  gap: 24px;
}

.article-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 210px;
  background: #fff;
  border: 1px solid var(--line);
}

.article-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-row div {
  padding: 34px;
}

.article-row h2 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 28px;
}

.article-row p {
  margin: 0 0 20px;
  color: var(--muted);
}

.article-row a {
  color: var(--red);
  font-weight: 700;
}

.faq-page-list {
  max-width: 960px;
  margin: 0 auto;
}

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

.contact-panel {
  display: flex;
  justify-content: space-between;
  gap: 44px;
  align-items: center;
  padding: 46px 56px;
  border: 1px solid var(--line);
}

.contact-panel p {
  color: var(--muted);
  max-width: 610px;
  margin: 0;
}

.big-qr {
  flex: 0 0 158px;
  width: 158px;
  height: 158px;
}

.faq {
  padding: 96px 0;
  background: #fff;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
}

.faq-head h2 {
  margin: 10px 0 20px;
  color: #353535;
  font-size: 36px;
  line-height: 1.2;
}

.faq-head p {
  color: var(--muted);
  margin: 0;
}

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

.faq-list details {
  border: 1px solid var(--line);
  background: var(--soft);
  padding: 0 22px;
}

.faq-list summary {
  min-height: 62px;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: var(--blue);
  font-weight: 700;
}

.faq-list p {
  margin: 0;
  padding: 0 0 22px;
  color: var(--muted);
}

.footer {
  padding: 42px 0 28px;
  background: #fff;
  border-top: 1px solid var(--line);
  color: #393939;
  font-size: 14px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: flex-start;
}

.footer strong {
  color: var(--blue);
  font-size: 20px;
}

.footer p {
  margin: 8px 0 0;
  color: var(--muted);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer nav a {
  color: #393939;
}

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

.copyright {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: #777;
}

.float-tools {
  position: fixed;
  right: 22px;
  top: 42%;
  z-index: 20;
  display: grid;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 14px 34px rgba(30, 80, 174, 0.16);
}

.float-tools a,
.float-tools button {
  width: 62px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: var(--blue);
  font: 700 14px "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  cursor: pointer;
}

.float-tools a:last-child,
.float-tools button:last-child {
  border-bottom: 0;
}

.float-tools a:hover,
.float-tools button:hover {
  background: var(--blue);
  color: #fff;
}

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

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

@media (max-width: 820px) {
  .site-width {
    width: min(100% - 28px, var(--width));
  }

  .brand-row {
    height: 78px;
  }

  .brand {
    font-size: 26px;
  }

  .menu-button {
    display: inline-flex;
  }

  .nav-inner {
    display: none;
    height: auto;
    padding: 10px 0;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open .nav-inner {
    display: flex;
  }

  .nav a {
    width: 100%;
    height: 46px;
  }

  .hero {
    min-height: 590px;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.98) 54%, rgba(255, 255, 255, 0.48) 78%, rgba(255, 255, 255, 0.16) 100%),
      url("https://28726884.s21i.faiusr.com/2/1/ABUIABACGAAgkqb-yAYooJHHlwYwgB44_Ao.jpg") 62% 50% / cover no-repeat,
      linear-gradient(135deg, #edf4ff, #ffffff 45%, #d8e6ff);
  }

  .hero h1 {
    font-size: 38px;
    max-width: 290px;
  }

  .hero p {
    font-size: 20px;
    max-width: 260px;
  }

  .mini-inner {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 2px;
    padding: 8px 0;
  }

  .quick-grid,
  .process-strip,
  .faq-layout,
  .inner-grid,
  .detail-grid,
  .contact-page-grid,
  .sitemap-list {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .community-grid,
  .process-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .service,
  .community,
  .process,
  .articles,
  .faq,
  .contact-card,
  .inner-section {
    padding: 70px 0;
  }

  .community-card {
    min-height: 360px;
    padding: 34px;
  }

  .article-list {
    grid-template-columns: 1fr;
  }

  .article-list article {
    grid-template-columns: 1fr;
  }

  .article-list img {
    height: 210px;
  }

  .contact-panel {
    display: grid;
    padding: 32px;
  }

  .sub-hero {
    min-height: 340px;
  }

  .sub-hero p {
    font-size: 17px;
  }

  .content-panel,
  .side-panel,
  .contact-large,
  .qr-box {
    padding: 28px;
  }

  .timeline div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .side-panel {
    position: static;
  }

  .article-row {
    grid-template-columns: 1fr;
  }

  .article-row img {
    height: 210px;
  }

  .community-side {
    min-height: 520px;
  }

  .community-side img {
    width: 220px;
    opacity: 0.85;
  }

  .process-strip span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-strip span:last-child {
    border-bottom: 0;
  }

  .footer-grid {
    display: grid;
  }

  .footer nav {
    justify-content: flex-start;
  }

  .float-tools {
    right: 12px;
    top: auto;
    bottom: 12px;
    grid-template-columns: repeat(3, 1fr);
  }

  .float-tools a,
  .float-tools button {
    width: 58px;
    height: 48px;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .float-tools a:last-child,
  .float-tools button:last-child {
    border-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .primary-button,
  .white-button,
  .blue-button,
  .steps article {
    transition: none;
  }
}
