/* 默认隐藏移动端元素 */
.mobile-menu-toggle {
  display: none;
}

.mobile-nav {
  display: none;
}

.mobile-nav-overlay {
  display: none;
}

@media (max-width: 1660px) {
  html,
  body {
    font-size: 15px;
    --title-size: 24px;
  }
  .site-header {
    padding: 0.65rem 0;
  }
  .logo {
    width: 10.6rem;
  }
}

@media (max-width: 1250px) {
  .logo {
    width: 180px;
  }
  .banner-container {
    width: 90%;
  }
  .banner-title {
    font-size: 1.45rem;
  }
  .banner-subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .banner-info-item {
    padding: 0.5rem 1.6rem 0.5rem 0.8rem;
    font-size: 0.86rem;
  }
  .nav-menu a {
    font-size: 15px;
  }

  .expo-options-top-content .btn-group .btn {
    width: auto;
  }
}

@media (max-width: 1025px) {
  /* 隐藏桌面端导航菜单 */
  .nav-section {
    display: none;
  }

  .lang-section {
    display: none;
  }

  /* 显示汉堡菜单按钮 */
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
  }

  .hamburger-line {
    width: 20px;
    height: 2px;
    background-color: var(--text-white);
    margin: 2px 0;
    transition: all 0.3s ease;
    transform-origin: center;
  }

  /* 汉堡菜单激活状态 */
  .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }

  .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
  }

  /* 移动端菜单容器 */
  .mobile-nav {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: linear-gradient(to right, #2034ce, #480298);
    transform: translateY(-100%);
    transition: all 0.3s ease;
    z-index: 1000;
    padding-top: 40px;
    overflow-y: auto;
    visibility: hidden;
  }

  .mobile-nav.active {
    visibility: visible;
    transform: translateY(0);
  }

  /* 移动端菜单列表 */
  .mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-nav-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-nav-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    color: var(--text-white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease;
  }

  .mobile-nav-menu > li > a:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }

  /* 移动端下拉箭头 */
  .mobile-dropdown-arrow {
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease;
  }

  .mobile-nav-item-with-submenu.active .mobile-dropdown-arrow {
    transform: rotate(45deg);
  }

  /* 移动端子菜单 */
  .mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: rgba(0, 0, 0, 0.2);
  }

  .mobile-nav-item-with-submenu.active .mobile-submenu {
    max-height: 500px;
  }

  .mobile-submenu li a {
    display: block;
    padding: 12px 40px;
    color: var(--text-white);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.9;
    transition: all 0.3s ease;
  }

  .mobile-submenu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    opacity: 1;
    padding-left: 45px;
  }

  /* 移动端语言切换 */
  .mobile-lang-section {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
  }

  .mobile-lang-section .lang-switcher {
    justify-content: center;
  }

  /* 移动端菜单遮罩 */
  .mobile-nav-overlay {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }

  .mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* 在1025px以下显示移动端元素 */
  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .mobile-nav-overlay {
    display: block;
  }
}

