@layer utilities {
  .content-auto {
    content-visibility: auto;
  }
  .text-shadow {
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  .transition-custom {
    transition: all 0.3s ease;
  }
  .pulse-animation {
    animation: pulse 2s infinite;
  }
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
  }
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #165DFF;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0E42D2;
}

/* 平滑滚动 */
html {
  scroll-behavior: smooth;
}

/* 导航栏样式 */
.navbar-scrolled {
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* 常见问题展开动画 */
.faq-content {
  transition: all 0.3s ease;
}

.faq-toggle.active .fa-chevron-down {
  transform: rotate(180deg);
}

/* 响应式图片 */
img {
  max-width: 100%;
  height: auto;
}

/* 打印样式 */
@media print {
  .no-print {
    display: none !important;
  }
}