/* 全局样式重置和基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 64px;
}

/* 品牌色彩变量 */
:root {
    --brand-pink: #EE46BC;
    --brand-pink-dark: #D13A7A;
    --text-dark: #333;
    --text-gray: #666;
    --text-light: #CCC;
    --white: #FFFFFF;
    --light-pink: #FFF5F9;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-hover: 0 4px 12px rgba(0,0,0,0.12);
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 24px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 强制统一导航栏宽度 - 最高优先级 */
.navbar .nav-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 24px;
    align-items: center;
}

.nav-link,
.navbar .nav-menu .dropdown-item {
    text-decoration: none;
    color: #05073C;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.navbar .nav-menu .dropdown-item:hover {
    color: var(--brand-pink);
}

.nav-link.active,
.navbar .nav-menu .dropdown-item.active {
    color: #EE46BC;
}

.contact-btn {
    background: var(--brand-pink);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: var(--brand-pink-dark);
    transform: scale(1.02);
}

/* 导航栏操作区域 */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* 语言切换器样式 */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: none;
    padding: 0;
}

.lang-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 16px;
    font-weight: 500;
    color: #6c757d;
    cursor: pointer;
    line-height: 1;
    vertical-align: baseline;
    display: inline-block;
}

.lang-btn:hover {
    color: var(--brand-pink);
    transform: none !important;
    scale: 1 !important;
}

.lang-btn.active {
    color: var(--brand-pink);
    font-weight: 600;
    transform: none !important;
    scale: 1 !important;
}

.lang-separator {
    color: #ccc;
    font-size: 16px;
    font-weight: 300;
    line-height: 1;
    vertical-align: text-top;
    display: inline-block;
    transform: translateY(-2px);
}

/* 移动端菜单按钮 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero 横幅区样式 */
.hero {
    padding: 30px 0 80px;
    position: relative;
    background: url('../images/hero-team.png') no-repeat center center;
    background-size: cover;
    height: 600px;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 800px;
    margin-left: -20px;
    padding-left: 0;
}

/* 确保所有页面的标题都左对齐且不受宽度限制 */
.about-hero .hero-title,
.process-hero .hero-title,
.pricing-hero-bg .hero-title,
.helpers-hero-bg .hero-title,
.about-section-title,
.process-steps-title,
.pricing-hero-bg .section-title,
.helpers-hero-bg .section-title {
    text-align: left;
    max-width: none;
    width: 100%;
    margin-left: 0;
    padding-left: 0;
}

.hero-title {
    font-size: 36px;
    font-weight: 750;
    color: #EE46BC;
    line-height: 1.4;
    margin-bottom: 20px;
    text-align: left;
}

/* 英文版首页标题字号调整 */
[lang="en"] .hero-title {
    font-size: 32px;
    font-weight: 800;
}

/* 英文版pricing页面标题字号调整 */
[lang="en"] .pricing-hero-bg .hero-title {
    font-size: 32px;
    font-weight: 800;
}

.hero-description {
    font-size: 18px;
    color: #323651;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 480px;
    text-align: left;
}

.hero-buttons {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 140px;
}

.btn-primary {
    background: #EE46BC;
    color: var(--white);
    font-weight: bold;
}

.btn-primary:hover {
    background: #D13A7A;
    transform: scale(1.02);
}

.btn-secondary {
    background: #EE46BC;
    color: var(--white);
    border: 2px solid #EE46BC;
    font-weight: bold;
}

.btn-secondary:hover {
    background: #D13A7A;
    color: var(--white);
    transform: scale(1.02);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 0 0 50% 50%;
    object-fit: cover;
}

/* 服务特色模块区样式 */
.services {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 32px;
}

/* 指定区块标题左对齐 */
.services .section-title,
.testimonials .section-title {
    text-align: left;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.service-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
}

.service-content {
    width: 100%;
}

.service-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--brand-pink);
    margin-bottom: 8px;
    text-align: left;
}

.service-description {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.5;
    text-align: left;
}

