.elementor-3940 .elementor-element.elementor-element-b49df79{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}/* Start custom CSS for html, class: .elementor-element-b6375c4 *//* =========================
   AY Header｜Dark AI Style
========================= */

.ay-ai-header {
  position: sticky;
  top: 0;
  z-index: 99999;
  width: 100%;
  min-height: 92px;
  padding: 18px 32px;
  background:
    radial-gradient(circle at 78% 20%, rgba(55, 198, 255, 0.20), transparent 30%),
    radial-gradient(circle at 58% 40%, rgba(30, 91, 255, 0.18), transparent 36%),
    linear-gradient(135deg, #050D22 0%, #0B1D3A 55%, #061326 100%);
  color: #ffffff;
  font-family: "Inter", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  overflow: visible;
}

.ay-ai-header * {
  box-sizing: border-box;
}

.ay-ai-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.42;
  pointer-events: none;
}

.ay-ai-header::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 34%;
  height: 100%;
  background:
    linear-gradient(90deg, transparent, rgba(55, 198, 255, 0.10)),
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.04) 0,
      rgba(255,255,255,0.04) 26px,
      transparent 26px,
      transparent 72px
    );
  opacity: 0.65;
  pointer-events: none;
}

.ay-ai-header-container {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  min-height: 56px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 34px;
}

/* Logo */

.ay-ai-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
}

.ay-ai-logo img {
  display: block;
  width: auto;
  height: 37px;
  object-fit: contain;
}

/* Nav */

.ay-ai-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.ay-ai-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none !important;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 850;
  white-space: nowrap;
  transition: color 0.22s ease;
}

.ay-ai-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -11px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1E5BFF, #37C6FF);
  opacity: 0;
  transform: scaleX(0.45);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

.ay-ai-nav a:hover {
  color: #ffffff;
}

.ay-ai-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Actions */

.ay-ai-header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.ay-ai-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
  background: linear-gradient(135deg, #1E5BFF 0%, #37C6FF 100%);
  box-shadow:
    0 18px 42px rgba(30, 91, 255, 0.30),
    inset 0 1px 0 rgba(255,255,255,0.28);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.ay-ai-header-cta span {
  font-size: 18px;
  line-height: 1;
}

.ay-ai-header-cta:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow:
    0 22px 52px rgba(30, 91, 255, 0.38),
    inset 0 1px 0 rgba(255,255,255,0.32);
}

/* Toggle */

.ay-ai-header-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22) !important;
  background: rgba(255,255,255,0.08) !important;
  box-shadow: none !important;
  outline: none !important;
  cursor: pointer;
}

.ay-ai-header-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: #ffffff;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}

.ay-ai-header.is-open .ay-ai-header-toggle span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

.ay-ai-header.is-open .ay-ai-header-toggle span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Mobile Menu */

.ay-ai-mobile-menu {
  display: none;
}

/* =========================
   Responsive
========================= */

@media (max-width: 1080px) {
  .ay-ai-header {
    padding: 16px 32px;
    min-height: 82px;
  }

  .ay-ai-header-container {
    min-height: 50px;
  }

  .ay-ai-logo img {
    height: 46px;
  }

  .ay-ai-nav,
  .ay-ai-header-cta {
    display: none;
  }

  .ay-ai-header-actions {
    margin-left: auto;
  }

  .ay-ai-header-toggle {
    display: block;
  }

  .ay-ai-mobile-menu {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 6px;
    width: min(1180px, 100%);
    margin: 14px auto 0;
    padding: 12px;
    border-radius: 22px;
    background: rgba(5, 13, 34, 0.88);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 28px 70px rgba(0,0,0,0.28);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top;
    transition:
      opacity 0.22s ease,
      transform 0.22s ease,
      visibility 0.22s ease;
  }

  .ay-ai-header.is-open .ay-ai-mobile-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .ay-ai-mobile-menu a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 14px;
    color: rgba(255,255,255,0.84);
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 850;
  }

  .ay-ai-mobile-menu a:hover {
    color: #ffffff;
    background: rgba(255,255,255,0.08);
    text-decoration: none !important;
  }

  .ay-ai-mobile-cta {
    justify-content: center;
    margin-top: 6px;
    color: #ffffff !important;
    background: linear-gradient(135deg, #1E5BFF, #37C6FF);
    box-shadow: 0 14px 34px rgba(30, 91, 255, 0.22);
  }
}

@media (max-width: 520px) {
  .ay-ai-header {
    padding-left: 24px;
    padding-right: 24px;
  }

  .ay-ai-logo img {
    height: 42px;
  }

  .ay-ai-header-toggle {
    width: 42px;
    height: 42px;
  }
}

/* =========================
   Header Background Clean Fix
   移除一格格 grid 背景
========================= */

.ay-ai-header::before {
  display: none !important;
}

