:root {
  --moe-web-pink: #ff6ea9;
  --moe-web-pink-deep: #ef4f91;
  --moe-web-violet: #7c5cff;
  --moe-web-violet-deep: #4f3bb0;
  --moe-web-cyan: #55d9ff;
  --moe-web-ink: #29233f;
  --moe-web-text: #655e78;
  --moe-web-muted: #948ca5;
  --moe-web-line: rgba(111, 85, 172, .14);
  --moe-web-bg: #f9f7ff;
  --moe-web-card: rgba(255, 255, 255, .94);
  --moe-web-gradient: linear-gradient(135deg, #ff6ea9 0%, #9568ff 60%, #55d9ff 125%);
  --moe-web-gradient-deep: linear-gradient(135deg, #ef4f91 0%, #674bd7 62%, #35badb 125%);
  --moe-web-gradient-soft: linear-gradient(135deg, #fff0f7 0%, #f0ecff 58%, #e9faff 100%);
  --moe-web-shadow: 0 18px 50px rgba(70, 48, 126, .12);
  --moe-web-shadow-hover: 0 24px 64px rgba(70, 48, 126, .18);
}

html {
  scroll-behavior: smooth;
}

body.moe-web {
  min-width: 320px;
  color: var(--moe-web-text);
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 110, 169, .09), transparent 30rem),
    radial-gradient(circle at 92% 18%, rgba(85, 217, 255, .08), transparent 27rem),
    var(--moe-web-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.moe-web *,
.moe-web *::before,
.moe-web *::after {
  box-sizing: border-box;
}

.moe-web ::selection {
  color: #fff;
  background: var(--moe-web-violet);
}

.moe-web img {
  max-width: 100%;
}

.moe-web a {
  color: var(--moe-web-violet);
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.moe-web a:hover,
.moe-web a:focus {
  color: var(--moe-web-pink-deep);
  text-decoration: none;
}

.moe-web :focus-visible {
  outline: 3px solid rgba(85, 217, 255, .70);
  outline-offset: 3px;
}

.moe-shell {
  width: min(1180px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.moe-skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 16px;
  padding: 10px 14px;
  color: #fff !important;
  border-radius: 9px;
  background: var(--moe-web-violet);
  transform: translateY(-160%);
}

.moe-skip-link:focus {
  transform: translateY(0);
}

.moe-skip-target {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 公共导航 */
.moe-site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: 76px;
  border-bottom: 1px solid rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 6px 24px rgba(55, 38, 102, .06);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: background .2s ease, box-shadow .2s ease;
}

.moe-site-header.is-scrolled {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 30px rgba(55, 38, 102, .10);
}

.moe-navbar.navbar {
  min-height: 76px;
  margin: 0;
  border: 0;
  background: transparent;
}

.moe-navbar .navbar-header {
  height: 76px;
}

.moe-brand {
  display: inline-flex;
  height: 76px;
  align-items: center;
  padding: 10px 0;
}

.moe-brand img {
  width: auto;
  max-width: 185px;
  max-height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 5px 12px rgba(124, 92, 255, .18));
}

.moe-navbar .navbar-collapse {
  border: 0;
  box-shadow: none;
}

.moe-navbar .navbar-nav > li > a {
  padding: 28px 15px 25px;
  color: #514966;
  font-size: 14px;
  font-weight: 600;
  line-height: 23px;
  background: transparent !important;
}

.moe-navbar .navbar-nav > li > a::after {
  position: absolute;
  right: 15px;
  bottom: 17px;
  left: 15px;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: var(--moe-web-gradient);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.moe-navbar .navbar-nav > li > a:hover,
.moe-navbar .navbar-nav > li.open > a {
  color: var(--moe-web-violet-deep);
}

.moe-navbar .navbar-nav > li > a:hover::after,
.moe-navbar .navbar-nav > li.open > a::after {
  transform: scaleX(1);
}

.moe-navbar .caret {
  margin-left: 6px;
  border-top-color: currentColor;
}

.moe-navbar .dropdown-menu {
  min-width: 220px;
  padding: 10px;
  border: 1px solid var(--moe-web-line);
  border-radius: 15px;
  background: rgba(255, 255, 255, .98);
  box-shadow: var(--moe-web-shadow);
}

.moe-menu-group {
  min-width: 190px;
  padding: 4px;
}

.moe-menu-group > a,
.moe-menu-group li > a,
.moe-menu-title {
  display: block;
  padding: 9px 11px;
  color: var(--moe-web-text);
  border-radius: 9px;
}

.moe-menu-title {
  color: var(--moe-web-ink);
  font-weight: 700;
}

.moe-menu-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.moe-menu-group a:hover {
  color: var(--moe-web-violet-deep);
  background: var(--moe-web-gradient-soft);
}

.moe-navbar .moe-auth-nav > li > a.moe-nav-cta {
  margin-top: 18px;
  padding: 10px 18px !important;
  color: #fff !important;
  border-radius: 10px;
  background: var(--moe-web-gradient) !important;
  box-shadow: 0 8px 20px rgba(124, 92, 255, .23);
}

.moe-navbar .moe-auth-nav > li > a.moe-nav-cta::after {
  display: none;
}

.moe-navbar .moe-auth-nav > li > a.moe-nav-cta:hover,
.moe-navbar .moe-auth-nav > li > a.moe-nav-cta:focus {
  background: var(--moe-web-gradient-deep) !important;
  transform: translateY(-1px);
}

.moe-console-link i {
  margin-right: 6px;
  color: var(--moe-web-pink);
}

.moe-navbar .navbar-toggle {
  margin-top: 19px;
  border-color: var(--moe-web-line);
  border-radius: 10px;
  background: #fff;
}

.moe-navbar .navbar-toggle .icon-bar {
  background: var(--moe-web-violet);
}

/* 通用组件 */
.moe-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--moe-web-violet);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

.moe-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 21px;
  gap: 9px;
  color: var(--moe-web-ink);
  font-size: 15px;
  font-weight: 700;
  border: 1px solid transparent;
  border-radius: 12px;
}

.moe-button-primary {
  color: #fff !important;
  background: var(--moe-web-gradient);
  box-shadow: 0 11px 28px rgba(124, 92, 255, .30);
}

.moe-button-primary:hover,
.moe-button-primary:focus {
  color: #fff !important;
  background: var(--moe-web-gradient-deep);
  box-shadow: 0 15px 34px rgba(124, 92, 255, .38);
  transform: translateY(-2px);
}

.moe-button-glass {
  color: var(--moe-web-violet-deep) !important;
  border-color: rgba(255, 255, 255, .62);
  background: rgba(255, 255, 255, .75);
  box-shadow: 0 9px 24px rgba(45, 35, 88, .10);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.moe-button-glass:hover {
  background: #fff;
  transform: translateY(-2px);
}

.moe-button-light {
  color: var(--moe-web-violet-deep) !important;
  background: #fff;
  box-shadow: 0 12px 28px rgba(32, 22, 74, .18);
}

.moe-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.moe-section-heading {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.moe-section-heading h2,
.moe-console-copy h2,
.moe-support h2 {
  margin: 0 0 16px;
  color: var(--moe-web-ink);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.25;
}

.moe-section-heading p,
.moe-console-copy > p,
.moe-support p {
  color: var(--moe-web-muted);
  font-size: 16px;
  line-height: 1.85;
}

/* 首页 Hero */
.moe-hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  color: #fff;
  background-color: #25205d;
  background-image:
    linear-gradient(90deg, rgba(27, 23, 72, .72) 0%, rgba(44, 35, 101, .46) 42%, rgba(44, 35, 101, .03) 68%),
    url("../img/moe/moe-hero.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.moe-hero::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 86px;
  content: "";
  background: linear-gradient(to top, var(--moe-web-bg), transparent);
}

.moe-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 690px;
  align-items: center;
}

.moe-hero-copy {
  width: min(620px, 58%);
  padding: 70px 0 105px;
}

.moe-hero .moe-kicker {
  padding: 8px 12px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
}

.moe-hero h1 {
  margin: 4px 0 22px;
  color: #fff;
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -.035em;
  text-shadow: 0 8px 26px rgba(23, 17, 65, .24);
}

.moe-hero h1 em {
  color: #ffd9ec;
  font-style: normal;
}

.moe-hero-copy > p {
  max-width: 570px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, .82);
  font-size: 17px;
  line-height: 1.9;
}

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

.moe-hero-points {
  display: flex;
  flex-wrap: wrap;
  margin: 27px 0 0;
  padding: 0;
  gap: 18px;
  color: rgba(255, 255, 255, .80);
  font-size: 13px;
  list-style: none;
}

.moe-hero-points i {
  margin-right: 6px;
  color: #8eeeff;
}

.moe-float-card {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  padding: 11px 15px;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 13px;
  background: rgba(51, 42, 113, .38);
  box-shadow: 0 15px 32px rgba(23, 17, 65, .18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: moe-float 5s ease-in-out infinite;
}

.moe-float-card-a {
  top: 23%;
  right: 5%;
}

.moe-float-card-b {
  right: 35%;
  bottom: 21%;
  animation-delay: -2.2s;
}

@keyframes moe-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.moe-trust-strip {
  position: relative;
  z-index: 3;
  margin-top: -32px;
}

.moe-trust-grid {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .80);
  border-radius: 18px;
  background: rgba(255, 255, 255, .90);
  box-shadow: var(--moe-web-shadow);
  grid-template-columns: repeat(4, 1fr);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.moe-trust-grid > div {
  display: flex;
  min-height: 108px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--moe-web-line);
}

.moe-trust-grid > div:last-child {
  border-right: 0;
}

.moe-trust-grid strong {
  color: var(--moe-web-violet);
  font-size: 27px;
  font-weight: 900;
}

.moe-trust-grid span {
  margin-top: 5px;
  color: var(--moe-web-muted);
  font-size: 13px;
}

/* 服务卡片 */
.moe-services {
  padding-top: 115px;
}

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

.moe-service-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 300px;
  padding: 30px 27px;
  color: var(--moe-web-text) !important;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 20px;
  background: var(--moe-web-card);
  box-shadow: var(--moe-web-shadow);
}

.moe-service-card::after {
  position: absolute;
  right: -42px;
  bottom: -52px;
  width: 130px;
  height: 130px;
  content: "";
  opacity: .26;
  border-radius: 50%;
  background: var(--moe-web-gradient);
}

.moe-service-card:hover {
  border-color: rgba(124, 92, 255, .25);
  box-shadow: var(--moe-web-shadow-hover);
  transform: translateY(-7px);
}

.moe-service-icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 21px;
  border-radius: 16px;
  background: var(--moe-web-gradient);
  box-shadow: 0 10px 24px rgba(124, 92, 255, .24);
}

.moe-service-index {
  position: absolute;
  top: 29px;
  right: 27px;
  color: #ebe6f5;
  font-size: 30px;
  font-weight: 900;
}

.moe-service-card h3 {
  margin: 26px 0 12px;
  color: var(--moe-web-ink);
  font-size: 21px;
  font-weight: 800;
}

.moe-service-card p {
  min-height: 74px;
  color: var(--moe-web-muted);
  line-height: 1.8;
}

.moe-text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--moe-web-violet);
  font-weight: 700;
}

