/*
 * Hajiyun Global Theme — website layer
 * Compatibility: IDCsmart Business System V10.7.1
 */
:root {
  --hajiyun-night: #071329;
  --hajiyun-deep: #0b1e3d;
  --hajiyun-sky: #6dbce8;
  --hajiyun-cyan: #8ce9ff;
  --hajiyun-gold: #e8c477;
  --hajiyun-cream: #fff8e8;
  --hajiyun-ink: #15233f;
  --hajiyun-muted: #697995;
  --hajiyun-line: rgba(104, 157, 202, 0.2);
  --hajiyun-glass: rgba(255, 255, 255, 0.82);
  --hajiyun-shadow: 0 22px 60px rgba(8, 32, 67, 0.14);
  --hajiyun-orange: #ff9b2f;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--hajiyun-ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(137, 218, 255, 0.2), transparent 28rem),
    radial-gradient(circle at 88% 48%, rgba(232, 196, 119, 0.13), transparent 30rem),
    #f6faff;
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  overflow-x: hidden;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
}

body::before {
  opacity: 0.32;
  background-image:
    radial-gradient(circle, rgba(59, 128, 180, 0.38) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(232, 196, 119, 0.45) 0 1px, transparent 1.4px);
  background-position: 0 0, 28px 34px;
  background-size: 54px 54px, 76px 76px;
  mask-image: linear-gradient(to bottom, #000, transparent 86%);
}

body::after {
  background:
    linear-gradient(115deg, transparent 0 48%, rgba(120, 203, 247, 0.06) 49% 50%, transparent 51%),
    linear-gradient(25deg, transparent 0 48%, rgba(232, 196, 119, 0.05) 49% 50%, transparent 51%);
  background-size: 190px 190px;
}

::selection {
  color: #071329;
  background: rgba(140, 233, 255, 0.72);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: linear-gradient(var(--hajiyun-sky), #476fab) padding-box;
}

::-webkit-scrollbar-track {
  background: #edf5fb;
}

.section-content {
  width: min(1200px, calc(100% - 48px));
}

.section-title h2,
.server-banner-desc h1,
.server-banner-desc2 h1 {
  letter-spacing: 0.04em;
  color: #142a4d;
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
}

.section-title h2::after {
  display: block;
  width: 76px;
  height: 2px;
  margin: 14px auto 0;
  content: "";
  background: linear-gradient(90deg, transparent, var(--hajiyun-gold), transparent);
}

.section-title .section-desc,
.title-desc,
.server-banner-desc p,
.server-banner-desc2 p {
  color: var(--hajiyun-muted);
}

#index .service-price { display: none; }

/* Navigation */
.hajiyun-brand {
  display: inline-flex;
  min-width: 154px;
  height: 54px;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.hajiyun-brand img {
  width: 54px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(35, 155, 255, .38));
}

.hajiyun-brand span { display: flex; line-height: 1.1; flex-direction: column; }
.hajiyun-brand b { color: #fff; font-family: Georgia, "Noto Serif SC", serif; font-size: 20px; letter-spacing: .08em; }
.hajiyun-brand small { margin-top: 5px; color: rgba(140, 233, 255, .66); font-size: 8px; letter-spacing: .22em; }

.nav-shadow {
  border-bottom: 1px solid rgba(165, 219, 255, 0.16);
  background: rgba(5, 17, 40, 0.9);
  box-shadow: 0 10px 34px rgba(0, 10, 30, 0.22);
  backdrop-filter: blur(18px) saturate(135%);
}

.nav-header {
  min-height: 68px;
}

.nav-header .nav-left .nav-icon img {
  max-height: 38px;
  filter: drop-shadow(0 0 12px rgba(140, 233, 255, 0.24));
}

.nav-menu .nav-item,
.nav-right .control {
  position: relative;
  color: rgba(241, 249, 255, 0.84);
  letter-spacing: 0.03em;
}

.nav-menu .nav-item::after,
.nav-right .control::after {
  position: absolute;
  right: 50%;
  bottom: -8px;
  left: 50%;
  height: 2px;
  content: "";
  transition: right 0.24s ease, left 0.24s ease;
  background: linear-gradient(90deg, var(--hajiyun-cyan), var(--hajiyun-gold));
  box-shadow: 0 0 12px rgba(140, 233, 255, 0.7);
}

.nav-menu .nav-item:hover,
.nav-right .control:hover {
  color: #fff;
}

.nav-menu .nav-item:hover::after,
.nav-right .control:hover::after {
  right: 16%;
  left: 16%;
}

.nav-cont {
  background: rgba(6, 20, 46, 0.96);
  box-shadow: 0 28px 50px rgba(0, 11, 30, 0.28);
  backdrop-filter: blur(20px);
}

.nav-item-box {
  border: 1px solid transparent;
  border-radius: 14px;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.nav-item-box:hover {
  transform: translateY(-3px);
  border-color: rgba(140, 233, 255, 0.2);
  background: rgba(125, 206, 246, 0.08);
}

.nav-item-box .title {
  color: #f4f9ff;
}

.nav-item-box .item-box-title .desc {
  color: #8fa8c4;
}

.nav-header .login-in .login-menu {
  border: 1px solid rgba(109, 188, 232, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--hajiyun-shadow);
}

/* Hero and page banners */
.banner,
.server-banner,
.server-banner2,
[class*="-banner"] {
  position: relative;
  overflow: hidden;
}

.banner::before,
.server-banner::before,
.server-banner2::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 78% 35%, rgba(140, 233, 255, 0.2), transparent 28%),
    linear-gradient(90deg, rgba(4, 14, 36, 0.82), rgba(7, 25, 57, 0.3) 62%, rgba(4, 14, 36, 0.52));
}

.banner .swiper,
.banner .swiper-slide,
.server-banner > *,
.server-banner2 > * {
  position: relative;
  z-index: 3;
}

.banner .swiper-slide .img {
  opacity: 0.72;
  filter: saturate(0.9) contrast(1.05) brightness(0.74) hue-rotate(6deg);
}

.banner .section-content h1 {
  color: #fff;
  text-shadow: 0 4px 28px rgba(0, 18, 48, 0.72);
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
}

.banner .banner-desc {
  max-width: 680px;
  color: rgba(235, 247, 255, 0.82);
  line-height: 1.9;
}

.banner-s {
  z-index: 5;
  border-top: 1px solid rgba(165, 219, 255, 0.14);
  border-bottom: 1px solid rgba(165, 219, 255, 0.14);
  background: rgba(6, 20, 46, 0.76);
  backdrop-filter: blur(18px);
}

.banner-item {
  transition: transform 0.25s ease, background 0.25s ease;
  border-right-color: rgba(165, 219, 255, 0.12) !important;
}

.banner-item:hover {
  transform: translateY(-5px);
  background: rgba(140, 233, 255, 0.08);
}

.banner-item h5,
.banner-item .title-desc {
  color: #f6fbff;
}

.banner-tag {
  color: var(--hajiyun-gold);
}

/* Cards and content */
.section-bg {
  background:
    radial-gradient(circle at 80% 20%, rgba(118, 202, 246, 0.1), transparent 28rem),
    rgba(238, 246, 252, 0.74);
}

.service-box,
.resolve-box,
.partner-box,
.news-box,
.nav-item-box,
.document-content,
.activities-content,
.content-box,
.product-box {
  border: 1px solid var(--hajiyun-line);
  border-radius: 18px;
  background: var(--hajiyun-glass);
  box-shadow: 0 12px 38px rgba(13, 48, 84, 0.08);
  backdrop-filter: blur(12px);
}

.service-box,
.resolve-box,
.partner-box,
.news-box,
.content-box,
.product-box {
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.service-box::before,
.resolve-box::before,
.partner-box::before,
.product-box::before {
  position: absolute;
  top: 0;
  left: -48%;
  width: 40%;
  height: 1px;
  content: "";
  transition: left 0.55s ease;
  background: linear-gradient(90deg, transparent, var(--hajiyun-cyan), transparent);
}

.service-box:hover,
.resolve-box:hover,
.partner-box:hover,
.news-box:hover,
.content-box:hover,
.product-box:hover {
  transform: translateY(-7px);
  border-color: rgba(93, 177, 224, 0.42);
  box-shadow: 0 24px 58px rgba(14, 58, 100, 0.14);
}

.service-box:hover::before,
.resolve-box:hover::before,
.partner-box:hover::before,
.product-box:hover::before {
  left: 110%;
}

.service-title,
.footer-nav-head {
  color: #1b3457;
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
}

.service-tag,
.banner-tag {
  border-color: rgba(73, 152, 207, 0.22) !important;
  border-radius: 999px !important;
  background: rgba(111, 196, 240, 0.08);
}

/* Actions and inputs */
.btn,
.btn-normal,
.search-btn,
button {
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-normal,
.search-btn {
  border-color: transparent !important;
  border-radius: 10px !important;
  color: #071329 !important;
  background: linear-gradient(135deg, #8ce9ff, #e8c477) !important;
  box-shadow: 0 10px 24px rgba(79, 158, 207, 0.24);
}

.btn-normal:hover,
.search-btn:hover,
button:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.btn-normal-light {
  border-color: rgba(73, 152, 207, 0.3) !important;
  border-radius: 10px !important;
  color: #2f6f9f !important;
  background: rgba(241, 250, 255, 0.82) !important;
}

input,
textarea,
select,
.input-search {
  border-color: rgba(73, 152, 207, 0.22) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.88) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--hajiyun-sky) !important;
  box-shadow: 0 0 0 3px rgba(109, 188, 232, 0.14);
}

/* Footer */
.footer {
  position: relative;
  color: #aabbd0;
  background:
    radial-gradient(circle at 16% 0%, rgba(63, 139, 190, 0.2), transparent 24rem),
    #061226;
}

.footer::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(232, 196, 119, 0.7), transparent);
}

.section-promise {
  border-color: rgba(148, 202, 235, 0.12) !important;
  background: rgba(11, 31, 64, 0.72);
}

.footer-nav-box .footer-nav-head {
  color: #f5e6b8;
}

.footer .link-hover,
.footer .footer-link a,
.footer-record a {
  color: #aabbd0;
}

.footer .link-hover:hover,
.footer .footer-link a:hover,
.footer-record a:hover {
  color: var(--hajiyun-cyan);
}

/* Paimon guide */
.hajiyun-guide {
  position: fixed;
  right: 22px;
  bottom: 18px;
  z-index: 9998;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  pointer-events: none;
  --guide-image: 184px;
}

.hajiyun-guide__bubble {
  position: relative;
  width: min(330px, calc(100vw - 245px));
  margin-bottom: 74px;
  padding: 18px 18px 14px;
  transform: translateY(8px) scale(0.97);
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s;
  visibility: hidden;
  opacity: 0;
  pointer-events: auto;
  border: 1px solid rgba(119, 185, 225, 0.36);
  border-radius: 18px 18px 6px 18px;
  color: #203857;
  background: rgba(253, 254, 255, 0.96);
  box-shadow: 0 20px 60px rgba(4, 25, 58, 0.24);
  backdrop-filter: blur(18px);
}

.hajiyun-guide[data-open="true"] .hajiyun-guide__bubble {
  transform: none;
  visibility: visible;
  opacity: 1;
}

.hajiyun-guide__bubble::after {
  position: absolute;
  right: -11px;
  bottom: 24px;
  width: 20px;
  height: 20px;
  content: "";
  transform: rotate(45deg);
  border-top: 1px solid rgba(119, 185, 225, 0.3);
  border-right: 1px solid rgba(119, 185, 225, 0.3);
  background: rgba(253, 254, 255, 0.96);
}

.hajiyun-guide__eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  color: #977135;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.hajiyun-guide__eyebrow::before {
  content: "✦";
  color: var(--hajiyun-gold);
}

