/* ========================================
   首页专用样式
   ======================================== */

/* Hero Banner - 非传统全屏布局 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.2;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: var(--pure-white);
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 35px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-img-main {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--light-blue);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 5px;
}

/* 核心优势板块 - 独特卡片布局 */
.features {
    background: var(--light-gray);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--pure-white);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-8px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--accent-blue), var(--deep-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--pure-white);
}

.feature-title {
    font-size: 1.4rem;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.feature-desc {
    color: var(--medium-gray);
    line-height: 1.8;
}

/* 快速入口 - 横向滚动设计 */
.quick-access {
    background: linear-gradient(135deg, var(--dark-gray) 0%, #2C3E50 100%);
    padding: 80px 0;
}

.access-scroll {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-blue) var(--dark-gray);
}

.access-scroll::-webkit-scrollbar {
    height: 6px;
}

.access-scroll::-webkit-scrollbar-track {
    background: var(--dark-gray);
}

.access-scroll::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 3px;
}

.access-item {
    min-width: 280px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.access-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.access-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--light-blue);
}

.access-title {
    color: var(--pure-white);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.access-link {
    color: var(--accent-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.access-link:hover {
    gap: 12px;
}

/* 首页资讯列表 */
.home-news {
    background: var(--pure-white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* 产品中心预览 - 热门产品系列 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.product-card {
    background: var(--pure-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-blue);
}

.product-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--accent-blue), var(--deep-blue));
    color: var(--pure-white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-info {
    padding: 28px;
}

.product-category {
    display: inline-block;
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.product-name {
    font-size: 1.35rem;
    color: var(--dark-gray);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.product-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.product-specs li {
    color: var(--medium-gray);
    font-size: 0.9rem;
    line-height: 1.8;
    padding-left: 18px;
    position: relative;
}

.product-specs li::before {
    content: '•';
    color: var(--accent-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.product-footer {
    padding-top: 18px;
    border-top: 1px solid #f0f0f0;
}

.product-link {
    color: var(--accent-blue);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.product-link:hover {
    gap: 12px;
}

/* 资讯列表项样式 */
.news-list-item {
    background: var(--pure-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.news-list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-blue);
}

.news-list-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
}

.news-list-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-list-date {
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.news-list-title {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.news-list-excerpt {
    color: var(--medium-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 18px;
    flex: 1;
}

.news-list-more {
    color: var(--accent-blue);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
    align-self: flex-start;
}

.news-list-more:hover {
    gap: 12px;
}

/* ========================================
   响应式适配
   ======================================== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        max-width: 500px;
        margin: 40px auto 0;
    }

    .hero-img-main {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}
