:root {
  --page-max-width: 1280px;
  --content-width: 1180px;
  --text-width: 720px;
  --navy-950: #061426;
  --navy-900: #0b1d33;
  --blue-700: #155eef;
  --blue-500: #2e90fa;
  --cyan-400: #22d3ee;
  --green-400: #43d9a3;
  --paper: #f5f8fc;
  --line: #dce4ee;
  --text-primary: #102033;
  --text-secondary: #64748b;
}

body.sx-gna-body,
body.shuxin-custom-page {
  color: var(--text-primary);
  background: #fff;
}
.sx-container {
  width: min(var(--page-max-width), calc(100% - 64px));
}
.sx-topbar {
  height: 36px;
  color: rgba(255,255,255,.74);
  background: var(--navy-950);
}
.sx-topbar__inner {
  min-height: 36px;
  font-size: 13px;
}
.sx-topbar__inner span:last-child {
  display: none;
}
.sx-header {
  border-bottom: 1px solid rgba(16,32,51,.08);
  background: rgba(255,255,255,.96);
}
.sx-header__inner {
  min-height: 82px;
}
.sx-logo__mark {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  background: conic-gradient(from 24deg, #155eef, #22d3ee, #43d9a3, #155eef);
}
.sx-logo__mark i { display: none; }
.sx-logo__text strong { color: var(--text-primary); font-size: 20px; }
.sx-logo__text em { color: #155eef; letter-spacing: .08em; }
.sx-nav a,
.sx-nav .menu a {
  color: var(--text-primary);
  font-size: 15px;
}
.sx-nav .current-menu-item > a,
.sx-nav a.is-active {
  color: var(--blue-700);
}
.sx-header__cta,
.sx-btn--hot .wp-block-button__link,
.sx-btn--hot,
.sx-form button {
  min-height: 46px;
  border-radius: 4px !important;
  background: var(--blue-700) !important;
  box-shadow: none !important;
}
.sx-btn--ghost .wp-block-button__link,
.sx-btn--ghost {
  min-height: 46px;
  border-radius: 4px !important;
  color: var(--text-primary) !important;
  border-color: var(--line) !important;
}

.sx-v8-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(112deg, #061426 0%, #0b1d33 44%, #eef5ff 44.2%, #f5f8fc 100%);
}
.sx-v8-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(500px, .9fr);
  gap: 54px;
  align-items: center;
  min-height: 720px;
  padding: 72px 0;
}
.sx-v8-eyebrow,
.sx-v8-label {
  display: inline-flex;
  margin: 0 0 18px;
  color: var(--cyan-400);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
}
.sx-v8-hero h1 {
  max-width: 740px;
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(48px, 5vw, 68px);
  line-height: 1.08;
}
.sx-v8-hero p {
  max-width: 680px;
  color: rgba(255,255,255,.78);
  font-size: 18px;
  line-height: 1.8;
}
.sx-v8-visual {
  position: relative;
  min-height: 520px;
}
.sx-v8-search-board {
  position: absolute;
  inset: 28px 0 34px 8px;
  border: 1px solid rgba(21,94,239,.16);
  background: #fff;
  box-shadow: 0 30px 90px rgba(6,20,38,.18);
}
.sx-v8-search-board:before {
  content: "";
  display: block;
  height: 58px;
  background: linear-gradient(90deg, #eef5ff, #fff);
  border-bottom: 1px solid var(--line);
}
.sx-v8-search-board .line,
.sx-v8-search-board .answer,
.sx-v8-search-board .node {
  position: absolute;
  left: 46px;
  right: 46px;
}
.sx-v8-search-board .line {
  height: 18px;
  border-radius: 2px;
  background: #dbeafe;
}
.sx-v8-search-board .l1 { top: 106px; width: 58%; }
.sx-v8-search-board .l2 { top: 146px; width: 78%; }
.sx-v8-search-board .l3 { top: 186px; width: 44%; }
.sx-v8-search-board .answer {
  top: 250px;
  padding: 30px;
  color: var(--text-primary);
  background: #f5f8fc;
  border-left: 4px solid var(--green-400);
}
.sx-v8-search-board .answer strong { display:block; font-size: 26px; margin-bottom: 10px; }
.sx-v8-search-board .node {
  bottom: 44px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
}
.sx-v8-search-board .node span {
  padding: 14px 16px;
  color: var(--blue-700);
  font-weight: 800;
  background: #fff;
  border: 1px solid var(--line);
}

.sx-v8-section {
  padding: 112px 0;
}
.sx-v8-section h2 {
  max-width: 820px;
  margin: 0 0 24px;
  color: var(--text-primary);
  font-size: clamp(36px, 3.4vw, 46px);
  line-height: 1.15;
}
.sx-v8-section p {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.85;
}
.sx-v8-split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  gap: 76px;
  align-items: center;
}
.sx-v8-img {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 16/11;
  background: var(--paper);
}
.sx-v8-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sx-v8-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.sx-v8-tags span {
  padding: 9px 12px;
  color: #075985;
  background: #e0f2fe;
}
.sx-v8-services {
  background: var(--paper);
}
.sx-v8-service-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.sx-v8-service-item {
  position: relative;
  display: grid;
  min-height: 430px;
  color: #fff;
  overflow: hidden;
  text-decoration: none;
  background: var(--navy-900);
}
.sx-v8-service-item.is-wide {
  grid-column: span 2;
  min-height: 360px;
}
.sx-v8-service-item figure {
  position: absolute;
  inset: 0;
  margin: 0;
}
.sx-v8-service-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .45;
  filter: saturate(.9);
}
.sx-v8-service-item div {
  position: relative;
  align-self: end;
  max-width: 620px;
  padding: 42px;
}
.sx-v8-service-item span {
  color: var(--cyan-400);
  font-weight: 900;
}
.sx-v8-service-item h3 {
  margin: 18px 0 12px;
  color: #fff;
  font-size: 30px;
}
.sx-v8-service-item p {
  color: rgba(255,255,255,.78);
}
.sx-v8-dual {
  color: #fff;
  background: var(--navy-950);
}
.sx-v8-dual h2,
.sx-v8-dual h3 { color: #fff; }
.sx-v8-engine {
  display: grid;
  grid-template-columns: 1fr 120px 1fr;
  gap: 30px;
  align-items: center;
}
.sx-v8-engine article {
  padding: 42px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
}
.sx-v8-engine ul,
.sx-v8-deliverables ul,
.sx-v8-detail-list ul {
  margin: 22px 0 0;
  padding-left: 20px;
  color: inherit;
}
.sx-v8-engine li { color: rgba(255,255,255,.76); margin: 10px 0; }
.sx-v8-linker {
  height: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--green-400));
}
.sx-v8-platform-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border: 1px solid var(--line);
}
.sx-v8-platform-grid span {
  padding: 24px;
  font-size: 22px;
  font-weight: 900;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sx-v8-process {
  display: grid;
  grid-template-columns: repeat(6,1fr);
  border-top: 1px solid var(--line);
}
.sx-v8-process article {
  padding: 28px 20px;
  border-right: 1px solid var(--line);
}
.sx-v8-process span {
  color: var(--blue-700);
  font-weight: 900;
}
.sx-v8-process h3 { font-size: 20px; }
.sx-v8-deliverables {
  background: #fff;
}
.sx-v8-deliver-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.sx-v8-deliver-grid article {
  padding: 28px;
  background: var(--paper);
}
.sx-v8-cta {
  padding: 108px 0;
  color: #fff;
  background: linear-gradient(rgba(6,20,38,.72),rgba(6,20,38,.72)), url('/wp-content/themes/caihuiyou-child/assets/shanghai-cta.jpg') center/cover;
}
.sx-v8-cta h2 { color:#fff; }

.sx-v8-inner-hero {
  padding: 86px 0;
  background: linear-gradient(120deg, #f5f8fc 0%, #fff 64%);
}
.sx-v8-inner-hero h1 {
  max-width: 820px;
  font-size: clamp(44px,4vw,58px);
  line-height: 1.12;
}
.sx-v8-business-grid,
.sx-v8-solution-grid,
.sx-v8-article-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 26px;
}
.sx-v8-business-card,
.sx-v8-solution-card,
.sx-v8-article-card {
  padding: 30px;
  border: 1px solid var(--line);
  background: #fff;
}
.sx-v8-business-card.is-large {
  grid-column: span 3;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 38px;
}
.sx-v8-business-card figure {
  margin: 0;
  min-height: 280px;
  background: var(--paper);
}
.sx-v8-business-card img {
  width:100%;
  height:100%;
  object-fit:cover;
}
.sx-v8-detail-hero {
  color: #fff;
  background: linear-gradient(135deg, var(--navy-950), #10345f);
}
.sx-v8-detail-hero h1,
.sx-v8-detail-hero p { color: #fff; }
.sx-v8-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 360px;
  gap: 56px;
  align-items: start;
}
.sx-v8-detail-main section {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}
.sx-v8-detail-main h2 { font-size: 38px; }
.sx-v8-detail-list {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 18px;
}
.sx-v8-detail-list article {
  padding: 24px;
  background: var(--paper);
}
.sx-v8-sidebar {
  position: sticky;
  top: 110px;
  padding: 28px;
  color: #fff;
  background: var(--navy-900);
}
.sx-v8-footer-space { margin-top: 0; }

.sx-form__platforms {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 18px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
}
.sx-form__platforms legend {
  padding: 0 8px;
  font-weight: 700;
  color: var(--text-primary);
}
.sx-form__platforms label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  margin: 0;
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
}
.sx-form__platforms input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin: 0;
  padding: 0;
  accent-color: var(--blue-700);
}

@media (max-width: 1024px) {
  .sx-v8-hero { background: var(--navy-950); }
  .sx-v8-hero__grid,
  .sx-v8-split,
  .sx-v8-engine,
  .sx-v8-detail-layout,
  .sx-v8-business-card.is-large {
    grid-template-columns: 1fr;
  }
  .sx-v8-service-layout,
  .sx-v8-business-grid,
  .sx-v8-solution-grid,
  .sx-v8-article-grid,
  .sx-v8-deliver-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .sx-v8-service-item.is-wide { grid-column: span 1; }
  .sx-v8-process { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 640px) {
  .sx-container { width: min(100% - 40px, var(--page-max-width)); }
  .sx-v8-hero__grid { min-height: auto; padding: 64px 0; }
  .sx-v8-hero h1 { font-size: 39px; }
  .sx-v8-visual { display: none; }
  .sx-v8-section { padding: 64px 0; }
  .sx-v8-service-layout,
  .sx-v8-business-grid,
  .sx-v8-solution-grid,
  .sx-v8-article-grid,
  .sx-v8-deliver-grid,
  .sx-v8-platform-grid,
  .sx-v8-process,
  .sx-v8-detail-list {
    grid-template-columns: 1fr;
  }
  .sx-v8-service-item { min-height: 320px; }
  .sx-v8-service-item div { padding: 28px; }
  .sx-v8-platform-grid span { font-size: 18px; }
  .sx-v8-sidebar { position: static; }
  .sx-form__platforms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 18px;
  }
}

/* Final layout correction: keep homepage hero below the absolute header. */
body.home .sx-v8-hero {
  padding-top: 132px !important;
}
body.home .sx-v8-hero .sx-v8-hero__grid {
  min-height: 620px !important;
  padding-top: 54px !important;
  padding-bottom: 76px !important;
}
body.home .sx-v8-hero .sx-v8-eyebrow {
  margin-top: 0 !important;
}

@media (max-width: 1024px) {
  body.home .sx-v8-hero {
    padding-top: 112px !important;
  }
  body.home .sx-v8-hero .sx-v8-hero__grid {
    min-height: auto !important;
    padding-top: 42px !important;
    padding-bottom: 64px !important;
  }
}

@media (max-width: 640px) {
  body.home .sx-v8-hero {
    padding-top: 88px !important;
  }
  body.home .sx-v8-hero .sx-v8-hero__grid {
    padding-top: 34px !important;
    padding-bottom: 56px !important;
  }
}

/* Layout correction: keep hero content clear of absolute header. */
.home .sx-v8-hero {
  padding-top: 132px !important;
}
.home .sx-v8-hero__grid {
  min-height: 620px !important;
  padding-top: 54px !important;
  padding-bottom: 76px !important;
}
.home .sx-v8-hero__grid > div:first-child {
  align-self: center !important;
}

@media (max-width: 1024px) {
  .home .sx-v8-hero {
    padding-top: 112px !important;
  }
  .home .sx-v8-hero__grid {
    min-height: auto !important;
    padding-top: 42px !important;
    padding-bottom: 64px !important;
  }
}

@media (max-width: 640px) {
  .home .sx-v8-hero {
    padding-top: 88px !important;
  }
  .home .sx-v8-hero__grid {
    padding-top: 34px !important;
    padding-bottom: 56px !important;
  }
}

/* Lightweight homepage motion. */
.home .sx-v8-hero::before {
  animation: sxHeroGlow 14s ease-in-out infinite alternate;
}
.home .sx-v8-search-board {
  animation: sxBoardFloat 7s ease-in-out infinite;
}
.home .sx-v8-service-item,
.home .sx-v8-business-card,
.home .sx-v8-deliver-grid article,
.home .sx-v8-process article,
.home .sx-v8-platform-grid span {
  transition: transform .42s cubic-bezier(.22, 1, .36, 1), border-color .42s ease, box-shadow .42s ease, filter .42s ease;
}
.home .sx-v8-service-item:hover,
.home .sx-v8-business-card:hover,
.home .sx-v8-deliver-grid article:hover,
.home .sx-v8-process article:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(6, 20, 38, .12);
}
.home .sx-v8-service-item:hover img,
.home .sx-v8-business-card:hover img,
.home .sx-v8-img:hover img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.04);
}
.home .sx-v8-service-item img,
.home .sx-v8-business-card img,
.home .sx-v8-img img {
  transition: transform .7s cubic-bezier(.22, 1, .36, 1), filter .7s ease;
}
.home .wp-block-button__link,
.home .sx-header__cta {
  transition: transform .28s ease, background .28s ease, box-shadow .28s ease;
}
.home .wp-block-button__link:hover,
.home .sx-header__cta:hover {
  transform: translateY(-2px);
}
.home .sx-btn--hot .wp-block-button__link:hover,
.home .sx-header__cta:hover {
  box-shadow: 0 14px 32px rgba(21, 94, 239, .28) !important;
}
.sx-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .72s cubic-bezier(.22, 1, .36, 1), transform .72s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--sx-delay, 0ms);
  will-change: opacity, transform;
}
.sx-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes sxHeroGlow {
  from { opacity: .55; transform: translate3d(-10px, 0, 0) scale(1); }
  to { opacity: .82; transform: translate3d(18px, -8px, 0) scale(1.04); }
}
@keyframes sxBoardFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .home .sx-v8-hero::before,
  .home .sx-v8-search-board {
    animation: none !important;
  }
  .sx-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .home .sx-v8-service-item,
  .home .sx-v8-business-card,
  .home .sx-v8-deliver-grid article,
  .home .sx-v8-process article,
  .home .sx-v8-platform-grid span,
  .home .wp-block-button__link,
  .home .sx-header__cta,
  .home .sx-v8-service-item img,
  .home .sx-v8-business-card img,
  .home .sx-v8-img img {
    transition: none !important;
  }
}

