.aps-page .system-title {
    letter-spacing: 0;
    line-height: 1.35;

}
/* ===== Hero section主視覺：產品名稱、主標題與介紹文字 ===== */
.aps-product-name {
    margin-bottom: 12px;
    font-size: var(--dek-text-product);
    font-weight: 700;

}
.aps-page .system-hero h1 {
    white-space: normal; 

}
.aps-page .system-hero-copy {
    line-height: 1.6; 

}
/* ===== 困境與流程區共用背景 ===== */
.aps-challenges, .aps-process {
    background: #f6f4f4; 

}
/* 區塊：使用品牌色與左側直線標示。 */
.aps-page .aps-kicker {
    padding-left: 9px;
    border-left: 2px solid var(--system-accent); 
    color: var(--system-accent);
    font-size: var(--dek-text-label);
    letter-spacing: 0;

}
/* ===== 企業困境卡片：外框、內距、圖示與文字 ===== */
.aps-challenge-card {
    border: 1px solid #e5e2e2;
    border-radius: 8px; 

}
.aps-challenge-card .card-body {
    padding: 20px 16px; 

}
.aps-icon {
    display: inline-flex;
    padding: 5px; 
    margin-bottom: 12px;
    color: var(--system-accent);
    background: #f6f4f4; 
    font-size: 23px;

}
.aps-challenge-card h3 { 
    font-size: var(--dek-text-card-title);
    line-height: 1.5;

}
.aps-challenge-card p {
    color: #666;
    font-size: var(--dek-text-body);
    line-height: 1.6; 

}
/* ===== 核心功能：圖文間距與交錯排列 ===== */
.aps-features { 
    padding-block: 95px;

}
.aps-feature { 
    gap: 60px;
    margin-bottom: 115px;

}
.aps-feature:last-child {
    margin-bottom: 0;

}
/* 桌面版將第一個子元素移至第二欄，形成圖文交錯。 */
.aps-feature-reverse > :first-child { 
    order: 2; 

}
.aps-feature-label {
    margin-bottom: 5px;
    color: #db7777;
    font-size: var(--dek-text-label);

}
.aps-feature .system-copy {
    line-height: 1.6; 

}
/* ===== 導入流程：桌面版每列三個步驟 ===== */
.aps-steps {
    display: grid; 
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 65px 0; 
    margin: 60px 0 10px;
    padding: 0; 
    list-style: none; 

}
.aps-steps li {
    position: relative;
    padding-inline: 35px; 
    text-align: center; 

}
/* 以偽元素繪製步驟編號後方的水平連線。 */
.aps-steps li::before {
    position: absolute;
    top: 24px;
    right: 0; 
    left: 0; 
    height: 1px;
    content: "";
    background: #d77777; 

}
/* 編號使用不透明白底，遮住後方連線。 */
.aps-step-number {
    position: relative; 
    display: grid; 
    place-items: center; 
    width: 48px; 
    height: 48px; 
    margin: 0 auto 14px;
    color: var(--system-accent);
    background: #fff;
    border-radius: 4px;
    font-size: 23px;

}
.aps-steps h3 {
    margin-bottom: 12px;
    color: #202020; 
    font-size: var(--dek-text-card-title);

}
.aps-steps p {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 110px;
    max-width: 260px; 
    margin: 0 auto;
    padding: 22px 18px;
    color: #666; 
    background: #fff;
    border-radius: 5px;
    line-height: 1.6; 

}
/* ===== 導入前後比較：原有情境、箭頭、改善結果三欄排列 ===== */
.aps-comparison .list-group-item {
    display: grid; 
    grid-template-columns: minmax(0, 1fr) 30px minmax(0, .8fr);
    align-items: center; 
    gap: 12px;
    padding: 22px 12px; 
    color: #888; 
    background: transparent; 
    font-size: var(--dek-text-body);

}
.aps-comparison i {
    color: var(--system-accent);
    font-size: 25px; 

}
.aps-comparison strong { 
    color: #555;
    font-weight: 500;

}
/* ===== 頁尾行動呼籲（CTA）：上方品牌色分隔線與淺色背景 ===== */
.aps-cta {
    border-top: 1px solid var(--system-accent);
    background: #f9f6f6; 

}
.aps-cta h2.system-title {
    font-size: var(--dek-text-cta-title);
}

/* ===== 平板與較窄螢幕：縮小圖文間距、內距與文字 ===== */
@media (max-width: 991.98px) {
    .aps-feature {
        gap: 32px; 

    }
    .aps-steps li {
        padding-inline: 16px;

    }
}
/* ===== 手機版：還原圖文順序、流程改為單欄，縮減比較區字級與間距 ===== */
@media (max-width: 767.98px) {
    .aps-features { 
        padding-block: 48px; 

    }
    .aps-feature { 
        margin-bottom: 60px;

    }
    .aps-feature-reverse > :first-child { 
        order: 0;

    }
    .aps-steps {
        grid-template-columns: 1fr; 
        gap: 30px;
        margin-top: 36px;

    }
    .aps-steps li { 
        padding-inline: 0;

    }
    .aps-steps p {
        max-width: 100%;

    }
    .aps-comparison .list-group-item {
        gap: 8px;                                      
        padding-inline: 0;
        font-size: var(--dek-text-body);

    }
}

/* 捲動進場動畫，依系統的減少動態效果設定啟用。 */
.aps-page.aps-motion-enabled.is-motion-ready .system-reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.22, 1, .36, 1);
}
/* 依 data-reveal 指定左右進場方向。 */
.aps-page.aps-motion-enabled.is-motion-ready .system-reveal[data-reveal="left"] {
    transform: translateX(-44px);

}
.aps-page.aps-motion-enabled.is-motion-ready .system-reveal[data-reveal="right"] {
    transform: translateX(44px); 

}
/* 進入可視範圍後，恢復不透明度並清除位移。 */
.aps-page.aps-motion-enabled.is-motion-ready .system-reveal.is-visible {
    opacity: 1; transform: none; 

} 
