* {
    font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Helvetica Neue", Arial, sans-serif !important;
}

.gradient-bg {
    background: linear-gradient(135deg, #e0f14c 0%, #71fd46 100%);
}

.hero-bg {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

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

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-direction: row;
}

.logo-text {
    font-weight: 600;
    color: white;
}

.nav-link:hover .nav-indicator {
    width: 100% !important;
}

/* 文本截断样式 */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 移动端优化样式 */
@media (max-width: 768px) {
    /* 导航栏移动端优化 */
    .logo-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .logo-text {
        font-size: 0.875rem;
        margin-left: 0;
    }
    
    /* 文章卡片移动端优化 */
    .article-card .flex {
        flex-direction: column;
        gap: 1rem;
    }
    .article-card .flex-shrink-0 {
        align-self: center;
    }
    .article-card .flex-shrink-0 img {
        width: 100%;
        height: 12rem;
        max-width: 20rem;
    }
    
    /* 英雄区域移动端优化 */
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    /* 视频容器移动端优化 */
    .video-container {
        margin: 0 -1rem;
    }
    
    .video-wrapper {
        border-radius: 1rem;
    }
    
    /* 功能模块移动端优化 */
    .feature-module {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-module h3 {
        font-size: 1.25rem;
    }
    
    .feature-module p {
        font-size: 0.9rem;
    }
    
    /* 商品卡片移动端优化 */
    .product-card {
        min-height: 350px;
        padding: 1rem;
    }
    
    .product-card h3 {
        font-size: 1.1rem;
    }
    
    .product-card p {
        font-size: 0.85rem;
    }
    
    /* 按钮移动端优化 */
    .btn-mobile {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* 间距优化 */
    .section-padding {
        padding: 2rem 0;
    }
    
    /* 文字大小优化 */
    .text-responsive {
        font-size: 0.9rem;
    }
    
    .text-responsive-lg {
        font-size: 1.1rem;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .card-hover:hover {
        transform: none;
    }
    
    .card-hover:active {
        transform: scale(0.98);
    }
    
    /* 增加触摸目标大小 */
    .touch-target {
        min-height: 44px;
        min-width: 44px;
    }
}

/* 文章卡片优化 */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* 商品卡片布局优化 */
.pricing-card {
    min-height: 500px; /* 设置最小高度 */
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease; /* 添加过渡效果 */
}

.pricing-card .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pricing-card .features-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.pricing-card .features-list {
    flex: 1;
    min-height: 200px; /* 确保特性列表有最小高度 */
}

.pricing-card .button-section {
    margin-top: auto; /* 按钮始终在底部 */
}

/* 商品卡片悬停效果 */
.pricing-card:hover {
    transform: translateY(-5px); /* 向上移动 */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3); /* 增强阴影 */
    border: 2px solid #10b981; /* 绿色边框 */
}

/* 响应式设计 */
@media (max-width: 768px) {
    .pricing-card {
        min-height: auto; /* 移动端取消最小高度限制 */
    }
}

/* 文章卡片样式 */
.article-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 102, 0.1);
}

.article-card:hover .article-title {
    color: #10b981;
}

.article-card:hover .article-arrow {
    color: #10b981;
    transform: translateX(4px);
}

.article-arrow {
    transition: all 0.3s ease;
}

/* 加载动画 */
.loading-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
