html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.text-gradient {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.content-auto {
  content-visibility: auto;
}

/* Apple风格导航栏下拉菜单 */
.apple-nav-item:hover .apple-dropdown {
  opacity: 1;
  visibility: visible;
}

.apple-dropdown {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.apple-nav-item:hover ~ .apple-dropdown-bg,
.apple-nav-item:hover .apple-dropdown-bg {
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
}

/* 服务卡片动画 */
.service-card:hover .fa-arrow-right {
  transform: translateX(4px);
  transition: transform 0.3s ease;
}

.service-card .fa-arrow-right {
  transition: transform 0.3s ease;
}

/* 解决方案卡片动画 */
.solution-card:hover .fa-chevron-right {
  transform: translateX(4px);
  transition: transform 0.3s ease;
}

.solution-card .fa-chevron-right {
  transition: transform 0.3s ease;
}

.nav-dropdown {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transform-origin: top center;
  pointer-events: none;
}

.nav-dropdown:not(.invisible) {
  pointer-events: auto;
}

.dropdown-item {
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  transform: translateY(-2px);
}

.nav-content {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}