.hajiyun-guide__text {
  min-height: 48px;
  margin: 0;
  color: #27405f;
  font-size: 14px;
  line-height: 1.75;
}

.hajiyun-guide__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.hajiyun-guide__next,
.hajiyun-guide__close {
  min-width: 0;
  padding: 5px 10px;
  border: 0;
  color: #346f9d;
  background: transparent;
  box-shadow: none;
  font-size: 12px;
}

.hajiyun-guide__next:hover,
.hajiyun-guide__close:hover {
  transform: none;
  color: #9b742f;
}

.hajiyun-guide__mascot {
  position: relative;
  width: var(--guide-image);
  height: calc(var(--guide-image) * 1.28);
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  filter: drop-shadow(0 18px 18px rgba(7, 31, 70, 0.26));
  pointer-events: auto;
}

.hajiyun-guide__mascot::before {
  position: absolute;
  right: 22%;
  bottom: 8%;
  left: 22%;
  height: 16px;
  content: "";
  animation: hajiyun-shadow-pulse 3s ease-in-out infinite;
  border-radius: 50%;
  background: rgba(68, 174, 230, 0.26);
  filter: blur(8px);
}

.hajiyun-guide__mascot img {
  width: 100%;
  height: 100%;
  animation: hajiyun-float 4s ease-in-out infinite;
  object-fit: contain;
}

