/* Custom Styles */
html { scroll-behavior: smooth; }

/* Carousel Styles */
.carousel-container {
    position: relative;
    height: 600px;
    overflow: hidden;
}
.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}
.carousel-item.active {
    opacity: 1;
    z-index: 10;
}

/* Feature Card Hover Effect */
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Identity Card Hover Effect - handled by Tailwind now */
.identity-card {
    transition: all 0.3s ease;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.4;
    }
}

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* 数据项悬停效果 */
.data-item {
    position: relative;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.data-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05) 0%, transparent 100%);
    border-radius: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.data-item:hover::before {
    opacity: 1;
}

.data-item:hover {
    transform: translateY(-5px);
}

/* 移除服务特色卡片段落的背景 */
#features p {
    background: none !important;
    background-color: transparent !important;
}

#features p::selection {
    background: transparent !important;
    background-color: transparent !important;
}

#features p::-moz-selection {
    background: transparent !important;
    background-color: transparent !important;
}
