﻿@charset "utf-8";

.header {
    position: relative;
    /* padding-left: 130px;
    padding-right: 130px; */
    background-color: var(--white-color);
    width: 100%;
    height: 90px;
    transition: all .3s ease-out;
    z-index: 1000;
}
.header>.my-container {
 display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.logo {
    max-width: 360px;
}
.menu {
}
.menu>ul {
    display: flex;
}
.menu>ul>li {
  position: relative;
    padding-left: 40px;
    padding-right: 40px;
    overflow: hidden;
}
.menu>ul>li.current{
  overflow: visible;
}
.menu>ul>li>a {
    position: relative;
    padding-top: 31px;
    padding-bottom: 31px;
    display: block;
    color:var(--dark-color);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    font-family:"OPPOSans M";
}
.menu>ul>li>a::before {
 position: absolute;
  z-index: -1;
  bottom: 0px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--main-color);
  content: "";
  transition: width .36s ease;

}
.menu>ul>li.active>a,
.menu>ul>li.current>a,
.menu>ul>li>a:hover {
    color: var(--main-color);
}
.menu>ul>li.active>a::before,
.menu>ul>li.current>a::before,
.menu>ul>li>a:hover::before{
    width: 100%;
}

/* menu */
.menu-dropdown {
    min-width: 100%;
    width: 187px;
    left: 50%;
    top: 90px;
    padding-top: 4px;
    display: none;
    position: absolute;
     border-radius: 16px;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.15);
overflow: hidden;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 100;
}
.menu>ul>li:nth-child(2) .menu-dropdown {
    width: 262px;
   
}
.menu-dropdown>ul {
    width: 100%;
    overflow: hidden;
    position: relative;
  
  background: #FFF;
}
.menu-dropdown>ul>li {
 padding: 4px;
}
.menu-dropdown>ul>li a{
  padding: 14px 0;
  display: block;
  color: var(--dark-color);
text-align: center;
font-size: 18px;
font-style: normal;
font-weight: 400;
line-height: 28px;
border-radius: 12px;
overflow: hidden;
transition: background-color .3s;
}
.menu-dropdown>ul>li a:hover {
  background-color: var(--main-color);
  color: var(--white-color);
}

@media (max-width: 1100px) {
.menu {
    display: none !important;
}
.logo {
    max-width: calc(100% - 150px);
}
}

/* ==================== header tools ==================== */
.header-tools {
    display: flex;
    align-items: center;
}

/* 收起态：只有一个图标，不画边框（边框等展开时才出现）。
   容器恒为 48×48 占位，展开出来的胶囊由输入框绝对定位、贴着右边缘向左铺开，
   不参与父级 flex 排版，所以不会把语言、菜单按钮挤走。 */
.tool-search {
    position: relative;
    margin: 0 8px 0 0; /* form 元素的默认边距一并清掉 */
    padding: 0;
    width: 48px;
    height: 48px;
    border-radius: 42px;
    flex-shrink: 0;
    z-index: 5;
}

/* 展开后的胶囊 = 输入框本体：
   content-box 下总宽 = width + 左右 padding + 左右边框，收起 0+48+2 = 48（正好一个图标），
   展开 154+16+48+2 = 220（设计稿展开宽度），向左伸展并盖在头部之上。 */
.tool-search-input {
    position: absolute;
    right: 0;
    top: 0;
    box-sizing: content-box;
    width: 0;
    height: 46px;
    padding: 0 48px 0 0;
    border: 1px solid transparent;
    border-radius: 42px;
    outline: none;
    background: transparent;
    font-size: 18px;
    font-weight: 400;
    color: #333;
    opacity: 0;
    pointer-events: none;
    transition: width 0.4s cubic-bezier(0.99, 0.01, 0.16, 0.99),
                padding-left 0.4s cubic-bezier(0.99, 0.01, 0.16, 0.99),
                opacity 0.3s, border-color 0.3s, background-color 0.3s;
}

.tool-search:focus-within .tool-search-input,
.tool-search.is-open .tool-search-input {
    width: 196px;
    padding-left: 16px;
    border-color: rgba(0, 0, 0, 0.10);
    background: var(--white-color);
    opacity: 1;
    pointer-events: auto;
}