/* Header final override must stay at the end of this file. */
.sx-topbar {
  height: 34px !important;
  background: #061426 !important;
  border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
}
.sx-topbar__inner {
  min-height: 34px !important;
  color: rgba(235, 245, 255, .82) !important;
}
.sx-header {
  position: absolute !important;
  top: 34px !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 80 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.sx-header__inner {
  min-height: 72px !important;
  margin-block: 14px 0 !important;
  padding-inline: 34px !important;
  gap: 34px !important;
  border: 1px solid rgba(148, 191, 255, .20) !important;
  border-radius: 10px !important;
  background: rgba(6, 20, 38, .78) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .18) !important;
  backdrop-filter: blur(16px);
}
.sx-logo {
  min-width: 268px !important;
  gap: 14px !important;
}
.sx-logo__mark {
  width: 46px !important;
  height: 46px !important;
  flex: 0 0 46px !important;
  overflow: visible !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
.sx-logo__mark::after,
.sx-logo__mark i {
  display: none !important;
}
.sx-logo__mark img {
  display: block;
  width: 46px;
  height: 46px;
}
.sx-logo__text strong {
  color: #fff !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: .01em !important;
}
.sx-logo__text em {
  margin-top: 4px !important;
  color: rgba(167, 205, 255, .92) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .12em !important;
}
.sx-nav ul,
.sx-nav .menu,
.sx-nav__menu {
  gap: 34px !important;
}
.sx-nav a,
.sx-nav .menu a {
  color: rgba(245, 249, 255, .88) !important;
  line-height: 72px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}
.sx-nav a::after {
  bottom: 18px !important;
  height: 2px !important;
  background: #2e90fa !important;
}
.sx-nav .current-menu-item > a,
.sx-nav .current_page_item > a,
.sx-nav a.is-active,
.sx-nav a:hover {
  color: #fff !important;
}
.sx-header__cta {
  min-height: 42px !important;
  padding: 0 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(46, 144, 250, .42) !important;
  border-radius: 5px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #155eef, #2e90fa) !important;
  box-shadow: 0 10px 24px rgba(21, 94, 239, .22) !important;
}

@media (max-width: 1024px) {
  .sx-header__inner {
    min-height: 66px !important;
    margin-top: 10px !important;
    padding-inline: 22px !important;
  }
  .sx-logo {
    min-width: 230px !important;
  }
  .sx-logo__mark,
  .sx-logo__mark img {
    width: 42px !important;
    height: 42px !important;
  }
  .sx-menu-toggle {
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(255,255,255,.22) !important;
  }
  .sx-menu-toggle span {
    background: #fff !important;
  }
}

@media (max-width: 640px) {
  .sx-header {
    top: 0 !important;
  }
  .sx-header__inner {
    width: calc(100% - 24px) !important;
    margin-inline: auto !important;
    border-radius: 8px !important;
  }
  .sx-logo {
    min-width: 0 !important;
  }
  .sx-logo__text strong {
    font-size: 17px !important;
  }
  .sx-logo__text em {
    display: none !important;
  }
}

/* Final header polish: softer dark navigation and generated brand mark. */
.sx-topbar {
  height: 34px !important;
  background: #061426 !important;
  border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
}
.sx-topbar__inner {
  min-height: 34px !important;
  color: rgba(235, 245, 255, .82) !important;
}
.sx-header {
  position: absolute !important;
  top: 34px !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 80 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.sx-header__inner {
  min-height: 72px !important;
  margin-block: 14px 0 !important;
  padding-inline: 34px !important;
  gap: 34px !important;
  border: 1px solid rgba(148, 191, 255, .20) !important;
  border-radius: 10px !important;
  background: rgba(6, 20, 38, .78) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .18) !important;
  backdrop-filter: blur(16px);
}
.sx-logo {
  min-width: 268px !important;
  gap: 14px !important;
}
.sx-logo__mark {
  width: 46px !important;
  height: 46px !important;
  flex: 0 0 46px !important;
  overflow: visible !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
.sx-logo__mark::after,
.sx-logo__mark i {
  display: none !important;
}
.sx-logo__mark img {
  display: block;
  width: 46px;
  height: 46px;
}
.sx-logo__text strong {
  color: #fff !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: .01em !important;
}
.sx-logo__text em {
  margin-top: 4px !important;
  color: rgba(167, 205, 255, .92) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .12em !important;
}
.sx-nav ul,
.sx-nav .menu,
.sx-nav__menu {
  gap: 34px !important;
}
.sx-nav a,
.sx-nav .menu a {
  color: rgba(245, 249, 255, .88) !important;
  line-height: 72px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}
.sx-nav a::after {
  bottom: 18px !important;
  height: 2px !important;
  background: #2e90fa !important;
}
.sx-nav .current-menu-item > a,
.sx-nav .current_page_item > a,
.sx-nav a.is-active,
.sx-nav a:hover {
  color: #fff !important;
}
.sx-header__cta {
  min-height: 42px !important;
  padding: 0 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(46, 144, 250, .42) !important;
  border-radius: 5px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #155eef, #2e90fa) !important;
  box-shadow: 0 10px 24px rgba(21, 94, 239, .22) !important;
}

@media (max-width: 1024px) {
  .sx-header__inner {
    min-height: 66px !important;
    margin-top: 10px !important;
    padding-inline: 22px !important;
  }
  .sx-logo {
    min-width: 230px !important;
  }
  .sx-logo__mark,
  .sx-logo__mark img {
    width: 42px !important;
    height: 42px !important;
  }
  .sx-menu-toggle {
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(255,255,255,.22) !important;
  }
  .sx-menu-toggle span {
    background: #fff !important;
  }
}

@media (max-width: 640px) {
  .sx-header {
    top: 0 !important;
  }
  .sx-header__inner {
    width: calc(100% - 24px) !important;
    margin-inline: auto !important;
    border-radius: 8px !important;
  }
  .sx-logo {
    min-width: 0 !important;
  }
  .sx-logo__text strong {
    font-size: 17px !important;
  }
  .sx-logo__text em {
    display: none !important;
  }
}

/* V9 visual rebuild based on the supplied GNA-style reference image. */
:root {
  --gna-dark: #06162a;
  --gna-dark-2: #081d36;
  --gna-blue: #1768ff;
  --gna-blue-2: #3b82f6;
  --gna-text: #142033;
  --gna-muted: #5f6f84;
  --gna-bg: #f5f8fc;
  --gna-line: #dbe4ef;
}

body.sx-gna-body,
body.shuxin-custom-page {
  background: #fff;
  color: var(--gna-text);
}

.sx-topbar {
  height: 32px;
  background: #05152a;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.sx-topbar__inner {
  min-height: 32px;
  color: rgba(255,255,255,.78);
  font-size: 12px;
}

.sx-header {
  background: #06162a;
  border: 0;
  box-shadow: none;
}
.sx-header__inner {
  min-height: 74px;
  margin-block: 18px;
  padding-inline: 52px;
  border-radius: 0 0 14px 14px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(6, 20, 38, .16);
}
.sx-logo__mark {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: linear-gradient(135deg, #1e63ff 0%, #22c7e8 52%, #43d9a3 100%);
}
.sx-logo__text strong {
  color: #0f172a;
  font-size: 18px;
}
.sx-logo__text em {
  color: #9ec5ff;
  font-size: 11px;
  letter-spacing: .08em;
}
.sx-nav a,
.sx-nav .menu a {
  color: #102033;
  font-size: 14px;
  font-weight: 600;
}
.sx-nav .current-menu-item > a,
.sx-nav a:hover {
  color: #1768ff;
}
.sx-header__cta,
.sx-btn--hot .wp-block-button__link,
.sx-btn--hot,
.sx-form button {
  min-height: 42px;
  padding-inline: 22px !important;
  border-radius: 3px !important;
  color: #fff !important;
  background: #1768ff !important;
  box-shadow: none !important;
}
.sx-btn--ghost .wp-block-button__link,
.sx-btn--ghost {
  min-height: 42px;
  border-radius: 3px !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.42) !important;
  background: transparent !important;
}

.sx-v8-hero {
  isolation: isolate;
  min-height: 610px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5,18,34,.96) 0%, rgba(5,18,34,.88) 42%, rgba(5,18,34,.26) 74%, rgba(5,18,34,.72) 100%),
    url("/wp-content/themes/caihuiyou-child/assets/ref-hero-city.jpg") right center / auto 100% no-repeat,
    linear-gradient(135deg, #061426, #0a2748);
}
.sx-v8-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 75% 28%, rgba(23,104,255,.34), transparent 26%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: auto, 90px 90px, 90px 90px;
}
.sx-v8-hero__grid {
  display: block;
  min-height: 610px;
  padding: 92px 0 84px;
}
.sx-v8-hero__grid > div:first-child {
  max-width: 720px;
}
.sx-v8-hero h1 {
  margin-bottom: 22px;
  font-size: clamp(50px, 5.4vw, 72px);
  font-weight: 800;
  letter-spacing: -.035em;
}
.sx-v8-hero p {
  max-width: 640px;
  font-size: 17px;
  line-height: 1.8;
}
.sx-v8-eyebrow {
  color: #9ec5ff;
  font-size: 13px;
}
.sx-v8-visual {
  display: none;
}

