/* 联系屏 — 首页 / 关于我们 / 产品页共用 */

.about-panel-contact {
    background-color: #000000;
    position: relative;
    box-sizing: border-box;
    padding: 0;
    overflow: hidden;
}

.about-page .about-panel-contact,
body:not(.stbledge-about-page) .about-panel-contact,
body.stbledge-product-page .about-panel-contact {
    padding: 0;
}

.about-contact-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    pointer-events: none;
}

.about-contact-block {
    position: absolute;
    z-index: 3;
    top: var(--frame-inset-y-top, 7.5rem);
    left: 50%;
    transform: translateX(-50%);
    padding: 1.5rem 0 0;
    max-width: calc(100% - var(--frame-inset-x, 8rem) * 2);
    text-align: center;
    pointer-events: auto;
}

.about-contact-title {
    margin: 0 0 1.5rem;
    font-family: 'Alibaba PuHuiTi', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.4;
    color: #E7E7E7;
}

.about-contact-qr-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-contact-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.125rem;
}

.about-contact-qr {
    width: 7.5rem;
    height: 7.5rem;
    object-fit: contain;
    background: #fff;
    padding: 0.375rem;
    border-radius: 0.25rem;
    display: block;
    margin-bottom: 0.75rem;
}

.about-contact-qr--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #666;
    text-align: center;
}

.about-contact-lead {
    margin: 0;
    font-family: 'Alibaba PuHuiTi', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #FFFFFF;
}

.about-contact-desc {
    margin: 0;
    font-family: 'Alibaba PuHuiTi', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.5;
    color: #A6A6A6;
}

/* ── 底部装饰层 ── */

.contact-footer-fx {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* 样式一：首页 — 底部弧形渐变 + 星星 + 品牌栈 */

.contact-footer-fx__glow--home {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(10rem, 22vh, 16rem);
    background: radial-gradient(
        ellipse 90% 100% at 50% 100%,
        rgba(0, 119, 255, 0.42) 0%,
        rgba(0, 119, 255, 0.14) 42%,
        rgba(0, 0, 0, 0) 72%
    );
}

.contact-footer-fx__stars--home {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(8rem, 18vh, 13rem);
    background-image: url('../img/product-stars.svg');
    background-repeat: repeat;
    background-size: 334px 223px;
    background-position: center bottom;
    opacity: 0.75;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 85%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 85%, transparent 100%);
}

.contact-footer-fx__brand {
    position: absolute;
    left: 50%;
    top: 90%;
    bottom: auto;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
}

.contact-footer-fx__wordmark {
    display: block;
    width: clamp(5.5rem, 9vw, 7.4375rem);
    height: auto;
}

.contact-footer-fx__mark {
    display: block;
    width: clamp(1.75rem, 3vw, 2.6875rem);
    height: auto;
}

/* 样式二：关于 / 产品 — 大水印 + 右下点阵 + 光晕 */

.contact-footer-fx__glow--watermark {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: clamp(14rem, 40vh, 38rem);
    background:
        linear-gradient(
            0deg,
            rgba(0, 119, 255, 0.18) 0%,
            rgba(0, 119, 255, 0.06) 42%,
            rgba(0, 0, 0, 0) 100%
        ),
        radial-gradient(
            ellipse 85% 110% at 100% 100%,
            rgba(0, 119, 255, 0.52) 0%,
            rgba(0, 119, 255, 0.28) 32%,
            rgba(0, 119, 255, 0.1) 58%,
            rgba(0, 0, 0, 0) 82%
        );
}

.contact-footer-fx__stars--corner {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: clamp(11rem, 34vh, 30rem);
    background-image: url('../img/product-stars.svg');
    background-repeat: repeat;
    background-size: 334px 223px;
    background-position: right bottom;
    opacity: 0.58;
    -webkit-mask-image: radial-gradient(ellipse 75% 95% at 100% 100%, #000 0%, #000 48%, transparent 88%);
    mask-image: radial-gradient(ellipse 75% 95% at 100% 100%, #000 0%, #000 48%, transparent 88%);
}

.contact-footer-fx__watermark {
    position: absolute;
    left: 50%;
    bottom: calc(var(--frame-inset-y-bottom, 7.5rem) - 2rem);
    transform: translateX(-50%);
    z-index: 2;
    display: block;
    width: min(92vw, 68rem);
    height: auto;
    opacity: 0.4;
}

@media (max-width: 768px) {
    .about-contact-block {
        top: var(--frame-inset-y-top, 4rem);
        left: 50%;
        transform: translateX(-50%);
        padding: 1rem 0 0;
        max-width: calc(100% - var(--frame-inset-x, 1.5rem) * 2);
    }

    .contact-footer-fx__brand {
        top: 70%;
    }

    .contact-footer-fx__watermark {
        width: min(96vw, 42rem);
        bottom: calc(var(--frame-inset-y-bottom, 4rem) - 1.25rem);
        opacity: 0.4;
    }

    .contact-footer-fx__glow--watermark {
        width: 100%;
        height: clamp(12rem, 36vh, 26rem);
    }

    .contact-footer-fx__stars--corner {
        width: 100%;
        height: clamp(10rem, 30vh, 20rem);
    }
}