@media (hover: hover) {
    .tool-search:hover .tool-search-input {
        width: 196px;
        padding-left: 16px;
        border-color: rgba(0, 0, 0, 0.10);
        background: var(--white-color);
        opacity: 1;
        pointer-events: auto;
    }
}
.tool-search-input:focus {
   border: 1px solid  rgba(0, 0, 0, 0.10);
}
/* placeholder  */
.tool-search-input::-webkit-input-placeholder {
    color: #999;
    font-weight: 400;
    font-size: 16px;
    font-family: "OPPOSans R", 'Microsoft YaHei', 'PingFang SC';
    opacity: 1;
}
.tool-search-input:-moz-placeholder { 
    color: #999;
    font-weight: 400;
    font-size: 16px;
    font-family: "OPPOSans R", 'Microsoft YaHei', 'PingFang SC';
    opacity: 1;
}
.tool-search-input::-moz-placeholder {
    color: #999;
    font-weight: 400;
    font-size: 16px;
    font-family: "OPPOSans R", 'Microsoft YaHei', 'PingFang SC';
    opacity: 1;
}
.tool-search-input:-ms-input-placeholder {
    color: #999;
    font-weight: 400;
    font-size: 16px;
    font-family: "OPPOSans R", 'Microsoft YaHei', 'PingFang SC';
}
.tool-search-input::placeholder {
    color: #999;
    font-weight: 400;
    font-size: 16px;
    font-family: "OPPOSans R", 'Microsoft YaHei', 'PingFang SC';
    opacity: 1;
}

.tool-search-btn {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1; /* 图标压在展开后的胶囊上，始终可点 */
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    background: transparent; /* 去掉 button 元素的默认灰底 */
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.tool-search-btn img {
    width: 24px;
    height: 24px;
    display: block;
}

/* ---- 语言切换（点击下拉） ---- */
.tool-lang {
    position: relative;
    margin-right: 8px;
}

.tool-lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 48px;
    border-radius: 42px;
    outline: 1px solid rgba(0, 0, 0, 0.10);
    outline-offset: -1px;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    font-weight: 400;
    color: #333;
}

.lang-text {
    line-height: 1;
}

.lang-arrow {
    width: 24px;
    height: 24px;
    margin-left: 8px;
    transition: transform 0.3s;
    display: block;
}
.tool-lang.active .lang-text{
  color: var(--main-color);
}
.tool-lang.active .lang-arrow {
    transform: rotate(180deg);
}

.tool-lang-dropdown {
    position: absolute;
    top: calc(100% + 18px);
    right: 0;
    min-width: 92px;
    background-color:var(--white-color);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
    list-style: none;
    padding: 8px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
    z-index: 200;
}

.tool-lang.active .tool-lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tool-lang-dropdown li {
    list-style: none;
}

.tool-lang-dropdown li a {
    display: block;
    padding: 8px 16px;
    font-size: 18px;
    font-weight: 400;
    color: #333;
    text-align: center;
    line-height: 1;
    transition: background 0.3s, color 0.3s;
}

.tool-lang-dropdown li a:hover {
    color:var(--main-color);
    background: rgba(0, 80, 194, 0.05);
}

/* ---- 购买渠道（点击展开；微信商城触摸/悬停显示二维码，阿里巴巴为外链） ---- */
.tool-shop {
    position: relative;
    margin-right: 8px;
}

.tool-shop-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 16px;
    border-radius: 42px;
    outline: 1px solid rgba(0, 0, 0, 0.10);
    outline-offset: -1px;
    background: transparent;
    font-size: 18px;
    font-weight: 400;
    color: #333;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.3s, background-color 0.3s;
}

.tool-shop-btn:hover,
.tool-shop.active .tool-shop-btn {
    color: var(--main-color);
}

.shop-arrow {
    width: 24px;
    height: 24px;
    margin-left: 8px;
    display: block;
    transition: transform 0.3s;
}

.tool-shop.active .shop-arrow {
    transform: rotate(180deg);
}

.tool-shop-dropdown {
    position: absolute;
    top: calc(100% + 18px);
    right: 0;
    width: max-content;
    min-width: 200px;
    padding: 8px;
    background-color: var(--white-color);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
    z-index: 200;
}

.tool-shop.active .tool-shop-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.shop-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 400;
    color: #333;
    line-height: 1;
    white-space: nowrap;
    transition: background 0.3s, color 0.3s;
}

.shop-item + .shop-item {
    margin-top: 4px;
}

.shop-item:hover {
    color: var(--main-color);
    background: rgba(0, 80, 194, 0.05);
}

.shop-item-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-right: 12px;
    border-radius: 10px;
    overflow: hidden;
}

.shop-item-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

/* 头部下拉里的二维码改成向下弹出（通用样式是向上，在页头会被视口顶部裁掉） */
.tool-shop-dropdown .shop-item .top-popup {
  position: absolute;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    right:100%;
    width: 150px;
        padding: 8px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 20;
    pointer-events: none;
    z-index: 30;
}
.shop-item .top-popup img {
  width: 100%;
}
.tool-shop-dropdown .shop-item .top-popup::after {
content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #fff;
}