/* 控制台展示 */
.moe-console-showcase {
  background:
    radial-gradient(circle at 15% 40%, rgba(255, 110, 169, .12), transparent 27rem),
    var(--moe-web-gradient-soft);
}

.moe-console-grid {
  display: grid;
  align-items: center;
  gap: 80px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.moe-console-art {
  position: relative;
  min-height: 510px;
  border: 1px solid rgba(255, 255, 255, .70);
  border-radius: 40% 60% 58% 42% / 42% 44% 56% 58%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .92), rgba(238, 232, 255, .72) 55%, transparent 70%);
}

.moe-console-art img {
  position: absolute;
  z-index: 3;
  bottom: -44px;
  left: 50%;
  width: 330px;
  height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 22px 28px rgba(65, 42, 130, .20));
}

.moe-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(124, 92, 255, .25);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
}

.moe-orbit-one {
  width: 85%;
  height: 42%;
}

.moe-orbit-two {
  width: 65%;
  height: 82%;
  transform: translate(-50%, -50%) rotate(30deg);
}

.moe-console-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  padding: 11px 14px;
  gap: 8px;
  color: var(--moe-web-violet-deep);
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 12px;
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--moe-web-shadow);
}

.moe-console-chip-a {
  top: 18%;
  left: 3%;
}

