/* =================================
   PsychFlow Premium Styles
   高级感设计样式表
   ================================= */

/* 基础样式重置 */
body {
    min-height: 1024px;
    font-family: 'Inter', sans-serif;
}

/* =================================
   导航栏样式
   ================================= */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #4299E1;
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* =================================
   动画效果
   ================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* 增强卡片悬停效果 */
.hover-card {
    transition: all 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 实验卡片点击增强样式 */
.hover-card[onclick] {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.hover-card[onclick]:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.hover-card[onclick]:active {
    transform: translateY(-3px);
    transition: all 0.1s ease;
}

/* 功能特性卡片悬停效果 - 更温和 */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* =================================
   按钮增强效果
   ================================= */
.btn-enhanced {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-enhanced:hover::before {
    left: 100%;
}

/* 图标动画 */
.icon-bounce:hover {
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 20%, 60%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    80% {
        transform: translateY(-5px);
    }
}

/* =================================
   高级感增强样式
   ================================= */
.premium-glass {
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.premium-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.premium-text-gradient {
    background: linear-gradient(135deg, #1A202C 0%, #4299E1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.premium-border {
    position: relative;
}

.premium-border::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(135deg, #4299E1, #ED8936);
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

/* =================================
   浮动粒子效果
   ================================= */
.floating-particles {
    position: relative;
    overflow: hidden;
}

.floating-particles::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(66, 153, 225, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(237, 137, 54, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(66, 153, 225, 0.2) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* =================================
   高级卡片样式
   ================================= */
.premium-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.premium-card:hover {
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* =================================
   高级按钮样式
   ================================= */
.btn-premium {
    background: linear-gradient(135deg, #4299E1 0%, #3182CE 100%);
    box-shadow: 0 4px 15px 0 rgba(66, 153, 225, 0.3);
    transition: all 0.3s ease;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(66, 153, 225, 0.4);
}

/* 直接跳转按钮 - 优化性能，减少动画 */
.btn-premium-direct {
    background: linear-gradient(135deg, #4299E1 0%, #3182CE 100%);
    box-shadow: 0 4px 15px 0 rgba(66, 153, 225, 0.3);
    transition: opacity 0.15s ease;
    cursor: pointer;
}

.btn-premium-direct:hover {
    opacity: 0.9;
}

.btn-premium-outline {
    background: transparent;
    border: 2px solid #4299E1;
    color: #4299E1;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-premium-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4299E1 0%, #3182CE 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-premium-outline:hover::before {
    left: 0;
}

.btn-premium-outline:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(66, 153, 225, 0.3);
}

/* =================================
   响应式设计
   ================================= */
@media (max-width: 768px) {
    .floating-particles::before {
        animation-duration: 30s;
    }
    
    .hover-card:hover {
        transform: translateY(-4px);
    }
    
    .btn-premium:hover,
    .btn-premium-outline:hover {
        transform: translateY(-1px);
    }
} 