html {
  font-size: 16px;
}

@media (max-width: 1200px) {
  html {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

/* 顶部导航栏 - 玻璃形态效果 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3.125rem; /* 50px */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(1.25rem); /* 20px */
  -webkit-backdrop-filter: blur(1.25rem);
  border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.1); /* 1px */
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 3.75rem; /* 60px */
  transition: background 0.3s ease;
  box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.05); /* 4px */
}

.logo {
  font-size: 1.5rem; /* 24px */
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  width: 6.25rem; /* 100px */
  height: 100%;
  overflow: hidden;
  margin-right: 10rem; /* 160px */
  display: flex;
  align-items: center;
}

.logo img {
  max-width: 100%;
  display: block;
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 10rem - 6.25rem); /* 160px 100px */
  height: 100%;
}

.navbar.scrolled,
.navbar.dropdown-open,
.navbar.nav-hover {
  background: #fff;
}

.navbar.scrolled .logo,
.navbar.dropdown-open .logo,
.navbar.nav-hover .logo,
.navbar.scrolled .nav-links a,
.navbar.dropdown-open .nav-links a,
.navbar.nav-hover .nav-links a {
  color: rgba(0, 0, 0, 0.9);
}

.navbar.scrolled .nav-links a::after,
.navbar.dropdown-open .nav-links a::after,
.navbar.nav-hover .nav-links a::after {
  background: rgba(0, 0, 0, 0.9);
}

.navbar.scrolled .nav-contact,
.navbar.dropdown-open .nav-contact,
.navbar.nav-hover .nav-contact {
  color: #4b5563;
  background: #f3f4f6;
  box-shadow: inset 0 0 0 0.0625rem rgba(209, 213, 219, 0.8);
}

.navbar.scrolled .nav-contact:hover,
.navbar.dropdown-open .nav-contact:hover,
.navbar.nav-hover .nav-contact:hover {
  background: #e5e7eb;
}

.navbar.dropdown-open,
.navbar.nav-hover {
  box-shadow: none;
}

.navbar:not(.dropdown-open):not(.nav-hover) {
  box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.05);
}

.nav-links {
  display: flex;
  list-style: none;
  height: 100%;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 1.5625rem; /* 25px */
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem; /* 16px */
  letter-spacing: 0.12em;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: #f0f0f0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -0.3125rem; /* 5px */
  left: 0;
  width: 0;
  height: 0.125rem; /* 2px */
  background: #fff;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-item:hover .nav-link::after {
  width: 100%;
}

.nav-item.is-open .nav-link::after {
  width: 100%;
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem; /* 24px */
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem; /* 10px 24px */
  border-radius: 62.4375rem; /* 999px */
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #d1d5db;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 0.0625rem rgba(148, 163, 184, 0.45);
}

.nav-contact:hover {
  background: rgba(255, 255, 255, 0.28);
}