.moe-console-chip-b {
  right: 2%;
  bottom: 22%;
}

.moe-console-copy > p {
  margin-bottom: 30px;
}

.moe-feature-list {
  display: grid;
  margin-bottom: 31px;
  gap: 17px;
}

.moe-feature-list > div {
  display: grid;
  align-items: flex-start;
  gap: 14px;
  grid-template-columns: 45px 1fr;
}

.moe-feature-list > div > i {
  display: inline-flex;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  color: var(--moe-web-violet);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(70, 48, 126, .10);
}

.moe-feature-list span {
  color: var(--moe-web-muted);
  line-height: 1.7;
}

.moe-feature-list strong {
  display: block;
  color: var(--moe-web-ink);
  font-size: 16px;
}

/* 三步 */
.moe-step-grid {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 20px;
  counter-reset: steps;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.moe-step-grid li {
  position: relative;
  min-height: 250px;
  padding: 34px 30px;
  border: 1px solid var(--moe-web-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--moe-web-shadow);
}

.moe-step-grid li > span {
  position: absolute;
  top: 26px;
  right: 27px;
  color: #eeeaf7;
  font-size: 38px;
  font-weight: 900;
}

.moe-step-grid li > i {
  display: inline-flex;
  width: 55px;
  height: 55px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  border-radius: 17px;
  background: var(--moe-web-gradient);
}

.moe-step-grid h3 {
  margin: 24px 0 11px;
  color: var(--moe-web-ink);
  font-size: 20px;
  font-weight: 800;
}

.moe-step-grid p {
  color: var(--moe-web-muted);
  line-height: 1.8;
}

/* 支持区 */
.moe-support {
  padding-top: 30px;
}

.moe-support-inner {
  display: flex;
  min-height: 250px;
  align-items: center;
  justify-content: space-between;
  padding: 50px 56px;
  gap: 30px;
  border: 1px solid rgba(255, 255, 255, .66);
  border-radius: 26px;
  background:
    radial-gradient(circle at 90% 20%, rgba(85, 217, 255, .22), transparent 20rem),
    linear-gradient(135deg, #fff0f7, #eee9ff);
  box-shadow: var(--moe-web-shadow);
}

.moe-support-inner > div:first-child {
  max-width: 700px;
}

.moe-support h2 {
  font-size: clamp(28px, 4vw, 39px);
}

.moe-support-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

/* CTA 与页脚 */
.moe-cta-band {
  margin-top: 90px;
  padding: 52px 0;
  color: #fff;
  background:
    radial-gradient(circle at 82% 30%, rgba(85, 217, 255, .26), transparent 22rem),
    linear-gradient(120deg, #352a77, #7653dc 58%, #e468a5);
}

.moe-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.moe-cta-band .moe-kicker {
  color: #ffd7eb;
}

.moe-cta-band h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(27px, 4vw, 39px);
  font-weight: 800;
}

.moe-cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, .77);
}

