/* ===== 响应式适配 - 平板 ===== */
@media (max-width: 1024px) {
  .banner-swiper {
    height: 5rem;
  }

  .advantage-grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .certification-grid,
  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }
}

/* ===== 响应式适配 - 手机 ===== */
@media (max-width: 750px) {
  
  /* 导航栏适配 */
  .header {
    padding: 0 0.15rem;
    height: 0.6rem;
  }

  .header-logo {
    height: 0.4rem;
  }

  /* 显示汉堡菜单 */
  .hamburger-menu {
    display: flex;
    margin-right: 0.05rem;
  }

  /* 隐藏桌面端操作按钮 */
  .desktop-actions{
    gap: 0.15rem;
  }
  .desktop-actions a {
    border-radius: 0.025rem;
    background: #d61518;
    color: #fff;
    padding: 0.025rem 0.1rem;
    font-size: 0.125rem;
    box-sizing: border-box;
  }
  .header-actions a:hover{
    color: #fff;
  }
  .desktop-actions a.register {
    border-radius: 0.025rem;
    background: #fff;
    color: #D61518;
    padding: 0.025rem 0.1rem;
    font-size: 0.125rem;
    border:1px solid #D61518;
  }
  /* 导航栏默认隐藏 */
  .header-nav {
    position: fixed !important;
    top: 0.6rem;
    left: 0;
    right: 0;
    background: #fff; 
    flex-direction: column;
    padding: 0.2rem;
    box-shadow: 0 0.02rem 0.08rem rgba(0, 0, 0, 0.1);
    display: none !important;
    gap: 0;
    margin-left: 0;
    z-index: 999;
  }

  .header-nav.show {
    display: flex !important;
  }

  .header-nav>a {
    width: 100%;
    padding: 0.12rem 0;
    margin: 0;
    border-bottom: 0.01rem solid #f0f0f0;
    font-size: 0.15rem;
  }

  .header-nav>a:last-of-type {
    border-bottom: none;
  }

  /* 手机端下拉菜单处理 */
  .nav-dropdown {
    width: 100%;
    border-bottom: 0.01rem solid #f0f0f0;
  }

  .dropdown-trigger {
    width: 100%;
    padding: 0.12rem 0;
    margin: 0;
    border-bottom: none;
    font-size: 0.15rem;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    padding: 0;
    box-shadow: none;
    background: #f9f9f9;
    display: none;
  }

  .dropdown-menu.show {
    display: block;
  }

  .dropdown-menu-inner {
    padding: 0.15rem;
    background: #f9f9f9;
  }

  .dropdown-col {
    border-right: none;
    border-bottom: 0.01rem solid #eee;
    padding: 0.1rem 0;
  }

  .dropdown-col:last-child {
    border-bottom: none;
  }

  .dropdown-col h4 {
    font-size: 0.14rem;
    margin-bottom: 0.08rem;
    color: #333;
  }

  .dropdown-col a {
    font-size: 0.13rem;
    padding: 0.06rem 0;
    color: #666;
  }

  /* 手机端操作按钮 */
  .mobile-actions {
    display: flex;
    gap: 0.15rem;
    padding: 0.15rem 0 0.1rem;
    border-top: 0.01rem solid #f0f0f0;
  }

  .mobile-actions a {
    flex: 1;
    text-align: center;
    padding: 0.1rem;
    border-radius: 0.04rem;
    font-size: 0.14rem;
  }

  .mobile-actions a:last-child {
    background: var(--primary-blue);
    color: #fff !important;
  }

  body {
    padding-top: 0.6rem;
  }

  /* Banner适配 */
  .banner-swiper {
    height: auto;
  }

  .banner .swiper-pagination {
    bottom: 0.15rem;
  }

  .banner .swiper-pagination-bullet {
    width: 0.03rem;
      height: 0.03rem;
  }

  .banner .swiper-pagination-bullet-active {
    width: 0.1rem;
  }

  /* AI+场景区配 */
  .ai-scenario {
    padding: 0.2rem 0;
    background: linear-gradient(180deg, #e8f0ff 0%, #f5f8ff 100%);
  }

  .section-title-img {
    height: 0.5rem;
    margin-bottom: 0.15rem;
  }

  .scenario-swiper {
    padding-bottom: 0.15rem;
  }

  .scenario-swiper .swiper-slide {
    height: auto;
  }

  .scenario-group {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
  }

  .scenario-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    border-radius: 0.12rem;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
    box-shadow: 0 0.02rem 0.08rem rgba(100, 140, 220, 0.08);
    height: auto;
    text-align: left;
  }

  .scenario-icon {
    width: 1.2rem;
    min-width: 1.2rem;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(0deg, #e1ebff 0%, #e1ebff00 100%);
    padding: 0.15rem;
  }

  .scenario-icon img {
    width: 0.9rem;
    height: auto;
    object-fit: contain;
  }

  .scenario-content {
    flex: 1;
    height: auto;
    min-height: unset;
    padding: 0.16rem 0.16rem 0.16rem 0.12rem;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .scenario-title {
    font-size: 0.15rem;
    font-weight: 600;
    color: #1a6fc4;
    padding: 0;
    margin: 0 0 0.08rem 0;
    text-align: left;
    position: static;
  }

  .scenario-title::before {
    display: none;
  }

  .scenario-desc {
    font-size: 0.11rem;
    color: #767b9e;
    padding: 0;
    line-height: 1.6;
    text-indent: 0;
    text-align: left;
  }

  .scenario-swiper .swiper-pagination-bullet {
    width: 0.03rem;
    height: 0.03rem;
    background: #ffc7c7;
  }

  .scenario-swiper .swiper-pagination-bullet-active {
    width: 0.1rem;
    background: #ce1417;
  }

  /* 优势区域适配 */
  .advantages {
    padding: 0.2rem 0;
  }

  .subsection-title {
    font-size: 0.18rem;
    margin-bottom: 0.2rem;
  }

  .subsection-title::before {
    width: 0.3rem;
    height: 0.25rem;
  }

  .advantage-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.1rem;
    margin-bottom: 0.3rem;
  }

  .advantage-card {
    padding: 0.05rem 0.1rem;
    border-radius: 0.1rem;
    box-shadow: 0 0.02rem 0.06rem rgba(100, 140, 220, 0.06);
    background: #fff;
  }

  .advantage-icon {
    height: 1rem;
    margin-bottom: 0.08rem;
  }

  .advantage-icon img {
    width: 0.8rem;
    height: 0.8rem;
  }

  .advantage-text {
    font-size: 0.11rem;
    line-height: 1.4;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 0.12rem;
    margin-bottom: 0.3rem;
  }

  .service-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    padding: 0;
    border-radius: 0.12rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0.02rem 0.06rem rgba(100, 140, 220, 0.06);
    border: none;
  }

  .service-illustration {
    width: 1.3rem;
    min-width: 1.3rem;
    height: auto;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, #e8f0ff 0%, transparent 100%);
    padding:0;
  }

  .service-illustration img {
    height: 100%;
    object-fit: contain;
  }

  .service-content {
    flex: 1;
    padding: 0.16rem 0.16rem 0.16rem 0.12rem;
    text-align: left;
  }

  .service-title {
    font-size: 0.15rem;
    font-weight: 600;
    color: #000B5A;
    margin-bottom: 0.06rem;
    text-align: left;
  }

  .service-desc {
    font-size: 0.11rem;
    color: #767b9e;
    line-height: 1.6;
  }

  /* 认证区域适配 */
  .certification-grid {
    display: none;
  }

  .certification-swiper {
    padding-bottom: 0.2rem;
  }

  .certification-swiper .swiper-slide {
    width: 33.333%;
    height: auto;
  }

  .certification-swiper .certification-card {
    border-radius: 0.1rem;
    padding-bottom: 0.12rem;
  }

  .certification-swiper .cert-logo {
    padding: 0.15rem 0.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .certification-swiper .cert-logo img {
    max-width: 0.8rem;
    max-height: 0.8rem;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  .certification-swiper .cert-name {
    font-size: 0.11rem;
    padding: 0.08rem 0 0.12rem;
    text-align: center;
  }

  .certification-swiper .cert-name::after {
    width: 0.4rem;
    margin-left: -0.2rem;
    height: 1px;
  }

  .certification-swiper .swiper-pagination {
    bottom: 0;
    display: flex;
    justify-content: center;
  }

  .certification-swiper .swiper-pagination-bullet {
    width: 0.03rem;
    height: 0.03rem;
    background: #ffc7c7;
    opacity: 1;
  }

  .certification-swiper .swiper-pagination-bullet-active {
    background: #ce1417;
    width: 0.1rem;
  }

  /* 合作伙伴适配 */
  .partners {
    padding: 0.2rem 0 0.2rem;
    background: linear-gradient(0deg, #ffffff 0%, #f3f8ff 100%);
  }

  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.05rem;
  }

  .partner-card {
    min-height: auto;
    padding: 0;
  }

  /* 公司简介适配 */
  .company-intro {
    padding: 0.4rem 0 0 0;
  }

  .intro-content {
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.25rem;
  }

  .intro-text p {
    font-size: 0.13rem;
    line-height: 1.8;
    margin-bottom: 0.15rem;
  }

  .intro-image {
    flex: none;
    width: 100%;
  }

  /* Footer适配 */
  .footer {
    padding: 0.4rem 0 0.2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0.25rem;
  }

  .footer-column {
    border-bottom: 0.01rem solid rgba(255,255,255,0.08);
  }

  /* 手机端 accordion 标题行 */
  .footer-accordion-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.15rem 0;
    margin-bottom: 0;
    user-select: none;
  }

  .footer-arrow {
    display: block;
    width: 0.16rem;
    height: 0.16rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    stroke: rgba(255,255,255,0.6);
  }

  .footer-accordion-title.open .footer-arrow {
    transform: rotate(180deg);
  }

  /* 手机端 accordion 内容区 */
  .footer-accordion-body {
    display: none;
  }

  /* PC端隐藏箭头 */
  .footer-title {
    font-size: 0.15rem;
  }

  .footer-links-two-col {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 0.15rem;
    padding-bottom: 0.12rem;
  }

  .footer-links li {
    margin-bottom: 0.08rem;
  }

  .footer-links a {
    font-size: 0.12rem;
  }

  .contact-info p {
    font-size: 0.12rem;
    margin-bottom: 0.06rem;
  }

  .contact-info strong {
    font-size: 0.14rem;
  }

  .footer-copyright {
    padding-top: 0.2rem;
  }

  .footer-copyright p {
    font-size: 0.11rem;
  }

  .header>.container {
    padding: 0;
  }
    /* ===== 手机端导航抽屉样式 ===== */
    .mobile-nav-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.5);
      z-index: 1000;
    }
  
    .mobile-nav-overlay.show {
      display: block;
    }
  
    .mobile-nav {
      position: fixed;
      top: 0;
      left: -100%;
      width: 80%;
      max-width: 3.5rem;
      height: 100vh;
      background: #fff;
      z-index: 1001;
      transition: left 0.3s ease;
      overflow-y: auto;
    }
  
    .mobile-nav.show {
      left: 0;
    }
  
    .mobile-nav-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.2rem;
      border-bottom: 0.01rem solid #f0f0f0;
    }
  
    .mobile-nav-logo {
      height: 0.4rem;
    }
  
    .mobile-nav-close {
      width: 0.2rem;
      height: 0.2rem;
      background: transparent;
      border: none;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 0.06rem;
      padding: 0;
    }
  
    .mobile-nav-close span {
      display: block;
      width: 100%;
      height: 0.02rem;
      background: #333;
      border-radius: 0.01rem;
    }
  
    .mobile-nav-close span:first-child {
      transform: rotate(45deg) translate(0.05rem, 0.05rem);
    }
  
    .mobile-nav-close span:last-child {
      transform: rotate(-45deg) translate(0.01rem, -0.01rem);
    }
  
    .mobile-nav-content {
      padding: 0.2rem 0;
    }
  
    .mobile-nav-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.15rem 0.2rem;
      font-size: 0.16rem;
      color: #333;
      text-decoration: none;
      border-bottom: 0.01rem solid #f0f0f0;
      cursor: pointer;
    }
  
    .mobile-nav-item.active {
      color: #d61518;
    }
  
    .mobile-nav-item.has-children .arrow-icon {
      width: 0.2rem;
      height: 0.2rem;
      transition: transform 0.3s ease;
    }
  
    .mobile-nav-item.has-children.open .arrow-icon {
      transform: rotate(180deg);
    }
  
    .mobile-submenu {
      display: none;
      padding-left: 0.2rem;
    }
  
    .mobile-submenu.show {
      display: block;
    }
  
    .mobile-submenu-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.12rem 0.2rem;
      font-size: 0.15rem;
      color: #555;
      cursor: pointer;
    }
  
    .mobile-submenu-item.has-children .arrow-icon {
      width: 0.18rem;
      height: 0.18rem;
      transition: transform 0.3s ease;
    }
  
    .mobile-submenu-item.has-children.open .arrow-icon {
      transform: rotate(180deg);
    }
  
    .mobile-submenu-link {
      display: block;
      padding: 0.1rem 0.2rem 0.1rem 0.4rem;
      font-size: 0.14rem;
      color: #777;
      text-decoration: none;
    }
  
    .mobile-submenu-link:hover {
      color: #d61518;
    }
  
    .mobile-nav-actions {
      display: flex;
      gap: 0.15rem;
      padding: 0.2rem;
      margin-top: 0.2rem;
    }
  
    .mobile-btn-login,
    .mobile-btn-register {
      flex: 1;
      text-align: center;
      padding: 0.12rem;
      border-radius: 0.04rem;
      font-size: 0.15rem;
      text-decoration: none;
    }
  
    .mobile-btn-login {
      color: #333;
      border: 0.01rem solid #ddd;
    }
  
    .mobile-btn-register {
      background: var(--primary-blue);
      color: #fff;
    }
    .swiper-slide img.pc-none {
      display: block !important;
    }

    .swiper-slide img.pc-black {
      display: none !important;
    }

    /* 通用：手机端显示 pc-none 元素 */
    .pc-none {
      display: block !important;
    }

    /* 通用：手机端隐藏 pc-black 元素 */
    .pc-black {
      display: none !important;
    }
}

/* 手机端隐藏桌面导航 */
@media (max-width: 768px) {

  .desktop-nav {
    display: none !important;
  }

  .hamburger-menu {
    display: flex !important;
  }
}

/* 桌面端隐藏手机导航 */
@media (min-width: 769px) {

  .hamburger-menu,
  .mobile-nav-overlay,
  .mobile-nav {
    display: none !important;
  }
}
