/**
 * 官网首页 · iOS 26 Liquid Glass 覆盖层
 * 后加载，覆盖 style-0406 / app 旧样式
 */
:root {
  --ios-bg: #F2F2F7;
  --ios-surface: rgba(255, 255, 255, 0.72);
  --ios-border: rgba(255, 255, 255, 0.65);
  --ios-text: #1C1C1E;
  --ios-secondary: #8E8E93;
  --ios-blue: #007AFF;
  --ios-blue-dark: #0062CC;
  --ios-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  --ios-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
}

html,
body,
.as_tm_wrapper_all,
.as_tm_content,
.as_tm_rightpart,
.rightpart_inner {
  font-family: var(--ios-font) !important;
  -webkit-font-smoothing: antialiased;
  color: var(--ios-text);
}

/* 首屏以下内容区浅色底；首屏壁纸保持原站 bz.5qmn.com */
.as_tm_content .as_tm_section:not(#home),
.rightpart_inner > .as_tm_section:not(#home) {
  background: transparent;
}

body.ios26-landing .as_tm_wrapper_all {
  background-color: #F2F2F7;
}

/* 预加载 */
.as_tm_preloader {
  background: rgba(242, 242, 247, 0.92) !important;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.as_tm_preloader .spinner {
  border-color: rgba(0, 122, 255, 0.15) !important;
  border-top-color: var(--ios-blue) !important;
}

/* ========== 首屏：恢复原壁纸（纯 CSS，避免 jarallax/WebGL 跨域 CORS） ========== */
.as_tm_ripple_wrap,
#ripple {
  background-image: url(/api/wallpaper) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
  min-height: 100vh;
}
.as_tm_universal_box_wrap .overlay_image.testimonial {
  background-image: url(/api/wallpaper) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
}

.as_tm_ripple_wrap .overlay {
  background-color: rgba(7, 23, 55, 0.6) !important;
  background-image: none !important;
  opacity: 1 !important;
}

.as_tm_ripple_wrap .inner_content {
  text-align: center;
  padding: 0 24px;
}

.as_tm_ripple_wrap .name_holder h3,
.as_tm_ripple_wrap .name_holder h3 span {
  color: #FFFFFF !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35) !important;
}

.as_tm_ripple_wrap .name_holder:first-of-type h3,
.as_tm_ripple_wrap .name_holder:first-of-type h3 span {
  font-size: clamp(36px, 7vw, 64px) !important;
  line-height: 1.1 !important;
}

.as_tm_ripple_wrap .name_holder:nth-of-type(2) h3 {
  font-size: clamp(16px, 2.4vw, 22px) !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.88) !important;
  margin-top: 4px;
}

.as_tm_ripple_wrap .text_typing,
.as_tm_ripple_wrap .text_typing p,
.as_tm_ripple_wrap .as_home_text_word {
  color: rgba(255, 255, 255, 0.85) !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3) !important;
  font-size: 15px !important;
}

/* CTA 按钮 */
.btns-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 18px !important;
}

.btns-row .btn,
.btns-row .btn-tran,
.as_tm_ripple_wrap .btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 44px;
  padding: 0 22px !important;
  border-radius: 980px !important;
  border: none !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
  box-shadow: 0 8px 24px rgba(0, 122, 255, 0.28);
  background: var(--ios-blue) !important;
  color: #fff !important;
  line-height: 44px !important;
}

.btns-row .btn:hover,
.btns-row .btn-tran:hover {
  background: var(--ios-blue-dark) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 122, 255, 0.34);
}

.btns-row a[href*="login"],
.btns-row .btn-tran + .btn-tran,
.btns-row a.btn-tran:last-child {
  background: rgba(255, 255, 255, 0.55) !important;
  color: var(--ios-text) !important;
  border: 1px solid rgba(60, 60, 67, 0.14) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
}

.btns-row a[href*="login"]:hover,
.btns-row a.btn-tran:last-child:hover {
  color: var(--ios-blue) !important;
  border-color: rgba(0, 122, 255, 0.35) !important;
  background: rgba(255, 255, 255, 0.85) !important;
}

.as_tm_arrow_wrap a,
.as_tm_arrow_wrap i {
  color: var(--ios-blue) !important;
}

/* ========== 区块标题 ========== */
.as_tm_title_holder h3 {
  color: var(--ios-text) !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
}

