/* ============================
   Chinese (Simplified) Font Styles
   中文简体字体样式
   ============================ */

/* Override font family for Chinese version */
body {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', '微软雅黑', 'PingFang SC', 'Hiragino Sans GB', sans-serif !important;
    /* 中文断行优化 - 避免单词被截断 */
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', '微软雅黑', 'PingFang SC', 'Hiragino Sans GB', sans-serif !important;
}

/* Navigation */
.nav-logo span,
.nav-link {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', '微软雅黑', sans-serif !important;
}

/* Hero Section */
.hero-title-main,
.hero-title-sub,
.hero-description,
.hero-tagline {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', '微软雅黑', sans-serif !important;
}

/* Section Headers */
.section-title,
.section-subtitle {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', '微软雅黑', sans-serif !important;
}

/* About Section */
.about-intro h3,
.about-lead,
.about-description {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', '微软雅黑', sans-serif !important;
}

.feature-card h4 {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', '微软雅黑', sans-serif !important;
}

/* Services Section */
.service-info h3,
.service-info p,
.service-features li {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', '微软雅黑', sans-serif !important;
}

/* Certifications */
.cert-info h4,
.cert-info p {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', '微软雅黑', sans-serif !important;
}

/* Careers Section */
.careers-intro h3,
.careers-intro p,
.benefit-card h4,
.benefit-card p,
.careers-cta-text {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', '微软雅黑', sans-serif !important;
}

/* Contact Section */
.contact-details h4,
.contact-details p,
.contact-detail-sub {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', '微软雅黑', sans-serif !important;
}

/* Footer */
.footer-info p,
.footer-bottom p {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', '微软雅黑', sans-serif !important;
}

/* Buttons */
.btn-primary span,
.hero-btn span {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', '微软雅黑', sans-serif !important;
}

/* Chinese Typography Adjustments */
body {
    /* Slightly increase line height for Chinese characters */
    line-height: 1.9;
}

h1, h2, h3 {
    /* Better spacing for Chinese titles */
    letter-spacing: 0.02em;
}

p {
    /* Optimal spacing for Chinese text readability */
    letter-spacing: 0.03em;
}

/* Hero Section Chinese Specific */
.hero-title-main {
    font-size: 3.2rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .hero-title-main {
        font-size: 2.5rem;
    }
}

/* Section Title Chinese Specific */
.section-title {
    letter-spacing: 0.1em;
}

/* About Section Chinese Adjustments */
.about-intro h3 {
    font-weight: 500;
    letter-spacing: 0.03em;
}

.about-lead {
    line-height: 2;
    letter-spacing: 0.02em;
}

/* Service Section Chinese Adjustments */
.service-info h3 {
    font-weight: 500;
    letter-spacing: 0.02em;
}

.service-info p {
    line-height: 2;
}

/* Contact Section Chinese Adjustments */
.contact-details h4 {
    font-weight: 500;
}

/* Footer Chinese Adjustments */
.footer-info p {
    line-height: 1.9;
}

/* Badge Coming Soon */
.badge-coming-soon {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', '微软雅黑', sans-serif !important;
    letter-spacing: 0.05em;
}

/* ============================
   Chinese Character Optimization
   中文字符优化
   ============================ */

/* Better rendering for Chinese characters */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Prevent font weight issues in Chrome */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
}

/* Improve readability on small screens */
@media (max-width: 480px) {
    body {
        font-size: 15px;
        line-height: 2.0;
        letter-spacing: 0.02em;
    }
    
    /* 移动端中文文本优化 */
    .hero-title-main,
    .hero-title-sub {
        padding: 0 20px;
        line-height: 1.5;
    }
    
    .hero-description {
        padding: 0 20px;
        line-height: 2.2;
    }
    
    .section-title {
        font-size: 2rem;
        letter-spacing: 0.08em;
        padding: 0 20px;
        line-height: 1.6;
    }
    
    /* 段落文本 */
    p, li {
        line-height: 2.0;
    }
    
    /* 卡片内容 */
    .feature-card,
    .benefit-card,
    .cert-item,
    .contact-info-card {
        padding: 25px 20px;
    }
    
    /* 服务信息 */
    .service-info h3,
    .service-info p,
    .service-features li {
        padding: 0 15px;
        line-height: 2.0;
    }
    
    /* 简介文本 */
    .about-lead,
    .careers-intro p {
        padding: 0 20px;
        line-height: 2.2;
    }
    
    /* 页脚 */
    .footer-info p {
        line-height: 2.0;
        padding: 0 10px;
    }
}
