/* 藝誠官網：升級對照卡片（section/EZTRUST-099，2026-11-29）。照範本機 V2 介紹頁總覽的三組卡片：紫（AI）、藍（核心）、綠（更多功能）；電腦一排 3 張（AI 那組 2 張），手機 1 張 */
.ezt-up { --c: #0b5bd3; padding-block: 0 clamp(20px, 2.4vw, 32px); color: #0c244a; font-family: Arial, "Noto Sans TC", "Microsoft JhengHei", sans-serif; background: #f5f8fc; box-shadow: 0 0 0 100vmax #f5f8fc; clip-path: inset(0 -100vmax); }
.ezt-up.has-intro { padding-top: clamp(48px, 6vw, 80px); }
.ezt-up *, .ezt-up *::before { box-sizing: border-box; }
.ezt-up__in { max-width: 1200px; margin: 0 auto; }
.ezt-up__intro { max-width: 860px; margin-bottom: 28px; }
.ezt-up__eyebrow { margin: 0 0 8px; color: #0b5bd3; font-size: 13px; font-weight: 700; letter-spacing: .16em; }
.ezt-up__heading { margin: 0; font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; line-height: 1.3; }
.ezt-up__heading span { color: #0b5bd3; }
.ezt-up__intro-lead { margin: 12px 0 0; color: #4a5b73; font-size: 16px; line-height: 1.8; }
.ezt-up__jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.ezt-up__jump a { --c: #0b5bd3; display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px 6px 6px; border: 1px solid #dbe6f3; border-radius: 999px; background: #fff; color: #0c244a; font-size: 15px; font-weight: 700; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.ezt-up__jump a:hover { border-color: var(--c); box-shadow: 0 6px 16px color-mix(in srgb, var(--c) 18%, transparent); }
.ezt-up__jump b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c); color: #fff; font-size: 12px; }
.ezt-up__jump .is-ai, .ezt-up__group.is-ai { --c: #7c5ce6; }
.ezt-up__jump .is-more, .ezt-up__group.is-more { --c: #2f9e6e; }
.ezt-up__group { --c: #0b5bd3; padding: 36px 32px; border: 1px solid color-mix(in srgb, var(--c) 18%, #fff); border-radius: 24px; background: linear-gradient(150deg, color-mix(in srgb, var(--c) 9%, #fff) 0%, #fff 70%); scroll-margin-top: 90px; }
.ezt-up__group.is-ai { background: linear-gradient(150deg, #f1ecff 0%, #eaf4fd 50%, #fff 100%); }
.ezt-up__head { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 28px; }
.ezt-up__no { flex: none; color: transparent; font-size: 56px; font-weight: 800; line-height: 1; -webkit-text-stroke: 1.5px var(--c); }
.ezt-up__group .ezt-up__eyebrow { color: var(--c); }
.ezt-up__title { margin: 0 0 8px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; line-height: 1.35; }
.ezt-up__lead { max-width: 760px; margin: 0; color: #4a5b73; font-size: 16px; line-height: 1.8; }
.ezt-up__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ezt-up__group.is-2 .ezt-up__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ezt-up__card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #dbe6f3; border-radius: 16px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.ezt-up__card:hover { border-color: color-mix(in srgb, var(--c) 50%, #fff); box-shadow: 0 14px 30px color-mix(in srgb, var(--c) 16%, transparent); transform: translateY(-3px); }
.ezt-up__group.is-ai .ezt-up__card { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(120deg, #3a9fd6, #8f6ef0, #e0679d) border-box; }
.ezt-up__shot { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; overflow: hidden; border: 0; border-bottom: 1px solid #e6edf6; background: #eef3f9; cursor: zoom-in; }
.ezt-up__shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ezt-up__card:hover .ezt-up__shot img { transform: scale(1.04); }
.ezt-up__shot:focus-visible { outline: 3px solid #7fb2ff; outline-offset: -3px; }
.ezt-up__zoom { position: absolute; right: 10px; bottom: 10px; padding: 3px 12px; border-radius: 999px; background: #0c244acc; color: #fff; font-size: 12.5px; font-weight: 700; }
.ezt-up__play { position: absolute; top: 12px; left: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: linear-gradient(120deg, #8f6ef0, #e0679d); box-shadow: 0 8px 20px #8f6ef059; color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; transition: transform .2s; }
.ezt-up__play:hover { color: #fff; transform: translateY(-2px); }
.ezt-up__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 18px 20px 22px; }
.ezt-up__old { display: flex; gap: 6px; align-items: flex-start; margin: 0; color: #7a8799; font-size: 13px; line-height: 1.6; }
.ezt-up__old span { flex: none; color: #d64545; font-weight: 700; }
.ezt-up__old s { text-decoration-color: #d6454580; }
.ezt-up__name { display: flex; gap: 10px; align-items: center; margin: 0; font-size: 19px; font-weight: 800; line-height: 1.4; }
.ezt-up__icon { display: grid; flex: none; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: color-mix(in srgb, var(--c) 12%, #fff); }
.ezt-up__icon img { width: 22px; height: 22px; }
.ezt-up__text { margin: 0; color: #4a5b73; font-size: 15px; line-height: 1.75; }
.ezt-up__more { margin-top: auto; padding-top: 4px; color: var(--c); font-size: 14.5px; font-weight: 700; text-decoration: none; }
.ezt-up__more:hover { text-decoration: underline; }
.ezt-up__dialog { width: min(1200px, 94vw); max-height: 92vh; padding: 0; overflow: hidden; border: 0; border-radius: 16px; background: #fff; box-shadow: 0 24px 60px #0c244a59; }
.ezt-up__dialog::backdrop { background: #0c244ab3; }
.ezt-up__dialog img { display: block; width: 100%; height: auto; max-height: calc(92vh - 52px); object-fit: contain; background: #eef3f9; }
.ezt-up__dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px 10px 20px; color: #0c244a; font-size: 16px; font-weight: 700; }
.ezt-up__dialog-bar button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #eef3f9; color: #0c244a; font-size: 18px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .ezt-up__card, .ezt-up__shot img, .ezt-up__play { transition: none; } }
@media (max-width: 991.98px) { .ezt-up__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ezt-up__group { padding: 28px 22px; } }
@media (max-width: 767.98px) {
    .ezt-up__grid, .ezt-up__group.is-2 .ezt-up__grid { grid-template-columns: 1fr; gap: 14px; }
    .ezt-up__group { padding: 24px 16px; border-radius: 16px; }
    .ezt-up__head { gap: 14px; margin-bottom: 20px; }
    .ezt-up__no { font-size: 44px; }
    .ezt-up__name { font-size: 17px; }
}