.moe-site-footer {
  position: relative;
  overflow: hidden;
  padding: 75px 0 28px;
  color: #aaa2be;
  background: #201a3b;
}

.moe-site-footer::before {
  position: absolute;
  top: -150px;
  right: -130px;
  width: 430px;
  height: 430px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 110, 169, .15), transparent 67%);
}

.moe-footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(240px, .9fr) minmax(0, 1.5fr);
}

.moe-footer-brand img {
  width: auto;
  max-width: 190px;
  max-height: 52px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.moe-footer-brand > p {
  max-width: 390px;
  margin: 24px 0;
  line-height: 1.85;
}

.moe-footer-contact {
  display: grid;
  gap: 10px;
}

.moe-footer-contact span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.moe-footer-contact i {
  width: 18px;
  margin-top: 4px;
  color: var(--moe-web-pink);
}

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

.moe-footer-column h3 {
  margin: 0 0 17px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.moe-footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.moe-footer-column li {
  margin-bottom: 10px;
}

.moe-footer-column a {
  color: #aaa2be;
}

.moe-footer-column a:hover {
  color: #fff;
}

.moe-friendly-links {
  position: relative;
  z-index: 2;
  display: flex;
  margin-top: 50px;
  padding: 18px 0;
  gap: 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.moe-friendly-links strong {
  min-width: 70px;
  color: #fff;
}

.moe-friendly-links a {
  display: inline-block;
  margin: 0 16px 6px 0;
  color: #aaa2be;
}

.moe-footer-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 25px;
  font-size: 13px;
}

.moe-footer-signature i {
  margin-right: 6px;
  color: var(--moe-web-pink);
}

.moe-footer-mascot {
  position: absolute;
  right: max(18px, calc((100vw - 1320px) / 2));
  bottom: -105px;
  width: 180px;
  height: auto;
  opacity: .13;
  filter: grayscale(.15);
}

/* 404 */
.moe-not-found {
  display: flex;
  min-height: 620px;
  align-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(124, 92, 255, .17), transparent 22rem),
    var(--moe-web-gradient-soft);
}

.moe-not-found-inner > strong {
  display: block;
  color: transparent;
  font-size: clamp(100px, 18vw, 220px);
  font-weight: 900;
  line-height: .9;
  background: var(--moe-web-gradient);
  -webkit-background-clip: text;
  background-clip: text;
}

.moe-not-found h1 {
  margin: 24px 0 13px;
  color: var(--moe-web-ink);
  font-size: 34px;
  font-weight: 800;
}

.moe-not-found p {
  margin-bottom: 28px;
  color: var(--moe-web-muted);
  font-size: 16px;
}

/* 复制自 zjmf 的其他内容页统一换肤 */
.moe-web .btn-primary,
.moe-web .btn-success,
.moe-web .btn-outline-success:hover {
  color: #fff !important;
  border-color: transparent !important;
  border-radius: 10px;
  background: var(--moe-web-gradient) !important;
  box-shadow: 0 8px 22px rgba(124, 92, 255, .22);
}

.moe-web .btn-default {
  color: var(--moe-web-violet-deep);
  border-color: rgba(124, 92, 255, .22);
  border-radius: 10px;
  background: #fff;
}

.moe-web .section-title,
.moe-web .module-title,
.moe-web .hometitleSpan,
.moe-web .host-model h1,
.moe-web .host-model h2,
.moe-web .cloud-product-title {
  color: var(--moe-web-ink) !important;
}

.moe-web .card,
.moe-web .pricing-box,
.moe-web .service-div-content,
.moe-web .solutions-brife-item,
.moe-web .content-box,
.moe-web .article-list,
.moe-web .helpMenu > div {
  border-color: var(--moe-web-line) !important;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(70, 48, 126, .09);
}

.moe-web .bg-primary,
.moe-web .background-pri {
  background-color: var(--moe-web-violet) !important;
}

.moe-web .text-primary {
  color: var(--moe-web-violet) !important;
}

.moe-web input,
.moe-web textarea,
.moe-web select {
  border-color: #e4def0;
  border-radius: 9px;
}

.moe-web input:focus,
.moe-web textarea:focus,
.moe-web select:focus {
  border-color: var(--moe-web-violet);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, .12);
  outline: 0;
}

