:root {
  --ink: #101828;
  --muted: #667085;
  --line: #dde5f2;
  --brand: #5b35e6;
  --brand-dark: #211a55;
  --pink: #eb5bbd;
  --violet: #a346e8;
  --blue: #4d3be8;
  --soft-blue: #f0f4ff;
  --soft-purple: #f4f0ff;
  --soft-pink: #fff1fa;
  --sun: #ffe66d;
  --mint: #55efc4;
  --panel: #ffffff;
  --bg: #fbfbff;
  --shadow: 0 18px 50px rgba(80, 43, 160, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(91, 53, 230, 0.04) 0 25%, transparent 25% 50%, rgba(235, 91, 189, 0.04) 50% 75%, transparent 75%),
    var(--bg);
  background-size: 28px 28px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 2px solid rgba(91, 53, 230, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--brand-dark);
}

.brand img {
  width: auto;
  height: 45px;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
}

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

main {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  gap: 40px;
  align-items: center;
  min-height: min(760px, calc(100vh - 74px));
  padding: 64px clamp(20px, 6vw, 96px) 56px;
  background:
    linear-gradient(135deg, rgba(255, 230, 109, 0.16) 0 12%, transparent 12% 100%),
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(135deg, #10091f 0%, #191351 50%, #501b67 100%);
  background-size: auto, 34px 34px, 34px 34px, auto;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  right: clamp(18px, 6vw, 96px);
  bottom: 34px;
  z-index: -1;
  width: min(46vw, 620px);
  height: 170px;
  border: 2px solid rgba(255, 230, 109, 0.34);
  border-radius: 8px;
  transform: rotate(-4deg);
  content: "";
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--brand-dark);
  font-size: clamp(42px, 6.5vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 950;
}

h1 span {
  display: inline;
}

h2 {
  margin-bottom: 18px;
  color: var(--brand-dark);
  font-size: clamp(28px, 4.5vw, 46px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--brand-dark);
  font-size: 21px;
  line-height: 1.25;
}

.lead {
  max-width: 680px;
  margin-bottom: 30px;
  color: #475467;
  font-size: 19px;
}

.hero h1 {
  color: #fff;
}

.hero .lead {
  color: rgba(232, 240, 255, 0.82);
}

.hero .eyebrow {
  display: inline-flex;
  padding: 6px 10px;
  color: #211a55;
  background: var(--sun);
  border-radius: 8px;
  box-shadow: 7px 7px 0 rgba(235, 91, 189, 0.25);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-copy,
.section-copy,
.hero-panel,
.list-panel {
  min-width: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

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

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet), var(--pink));
  box-shadow: 8px 8px 0 rgba(255, 230, 109, 0.24), 0 12px 26px rgba(163, 70, 232, 0.28);
}

.button.secondary {
  color: var(--brand-dark);
  background: #fff;
  border-color: rgba(91, 53, 230, 0.16);
}

.hero-panel {
  padding: clamp(22px, 4vw, 42px);
  background: rgba(9, 13, 33, 0.62);
  border: 2px solid rgba(235, 91, 189, 0.34);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  transform: rotate(1.5deg);
}

.hero-logo {
  display: block;
  width: min(360px, 78%);
  margin: 0 auto 24px;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.16));
}

.mobile-hero-logo {
  display: none;
}

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

.capability-grid div,
.opc-grid div {
  min-height: 108px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-panel .capability-grid div {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
}

.hero-panel .capability-grid strong {
  color: #fff;
}

.hero-panel .capability-grid span {
  color: rgba(232, 240, 255, 0.72);
}

.capability-grid strong,
.opc-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-dark);
  font-size: 19px;
}

.capability-grid span,
.opc-grid span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 80px clamp(20px, 6vw, 96px);
}

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

.intro-layout,
.credential-layout,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 28px;
  align-items: start;
}

.intro-text,
.facts,
.credential-card,
.contact-card,
.list-panel {
  background: var(--panel);
  border: 2px solid rgba(91, 53, 230, 0.08);
  border-radius: 8px;
  box-shadow: 10px 10px 0 rgba(91, 53, 230, 0.05), 0 12px 34px rgba(38, 44, 112, 0.06);
}

.intro-text {
  padding: 28px;
  font-size: 17px;
}

.facts {
  padding: 10px;
}

.facts div {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

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

.facts span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 13px;
}

.facts strong {
  color: var(--brand-dark);
}

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

