* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #eef3fa;
  color: #0f1c39;
}

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

.fuwu-hero {
  margin-top: 60px;
  padding: 54px 0;
  min-height: 560px;
  background: url("img/fuwu/bg.jpg") center/cover no-repeat;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 46px;
}

.hero-copy h1 {
  margin: 0 0 22px;
  font-size: 48px;
  line-height: 1.15;
  font-weight: 800;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
  z-index: 1;
  isolation: isolate;
}

.hero-line {
  position: absolute;
  right: 2px;
  bottom: 12px;
  width: 234px;
  height: 16px;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hero-line img {
  width: 100%;
  height: 100%;
  display: block;
  animation: lineWrite 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s forwards;
}

.hero-line::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 3px;
  height: 100%;
  opacity: 0;
  transform: translateX(0);
  animation: penCursor 1.25s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s;
}

@keyframes lineWrite {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes penCursor {
  0% { opacity: 0; transform: translateX(-238px); }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { opacity: 0; transform: translateX(0); }
}

.hero-copy p {
  margin: 0;
  font-size: 22px;
  line-height: 1.6;
  color: #2a4067;
}

.hero-form-card {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 20px;
  box-shadow: 0 20px 44px rgba(28, 65, 144, 0.14);
  padding: 28px;
  position: relative;
}

.hero-form-card h3 {
  margin: 0 0 16px;
  text-align: center;
  font-size: 26px;
}

.wechat-btn {
  width: 100%;
  height: 50px;
  border: 2px solid #2b65f7;
  border-radius: 8px;
  color: #2b65f7;
  font-size: 16px;
  background: #fff;
  cursor: pointer;
}

.hero-form-card small {
  display: block;
  text-align: center;
  color: #98a4bb;
  font-size: 14px;
  margin: 10px 0;
}

.hero-form-card input,
.hero-form-card select {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 8px;
  background: #f2f5fb;
  margin-bottom: 10px;
  padding: 0 14px;
  font-size: 14px;
  color: #a8b0bf;
}

.hero-form-card input::placeholder {
  color: #a8b0bf;
}

.hero-form-card input:focus,
.hero-form-card input:not(:placeholder-shown) {
  color: #444;
}

.hero-form-card select:required:invalid {
  color: #a8b0bf;
}

.hero-form-card select:required:valid {
  color: #444;
}

.wechat-card {
  position: absolute;
  left: 50%;
  top: 140px;
  transform: translateX(-50%) translateY(-8px);
  width: 214px;
  padding: 14px 14px 10px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(20, 45, 108, 0.16);
  border: 1px solid #edf2fb;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 3;
}

.wechat-card::before,
.wechat-card::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
}

.wechat-card::before {
  top: -9px;
  border-bottom: 9px solid #edf2fb;
}

.wechat-card::after {
  top: -8px;
  border-bottom: 8px solid #ffffff;
}

.wechat-card img {
  width: 186px;
  height: 186px;
  display: block;
  margin: 0 auto 10px;
}

.wechat-card p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #6d7a95;
  line-height: 1.3;
}

.hero-form-card.wechat-open .wechat-card {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.submit-btn {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 8px;
  background: #1e5eff;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.sec-title {
  text-align: center;
  margin-bottom: 24px;
}

.sec-title h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.2;
}

.sec-title p {
  margin: 10px 0 0;
  font-size: 15px;
  color: #5e6e88;
}

.service-products { padding: 64px 0 74px; }

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

.product-card {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  transition: transform .26s ease;
  perspective: 1100px;
  position: relative;
}

.product-card:hover { transform: translateY(-6px); }

.product-flip {
  position: relative;
  display: block;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 0.62s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.product-card:hover .product-flip {
  transform: rotateY(180deg);
}

.product-img {
  width: 100%;
  display: block;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.product-back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
}

.service-compliance {
  padding: 66px 0 76px;
  background: #e9eef8;
}

.compliance-row {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 32px;
  align-items: center;
}

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

.compliance-list li {
  position: relative;
  padding-left: 28px;
}

.compliance-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  background: url("img/yanmo/check.png") center / contain no-repeat;
}