@media (hover: hover) {
    .shop-item:hover .top-popup {
        opacity: 1;
        visibility: visible;
    }
}
/* ---- 导航按钮（默认不做效果） ---- */
.tool-nav {
    height: 48px;
}

.tool-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 42px;
    background-color:var(--main-color);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    transition: background 0.3s;
}
.tool-nav-btn img {
    width: 24px;
    height: 24px;
    display: block;
}
.tool-nav-btn img:nth-child(2) {
    display: none;
}
.tool-nav-btn.active img:nth-child(1) {
    display: none;
}
.tool-nav-btn.active img:nth-child(2) {
    display: block;
}
/* 弹出导航 */
body.menu-open {
  margin-right: 4px;
  overflow: hidden;
}
body.menu-open .wave-menu {
  width: calc(100% - 4px);
}
body.menu-open::-webkit-scrollbar-button:vertical {
    display: none
}

body.menu-open::-webkit-scrollbar-corner,
body.menu-open::-webkit-scrollbar-track {
    background-color: #999;
}

body.menu-open::-webkit-scrollbar-thumb {
    border-radius: 0;
    background-color: #ccc;
}

.wordmark {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: baseline;
  transform: translateX(-50%);
  color: #202834;
  font-weight: 800;
  letter-spacing: -2px;
}

.wordmark__latin {
  font-size: 34px;
  line-height: 1;
}


.menu-trigger {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #5f666d;
}

.menu-trigger span {
  font-size: 14px;
}

.menu-glyph {
  width: 28px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
}

/* 展开态切换图标：菜单三横线 ↔ 关闭 ×
   JS 已经在 openMenu/finishClose 时把 trigger[aria-expanded] 同步到 true/false，
   这里只靠 CSS 选择器驱动 SVG 切换，0 行 JS。 */
.menu-glyph--close {
  display: none;
}
.menu-trigger[aria-expanded="true"] .menu-glyph--bars {
  display: none;
}
.menu-trigger[aria-expanded="true"] .menu-glyph--close {
  display: block;
}

.menu-trigger:hover,
.menu-trigger:focus-visible {
  color: #1b879a;
}
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 660px;
  padding-top: var(--header-h);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 51% 58%, rgba(24, 150, 166, .48), transparent 21%),
    radial-gradient(circle at 72% 28%, rgba(117, 201, 211, .18), transparent 25%),
    linear-gradient(116deg, #0b2635 0%, #0a5367 48%, #081c2a 100%);
}

.water-lines {
  position: absolute;
  inset: var(--header-h) 0 0;
  overflow: hidden;
  opacity: .72;
}

.water-lines i {
  position: absolute;
  top: -15%;
  bottom: -20%;
  width: 4px;
  background: linear-gradient(to bottom, transparent, rgba(172, 234, 242, .85) 30%, rgba(24, 112, 131, .18));
  box-shadow: 0 0 20px rgba(122, 218, 230, .7);
  transform: rotate(27deg);
}

.water-lines i:nth-child(1) {
  left: 10%;
  width: 8px;
}

.water-lines i:nth-child(2) {
  left: 28%;
}

.water-lines i:nth-child(3) {
  left: 51%;
  width: 10px;
}

.water-lines i:nth-child(4) {
  left: 73%;
}

.water-lines i:nth-child(5) {
  left: 91%;
  width: 8px;
}

.menu-backdrop {
  position: fixed;
  top: 90px;
  left: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, .5);
  opacity: 0;
  z-index: 80;
}

.wave-menu {
  position: fixed;
  top: 90px;
  left: 0;
  width: 100%;
  height: calc(100vh - 90px);
  height: calc(100svh - 90px);
  transform: translate3d(0, -150%, 0);
  overflow: hidden;
  will-change: transform;
  z-index: 100;
}

.wave-menu__surface {
  position: absolute;
  inset: 0;
  background: linear-gradient(94deg, #004FE9 11.95%, #1095FA 100%);
}

.wave-menu__wave {
  position: absolute;
  top: calc(100% - 10px);
  left: 0;
  display: block;
  width: 100%;
  height: clamp(118px, 15.8vw, 250px);
  transform: rotate(180deg);
  transform-origin: 50% 50%;
  overflow: visible;
}

.wave-menu__inner {
  position: relative;
  height: 100%;
}

.wave-menu__top {
  position: absolute;
  z-index: 2;
  top: 34px;
  right: 30px;
  left: 30px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-content {
  margin: 0 auto;
  margin-top: 95px;
  margin-bottom: 95px;
  width: min(1400px, 90vw);
  opacity: 0;

}

.menu-columns {
  display: flex;
 justify-content: space-between;
}

.menu-column {
  min-width: 0;
}

.menu-column h2 {
  margin: 0 0 18px;
  font-size: 24px;
  font-family:"OPPOSans M";
  line-height: 1.2;
  font-weight: 400;
}

.menu-column h2 a {
  color: var(--white-color);
}

.menu-column {
  position: relative;
  z-index: 0;
  display:flex;
  flex-flow: column;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, .72);
  font-size: 17px;
  line-height: 1.35;
  transition: color .28s ease;
}
.menu-column > a{
    position: relative;
    margin-bottom: 16px;
    display: flex;
    width: fit-content;
    color:var(--white-color);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  opacity: 0.8;
}
.menu-column>a::after{
  position: absolute;
  z-index: -1;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--white-color);
  content: "";
  transition: width .36s ease;
}

