/* ═══ AVP Splash — 前端样式 ═══ */
/* 合并 Hero + Foundation 到单个 block，内部负 margin 叠加 */

/* ═══ 根容器 ═══ */
.wp-block-jd-avp-splash.section-avp-splash {
    position: relative;
    display: block;              /* 不创建 BFC */
    overflow: visible;           /* 不裁剪溢出 */
    /* 突破主题内容宽度约束，全屏显示 */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: auto;
    max-width: 100vw;
}

/* ═══ Hero Section — 200vh 高度 ═══ */
.section-avp-splash .avp-hero-section {
    --hero-max-height: 1366px;
    --hero-min-height: 725px;
    --padding-top: 0px;
    --localnav-globalnav-height-difference: 0px;
    --locale-switcher-offset: 0px;
    background-color: #f5f5f7;
    box-sizing: border-box;
    height: 200svh;
    margin-bottom: calc(-100svh - var(--padding-top) + var(--localnav-globalnav-height-difference) + var(--locale-switcher-offset));
    margin-top: calc(var(--padding-top) * -1);
    padding-top: 0;
    position: relative;
}

@media only screen and (min-width: 735px) and (max-height: 725px) {
    .section-avp-splash .avp-hero-section {
        margin-bottom: 0;
        height: calc(var(--hero-min-height) - var(--r-globalnav-height, 0px));
    }
}

@media only screen and (max-width: 1068px) {
    .section-avp-splash .avp-hero-section {
        --hero-min-height: 680px;
    }
}

@media only screen and (max-width: 734px) {
    .section-avp-splash .avp-hero-section {
        --hero-min-height: 560px;
    }
}

/* ═══ Sticky 容器 ═══ */
.section-avp-splash .avp-hero-section .sticky-container {
    height: 100svh;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 0;
}

@media only screen and (min-width: 735px) and (max-height: 725px) {
    .section-avp-splash .avp-hero-section .sticky-container {
        height: 100%;
        position: relative;
        top: 0;
    }
}

/* ═══ Hero 内容容器 ═══ */
.section-avp-splash .avp-hero-section .hero-content {
    background-color: #f5f5f7;
    height: 100%;
    position: relative;
    width: 100%;
    z-index: 1;
}

@media only screen and (max-width: 734px) {
    .section-avp-splash .avp-hero-section .hero-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ═══ 硬体图片容器（全屏大图） ═══ */
.section-avp-splash .avp-hero-section .hero-hardware {
    align-items: flex-end;
    bottom: 0;
    display: flex;
    height: 100%;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

.section-avp-splash .avp-hero-section .hero-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.section-avp-splash .avp-hero-section .hero-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ═══ 渐变蒙层（底部白色淡出） ═══ */
.section-avp-splash .avp-hero-section .hero-gradient {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0));
    bottom: 0;
    height: 45%;
    position: absolute;
    width: 100%;
}

@media only screen and (min-width: 1069px) and (max-height: 850px) {
    .section-avp-splash .avp-hero-section .hero-gradient {
        height: 75%;
        background: linear-gradient(0deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0));
    }
}

@media only screen and (max-width: 1068px) and (min-height: 726px) and (max-height: 959px) {
    .section-avp-splash .avp-hero-section .hero-gradient {
        height: 80%;
    }
}

/* ═══ Logo ═══ */
.section-avp-splash .avp-hero-section .avp-hero-logo {
    background-repeat: no-repeat;
    background-image: url(https://www.apple.com/v/apple-vision-pro/k/images/overview/hero/apple_vision_pro_logo__ux94yix23r6y_large.png);
    width: 378px;
    height: 62px;
    background-size: contain;
    position: relative;
    margin: 0;
}

@media only screen and (max-width: 1068px) {
    .section-avp-splash .avp-hero-section .avp-hero-logo {
        width: 378px;
        height: 62px;
    }
}

@media only screen and (max-width: 734px) {
    .section-avp-splash .avp-hero-section .avp-hero-logo {
        width: 273px;
        height: 43px;
        margin: 0 auto;
    }
}

/* ═══ 文字覆盖层（底部） ═══ */
.section-avp-splash .avp-hero-section .hero-copy {
    bottom: 0;
    box-sizing: border-box;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
    position: absolute;
    max-width: 1680px;
    left: 50%;
    transform: translateX(-50%);
    width: 87.5%;
    padding-bottom: 58px;
    z-index: 1;
}

@media only screen and (max-width: 734px) {
    .section-avp-splash .avp-hero-section .hero-copy {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        max-width: 400px;
        text-align: center;
        padding-bottom: 38px;
    }
}

.section-avp-splash .avp-hero-section .hero-headline {
    position: relative;
    margin: 0;
}

@media only screen and (max-width: 1068px) {
    .section-avp-splash .avp-hero-section .hero-headline {
        margin-bottom: 4px;
    }
}

@media only screen and (max-width: 734px) {
    .section-avp-splash .avp-hero-section .hero-headline {
        margin-bottom: 9px;
    }
}

/* ═══ 下半部分（标语 + 按钮） ═══ */
.section-avp-splash .avp-hero-section .lower-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 0;
    position: relative;
    padding-top: 5px;
}