.as_tm_title_holder span {
  color: var(--ios-secondary) !important;
}

.as_tm_section {
  background: transparent !important;
}

.as_tm_about_wrapper_all,
.as_tm_services_wrap,
.as_tm_portfolio_wrap,
.as_tm_news_wrap,
.as_tm_contact_wrap,
.as_tm_partners_wrap {
  background: transparent !important;
}

/* 玻璃卡片：关于 / 功能 / 引用 */
.layui-elem-quote,
.layui-quote-nm {
  background: var(--ios-surface) !important;
  border: 1px solid var(--ios-border) !important;
  border-left: 3px solid var(--ios-blue) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  color: var(--ios-text) !important;
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
}

.layui-btn,
.layui-btn-normal,
.layui-btn-xs {
  background: var(--ios-blue) !important;
  border-color: var(--ios-blue) !important;
  border-radius: 980px !important;
  box-shadow: 0 4px 14px rgba(0, 122, 255, 0.28);
}

.layui-textarea,
.layui-input {
  background: rgba(255, 255, 255, 0.7) !important;
  border: 1px solid rgba(60, 60, 67, 0.14) !important;
  border-radius: 12px !important;
  color: var(--ios-text) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.about_image_wrap .image,
.about_image_wrap img {
  border-radius: 22px !important;
  box-shadow: var(--ios-shadow) !important;
  overflow: hidden;
}

/* 功能列表 */
.list_wrap ul li .inner,
.as_tm_services_wrap .list_wrap .inner {
  background: var(--ios-surface) !important;
  border: 1px solid var(--ios-border) !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06) !important;
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.list_wrap ul li .inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 122, 255, 0.12) !important;
  border-color: rgba(0, 122, 255, 0.25) !important;
}

.list_wrap .icon,
.list_wrap .icon i {
  color: var(--ios-blue) !important;
  background: rgba(0, 122, 255, 0.1) !important;
  border-radius: 14px;
}

.list_wrap .title_service h3,
.list_wrap .text p {
  color: var(--ios-text) !important;
}

.list_wrap .text p {
  color: var(--ios-secondary) !important;
}

/* 作品 / 新闻卡片 */
.as_tm_portfolio_list li .inner,
.as_tm_news_list li .inner,
.portfolio_list li .inner {
  border-radius: 18px !important;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08) !important;
}

/* 页脚 */
.as_tm_footer_wrap,
.as_tm_footer_contact_wrapper_all {
  background: rgba(255, 255, 255, 0.45) !important;
  border-top: 1px solid rgba(60, 60, 67, 0.1);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: var(--ios-secondary) !important;
}

.as_tm_footer_wrap p,
.as_tm_footer_wrap a {
  color: var(--ios-secondary) !important;
}

.as_tm_footer_wrap .heart {
  color: #FF3B30 !important;
}

/* 回顶 */
.as_tm_totop {
  background: rgba(255, 255, 255, 0.7) !important;
  border: 1px solid rgba(60, 60, 67, 0.12) !important;
  border-radius: 50% !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.as_tm_totop:before,
.as_tm_totop:after {
  border-bottom-color: var(--ios-blue) !important;
  color: var(--ios-blue) !important;
}

/* 左侧导航（若存在） */
.as_tm_leftpart,
.as_tm_leftpart_inner {
  background: rgba(255, 255, 255, 0.55) !important;
  border-right: 1px solid rgba(60, 60, 67, 0.1);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
}

.as_tm_leftpart a,
.as_tm_menubar a {
  color: var(--ios-text) !important;
}

.as_tm_menubar a:hover,
.as_tm_menubar .active a {
  color: var(--ios-blue) !important;
}

.item-list a {
  color: var(--ios-text) !important;
  border-radius: 14px !important;
  text-shadow: none !important;
}

.item-list a:hover {
  background-color: rgba(0, 122, 255, 0.08) !important;
}

.item-list li img {
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15) !important;
}

#tooltip {
  background: rgba(28, 28, 30, 0.88) !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

@media screen and (max-width: 768px) {
  .btns-row .btn,
  .btns-row .btn-tran {
    min-width: 120px;
    width: auto;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .list_wrap ul li .inner,
  .layui-elem-quote,
  .as_tm_footer_wrap,
  .btns-row a[href*="login"] {
    background: #FFFFFF !important;
  }
}