.sx-v8-about,
.sx-v8-section {
  padding: 96px 0;
}
.sx-v8-section h2 {
  color: #132238;
  font-size: clamp(34px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: -.025em;
}
.sx-v8-section p {
  color: var(--gna-muted);
  font-size: 16px;
}
.sx-v8-label {
  color: #1768ff;
  font-size: 12px;
  letter-spacing: .04em;
}
.sx-v8-split {
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}
.sx-v8-img {
  border-radius: 4px;
  box-shadow: 0 18px 45px rgba(8,29,54,.10);
}

.sx-v8-services {
  background: #fff;
}
.sx-v8-services .sx-container > h2 {
  max-width: 720px;
  margin-bottom: 42px;
}
.sx-v8-service-layout {
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.sx-v8-service-item,
.sx-v8-service-item.is-wide {
  min-height: 360px;
  grid-column: auto;
  display: block;
  color: var(--gna-text);
  background: #fff;
  border: 1px solid var(--gna-line);
  box-shadow: none;
}
.sx-v8-service-item:before {
  display: none;
}
.sx-v8-service-item figure {
  position: static;
  height: 172px;
  padding: 0;
  overflow: hidden;
  background: #0b1d33;
}
.sx-v8-service-item figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: saturate(1.1) contrast(1.02);
}
.sx-v8-service-item:nth-child(1) figure img { content: url("/wp-content/themes/caihuiyou-child/assets/ref-service-ai.jpg"); }
.sx-v8-service-item:nth-child(2) figure img { content: url("/wp-content/themes/caihuiyou-child/assets/ref-service-geo.jpg"); }
.sx-v8-service-item:nth-child(3) figure img { content: url("/wp-content/themes/caihuiyou-child/assets/ref-service-content.jpg"); }
.sx-v8-service-item:nth-child(4) figure img { content: url("/wp-content/themes/caihuiyou-child/assets/ref-service-social.jpg"); }
.sx-v8-service-item div {
  position: static;
  padding: 26px 24px;
  color: var(--gna-text);
}
.sx-v8-service-item span {
  display: none;
}
.sx-v8-service-item h3 {
  margin: 0 0 14px;
  color: #0f172a;
  font-size: 21px;
}
.sx-v8-service-item p {
  color: #64748b;
  font-size: 14px;
  line-height: 1.75;
}
.sx-v8-service-item em {
  color: #1768ff;
}

.sx-v8-dual,
.sx-v8-cta {
  color: #fff;
  background:
    linear-gradient(rgba(5,18,34,.94), rgba(5,18,34,.94)),
    url("/wp-content/themes/caihuiyou-child/assets/ref-dark-cta.jpg") center / cover no-repeat;
}
.sx-v8-dual h2,
.sx-v8-cta h2,
.sx-v8-dual p,
.sx-v8-cta p {
  color: #fff;
}
.sx-v8-engine article {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}
.sx-v8-linker {
  background: #1768ff;
}

.sx-v8-platform-grid {
  background: #fff;
  border: 1px solid var(--gna-line);
}
.sx-v8-platform-grid span {
  border: 0;
  border-right: 1px solid var(--gna-line);
  border-bottom: 1px solid var(--gna-line);
}

.sx-v8-process {
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--gna-line);
}
.sx-v8-process article {
  padding: 26px 18px 0;
  background: transparent;
  border-right: 1px solid var(--gna-line);
}
.sx-v8-process span {
  color: #1768ff;
  background: #eaf2ff;
}