.hajiyun-guide__badge {
  position: absolute;
  top: 19%;
  right: 7%;
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid rgba(232, 196, 119, 0.7);
  border-radius: 50%;
  color: #102342;
  background: #fff6d9;
  box-shadow: 0 5px 18px rgba(6, 24, 51, 0.24);
  font-size: 13px;
  font-weight: 800;
}

.hajiyun-spark {
  position: fixed;
  z-index: 9997;
  width: 5px;
  height: 5px;
  animation: hajiyun-spark 0.8s ease-out forwards;
  border-radius: 50%;
  background: var(--spark-color, #8ce9ff);
  box-shadow: 0 0 10px var(--spark-color, #8ce9ff);
  pointer-events: none;
}

/* Paimon-assisted route transition */
.hajiyun-transition {
  position: fixed;
  z-index: 99999;
  inset: 0;
  display: grid;
  overflow: hidden;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(97, 204, 242, .22), transparent 22rem),
    linear-gradient(135deg, rgba(5, 18, 42, .97), rgba(9, 53, 86, .98));
  pointer-events: none;
  transition: opacity .28s ease, visibility .28s ease;
}

.hajiyun-transition__stars {
  position: absolute;
  inset: -15%;
  opacity: .45;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.9) 0 1px, transparent 1.3px),
    radial-gradient(circle, rgba(237,205,126,.88) 0 1px, transparent 1.4px);
  background-position: 0 0, 35px 31px;
  background-size: 72px 72px, 108px 108px;
}

