/* 说明：文末多处 @media (max-width: 1200px) 与 common.css :root --site-max-width 同数值；CSS 无法在媒体条件中使用 var()。 */

/* —— 通用工具类：文本超出省略号 —— */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
}

/* 首屏区域 */
.hero-section {
    display: block;
    background: #f8f9fa;
    position: relative;
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    text-align: center;
    transition: height 0.3s ease; /* 添加过渡效果 */
}

/* Banner 图：默认四边铺满容器（与原满屏一致）；仅当容器与图比例不一致时由 cover 裁切（多端高度变化时常表现为裁左右两侧） */
.banner-slider .static-banner {
	display: block;
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	pointer-events: none;
}

.banner-title {
    font-size: 32px;
    color: #fff;
    text-align: center;
    font-weight: bold;
    letter-spacing: 4px;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    pointer-events: none;
    transition: all 0.3s ease; /* 添加过渡效果 */
}
.banner-container {
    height: 100%;
}

.banner-slides {
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
	z-index: 2;
    width: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	pointer-events: auto;
}

.slide-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.slide-content p {
    font-size: 24px;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: #1d4ed8;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background: #1e40af;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background: #fff;
}

/* 响应式样式 - 首屏区域 */
@media (max-width: 992px) {
    .banner-slider {
        height: 300px;
    }
    
    .banner-title {
        font-size: 28px;
        letter-spacing: 3px;
    }
}

@media (max-width: 768px) {
    .banner-slider {
        height: 250px;
    }
    
    .banner-title {
        font-size: 24px;
        letter-spacing: 2px;
        top: 20px;
    }
    
    .slide-content h2 {
    font-size: 35px;
    margin-bottom: 15px;
    }
    
    .slide-content p {
    margin-bottom: 15px;
    }
    
    .btn-primary {
    padding: 8px 15px;
    }
}

@media (max-width: 480px) {
    .banner-slider {
        height: 200px;
    }
    .banner-title {
        font-size: 20px;
        letter-spacing: 1px;
        top: 15px;
    }
    .slide-content h2 {
    font-size: 30px;
    margin-bottom: 10px;
    }
    .slide-content p {
    font-size: 18px;
}
}

/*首页内容居中*/
.container {
    max-width: var(--site-max-width);
    margin: 0 auto;
}

/* 数据看板 */
.dashboard {
    background: #fff;
    padding: 35px 0;
}

