/* 中文版专用样式 - 覆盖原始样式中的字体设置 */

/* 高端配色方案覆盖 */
:root {
    --primary-color: #1a1a2e;
    --primary-dark: #0f0f1a;
    --secondary-color: #16213e;
    --accent-color: #e94560;
    --gold-accent: #d4af37;
    --text-dark: #0f0f1a;
    --text-light: #6c7293;
    --text-color: #0f0f1a;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --background-dark: #1a1a2e;
    --border-color: #e8eaed;
    --shadow-sm: 0 2px 4px 0 rgb(0 0 0 / 0.08);
    --shadow-md: 0 4px 12px -2px rgb(0 0 0 / 0.15);
    --shadow-lg: 0 12px 24px -4px rgb(0 0 0 / 0.15);
    --shadow-xl: 0 24px 48px -8px rgb(0 0 0 / 0.2);
    --gradient-primary: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --gradient-accent: linear-gradient(135deg, #e94560 0%, #d4af37 100%);
    --gradient-hero: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #16213e 100%);
}

/* 高端视觉增强 */
.header {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(232, 234, 237, 0.6);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06) !important;
}

.hero {
    background: var(--gradient-hero) !important;
    color: white !important;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="180" fill="url(%23a)"/><circle cx="800" cy="800" r="200" fill="url(%23a)"/></svg>');
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}
.hero-title::before {
    content: '';
    position: absolute;
    top: -94px;
    left: -140px;
    right: 0;
    width: 160px;
    height: 160px;
    background: url(./logo.png) no-repeat center center;
    background-size: 100% 100%;
    animation: float 2s ease-in-out infinite;
}

.hero-description {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: var(--gradient-accent) !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(233, 69, 96, 0.3) !important;
    transition: all 0.3s ease !important;
}

.btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(233, 69, 96, 0.4) !important;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    backdrop-filter: blur(10px) !important;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

/* 服务区块样式 */
.services {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    padding: 5rem 0 !important;
}

.services-grid {
    display: grid;
    // grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(233, 69, 96, 0.3);
}

.service-icon i {
    color: white;
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

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

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* 卡片和区块高端样式 */
.about {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 4rem;
}

.about-text h2 {
    margin-bottom: 2.5rem !important;
}

.about-description {
    font-size: 1.1rem !important;
    line-height: 1.8 !important;
    color: var(--text-light) !important;
    margin-bottom: 0 !important;
    text-align: justify;
    max-width: none;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-2px);
}

.feature i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.case-study {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    color: var(--text-dark) !important;
}

.case-study .section-title,
.case-study .section-subtitle {
    color: var(--text-dark) !important;
}

.case-study .case-description,
.case-study .case-description h4,
.case-study .case-description p,
.case-study .case-description ul,
.case-study .case-description li {
    color: var(--text-dark) !important;
}

.case-study-main {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
}

.case-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.careers {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.job-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .case-study-main {
        padding: 2rem;
    }
    
    .jobs-grid {
        grid-template-columns: 1fr;
    }
}

.contact {
    background: var(--background-dark) !important;
    color: white !important;
}

.contact .section-title,
.contact .section-subtitle {
    color: white !important;
}

.contact-item h4,
.contact-item p {
    color: white !important;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

.contact-form select option {
    color: #000000 !important;
    background: #ffffff !important;
}

.footer {
    background: var(--primary-dark) !important;
    color: white !important;
}

/* WeHappy链接样式 */
.app-name a {
    color: var(--accent-color) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    cursor: pointer !important;
    border-bottom: 2px solid transparent !important;
    padding-bottom: 2px !important;
}

.app-name a::after {
    content: '🔗' !important;
    font-size: 0.8rem !important;
    margin-left: 0.3rem !important;
    opacity: 0.7 !important;
    transition: all 0.3s ease !important;
}

.app-name a:hover {
    color: var(--primary-color) !important;
    text-decoration: none !important;
    border-bottom: 2px solid var(--accent-color) !important;
    transform: translateY(-1px) !important;
}

.app-name a:hover::after {
    opacity: 1 !important;
    transform: translateX(2px) !important;
}

/* WeHappy App Logo样式 */
.app-logo-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
}

.app-logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

/* 备用logo样式 */
.app-logo-fallback {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e94560 0%, #d4af37 100%);
    color: white;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    line-height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* WeHappy App截图展示样式 */
.app-screenshots {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.app-screenshots h4 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.1rem;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    max-width: 600px;
}

.screenshot-item {
    text-align: center;
}

.screenshot-image {
    width: 100%;
    max-width: 120px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.screenshot-image:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 300px;
    }
    
    .screenshot-image {
        max-width: 100px;
    }
}