/* 联系与地址页：只读取财务系统后台公司资料，不依赖外部地图 SDK。 */
.moe-inner-hero {
  position: relative;
  overflow: hidden;
  padding: 95px 0 75px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, .18), transparent 17rem),
    linear-gradient(120deg, #312a72 0%, #7252d7 53%, #ed72ad 100%);
}

.moe-inner-hero::after {
  position: absolute;
  right: -100px;
  bottom: -230px;
  width: 500px;
  height: 500px;
  content: "";
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
}

.moe-inner-hero-grid {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 190px;
  align-items: center;
  justify-content: space-between;
}

.moe-inner-hero h1 {
  margin: 13px 0 15px;
  color: #fff;
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 900;
}

.moe-inner-hero p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 17px;
}

.moe-inner-hero img {
  position: absolute;
  right: 45px;
  bottom: -95px;
  width: 210px;
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(28, 20, 67, .35));
}

.moe-contact-section,
.moe-map-safe {
  padding: 95px 0;
  background: var(--moe-web-gradient-soft);
}

.moe-contact-grid {
  display: grid;
  margin-top: 42px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.moe-contact-card {
  min-width: 0;
  padding: 34px;
  border: 1px solid var(--moe-web-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 15px 45px rgba(68, 48, 118, .09);
}

.moe-contact-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #fff;
  border-radius: 15px;
  background: var(--moe-web-gradient);
  box-shadow: 0 10px 25px rgba(124, 92, 255, .25);
}

.moe-contact-card h3 {
  margin: 24px 0 10px;
  color: var(--moe-web-ink);
  font-size: 21px;
  font-weight: 800;
}

.moe-contact-card p {
  min-height: 54px;
  color: var(--moe-web-muted);
  line-height: 1.8;
}

.moe-contact-card a {
  overflow-wrap: anywhere;
  color: var(--moe-web-violet);
  font-weight: 700;
}

.moe-contact-location {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 270px;
  margin-top: 28px;
  padding: 48px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(124, 92, 255, .12);
  border-radius: 24px;
  background: linear-gradient(120deg, #fff5fa, #f0ecff 55%, #e8f8ff);
}

.moe-contact-location h2 {
  margin: 13px 0;
  color: var(--moe-web-ink);
  font-size: 34px;
  font-weight: 850;
}

.moe-contact-location p {
  max-width: 680px;
  color: var(--moe-web-muted);
  font-size: 16px;
}

.moe-contact-location p i {
  margin-right: 10px;
  color: var(--moe-web-pink);
}

.moe-contact-orbit {
  position: relative;
  display: grid;
  width: 180px;
  height: 180px;
  flex: 0 0 180px;
  place-items: center;
  border: 1px solid rgba(124, 92, 255, .18);
  border-radius: 50%;
}

.moe-contact-orbit::before,
.moe-contact-orbit::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 110, 169, .22);
  border-radius: 50%;
  inset: 22px;
}