@media only screen and (max-width: 734px) {
    .section-avp-splash .avp-hero-section .lower-wrapper {
        align-items: center;
        justify-content: center;
        flex-direction: column;
        flex-wrap: wrap;
        padding-top: 0;
    }
}

@media only screen and (min-width: 735px) {
    .section-avp-splash .avp-hero-section .lower-wrapper .copy-wrap {
        padding-right: 60px;
    }
}

.section-avp-splash .avp-hero-section .copy-wrap {
    height: fit-content;
    align-self: flex-end;
}

@media only screen and (max-width: 1068px) {
    .section-avp-splash .avp-hero-section .copy-wrap {
        align-self: center;
    }
}

@media only screen and (max-width: 734px) {
    .section-avp-splash .avp-hero-section .copy-wrap {
        align-self: center;
        margin-bottom: 26px;
    }
}

/* ═══ 标语文字 ═══ */
.section-avp-splash .avp-hero-section .hero-tagline {
    font-size: 28px;
    line-height: 1.1428571429;
    font-weight: 600;
    letter-spacing: .007em;
    font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    position: relative;
    margin: 7px 0 0;
    color: #1d1d1f;
}

@media only screen and (max-width: 1068px) {
    .section-avp-splash .avp-hero-section .hero-tagline {
        font-size: 24px;
        line-height: 1.1666666667;
        font-weight: 600;
        letter-spacing: .009em;
        max-width: 435px;
        align-self: center;
    }
}

@media only screen and (max-width: 734px) {
    .section-avp-splash .avp-hero-section .hero-tagline {
        font-size: 17px;
        line-height: 1.2353641176;
        font-weight: 600;
        letter-spacing: -0.022em;
        font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
        margin-top: 0;
        max-width: 280px;
    }
}

/* ═══ CTA 按钮 ═══ */
.section-avp-splash .avp-hero-section .hero-ctas {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    margin-left: 0;
    padding: 0;
}

@media only screen and (max-width: 734px) {
    .section-avp-splash .avp-hero-section .hero-ctas {
        left: 0;
        margin: 0;
        position: relative;
    }
}

.section-avp-splash .avp-hero-section .hero-cta-li {
    margin: 0;
}