/* 雇主好评区样式 */
.testimonials {
    padding: 80px 0;
    background: var(--light-pink);
}

.testimonials-title {
    color: var(--brand-pink);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.testimonial-text {
    font-size: 16px;
    color: #05073C;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.user-location {
    font-size: 12px;
    color: var(--text-gray);
}

.rating {
    display: flex;
    gap: 4px;
}

.star {
    color: var(--brand-pink);
    font-size: 16px;
}

.star-half {
    color: var(--brand-pink);
    font-size: 16px;
    opacity: 0.5;
}

.star-outline {
    color: #ddd;
    font-size: 16px;
    text-shadow: 0 0 1px var(--brand-pink);
}

/* 行动号召区样式 */
.cta {
    padding: 80px 0;
    background: var(--white);
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

.cta-text {
    width: 900px;
    max-width: 100%;
    flex-shrink: 0;
}

.cta-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.cta-description {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: inherit;
}

.cta-btn {
    padding: 12px 24px;
    font-weight: bold;
}

.cta-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.cta-img {
    width: 320px;
    max-width: 100%;
    height: 240px;
    border-radius: 50%;
    object-fit: cover;
}

/* helpers 頁 CTA 圖片更寬，保持橢圓比例 */
.helpers-cta .cta-img {
    width: 420px;
    max-width: 100%;
    height: 260px;
    object-fit: contain;
}

/* helpers 頁 CTA 文本寬度收窄，給圖片留空間 */
.helpers-cta .cta-text {
    width: auto;
    max-width: 720px;
}

/* 视频播放器样式 */
.cta-video {
    position: relative;
    flex: 1;
    max-width: 600px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* 复制CTA区域的特殊样式 */
.cta-duplicate .cta-content {
    gap: 10px;
}

.cta-duplicate .cta-text {
    width: auto;
    max-width: 600px;
    flex-shrink: 0;
}

.cta-duplicate .cta-video {
    flex: 1;
    max-width: 550px;
    min-width: 0;
}

.cta-video-player {
    width: 100%;
    height: auto;
    display: block;
    background: #f8f9fa;
    /* 隐藏视频默认控件 */
    -webkit-media-controls: none;
    -moz-media-controls: none;
    -o-media-controls: none;
    -ms-media-controls: none;
}

/* 确保视频控件完全隐藏 */
.cta-video-player::-webkit-media-controls {
    display: none !important;
}

.cta-video-player::-webkit-media-controls-panel {
    display: none !important;
}

.cta-video-player::-webkit-media-controls-play-button {
    display: none !important;
}

.cta-video-player::-webkit-media-controls-start-playback-button {
    display: none !important;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.video-play-button.playing {
    opacity: 0;
    pointer-events: none;
}

.video-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-icon {
    width: 50px;
    height: 50px;
    margin-left: 4px; /* 稍微向右偏移，让播放图标看起来更居中 */
}

/* 视频控制条样式 */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 20px 15px 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.cta-video:hover .video-controls {
    opacity: 1;
}

.video-progress-container {
    margin-bottom: 10px;
}

.video-progress-bar {
    position: relative;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
}

.video-progress {
    height: 100%;
    background: #EE46BC;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s ease;
}

.video-progress-handle {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 12px;
    height: 12px;
    background: #EE46BC;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-progress-bar:hover .video-progress-handle {
    opacity: 1;
}

.video-time {
    display: flex;
    justify-content: space-between;
    color: white;
    font-size: 12px;
    font-weight: 500;
}

/* 移除隐藏样式，让按钮始终显示 */

/* App下载区域样式 */
.app-download-section {
    background: #FFF0F7;
    padding: 40px 0;
    width: 100%;
}

.app-download-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: nowrap;
}

.app-download-title {
    font-size: 32px;
    font-weight: 700;
    color: #323651;
    margin: 0;
    flex-shrink: 0;
    white-space: nowrap;
}

.app-download-buttons {
    display: flex;
    gap: 40px;
    flex-wrap: nowrap;
    align-items: center;
    flex-shrink: 0;
}

.app-download-btn {
    display: inline-block;
}

.download-btn-img {
    height: 60px;
    width: auto;
}

/* 教程按钮样式 */
.tutorial-container {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    min-width: fit-content;
}

.tutorial-btn {
    display: inline-block;
}

.tutorial-icon {
    height: 60px;
    width: auto;
}

.tutorial-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    flex-shrink: 0;
    white-space: nowrap;
}

.tutorial-line1,
.tutorial-line2 {
    color: #EE46BC;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
}

/* 页脚样式 */
.footer {
    background: #454F5E;
    padding: 32px 0;
    color: white;
}

/* process页面减少底部间距，让App下载区域和页脚一起向上平移 */
@media (min-width: 769px) {
    body:has(.process-hero) .process-steps {
        padding-bottom: 0;
    }
}

@media (max-width: 768px) {
    body:has(.process-hero) .process-steps {
        padding-bottom: 0;
    }
}

/* pricing页面App下载区域向上平移，避免被页脚挡住 */
@media (min-width: 769px) {
    body:has(.pricing-hero-bg) .app-download-section {
        transform: translateY(-45px);
    }
}

@media (max-width: 768px) {
    body:has(.pricing-hero-bg) .app-download-section {
        transform: translateY(-40px);
    }
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 保險 FAQ 區塊樣式（專業易讀） */
.insurance-faq {
    background: #FFFFFF;
    padding: 56px 0;
    border-top: 1px solid rgba(0,0,0,0.06);
}

/* 讓保險FAQ主標題靠左對齊 */
.insurance-faq .section-title {
    text-align: left;
}

.insurance-faq .faq-group {
    margin-top: 32px;
    border-radius: 12px;
    background: #FFF7FB; /* 淡粉背景呼應品牌 */
    border: 1px solid #F6D8E8;
    padding: 24px 24px;
    overflow: hidden;
}

.insurance-faq .faq-group-title {
    font-size: 20px;
    font-weight: 700;
    color: #323651;
    margin: 0 0 12px 0;
    cursor: pointer;
    position: relative;
    padding-right: 24px;
    text-align: left; /* 靠左對齊 */
}

.insurance-faq .faq-group-title::after {
    content: '＋';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #E04A8A;
    font-weight: 700;
}

.insurance-faq .faq-group.open .faq-group-title::after { content: '－'; }

.insurance-faq .faq-item + .faq-item { margin-top: 16px; }
.insurance-faq .faq-group .faq-item { display: none; }
.insurance-faq .faq-group.open .faq-item { display: block; }

.insurance-faq .faq-q {
    font-size: 16px;
    font-weight: 600;
    color: #11142D;
    margin-bottom: 6px;
}

.insurance-faq .faq-a {
    font-size: 15px;
    line-height: 1.8;
    color: #4B5563;
}

.insurance-faq .faq-bullets {
    margin: 8px 0 0 18px;
}
.insurance-faq .faq-bullets li { list-style: disc; margin: 4px 0; }

/* 保險對比表 */
.insurance-compare { padding: 32px 0 96px 0; }
.insurance-compare .section-title { text-align: left; }
.insurance-compare .compare-card {
    background: #FFFFFF;
    border: none; /* 移除外圍莫名其妙的邊框 */
    border-radius: 12px;
    padding: 0;
}
.insurance-compare .table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.insurance-compare .compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 950px; /* 讓欄位有足夠寬度，觸發可橫向滾動 */
}
.insurance-compare .compare-table caption {
    text-align: left;
    font-size: 13px;
    color: #6B7280;
    margin-bottom: 8px;
}
.insurance-compare .compare-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #FDF2F8; /* 淡粉固定表頭 */
    color: #1F2937;
    font-weight: 700;
    text-align: left;
    border-bottom: 1px solid #F3F4F6;
    padding: 12px 12px;
}
.insurance-compare .compare-table thead th a { color: inherit; text-decoration: none; }
.insurance-compare .compare-table thead th a:hover { color: #E04A8A; }
.insurance-compare .compare-table tbody th[scope="row"] {
    background: #FFF7FB;
    color: #11142D;
    font-weight: 600;
    text-align: left;
}
.insurance-compare .compare-table td,
.insurance-compare .compare-table th {
    padding: 12px;
    vertical-align: top;
    border-bottom: 1px solid #F3F4F6;
}
.insurance-compare .compare-table tbody tr:hover td,
.insurance-compare .compare-table tbody tr:hover th[scope="row"] {
    background: #FFF5F9;
}
.insurance-compare .compare-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}
.insurance-compare .compare-note {
    margin-top: 8px;
    font-size: 13px;
    color: #6B7280;
}

/* 顶部导航：Pricing 下拉菜单样式 */
.navbar .nav-menu li.has-dropdown {
    position: relative;
}

.navbar .nav-menu li.has-dropdown .dropdown-menu {
    position: absolute;
    left: 0;
    top: 100%;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 8px 0;
    min-width: 180px;
    display: none;
    z-index: 20;
}

.navbar .nav-menu li.has-dropdown:hover .dropdown-menu {
    display: block;
}

.navbar .nav-menu li.has-dropdown .dropdown-item {
    display: block;
    padding: 10px 16px;
    color: #323651;
    white-space: nowrap;
}

.navbar .nav-menu li.has-dropdown .dropdown-item:hover {
    background: #FFF0F7;
    color: #E04A8A;
}

.footer-contact-section {
    margin-right: -64px;
}

.footer-brand-section {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: -64px;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: 70px;
    width: auto;
    filter: brightness(0) invert(1);
}

.brand-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-line {
    font-size: 12px;
    color: white;
    line-height: 1.2;
    margin: 0;
}

.info-line a {
    color: white;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.info-line a:hover {
    color: #EE46BC;
}

.footer-contact-section {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: right;
}

.contact-line {
    font-size: 12px;
    color: white;
    line-height: 1.2;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-link {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    opacity: 0.8;
}

.social-icon {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

/* 運作流程页面样式 */
.process-hero {
    background: url('../images/process-hero-bg.png') no-repeat center top;
    background-size: contain;
    background-position: center 80px;
    padding-top: 100px;
    min-height: 80vh;
}

/* 移动端覆盖固定高度 */
@media screen and (max-width: 767px) {
    .process-hero {
        height: auto !important;
        min-height: 500px !important;
        padding: 100px 0 80px !important;
    }
}

@media screen and (max-width: 480px) {
    .process-hero {
        height: auto !important;
        min-height: 400px !important;
        padding: 80px 0 60px !important;
    }
}

@media screen and (max-width: 320px) {
    .process-hero {
        height: auto !important;
        min-height: 350px !important;
        padding: 70px 0 50px !important;
    }
}

/* 擴大運作流程頁 Hero 文字區寬度，保持左側對齊 */
.process-hero .hero-content {
    max-width: 800px;
}

.process-hero .hero-description {
    max-width: 800px;
}

/* Helpers hero 背景（僅helpers.html使用） */
.helpers-hero-bg {
    background: url('../images/helpers-hero-bg.png') no-repeat center top;
    background-size: contain;
    background-position: center 80px;
}

.process-hero .hero-title {
    color: #EE46BC;
    font-weight: 750;
}

/* 英文版process页面标题加粗 */
[lang="en"] .process-hero .hero-title {
    font-weight: 800;
}

/* Helpers hero 標題色（僅helpers.html） */
.helpers-hero-bg .hero-title {
    color: #EE46BC;
    font-weight: 750;
}

/* 英文版helpers页面标题加粗 */
[lang="en"] .helpers-hero-bg .hero-title {
    font-weight: 800;
}

/* 保險頁 Hero 微調：電腦端讓副標下移，營造呼吸感 */
@media (min-width: 1025px) {
    /* 提高選擇器優先級並統一主副標間距：下移整體，同時保持與其他頁一致的主副標距離 */
    .helpers-hero-bg.insurance-hero .hero-title {
        margin-top: 56px !important;   /* 整體再下移一些 */
        margin-bottom: 16px !important;/* 與其他頁第一屏主副標一致的間距 */
    }
    .helpers-hero-bg.insurance-hero .hero-description {
        margin-top: 0 !important;            /* 由主標的 margin-bottom 控制間距 */
        white-space: normal !important;      /* 允許文字換行 */
        word-break: normal !important;       /* 正常換行，英文在空格處換行 */
        max-width: 100% !important;          /* 允許寬度充份展開 */
        line-height: 1.6 !important;        /* 增加行高提高可讀性 */
    }
}

/* Helpers hero 說明寬度放寬 */
.helpers-hero-bg .hero-description {
    max-width: 600px;
    margin-bottom: 0;
}

/* 保留第二段與下方內容的間距 */
.helpers-hero-bg .hero-description:last-of-type {
    margin-bottom: 32px;
}

.process-steps {
    padding: 80px 0 60px 0;
    background: #FFFFFF;
}

.process-steps-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 32px;
    text-align: left;
}

.process-steps-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.steps-list {
    flex: 1;
    max-width: 60%;
}

.step-card {
    background: #FCEEF5;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    min-height: 140px;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* 英文版步骤卡片保持原高度 */
[lang="en"] .step-card {
    min-height: 180px;
}

.step-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.step-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    color: #EE46BC;
    line-height: 1.4;
    margin: 0;
}

.step-description {
    font-size: 20px;
    color: #05073C;
    line-height: 1.6;
    margin-bottom: 12px;
}

.learn-more {
    font-size: 20px;
    color: #EE46BC;
    text-decoration: underline;
    transition: color 0.3s ease;
    margin-top: auto;
    align-self: flex-start;
}

.learn-more:hover {
    color: #E04A8A;
}

.process-image {
    flex: 1;
    max-width: 40%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.process-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: cover;
    margin-top: -60px;
}

/* 通用动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 滚动平滑效果 */
html {
    scroll-behavior: smooth;
}

/* 按钮和链接的焦点状态 */
.btn:focus,
.nav-link:focus,
.social-link:focus {
    outline: 2px solid var(--brand-pink);
    outline-offset: 2px;
}

/* 图片加载优化 */
img {
    max-width: 100%;
    height: auto;
}

/* 确保内容在导航栏下方 */
section {
    scroll-margin-top: 80px;
}

/* 大屏增加左右内边距 */
@media screen and (min-width: 1440px) {
    .container {
        padding: 0 96px;
    }
}

/* 讓非首屏區塊左邊與首屏對齊，並左右距離一致（桌面寬度下） */
@media screen and (min-width: 1200px) {
    .container:not(.hero-container) {
        padding-left: calc((100vw - 1200px) / 2 - 20px);
        padding-right: calc((100vw - 1200px) / 2 - 20px);
    }
}

/* 合作夥伴區樣式（用於首頁） */
.about-partners { 
    padding: 32px 0 96px 0; 
    overflow: hidden; 
}

/* 首页合作伙伴区域底部间距调整 */
body:has(.hero:not(.about-hero)) .about-partners {
    padding-bottom: 48px !important;
}

/* 首页合作伙伴标题放大一点 */
.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;
}

.partners-row { 
    display: flex; 
    gap: 120px; 
    align-items: center; 
    animation: scrollPartners 45s linear infinite;
    padding: 0;
    width: calc(12 * (240px + 120px));
    max-width: 100%;
}

.partner-logo { 
    width: 240px; 
    height: 120px; 
    object-fit: contain; 
    filter: grayscale(0);
    flex-shrink: 0;
}

.partner-zurich {
    width: 360px;
    height: 150px;
}

/* AVO 稍微縮小一點點 */
.partner-avo {
    width: 220px;
    height: 110px;
}

@keyframes scrollPartners {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

/* 合作夥伴區響應式樣式 */
@media (max-width: 768px) {
    .partners-row { flex-wrap: wrap; }
    .partner-logo { width: calc(50% - 8px); }
}