.hajiyun-transition__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  transform: translateY(18px) scale(.96);
  opacity: 0;
  color: #fff;
  transition: transform .36s cubic-bezier(.2,.8,.2,1), opacity .3s ease;
}

.hajiyun-transition__content img {
  width: 138px;
  height: 174px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0, 11, 32, .36));
}

.hajiyun-transition__content div { display: flex; flex-direction: column; gap: 9px; }
.hajiyun-transition__content b { color: #fff6dc; font-family: Georgia, "Noto Serif SC", serif; font-size: 20px; letter-spacing: .04em; }
.hajiyun-transition__content span { color: rgba(211, 237, 250, .68); font-size: 12px; letter-spacing: .08em; }

.hajiyun-leaving .hajiyun-transition { visibility: visible; opacity: 1; pointer-events: all; }
.hajiyun-leaving .hajiyun-transition__stars { animation: hajiyun-transition-stars 7s linear infinite; }
.hajiyun-leaving .hajiyun-transition__content { transform: none; opacity: 1; }
.hajiyun-leaving .hajiyun-transition__content img { animation: hajiyun-transition-paimon .9s ease-in-out infinite alternate; }

@keyframes hajiyun-transition-stars { to { transform: rotate(7deg) scale(1.06); } }
@keyframes hajiyun-transition-paimon { to { transform: translateY(-9px) rotate(1.5deg); } }

@media (max-width: 520px) {
  .hajiyun-transition__content { padding: 24px; align-items: center; text-align: center; flex-direction: column; }
  .hajiyun-transition__content img { width: 112px; height: 142px; }
  .hajiyun-transition__content b { font-size: 17px; }
}

.hajiyun-enhanced .hajiyun-reveal {
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
  opacity: 0;
}

.hajiyun-enhanced .hajiyun-reveal.is-visible {
  transform: none;
  opacity: 1;
}

@keyframes hajiyun-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1.2deg); }
  50% { transform: translate3d(0, -12px, 0) rotate(1.2deg); }
}

