:root {
    --ht-primary: #a41626;
    --ht-dark: #1a1a1a;
    --ht-light: #ffffff;
    --ht-gray: #8a8a8a;
    --ht-light-bg: #f8f9fa;
    --ht-border-radius: 8px;
    --ht-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --ht-transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: var(--ht-light);
    color: var(--ht-dark);
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
}

.ht-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 动画效果 */
.ht-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.ht-fade-in.ht-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 头部样式 */
.ht-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--ht-transition);
}

.ht-header.scrolled {
    padding: 5px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.ht-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    transition: var(--ht-transition);
}

.ht-header.scrolled .ht-header-content {
    padding: 10px 0;
}

.ht-logo {
    display: flex;
    align-items: center;
}

.ht-logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--ht-primary), #c2185b);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
    margin-right: 15px;
    box-shadow: 0 4px 12px rgba(164, 22, 38, 0.3);
}

.ht-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--ht-dark);
    letter-spacing: -0.5px;
}

.ht-logo-text span {
    color: var(--ht-primary);
}

.ht-nav {
    display: flex;
    list-style: none;
}

.ht-nav li {
    margin-left: 30px;
}

.ht-nav a {
    text-decoration: none;
    color: var(--ht-dark);
    font-weight: 500;
    transition: var(--ht-transition);
    padding: 8px 0;
    position: relative;
    font-size: 16px;
}

.ht-nav a:hover, .ht-nav a.ht-active {
    color: var(--ht-primary);
}

.ht-nav a.ht-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--ht-primary);
}

.ht-nav-cta {
    background: var(--ht-primary);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    margin-left: 30px;
    transition: var(--ht-transition);
    box-shadow: 0 4px 12px rgba(164, 22, 38, 0.3);
}

.ht-nav-cta:hover {
    background: #8a1120;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(164, 22, 38, 0.4);
}

/* 英雄区域 */


.ht-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   /* background: linear-gradient(135deg, rgba(164, 22, 38, 0.2), transparent);*/
}

.ht-hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 2;
        margin-left: 600px; /* 确保没有居中偏移 */
    margin-right: auto; /* 左对齐 */
}

.ht-hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
}

.ht-hero p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.ht-hero-btns {
    display: flex;
    justify-content: center;
    gap: 10px;
        margin-left: -400px;
}

.ht-btn {
    background: var(--ht-primary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--ht-transition);
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    /*gap: 10px;*/
    box-shadow: 0 4px 12px rgba(164, 22, 38, 0.3);
}

.ht-btn:hover {
    background: #8a1120;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(164, 22, 38, 0.4);
}

.ht-btn-outline {
    background: transparent;
    border: 2px solid white;
    box-shadow: none;
}

.ht-btn-outline:hover {
    background: white;
    color: var(--ht-dark);
}

/* 产品展示区域 */
.ht-section {
    padding: 80px 0;
}

.ht-section-light {
    background: var(--ht-light-bg);
}

.ht-section-title {
    text-align: center;
    margin-bottom: 110px;
}

.ht-section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--ht-dark);
    letter-spacing: -1px;
}

.ht-section-title p {
    font-size: 18px;
    color: var(--ht-gray);
    max-width: 700px;
    margin: 0 auto;
}

.ht-section-title .ht-divider {
    width: 80px;
    height: 4px;
    background: var(--ht-primary);
    margin: 20px auto;
    border-radius: 2px;
}

.ht-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 52px;
    margin-bottom: 50px;
}

.ht-product {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--ht-shadow);
    transition: var(--ht-transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.ht-product:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.ht-product-img {
    height: 150px;
    overflow: hidden;
    position: relative;
}

.ht-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--ht-transition);
}

.ht-product:hover .ht-product-img img {
    transform: scale(1.05);
}

.ht-product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--ht-primary);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
}

.ht-product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ht-product-category {
    color: var(--ht-primary);
    font-size: 11px;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ht-product-name {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--ht-dark);
    line-height: 1.3;
    font-weight: 600;
}

.ht-product-specs {
    list-style: none;
    margin-bottom: 15px;
    flex-grow: 1;
}

.ht-product-specs li {
    font-size: 13px;
    margin-bottom: 5px;
    color: var(--ht-gray);
    display: flex;
    align-items: center;
}

