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: 50px;
  background: rgba(255, 255, 255, 0.05); /* 增加透明度 */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* 调整边框透明度 */
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 60px;
  transition: background 0.3s ease;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.05);
}
.logo {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  width: 100px;
  height: 100%;
  overflow: hidden;
  margin-right: 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% - 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 1px 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 4px 4px 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: 0px 25px;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 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: -5px;
  left: 0;
  width: 0;
  height: 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: 24px;
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 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 1px 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;
}

.nav-lang:hover {
  transform: translateY(-2px);
}

.nav-lang img {
  width: 22px;
  height: 22px;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  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: 50px 80px 56px;
  transform: translateY(-100%);
  background: #fff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.05);
  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: 1200px;
  margin: 0 auto;
}

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

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

.header-panel .model-list {
  display: flex;
  gap: 16px;
}

.header-panel .model-item {
  width: 200px;
  height: 200px;
  overflow: hidden;
  display: flex;
  gap: 16px;
  align-items: center;
  /* padding: 16px; */
  border-radius: 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(-4px);
  /* background: rgba(37, 99, 235, 0.08); */
}

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

.header-panel .model-thumb {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 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: 18px;
  font-weight: 600;
  max-width: 140px;
  line-height: 18px;
  margin-bottom: 4px;
  position: absolute;
  top: 20px;
  left: 20px;
  letter-spacing: 0.12em;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.35);
}

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

.header-panel-technology .model-name,
.header-panel-company .model-name {
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
/* ======================= 导航下拉面板 End ======================= */












/* ------------------------ 底部导航栏---------------------*/
/* .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);
}

/* ========================================= */
/* ========== 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 {
    grid-template-columns: 1fr;
    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;
  }
}

/* ====== 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;
  }
}

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



/* 淡入向上动画效果 */
.fade-up {
  opacity: 0;
  transform: translateY(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);
}