@keyframes hajiyun-shadow-pulse {
  0%, 100% { transform: scale(0.82); opacity: 0.48; }
  50% { transform: scale(1.1); opacity: 0.24; }
}

@keyframes hajiyun-spark {
  to { transform: translate(var(--spark-x), var(--spark-y)) scale(0); opacity: 0; }
}

@media (max-width: 980px) {
  .section-content {
    width: min(100% - 28px, 760px);
  }

  .nav-menu {
    display: none;
  }

  .nav-right > a:not(.console-link) {
    display: none;
  }

  .banner-s {
    display: none;
  }

  .fboxRow,
  .service-content .fboxRow {
    flex-wrap: wrap;
  }

  .service-content .fboxRow > a,
  .service-content .fboxRow > div {
    min-width: calc(50% - 16px);
  }

  .footer-content .footer-nav {
    flex-wrap: wrap;
  }

  .footer .footer-nav .footer-nav-left,
  .footer-content .footer-nav .footer-nav-left {
    width: 100%;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .section-content {
    width: calc(100% - 24px);
  }

  .nav-header {
    min-height: 58px;
  }

  .nav-header .nav-left .nav-icon img {
    max-width: 132px;
    max-height: 32px;
  }

  .nav-right .console-link {
    display: none;
  }

  .service-content .fboxRow > a,
  .service-content .fboxRow > div {
    min-width: 100%;
  }

  .hajiyun-guide {
    right: 4px;
    bottom: 4px;
    --guide-image: 116px;
  }

  .hajiyun-guide__bubble {
    position: fixed;
    right: 12px;
    bottom: 112px;
    left: 12px;
    width: auto;
    margin: 0;
    border-radius: 16px;
  }

  .hajiyun-guide__bubble::after {
    right: 66px;
    bottom: -10px;
    transform: rotate(135deg);
  }

  .hajiyun-guide__badge {
    top: 14%;
    right: 1%;
  }

  .footer-nav-right,
  .register-advert {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Seven-element capability map */
.hajiyun-elements {
  position: relative;
  z-index: 1;
  padding: 86px 0 68px;
  overflow: hidden;
}

.hajiyun-elements::before {
  position: absolute;
  top: 12px;
  left: 50%;
  width: min(820px, 86vw);
  height: 260px;
  border: 1px solid rgba(116, 205, 255, .18);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(80, 161, 220, .13), transparent 68%);
  content: "";
  pointer-events: none;
  transform: translateX(-50%) perspective(500px) rotateX(68deg);
}

.hajiyun-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: #b98938;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
}

.hajiyun-element-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.hajiyun-element-card {
  --element: #6ccbc1;
  position: relative;
  display: flex;
  min-height: 168px;
  padding: 24px 12px 18px;
  overflow: hidden;
  align-items: center;
  border: 1px solid rgba(77, 101, 140, .14);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,.92), rgba(241,247,255,.82));
  box-shadow: 0 14px 32px rgba(24, 44, 76, .08);
  flex-direction: column;
  isolation: isolate;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.hajiyun-element-card::before {
  position: absolute;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--element);
  content: "";
  filter: blur(38px);
  opacity: .18;
  transform: translateY(-32px);
  z-index: -1;
}