.nav-lang {
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav-lang {
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-lang:hover {
  transform: translateY(-0.125rem); /* 2px */
}

.nav-lang img {
  width: 1.375rem; /* 22px */
  height: 1.375rem;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.3);
  backdrop-filter: blur(1.25rem);
  -webkit-backdrop-filter: blur(1.25rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 900;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ----------------------------顶部导航栏 - 玻璃形态效果------------------- */

/* ========================= 导航下拉面板 ========================= */
.header-panel {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  padding: 3.125rem 5rem 3.5rem; /* 50px 80px 56px */
  transform: translateY(-100%);
  background: #fff;
  box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.05); /* 4px */
  color: rgba(0, 0, 0, 0.9);
  transition:
    transform 0.3s cubic-bezier(0.5, 0, 0, 0.75),
    opacity 0.15s cubic-bezier(0.5, 0, 0, 0.75);
  opacity: 0;
  pointer-events: none;
  z-index: 950;
}

.header-panel.no-transition {
  transition: none !important;
}

.header-panel.is-active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.header-panel .dropdown-content {
  max-width: 75rem; /* 1200px */
  margin: 0 auto;
}

.header-panel .dropdown-grid {
  /* display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.25rem, 1fr));
  gap: 2rem; */
  display: flex;
  flex-direction: column;
  gap: 1rem; /* 16px */
}

.header-panel .dropdown-column h3 {
  margin: 1rem 0; /* 16px */
  font-size: 1.125rem; /* 18px */
  font-weight: 600;
}

.header-panel .model-list {
  display: flex;
  gap: 1rem; /* 16px */
}

.header-panel .model-item {
  width: 12.5rem; /* 200px */
  height: 12.5rem;
  overflow: hidden;
  display: flex;
  gap: 1rem;
  align-items: center;
  border-radius: 1rem; /* 16px */
  background: rgba(15, 23, 42, 0.04);
  transition:
    transform 0.3s ease,
    background 0.3s ease;
  position: relative;
}

.header-panel .model-item:hover {
  transform: translateY(-0.25rem); /* 4px */
}

.header-panel .model-item:hover .model-thumb {
  transform: scale(1.06);
}

.header-panel .model-thumb {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 0.75rem; /* 12px */
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

.header-panel .model-info {
  display: flex;
  flex-direction: column;
}

.header-panel .model-name {
  font-size: 1.125rem; /* 18px */
  font-weight: 600;
  max-width: 8.75rem; /* 140px */
  line-height: 1.125rem; /* 18px */
  margin-bottom: 0.25rem; /* 4px */
  position: absolute;
  top: 1.25rem; /* 20px */
  left: 1.25rem;
  letter-spacing: 0.12em;
  text-shadow: 0 0.125rem 0.25rem rgba(255, 255, 255, 0.35); /* 2px 4px */
}

.header-panel .model-desc {
  font-size: 0.625rem; /* 10px */
  color: rgba(15, 23, 42, 0.6);
  position: absolute;
  bottom: 1.25rem; /* 20px */
  left: 0.625rem; /* 10px */
}

.header-panel-technology .model-name,
.header-panel-company .model-name {
  color: #fff;
  text-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.35); /* 2px 6px */
}

/* ======================= 导航下拉面板 End ======================= */

/* ======================移动端导航栏============================== */
.mobile-header {
  display: none;
}

@media (max-width: 1024px) {
  .glass-header {
    display: none;
  }
  .mobile-header {
    display: block;
  }

  .mobile-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3.5rem; /* 56px */
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.25rem; /* 20px */
    z-index: 1100;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.05); /* 2px 8px */
  }

  .mobile-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-logo {
    display: flex;
  }
  .mobile-logo img {
    height: 2rem; /* 28px */
  }

  /* =========================
     汉堡按钮
  ========================= */

  .mobile-toggle {
    width: 1.35rem; /* 28px */
    height: 1rem; /* 20px */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
  }

  .mobile-toggle span {
    height: 0.125rem; /* 2px */
    width: 100%;
    background: #111;
    transition: 0.3s ease;
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(0.6rem);
  }

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-0.6rem);
  }

  /* =========================
     菜单面板
  ========================= */

  .mobile-menu {
    position: fixed;
    inset: 0;
    background: #ffffff;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 1000;
  }

  .mobile-menu.active {
    transform: translateX(0);
  }

  .mobile-menu-inner {
    padding: 5.625rem 1.5rem 2.5rem; /* 90px 24px 40px */
  }

  .mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-nav-list > li {
    /* margin-bottom: 1.625rem; */
    padding: 1rem;
  }

  .mobile-nav-list > li > a {
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    color: #111;
  }

  /* =========================
     有子菜单项
  ========================= */

  .mobile-item {
    border-bottom: 1px solid #f2f2f2;
    /* padding-bottom: 1.125rem; */
  }

  .mobile-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
  }

  .mobile-arrow {
    width: 0.5rem; /* 8px */
    height: 0.5rem;
    border-right: 0.125rem solid #111; /* 2px */
    border-bottom: 0.125rem solid #111;
    transform: rotate(45deg);
    transition: 0.3s ease;
  }

  .mobile-item.active .mobile-arrow {
    transform: rotate(-135deg);
  }

  /* =========================
     子菜单
  ========================= */

  .mobile-submenu {
    list-style: none;
    padding: 0;
    /* margin-top: 0.75rem; */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding-top: 0.75rem;
  }

  .mobile-item.active .mobile-submenu {
    max-height: 37.5rem; /* 600px */
  }

  .mobile-submenu li {
    margin-bottom: 0.875rem; /* 14px */
  }
  .mobile-submenu li:last-child {
    margin-bottom: 0;
  }

  .mobile-submenu a {
    font-size: 1rem; /* 16px */
    text-decoration: none;
    color: #555;
  }

  .mobile-submenu a:hover {
    color: #000;
  }

  /* 防止滚动穿透 */
  body.menu-open {
    overflow: hidden;
  }
}

