/* 基础样式 */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
}

/* 自定义工具类 */
.content-auto {
    content-visibility: auto;
}

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

.transition-transform-opacity {
    transition-property: transform, opacity;
}

.scale-up-hover {
    transition: all 0.3s ease;
}

.scale-up-hover:hover {
    transform: scale(1.05);
}

.card-shadow {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
}

/* 轮播图样式 */
.carousel-item {
    display: none;
    animation: fadeIn 0.8s ease-in-out;
}

.carousel-item.active {
    display: block;
}

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

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

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

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

/* 页面切换动画 */
.page {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    display: none;
}

.page.active {
    opacity: 1;
    transform: translateY(0);
    display: block;
    animation: pageFadeIn 0.8s ease-out;
}

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

/* 语言切换样式 */
.language-options {
    display: flex;
    align-items: center;
    gap: 6px;
}

.language-option {
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.language-option.active {
    background-color: #165DFF;
    color: white;
}

/* 产品轮播样式 */
.carousel-container {
    display: flex;
}

.carousel-slide {
    min-width: 100%;
    transition: transform 0.5s ease;
}

/* 轮播指示器样式 */
.carousel-indicator {
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    transform: scale(1.3);
}
    