* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
}

header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.nav-links a:hover {
    color: #007bff;
}

main {
    margin-top: 80px;
}

section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    background-image: url('images/communication-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: white;
    text-align: center;
    padding: 6rem 2rem;
}

/* 添加一个半透明的遮罩，确保文字清晰可见 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);  /* 黑色半透明遮罩 */
    z-index: 1;
}

/* 确保内容在遮罩层之上 */
.hero > * {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin: 1rem;
}

.stat-item h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.product-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.product-features span {
    background: #f0f7ff;
    color: #007bff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: white;
}

.product-card h3 {
    color: #007bff;
    margin-bottom: 1rem;
}

.product-card ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info h3 {
    color: #007bff;
    margin-bottom: 1rem;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.advantage-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-card h3 {
    color: #007bff;
    margin-bottom: 1rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text .ht {
    font-size: 48px;
    font-weight: 900;
    color: #e65c00;  /* 橙色，类似原logo */
    font-family: "Arial Black", sans-serif;
    letter-spacing: -2px;
    transform: skew(-10deg);  /* 稍微倾斜 */
}

.logo-text .company {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }

    .logo-text .ht {
        font-size: 36px;
    }
    .logo-text .company {
        font-size: 20px;
    }
}

.news {
    background: #f8f9fa;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.news-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.news-item h3 a {
    color: #333;
    text-decoration: none;
}

.news-item h3 a:hover {
    color: #007bff;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-item ul {
    list-style: none;
    padding: 0;
}

.contact-item li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-item i {
    margin-right: 0.5rem;
    color: #007bff;
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

.clients {
    background: #fff;
    padding: 4rem 2rem;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.client-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    min-height: 100px;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.client-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #666;
    transition: all 0.3s ease;
    text-align: center;
    background: linear-gradient(135deg, #666, #333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.client-logo:hover .client-name {
    background: linear-gradient(135deg, #007bff, #00a6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }

    .client-logo {
        padding: 1rem;
        min-height: 80px;
    }

    .client-name {
        font-size: 1rem;
    }
}

.industry-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.industry-tab {
    padding: 0.8rem 1.5rem;
    border: none;
    background: #f8f9fa;
    color: #666;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.industry-tab:hover {
    background: #e9ecef;
    color: #007bff;
}

.industry-tab.active {
    background: #007bff;
    color: white;
}

/* 默认隐藏所有客户 */
.client-logo {
    display: none;
}

/* 显示当前选中行业的客户 */
.client-logo.show {
    display: flex;
}

/* 初始显示金融行业 */
.client-logo.finance {
    display: flex;
}

.news-loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.news-source {
    color: #007bff;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.error {
    color: #dc3545;
} 