.menu-column>a:hover {
  opacity: 1;
}

.menu-column>a:hover::after {
  width: 100%;
}

.menu-footer {
  /* min-height: 118px; */
  padding: 34px max(5vw, calc((100vw - 1400px)/2));
  padding-top: 0;
  opacity: 0;
}
.menu-footer>div {
 display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.20);
  padding-top: 50px;
}
.menu-footer__shops {
  display: flex;
}

.menu-footer__shops a {
  display: flex;
  align-items: center;
  padding: 13px 16px;
    margin-right: 8px;
  color:var(--white-color);
text-align: center;
font-size: 18px;
font-style: normal;
font-weight: 400;
  border-radius: 52px;
background: rgba(255, 255, 255, 0.20);
}

.bag-icon {
    margin-right: 8px;
  width: 32px;
  height: 32px;
}

.menu-footer__social {
  display: flex;
  align-items: center;
}
.menu-footer__social>span {
    margin-right: 8px;
    color: var(--white-color);
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 26px;
}
.menu-footer__social .footer-social {
    margin-bottom: 0;
    padding-top: 0;
}
/* 
.menu-footer__social .footer-social a {
    background: rgba(255, 255, 255, 0.10);
}
.menu-footer__social .footer-social a:hover {
    background: rgba(255, 255, 255, 0.50);
} */
/* PC hover 显示 */
@media (hover: hover) {
    .menu-footer__shops a:hover .qr-popup {
        opacity: 1;
        visibility: visible;
    }
}

/* 移动端 touch 激活 */
.social-item.qr-active .qr-popup {
    opacity: 1;
    visibility: visible;
}


/* 响应式 */
@media (max-width: 1279px) {
.menu-footer__shops a {
  font-size: 16px;
}
}

@media (max-width: 1100px) {
  .menu-footer__social {
    margin-top: 30px;
    width: 100%;
}
.menu-column > a{
  font-size: 16px;
  line-height: 26px;
}
}

@media (max-width: 767px) {
body.menu-open {
    margin-right: 0;
}  
  body.menu-open .wave-menu {
  width: 100%;
}
.wave-menu {
  top: 80px;
  height: calc(100svh - 80px);
}
    .header {
        height: 80px;
    }
    .tool-lang-btn {
        width: 68px;
        height: 44px;
    }
.lang-arrow {
    width: 20px;
    height: 20px;
    margin-left: 4px;
}

    /* 手机端头部放不下，购买渠道走全屏菜单里的「微信商城 / 阿里巴巴商城」 */
    .tool-shop {
        display: none;
    }

    .tool-search {
        display: none;
    }

    /* 若在手机上也显示搜索，胶囊收窄到 180（content-box：114 + 16 + 48 + 2） */
    .tool-search:hover .tool-search-input,
    .tool-search:focus-within .tool-search-input,
    .tool-search.is-open .tool-search-input {
        width: 114px;
    }
.wave-menu__inner {
  overflow-x: hidden;
  overflow-y: auto;
}    
.menu-content {
  margin-top: 50px;
  margin-bottom: 30px;
}
.menu-columns {
  flex-flow: column;
}
.menu-column {
  flex-flow: row;
  flex-wrap: wrap;
}
.menu-column > a {
  margin-right: 16px;
}
.menu-column h2 {
  width: 100%;
  font-size: 22px;
  font-family:"OPPOSans R";
  font-weight: 700;
}    
.menu-footer__shops {
  flex-flow: column;
  width: 100%;
}
.menu-footer__shops a {
  margin-right: 0;
  margin-bottom: 16px;
  width: 100%;
}
.menu-footer .social-item .qr-popup {
        margin-left: -25px;
    }

.menu-footer .social-item .qr-popup::after {
        margin-left: 25px;
    }
   .footer-logo {
      max-width: calc(100% - 150px);
    }

}
@media (min-width:768px) {
    #site-header.show{
        position: fixed;
    }
    #site-header.hide {
        transform: translate(0, -160px);
    }

}