/* 全局中文字体设置 */
body {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    line-height: 1.8; /* 中文需要更大的行高 */
    font-size: 16px;
    letter-spacing: 0.5px;
}

/* 整体布局优化 */
.container {
    // max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 区块间距优化 */
section {
    padding: 4rem 0;
}

.hero {
    padding: 6rem 0 !important;
}

.about, .case-study, .careers, .contact {
    padding: 5rem 0 !important;
}

/* 标题字体优化 */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

/* 各级标题样式 */
h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* 段落优化 */
p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* 区块标题样式 */
.section-title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    text-align: center;
    margin-bottom: 1rem !important;
    color: var(--text-dark) !important;
}

.section-subtitle {
    font-size: 1.2rem !important;
    text-align: center;
    margin-bottom: 3rem !important;
    color: var(--text-light) !important;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 导航菜单中文字体 */
.nav-link {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* 语言切换按钮样式 */
.lang-switch {
    background: var(--primary-color) !important;
    color: white !important;
    padding: 0.5rem 1rem !important;
    border-radius: 20px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 10 !important;
}

.lang-switch:hover {
    background: var(--primary-dark) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    text-decoration: none !important;
}

/* 英雄区优化 */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    // gap: 4rem;
    gap: 16rem;
    align-items: center;
    min-height: 600px;
}

.hero-text {
    padding-left: 10rem;
}

.hero-title {
    font-size: 4rem !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 2rem !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.4rem !important;
    line-height: 1.8 !important;
    letter-spacing: 0.02em !important;
    margin-bottom: 3rem !important;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* 按钮优化 */
.btn {
    padding: 1rem 2.5rem !important;
    font-size: 1.1rem !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text {
        padding-left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
    }

    .hero-title::before {
        top: -40px;
        left: 0px;
        right: 0;
        width: 80px;
        height: 80px;
    }
    
    .hero-description {
        font-size: 1.2rem !important;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .case-study-main {
        padding: 2rem;
    }
    
    .jobs-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 300px;
    }
    
    .screenshot-image {
        max-width: 100px;
    }
}

/* 按钮中文文字 */
.btn {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* 服务卡片中文优化 */
.service-card h3 {
    font-size: 1.4rem;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.service-card p {
    line-height: 1.8;
    letter-spacing: 0.02em;
}

.service-features li {
    line-height: 1.7;
    letter-spacing: 0.02em;
}

/* 关于我们部分中文优化 */
.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    letter-spacing: 0.02em;
}

.feature h4 {
    font-size: 1.1rem;
    letter-spacing: 0.02em;
}

.feature p {
    line-height: 1.7;
    letter-spacing: 0.02em;
}

/* 案例研究中文优化 */
.app-name {
    font-size: 1.8rem;
    letter-spacing: 0.02em;
}

.case-description p {
    line-height: 1.8;
    letter-spacing: 0.02em;
}

.case-description h4 {
    font-size: 1.2rem;
    letter-spacing: 0.02em;
}

.testimonial-content blockquote {
    font-size: 1.05rem;
    line-height: 1.8;
    letter-spacing: 0.02em;
}

/* 招聘部分中文优化 */
.intro-text h3 {
    font-size: 1.8rem;
    letter-spacing: 0.02em;
}

.job-title {
    font-size: 1.2rem;
    letter-spacing: 0.02em;
}

.job-description p {
    line-height: 1.8;
    letter-spacing: 0.02em;
}

.job-requirements li {
    line-height: 1.7;
    letter-spacing: 0.02em;
}

/* 流程步骤中文优化 */
.step-content h4 {
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.step-content p {
    line-height: 1.7;
    letter-spacing: 0.02em;
}

/* 联系表单中文优化 */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    letter-spacing: 0.02em;
}

.floating-card {
    padding: 1.5rem 4.5rem;
}

/* 浮动卡片中文文字 */
.floating-card span {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* 团队成员标签中文 */
.team-member span {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* 服务标签中文 */
.service-tag {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    letter-spacing: 0.5px;
}

/* 福利项目中文 */
.benefit-item span {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    letter-spacing: 0.5px;
}

/* 页脚中文优化 */
.footer-brand p {
    line-height: 1.8;
    letter-spacing: 0.02em;
}

.footer-section h4 {
    letter-spacing: 0.02em;
}

/* 移动端中文字体调整 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    .hero-title::before {
        top: -40px;
        left: 0px;
        right: 0;
        width: 80px;
        height: 80px;
    }
    
    .hero-description {
        font-size: 1.1rem;
        line-height: 1.8;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .intro-text h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.4;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.8;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .job-title {
        font-size: 1.1rem;
    }
    
    .intro-text h3 {
        font-size: 1.4rem;
    }
}