.article-hub {
  background:
    linear-gradient(135deg, rgba(255, 230, 109, 0.16) 0 18%, transparent 18%),
    linear-gradient(180deg, #ffffff 0%, #fbf8ff 100%);
}

.article-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(2, minmax(0, 0.8fr));
  gap: 16px;
}

.article-card {
  display: block;
  min-height: 220px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 2px solid rgba(91, 53, 230, 0.1);
  border-radius: 8px;
  box-shadow: 10px 10px 0 rgba(235, 91, 189, 0.08), 0 12px 34px rgba(20, 33, 61, 0.07);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.article-card.feature {
  grid-row: span 2;
}

.article-card img {
  width: 100%;
  aspect-ratio: 2.35 / 1;
  object-fit: cover;
  display: block;
}

.article-card div {
  padding: 24px;
}

.article-card:hover {
  transform: translate(-3px, -3px) rotate(-0.4deg);
  box-shadow: 14px 14px 0 rgba(235, 91, 189, 0.11), 0 18px 42px rgba(20, 33, 61, 0.1);
}

.article-card span {
  display: inline-flex;
  padding: 4px 8px;
  margin-bottom: 10px;
  color: #fff;
  background: var(--brand-dark);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.article-card p {
  color: var(--muted);
}

.article-body {
  background: #fff;
}

.article-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 52px 24px 96px;
}

.article-page h1 {
  max-width: 820px;
  font-size: clamp(34px, 6vw, 58px);
}

.article-summary {
  color: var(--muted);
  font-size: 18px;
}

.article-cover {
  width: 100%;
  margin: 18px 0 34px;
  border: 2px solid rgba(91, 53, 230, 0.1);
  border-radius: 8px;
  box-shadow: 10px 10px 0 rgba(235, 91, 189, 0.08);
}

.article-section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.article-section h2 {
  font-size: clamp(24px, 4vw, 34px);
}

.article-section p,
.article-section li {
  color: #3f4658;
  font-size: 17px;
}

.article-section li {
  margin-bottom: 10px;
}

.article-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 24px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
}

.service-card {
  overflow: hidden;
  background: #fff;
  border: 2px solid rgba(91, 53, 230, 0.1);
  border-radius: 8px;
  box-shadow: 8px 8px 0 rgba(91, 53, 230, 0.05), 0 12px 34px rgba(38, 44, 112, 0.06);
}

.service-card:nth-child(2) {
  transform: translateY(18px);
}

.service-card:nth-child(3) {
  transform: translateY(-10px);
}

.service-card img {
  width: 100%;
  aspect-ratio: 2.35 / 1;
  object-fit: cover;
}

.service-card div {
  padding: 22px;
}

.service-card p,
.section-copy p,
.credential-card p,
.contact p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 1fr);
  gap: 30px;
  align-items: center;
  background: #fff;
}

.split.reverse {
  background: linear-gradient(135deg, #fff 0%, #fff3fb 100%);
}

.section-copy {
  max-width: 640px;
}

.list-panel {
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255, 230, 109, 0.24), transparent 42%),
    var(--soft-blue);
}

.list-panel.pink {
  background:
    linear-gradient(135deg, rgba(85, 239, 196, 0.18), transparent 42%),
    var(--soft-purple);
}

.list-panel ul {
  margin: 0;
  padding-left: 20px;
}

.list-panel li {
  margin-bottom: 12px;
  color: #3f4658;
}

.credential-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.credential-card {
  padding: 24px;
}

.opc {
  background:
    linear-gradient(135deg, rgba(91, 53, 230, 0.08) 0 24%, transparent 24%),
    linear-gradient(135deg, #fff7fd, #fff);
}

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

.contact {
  background:
    radial-gradient(circle at 82% 24%, rgba(235, 91, 189, 0.36), transparent 30%),
    radial-gradient(circle at 18% 78%, rgba(91, 53, 230, 0.36), transparent 34%),
    linear-gradient(135deg, #10091f, #211a55 58%, #42195d);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.contact::before {
  position: absolute;
  inset: auto 8% 12% auto;
  width: min(520px, 46vw);
  height: 150px;
  border: 2px solid rgba(255, 230, 109, 0.28);
  border-radius: 8px;
  transform: rotate(-5deg);
  content: "";
}

.contact::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.2), #000, rgba(0, 0, 0, 0.2));
  pointer-events: none;
  content: "";
}

.contact h2,
.contact .eyebrow {
  color: #fff;
}

.contact > * {
  position: relative;
  z-index: 1;
}