@media (max-width: 992px) {
  .inner-container {
    padding: 0 1.5rem;
  }

  .page-banner {
    height: 280px;
    background: linear-gradient(to right, #324aa0, #40179b);
  }
  .page-banner img {
    height: 400px;
    object-fit: cover;
    display: none;
  }
  .main-content > .container {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 10px 0;
  }
  .logo {
    width: 140px;
  }
  .mobile-nav {
    padding-top: 20px;
    top: 50px;
    height: calc(100vh - 50px);
  }
  .banner-section .banner-video,
  .banner-section .banner-img,
  .banner-section {
    height: 100vh;
  }
  .banner-title {
    font-size: 1.25rem;
  }
  .banner-subtitle {
    font-size: 13px;
  }
  .banner-info-item + .banner-info-item {
    margin-top: 8px;
    margin-right: 0;
  }
  .banner-info {
    align-items: start;
    flex-direction: column;
  }
  .banner-info-item {
    display: inline-flex;
    font-size: 12px;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
  }
  .btn-md {
    font-size: 14px;
    padding: 8px 14px;
  }
  .banner-btn {
    padding: 8px 20px;
  }

  .intro-content {
    width: 100%;
    padding: 0 20px;
  }
  .intro-content .section-title {
    font-size: 1.25rem;
    padding-top: 1.25rem;
    margin-bottom: 1rem;
  }
  .intro-content .section-subtitle {
    font-size: 13px;
  }
  .intro-content .section-text {
    font-size: 12px;
    line-height: 1.5;
  }
  .intro-text-content {
    padding-bottom: 2rem;
  }
  .intro-text {
    font-size: 14px;
  }
  .products-content {
    padding-top: 2rem;
  }
  .product-title {
    margin: 0;
    font-size: 1rem;
    padding: 0.8rem 1rem;
  }
  .product-description {
    padding: 0 1rem 1rem;
    font-size: 0.856rem;
  }
  .product-card + .product-card {
    margin-top: 1rem;
  }
  .intro-products-section {
    padding-bottom: 2.2rem;
  }
  .partners-section .container {
    padding-top: 2.6rem;
    padding-bottom: 2.6rem;
  }
  .partners-grid {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .institutions-section {
    padding: 2.6rem 0;
  }
  .speakers-section {
    padding: 3rem 0;
  }
  .speakers-grid {
    gap: 0;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .speaker-card {
    width: 48.5%;
    margin-right: 0 !important;
    padding: 0.8rem;
    margin-bottom: 1rem;
  }
  .institutions-category {
    flex-direction: column;
    padding: 1rem 0;
  }
  .institutions-logos img {
    width: 100%;
  }
  .institutions-logos {
    width: 100%;
  }
  .category-title {
    font-size: 1.25rem;
    padding-bottom: 1rem;
  }
  .speaker-name {
    font-size: 1.24rem;
  }
  .speaker-avatar img {
    margin: 0 auto;
    width: 100%;
    height: auto;
  }
  .contact-section {
    padding: 2.6rem 0;
  }
  .footer-bottom,
  .footer-section-group,
  .footer-content .container {
    padding: 0;
    position: relative;
    flex-direction: column;
    left: 0;
    transform: none;
  }
  .footer-bg {
    display: none;
  }
  .footer-section + .footer-section {
    margin-left: 0;
  }
  .footer-title {
    font-size: 1rem;
    margin-bottom: 1rem;
    position: relative;
    cursor: pointer;
    padding-right: 20px;
    transition: all 0.3s ease;
  }

  /* 添加展开/收起箭头 */
  .footer-section-group .footer-title::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease;
  }

  .footer-section-group .footer-section.active .footer-title::after {
    transform: rotate(45deg);
  }

  /* 默认隐藏footer-links */
  .footer-section-group .footer-links {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  /* 展开状态的footer-links */
  .footer-section-group .footer-section.active .footer-links {
    max-height: 200px;
  }

  .footer-section-group .footer-links a {
    font-size: 0.853rem;
  }
  .footer-section-group .footer-links a::before {
    width: 10px;
    height: 10px;
  }
  .footer-content .container {
    padding-top: 2rem;
    flex-direction: column-reverse;
  }
  .footer-section-group .footer-logo img {
    width: 200px;
    display: block;
    margin: 0 auto;
  }
  .footer-bottom-text {
    font-size: 12px;
  }
  .footer-bottom-info .container {
    justify-content: center;
  }
  .speaker-card .icon-line {
    display: none;
  }
  .speaker-card:hover .speaker-avatar,
  .speaker-card:hover .speaker-details {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .speaker-card:hover .speaker-title,
  .speaker-card:hover .speaker-company {
    display: block;
  }
  .speaker-card:hover .speaker-details .speaker-info {
    opacity: 0;
    visibility: hidden;
  }
  .footer-logo img {
    width: 200px;
    margin-bottom: 1rem;
  }
  .footer-links-bottom {
    padding: 10px 0;
  }
  .footer-links-bottom a {
    font-size: 12px;
  }
  .form-input,
  .form-select,
  .form-label {
    font-size: 14px;
  }
  .form-label {
    margin-bottom: 8px;
  }
  .form-input,
  .form-select {
    padding: 8px 18px;
  }
  .btn-subscribe {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 14px;
  }
  .inner-container {
    padding: 0;
  }
  .page-tabs-list {
    padding: 0 1rem;
  }
  .page-tabs-list a {
    width: auto;
    height: 2rem;
  }
  .conference-about-content-img {
    width: 100%;
    height: auto;
  }
  .expo-gallery-year-list a {
    padding: 0 1rem;
  }
  .conference-about-section {
    padding: 3rem 0;
  }
  .conference-about-content:not(:last-child) {
    margin-bottom: 0;
  }
  .main-content {
    margin-top: 0;
  }
  .main-content > .container {
    height: auto;
    padding-top: 2rem;
  }
  .table-header {
    flex-direction: column;
  }
  .table-search {
    width: 100%;
  }
  .guest-avatar {
    margin-bottom: 0.85rem;
  }
  .table-title {
    margin-bottom: 1rem;
  }
  .search-btn {
    white-space: nowrap;
  }
  .guest-info h4 {
    font-size: 1rem;
  }
  .schedule-header-title-text {
    font-size: 1.25rem;
  }
  .schedule-header-title-text-p {
    font-size: 1rem;
  }
  .schedule-header-title-text2 {
    font-size: 1.25rem;
  }
  .schedule-header-title-text2::before,
  .schedule-header-title-text2::after {
    top: 0.7rem;
  }
  .schedule-header img {
    width: 360px;
  }
  .schedule-header {
    padding: 3rem 0 1.6rem;
  }

  .login-form-container,
  .register-form-container,
  .media-form-container,
  .expo-apply-form-container {
    padding-top: 2rem;
  }
  .expo-location-pic-iframe {
    height: 50vh;
  }

  .expo-options-top-content {
    flex-direction: column;
  }
  .expo-options-top-content .btn-group {
    margin-top: 1rem;
    gap: 0.8rem;
  }
  .expo-options-top-content h4 {
    font-size: 1.25rem;
  }
  .expo-options-top-content p {
    font-size: 14px;
  }
  .expo-options-list {
    justify-content: space-between;
  }
  .expo-options-item {
    width: 47.6%;
    margin-right: 0;
  }
  .news-pic,
  .expo-options-item .pic-wrap {
    border-radius: 10px;
  }
  .expo-options-item .expo-options-title {
    font-size: 1.25rem;
  }
  .expo-options-item .expo-options-p {
    font-size: 14px;
  }
  .expo-options-section {
    padding: 3rem 0 2rem;
  }
  .expo-location-pic-section .expo-options-top-content {
    padding: 3rem 0 2rem;
  }
  .article-content {
    font-size: 14px !important;
  }
  .article-content span,
  .article-content p{
    font-size: 14px !important;
  }
  .expo-gallery-section {
    padding: 3rem 0;
  }
  .expo-gallery-small-swiper .pic-wrap {
    padding-bottom: 80%;
  }
  .expo-exhibitors-manual-content {
    padding: 2rem 0;
  }
  .expo-exhibitors-manual-top {
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 2rem;
  }
  .news-list {
    justify-content: space-between;
  }
  .list-item-3 {
    width: 47.6%;
    margin-right: 0;
  }
  .news-info h4 {
    font-size: 1rem;
  }
  .transportation-box {
    padding: 1.2rem;
    flex-direction: column;
    gap: 2rem;
  }
  .transportation-left {
    width: 100%;
    height: 40vh;
  }
  .transportation-right {
    padding-left: 0;
    margin-left: 0;
  }
  .transportation-box2 .transportation-info-item {
    width: 100%;
  }
  .plan-trip-section {
    padding-bottom: 2rem;
  }
  .transportation-right-item-title {
    font-size: 1.25rem;
    padding-bottom: 1rem;
  }
  .faq-header {
    padding: 1rem;
  }
  .faq-header-title {
    font-size: 1rem;
  }
  .faq-question {
    font-size: 1rem;
  }
  .faq-answer {
    font-size: 14px;
  }
  .faq-list {
    padding-bottom: 2rem;
  }
  .register-form-container .section-title,
  .media-form-container .section-title {
    padding-bottom: 2rem;
  }
  .upload-box {
    width: 5rem;
    height: 5rem;
  }
  .upload-icon {
    width: 2rem;
  }
  .upload-icon {
    width: 2rem;
  }
  .upload-icon svg {
    width: 100%;
    font-size: 1rem;
  }
  .upload-text {
    font-size: 13px;
  }
  .personal-info-left {
    width: 100%;
    padding: 1.8rem;
  }

  .expo-options-top-content-right {
    margin-left: 0;
  }
  .expo-sponsor-section{
    padding-bottom: 0;
  }

  .trip-top{
    margin-bottom: 1.25rem;
  }
  .trip-left-title {
    font-size: 1.45rem;
  }
  .trip-top .trip-top-item{
    margin-left: 0;
  }
  .trip-top-right{
    margin-left: 0;
    margin-top: 1rem;
  }
  .expo-options-top-content-btn-group .btn:not(:last-child){
    margin-right: 0;
  }
  .expo-options-top-content-btn-group{
    gap: 1rem;
  }

  .footer-logo2-wrapper {
    position: relative;
    margin-top: 0;
    width: 278px;
    margin: 0 auto;
  }

  .plan-buy-btn{
    padding: 7px 30px;
  }

  .sponsor-plan-card{
    padding: 40px 30px 54px;
  }

  .sponsor-plans{
    padding-top: 0;
  }
  .login-form-container, .register-form-container, .media-form-container, .expo-apply-form-container{
    padding-bottom: 3rem;
  }
}