/* ═══ 按钮基础样式 ═══ */
.section-avp-splash .avp-hero-section .hero-cta-li .icon-wrapper.button {
    cursor: pointer;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    font-size: 17px;
    line-height: 1.1764805882;
    font-weight: 400;
    letter-spacing: -0.022em;
    font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    min-width: 30px;
    padding: 11px 21px;
    border-radius: 980px;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* 按钮1 — 边框样式 */
.section-avp-splash .avp-hero-section .hero-cta-li .button-tertiary-neutral {
    background: transparent;
    color: #1d1d1f;
    border: 1px solid #1d1d1f;
    margin-right: 12px;
}

.section-avp-splash .avp-hero-section .hero-cta-li .button-tertiary-neutral:hover {
    background: #272729;
    color: #fff;
    border-color: transparent;
}

@media only screen and (max-width: 734px) {
    .section-avp-splash .avp-hero-section .hero-cta-li .button-tertiary-neutral {
        padding: 9px 17px;
    }
}

/* 按钮2 — 实心样式 */
.section-avp-splash .avp-hero-section .hero-cta-li .button-neutral {
    background: #1d1d1f;
    color: #fff;
    border: 1px solid transparent;
}

.section-avp-splash .avp-hero-section .hero-cta-li .button-neutral:hover {
    background: #272729;
    color: #fff;
}

@media only screen and (max-width: 734px) {
    .section-avp-splash .avp-hero-section .hero-cta-li .button-neutral {
        padding: 9px 14px 9px 15px;
    }
}

/* icon-after 在 Hero 中隐藏 */
.section-avp-splash .avp-hero-section .hero-cta-li .icon-after {
    display: none;
}


/* ════════════════════════════════════════════════ */
/* ═══ Foundation Section — 负 margin 覆盖 Hero ═══ */
/* ════════════════════════════════════════════════ */

.section-avp-splash .avp-foundation-section {
    --css-blur-intensity-start: 20px;
    --css-blur-intensity-end: 30px;
    --css-scrim-opacity-start: 0.80;
    --css-scrim-opacity: var(--css-scrim-opacity-start);
    display: grid;
    position: relative;
    z-index: 1;                  /* 覆盖在 hero 之上 */
    margin-top: -100vh;          /* 覆盖 hero 第二屏 — 同 block 内，BFC 不受影响 */
}

/* 液态玻璃效果 (backdrop-filter blur) */
.section-avp-splash .avp-foundation-section::before {
    content: "";
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 0;
    -webkit-backdrop-filter: blur(var(--css-blur-intensity-start));
    backdrop-filter: blur(var(--css-blur-intensity-start));
}

/* 白色半透遮罩 (scrim) */
.section-avp-splash .avp-foundation-section::after {
    content: "";
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 0;
    background-color: #fbfbfd;
    opacity: var(--css-scrim-opacity);
}

/* 文字容器 — grid area 1/1 叠加在 ::before/::after 之上 */
.section-avp-splash .avp-foundation-section .foundations-copy-container {
    --copy-width: 970px;
    align-items: center;
    display: flex;
    flex-flow: column;
    grid-area: 1/1;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    width: calc(min(100% - (62px * 2), var(--copy-width)));
    z-index: 2;
    margin: 0 auto;
}

@media only screen and (max-width: 1068px) {
    .section-avp-splash .avp-foundation-section .foundations-copy-container {
        --copy-width: 692px;
    }
}

@media only screen and (max-width: 734px) {
    .section-avp-splash .avp-foundation-section .foundations-copy-container {
        width: 94%;
    }
}

/* 列表 — 无样式 */
.section-avp-splash .avp-foundation-section .copy-list-wrapper {
    list-style-type: none;
    margin-inline-start: 0;
    padding: 0;
    text-align: center;
}

/* 每个标题之间的间距 */
.section-avp-splash .avp-foundation-section .foundation-headline:not(:first-child) {
    padding-top: 50px;
}

@media only screen and (max-width: 1068px) {
    .section-avp-splash .avp-foundation-section .foundation-headline:not(:first-child) {
        padding-top: 46px;
    }
}

@media only screen and (max-width: 734px) {
    .section-avp-splash .avp-foundation-section .foundation-headline:not(:first-child) {
        padding-top: 28px;
    }
}

/* ═══ Foundation 标题排版 ═══ */
.section-avp-splash .avp-foundation-section .typography-foundation-headline {
    font-size: 48px;
    line-height: 1.0834933333;
    font-weight: 600;
    letter-spacing: -0.003em;
    font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    color: #1d1d1f;
}

@media only screen and (max-width: 1068px) {
    .section-avp-splash .avp-foundation-section .typography-foundation-headline {
        font-size: 40px;
        line-height: 1.1;
        font-weight: 600;
        letter-spacing: 0em;
    }
}

@media only screen and (max-width: 734px) {
    .section-avp-splash .avp-foundation-section .typography-foundation-headline {
        font-size: 28px;
        line-height: 1.1428571429;
        font-weight: 700;
        letter-spacing: .007em;
    }
}

/* ═══ 响应式换行隐藏 ═══ */
@media only screen and (min-width: 1069px) {
    .section-avp-splash .avp-foundation-section .typography-foundation-headline br.ms {
        display: none;
    }
}

@media only screen and (min-width: 735px) and (max-width: 1068px) {
    .section-avp-splash .avp-foundation-section .typography-foundation-headline br.ls {
        display: none;
    }
}

@media only screen and (max-width: 734px) {
    .section-avp-splash .avp-foundation-section .typography-foundation-headline br.lm {
        display: none;
    }
}
