﻿/* 自定义样式 */
.bg-primary-dark {
    background-color: #0d6efd !important; /* 使用Bootstrap主色 */
}
.card-hover:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}
.feature-icon {
    font-size: 2rem;
    color: #0d6efd;
}
body {
    padding-top: 86px; /* 为固定导航栏留出空间 */
}
/* 悬浮提升效果 */
.hover-lift {
    transition: all 0.3s ease;
    border-radius: 1rem;
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}
/* 图标微动效 */
.hover-lift:hover .bi {
    animation: pulse 1s ease-in-out;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
/* 响应式调整 */
@media (max-width: 768px) {
    .hover-lift {
        border-radius: 0.75rem;
    }
}
/* 深色科技风背景 */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    min-height: 600px; /* 增加高度，显得大气 */
    display: flex;
    align-items: center;
    position: relative;
    color: white;
}
/* 网格背景纹理 */
.hero-bg-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    z-index: 0;
}
/* 顶部光晕效果 */
.hero-glow {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}
/* 文字渐变色 */
.text-gradient {
    background: linear-gradient(to right, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* 玻璃拟态效果 */
.backdrop-blur-sm {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
/* 简单的入场动画 */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up { animation: fadeInUp 0.8s ease-out forwards; opacity: 0; }
.animate-fade-in-down { animation: fadeInDown 0.8s ease-out forwards; opacity: 0; }
/* 按钮悬停微调 */
.hover-lift:hover { transform: translateY(-2px); transition: all 0.2s; }