.ht-product-specs li i {
    margin-right: 8px;
    color: var(--ht-primary);
    font-size: 11px;
}

.ht-product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    justify-content: center;
}

.ht-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--ht-primary);
}

.ht-product-btn {
    background: var(--ht-primary);
    color: white;
    border: none;
    padding: 10px 45px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--ht-transition);
    font-weight: 500;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ht-product-btn:hover {
    background: #8a1120;
    transform: translateY(-2px);
}

/* 为什么选择霍桐区域 */
.ht-advantages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.ht-advantage {
    background: white;
    padding: -1px 25px;
    border-radius: 16px;
    box-shadow: var(--ht-shadow);
    text-align: center;
    transition: var(--ht-transition);
    position: relative;
    overflow: hidden;
}

.ht-advantage::before {
    content: '';
    position: absolute;
    bottom: 0; /* 从 top: 0 改为 bottom: 0 */
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--ht-primary);
}
.ht-advantage:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.ht-advantage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--ht-primary), #c2185b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 22px;
    box-shadow: 0 6px 15px rgba(164, 22, 38, 0.3);
}

.ht-advantage h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--ht-dark);
    font-weight: 600;
}

.ht-advantage p {
    font-size: 14px;
    color: var(--ht-gray);
    line-height: 1.6;
    margin-bottom: 41px;
}

/* 销售网络区域 */
.ht-network {
    background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
    color: white;
    padding: 70px 0;
    text-align: center;
}

.ht-network-content {
    max-width: 900px;
    margin: 0 auto;
}

.ht-network h2 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
}

.ht-network p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.ht-network-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
}

.ht-network-stat {
    text-align: center;
}

.ht-network-stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--ht-primary);
    margin-bottom: 8px;
}

.ht-network-stat-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

/* 客户选择区域 */
.ht-clients {
    padding: 80px 0;
    background: white;
}

.ht-clients-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 35px;
    margin-top: 40px;
}

.ht-client-logo {
    width: 140px;
    height: 70px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--ht-shadow);
    transition: var(--ht-transition);
    font-weight: 600;
    color: var(--ht-dark);
}

.ht-client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* 分页 */
.ht-pagination {
    display: flex;
    justify-content: center;
    margin: 80px 0 100px;
}

.ht-pagination a {

    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 40px;
    margin: 0 4px;
    border: 1px solid #e0e0e0;
    border-radius: 15%;
    text-decoration: none;
    color: var(--ht-dark);
    transition: var(--ht-transition);
    font-weight: 500;
    font-size: 14px;
}

.ht-pagination a.ht-active, .ht-pagination a:hover {
    background: var(--ht-primary);
    color: white;
    border-color: var(--ht-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(164, 22, 38, 0.3);
}

/* 页脚 */
.ht-footer {
    background: var(--ht-dark);
    color: white;
    padding: 70px 0 25px;
}

.ht-footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    margin-bottom: 40px;
}

.ht-footer-col h3 {
    font-size: 17px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
    color: white;
    font-weight: 600;
}

.ht-footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 3px;
    background: var(--ht-primary);
}

.ht-footer-links {
    list-style: none;
}

.ht-footer-links li {
    margin-bottom: 10px;
}

.ht-footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--ht-transition);
    font-size: 14px;
    display: flex;
    align-items: center;
}

.ht-footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.ht-footer-links a i {
    margin-right: 8px;
    width: 18px;
    text-align: center;
}

.ht-contact {
    list-style: none;
}

.ht-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    font-size: 14px;
}

.ht-contact i {
    margin-right: 10px;
    color: var(--ht-primary);
    min-width: 18px;
    margin-top: 3px;
}

