/* ======= 新版首页专用样式 ======= */

/* Hero Section - 全屏沉浸式 + 货车背景图 */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/index/hero-bg.jpg') center center / cover no-repeat;
    overflow: hidden;
}

/* 深色渐变遮罩 - 让文字清晰可读 */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(15,41,56,0.88) 0%,
        rgba(10,46,35,0.75) 40%,
        rgba(42,90,122,0.55) 100%
    );
}

/* 科技光效叠加层 */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 60% 40% at 20% 50%, rgba(4,203,148,0.12) 0%, transparent 55%),
        radial-gradient(ellipse 45% 35% at 75% 25%, rgba(4,203,148,0.08) 0%, transparent 50%);
}

/* 底部波浪装饰 */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    z-index: 2;
    pointer-events: none;
}

.hero-wave svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 900px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(4,203,148,0.2);
    border: 1px solid rgba(4,203,148,0.4);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: var(--brand-accent);
    font-size: 16px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-title span {
    background: linear-gradient(90deg, #fff 0%, var(--brand-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 45px;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-hw {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #03a67a 100%);
    color: #fff;
    padding: 16px 42px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(4,203,148,0.3);
}

.btn-primary-hw:hover {
    background: linear-gradient(135deg, #03a67a 0%, var(--brand-primary) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(4,203,148,0.4);
    color: #fff;
}

.btn-secondary-hw {
    background: rgba(255,255,255,0.08);
    color: #fff;
    padding: 16px 42px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    border: 1.5px solid rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.btn-secondary-hw:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.6);
    color: #fff;
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 80px;
    padding-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.2);
}

.stat-number {
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    background: linear-gradient(180deg, #fff 0%, var(--brand-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 滚动动画 */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-indicator i {
    font-size: 28px;
    color: rgba(255,255,255,0.7);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-12px); }
    60% { transform: translateX(-50%) translateY(-6px); }
}

/* Section 通用样式 */
.section-hw {
    padding: 100px 0 130px 0;
}

.section-title-hw {
    text-align: center;
    margin-bottom: 70px;
}

