/* --- 首页专属样式 --- */

/* Hero Banner */
.hero {
    position: relative;
    height: 650px;
    overflow: hidden;
    color: #fff;
}
.hero-banner {
    position: relative;
    width: 100%;
    height: 100%;
}
.hero-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
}
.hero-slide.active {
    opacity: 1;
    z-index: 1;
}
.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}
.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
    line-height: 1.25;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.hero-content p {
    font-size: 18px;
    margin-bottom: 36px;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
}
.hero-actions { display: flex; gap: 18px; }
.hero-indicators {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}
.hero-indicators .indicator {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: 0.3s;
}
.hero-indicators .indicator.active,
.hero-indicators .indicator:hover {
    background: #fff;
    transform: scale(1.2);
}

/* Section 通用 */
.section-title-center {
    text-align: center;
    margin-bottom: 48px;
}
.section-title-center h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
}

/* 首页板块背景：半透明渐变 + 柔光色斑，衬托毛玻璃卡片的 backdrop-filter 效果 */
.core-tech, .solutions, .products, .honors, .articles {
    position: relative;
    background:
        radial-gradient(circle at 12% 18%, rgba(0, 160, 233, 0.15) 0%, transparent 36%),
        radial-gradient(circle at 88% 82%, rgba(0, 86, 179, 0.11) 0%, transparent 38%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.25) 100%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 30px;
    padding: 80px 40px;
    margin-bottom: 40px;
    box-shadow: 0 15px 35px -8px rgba(0, 0, 0, 0.06);
}

/* 核心技术：紧邻 Hero 轮播，加大上边距留出呼吸空间 */
.core-tech { margin-top: 60px; }

/* 核心技术 */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.glass-tech-box { padding: 40px 24px; text-align: center; }
.glass-tech-box .tech-icon-wrap {
    width: 68px; height: 68px; margin: 0 auto 20px;
    color: white; font-size: 28px;
    background: linear-gradient(150deg, #90caf9, #42a5f5);
}
.glass-tech-box h3 { font-size: 18px; margin-bottom: 10px; color: #333; font-weight: 600; }
.glass-tech-box p { font-size: 14px; color: #666; line-height: 1.6; }

/* 解决方案 */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.solution-card { padding: 40px; text-align: left; }
.solution-icon-wrap {
    width: 56px; height: 56px; margin-bottom: 24px;
    color: #00a0e9; font-size: 24px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    display: flex; justify-content: center; align-items: center;
    box-shadow: 0 6px 12px rgba(0,0,0,0.05);
}
.solution-card h3 { font-size: 20px; margin-bottom: 12px; font-weight: 600; }
.solution-card p { font-size: 15px; color: #555; line-height: 1.8; margin-bottom: 24px; }

/* 热门产品 */
.product-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px;
}
.product-header h2 { font-size: 28px; font-weight: 700; color: #1a1a1a; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.product-card-link .product-card {
    overflow: hidden;
    padding: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card-link:hover .product-card {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -8px rgba(0,0,0,0.15);
}
.product-img {
    height: 200px; position: relative; background: #fff;
    border-radius: 30px 30px 0 0; overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card-link:hover .product-img img { transform: scale(1.05); }
.product-tag {
    position: absolute; top: 12px; right: 12px;
    background: #ff4d4f; color: white; font-size: 11px; padding: 3px 10px; border-radius: 6px;
}
.product-info { padding: 18px 22px 22px; }
.product-info .author { font-size: 12px; color: #888; display: block; margin-bottom: 6px; }
.product-info h4 { font-size: 16px; font-weight: 500; margin-bottom: 16px; line-height: 1.4; }
.product-bottom { display: flex; justify-content: space-between; align-items: center; }
.product-price { font-size: 20px; font-weight: 700; color: #333; }
.buy-btn {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.6); border: none;
    display: inline-flex; justify-content: center; align-items: center;
    cursor: pointer; color: #555; transition: 0.3s;
}
.buy-btn:hover { background: #00a0e9; color: white; }

/* 热门资讯 */
.articles-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px;
}
.articles-header h2 { font-size: 28px; font-weight: 700; color: #1a1a1a; }
.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.article-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.article-card {
    display: flex;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 28px -6px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.article-card-link:hover .article-card {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px -6px rgba(0,0,0,0.12);
}
.article-img {
    width: 240px;
    min-height: 180px;
    flex-shrink: 0;
    overflow: hidden;
}
.article-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
}
.article-card-link:hover .article-img img { transform: scale(1.05); }
.article-info {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
}
.article-info h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-summary {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #999;
}
.article-meta i { margin-right: 4px; }

/* 响应式 */
@media (max-width: 992px) {
    .hero { height: 420px; }
    .hero-content h1 { font-size: 36px; }
    .tech-grid, .solutions-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
    .articles-grid { grid-template-columns: 1fr; }
    .article-img { width: 200px; min-height: 150px; }
}

@media (max-width: 768px) {
    .hero { height: 360px; }
    .hero-content h1 { font-size: 28px; }
    .hero-content p { font-size: 15px; }
    .tech-grid, .solutions-grid, .product-grid { grid-template-columns: 1fr; }
    .article-card { flex-direction: column; }
    .article-img { width: 100%; min-height: 160px; }
    .core-tech, .solutions, .products, .honors, .articles { padding: 60px 20px; margin-bottom: 24px; }
}

/* ============================================================
   企业荣誉 - 证书左右轮播
   ============================================================ */
.honor-carousel {
    position: relative;
    overflow: hidden;
    padding: 0 50px;
}
.honor-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}
.honor-card {
    flex: 0 0 300px;
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.honor-card img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    border-radius: 10px;
    background: #fafafa;
    border: 1px solid rgba(0, 86, 179, 0.08);
    transition: transform 0.3s;
}
.honor-card:hover img {
    transform: scale(1.03);
}
.honor-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 6px;
}
.honor-info p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}
.honor-prev, .honor-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 86, 179, 0.15);
    color: #0056b3;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 2;
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.1);
}
.honor-prev { left: 6px; }
.honor-next { right: 6px; }
.honor-prev:hover, .honor-next:hover {
    background: linear-gradient(135deg, #0056b3, #004494);
    color: #fff;
    box-shadow: 0 6px 16px -3px rgba(0, 86, 179, 0.4);
}
.honor-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}
.honor-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 86, 179, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}
.honor-dot.active {
    background: #0056b3;
    width: 24px;
    border-radius: 4px;
}