.sx-v8-deliverables {
  background: #f7f9fc;
}
.sx-v8-deliver-grid {
  border: 1px solid var(--gna-line);
  background: #fff;
}
.sx-v8-deliver-grid article {
  border-color: var(--gna-line);
}

.sx-v8-inner-hero {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5,18,34,.96), rgba(5,18,34,.76)),
    url("/wp-content/themes/caihuiyou-child/assets/ref-hero-city.jpg") right center / cover no-repeat;
}
.sx-v8-inner-hero h1,
.sx-v8-inner-hero p {
  color: #fff;
}
.sx-v8-detail-hero .sx-v8-img img {
  object-fit: cover;
}
.sx-v8-detail-hero .sx-v8-img {
  background: #0b1d33;
}

.sx-v8-business-card.is-large figure img {
  object-fit: cover;
  filter: saturate(1.08) contrast(1.03);
}
.sx-v8-business-card.is-large:nth-child(1) figure img { content: url("/wp-content/themes/caihuiyou-child/assets/ref-service-ai.jpg"); }
.sx-v8-business-card.is-large:nth-child(2) figure img { content: url("/wp-content/themes/caihuiyou-child/assets/ref-service-geo.jpg"); }
.sx-v8-business-card:not(.is-large) {
  position: relative;
  overflow: hidden;
  padding-top: 148px;
}
.sx-v8-business-card:not(.is-large)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 128px;
  background: var(--svc-img, url("/wp-content/themes/caihuiyou-child/assets/ref-service-content.jpg")) center / cover no-repeat;
}
.sx-v8-business-card:nth-child(3) { --svc-img: url("/wp-content/themes/caihuiyou-child/assets/ref-v9-deepseek.jpg"); }
.sx-v8-business-card:nth-child(4) { --svc-img: url("/wp-content/themes/caihuiyou-child/assets/ref-v9-doubao.jpg"); }
.sx-v8-business-card:nth-child(5) { --svc-img: url("/wp-content/themes/caihuiyou-child/assets/ref-v9-tongyi.jpg"); }
.sx-v8-business-card:nth-child(6) { --svc-img: url("/wp-content/themes/caihuiyou-child/assets/ref-v9-yuanbao.jpg"); }
.sx-v8-business-card:nth-child(7) { --svc-img: url("/wp-content/themes/caihuiyou-child/assets/ref-v9-kimi.jpg"); }
.sx-v8-business-card:nth-child(8) { --svc-img: url("/wp-content/themes/caihuiyou-child/assets/ref-v9-xhs.jpg"); }
.sx-v8-business-card:nth-child(9) { --svc-img: url("/wp-content/themes/caihuiyou-child/assets/ref-v9-douyin.jpg"); }
.sx-v8-business-card:nth-child(10) { --svc-img: url("/wp-content/themes/caihuiyou-child/assets/ref-v9-baidu.jpg"); }