.hajiyun-element-card > span {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid rgba(108, 203, 193, .55);
  border-radius: 50%;
  color: var(--element);
  font-size: 23px;
  text-shadow: 0 0 16px rgba(108, 203, 193, .45);
}

.hajiyun-element-card b { color: #243858; font-size: 15px; }
.hajiyun-element-card small { margin-top: 8px; color: #7b879d; line-height: 1.6; text-align: center; }
.hajiyun-element-card:hover { border-color: rgba(108, 203, 193, .56); box-shadow: 0 20px 38px rgba(62, 132, 174, .16); transform: translateY(-8px); }
.hajiyun-element-card.is-geo { --element: #d5a33f; }
.hajiyun-element-card.is-electro { --element: #8b70d7; }
.hajiyun-element-card.is-dendro { --element: #78a943; }
.hajiyun-element-card.is-hydro { --element: #4b9fe2; }
.hajiyun-element-card.is-pyro { --element: #e46655; }
.hajiyun-element-card.is-cryo { --element: #74bfd4; }

@media (max-width: 1100px) {
  .hajiyun-element-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 750px) {
  .hajiyun-elements { padding: 56px 0 44px; }
  .hajiyun-element-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hajiyun-element-card { min-height: 138px; padding: 18px 10px 14px; }
  .hajiyun-element-card > span { width: 42px; height: 42px; margin-bottom: 12px; }
  .hajiyun-brand { min-width: auto; height: 48px; gap: 6px; }
  .hajiyun-brand img { width: 42px; height: 36px; }
  .hajiyun-brand b { font-size: 16px; }
  .hajiyun-brand small { display: none; }
}

/* Original Hajiyun navigation and contact footer */
.hy-nav-shell {
  position: relative;
  z-index: 2000;
  height: 72px;
  border-bottom: 1px solid rgba(133, 207, 241, .13);
  background: rgba(6, 20, 43, .92) !important;
  box-shadow: 0 12px 38px rgba(0, 12, 32, .16);
  backdrop-filter: blur(18px) saturate(130%);
}

.hy-nav-shell .nav-header { height: 72px; }
.hy-nav-shell .nav-left,
.hy-nav-shell .nav-right { height: 100%; align-items: center; }
.hy-nav-shell .hajiyun-brand { min-width: 176px; color: #fff; }
.hy-nav-shell .hajiyun-brand img { width: 48px; height: 42px; }
.hy-nav-shell .nav-header .nav-left .nav-icon .hajiyun-brand img { width: 48px; height: 42px; margin-right: 0; }
.hy-nav-shell .hajiyun-brand b { color: #fff; font-size: 18px; }
.hy-nav-shell .hajiyun-brand small { color: rgba(141, 227, 255, .66); }
.hy-nav-shell .nav-menu { height: 100%; margin-left: 38px; }
.hy-nav-shell .nav-menu > a { display: flex; height: 100%; align-items: center; }
.hy-nav-shell .nav-menu .nav-item {
  position: relative;
  display: flex;
  height: 100%;
  padding: 0 18px;
  align-items: center;
  color: rgba(232, 242, 250, .78);
  background: transparent !important;
  font-size: 14px;
}
.hy-nav-shell .nav-menu .nav-item::after { position: absolute; right: 20px; bottom: 0; left: 20px; height: 2px; content: ""; transform: scaleX(0); background: linear-gradient(90deg,#83ddf6,#e9c879); transition: transform .25s ease; }
.hy-nav-shell .nav-menu .nav-item:hover { color: #fff; }
.hy-nav-shell .nav-menu .nav-item:hover::after { transform: scaleX(1); }
.hy-nav-shell .nav-right { gap: 4px; }
.hy-nav-shell .nav-right > a .control { display: flex; height: 72px; padding: 0 14px; align-items: center; color: rgba(231,242,250,.76); transition: color .2s ease; }
.hy-nav-shell .nav-right > a:hover .control { color: #f2d68e; }
.hy-nav-shell .console-link { margin-right: 12px; }
.hy-nav-shell button { font-family: inherit; }
.hy-nav-shell .login-menu-item { display: block; width: 100%; border: 0; color: inherit; background: transparent; text-align: left; }

.hy-footer {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  color: rgba(222, 236, 247, .72);
  background:
    radial-gradient(circle at 12% 15%, rgba(92, 196, 238, .12), transparent 22rem),
    linear-gradient(135deg, #061329, #091f3b 58%, #0b2d4b) !important;
}
.hy-footer::before { position: absolute; inset: 0; content: ""; opacity: .16; background-image: radial-gradient(circle,rgba(255,255,255,.8) 0 1px,transparent 1.3px); background-size: 76px 76px; pointer-events:none; }
.hy-footer__inner { position:relative; display:grid; min-height:230px; padding-top:54px; padding-bottom:46px; align-items:center; grid-template-columns:1.2fr .8fr auto; gap:7%; }
.hy-footer__brand .hajiyun-brand { color:#fff; }.hy-footer__brand .hajiyun-brand img{width:60px;height:50px}.hy-footer__brand .hajiyun-brand b{color:#fff;font-size:20px}.hy-footer__brand .hajiyun-brand small{color:rgba(137,222,255,.58)}
.hy-footer__brand p { max-width:360px;margin:18px 0 0;color:rgba(216,232,244,.58);line-height:1.8; }
.hy-footer__contact { display:flex; align-items:flex-start; flex-direction:column; gap:12px; }
.hy-footer__contact span { color:#e6c981;font-size:12px;font-weight:700;letter-spacing:.15em; }
.hy-footer__contact a { color:#fff!important;font-family:Georgia,serif;font-size:20px;letter-spacing:.02em;transition:color .2s ease,text-shadow .2s ease}.hy-footer__contact a:hover{color:#9fe9ff!important;text-shadow:0 0 20px rgba(111,211,248,.32)}
.hy-footer__links { display:flex; align-items:flex-end; flex-direction:column; gap:12px; }
.hy-footer__links a { color:rgba(218,233,244,.65)!important;font-size:13px;transition:color .2s ease,transform .2s ease}.hy-footer__links a:hover{color:#f0d58e!important;transform:translateX(-4px)}
.hy-footer__bottom { position:relative; display:flex; padding-top:18px;padding-bottom:20px;justify-content:space-between;border-top:1px solid rgba(149,210,238,.12);color:rgba(208,224,237,.4);font-size:11px;letter-spacing:.06em; }

@media (max-width: 750px) {
  .hy-nav-shell,.hy-nav-shell .nav-header { height:62px; }
  .hy-nav-shell .nav-menu,.hy-nav-shell .nav-right>a{display:none!important}
  .hy-nav-shell .hajiyun-brand{min-width:auto}.hy-nav-shell .hajiyun-brand img{width:42px;height:36px}.hy-nav-shell .console-link{margin-right:0}.hy-nav-shell .nav-right>a .control{height:62px;padding:0 9px}.hy-nav-shell .no-login .btn{min-width:58px;padding:0 12px}
  .hy-nav-shell .nav-header .nav-left .nav-icon .hajiyun-brand img{width:42px;height:36px;margin-right:0}
  .hy-footer__inner { display:flex;min-height:0;padding-top:44px;padding-bottom:36px;align-items:flex-start;flex-direction:column;gap:30px}.hy-footer__links{align-items:flex-start;flex-direction:row;flex-wrap:wrap;gap:18px}.hy-footer__bottom{gap:12px;flex-direction:column}
}
