   
          /* 自定义动画和过渡效果 */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.6; box-shadow: 0 0 20px rgba(59, 130, 246, 0.6); }
    50% { opacity: 1; box-shadow: 0 0 40px rgba(59, 130, 246, 0.8); }
}

/* 导航栏悬停效果 */
nav a:hover {
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

/* 卡片悬停效果 */
.hover-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* 按钮悬停效果 */
.btn-hover {
    transition: all 0.3s ease;
}

.btn-hover:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* 渐变背景动画 */
.gradient-bg {
    background: linear-gradient(45deg, #1e40af, #3b82f6, #60a5fa, #93c5fd);
    background-size: 400% 400%;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

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

/* 响应式图片 */
.responsive-img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* 加载动画 */
.loading {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

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

/* 延迟加载动画 */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* 特殊按钮样式 */
.special-btn {
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.special-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.special-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* 文字渐变效果 */
.text-gradient {
    background: linear-gradient(45deg, #3b82f6, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 边框动画效果 */
.border-animate {
    position: relative;
}

.border-animate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: inherit;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    pointer-events: none;
}

.border-animate:hover::before {
    animation: borderPulse 2s ease-in-out infinite;
}

@keyframes borderPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* 深色模式适配 */
@media (prefers-color-scheme: dark) {
    .dark\:bg-gray-900 { background-color: #111827; }
    .dark\:text-white { color: #ffffff; }
    .dark\:text-gray-300 { color: #d1d5db; }
}

/* 打印样式 */
@media print {
    nav, footer {
        display: none !important;
    }
    
    body {
        background: white !important;
    }
}
        