/* ── Page wrapper ───────────────────────────────── */
.bp5-page {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    /* Chrome 等使用 Noto Sans TC,缺字時退回系統繁中字體 */
    font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

/* Safari 專用:改用 macOS 原生 PingFang TC */
@supports (-webkit-hyphens: none) {
    .bp5-page {
        font-family: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
    }
}

/* ── Banner ─────────────────────────────────────── */
.bp5-banner {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-image: url("/big-pro-5-assets/banner.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

@media (max-width: 768px) {
    .bp5-banner {
        aspect-ratio: 375 / 516;
        background-image: url("/big-pro-5-assets/moble_banner.jpg");
    }
}

/* ── Section 2: Product Cards ────────────────────── */
.bp5-section {
    background: linear-gradient(180deg, #fafcff 0%, #d4e7ff 100%);
    padding: 80px 24px;
}

.bp5-cards {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 60px;
}

.bp5-card {
    display: flex;
    overflow: visible;
    position: relative;
    min-height: 480px;
}

/* Card 2: product_bg 正常方向 */
.bp5-card-2 {
    background-image: url("/big-pro-5-assets/product_bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Card 1 & 3: product_bg 水平翻轉，用 pseudo-element 避免影響內容 */
.bp5-card-1::before,
.bp5-card-3::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/big-pro-5-assets/product_bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scaleX(-1);
    z-index: 0;
}

.bp5-card-1 > *,
.bp5-card-3 > * {
    position: relative;
    z-index: 1;
}

.bp5-card-img-wrap {
    flex: 0 0 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bp5-card-img {
    width: 100%;
    height: auto;
    display: block;
}

.bp5-card-1 .bp5-card-img {
    width: 110%;
    position: relative;
    top: -40px;
    left: 40px;
}

.bp5-card-2 .bp5-card-img {
    width: 110%;
    position: relative;
    top: -40px;
    right: 30px;
}

.bp5-card-3 .bp5-card-img {
    width: 100%;
    position: absolute;
    top: -28px;
    left: -2px;
}

.bp5-card-body {
    flex: 1;
    padding: 32px;
    align-self: center;
}

.bp5-card-title {
    color: #013981;
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.bp5-card-content {
    color: #070707;
    font-size: 28px;
    font-weight: 400;
    text-align: center;
}

@media (max-width: 1280px) {
    .bp5-card-title {
        font-size: 34px;
    }

    .bp5-card-content {
        font-size: 24px;
    }

    .bp5-card-1 .bp5-card-img {
        width: 100%;
        left: 20px;
    }

    .bp5-card-2 .bp5-card-img {
        width: 100%;
        right: 0px;
        top: -58px;
    }
}

@media (max-width: 1024px) {
    .bp5-card {
        min-height: 380px;
    }

    .bp5-card-title {
        font-size: 28px;
    }

    .bp5-card-content {
        font-size: 20px;
    }

    .bp5-card-2 .bp5-card-img {
        right: 0px;
        top: -42px;
    }

    .bp5-card-3 .bp5-card-img {
        position: relative;
        top: 0px;
    }
}

@media (max-width: 768px) {
    .bp5-section {
        padding: 40px 16px;
    }

    .bp5-cards {
        padding-top: 40px;
    }

    .bp5-card {
        flex-direction: column;
        align-items: center;
        min-height: unset;
    }

    .bp5-card-2 {
        flex-direction: column-reverse;
        background-image: none;
    }

    .bp5-card-img-wrap {
        flex: none;
        width: 100%;
    }

    .bp5-card-body {
        width: 100%;
        padding: 20px;
    }

    .bp5-card-title {
        font-size: 20px;
    }

    .bp5-card-content {
        font-size: 12px;
    }

    .bp5-adobe-logo {
        width: 30px !important;
        height: 30px !important;
    }

    .bp5-card-2::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url("/big-pro-5-assets/moble_product_bg.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        transform: scaleX(-1);
        z-index: 0;
    }

    .bp5-card-2 > * {
        position: relative;
        z-index: 1;
    }

    .bp5-card-1::before,
    .bp5-card-3::before {
        background-image: url("/big-pro-5-assets/moble_product_bg.jpg");
        transform: scaleX(1);
    }

    .bp5-card-1 .bp5-card-img {
        width: 90%;
        top: -16px;
        left: 0px;
        max-width: 400px;
    }

    .bp5-card-2 .bp5-card-img {
        width: 100%;
        top: -16px;
        left: 0px;
        max-width: 400px;
    }

    .bp5-card-3 .bp5-card-img {
        width: 95%;
        left: 0px;
        top: -20px;
        max-width: 400px;
    }
}

/* ── Section 3: Features ─────────────────────────── */
.bp5-features-section {
    background: linear-gradient(180deg, #fafcff 0%, #d4e7ff 100%);
    padding: 80px 24px;
}

.bp5-features-title {
    text-align: center;
    color: #013981;
    font-size: 60px;
    font-weight: 900;
    margin: 0 0 60px;
}

.bp5-features {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.bp5-feature-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bp5-feature-img {
    width: 160px;
    height: 160px;
    object-fit: contain;
}

.bp5-feature-title {
    color: #013981;
    font-size: 40px;
    font-weight: 700;
    margin: 24px 0 16px;
    line-height: 1.3;
}

.bp5-feature-content {
    color: #000000;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.6;
}

@media (max-width: 1280px) {
    .bp5-features-title {
        font-size: 52px;
    }

    .bp5-feature-img {
        width: 140px;
        height: 140px;
    }

    .bp5-feature-title {
        font-size: 34px;
    }

    .bp5-feature-content {
        font-size: 22px;
    }
}

@media (max-width: 1024px) {
    .bp5-features-title {
        font-size: 44px;
    }

    .bp5-feature-img {
        width: 120px;
        height: 120px;
    }

    .bp5-feature-title {
        font-size: 28px;
    }

    .bp5-feature-content {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .bp5-features-section {
        padding: 70px 16px 30px 16px;
    }

    .bp5-features {
        flex-direction: column;
        gap: 20px;
    }

    .bp5-features-title {
        font-size: 24px;
        margin: 0 0 36px;
    }

    .bp5-feature-img {
        width: 120px;
        height: 120px;
    }

    .bp5-feature-title {
        font-size: 20px;
        margin: 12px 0 8px;
    }

    .bp5-feature-content {
        font-size: 12px;
    }
}

/* ── CTA Section ─────────────────────────────────── */
.bp5-cta-section {
    background: linear-gradient(180deg, #fafcff 0%, #d4e7ff 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 20px;
    gap: 40px;
}

.bp5-cta-title {
    color: #013981;
    font-weight: 900;
    font-size: 60px;
    margin: 0;
    text-align: center;
}

.bp5-cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 500px;
}

.bp5-cta-btn {
    display: block;
    width: 100%;
    background: #2a4eee;
    color: #fff;
    font-weight: 400;
    font-size: 32px;
    text-align: center;
    text-decoration: none;
    padding: 8px 24px;
    border-radius: 8px;
    transition: opacity 0.2s;
}

.bp5-cta-btn:hover {
    opacity: 0.85;
    color: #fff;
}

@media (max-width: 1280px) {
    .bp5-cta-title {
        font-size: 52px;
    }

    .bp5-cta-btn {
        font-size: 28px;
    }
}

@media (max-width: 1024px) {
    .bp5-cta-section {
        padding: 60px 20px;
        gap: 28px;
    }

    .bp5-cta-buttons {
        gap: 28px;
    }

    .bp5-cta-title {
        font-size: 44px;
    }

    .bp5-cta-btn {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .bp5-cta-section {
        background: #fff;
    }

    .bp5-cta-title {
        font-size: 24px;
    }

    .bp5-cta-btn {
        font-size: 14px;
    }

    .bp5-cta-buttons {
        width: 80%;
        gap: 20px;
    }
}

/* ── Scroll to top button ────────────────────────── */
#bp5-scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #013981;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s,
        visibility 0.3s,
        transform 0.2s;
    z-index: 9999;
}

#bp5-scroll-top.bp5-scroll-top--visible {
    opacity: 1;
    visibility: visible;
}

#bp5-scroll-top:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    #bp5-scroll-top {
        width: 40px;
        height: 40px;
        bottom: 16px;
        right: 16px;
    }
}

/* ── Footer ─────────────────────────────────────── */
.ns-footer {
    padding: 0;
    margin: 0;
    width: 100%;
    background-color: #e6e6e6;
}

.ns-footer-bottom {
    background-color: #000;
    color: #fff;
    padding: 40px 80px 15px;
}

.ns-fallow {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 16px;
}

.ns-social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
}

.ns-social-icons a img {
    width: 44px;
    height: 44px;
}

.ns-footer-hr {
    border-color: #fff;
}

.ns-footer-link {
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
    color: #fff;
}

.ns-footer-link a {
    font-size: 11.5px;
    color: #fff;
    text-decoration: none;
    padding: 10px;
}

.ns-footer-link div {
    color: rgba(255, 255, 255, 0.5);
}

.ns-copyright {
    background-color: #000;
    color: rgba(255, 255, 255, 0.7);
    font-size: 11.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    padding-bottom: 30px;
}

@media (max-width: 768px) {
    .ns-footer-bottom {
        padding: 30px 40px 15px;
    }

    .ns-fallow {
        display: block;
        text-align: center;
    }

    .ns-copyright {
        display: block;
        line-height: 2;
    }
}