.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-card {
  padding: 26px;
  color: var(--ink);
}

.contact-card p {
  color: var(--ink);
}

.contact-card span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px clamp(20px, 6vw, 96px);
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.footer-records {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.gongan-record {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gongan-record img {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

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

.mobile-service-strip,
.mobile-cta,
.wechat-toggle {
  display: none;
}

.wechat-dialog {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.wechat-toggle:checked ~ .wechat-dialog {
  display: flex;
}

.wechat-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 9, 31, 0.62);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.wechat-card {
  position: relative;
  z-index: 1;
  width: min(360px, 100%);
  padding: 24px;
  background: #fff;
  border: 2px solid rgba(91, 53, 230, 0.14);
  border-radius: 8px;
  box-shadow: 12px 12px 0 rgba(235, 91, 189, 0.18), 0 20px 60px rgba(16, 9, 31, 0.26);
  text-align: center;
}

.wechat-card h3 {
  margin-bottom: 6px;
}

.wechat-card p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 15px;
}

.wechat-card img {
  display: block;
  width: 100%;
  border-radius: 8px;
}

.wechat-close {
  position: absolute;
  top: 10px;
  right: 14px;
  color: var(--muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1080px) {
  .hero,
  .intro-layout,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .article-grid,
  .credential-layout,
  .opc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-card.feature {
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 70px;
  }

  .site-header {
    align-items: center;
    flex-direction: row;
    gap: 12px;
    padding: 12px 18px;
  }

  .brand {
    font-size: 18px;
  }

  .brand img {
    width: auto;
    height: 32px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    display: block;
    padding: 30px 18px 24px;
  }

  .hero::after {
    right: -80px;
    bottom: 36px;
    width: 260px;
    height: 110px;
  }

  .hero-copy {
    max-width: none;
  }

  .mobile-hero-logo {
    display: block;
    width: min(232px, 70vw);
    margin: 2px auto 18px;
    filter: drop-shadow(0 16px 28px rgba(235, 91, 189, 0.16));
  }

  h1 {
    max-width: 100%;
    margin-bottom: 16px;
    font-size: 32px;
    line-height: 1.18;
  }

  h1 span {
    display: block;
  }

  .lead {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.65;
  }

  .button {
    min-height: 44px;
    padding: 0 16px;
  }

  .hero-actions .secondary {
    display: none;
  }

  .hero-panel {
    display: none;
  }

  .mobile-service-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .mobile-service-strip a {
    display: block;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(235, 91, 189, 0.22);
    border-radius: 8px;
    box-shadow: 6px 6px 0 rgba(255, 230, 109, 0.14), 0 10px 24px rgba(7, 17, 31, 0.18);
  }

  .mobile-service-strip strong {
    display: block;
    margin-bottom: 3px;
    color: #fff;
  }

  .mobile-service-strip span {
    display: block;
    color: rgba(232, 240, 255, 0.72);
    font-size: 13px;
  }

  .capability-grid,
  .service-grid,
  .article-grid,
  .credential-layout,
  .opc-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 44px 18px;
  }

  .section-title {
    margin-bottom: 20px;
  }

  .intro {
    padding-top: 28px;
  }

  .intro-text,
  .facts,
  .credential-card,
  .contact-card,
  .list-panel,
  .service-card,
  .article-card {
    box-shadow: 0 8px 22px rgba(38, 44, 112, 0.06);
  }

  .service-card div,
  .article-card div,
  .credential-card,
  .contact-card,
  .list-panel,
  .intro-text {
    padding: 18px;
  }

  .article-card {
    min-height: auto;
  }

  .article-card.feature div {
    padding: 18px;
  }

  .service-card:nth-child(2),
  .service-card:nth-child(3) {
    transform: none;
  }

  .split {
    padding-top: 46px;
  }

  .contact {
    padding-bottom: 92px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.9);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(14px);
  }

  .mobile-cta a,
  .mobile-cta label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--violet), var(--pink));
    font-weight: 800;
    cursor: pointer;
  }

  .mobile-cta a + a,
  .mobile-cta label + a {
    color: var(--brand-dark);
    background: #fff;
    border: 1px solid var(--line);
  }

  .article-page {
    padding: 34px 20px 96px;
  }

  .article-page h1 {
    max-width: 100%;
    font-size: 26px;
    line-height: 1.24;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .article-summary,
  .article-section p,
  .article-section li {
    font-size: 16px;
  }
}