.dashboard-container {
    max-width: var(--site-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 15px;
}

.stat-card {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: #f0f7ff;
}

.stat-card h3 {
    color: #666;
    font-size: 16px;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.stat-card:hover h3 {
    color: #333;
}

.stat-card .number {
    font-size: 36px;
    font-weight: bold;
    color: #1d4ed8;
    transition: all 0.3s ease;
}

.stat-card:hover .number {
    color: #1e40af;
    transform: scale(1.05);
}

/* 响应式样式 - 数据看板 */
@media (max-width: 1200px) {
    .dashboard-container {
        gap: 15px;
    }
    
    .stat-card {
        padding: 18px;
    }
    
    .stat-card .number {
        font-size: 32px;
    }
}

@media (max-width: 992px) {
    .dashboard {
        padding: 30px 0;
    }
    
    .dashboard-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-card h3 {
        font-size: 15px;
    }
    
    .stat-card .number {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .dashboard {
        padding: 25px 0;
    }
    
    .dashboard-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .stat-card {
        padding: 12px;
    }
    
    .stat-card h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .stat-card .number {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .dashboard {
        padding: 20px 0;
    }
    
    .dashboard-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .stat-card {
        padding: 10px;
        border-radius: 6px;
    }
    
    .stat-card h3 {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .stat-card .number {
        font-size: 22px;
    }
}

@media (max-width: 360px) {
    .dashboard-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-card .number {
        font-size: 26px;
    }
}

/*产品分类菜单*/
.category-icon-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    width: 100%; 
    box-sizing: border-box; 
    
    /*display: grid;*/
    /*grid-template-columns: repeat(8, 90px);*/
    gap: 32px 65px; /* 行间距32px，列间距100px */
    /*justify-content: center;*/
    align-items: center;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 35px;
    padding: 20px 15px;
}
.category-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 90px;
    height: auto;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    transition: all 0.3s ease;
    
    flex: 1 0 calc((100% - 7*16px) / 8); 
    max-width: 120px;
    min-width: 80px; 
    text-align: center;
    overflow: hidden;
    box-sizing: border-box; 
}
.category-icon-item:hover {
    transform: translateY(-5px);
}
.category-icon-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 90px; 
  
    display: block;
    margin: 0;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.category-icon-item:hover img {
    transform: scale(1.05);
}
.category-icon-item div {
    margin-top: 8px;
    font-size: 15px;
    color: #333;
    text-align: center;
    line-height: 1.2;
    word-break: break-all;
    overflow: hidden;
    white-space: nowrap;
    transition: color 0.3s ease;
}
.category-icon-item:hover div {
    color: #1d4ed8;
}

/* 响应式样式 - 分类图标网格 */
@media (max-width: 1200px) {
    .category-icon-grid {
        grid-template-columns: repeat(6, 100px);
        gap: 25px 50px;
    }
}

@media (max-width: 992px) {
    .category-icon-grid {
        grid-template-columns: repeat(6, 90px);
        gap: 20px 40px;
        padding: 15px 10px;
    }
    
    .category-icon-item {
        width: 80px;
    }
    
    .category-icon-item img {
        width: 80px !important;
        height: 80px !important;
    }
    
    .category-icon-item div {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .category-icon-grid {
        grid-template-columns: repeat(5, 70px);
        gap: 18px 30px;
        margin-bottom: 25px;
    }
    
    .category-icon-item {
        width: 70px;
    }
    
    .category-icon-item img {
        width: 70px !important;
        height: 70px !important;
    }
    
    .category-icon-item div {
        font-size: 13px;
        margin-top: 6px;
    }
}

@media (max-width: 480px) {
    .category-icon-grid {
        grid-template-columns: repeat(4, 60px);
        gap: 15px 25px;
        margin-bottom: 20px;
        padding: 12px 8px;
    }
    
    .category-icon-item {
        width: 60px;
    }
    
    .category-icon-item img {
        width: 60px !important;
        height: 60px !important;
    }
    
    .category-icon-item div {
        font-size: 12px;
        margin-top: 5px;
    }
}

@media (max-width: 360px) {
    .category-icon-grid {
        grid-template-columns: repeat(3, 70px);
        gap: 15px 30px;
    }
    
    .category-icon-item {
        width: 70px;
    }
    
    .category-icon-item img {
        width: 70px !important;
        height: 70px !important;
    }
}

/* 热销广告服务推荐 */
.recommendations {
    padding: 40px 15px;
    background: #f8f9fa;
}

.section-container {
    max-width: var(--site-max-width);
    margin: 0 auto;
}

/* 区块标题行：左 h2 + 右更多链接 */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-container h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 0;
    text-align: left;
    transition: all 0.3s ease;
    font-weight: 700;
}

.section-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #165DFF;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.section-more:hover {
    color: #0e42d2;
}

.section-more i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.section-more:hover i {
    transform: translateX(2px);
}

.hot-products-list-layout {
    display: flex;
    gap: 32px;
    align-items: stretch;
    margin-bottom: 40px;
}

.hot-products-main-image {
    flex: 0 0 320px;
    align-self: stretch;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    min-height: 240px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    overflow: hidden;
}

.hot-products-main-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.hot-products-main-image a img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hot-products-main-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.hot-products-main-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.5s ease;
}

.hot-products-main-image:hover img {
    transform: scale(1.03);
}

.hot-products-cards {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.hot-product-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 24px 20px 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 210px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hot-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.hot-product-card img {
    width: 100%;
    max-width: 180px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 16px;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

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

.hot-product-info {
	width: 100%;
	text-align: center;
	box-sizing: border-box;
}

.hot-product-info h3 {
    font-size: 18px;
    font-weight: bold;
    color: #222;
    margin-bottom: 4px;
    text-align: center;
    transition: color 0.3s ease;
}

.hot-product-card:hover .hot-product-info h3 {
    color: #1d4ed8;
}

.hot-product-info p {
    color: #888;
    font-size: 15px;
	line-height: 1.4;
	min-height: 2.8em;
	margin: 0 0 8px;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	transition: color 0.3s ease;
}

.hot-product-card:hover .hot-product-info p {
    color: #555;
}

/* 响应式样式 - 热销广告服务推荐 */
@media (max-width: 1200px) {
    .section-header {
        margin-bottom: 20px;
    }
    
    .section-container h2 {
        font-size: 26px;
    }
    
    .hot-products-list-layout {
        gap: 25px;
    }
    
    .hot-products-main-image {
        flex: 0 0 280px;
        min-height: 220px;
    }
    
    .hot-products-main-image img {
        display: block;
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: cover;
    }
    
    .hot-products-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .hot-product-card {
        padding: 20px 16px 16px 16px;
        min-height: 200px;
    }
    
    .hot-product-card img {
        max-width: 160px;
        height: 110px;
    }
    
    .hot-product-info h3 {
        font-size: 16px;
    }
    
    .hot-product-info p {
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .recommendations {
        padding: 35px 15px;
    }
    
    .section-header {
        margin-bottom: 18px;
    }
    
    .section-container h2 {
        font-size: 24px;
    }
    
    .hot-products-list-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    
    .hot-products-main-image {
        flex: none;
        width: 100%;
        align-self: auto;
        min-height: 400px;
        max-height: 480px;
    }
    
    .hot-products-main-image img {
        display: block;
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: cover;
    }
    
    .hot-products-cards {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
    
    .hot-product-card {
        padding: 18px 14px 14px 14px;
        min-height: 190px;
    }
    
    .hot-product-card img {
        max-width: 150px;
        height: 100px;
        margin-bottom: 14px;
    }
    
    .hot-product-info h3 {
        font-size: 15px;
    }
    
    .hot-product-info p {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .recommendations {
        padding: 30px 0 0 0;
    }
    
    .section-header {
        margin-bottom: 16px;
        padding: 0 15px;
    }
    
    .section-container h2 {
        font-size: 22px;
    }
    
    .section-more {
        font-size: 13px;
    }
    
    .hot-products-list-layout {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 30px;
    }
    
    /* 主图满宽：突破容器padding */
    .hot-products-main-image {
        flex: none;
        width: calc(100% + 30px);
        margin-left: -15px;
        margin-right: -15px;
        min-height: 260px;
        border-radius: 0;
    }
    
    .hot-products-main-image img {
        display: block;
        width: 100%;
        height: 260px;
        border-radius: 0;
    }
    
    .hot-products-cards {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .recommendations {
        padding: 25px 0 0 0;
    }
    
    .section-header {
        margin-bottom: 14px;
        padding: 0 12px;
    }
    
    .section-container h2 {
        font-size: 20px;
    }
    
    .section-more {
        font-size: 12px;
    }
    
    .hot-products-list-layout {
        gap: 15px;
        margin-bottom: 25px;
    }
    
    /* 主图满宽：突破容器padding */
    .hot-products-main-image {
        width: calc(100% + 24px);
        margin-left: -12px;
        margin-right: -12px;
        min-height: 240px;
        border-radius: 0;
    }
    
    .hot-products-main-image img {
        display: block;
        width: 100%;
        height: 240px;
        border-radius: 0;
    }
    
    .hot-products-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 12px;
    }
    
    .hot-product-card {
        padding: 14px 10px 10px 10px;
        min-height: 160px;
        border-radius: 8px;
    }
    
    .hot-product-card img {
        max-width: 120px;
        height: 80px;
        margin-bottom: 10px;
        border-radius: 5px;
    }
    
    .hot-product-info h3 {
        font-size: 13px;
        margin-bottom: 3px;
    }
    
    .hot-product-info p {
        font-size: 11px;
        margin-bottom: 5px;
    }
}

@media (max-width: 360px) {
    .hot-products-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .hot-product-card {
        min-height: auto;
        padding: 16px 12px;
    }
    
    .hot-product-card img {
        max-width: 140px;
        height: 90px;
    }
    
    .hot-product-info h3 {
        font-size: 14px;
    }
    
    .hot-product-info p {
        font-size: 12px;
    }
}

/* 产品网格 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

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

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

.product-info {
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 44px;
}

.price {
    color: #f00;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.btn-consult {
    display: inline-block;
    padding: 8px 20px;
    background: #1d4ed8;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-consult:hover {
    background: #1e40af;
    transform: translateY(-2px);
}

/* 响应式样式 - 产品网格 */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .product-card img {
        height: 180px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-info h3 {
        font-size: 16px;
        height: 40px;
    }
    
    .price {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .btn-consult {
        padding: 7px 16px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .product-card img {
        height: 160px;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .product-info h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .price {
        font-size: 16px;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-card {
        border-radius: 6px;
    }
    
    .product-card img {
        height: 140px;
    }
    
    .product-info {
        padding: 10px;
    }
    
    .product-info h3 {
        font-size: 14px;
        margin-bottom: 6px;
        height: 36px;
    }
    
    .price {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .btn-consult {
        padding: 6px 14px;
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .product-card img {
        height: 180px;
    }
}

/* 模板网格 */
.template-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.template-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.template-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

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

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

.template-info {
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tag {
    display: inline-block;
    padding: 4px 8px;
    background: #e9ecef;
    color: #666;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.template-card:hover .tag {
    background: #d6e9f9;
    color: #1e40af;
}

.template-info h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
}

.btn-download {
    display: inline-block;
    padding: 8px 20px;
    background: #28a745;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-download:hover {
    background: #218838;
    transform: translateY(-2px);
}

/* 响应式样式 - 模板网格 */
@media (max-width: 1200px) {
    .template-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 992px) {
    .template-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .template-card img {
        height: 180px;
    }
    
    .template-info {
        padding: 15px;
    }
    
    .template-info h3 {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .btn-download {
        padding: 7px 16px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .template-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .template-card img {
        height: 160px;
    }
    
    .template-info {
        padding: 12px;
    }
    
    .tag {
        font-size: 11px;
        padding: 3px 6px;
    }
    
    .template-info h3 {
        font-size: 14px;
        margin-bottom: 10px;
        height: 36px;
    }
    
    .btn-download {
        padding: 6px 14px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .template-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .template-card {
        border-radius: 6px;
    }
    
    .template-card img {
        height: 140px;
    }
    
    .template-info {
        padding: 10px;
    }
    
    .tag {
        font-size: 10px;
        padding: 2px 5px;
        margin-bottom: 6px;
    }
    
    .template-info h3 {
        font-size: 13px;
        margin-bottom: 8px;
        height: 32px;
    }
    
    .btn-download {
        padding: 5px 12px;
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .template-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .template-card img {
        height: 180px;
    }
    
    .template-info h3 {
        height: auto;
    }
}

/* 工具网格 */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.tool-card {
    text-align: center;
    text-decoration: none;
    color: #333;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.tool-card img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
    display: block;
}

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

.tool-card h3 {
    font-size: 14px;
    transition: color 0.3s ease;
}

.tool-card:hover h3 {
    color: #1d4ed8;
}

/* 响应式样式 - 工具网格 */
@media (max-width: 1200px) {
    .tools-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .tool-card img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 992px) {
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .tool-card {
        padding: 15px;
    }
    
    .tool-card img {
        width: 90px;
        height: 90px;
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .tool-card {
        padding: 12px;
    }
    
    .tool-card img {
        width: 80px;
        height: 80px;
        margin-bottom: 8px;
    }
    
    .tool-card h3 {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .tool-card {
        padding: 10px;
        border-radius: 6px;
    }
    
    .tool-card img {
        width: 70px;
        height: 70px;
        margin-bottom: 6px;
    }
    
    .tool-card h3 {
        font-size: 12px;
    }
}

/* 动态信息流 */
.news-feed {
    padding: 40px 15px;
    background: #fff;
}

.demands-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.demand-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.demand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: #f0f7ff;
}

.demand-item h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.demand-item:hover h3 {
    color: #1d4ed8;
}

.demand-info {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 14px;
    transition: color 0.3s ease;
}

.demand-item:hover .demand-info {
    color: #444;
}

.status {
    padding: 4px 10px;
    border-radius: 4px;
    background: #e9ecef;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

/* 紧急/加急 - 红色 */
.status.urgent {
    background: linear-gradient(135deg, #ff4757, #dc3545);
    color: #fff;
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
}

/* 进行中 - 蓝色 */
.status.ongoing {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    box-shadow: 0 2px 6px rgba(29, 78, 216, 0.25);
}

/* 已中标 - 绿色 */
.status.won {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25);
}

/* 已结束/已关闭 - 灰色 */
.status.closed {
    background: #e9ecef;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.demand-item:hover .status:not(.urgent) {
    transform: translateY(-1px);
}

/* 文章列表 */
.articles-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.article-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

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

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

.article-info {
    padding: 20px;
}

.article-info h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.article-card:hover .article-info h3 {
    color: #1d4ed8;
}

.article-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.article-card:hover .article-info p {
    color: #444;
}

.views {
    color: #999;
    font-size: 12px;
    transition: color 0.3s ease;
}

.article-card:hover .views {
    color: #777;
}

/* 响应式样式 - 动态信息流 */
@media (max-width: 1200px) {
    .news-feed {
        padding: 35px 15px;
    }
    
    .demands-list {
        gap: 20px;
        margin-bottom: 35px;
    }
    
    .demand-item {
        padding: 18px;
    }
    
    .demand-item h3 {
        font-size: 17px;
    }
    
    .articles-list {
        gap: 18px;
    }
    
    .article-card img {
        height: 180px;
    }
    
    .article-info {
        padding: 18px;
    }
    
    .article-info h3 {
        font-size: 17px;
    }
}

@media (max-width: 992px) {
    .news-feed {
        padding: 30px 15px;
    }
    
    .demands-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        margin-bottom: 30px;
    }
    
    .demand-item {
        padding: 16px;
    }
    
    .demand-item h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .demand-info {
        font-size: 13px;
        gap: 15px;
        justify-content: flex-start;
    }
    
    /* 状态标签推到最右边 — 加强权重确保生效 */
    .demand-info > .status {
        margin-left: auto !important;
    }
    .demand-info > span.status {
        margin-left: auto !important;
    }
    
    .status {
        padding: 3px 7px;
        font-size: 13px;
    }
    
    .articles-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .article-card img {
        height: 170px;
    }
    
    .article-info {
        padding: 16px;
    }
    
    .article-info h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .article-info p {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .views {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .news-feed {
        padding: 25px 15px;
    }
    
    .demands-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .demand-item {
        padding: 14px;
        border-radius: 6px;
    }
    
    .demand-item h3 {
        font-size: 15px;
        margin-bottom: 7px;
    }
    
    .demand-info {
        font-size: 12px;
        gap: 6px 12px;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    /* 第一行：预算居左 + 状态居右 */
    .demand-info > .budget { order: 1; }
    .demand-info > .status { order: 2; margin-left: auto !important; }
    /* 第二行：截止强制换行独占一行 */
    .demand-info > .deadline { order: 3; width: 100%; }
    
    .status {
        padding: 2px 6px;
        font-size: 12px;
    }
    
    .articles-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    
    .article-card {
        border-radius: 6px;
    }
    
    .article-card img {
        height: 150px;
    }
    
    .article-info {
        padding: 14px;
    }
    
    .article-info h3 {
        font-size: 15px;
        margin-bottom: 7px;
    }
    
    .article-info p {
        font-size: 12px;
        margin-bottom: 7px;
    }
    
    .views {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .news-feed {
        padding: 20px 12px;
    }
    
    .demands-list {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .demand-item {
        padding: 12px;
    }
    
    .demand-info {
        font-size: 12px;
        gap: 6px 12px;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    /* 第一行：预算居左 + 状态居右 */
    .demand-info > .budget { order: 1; }
    .demand-info > .status { order: 2; margin-left: auto !important; }
    /* 第二行：截止强制换行独占一行 */
    .demand-info > .deadline { order: 3; width: 100%; }
    
    .articles-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .article-card img {
        height: 180px;
    }
    
    .article-info {
        padding: 12px;
    }
    
    .article-info h3 {
        font-size: 16px;
    }
    
    .article-info p {
        font-size: 13px;
    }
}

/* 品牌区 */
.brand-section {
    padding: 40px 15px;
    background: #f8f9fa;
}

.intro-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.intro-content p {
    flex: 1;
    color: #666;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.intro-content:hover p {
    color: #444;
}

.success-cases {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.success-cases img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.success-cases img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.video-container video {
    margin-top: 40px;
    width: 100%;
    height: 520px;
    object-fit: fill;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.video-container video:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

/* 响应式样式 - 品牌区 */
@media (max-width: 1200px) {
    .brand-section {
        padding: 35px 15px;
    }
    
    .intro-content {
        gap: 30px;
    }
    
    .success-cases img {
        height: 140px;
    }
    
    .video-container video {
        margin-top: 35px;
        height: 480px;
    }
}

@media (max-width: 992px) {
    .brand-section {
        padding: 30px 15px;
    }
    
    .intro-content {
        flex-direction: column;
        gap: 25px;
    }
    
    .intro-content p {
        margin-bottom: 10px;
    }
    
    .success-cases {
        width: 100%;
    }
    
    .success-cases img {
        height: 130px;
    }
    
    .video-container video {
        margin-top: 30px;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .brand-section {
        padding: 25px 15px;
    }
    
    .intro-content {
        gap: 20px;
    }
    
    .intro-content p {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .success-cases {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .success-cases img {
        height: 120px;
    }
    
    .video-container video {
        margin-top: 25px;
        height: 350px;
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    .brand-section {
        padding: 20px 12px;
    }
    
    .intro-content {
        gap: 15px;
    }
    
    .intro-content p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .success-cases {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .success-cases img {
        height: 100px;
        border-radius: 3px;
    }
    
    .video-container video {
        margin-top: 20px;
        height: 250px;
        border-radius: 5px;
    }
}

@media (max-width: 360px) {
    .success-cases {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .success-cases img {
        height: 120px;
    }
    
    .video-container video {
        height: 200px;
    }
}