.section-title-hw h2 {
    font-size: 42px;
    font-weight: 700;
    color: #04cb94;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.section-title-hw p {
    font-size: 17px;
    color: #666;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 价值主张卡片 - 全新设计 */
.value-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.value-card {
    padding: 50px 40px;
    text-align: left;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: #fff;
}

.value-card:not(:last-child) {
    border-right: 1px solid rgba(4,203,148,0.15);
}

/* 背景装饰数字 */
.value-card .bg-num {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 72px;
    font-weight: 700;
    color: rgba(4,203,148,0.08);
    line-height: 1;
    font-family: 'Inter', sans-serif;
    transition: color 0.4s;
}

.value-card:hover .bg-num {
    color: rgba(4,203,148,0.15);
}

/* 底部渐变条 */
.value-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 40px;
    width: 40px;
    height: 3px;
    background: var(--brand-primary);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card:hover::after {
    width: 80px;
}

/* 图标 - 线条风格SVG */
.value-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.value-icon svg {
    width: 40px;
    height: 40px;
    transition: transform 0.4s;
}

.value-icon svg,
.value-icon svg path,
.value-icon svg circle,
.value-icon svg rect,
.value-icon svg line,
.value-icon svg polyline {
    stroke: #04cb94 !important;
}

.value-icon svg [fill="#04cb94"],
.value-icon svg [fill*="04cb94"] {
    fill: #04cb94 !important;
}

.value-card:hover .value-icon svg {
    transform: scale(1.15);
}

.value-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.value-card p {
    font-size: 14px;
    color: #777;
    line-height: 1.75;
    position: relative;
    z-index: 1;
}

/* 产品展示区 */
.products-section {
    background: #fff;
    padding: 20px 0 100px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0,0,0,0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(4,203,148,0.12);
    border-color: var(--brand-primary);
}

.product-image {
    height: 240px;
    background: linear-gradient(135deg, #f0f5f8 0%, #e5edf3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, rgba(255,255,255,0.8));
}

.product-image img {
    max-width: 75%;
    max-height: 75%;
    object-fit: contain;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--brand-accent) 0%, #e8910a 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(243,151,0,0.3);
}

.product-info {
    padding: 32px;
}

.product-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.product-info h4 {
    font-size: 14px;
    color: var(--brand-primary);
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.product-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.75;
    margin-bottom: 22px;
}

.product-link {
    color: var(--brand-primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s, color 0.3s;
    font-size: 15px;
}

.product-link:hover {
    gap: 14px;
    color: #1a1a1a;
}

.product-link i {
    transition: transform 0.3s;
}

.product-link:hover i {
    transform: translateX(4px);
}

/* 系统展示区 */
.system-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f6e54 50%, #0a2e23 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 130px 0 100px 0;
}

.system-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.system-section .section-title-hw h2 {
    color: #fff;
}

.system-section .section-title-hw p {
    color: rgba(255,255,255,0.7);
}

.system-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.system-feature {
    background: rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 32px 28px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.system-feature:hover {
    background: rgba(4,203,148,0.15);
    border-color: rgba(4,203,148,0.4);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.system-feature i {
    font-size: 36px;
    color: var(--brand-light);
    margin-bottom: 20px;
    display: block;
}

.system-feature svg {
    width: 36px;
    height: 36px;
    stroke: var(--brand-light);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-bottom: 20px;
    display: block;
}

.system-feature h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

.system-feature p {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    line-height: 1.65;
}

/* ===== 应用行业 - 网格卡片 ===== */
.application-section {
    background: #f5f7fa;
    padding: 100px 0;
    position: relative;
}

.application-section .section-title-hw {
    text-align: center;
    margin-bottom: 60px;
}

.application-section .section-title-hw h2 {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 18px;
}

.application-section .section-title-hw p {
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.app-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.app-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.app-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.app-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.app-card:hover .app-card-img img {
    transform: scale(1.05);
}

.app-card-info {
    padding: 24px;
    text-align: center;
}

.app-card-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.app-card-info span {
    display: block;
    font-size: 13px;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

/* ===== 新闻中心 - 白底简洁风 ===== */
.news-section {
    background: linear-gradient(180deg, #f8f9fb 0%, #f0f2f5 100%);
    padding: 100px 0;
}

.news-section .section-title-hw h2,
.news-section .section-title-hw h2 a {
    color: #1a1a1a !important;
}

.news-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.news-col h3 {
    font-size: 22px;
    font-weight: 700;
    color: #04cb94;
    margin-bottom: 28px;
    padding-bottom: 14px;
    border-bottom: 2px solid rgba(4,203,148,0.25);
    display: inline-block;
}

.news-col h3 a {
    color: #04cb94;
    text-decoration: none;
}

.news-col h3 a:hover {
    color: var(--brand-primary);
}

/* 模板 indexrowlist 资讯/技术标题 */
.indexrowlist h3.title a {
    color: #04cb94;
    text-decoration: none;
}

.indexrowlist h3.title {
    margin-bottom: 40px !important;
}

/* 模板动态生成的日期 span（内联 float:right） */
.indexrowlist li span {
    color: #999 !important;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-list li {
    padding: 0;
    border-bottom: 1px dashed rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.news-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-list li:last-child {
    border-bottom: none;
}

.news-list li a:hover {
    padding-left: 8px;
}

.news-list li a:hover .news-title {
    color: var(--brand-primary);
}

.news-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.news-dot {
    width: 6px;
    height: 6px;
    background: var(--brand-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.news-title {
    font-size: 15px;
    color: #444;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s;
}

.news-date {
    font-size: 13px;
    color: #999 !important;
    flex-shrink: 0;
    margin-left: 16px;
}

/* CTA Section - 背景图 */
.cta-section {
    background: url('../img/zx.jpg') center/cover no-repeat;
    padding: 120px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* 暗色遮罩，确保文字可读 */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.cta-section h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 17px;
    opacity: 0.85;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.btn-white-hw {
    background: #fff;
    color: var(--brand-primary);
    padding: 18px 52px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    position: relative;
    box-shadow: 0 4px 25px rgba(0,0,0,0.15);
}

.btn-white-hw:hover {
    background: var(--brand-primary);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* Back to top */
.back-to-top-new {
    position: fixed;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, #03a67a 100%);
    color: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 30px;
    bottom: 30px;
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(4,203,148,0.35);
}

.back-to-top-new.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top-new:hover {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f6e54 100%);
    transform: translateY(-5px) rotate(5deg);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.back-to-top-new i {
    font-size: 20px;
}


/*--------------------------------------------------------------
# 响应式 - 首页专用
--------------------------------------------------------------*/

@media (max-width: 1200px) {
    .value-cards, .system-features {
        grid-template-columns: repeat(2, 1fr);
    }
    .value-card:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid rgba(4,203,148,0.15);
    }
    .scenarios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 44px;
    }
    .stat-item:not(:last-child)::after {
        display: none;
    }
    .app-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .application-section { padding: 80px 0; }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    .hero-subtitle {
        font-size: 15px;
    }
    .hero-stats {
        flex-direction: column;
        gap: 25px;
    }
    .stat-number {
        font-size: 40px;
    }
    .value-cards, .products-grid, .system-features, .scenarios-grid {
        grid-template-columns: 1fr;
    }
    .value-card {
        padding: 40px 30px;
        text-align: center;
    }
    .value-card::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .value-card:hover::after {
        width: 60px;
    }
    .value-icon {
        margin-left: auto;
        margin-right: auto;
    }
    .section-hw {
        padding: 70px 0;
    }
    .section-title-hw h2 {
        font-size: 30px;
    }
    .cta-section h2 {
        font-size: 28px;
    }
    .news-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .app-grid {
        grid-template-columns: 1fr;
    }
}

/* ======= 首页 Footer 友情链接区域 ======= */

.footer-friends {
    padding: 28px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.friends-section {
    max-width: 100%;
}

.friends-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.friends-row + .friends-row {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.friends-label {
    flex-shrink: 0;
    min-width: 68px;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-primary);
    padding-top: 4px;
    letter-spacing: 0.5px;
}

.friends-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.friends-tag {
    display: inline-block;
    padding: 3px 10px;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 3px;
    transition: all 0.25s;
    white-space: nowrap;
    cursor: default;
}

.friends-tag:hover {
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
}

.friends-links {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 6px;
}

.friends-link {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: all 0.25s;
    white-space: nowrap;
}

.friends-link:hover {
    color: var(--brand-primary);
    text-decoration: none;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .friends-row {
        flex-direction: column;
        gap: 10px;
    }
    .friends-label {
        min-width: auto;
        padding-top: 0;
    }
    .friends-tags {
        gap: 6px;
    }
    .friends-links {
        column-gap: 14px;
    }
}
