/* 导航链接样式 */
.nav-link {
    position: relative;
    color: #1f2937;
    text-decoration: none;
    padding-bottom: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #3b82f6;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* 渐变文字 */
.gradient-text {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
}

/* 产品卡片3D效果 */
.product-card {
    perspective: 1000px;
    height: 300px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.product-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.card-back {
    transform: rotateY(180deg);
}

/* 即将上线标签 */
.coming-soon {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: white;
    border-radius: 9999px;
    font-size: 0.875rem;
}

/* 时间线样式 */
.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #3b82f6, #06b6d4);
}

.timeline-item {
    position: relative;
    padding-bottom: 48px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(10px);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -36px;
    top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    border: 2px solid #3b82f6;
    transition: all 0.3s ease;
    z-index: 1;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.5);
    background: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.timeline-header {
    position: relative;
    margin-bottom: 12px;
}

.timeline-body {
    padding-left: 4px;
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-body {
    border-left-color: #3b82f6;
}

.timeline-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
}

.timeline-details.show {
    max-height: 200px;
    opacity: 1;
    transform: translateY(0);
    padding: 12px 0;
}

.timeline-details p {
    margin-bottom: 8px;
    position: relative;
    padding-left: 16px;
}

.timeline-details p:last-child {
    margin-bottom: 0;
}

/* 时间轴响应式调整 */
@media (max-width: 768px) {
    .timeline {
        padding-left: 24px;
    }
    
    .timeline-dot {
        left: -28px;
        width: 16px;
        height: 16px;
    }
    
    .timeline-item {
        padding-bottom: 32px;
    }
}

/* 滚动动画类 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .timeline {
        padding-left: 24px;
    }
    
    .timeline-item::before {
        left: -24px;
        width: 12px;
        height: 12px;
    }
}

/* 卡片悬停效果 */
.coming-soon-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.coming-soon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 社交媒体图标悬停效果 */
.social-media i {
    transition: transform 0.3s ease;
}

.social-media i:hover {
    transform: scale(1.2);
}

/* 返回顶部按钮 */
#backToTop {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#backToTop:hover {
    transform: translateY(-5px);
} 

/* 功能卡片效果 */
.feature-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 0;
}

.feature-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);
}

.feature-card:hover::before {
    transform: translateY(0);
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-card img {
    transition: transform 0.3s ease;
}

.feature-card:hover img {
    transform: scale(1.05);
}

/* 使用场景卡片效果 */
.scene-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.scene-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #3b82f6, #06b6d4);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.scene-card:hover::after {
    transform: scaleX(1);
} 