/* Hero区域 */
.hero {
    /* 默认桌面端背景图片 */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/assets/img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* 视差滚动效果 */
    height: 80vh;
    min-height: 500px; /* 确保最小高度 */
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    margin-top: 80px;
    position: relative;
}

/* 高分辨率屏幕优化 */
@media (min-width: 1920px) {
    .hero {
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/assets/img/hero-bg-2k.jpg');
    }
}

/* 超宽屏优化 */
@media (min-aspect-ratio: 21/9) {
    .hero {
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/assets/img/hero-bg-wide.jpg');
    }
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 公司简介 */
.company-intro {
    padding: 80px 0;
    background-color: #f9f9f9;
}

/* 产品动态区域 */
.product-news {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #eef2ff 100%);
}

.product-news h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
    color: #2A5FCC;
    position: relative;
}

.product-news h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #2A5FCC;
    margin: 10px auto 0;
}

.news-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.news-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.news-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}

.news-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.news-features {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.feature-tag {
    background: #eef2ff;
    color: #2A5FCC;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.news-image {
    flex: 0 0 300px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .product-news {
        padding: 50px 0;
    }
    
    .product-news h2 {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    
    .news-card {
        flex-direction: column;
        margin: 0 15px;
        border-radius: 12px;
    }
    
    .news-badge {
        top: 15px;
        left: 15px;
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .news-image {
        flex: none;
        height: 200px;
        order: 1;
    }
    
    .news-content {
        padding: 25px 20px;
        order: 2;
    }
    
    .news-content h3 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .news-content p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    .news-features {
        margin-bottom: 20px;
        justify-content: center;
    }
    
    .feature-tag {
        font-size: 0.8rem;
        padding: 4px 10px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .product-news {
        padding: 40px 0;
    }
    
    .product-news h2 {
        font-size: 1.4rem;
    }
    
    .news-card {
        margin: 0 10px;
    }
    
    .news-image {
        height: 180px;
    }
    
    .news-content {
        padding: 20px 15px;
    }
    
    .news-content h3 {
        font-size: 1.3rem;
    }
    
    .news-content p {
        font-size: 0.95rem;
    }
    
    .news-features {
        gap: 8px;
    }
}

.company-intro .container h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: #2A5FCC;
}

.company-intro .intro-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.company-intro .intro-content p {
    text-align: justify;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-indent: 2em;
}

.company-intro .intro-content p:last-child {
    margin-bottom: 0;
}


/* 产品精选 */
.featured-products {
    padding: 80px 0;
    background-color: #fff;
}

.featured-products .container h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
    color: #2A5FCC;
}

.featured-products .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* 首页专属产品卡片样式 */
.featured-products .product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    border: 2px solid #f0f5ff;
}

.featured-products .product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(42, 95, 204, 0.2);
    border-color: #2A5FCC;
}

.featured-products .product-card img {
    width: auto;
    height: auto;
    object-fit: cover;
}

.featured-products .product-card h3 {
    margin: 20px 0 10px;
    font-size: 1.5rem;
    color: #2A5FCC;
}

.featured-products .product-card p {
    padding: 0 20px;
    margin-bottom: 20px;
    color: #666;
    flex-grow: 1;
}

.featured-products .product-card .btn {
    margin: 0 20px 20px;
}