.moe-contact-orbit::after {
  border-color: rgba(85, 217, 255, .28);
  transform: rotate(65deg) scaleX(.48);
}

.moe-contact-orbit > i {
  display: grid;
  z-index: 2;
  width: 68px;
  height: 68px;
  place-items: center;
  color: #fff;
  border-radius: 22px;
  background: var(--moe-web-gradient);
  box-shadow: 0 18px 35px rgba(124, 92, 255, .28);
}

.moe-contact-orbit > span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--moe-web-pink);
}

.moe-contact-orbit > span:nth-child(1) { top: 20px; left: 55px; }
.moe-contact-orbit > span:nth-child(2) { right: 20px; bottom: 58px; background: var(--moe-web-cyan); }
.moe-contact-orbit > span:nth-child(3) { bottom: 18px; left: 52px; background: var(--moe-web-violet); }

.moe-map-safe-card {
  display: flex;
  min-height: 280px;
  padding: 54px;
  align-items: center;
  gap: 28px;
  border: 1px solid var(--moe-web-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(68, 48, 118, .10);
}

.moe-map-safe-card h2 {
  margin: 0 0 10px;
  color: var(--moe-web-ink);
  font-size: 32px;
  font-weight: 850;
}

.moe-map-safe-card p {
  color: var(--moe-web-muted);
  font-size: 17px;
}

.moe-map-safe-actions {
  display: flex;
  margin-top: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 768px) {
  .moe-navbar .dropdown:hover > .dropdown-menu {
    display: block;
  }

  .moe-mega-menu {
    display: none;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, auto);
  }

  .moe-navbar .dropdown.open > .moe-mega-menu,
  .moe-navbar .dropdown:hover > .moe-mega-menu {
    display: grid;
  }
}