.compliance-list strong { display: block; font-size: 24px; margin-bottom: 8px; }
.compliance-list span { font-size: 14px; line-height: 1.7; color: #5d6982; }

.compliance-visual {
  border-radius: 20px;
  overflow: hidden;
  min-height: 360px;
  background: linear-gradient(140deg, #bdefff 0%, #619bff 70%, #f7fbff 100%);
}

.compliance-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-capability {
  padding: 70px 0 92px;
}

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

.capability-card {
  background: #fff;
  border: 1px solid #d6e3f8;
  border-radius: 14px;
  padding: 22px;
  cursor: pointer;
  transition: background .28s ease, border-color .28s ease, color .28s ease, transform .28s ease;
}

.capability-card i {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #f2f6ff;
  font-size: 20px;
  color: #2c62f2;
  margin-bottom: 14px;
}

.capability-card h4 { margin: 0 0 10px; font-size: 20px; }
.capability-card p { margin: 0; color: #66748f; line-height: 1.7; font-size: 14px; }

.capability-card:hover {
  color: #fff;
  background: linear-gradient(140deg, #3f8eff, #1252e8);
  border-color: transparent;
  transform: translateY(-2px);
}

.capability-card:hover i { background: rgba(255,255,255,.25); color: #fff; }
.capability-card:hover p { color: rgba(255,255,255,.86); }

.cta {
  margin-top: 6px;
  border-radius: 28px 28px 0 0;
  overflow: hidden;
  background: #0f1d88;
  padding: 10px 0 0;
  position: relative;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("img/footerbg.jpg") center / cover no-repeat;
  opacity: 1;
  z-index: 0;
}

.footer-float {
  position: absolute;
  width: 186px;
  opacity: 0.94;
  z-index: 1;
  --rot: 0deg;
  animation: floatBob 5.4s ease-in-out infinite;
}
.f1 { left: 0; top: 52px; animation-delay: 0s; --rot: -12deg; }
.f2 { left: 0; top: 174px; animation-delay: 0.8s; --rot: 8deg; width: 212px; }
.f3 { right: 5.4%; top: 88px; animation-delay: 0.4s; --rot: -10deg; width: 228px; }
.f4 { right: -1.8%; top: 70px; animation-delay: 1.2s; --rot: 8deg; }
.f5 { right: -1.6%; top: 204px; animation-delay: 0.95s; --rot: -6deg; width: 176px; }

@keyframes floatBob {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--rot)); }
  50% { transform: translate3d(0, -10px, 0) rotate(var(--rot)); }
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 68px 24px 64px;
  border-radius: 22px 22px 0 0;
}

.cta-inner::before,
.cta-inner::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid rgba(126, 166, 255, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.cta-inner::before {
  width: 560px;
  height: 560px;
  bottom: -392px;
}

.cta-inner::after {
  width: 760px;
  height: 760px;
  bottom: -548px;
  border-color: rgba(126, 166, 255, 0.16);
}

.cta-inner h2 { margin: 0; font-size: 48px; }
.cta-inner p { margin: 14px 0 30px; font-size: 18px; }
.cta-inner button {
  border: 1px solid rgba(214, 228, 255, 0.42);
  background: linear-gradient(180deg, rgba(125, 160, 255, 0.24), rgba(79, 109, 204, 0.2));
  backdrop-filter: blur(4px);
  color: #fff;
  min-width: 250px;
  height: 60px;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 700;
}

.site-footer {
  position: relative;
  z-index: 2;
  margin-top: -18px;
  padding-top: 14px;
  color: rgba(255,255,255,.86);
  font-size: 14px;
}

.site-footer .logo img { width: 82px; }

.footer-top {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: end;
  gap: 40px;
}

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

.footer-col h4 {
  font-size: 14px;
  margin-bottom: 6px;
  color: rgba(221,236,255,.96);
}

.footer-col p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(200,220,255,.84);
}

.footer-col p a,
.footer-col h4 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.22s ease;
}

.footer-col p a:hover,
.footer-col h4 a:hover { color: #9fd4ff; }

.footer-bottom {
  margin-top: 12px;
  padding: 12px 72px 10px;
  border-top: 1px solid rgba(166,192,255,.18);
  font-size: 12px;
  color: rgba(186,204,246,.86);
  background: rgba(4,22,116,.92);
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .hero-inner,
  .compliance-row,
  .product-grid,
  .capability-grid,
  .footer-columns,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .fuwu-hero { padding: 34px 0 30px; }
  .hero-copy h1 { font-size: 40px; }
  .hero-copy p { font-size: 18px; }
  .sec-title h2 { font-size: 32px; }
  .sec-title p { font-size: 14px; }
  .compliance-list strong { font-size: 22px; }
  .compliance-list span { font-size: 14px; }
  .capability-card h4 { font-size: 20px; }
  .capability-card p { font-size: 14px; }
  .cta-inner h2 { font-size: 40px; }
  .footer-float { width: 120px; }
  .site-footer .logo img { width: 90px; }
  .footer-top { gap: 12px; }
  .footer-columns { gap: 12px; }
  .footer-bottom { display: grid; gap: 6px; padding: 10px 14px 8px; width: 100vw; }
  .footer-bottom .container { display: grid; gap: 6px; }
}