.ht-copyright {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .ht-products {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .ht-advantages {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .ht-products {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ht-footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ht-hero h1 {
        font-size: 36px;
    }
    
    .ht-hero p {
        font-size: 16px;
    }
    
    .ht-network-stats {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .ht-section-title h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .ht-header-content {
        flex-direction: column;
        padding: 15px 0;
    }
    
    .ht-logo {
        margin-bottom: 15px;
    }
    
    .ht-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .ht-nav li {
        margin: 0 10px 10px;
    }
    
    .ht-products {
        grid-template-columns: 1fr;
    }
    
    .ht-hero {
        height: 40vh;
        min-height: 250px;
    }
    
    .ht-hero h1 {
        font-size: 28px;
    }
    
    .ht-hero p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .ht-hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-left: -400px;
    }
    
    .ht-btn {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .ht-section-title h2 {
        font-size: 28px;
    }
    
    .ht-clients-logos {
        gap: 20px;
    }
    
    .ht-client-logo {
        width: 120px;
        height: 60px;
    }
    
    .ht-advantages {
        grid-template-columns: 1fr;
    }
    
    .ht-network-stats {
        flex-direction: column;
        gap: 25px;
    }
    
    .ht-section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .ht-footer-content {
        grid-template-columns: 1fr;
    }
    
    .ht-section {
        padding: 50px 0;
    }
    
    .ht-network-stats {
        gap: 20px;
    }
    
    .ht-network-stat-number {
        font-size: 36px;
    }
    
    .ht-products {
        gap: 20px;
    }
    
    .ht-advantages {
        gap: 20px;
    }
    //*新增的卡片交互方式*//
    .ht-product {
    cursor: pointer;
    position: relative;
}

.ht-product::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    transition: background-color 0.3s ease;
    border-radius: 16px;
    pointer-events: none;
}

.ht-product:hover::after {
    background: rgba(164, 22, 38, 0.05);
}

.ht-product-btn {
    position: relative;
    z-index: 2;
}


.ht-pagination {
    margin: 50px 0 20px;
}

.ht-pagination-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ht-page-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    border-radius: var(--ht-border-radius);
    text-decoration: none;
    color: var(--ht-dark);
    transition: var(--ht-transition);
    font-size: 14px;
    min-width: 40px;
    height: 40px;
}

.ht-page-item:hover {
    border-color: var(--ht-primary);
    color: var(--ht-primary);
}

/* 为数字页码添加样式 */
.ht-pagination-content a:not(.ht-page-item) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: var(--ht-border-radius);
    text-decoration: none;
    color: var(--ht-dark);
    transition: var(--ht-transition);
    font-size: 14px;
    min-width: 40px;
    height: 40px;
    margin: 0 2px;
}

.ht-pagination-content a:not(.ht-page-item):hover {
    border-color: var(--ht-primary);
    color: var(--ht-primary);
}

/* 当前页码高亮样式 */
.ht-pagination-content a:not(.ht-page-item).current,
.ht-pagination-content a:not(.ht-page-item)[class*="current"],
.ht-pagination-content a:not(.ht-page-item).page-num-current,
.ht-pagination-content a:not(.ht-page-item).active,
.ht-pagination-content a:not(.ht-page-item).on {
    background: var(--ht-primary);
    color: white;
    border-color: var(--ht-primary);
}

.ht-no-data {
    text-align: center;
    color: var(--ht-gray);
    padding: 40px 20px;
    font-size: 16px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .ht-pagination-content {
        gap: 5px;
    }
    
    .ht-page-item {
        padding: 6px 12px;
        font-size: 13px;
        min-width: 35px;
        height: 35px;
    }
    
    .ht-pagination-content a:not(.ht-page-item) {
        padding: 6px 10px;
        font-size: 13px;
        min-width: 35px;
        height: 35px;
        margin: 0 1px;
    }
}
/* 为什么选择霍桐区域 - 新版样式 */
.ht-advantages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.ht-advantage {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--ht-shadow);
    transition: var(--ht-transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.ht-advantage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--ht-primary);
}

.ht-advantage:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.ht-advantage-img {
    height: 100px;
}




.ht-advantage:hover .ht-advantage-img img {
    transform: scale(1.05);
}

.ht-advantage-content {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.ht-advantage-content h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--ht-dark);
    font-weight: 600;
}

.ht-advantage-content p {
    font-size: 14px;
    color: var(--ht-gray);
    line-height: 1.6;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .ht-advantages {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ht-advantages {
        grid-template-columns: 1fr;
    }
    
    .ht-advantage-img {
        height: 100px;
    }
    
    .ht-advantage-content {
        padding: 20px 15px;
    }

    /*logo墙*/
    .ht-clients-logos {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.ht-clients-logos img {
    max-width: 100%;
    height: auto;
    transition: var(--ht-transition);
}

.ht-clients-logos img:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
}
}