@media (max-width: 991px) {
  .moe-shell {
    width: min(100% - 30px, 940px);
  }

  .moe-navbar .navbar-nav > li > a {
    padding-right: 9px;
    padding-left: 9px;
  }

  .moe-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .moe-console-grid {
    gap: 40px;
  }

  .moe-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .moe-site-header,
  .moe-navbar.navbar,
  .moe-navbar .navbar-header {
    height: 68px;
    min-height: 68px;
  }

  .moe-brand {
    height: 68px;
  }

  .moe-brand img {
    max-width: 150px;
    max-height: 42px;
  }

  .moe-navbar .navbar-toggle {
    margin-top: 15px;
    margin-right: 0;
  }

  .moe-navbar .navbar-collapse {
    overflow-y: auto !important;
    max-height: calc(100vh - 68px);
    padding: 10px 15px 20px;
    border: 1px solid var(--moe-web-line);
    border-radius: 0 0 16px 16px;
    background: rgba(255, 255, 255, .98);
    box-shadow: var(--moe-web-shadow);
  }

  .moe-navbar .navbar-nav {
    margin: 0;
  }

  .moe-navbar .navbar-nav > li > a {
    padding: 12px 10px;
  }

  .moe-navbar .navbar-nav > li > a::after {
    display: none;
  }

  .moe-navbar .dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
  }

  .moe-auth-nav .moe-nav-cta {
    margin: 6px 0 0;
    text-align: center;
  }

  .moe-hero,
  .moe-hero-inner {
    min-height: 690px;
  }

  .moe-hero {
    background-image:
      linear-gradient(90deg, rgba(30, 25, 76, .82), rgba(45, 37, 103, .62)),
      url("../img/moe/moe-hero.png");
    background-position: 64% center;
  }

  .moe-hero-copy {
    width: 100%;
    padding: 70px 0 105px;
  }

  .moe-hero h1 {
    font-size: 44px;
  }

  .moe-float-card {
    display: none;
  }

  .moe-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .moe-trust-grid > div {
    border-bottom: 1px solid var(--moe-web-line);
  }

  .moe-trust-grid > div:nth-child(2) {
    border-right: 0;
  }

  .moe-section {
    padding: 76px 0;
  }

  .moe-service-grid,
  .moe-console-grid,
  .moe-step-grid {
    grid-template-columns: 1fr;
  }

  .moe-console-art {
    min-height: 430px;
  }

  .moe-console-art img {
    width: 280px;
  }

  .moe-support-inner,
  .moe-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .moe-support-inner {
    padding: 38px 27px;
  }

  .moe-support-actions {
    justify-content: flex-start;
  }

  .moe-footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .moe-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }

  .moe-footer-mascot {
    display: none;
  }

  .moe-inner-hero {
    padding: 70px 0 58px;
  }

  .moe-inner-hero-grid {
    min-height: 170px;
  }

  .moe-inner-hero img {
    right: -22px;
    bottom: -78px;
    width: 155px;
    opacity: .42;
  }

  .moe-inner-hero p {
    max-width: 75%;
    font-size: 15px;
  }

  .moe-contact-section,
  .moe-map-safe {
    padding: 70px 0;
  }

  .moe-contact-grid {
    grid-template-columns: 1fr;
  }

  .moe-contact-card p {
    min-height: 0;
  }

  .moe-contact-location,
  .moe-map-safe-card {
    padding: 30px;
    flex-direction: column;
    align-items: flex-start;
  }

  .moe-contact-orbit {
    width: 145px;
    height: 145px;
    flex-basis: 145px;
    align-self: center;
  }
}

@media (max-width: 479px) {
  .moe-shell {
    width: calc(100% - 24px);
  }

  .moe-hero,
  .moe-hero-inner {
    min-height: 640px;
  }

  .moe-hero h1 {
    font-size: 36px;
  }

  .moe-hero-actions,
  .moe-button {
    width: 100%;
  }

  .moe-hero-points {
    flex-direction: column;
    gap: 8px;
  }

  .moe-trust-grid strong {
    font-size: 22px;
  }

  .moe-service-grid,
  .moe-footer-links {
    grid-template-columns: 1fr;
  }

  .moe-console-art {
    min-height: 370px;
  }

  .moe-console-art img {
    width: 235px;
  }

  .moe-console-chip {
    font-size: 11px;
  }
}

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

  .moe-web *,
  .moe-web *::before,
  .moe-web *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