body.page-ai-search-optimization .sx-v8-detail-hero .sx-v8-img img { content: url("/wp-content/themes/caihuiyou-child/assets/ref-service-ai.jpg"); }
body.page-geo-optimization .sx-v8-detail-hero .sx-v8-img img { content: url("/wp-content/themes/caihuiyou-child/assets/ref-service-geo.jpg"); }
body.page-deepseek-marketing .sx-v8-detail-hero .sx-v8-img img,
body.page-deepseek-marketing .sx-v8-detail-hero .sx-v8-img img { content: url("/wp-content/themes/caihuiyou-child/assets/ref-v9-deepseek.jpg"); }
body.page-doubao-ai-marketing .sx-v8-detail-hero .sx-v8-img img { content: url("/wp-content/themes/caihuiyou-child/assets/ref-v9-doubao.jpg"); }
body.page-tongyi-ai-marketing .sx-v8-detail-hero .sx-v8-img img { content: url("/wp-content/themes/caihuiyou-child/assets/ref-v9-tongyi.jpg"); }
body.page-tencent-yuanbao-marketing .sx-v8-detail-hero .sx-v8-img img { content: url("/wp-content/themes/caihuiyou-child/assets/ref-v9-yuanbao.jpg"); }
body.page-kimi-ai-marketing .sx-v8-detail-hero .sx-v8-img img { content: url("/wp-content/themes/caihuiyou-child/assets/ref-v9-kimi.jpg"); }
body.page-xiaohongshu-seo .sx-v8-detail-hero .sx-v8-img img { content: url("/wp-content/themes/caihuiyou-child/assets/ref-v9-xhs.jpg"); }
body.page-douyin-seo .sx-v8-detail-hero .sx-v8-img img { content: url("/wp-content/themes/caihuiyou-child/assets/ref-v9-douyin.jpg"); }
body.page-baidu-seo .sx-v8-detail-hero .sx-v8-img img { content: url("/wp-content/themes/caihuiyou-child/assets/ref-v9-baidu.jpg"); }
.sx-v8-detail-layout {
  gap: 74px;
}
.sx-v8-detail-main section:nth-child(even) {
  margin-inline: -32px;
  padding-inline: 32px;
  background: #f6f9fd;
}
.sx-v8-detail-list article {
  background: #fff;
  border: 1px solid var(--gna-line);
}
.sx-v8-sidebar {
  background: linear-gradient(145deg, #061426, #102845);
}

.sx-footer {
  background: #061426 !important;
}
.sx-footer,
.sx-footer p,
.sx-footer a,
.sx-footer__bottom {
  color: rgba(255,255,255,.72) !important;
}
.sx-footer h3,
.sx-footer__logo {
  color: #fff !important;
}

@media (max-width: 1024px) {
  .sx-header__inner { min-height: 68px; }
  .sx-menu-toggle span { background: #102033; }
  .sx-v8-hero {
    background:
      linear-gradient(rgba(5,18,34,.88), rgba(5,18,34,.88)),
      url("/wp-content/themes/caihuiyou-child/assets/ref-hero-city.jpg") center / cover no-repeat;
  }
  .sx-v8-service-layout {
    grid-template-columns: repeat(2, 1fr);
  }
  .sx-v8-process {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .sx-container { width: min(100% - 36px, var(--page-max-width)); }
  .sx-topbar { display: none; }
  .sx-v8-hero { min-height: auto; }
  .sx-v8-hero__grid { padding: 74px 0; min-height: auto; }
  .sx-v8-hero h1 { font-size: 38px; line-height: 1.12; }
  .sx-v8-hero p { font-size: 15px; }
  .wp-block-buttons { gap: 12px; }
  .wp-block-buttons .wp-block-button,
  .wp-block-buttons .wp-block-button__link {
    width: 100%;
    justify-content: center;
  }
  .sx-v8-section,
  .sx-v8-about { padding: 58px 0; }
  .sx-v8-service-layout,
  .sx-v8-process {
    grid-template-columns: 1fr;
  }
  .sx-v8-service-item { min-height: auto; }
  .sx-v8-service-item figure { height: 190px; }
  .sx-v8-detail-main section:nth-child(even) {
    margin-inline: 0;
    padding-inline: 0;
    background: transparent;
  }
}

/* Header final override must stay at the end of this file. */
.sx-topbar {
  height: 34px !important;
  background: #061426 !important;
  border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
}
.sx-topbar__inner {
  min-height: 34px !important;
  color: rgba(235, 245, 255, .82) !important;
}
.sx-header {
  position: absolute !important;
  top: 34px !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 80 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.sx-header__inner {
  min-height: 72px !important;
  margin-block: 14px 0 !important;
  padding-inline: 34px !important;
  gap: 34px !important;
  border: 1px solid rgba(148, 191, 255, .20) !important;
  border-radius: 10px !important;
  background: rgba(6, 20, 38, .78) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .18) !important;
  backdrop-filter: blur(16px);
}
.sx-logo {
  min-width: 268px !important;
  gap: 14px !important;
}
.sx-logo__mark {
  width: 46px !important;
  height: 46px !important;
  flex: 0 0 46px !important;
  overflow: visible !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
.sx-logo__mark::after,
.sx-logo__mark i {
  display: none !important;
}
.sx-logo__mark img {
  display: block;
  width: 46px;
  height: 46px;
}
.sx-logo__text strong {
  color: #fff !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: .01em !important;
}
.sx-logo__text em {
  margin-top: 4px !important;
  color: rgba(167, 205, 255, .92) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .12em !important;
}
.sx-nav ul,
.sx-nav .menu,
.sx-nav__menu {
  gap: 34px !important;
}
.sx-nav a,
.sx-nav .menu a {
  color: rgba(245, 249, 255, .88) !important;
  line-height: 72px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}
.sx-nav a::after {
  bottom: 18px !important;
  height: 2px !important;
  background: #2e90fa !important;
}
.sx-nav .current-menu-item > a,
.sx-nav .current_page_item > a,
.sx-nav a.is-active,
.sx-nav a:hover {
  color: #fff !important;
}
.sx-header__cta {
  min-height: 42px !important;
  padding: 0 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(46, 144, 250, .42) !important;
  border-radius: 5px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #155eef, #2e90fa) !important;
  box-shadow: 0 10px 24px rgba(21, 94, 239, .22) !important;
}

@media (max-width: 1024px) {
  .sx-header__inner {
    min-height: 66px !important;
    margin-top: 10px !important;
    padding-inline: 22px !important;
  }
  .sx-logo {
    min-width: 230px !important;
  }
  .sx-logo__mark,
  .sx-logo__mark img {
    width: 42px !important;
    height: 42px !important;
  }
  .sx-menu-toggle {
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(255,255,255,.22) !important;
  }
  .sx-menu-toggle span {
    background: #fff !important;
  }
}

@media (max-width: 640px) {
  .sx-header {
    top: 0 !important;
  }
  .sx-header__inner {
    width: calc(100% - 24px) !important;
    margin-inline: auto !important;
    border-radius: 8px !important;
  }
  .sx-logo {
    min-width: 0 !important;
  }
  .sx-logo__text strong {
    font-size: 17px !important;
  }
  .sx-logo__text em {
    display: none !important;
  }
}

/* Absolute final layout correction: keep homepage hero below the absolute header. */
body.home .sx-v8-hero {
  padding-top: 132px !important;
}
body.home .sx-v8-hero .sx-v8-hero__grid {
  min-height: 620px !important;
  padding-top: 54px !important;
  padding-bottom: 76px !important;
}
body.home .sx-v8-hero .sx-v8-eyebrow {
  margin-top: 0 !important;
}

@media (max-width: 1024px) {
  body.home .sx-v8-hero {
    padding-top: 112px !important;
  }
  body.home .sx-v8-hero .sx-v8-hero__grid {
    min-height: auto !important;
    padding-top: 42px !important;
    padding-bottom: 64px !important;
  }
}

@media (max-width: 640px) {
  body.home .sx-v8-hero {
    padding-top: 88px !important;
  }
  body.home .sx-v8-hero .sx-v8-hero__grid {
    padding-top: 34px !important;
    padding-bottom: 56px !important;
  }
}

/* Absolute final global header spacing correction. */
body:not(.home) .sx-v8-inner-hero,
body:not(.home) .sx-v8-detail-hero,
body:not(.home) .sx-page-hero {
  padding-top: 168px !important;
}
body:not(.home) .sx-v8-inner-hero .sx-v8-split,
body:not(.home) .sx-v8-detail-hero .sx-v8-split {
  padding-top: 46px !important;
}
body:not(.home) .sx-v8-inner-hero h1,
body:not(.home) .sx-v8-detail-hero h1,
body:not(.home) .sx-page-hero h1 {
  margin-top: 0 !important;
}
body:not(.home) .sx-v8-inner-hero .sx-v8-label,
body:not(.home) .sx-v8-detail-hero .sx-v8-label {
  margin-top: 0 !important;
}

@media (max-width: 1024px) {
  body:not(.home) .sx-v8-inner-hero,
  body:not(.home) .sx-v8-detail-hero,
  body:not(.home) .sx-page-hero {
    padding-top: 132px !important;
  }
  body:not(.home) .sx-v8-inner-hero .sx-v8-split,
  body:not(.home) .sx-v8-detail-hero .sx-v8-split {
    padding-top: 36px !important;
  }
}

@media (max-width: 640px) {
  body:not(.home) .sx-v8-inner-hero,
  body:not(.home) .sx-v8-detail-hero,
  body:not(.home) .sx-page-hero {
    padding-top: 96px !important;
  }
  body:not(.home) .sx-v8-inner-hero .sx-v8-split,
  body:not(.home) .sx-v8-detail-hero .sx-v8-split {
    padding-top: 28px !important;
  }
}