.ay-ai-header {
  background:
    radial-gradient(circle at 78% 20%, rgba(55, 198, 255, 0.18), transparent 30%),
    radial-gradient(circle at 58% 40%, rgba(30, 91, 255, 0.16), transparent 36%),
    linear-gradient(135deg, #050D22 0%, #0B1D3A 58%, #061326 100%) !important;
}

.ay-ai-header::after {
  display: none !important;
}

/* =========================
   Header Mobile Fix
   修正手機版 logo 過大 / header 撐高
========================= */

@media (max-width: 1080px) {
  .ay-ai-header {
    min-height: auto !important;
    height: auto !important;
    padding: 12px 24px !important;
    overflow: visible !important;
  }

  .ay-ai-header-container {
    width: 100% !important;
    min-height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .ay-ai-logo {
    max-width: 220px !important;
    height: 52px !important;
    overflow: hidden !important;
  }

  .ay-ai-logo img {
    display: block !important;
    width: auto !important;
    max-width: 220px !important;
    height: 52px !important;
    object-fit: contain !important;
    object-position: left center !important;
  }

  .ay-ai-header-actions {
    margin-left: auto !important;
  }

  .ay-ai-header-toggle {
    display: block !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
  }

  .ay-ai-nav,
  .ay-ai-header-cta {
    display: none !important;
  }
}

/* 更細手機 */
@media (max-width: 520px) {
  .ay-ai-header {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .ay-ai-logo {
    max-width: 190px !important;
    height: 46px !important;
  }

  .ay-ai-logo img {
    max-width: 190px !important;
    height: 46px !important;
  }
}

/* 如果 logo 原圖本身太橫，手機再收細 */
@media (max-width: 390px) {
  .ay-ai-logo {
    max-width: 165px !important;
  }

  .ay-ai-logo img {
    max-width: 165px !important;
  }
}

/* =========================
   Header Light Background Version
   淺色背景版
========================= */

.ay-ai-header {
  background: rgba(255, 255, 255, 0.86) !important;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(11, 29, 58, 0.08);
  box-shadow: 0 12px 34px rgba(11, 29, 58, 0.06);
  color: #0B1D3A !important;
}

.ay-ai-header::before,
.ay-ai-header::after {
  display: none !important;
}

/* Logo */
.ay-ai-logo img {
  filter: none !important;
}

/* Desktop menu */
.ay-ai-nav a {
  color: rgba(11, 29, 58, 0.68) !important;
}

.ay-ai-nav a:hover {
  color: #0B1D3A !important;
}

.ay-ai-nav a::after {
  background: linear-gradient(90deg, #1E5BFF, #37C6FF) !important;
}

/* CTA 保持藍色 */
.ay-ai-header-cta {
  color: #ffffff !important;
  background: linear-gradient(135deg, #1E5BFF, #37C6FF) !important;
  box-shadow: 0 14px 34px rgba(30, 91, 255, 0.20) !important;
}

.ay-ai-header-cta:hover {
  color: #ffffff !important;
  box-shadow: 0 18px 42px rgba(30, 91, 255, 0.26) !important;
}

/* Mobile hamburger */
.ay-ai-header-toggle {
  background: rgba(30, 91, 255, 0.08) !important;
  border: 1px solid rgba(30, 91, 255, 0.10) !important;
}

.ay-ai-header-toggle span {
  background: #0B1D3A !important;
}

/* Mobile menu */
.ay-ai-mobile-menu {
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(11, 29, 58, 0.08) !important;
  box-shadow: 0 24px 70px rgba(11, 29, 58, 0.12) !important;
}

.ay-ai-mobile-menu a {
  color: #0B1D3A !important;
}

.ay-ai-mobile-menu a:hover {
  background: rgba(30, 91, 255, 0.07) !important;
  color: #1E5BFF !important;
}

.ay-ai-mobile-cta {
  color: #ffffff !important;
  background: linear-gradient(135deg, #1E5BFF, #37C6FF) !important;
}

/* =========================
   Header Mobile Empty Space Fix
   修正手機版 menu 隱藏時仍佔高度
========================= */

@media (max-width: 1080px) {
  .ay-ai-mobile-menu {
    display: none !important;
    margin-top: 0 !important;
  }

  .ay-ai-header.is-open .ay-ai-mobile-menu {
    display: grid !important;
    margin-top: 12px !important;
  }

  .ay-ai-header {
    min-height: auto !important;
    height: auto !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }
}

/* =========================
   Header Mobile Menu Click Fix
   修正手機版 menu 襟唔到 / 打唔開
========================= */

@media (max-width: 1080px) {
  .ay-ai-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 999999 !important;
    overflow: visible !important;
  }

  .ay-ai-header-container {
    position: relative !important;
    z-index: 20 !important;
  }

  .ay-ai-header-toggle {
    display: grid !important;
    place-items: center !important;
    position: relative !important;
    z-index: 30 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
  }

  .ay-ai-header-toggle span {
    pointer-events: none !important;
  }

  /* 關閉時完全不佔位 */
  .ay-ai-mobile-menu {
    display: none !important;
  }

  /* 打開時先出現 */
  .ay-ai-header.is-open .ay-ai-mobile-menu {
    display: grid !important;
    position: relative !important;
    z-index: 25 !important;
    width: 100% !important;
    margin: 12px auto 0 !important;
    padding: 12px !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .ay-ai-mobile-menu a {
    pointer-events: auto !important;
  }
}

@media (max-width: 1080px) {
  .ay-ai-header,
  .ay-ai-header * {
    pointer-events: auto !important;
  }
}

/* =========================
   Header Mobile Menu Final Fix
========================= */

@media (max-width: 1080px) {
  .ay-ai-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 999999 !important;
    overflow: visible !important;
  }

  .ay-ai-header-container {
    position: relative !important;
    z-index: 20 !important;
  }

  .ay-ai-header-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 6px !important;
    position: relative !important;
    z-index: 50 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
  }

  .ay-ai-header-toggle span {
    pointer-events: none !important;
    margin: 0 !important;
  }

  .ay-ai-mobile-menu {
    display: none !important;
  }

  .ay-ai-header.is-open .ay-ai-mobile-menu {
    display: grid !important;
    position: relative !important;
    z-index: 40 !important;
    width: 100% !important;
    margin: 12px auto 0 !important;
    padding: 12px !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .ay-ai-header.is-open .ay-ai-header-toggle span:nth-child(1) {
    transform: translateY(4px) rotate(45deg) !important;
  }

  .ay-ai-header.is-open .ay-ai-header-toggle span:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg) !important;
  }
}/* End custom CSS */