/* 玻璃态导航栏 */
.nav-glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

/* Logo 呼吸动画 */
.logo-ring {
  position: relative;
  animation: ring-pulse 3s ease-in-out infinite;
}

/* 首页专用 - Swiper 轮播样式 */
.swiper {
  width: 100%;
  padding-bottom: 80px;
}

.swiper-wrapper {
  padding-top: 20px;
}

.swiper-slide {
  height: auto;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #3b82f6;
  opacity: 0.3;
  transition: all 0.3s;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  width: 32px;
  border-radius: 6px;
}

.swiper-button-next,
.swiper-button-prev {
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  top: 50%;
  transform: translateY(-50%);
}

.swiper-button-prev {
  left: 10px;
}

.swiper-button-next {
  right: 10px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px;
  font-weight: bold;
  color: #3b82f6;
}

@media (min-width: 1280px) {
  .swiper-button-prev {
    left: -60px;
  }
  .swiper-button-next {
    right: -60px;
  }
}

/* 首页专用 - 浮动动画 */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* 首页专用 - 卡片悬停效果 */
.card-modern {
  background: #ffffff;
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
  border-color: rgba(59, 130, 246, 0.2);
  position: relative;
  z-index: 10;
}

/* 产品页通用 - 卡片悬停效果 */
.card-hover:hover {
  transform: translateY(-8px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 10;
}

/* 联系卡片 - 背景模糊效果 */
.contact-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* 橙色类 - 用于学术诚信页面 */
.text-orange-600 {
  color: #ea580c;
}

.text-orange-100 {
  color: #ffedd5;
}

.bg-orange-50 {
  background-color: #fff7ed;
}

.bg-orange-100 {
  background-color: #ffedd5;
}

.hover\:text-orange-600:hover {
  color: #ea580c;
}

.hover\:bg-orange-50:hover {
  background-color: #fff7ed;
}

.from-orange-600 {
  --tw-gradient-from: #ea580c;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(234, 88, 12, 0));
}

.to-orange-500 {
  --tw-gradient-to: #f97316;
}

.from-orange-500 {
  --tw-gradient-from: #f97316;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(249, 115, 22, 0));
}

.to-orange-600 {
  --tw-gradient-to: #ea580c;
}

.text-orange-500 {
  color: #f97316;
}

.hover\:bg-orange-100:hover {
  background-color: #ffedd5;
}

.text-orange-400 {
  color: #fb923c;
}

.bg-orange-600 {
  background-color: #ea580c;
}
