/* 移动端基础样式 - 只适配手机端（最大宽度768px） */
@media screen and (max-width: 768px) {
  html {
    font-size: calc(100vw / 375); /* 移动端调整rem基准 */
    box-sizing: border-box;
  }

  .top-bar {
    height: 60rem !important;
  }

  /* 移动端头部 */
  .top-bar-inner {
    padding: 12rem 0;
    position: fixed;
  }

  .top-bar-content {
    padding: 0 16rem;
  }

  /* 移动端logo和菜单按钮 */
  .logo-group {
    position: relative;
    z-index: 100;
  }

  .logo-mark {
    width: auto;
    height: 36rem;
  }

  .mobile-menu-toggle {
    font-size: 24rem !important;
    color: #fff;
    cursor: pointer;
    display: block;
  }

  /* 隐藏桌面端导航 */
  .nav-links {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  /* 移动端菜单下拉 */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    min-height: 100vh;
    overflow-y: auto;
  }

  .mobile-menu.active {
    transform: translateY(0);
    display: block;
  }

  .mobile-menu-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16rem 16rem 0;
  }

  .mobile-menu-logo-img {
    width: auto;
    height: 40rem;
  }

  .mobile-menu-logo-close {
    font-size: 28rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transform: translateY(-2rem);
  }

  .mobile-menu-nav {
    padding: 0 16rem 0rem;
  }

  .mobile-menu-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-menu-item > a {
    display: block;
    color: #fff;
    font-size: 18rem;
    font-weight: 600;
    padding: 12rem 0;
    text-decoration: none;
  }

  .mobile-menu-item.has-submenu > a::after {
    content: '+';
    float: right;
    font-size: 24rem;
    transition: transform 0.3s ease;
  }

  .mobile-menu-item.has-submenu.active > a::after {
    transform: rotate(45deg);
  }

  .mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(124, 137, 145, 0.3);
  }

  .mobile-menu-item.active .mobile-submenu {
    max-height: 1000rem;
  }

  .mobile-submenu li {
    padding: 12rem 0 12rem 20rem;
  }

  .mobile-submenu li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16rem;
    font-weight: 400;
  }

  .mobile-submenu li.active a {
    color: #1f5fa5;
  }

  /* 移动端操作按钮 */
  .mobile-actions {
    display: flex;
    align-items: center;
    gap: 20rem;
    padding: 20rem 16rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-actions .auth {
    color: #fff;
    font-size: 16rem;
    font-weight: 600;
  }

  .mobile-actions .lang-dropdown-trigger {
    min-width: 92rem;
    height: 34rem;
    padding: 0 28rem 0 10rem;
    border: 1rem solid rgba(255, 255, 255, 0.45);
    border-radius: 999rem;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 14rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
  }

  .mobile-actions .lang-dropdown {
    position: relative;
  }

  .mobile-actions .lang-dropdown-menu {
    left: 0;
    right: auto;
    min-width: 110rem;
  }

  .mobile-actions .lang-dropdown-option {
    font-size: 14rem;
  }

  .mobile-actions .auth {
    padding-left: 20rem;
    position: relative;
  }

  .mobile-actions .auth::before {
    content: '';
    position: absolute;
    left: 0;
    top: 46%;
    width: 10rem;
    height: 10rem;
    border: 2rem solid #fff;
    border-radius: 50%;
    transform: translateY(-50%);
  }

  .mobile-actions .search {
    font-size: 24rem !important;
    color: #fff;
    cursor: pointer;
  }

  .mobile-header-search-panel {
    display: none;
    padding: 8rem 16rem 20rem;
  }

  .mobile-header-search-panel.show {
    display: block;
  }

  .mobile-header-search-form {
    border-radius: 14rem;
  }

  .mobile-header-search-form .header-search-filter {
    height: 44rem;
    padding: 0 14rem;
    font-size: 12rem;
  }

  .mobile-header-search-form .header-search-input {
    height: 44rem;
    padding: 0 12rem;
    font-size: 13rem;
  }

  .mobile-header-search-form .header-search-submit {
    height: 44rem;
    padding: 0 16rem;
    font-size: 12rem;
  }

  /* Hero区域调整 */
  .hero {
    padding: 40rem 16rem 60rem;
  }

  .hero h1 {
    font-size: 32rem;
    line-height: 1.3;
    margin-bottom: 16rem;
  }

  .hero p {
    font-size: 16rem;
    line-height: 1.6;
  }

  /* 通用移动端调整 */
  section {
    padding: 40rem 16rem;
  }

  h2 {
    font-size: 24rem;
    margin-bottom: 20rem;
  }

  h3 {
    font-size: 20rem;
  }

  p {
    font-size: 14rem;
    line-height: 1.6;
  }

  /* 按钮调整 */
  button {
    font-size: 14rem;
    padding: 12rem 24rem;
  }

  .btn-primary,
  .btn-secondary {
    font-size: 14rem;
    padding: 12rem 24rem;
  }

  /* Footer */
  .site-footer {
    padding: 24rem 16rem;
  }

  .footer-title {
    font-size: 20rem;
    margin-bottom: 24rem;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 30rem;
    margin-bottom: 24rem;
  }

  .footer-column h4 {
    font-size: 18rem;
    margin-bottom: 16rem;
  }

  .footer-column ul li {
    font-size: 14rem;
    margin-bottom: 12rem;
  }

  .footer-records {
    gap: 12rem;
    align-items: flex-start;
    text-align: left;
  }

  .footer-record-title {
    font-size: 18rem;
    line-height: 1.4;
  }

  .footer-record-row {
    justify-content: flex-start;
    gap: 8rem;
  }

  .footer-record-copy,
  .footer-record-links {
    font-size: 12rem;
    line-height: 1.6;
  }

  .footer-address {
    font-size: 12rem;
    margin-top: 30rem;
  }

  .footer-social {
    margin-top: 24rem;
    gap: 16rem;
  }
}

