/* 响应式设计样式 */

/* 悬浮WhatsApp按钮 */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 50px;
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.whatsapp-float:hover {
    transform: scale(1.05);
}

.whatsapp-float a {
    display: inline-block;
    text-decoration: none;
    border: none;
    outline: none;
    background: transparent;
    padding: 0;
    margin: 0;
}

.whatsapp-float img {
    width: 60px;
    height: 60px;
    border: none;
    outline: none;
    display: block;
    background: transparent;
    vertical-align: top;
}

/* 移动端调整 */
@media screen and (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 30px;
    }
    
    .whatsapp-float img {
        width: 50px;
        height: 50px;
    }
}

/* 移动端Hero区域占位块（真实DOM占位，避免优先级冲突） */
@media screen and (max-width: 767px) {
    .hero-spacer { height: 140px !important; background: #FFF5F9 !important; }
}

@media screen and (max-width: 480px) {
    .hero-spacer { height: 120px !important; background: #FFF5F9 !important; }
}

@media screen and (max-width: 320px) {
    .hero-spacer { height: 100px !important; background: #FFF5F9 !important; }
}

/* 触控设备全面兜底：无论CSS宽度如何，只要是触控设备就启用占位
   - 使用 safe-area 适配 iOS 刘海
   - 使用 clamp 做高度弹性，避免过大或过小 */
@media (hover: none) and (pointer: coarse) {
    .hero-spacer {
        height: calc(clamp(100px, 12vh, 160px) + env(safe-area-inset-top, 0px)) !important;
        background: #FFF5F9 !important;
    }
}

/* 仅桌面归零占位，避免覆盖移动端（放在最后确保桌面胜出） */
@media screen and (min-width: 1025px) {
    .hero-spacer { height: 0 !important; background: #FFF5F9; }
}

/* 额外下移文案与按钮，增强移动端放松感 */
@media screen and (max-width: 767px) {
    .hero-content { margin-top: 12px !important; }
    .hero-buttons { margin-top: 12px !important; }
}

@media screen and (max-width: 480px) {
    .hero-content { margin-top: 16px !important; }
    .hero-buttons { margin-top: 16px !important; }
}

@media screen and (max-width: 320px) {
    .hero-content { margin-top: 20px !important; }
    .hero-buttons { margin-top: 20px !important; }
}

/* about.html 移动端统一字号（不改颜色） */
/* 首页合作伙伴标题放大一点 - 桌面端 */
@media screen and (min-width: 768px) {
    .about-partners .about-section-title {
        font-size: 42px !important;
        font-weight: 600 !important;
        color: #333 !important;
        text-align: left !important;
        margin-bottom: 32px !important;
        line-height: 1.2 !important;
    }
}

@media screen and (max-width: 767px) {
    /* 标题类 */
    .about-section-title,
    .about-cta-title {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    /* 正文/描述类 */
    .hero-description,
    .timeline-text,
    .about-cta-subtitle {
        font-size: 16px !important;
        line-height: 1.6 !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: anywhere !important;
    }
    /* 移动端：覆盖首页/关于页合作伙伴区标题（修复过大问题） */
    .about-partners .about-section-title {
        font-size: 24px !important;
        line-height: 1.3 !important;
        margin-bottom: 16px !important;
        text-align: left !important;
    }
}

/* about.html 移动端：合作夥伴仅保留一组，且每个 logo 占一行并居中 */
@media screen and (max-width: 767px) {
    .about-partners .partners-row {
        display: flex !important;
        flex-direction: column !important; /* 单列，一行一个 */
        align-items: center !important;     /* 居中对齐 */
        gap: 60px !important;               /* 放大单行之间的垂直间距 */
        overflow: hidden !important;
        margin-top: 40px !important;        /* 增加与标题的间距 */
    }
    .about-partners .partner-logo {
        display: block !important;
        margin: 0 auto !important;  /* 居中放置 */
        width: 300px !important;    /* 稍微调小在移动端的显示尺寸 */
        height: auto !important;
    }
    /* 隐藏重复的第二、第三组（每组 5 张） */
    .about-partners .partners-row .partner-logo:nth-child(n+6) {
        display: none !important;
    }
}

/* about.html 移动端：禁用合作伙伴区的任何滚动/动画，保持静止 */
@media screen and (max-width: 767px) {
    .partner-logos,
    .about-partners .partners-row,
    .about-partners .partner-logo {
        animation: none !important;
        transform: none !important;
        transition: none !important;
        position: static !important;
    }
}

/* about.html 移动端：隐藏發展歷程中的圖片（僅移動端） */
@media screen and (max-width: 767px) {
    .about-timeline .timeline-image {
        display: none !important;
    }
}

/* about.html 移动端：收紧“發展歷程”与“合作夥伴”之间的上下间距（仅移动端） */
@media screen and (max-width: 767px) {
    .about-timeline {
        margin-bottom: 8px !important;
        padding-bottom: 8px !important;
    }
    .about-timeline .timeline-item {
        margin-bottom: 24px !important;
    }
    .about-partners {
        margin-top: 8px !important;
        padding-top: 0 !important;
    }
}

/* pricing.html 移动端统一字号（不改颜色） */
@media screen and (max-width: 767px) {
    /* 第一屏背景高度收紧，与上一页等高 */
    .pricing-hero-bg {
        padding: 100px 0 80px !important;
        min-height: 500px !important;
        background: #FFF5F9 !important;       /* 保持浅粉色 */
        background-image: none !important;     /* 移动端移除背景图 */
    }
    /* 标题类 */
    .pricing-includes-title,
    .pricing-card-title,
    .responsibilities-title,
    .faq-title,
    .pricing-cta-title {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    /* 正文/描述类 */
    .responsibility-text,
    .pricing-cta-subtitle,
    .pricing-description {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }

    /* 收費包含項目 以及以下內容整体下移（仅移动端） */
    .pricing-includes {
        margin-top: 40px !important;
    }

    /* 增大 CTA 与上方模块的间距（仅移动端） */
    .pricing-cta {
        margin-top: 64px !important;
    }
}

/* 更小屏时微调 CTA 间距 */
@media screen and (max-width: 480px) {
    .pricing-cta {
        margin-top: 56px !important;
    }
}

@media screen and (max-width: 320px) {
    .pricing-cta {
        margin-top: 48px !important;
    }
}

/* 底部导航栏居中（仅移动端） */
@media screen and (max-width: 767px) {
    .footer-contact-section {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .contact-info {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 6px !important;
    }

    .contact-line {
        text-align: center !important;
    }

    .social-links {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 12px !important;
        margin: 12px auto 0 !important;
    }

    .social-link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* 更小屏时微调下移距离 */
@media screen and (max-width: 480px) {
    .pricing-includes {
        margin-top: 32px !important;
    }
}

@media screen and (max-width: 320px) {
    .pricing-includes {
        margin-top: 24px !important;
    }
}

/* 更小屏（≤480px）进一步收紧 */
@media screen and (max-width: 480px) {
    .pricing-hero-bg {
        padding: 80px 0 60px !important;
        min-height: 400px !important;
    }
}

/* 极小屏（≤320px）进一步收紧 */
@media screen and (max-width: 320px) {
    .pricing-hero-bg {
        padding: 70px 0 50px !important;
        min-height: 350px !important;
    }
}

/* helpers.html 外傭預覽 - 仅移动端美化（不影响桌面端，不改配色） */
@media screen and (max-width: 767px) {
    /* 区域与列表容器 */
    .helpers-preview {
        padding: 40px 0 60px 0; /* 稍微收紧上边距，留出下方空间 */
    }

    .helpers-cards {
        animation: none !important;   /* 移动端不自动滚动 */
        overflow-x: hidden !important;
        gap: 16px !important;         /* 卡片间距更紧凑 */
        padding: 0 20px !important;   /* 与 .container 对齐 */
        width: 100% !important;
        max-width: 100% !important;
    }

    /* 卡片视觉优化 */
    .helper-card {
        width: 100% !important;       /* 占满移动端宽度 */
        padding: 20px !important;
        border-radius: 12px !important;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08) !important;
        border: 1px solid rgba(0,0,0,0.06) !important;
        background: #FFFFFF !important;
    }

    /* 头像与标题布局：纵向居中，更友好 */
    .helper-header {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 12px !important;
        margin-bottom: 16px !important;
    }

    .helper-avatar {
        width: 88px !important;
        height: 88px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
    }

    .helper-name {
        margin-bottom: 4px !important;
    }

    .helper-quote {
        margin: 0 0 8px 0 !important;
    }

    /* 标签区：单列排布，每个标签独占一行 */
    .helper-tags {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    .helper-tag {
        align-items: flex-start !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .tag-icon {
        width: 16px !important;
        height: 16px !important;
        margin-top: 2px !important;
        flex-shrink: 0 !important;
    }

    /* 卡片之间的分隔与触控留白 */
    .helper-card + .helper-card {
        margin-top: 12px !important;
    }

    /* 文本可读性：保证长文换行不溢出 */
    .helper-quote,
    .helper-tag-label,
    .helper-tag-value {
        word-wrap: break-word !important;
        overflow-wrap: anywhere !important;
    }
}

/* helpers.html 移动端：将“我们的筛选标准”及其下方内容整体上移（仅移动端） */
@media screen and (max-width: 767px) {
    /* 筛选标准区：减少顶部留白，整体上移 */
    .helpers-standards {
        padding: 56px 0 28px 0 !important; /* 稍微放松：增加顶部与底部留白 */
        margin-top: 0 !important;
    }
    /* 外傭預覽区：上移并收紧与上一区域的间距 */
    .helpers-preview {
        margin-top: 20px !important;       /* 稍微放松与上一区域间距 */
        padding-top: 40px !important;
    }
    /* 号召区：继续收紧与上方的间距 */
    .pairing-cta {
        padding-top: 40px !important;
        margin-top: 16px !important;
    }
}

/* helpers.html 移动端字号规范（仅影响移动端，不改颜色） */
@media screen and (max-width: 767px) {
    /* 我们的筛选标准 - 移动端美化 */
    .helpers-standards-title {
        font-size: 24px !important;
        line-height: 1.3 !important;
        text-align: left !important;
        margin-bottom: 32px !important;
        color: #333 !important;
        font-weight: 700 !important;
    }
    
    .standards-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        padding: 0 16px !important;
    }
    
    .standard-card {
        background: #fff !important;
        border-radius: 16px !important;
        padding: 24px !important;
        box-shadow: 0 1px 4px rgba(0,0,0,0.04) !important;
        border: 1px solid #f0f0f0 !important;
        transition: all 0.3s ease !important;
    }
    
    .standard-card:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
    }
    
    .standard-header {
        display: flex !important;
        align-items: center !important;
        gap: 16px !important;
        margin-bottom: 16px !important;
    }
    
    .standard-icon {
        width: 48px !important;
        height: 48px !important;
        flex-shrink: 0 !important;
    }
    
    .standard-title {
        font-size: 20px !important;
        line-height: 1.3 !important;
        color: #333 !important;
        font-weight: 600 !important;
        margin: 0 !important;
    }
    
    .standard-desc {
        font-size: 16px !important;
        line-height: 1.6 !important;
        color: #666 !important;
        margin: 0 !important;
    }

    /* 外傭預覽 */
    .helpers-preview-title {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }
    .helper-name,
    .helper-quote,
    .helper-tag,
    .helper-tag-label,
    .helper-tag-value {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }
}

/* 强制统一导航栏宽度 - 最高优先级 */
.navbar .nav-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* process.html 移动端字号规范（不改颜色） */
@media screen and (max-width: 767px) {
    /* 标题类 */
    .process-steps-title,
    .step-title {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    /* 正文/描述类 */
    .step-description,
    .process-steps .content-text,
    .process-steps .section-description {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }
}

@media screen and (max-width: 767px) {
    /* 第一部分标题专用移动端样式 - 只影响hero区域的标题 */
    .hero-title-mobile {
        font-size: 42px !important;
        line-height: 1.3 !important;
        margin-bottom: 16px !important;
    }
    
    /* 移动端process页面标题不换行 */
    .process-hero .hero-title-mobile br {
        display: none !important;
    }
    
    /* index.html 移动端统一字号（不改颜色） */
    /* 标题类 */
    .hero-title,
    .section-title,
    .testimonials-title,
    .cta-title,
    .service-title {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    /* 正文/描述类 */
    .hero-description,
    .service-description,
    .testimonial-text,
    .cta-description {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }
}

/* 平板设备 (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }
    
    .hero-title,
    .section-title,
    .cta-title {
        font-size: 32px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .cta-content {
        gap: 40px;
    }
    
    .cta-img {
        width: 240px;
        height: 240px;
    }
    /* helpers 頁 CTA 圖片在平板加寬且保持橢圓 */
    .helpers-cta .cta-img {
        width: 300px;
        height: 220px;
    }
}

/* 大手机设备 (481px - 767px) */
@media screen and (max-width: 767px) {
    .container {
        padding: 0 20px;
    }
    
    /* 修复Hero区域在移动端的高度问题 */
    .hero {
        height: auto !important;
        min-height: 600px !important;
        padding: 160px 0 120px !important;
        margin-top: 0 !important;
    }
    
    /* 修复Hero容器在移动端的布局 */
    .hero-container {
        padding: 0 20px; /* 与 .container 对齐 */
        margin-top: 0;
    }
    
    /* 修复Hero内容在移动端的宽度 */
    .hero-content {
        max-width: 100%;
        margin-left: 0;
        padding-left: 0;
    }
    
    /* 确保所有页面的Hero区域都有正确的顶部间距 */
    .process-hero,
    .helpers-hero-bg,
    .pricing-hero-bg,
    .about-hero {
        height: auto !important;
        min-height: 600px !important;
        padding: 160px 0 120px !important;
    }
    
    /* 移动端移除所有背景图，改为纯浅粉色背景 */
    .hero {
        background: #FFF5F9 !important;
        background-image: none !important;
    }
    
    .process-hero {
        background: #FFF5F9 !important;
        background-image: none !important;
    }
    
    .helpers-hero-bg {
        background: #FFF5F9 !important;
        background-image: none !important;
    }
    
    .pricing-hero-bg {
        background: #FFF5F9 !important;
        background-image: none !important;
    }
    
    .about-hero {
        background: #FFF5F9 !important;
        background-image: none !important;
    }
    
    /* 导航栏移动端样式 - 大幅优化 */
    .navbar {
        padding: 8px 0;
    }
    
    .nav-container {
        padding: 0 12px !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
        width: 100% !important;
    }
    
    .logo-img {
        height: 28px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 50px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 16px 0;
        gap: 12px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 16px;
        padding: 8px 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger span {
        width: 20px;
        height: 2px;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
    
    .contact-btn {
        display: none;
    }
    
    /* 语言切换器移动端样式 */
    .nav-actions {
        gap: 8px;
    }
    
    .language-switcher {
        padding: 0;
        gap: 6px;
    }
    
    .lang-btn {
        padding: 0;
        font-size: 12px;
    }
    
    .lang-separator {
        font-size: 12px;
    }
    
    /* 视频播放器移动端样式 */
    .cta-video {
        max-width: 100%;
        margin-top: 20px;
    }
    
    .video-play-button {
        width: 100px;
        height: 100px;
    }
    
    .play-icon {
        width: 40px;
        height: 40px;
    }
    
    /* 移动端视频控制条样式 */
    .video-controls {
        padding: 15px 10px 10px;
    }
    
    .video-progress-bar {
        height: 6px;
    }
    
    .video-progress-handle {
        width: 16px;
        height: 16px;
    }
    
    .video-time {
        font-size: 11px;
    }
    
    /* Hero 区域移动端样式 */
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title,
    .section-title,
    .cta-title {
        font-size: 26px;
        margin-bottom: 16px;
    }
    
    .hero-description {
        margin: 0 auto 24px;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .hero-img {
        max-width: 100%;
        border-radius: 20px;
    }
    
    /* 服务特色移动端样式 */
    .services {
        padding: 40px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-title {
        margin-bottom: 24px;
    }
    
    /* 好评区移动端样式 */
    .testimonials {
        padding: 40px 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* 行动号召区移动端样式 */
    .cta {
        padding: 60px 0;
    }
    
    .cta-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .cta-description {
        margin: 0 auto 20px;
    }
    
    .cta-img {
        width: 200px;
        height: 200px;
    }
    /* helpers 頁 CTA 圖片在手機加寬且保持橢圓 */
    .helpers-cta .cta-img {
        width: 260px;
        height: 200px;
    }
    
    /* 页脚移动端样式 */
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Process页面移动端样式 */
    .process-steps-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .steps-list {
        max-width: 100%;
    }
    
    .step-card {
        min-height: auto;
        padding: 20px;
    }
    
    .step-title {
        font-size: 16px;
    }
    
    .step-description {
        font-size: 16px;
    }
    
    .learn-more {
        font-size: 16px;
    }
    
    .process-image {
        max-width: 100%;
        margin-top: 0;
    }
    
    .process-img {
        margin-top: 0;
        max-width: 100%;
    }
    
    /* About页面移动端样式 */
    .about-timeline-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-timeline-left,
    .about-timeline-right {
        width: 100%;
    }
    
    .about-hero-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-hero-left,
    .about-hero-right {
        width: 100%;
    }
    
    .about-hero-grid {
        max-width: 100%;
    }
    
    /* Pricing页面移动端样式 */
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 16px;
        justify-content: center;
    }
    
    .pricing-card {
        padding: 16px;
        text-align: center;
    }
    
    .pricing-card-title {
        font-size: 18px;
    }
    
    .pricing-card-desc {
        font-size: 13px;
    }
    
    .responsibilities-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .responsibilities-left,
    .responsibilities-right {
        width: 100%;
    }
    
    .responsibilities-img {
        max-width: 100%;
    }
    
    .faq-title {
        font-size: 28px;
    }
    
    .faq-item {
        padding: 16px;
    }
    
    .faq-question {
        font-size: 16px;
    }
    
    .faq-answer {
        font-size: 14px;
    }
    
    .pricing-cta-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .pricing-cta-left,
    .pricing-cta-right {
        width: 100%;
    }
    
    .pricing-cta-title {
        font-size: 28px;
    }
    
    .pricing-cta-img {
        max-width: 100%;
    }
    
    /* Helpers页面移动端样式 */
    .helpers-hero-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .helpers-hero-left,
    .helpers-hero-right {
        width: 100%;
    }
    
    .helpers-hero-img {
        max-width: 100%;
    }
    
    .standards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .standard-card {
        padding: 16px;
    }
    
    .standard-header {
        gap: 12px;
        margin-bottom: 16px;
    }
    
    .standard-icon {
        width: 28px;
        height: 28px;
    }
    
    .standard-title {
        font-size: 18px;
    }
    
    .standard-desc {
        font-size: 14px;
    }
    
    .helpers-cards {
        animation: none !important;
        width: 100% !important;
        overflow-x: auto !important;
        padding: 0 16px !important;
    }
    
    .helper-card {
        width: 280px !important;
        flex-shrink: 0 !important;
        margin-right: 16px !important;
    }
    
    .helper-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
    
    .helper-avatar {
        width: 60px;
        height: 60px;
    }
    
    .helper-name {
        font-size: 16px;
    }
    
    .helper-quote {
        font-size: 14px;
    }
    
    .helper-tags {
        gap: 8px;
    }
    
    .helper-tag {
        font-size: 12px;
    }
    
    .pairing-cta-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .pairing-cta-left,
    .pairing-cta-right {
        width: 100%;
    }
    
    .pairing-cta-img {
        max-width: 100%;
    }
    
    /* 修复中等屏幕的宽度超出问题 */
    .cta-text {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .cta-img {
        max-width: 100% !important;
    }
    
    .helpers-cta .cta-img {
        max-width: 100% !important;
    }
    
    .about-cta-img {
        max-width: 100% !important;
        min-width: 0 !important;
    }
    
    .partner-logos {
        max-width: 100% !important;
        overflow-x: auto !important;
    }
    
    .helpers-cards {
        max-width: 100% !important;
        overflow-x: auto !important;
    }
    
    /* 修复pricing页面responsibility文本超出问题 - 中等屏幕 */
    .responsibility-text {
        white-space: normal !important;
        word-wrap: break-word !important;
        max-width: 100% !important;
    }
    
    /* 修复about页面timeline文本超出问题 - 中等屏幕 */
    .timeline-text {
        white-space: normal !important;
        word-wrap: break-word !important;
        max-width: 100% !important;
    }
    
    /* 修复英文版中等屏幕显示问题 */
    [lang="en"] .timeline-text {
        white-space: normal !important;
        word-wrap: break-word !important;
        max-width: 100% !important;
    }
    
    [lang="en"] .about-cta .about-cta-title {
        white-space: normal !important;
        word-wrap: break-word !important;
        max-width: 100% !important;
    }
    
    /* 修复helpers页面超出宽度的元素 */
    .helpers-cards {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
    }
    
    .helper-card {
        width: 280px !important;
        max-width: 100% !important;
    }
    
    /* 修复about页面超出宽度的元素 */
    .partner-logos {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
    }
    
    .partner-logo {
        width: 260px !important;
        max-width: 100% !important;
    }
    
    /* 修复所有页面的固定宽度元素 */
    .cta-text {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .cta-img {
        width: 100% !important;
        max-width: 300px !important;
    }
    
    .helpers-cta .cta-img {
        width: 100% !important;
        max-width: 350px !important;
    }
    
    .about-cta-img {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    
    /* about-cta 移动端居中对齐 */
    .about-cta-content {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .about-cta-left {
        text-align: center !important;
        width: 100% !important;
    }
    
    .about-cta-right {
        justify-content: center !important;
        width: 100% !important;
    }
    
    /* 确保所有容器不会超出宽度 */
    .cta-duplicate .cta-video {
        min-width: 0 !important;
        max-width: 100% !important;
    }
    
    /* 修复pricing页面responsibility文本超出问题 */
    .responsibility-text {
        white-space: normal !important;
        word-wrap: break-word !important;
        max-width: 100% !important;
        font-size: 14px !important;
    }
    
    .responsibility-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }
    
    /* 修复about页面timeline文本超出问题 */
    .timeline-text {
        white-space: normal !important;
        word-wrap: break-word !important;
        max-width: 100% !important;
        font-size: 16px !important;
    }
    
    .timeline-content {
        max-width: 100% !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    
    .timeline-item {
        max-width: 100% !important;
    }
    
    /* 修复英文版移动端显示问题 */
    [lang="en"] .timeline-text {
        white-space: normal !important;
        word-wrap: break-word !important;
        max-width: 100% !important;
        font-size: 14px !important;
    }
    
    [lang="en"] .timeline-content {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    
    [lang="en"] .timeline-date {
        width: auto !important;
        font-size: 14px !important;
    }
    
    [lang="en"] .about-cta .about-cta-title {
        white-space: normal !important;
        word-wrap: break-word !important;
        max-width: 100% !important;
    }
    
    [lang="en"] .timeline-item {
        margin-bottom: 24px !important;
    }
    
    /* 修复所有可能的宽度超出问题 */
    * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Policy页面移动端样式 */
    .policy-page {
        padding-top: 60px !important;
    }
    
    .policy-page .section-title {
        font-size: 24px;
    }
    
    .policy-page .policy-content {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .policy-page .policy-content h3 {
        font-size: 18px;
        margin: 20px 0 8px 0;
    }
    
    .policy-page .policy-content h4 {
        font-size: 16px;
        margin: 16px 0 6px 0;
    }
    
    .policy-page .policy-content p {
        margin: 8px 0 12px 0;
    }
    
    .policy-page .info-card {
        padding: 12px;
        margin: 12px 0 16px 0;
    }
    
    .policy-page .policy-toc {
        padding: 12px;
        margin: 12px 0 16px 0;
    }
}

/* 小手机设备 (320px - 480px) */
@media screen and (max-width: 480px) {
    /* 第一部分标题专用移动端样式 */
    .hero-title-mobile {
        font-size: 36px !important;
        line-height: 1.3 !important;
        margin-bottom: 16px !important;
    }
    
    /* 移动端process页面标题不换行 */
    .process-hero .hero-title-mobile br {
        display: none !important;
    }
    
    /* 强制移动端Hero区域间距 - 小屏幕 */
    .hero::before {
        height: 100px !important;
    }
    
    .process-hero::before,
    .helpers-hero-bg::before,
    .pricing-hero-bg::before,
    .about-hero::before {
        height: 100px !important;
    }
    
    /* 强制小屏幕Hero区域顶部间距 */
    .hero {
        padding-top: 160px !important;
    }
    
    .process-hero,
    .helpers-hero-bg,
    .pricing-hero-bg,
    .about-hero {
        padding-top: 160px !important;
    }
    
    .container {
        padding: 0 12px;
    }
    
    /* 进一步优化导航栏在小屏幕上的显示 */
    .navbar {
        padding: 6px 0;
    }
    
    .nav-container {
        padding: 0 8px !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
        width: 100% !important;
    }
    
    .logo-img {
        height: 24px;
    }
    
    .nav-menu {
        top: 40px;
        padding: 12px 0;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 6px 0;
    }
    
    .lang-btn {
        font-size: 11px;
    }
    
    .lang-separator {
        font-size: 11px;
    }
    
    .hero-title,
    .section-title,
    .cta-title {
        font-size: 22px;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* 进一步优化Hero区域在小屏幕上的显示 */
    .hero {
        height: auto !important;
        min-height: 500px !important;
        padding: 140px 0 100px !important;
    }
    
    .process-hero,
    .helpers-hero-bg,
    .pricing-hero-bg,
    .about-hero {
        height: auto !important;
        min-height: 500px !important;
        padding: 140px 0 100px !important;
    }
    
    /* 小屏幕也移除背景图，改为纯浅粉色背景 */
    .hero {
        background: #FFF5F9 !important;
        background-image: none !important;
    }
    
    .process-hero {
        background: #FFF5F9 !important;
        background-image: none !important;
    }
    
    .helpers-hero-bg {
        background: #FFF5F9 !important;
        background-image: none !important;
    }
    
    .pricing-hero-bg {
        background: #FFF5F9 !important;
        background-image: none !important;
    }
    
    .about-hero {
        background: #FFF5F9 !important;
        background-image: none !important;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
        min-width: 120px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .service-item {
        margin: 0;
        padding: 16px;
    }
    
    .service-img {
        height: 280px;
        width: 100%;
        object-fit: contain;
        object-position: center;
    }
    
    .testimonial-card {
        padding: 16px;
        margin: 0 8px;
    }
    
    .cta-img {
        width: 180px;
        height: 180px;
    }
    /* 極小屏幕下也給 helpers 頁適度加寬 */
    .helpers-cta .cta-img {
        width: 220px;
        height: 180px;
    }
    
    .footer-text {
        font-size: 12px;
    }
    
    .contact-info {
        font-size: 12px;
    }
    
    /* 修复页脚在移动端的布局 */
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 0 16px;
    }
    
    .footer-brand-section,
    .footer-contact-section {
        width: 100%;
    }
    
    .footer-brand-section {
        flex-direction: column;
        gap: 16px;
        margin-left: 0;
    }
    
    .footer-contact-section {
        margin-right: 0;
        flex-direction: column;
        gap: 16px;
    }
    
    .contact-info {
        text-align: center;
    }
    
    /* 小屏幕Policy页面优化 */
    .policy-page {
        padding-top: 50px !important;
    }
}

/* 超小屏幕设备 (小于320px) */
@media screen and (max-width: 320px) {
    /* 第一部分标题专用移动端样式 */
    .hero-title-mobile {
        font-size: 32px !important;
        line-height: 1.3 !important;
        margin-bottom: 16px !important;
    }
    
    /* 移动端process页面标题不换行 */
    .process-hero .hero-title-mobile br {
        display: none !important;
    }
    
    /* 强制移动端Hero区域间距 - 超小屏幕 */
    .hero::before {
        height: 80px !important;
    }
    
    .process-hero::before,
    .helpers-hero-bg::before,
    .pricing-hero-bg::before,
    .about-hero::before {
        height: 80px !important;
    }
    
    /* 强制超小屏幕Hero区域顶部间距 */
    .hero {
        padding-top: 140px !important;
    }
    
    .process-hero,
    .helpers-hero-bg,
    .pricing-hero-bg,
    .about-hero {
        padding-top: 140px !important;
    }
    
    .container {
        padding: 0 8px;
    }
    
    .hero-title,
    .section-title,
    .cta-title {
        font-size: 20px;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 13px;
        min-width: 100px;
    }
    
    .hero-buttons .btn {
        max-width: 240px;
    }
    
    .service-img {
        height: 240px;
        object-fit: contain;
        object-position: center;
    }
    
    .testimonial-card {
        padding: 12px;
        margin: 0 4px;
    }
    
    .cta-img {
        width: 160px;
        height: 160px;
    }
    
    .helpers-cta .cta-img {
        width: 200px;
        height: 160px;
    }
    
    /* 确保所有页面的Hero区域在超小屏幕上正确显示 */
    .hero {
        height: auto !important;
        min-height: 460px !important;
        padding: 120px 0 90px !important;
    }
    
    .hero-container {
        padding: 0 8px;
    }
    
    .hero-content {
        max-width: 100%;
        margin-left: 0;
        padding-left: 0;
    }
    
    .hero-title {
        font-size: 18px;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 12px;
        line-height: 1.3;
    }
    
    /* 超小屏幕导航栏进一步优化 */
    .navbar {
        padding: 4px 0;
    }
    
    .nav-container {
        padding: 0 6px !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
        width: 100% !important;
    }
    
    .logo-img {
        height: 20px;
    }
    
    .nav-menu {
        top: 32px;
        padding: 10px 0;
    }
    
    .nav-link {
        font-size: 13px;
        padding: 4px 0;
    }
    
    .lang-btn {
        font-size: 10px;
    }
    
    .lang-separator {
        font-size: 10px;
    }
    
    /* 所有页面的Hero区域在超小屏幕上的优化 */
    .process-hero,
    .helpers-hero-bg,
    .pricing-hero-bg,
    .about-hero {
        height: auto !important;
        min-height: 460px !important;
        padding: 120px 0 90px !important;
    }
    
    /* 超小屏幕也移除背景图，改为纯浅粉色背景 */
    .hero {
        background: #FFF5F9 !important;
        background-image: none !important;
    }
    
    .process-hero {
        background: #FFF5F9 !important;
        background-image: none !important;
    }
    
    .helpers-hero-bg {
        background: #FFF5F9 !important;
        background-image: none !important;
    }
    
    .pricing-hero-bg {
        background: #FFF5F9 !important;
        background-image: none !important;
    }
    
    .about-hero {
        background: #FFF5F9 !important;
        background-image: none !important;
    }
    
    .btn {
        padding: 6px 12px;
        font-size: 12px;
        min-width: 80px;
    }
    
    .hero-buttons .btn {
        max-width: 200px;
    }
    
    /* 确保页脚在超小屏幕上正确显示 */
    .footer-container {
        padding: 0 8px;
    }
    
    .footer-logo-img {
        height: 50px;
    }
    
    .info-line,
    .contact-line {
        font-size: 10px;
    }
    
    .social-icon {
        width: 30px;
        height: 30px;
    }
    
    /* 超小屏幕Policy页面优化 */
    .policy-page {
        padding-top: 40px !important;
    }
}

/* 横屏模式优化 */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-container {
        gap: 30px;
    }
    
    .hero-title,
    .section-title,
    .cta-title {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .hero-description {
        margin-bottom: 20px;
    }
    
    .services,
    .testimonials,
    .cta {
        padding: 40px 0;
    }
}

/* 高分辨率屏幕优化 */
@media screen and (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title,
    .section-title,
    .cta-title {
        font-size: 40px;
    }
}

/* 打印样式 */
@media print {
    .navbar,
    .hero-buttons,
    .cta-btn,
    .social-links {
        display: none;
    }
    
    .hero {
        padding: 20px 0;
    }
    
    .services,
    .testimonials,
    .cta {
        padding: 20px 0;
    }
    
    body {
        font-size: 12px;
        line-height: 1.4;
    }
}

/* 减少动画效果（用户偏好） */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .service-card:hover,
    .testimonial-card:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    :root {
        --brand-pink: #B71C1C;
        --text-gray: #000000;
        --text-light: #FFFFFF;
    }
    
    .btn-secondary {
        border-width: 3px;
    }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    :root {
        --text-dark: #FFFFFF;
        --text-gray: #CCCCCC;
        --white: #1A1A1A;
        --light-pink: #2A1A1F;
    }
    
    .navbar {
        background: var(--white);
        border-bottom: 1px solid #333;
    }
    
    .service-card,
    .testimonial-card {
        background: #2A2A2A;
        border: 1px solid #444;
    }
    
    .hero {
        background: linear-gradient(135deg, var(--light-pink) 0%, var(--white) 100%);
    }
    
    .testimonials {
        background: var(--light-pink);
    }
    
    /* 移动端简化字体规范系统 - 只有三个字号 */
    
    /* 标题 - 所有标题统一 */
    .hero-title, 
    .page-title,
    .main-title,
    .section-title,
    .chapter-title,
    .content-title,
    .subsection-title,
    .card-title,
    .item-title,
    .small-title,
    .label-title,
    .testimonials-title,
    .process-steps-title,
    .step-title,
    .helpers-standards-title,
    .helpers-preview-title,
    .standard-title,
    .pricing-includes-title,
    .pricing-card-title,
    .responsibilities-title,
    .faq-title,
    .pricing-cta-title,
    .about-section-title,
    .about-cta-title,
    .cta-title,
    .service-title,
    .pricing-title,
    h1, h2, h3, h4, h5, h6 {
        font-size: 24px !important;
        line-height: 1.3 !important;
        margin-bottom: 16px !important;
        font-weight: 600 !important;
        color: #333 !important;
    }
    
    /* 描述 - 所有描述文字统一 */
    .hero-description,
    .section-description,
    .main-description,
    .content-text,
    .secondary-text,
    .sub-description,
    .small-text,
    .helper-text,
    .caption,
    .testimonial-text,
    .step-description,
    .standard-desc,
    .responsibility-text,
    .timeline-text,
    .faq-question,
    .faq-answer,
    .pricing-cta-subtitle,
    .about-cta-subtitle,
    .cta-description,
    .service-description,
    .pricing-description,
    p, span, div {
        font-size: 16px !important;
        line-height: 1.6 !important;
        margin-bottom: 12px !important;
        font-weight: 400 !important;
        color: #666 !important;
    }
    
    /* 按钮 - 所有按钮统一 */
    .btn {
        padding: 12px 24px !important;
        font-size: 16px !important;
        border-radius: 8px !important;
        font-weight: 600 !important;
        min-width: 140px !important;
        transition: all 0.3s ease !important;
    }
    
    .btn-primary {
        background: linear-gradient(135deg, #FF5CA8, #EE46BC) !important;
        box-shadow: 0 4px 12px rgba(238, 70, 188, 0.3) !important;
    }
    
    .btn-primary:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 20px rgba(238, 70, 188, 0.4) !important;
    }
    
    .btn-secondary {
        background: #fff !important;
        color: #FF5CA8 !important;
        border: 2px solid #FF5CA8 !important;
        box-shadow: 0 2px 8px rgba(255, 92, 168, 0.2) !important;
    }
    
    .btn-secondary:hover {
        background: #FF5CA8 !important;
        color: #fff !important;
        transform: translateY(-2px) !important;
    }
    
    /* 卡片样式 */
    .service-card, .testimonial-card, .pricing-card {
        padding: 24px !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
        margin-bottom: 20px !important;
        transition: all 0.3s ease !important;
    }
    
    .service-card:hover, .testimonial-card:hover, .pricing-card:hover {
        transform: translateY(-4px) !important;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;
    }
    
    .cta-content {
        padding: 40px 20px !important;
        border-radius: 16px !important;
        background: linear-gradient(135deg, #FFF5F9, #FFE8F2) !important;
    }
    
    .responsibility-item {
        padding: 16px !important;
        border-radius: 8px !important;
        background: #f8f9fa !important;
        margin-bottom: 16px !important;
        border-left: 4px solid #FF5CA8 !important;
    }
    
    .timeline-item {
        padding: 24px !important;
        border-radius: 8px !important;
        background: #f8f9fa !important;
        margin-bottom: 24px !important;
        border-left: 4px solid #EE46BC !important;
    }
    
    .timeline-date {
        background: #EE46BC !important;
        color: #fff !important;
        padding: 4px 12px !important;
        border-radius: 20px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
    }
    
    /* 特殊颜色处理 */
    .helpers-preview-title {
        color: #EE46BC !important;
    }
    
    .pricing-price {
        color: #EE46BC !important;
        font-weight: 700 !important;
    }
    
    /* 强制覆盖所有内联样式和页面特定样式 */
    .helpers-hero-title,
    .helpers-hero-desc,
    .helpers-standards-title,
    .standard-title,
    .standard-desc,
    .helpers-preview-title,
    .helper-name,
    .helper-quote,
    .helper-tag,
    .pairing-cta-title,
    .pairing-cta-desc,
    .helper-tag-label,
    .helper-tag-value,
    .timeline-date,
    .faq-question,
    .faq-answer,
    .nav-link,
    .lang-btn,
    .lang-separator,
    .contact-btn,
    .logo-img,
    .hamburger span {
        font-size: inherit !important;
    }
    
    /* 强制覆盖所有中英文切换的字体大小差异 */
    [lang="en"] * {
        font-size: inherit !important;
    }
    
    /* 英文版标题加粗 */
    [lang="en"] .hero-title,
    [lang="en"] .about-hero-title,
    [lang="en"] .process-hero .hero-title,
    [lang="en"] .pricing-hero-bg .hero-title,
    [lang="en"] .helpers-hero-bg .hero-title {
        font-weight: 800 !important;
    }
    
    /* 移动端强制覆盖所有字体大小 - 最高优先级 */
    .hero-title, .section-title, .subsection-title, .card-title, .item-title,
    .testimonials-title, .process-steps-title, .step-title, .helpers-standards-title,
    .helpers-preview-title, .standard-title, .pricing-includes-title, .pricing-card-title,
    .responsibilities-title, .faq-title, .pricing-cta-title, .about-section-title,
    .about-cta-title, .cta-title, .service-title, .pricing-title,
    .helpers-hero-title, .pairing-cta-title, .helper-name,
    h1, h2, h3, h4, h5, h6 {
        font-size: 24px !important;
        line-height: 1.3 !important;
        margin-bottom: 16px !important;
        font-weight: 600 !important;
        color: #333 !important;
    }
    
    /* 首页合作伙伴标题特殊处理 - 最高优先级 */
    .about-partners .about-section-title {
        font-size: 42px !important;
        line-height: 1.2 !important;
        margin-bottom: 32px !important;
        font-weight: 600 !important;
        color: #333 !important;
        text-align: left !important;
    }
    
    .hero-description, .section-description, .main-description, .content-text,
    .testimonial-text, .step-description, .standard-desc, .responsibility-text,
    .timeline-text, .faq-question, .faq-answer, .pricing-cta-subtitle,
    .about-cta-subtitle, .cta-description, .service-description, .pricing-description,
    .helpers-hero-desc, .helper-quote, .pairing-cta-desc, .helper-tag,
    .helper-tag-label, .helper-tag-value,
    p, span, div {
        font-size: 16px !important;
        line-height: 1.6 !important;
        margin-bottom: 12px !important;
        font-weight: 400 !important;
        color: #666 !important;
    }
    
    .btn, .contact-btn {
        font-size: 16px !important;
        padding: 12px 24px !important;
        border-radius: 8px !important;
        font-weight: 600 !important;
        min-width: 140px !important;
    }
    
    .nav-link, .lang-btn {
        font-size: 16px !important;
    }
    
    .lang-separator {
        font-size: 16px !important;
    }
    
    .timeline-date {
        font-size: 12px !important;
        font-weight: 600 !important;
    }
    
    /* 特殊处理helpers页面的内联样式覆盖 */
    .helpers-hero-title {
        font-size: 24px !important;
        font-weight: 600 !important;
        color: #333 !important;
        margin-bottom: 16px !important;
    }
    
    .helpers-hero-desc {
        font-size: 16px !important;
        color: #666 !important;
        line-height: 1.6 !important;
        margin-bottom: 12px !important;
    }
    
    .helpers-standards-title {
        font-size: 24px !important;
        font-weight: 600 !important;
        color: #333 !important;
        margin-bottom: 16px !important;
    }
    
    .standard-title {
        font-size: 24px !important;
        font-weight: 600 !important;
        color: #333 !important;
        margin: 0 !important;
    }
    
    .standard-desc {
        font-size: 16px !important;
        color: #666 !important;
        line-height: 1.6 !important;
    }
    
    .helpers-preview-title {
        font-size: 24px !important;
        font-weight: 600 !important;
        color: #EE46BC !important;
        margin-bottom: 16px !important;
    }
    
    .helper-name {
        font-size: 24px !important;
        font-weight: 600 !important;
        color: #333 !important;
        margin-bottom: 8px !important;
    }
    
    .helper-quote {
        font-size: 16px !important;
        color: #EE46BC !important;
        line-height: 1.6 !important;
    }
    
    .helper-tag {
        font-size: 16px !important;
    }
    
    .helper-tag-label {
        font-weight: 600 !important;
        color: #333 !important;
    }
    
    .helper-tag-value {
        color: #666 !important;
    }
    
    .pairing-cta-title {
        font-size: 24px !important;
        font-weight: 600 !important;
        color: #333 !important;
        margin-bottom: 16px !important;
    }
    
    .pairing-cta-desc {
        font-size: 16px !important;
        color: #666 !important;
        margin-bottom: 16px !important;
    }
}

/* 修复 process.html 移动端宽度问题 - 确保与其他页面一致 */
@media screen and (max-width: 767px) {
    .hero-content {
        max-width: 100% !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    
    .process-hero .hero-content {
        max-width: 100% !important;
    }
    
    .process-hero .hero-description {
        max-width: 100% !important;
    }
    
    /* 确保中文版和英文版都使用相同宽度 */
    [lang="zh"] .process-hero .hero-content,
    [lang="en"] .process-hero .hero-content {
        max-width: 100% !important;
    }
    
    [lang="zh"] .process-hero .hero-description,
    [lang="en"] .process-hero .hero-description {
        max-width: 100% !important;
    }
}

/* 最高优先级修复 - 强制覆盖所有可能的宽度限制 */
@media screen and (max-width: 767px) {
    .process-hero .hero-container .hero-content,
    .process-hero .hero-container .hero-content * {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .process-hero .hero-description {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    /* 强制重置所有可能的宽度限制 */
    .process-hero .hero-content,
    .process-hero .hero-description,
    .process-hero .hero-title {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
}

/* App下载区域响应式样式 */
@media (max-width: 768px) {
    /* 移动端App下载按钮组居中 */
    .app-download-buttons {
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: wrap !important;
    }
    
    /* 移动端教程按钮居中 */
    .tutorial-container {
        justify-content: center !important;
        gap: 16px !important;
    }
    
    .tutorial-text {
        align-items: center !important;
        text-align: center !important;
    }
    
    .tutorial-line1,
    .tutorial-line2 {
        text-align: center !important;
    }
    
    /* 手机端：让"家傭保險/Helper Insurance"直接出现在导航列表里 */
    .navbar .nav-menu li.has-dropdown { position: relative; }
    .navbar .nav-menu li.has-dropdown .dropdown-menu {
        display: block;           /* 直接显示 */
        position: static;         /* 跟随文档流，像普通列表项一样 */
        border: none;
        box-shadow: none;
        padding: 0;               /* 与其他项一致的内边距在子项上设置 */
        background: transparent;
        margin: 0;
    }
    .navbar .nav-menu li.has-dropdown .dropdown-item {
        display: block;
        padding: 12px 0;           /* 更紧凑，缩小与下一项（关于我们）的距离 */
        color: #05073C;
        font-size: 14px;          /* 按要求改为14px */
        font-weight: 500;
        text-decoration: none;
    }
    .app-download-section {
        padding: 32px 0;
    }
    
    .app-download-container {
        padding: 0 24px;
        flex-direction: column;
        gap: 16px;
    }
    
    .app-download-title {
        font-size: 26px;
    }
    
    .app-download-buttons {
        gap: 20px;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: wrap !important;
    }
    
    .download-btn-img {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .app-download-section {
        padding: 24px 0;
    }
    
    .app-download-container {
        padding: 0 16px;
        flex-direction: column;
        gap: 12px;
        flex-wrap: wrap;
    }
    
    .app-download-title {
        font-size: 22px;
    }
    
    .app-download-buttons {
        gap: 16px;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: wrap !important;
    }
    
    .download-btn-img {
        height: 45px;
    }
    
    /* 移动端教程按钮居中 */
    .tutorial-container {
        justify-content: center !important;
        gap: 16px !important;
    }
    
    .tutorial-text {
        align-items: center !important;
        text-align: center !important;
    }
    
    .tutorial-line1,
    .tutorial-line2 {
        text-align: center !important;
    }
    
}