/* ------------------------ 底部导航栏---------------------*/
/* .site-footer {
  background-color: #0b1220;
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 24px;
}

.site-footer__inner {
  width: min(100%, var(--container-width));
  margin: 0 auto;
  padding: 0 24px 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.site-footer__col h4 {
  margin-bottom: 16px;
  color: #fff;
}

.site-footer__col a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 8px;
  transition: color var(--transition);
}

.site-footer__col a:hover {
  color: #fff;
}

.site-footer__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  text-align: center;
  font-size: 0.85rem;
} */
/* ========== Footer Base ========== */

.site-footer {
  background: linear-gradient(180deg, #0b1f3a 0%, #07152a 100%);
  color: rgba(255, 255, 255, 0.75);
  padding: 72px 0 24px;
}

/* ========== Layout ========== */

.site-footer__inner {
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: 0 24px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 48px;
}

/* ========== Brand / Company Info ========== */

.site-footer__brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* gap: 16px; */
}

.footer-logo {
  width: 140px;
  margin-bottom: 8px;
}

.footer-info {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

.footer-info a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.footer-info a:hover {
  text-decoration: underline;
}

/* Social */

.footer-social {
  margin-top: 8px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: #ffffff;
}

.footer-social img {
  width: 16px;
  height: 16px;
}

/* ========== Footer Columns ========== */

.site-footer__col h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
}

.site-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__col li {
  margin-bottom: 10px;
}

.site-footer__col a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer__col a:hover {
  color: #ffffff;
}

/* ========== Copyright ========== */

.site-footer__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* ========================================= */
/* ========== Responsive Design ============= */
/* ========================================= */

/* ====== Tablet (<=1024px) ====== */
@media (max-width: 1024px) {
  .site-footer {
    padding: 56px 0 20px;
  }

  .site-footer__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 32px;
  }

  .site-footer__brand {
    grid-column: span 2;
  }

  /* ===== 公司信息居中 ===== */
  .site-footer__brand {
    align-items: center;
    text-align: center;
  }

  .site-footer__col {
    text-align: center;
  }
}

/* ====== Mobile (<=640px) ====== */
@media (max-width: 640px) {
  /* ===== 公司信息居中 ===== */
  .site-footer__brand {
    align-items: center;
    text-align: center;
  }

  .site-footer {
    padding: 48px 0 16px;
  }

  .site-footer__inner {
    gap: 32px;
    padding-bottom: 32px;
  }

  .footer-logo {
    width: 120px;
  }

  .site-footer__col h4 {
    margin-bottom: 12px;
    font-size: 0.95rem;
  }

  .site-footer__col li {
    margin-bottom: 8px;
  }

  .site-footer__copy {
    font-size: 0.8rem;
    padding-top: 12px;
  }

  .site-footer__col {
    text-align: center;
  }

  .site-footer__copy{
    flex-direction: column;
  }
  .footer_separator{
    display: none;
  }
}

/* ====== Extra Small Devices (<=400px) ====== */
@media (max-width: 400px) {
  .footer-info {
    font-size: 0.85rem;
  }

  .site-footer__col a {
    font-size: 0.85rem;
  }

  /* ===== 公司信息居中 ===== */
  .site-footer__brand {
    align-items: center;
    text-align: center;
  }

  .site-footer__col {
    text-align: center;
  }

  .site-footer__copy{
    flex-direction: column;
  }
  .footer_separator{
    display: none;
  }
}

/* ------------------------------------------------------*/

/* 淡入向上动画效果 */

.fade-up {
  opacity: 0;
  transform: translateY(2.5rem); /* 40px */
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
  will-change: opacity, transform;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
