﻿/* Template 4 — Asymmetric Dock · diagonal split + masonry + zigzag */
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; width: 100%; overflow-x: hidden; }
*, *:before, *:after { box-sizing: border-box; }

body.z89818body {
  font-family: "Avenir Next", "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #1a1430;
  background: #f5f2fb;
  line-height: 1.7;
  word-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.z89818container {
  width: 94%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.z89818header {
  background: #fff;
  border-bottom: 1px solid #ddd4f0;
  position: sticky; top: 0; z-index: 100;
}
.z89818headerinner {
  display: flex; align-items: center; min-height: 66px; gap: 12px;
}
.z89818logo {
  display: flex; align-items: center; gap: 10px; font-weight: 700;
  max-width: 38%; flex-shrink: 0;
}
.z89818logomark {
  width: 36px; height: 36px; background: linear-gradient(135deg, #5b2be0, #ff5c7a);
  color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; flex-shrink: 0;
}
.z89818logotext { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.z89818navtog { position: absolute; left: -9999px; opacity: 0; }
.z89818navbtn { display: none; margin-left: auto; padding: 10px; cursor: pointer; }
.z89818navbtn span { display: block; width: 22px; height: 2px; margin: 5px 0; background: #5b2be0; }
.z89818nav { margin-left: auto; }
.z89818navlist { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.z89818navlist a { color: #5c5478; font-size: 14px; }
.z89818navlist a:hover { color: #5b2be0; }
.z89818btnnav {
  background: #5b2be0; color: #fff !important; padding: 9px 16px;
  border-radius: 8px; font-size: 13px; font-weight: 700; flex-shrink: 0;
}

.z89818btn {
  display: inline-block; padding: 12px 22px; border-radius: 8px;
  font-weight: 700; font-size: 14px; border: 2px solid transparent; text-align: center;
}
.z89818btnprimary { background: #ff5c7a; color: #fff !important; }
.z89818btnprimary:hover { background: #e04866; }
.z89818btnoutline { border-color: rgba(255,255,255,.5); color: #fff !important; }
.z89818btnoutline:hover { background: #fff; color: #1e1440 !important; }
.z89818btnblock { display: block; width: 100%; }

/* Banner — asymmetric diagonal */
.z89818banner { overflow: hidden; }
.z89818bannersplit {
  display: grid;
  grid-template-columns: 58% 42%;
  min-height: 620px;
}
.z89818bannerleft {
  background: linear-gradient(145deg, #1e1440 0%, #3a1f7a 55%, #5b2be0 100%);
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
  display: flex; align-items: center;
}
.z89818bannerleftinner { padding: 64px 48px 64px 6vw; max-width: 640px; }
.z89818bannertag {
  color: #ffb4c2; font-size: 12px; letter-spacing: .14em; font-weight: 700; margin-bottom: 14px;
}
.z89818bannertitle {
  font-size: clamp(28px, 4vw, 42px); line-height: 1.2; margin-bottom: 16px;
}
.z89818bannerdesc { color: #d5caf5; margin-bottom: 24px; font-size: 15px; }
.z89818bannerbtns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.z89818bannerpoints { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.z89818bannerpoints li {
  font-size: 13px; color: #cbbff0; padding-left: 14px; position: relative;
}
.z89818bannerpoints li:before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%; background: #ff5c7a;
}
.z89818bannerright { position: relative; overflow: hidden; background: #1e1440; }
.z89818bannerright img {
  width: 100%; height: 100%; object-fit: cover; min-height: 620px;
}

.z89818stats { background: #fff; border-bottom: 1px solid #ddd4f0; }
.z89818statsrow {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 28px 16px;
}
.z89818stat { text-align: center; }
.z89818stat strong { display: block; font-size: 26px; color: #5b2be0; margin-bottom: 4px; }
.z89818stat span { font-size: 13px; color: #6b6288; }

.z89818section { padding: 70px 0; }
.z89818alt { background: #fff; }
.z89818sectionhead { text-align: center; margin-bottom: 36px; }
.z89818sectiontitle { font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.z89818sectiondesc { color: #6b6288; }

.z89818twocol {
  display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: start;
}
.z89818sidehead h2 { font-size: 28px; color: #1e1440; margin-bottom: 10px; }
.z89818sidehead p { color: #6b6288; font-size: 14px; }
.z89818aboutblock h3 { font-size: 20px; margin-bottom: 12px; color: #5b2be0; }
.z89818aboutblock p { color: #4a4268; margin-bottom: 12px; }
.z89818tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.z89818tags span {
  background: #efe8ff; color: #5b2be0; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
}
.z89818checklist li {
  padding: 8px 0 8px 22px; position: relative; color: #4a4268; font-size: 14px;
  border-bottom: 1px dashed #ddd4f0;
}
.z89818checklist li:before {
  content: "✓"; position: absolute; left: 0; color: #ff5c7a; font-weight: 700;
}

.z89818masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.z89818card {
  background: #f5f2fb; border: 1px solid #ddd4f0; border-radius: 14px; padding: 22px 18px;
}
.z89818cardwide { grid-column: span 2; background: #1e1440; color: #fff; border-color: #1e1440; }
.z89818cardwide h3 { color: #ffb4c2; }
.z89818cardwide p, .z89818cardwide li { color: #d5caf5; }
.z89818cardtall { grid-row: span 1; }
.z89818card h3 { font-size: 17px; margin-bottom: 8px; color: #1e1440; }
.z89818card p { font-size: 14px; color: #6b6288; margin-bottom: 10px; }
.z89818card ul li { font-size: 13px; color: #4a4268; padding: 3px 0; }

.z89818scenelist { display: grid; gap: 12px; }
.z89818scenelist article {
  display: grid; grid-template-columns: 56px 1fr; gap: 16px;
  background: #fff; border-radius: 12px; padding: 18px 16px;
  border: 1px solid #ddd4f0; align-items: center;
}
.z89818scenelist span {
  width: 56px; height: 56px; border-radius: 12px;
  background: linear-gradient(135deg, #5b2be0, #ff5c7a);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
}
.z89818scenelist h3 { font-size: 16px; margin-bottom: 4px; }
.z89818scenelist p { font-size: 14px; color: #6b6288; }

.z89818zigzag { max-width: 800px; margin: 0 auto; display: grid; gap: 18px; }
.z89818zigzag li {
  display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center;
  background: #f5f2fb; border-radius: 12px; padding: 18px; border: 1px solid #ddd4f0;
}
.z89818zigright { margin-left: 12%; }
.z89818zigleft { margin-right: 12%; }
.z89818zigzag span {
  width: 56px; height: 56px; border-radius: 50%; background: #5b2be0; color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px;
}
.z89818zigzag h3 { font-size: 17px; margin-bottom: 4px; }
.z89818zigzag p { font-size: 14px; color: #6b6288; }

.z89818faqlist { display: grid; gap: 10px; }
.z89818faqlist article {
  background: #fff; border-left: 4px solid #ff5c7a; padding: 16px 18px;
  border-radius: 0 10px 10px 0; box-shadow: 0 4px 16px rgba(30,20,64,.05);
}
.z89818faqlist h3 { font-size: 15px; color: #5b2be0; margin-bottom: 6px; }
.z89818faqlist p { font-size: 14px; color: #6b6288; }

.z89818contactwrap {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px;
}
.z89818contactinfo, .z89818form {
  background: #fff; border: 1px solid #ddd4f0; border-radius: 14px; padding: 28px 24px;
}
.z89818contactinfo h3 { margin-bottom: 16px; }
.z89818contactinfo li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid #eee8f8; font-size: 14px;
}
.z89818contactinfo span { color: #6b6288; }
.z89818online { color: #ff5c7a !important; }
.z89818form { display: grid; gap: 14px; }
.z89818form label { display: grid; gap: 6px; font-size: 13px; color: #6b6288; }
.z89818form input, .z89818form select, .z89818form textarea {
  width: 100%; padding: 11px 12px; border: 1px solid #ddd4f0; border-radius: 8px;
  font: inherit; background: #faf8ff;
}
.z89818form input:focus, .z89818form select:focus, .z89818form textarea:focus {
  outline: none; border-color: #5b2be0;
}

.z89818footer {
  background: #1e1440; color: #cbbff0; padding: 48px 0 24px;
}
.z89818footergrid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; margin-bottom: 24px;
}
.z89818footer h3 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.z89818footer p, .z89818footer li { font-size: 13px; margin-bottom: 6px; }
.z89818footer a:hover { color: #ff5c7a; }
.z89818adbox { margin: 18px 0; text-align: center; }
.z89818footerbottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px; text-align: center;
}
.z89818footerbottom p { font-size: 12px; margin-bottom: 4px; }

@media (max-width: 1024px) {
  .z89818bannersplit { grid-template-columns: 1fr; min-height: auto; }
  .z89818bannerleft { clip-path: none; }
  .z89818bannerleftinner { padding: 48px 24px; max-width: none; }
  .z89818bannerright img { min-height: 280px; }
  .z89818masonry { grid-template-columns: 1fr 1fr; }
  .z89818cardwide { grid-column: span 2; }
  .z89818twocol, .z89818contactwrap, .z89818footergrid { grid-template-columns: 1fr 1fr; }
  .z89818zigleft, .z89818zigright { margin: 0; }
}
@media (max-width: 768px) {
  .z89818navbtn { display: block; }
  .z89818nav, .z89818btnnav { display: none; }
  .z89818navtog:checked ~ .z89818nav {
    display: block; position: absolute; left: 0; right: 0; top: 66px;
    background: #fff; border-bottom: 1px solid #ddd4f0; padding: 16px 20px 20px;
  }
  .z89818navtog:checked ~ .z89818nav .z89818navlist {
    flex-direction: column; align-items: flex-start; gap: 12px;
  }
  .z89818statsrow,
  .z89818masonry,
  .z89818twocol,
  .z89818contactwrap,
  .z89818footergrid,
  .z89818bannerpoints { grid-template-columns: 1fr; }
  .z89818cardwide { grid-column: span 1; }
}
