@layer utilities {
    .content-auto {
        content-visibility: auto;
    }

    .text-shadow-sm {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .card-hover {
        @apply transition-all duration-300 hover:-translate-y-2 hover:shadow-lg hover:border-accent;
    }

    .tab-active {
        @apply bg-secondary text-white border-secondary shadow-md shadow-secondary/15;
    }

    .fade-in {
        animation: fadeIn 0.5s ease;
    }

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

body {
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.7;
}

/* 产品特性列表伪元素 */
.product-feature-item::before {
    content: "\f00c";
    font-family: "FontAwesome";
    color: #00c2cb;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.9rem;
}

/* 导航激活下划线 */
.nav-active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ffe500;
    border-radius: 3px;
}

.bg-gradient-blue {
    background: linear-gradient(135deg, #00316e 0%, #0a5cad 100%);
}

/* 标题下划线 */
.title-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background-color: #00c2cb;
}

/* 页脚标题下划线 */
.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #00c2cb;
}

/* 产品图片缩放效果 */
.product-img img {
    transition: transform 0.3s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.08);
}
/* 新增 fade-in 动画（如果原有样式没有的话） */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

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

/* 标签激活状态样式 */
.tab-active {
    background-color: #2563eb !important; /* 示例色，可根据你的accent色调整 */
    color: white !important;
    border-color: #2563eb !important;
}

/* 产品特性项样式 */
.product-feature-item::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}
.hover:shadow-lg hover {

}
