.promo-page {
    min-height: 100vh;
    overflow-x: hidden;
    background: #f6f8fb;
    color: #172033;
}

.promo-hero {
    position: relative;
    min-height: 82vh;
    overflow: hidden;
    display: grid;
    align-items: center;
    padding: 80px min(7vw, 96px) 72px;
    background: #eaf3f6;
}

.promo-scene {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(246, 248, 251, .94), rgba(246, 248, 251, .58) 48%, rgba(246, 248, 251, .12)),
        linear-gradient(180deg, #eaf3f6, #f8fbfa);
}

.scene-window {
    position: absolute;
    border: 1px solid rgba(28, 58, 88, .16);
    border-radius: 8px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 24px 70px rgba(31, 67, 101, .16);
}

.scene-window-main {
    right: 5vw;
    top: 13vh;
    width: min(620px, 48vw);
    min-height: 380px;
    padding: 18px;
}

.scene-window-side {
    right: 17vw;
    bottom: 8vh;
    width: min(390px, 34vw);
    min-height: 180px;
    padding: 18px;
}

.scene-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #65748a;
    font-size: 12px;
    font-weight: 800;
}

.scene-toolbar i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #19b89f;
}

.scene-toolbar i:nth-child(2) {
    background: #ffbd45;
}

.scene-toolbar i:nth-child(3) {
    background: #ef5f73;
}

.scene-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 24px 0;
}

.scene-stats b {
    display: grid;
    place-items: center;
    min-height: 74px;
    border: 1px solid #dce7f2;
    border-radius: 8px;
    color: #0b74c7;
    background: #f8fbff;
    font-size: 23px;
}

.scene-chart {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: end;
    gap: 12px;
    height: 190px;
    padding: 18px;
    border: 1px solid #dce7f2;
    border-radius: 8px;
    background: #fbfdff;
}

.scene-chart i {
    border-radius: 8px 8px 3px 3px;
    background: #19b89f;
}

.scene-card-line,
.scene-list i {
    display: block;
    border-radius: 8px;
    background: #dce7f2;
}

.scene-card-line {
    width: 76%;
    height: 18px;
}

.scene-card-line.short {
    width: 48%;
    margin-top: 12px;
    background: #bfeadf;
}

.scene-list {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.scene-list i {
    height: 24px;
}

.promo-hero-content {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
}

.promo-kicker {
    margin: 0 0 12px;
    color: #087f70;
    font-size: 13px;
    font-weight: 800;
}

.promo-hero h1 {
    margin: 0;
    color: #102033;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.04;
}

.promo-lead {
    margin: 22px 0 0;
    max-width: 640px;
    color: #22324a;
    font-size: clamp(20px, 2.5vw, 30px);
    line-height: 1.36;
    font-weight: 800;
}

.promo-sublead {
    margin: 16px 0 0;
    max-width: 580px;
    color: #5c6c82;
    font-size: 16px;
    line-height: 1.7;
}

.promo-actions,
.promo-version-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.promo-actions {
    margin-top: 30px;
}

.promo-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 800;
}

.promo-button.primary {
    color: #fff;
    background: #0f8bff;
}

.promo-button.secondary {
    color: #0b5e9f;
    background: #fff;
    border: 1px solid #cfe0ef;
}

.promo-button:disabled {
    cursor: wait;
    opacity: .68;
}

.promo-version-strip {
    margin-top: 20px;
    color: #53657c;
    font-size: 13px;
    font-weight: 700;
}

.promo-version-strip span {
    padding: 8px 10px;
    border: 1px solid rgba(23, 32, 51, .1);
    border-radius: 8px;
    background: rgba(255, 255, 255, .78);
}

.promo-band {
    padding: 58px min(7vw, 96px);
}

.promo-section-head {
    max-width: 780px;
    margin-bottom: 24px;
}

.promo-section-head h2,
.demo-notes h3 {
    margin: 0;
    color: #172033;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.capability-grid article {
    display: grid;
    gap: 18px;
    align-content: start;
    min-height: 190px;
    padding: 20px;
    overflow: hidden;
    border: 1px solid #dce7f2;
    border-radius: 8px;
    background: #fff;
}

.capability-grid article.has-image {
    padding: 0;
}

.capability-grid article.has-image div {
    padding: 0 20px 20px;
}

.capability-image-link {
    display: block;
    position: relative;
    overflow: hidden;
    color: inherit;
    cursor: zoom-in;
}

.capability-image-link::after {
    content: "查看原图";
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 5px 8px;
    border-radius: 8px;
    color: #fff;
    background: rgba(16, 25, 43, .72);
    font-size: 12px;
    font-weight: 800;
    opacity: 0;
    transition: opacity .16s ease;
}

.capability-image-link:hover::after,
.capability-image-link:focus-visible::after {
    opacity: 1;
}

.capability-grid img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #edf4fb;
}

.capability-grid span {
    color: #ef5f73;
    font-weight: 900;
}

.capability-grid h3 {
    margin: 22px 0 10px;
}

.capability-grid p,
.demo-notes p,
.demo-notes li {
    color: #617187;
    line-height: 1.65;
}

.is-image-modal-open {
    overflow: hidden;
}

.promo-image-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 40px;
    background: rgba(12, 18, 32, .78);
}

.promo-image-modal[hidden] {
    display: none;
}

.promo-image-modal img {
    max-width: min(1180px, 94vw);
    max-height: 86vh;
    border-radius: 8px;
    background: #fff;
    object-fit: contain;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

.promo-image-modal-close {
    position: fixed;
    top: 20px;
    right: 24px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 50%;
    color: #fff;
    background: rgba(16, 25, 43, .78);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.promo-image-modal-close:hover,
.promo-image-modal-close:focus-visible {
    background: #0f8bff;
}

.promo-demo {
    background: #fff;
}

.demo-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: stretch;
}

.demo-layout > * {
    min-width: 0;
}

.demo-player {
    aspect-ratio: 16 / 9;
    min-height: 330px;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    border: 1px solid #dce7f2;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(15, 139, 255, .14), rgba(24, 182, 167, .14)),
        #10192b;
}

.demo-player::before {
    content: "";
    position: absolute;
    inset: 28px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
}

.demo-player.has-video::before,
.demo-player.is-playing::before {
    display: none;
}

.demo-player video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #10192b;
}

.demo-cover {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 34px;
    border: 0;
    color: #fff;
    background:
        radial-gradient(circle at 50% 44%, rgba(255, 255, 255, .22), transparent 0 58px, transparent 59px),
        linear-gradient(135deg, rgba(8, 17, 33, .52), rgba(8, 17, 33, .22)),
        linear-gradient(135deg, #10192b 0%, #142742 42%, #0f8bff 42%, #0f8bff 43%, #18b6a7 43%, #18b6a7 46%, #172033 46%, #172033 100%);
    cursor: pointer;
    text-align: left;
}

.demo-cover::before {
    content: "";
    position: absolute;
    inset: 26px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    pointer-events: none;
}

.demo-cover::after {
    content: "";
    position: absolute;
    inset: auto 28px 28px;
    height: 76px;
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .04));
    opacity: .72;
}

.demo-player.is-playing .demo-cover {
    display: none;
}

.demo-cover-play {
    position: relative;
    z-index: 2;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
}

.demo-cover-play::after {
    content: "";
    position: absolute;
    left: 36px;
    top: 29px;
    border-left: 26px solid #0f8bff;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
}

.demo-cover-copy {
    position: absolute;
    left: 44px;
    bottom: 46px;
    z-index: 2;
    display: grid;
    gap: 7px;
    max-width: min(520px, calc(100% - 88px));
}

.demo-cover-copy span,
.demo-cover-copy small {
    color: rgba(255, 255, 255, .76);
    font-weight: 800;
}

.demo-cover-copy strong {
    font-size: 30px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.demo-cover-badge {
    position: absolute;
    top: 30px;
    left: 34px;
    z-index: 2;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 8px;
    color: #fff;
    background: rgba(16, 25, 43, .66);
    font-weight: 800;
}

.demo-cover.is-empty {
    cursor: default;
}

.demo-notes {
    padding: 24px;
    border: 1px solid #dce7f2;
    border-radius: 8px;
    background: #f8fbff;
}

.demo-notes ul {
    margin: 18px 0 0;
    padding-left: 18px;
}

.demo-video-meta {
    margin-top: 18px;
    padding: 10px 12px;
    border: 1px solid #dce7f2;
    border-radius: 8px;
    background: #fff;
    overflow-wrap: anywhere;
    font-weight: 800;
}

.trial-result {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid #bce6dc;
    border-radius: 8px;
    background: #eefbf8;
}

.hero-trial-result {
    width: min(520px, 100%);
    margin-top: 16px;
}

.trial-result[hidden] {
    display: none;
}

.trial-result span {
    grid-column: 1 / -1;
    color: #087f70;
    font-size: 12px;
    font-weight: 800;
}

.trial-result strong {
    font-family: Consolas, "Microsoft YaHei", monospace;
    overflow-wrap: anywhere;
}

.trial-result small {
    grid-column: 1 / -1;
    color: #617187;
    font-family: Consolas, "Microsoft YaHei", monospace;
    overflow-wrap: anywhere;
}

.trial-result small[hidden] {
    display: none;
}

.trial-result button {
    border: 0;
    border-radius: 8px;
    padding: 8px 12px;
    color: #0b5e9f;
    background: #dbeeff;
    cursor: pointer;
    font-weight: 800;
}

.promo-admin-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.promo-admin-toolbar h2 {
    margin: 3px 0 6px;
    font-size: 24px;
}

.promo-admin-toolbar p {
    margin: 0;
    color: var(--muted);
}

.promo-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 16px;
}

.promo-stat-card {
    min-height: 112px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 8px;
    padding: 20px;
    border: 1px solid #dce7f2;
    border-radius: 28px;
    background: #fff;
    text-align: center;
}

.promo-stat-card span {
    color: #617187;
    font-size: 13px;
    font-weight: 800;
}

.promo-stat-card strong {
    color: #172033;
    font-size: 32px;
    line-height: 1;
    font-weight: 900;
}

.promo-admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.promo-capability-admin {
    margin-bottom: 16px;
}

.promo-capability-admin > .form-grid,
.promo-capability-admin form > .form-grid {
    margin: 18px 0;
}

.promo-capability-editor {
    display: grid;
    gap: 14px;
}

.promo-capability-row {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfdff;
}

.capability-image-field {
    display: grid;
    gap: 10px;
    align-content: center;
    justify-items: center;
    min-height: 190px;
    padding: 14px;
    border: 1px dashed #b8cce0;
    border-radius: 8px;
    background: #f4f8fc;
    color: var(--muted);
    text-align: center;
}

.capability-image-field span {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    color: #0b5e9f;
    background: #e4f1ff;
    font-weight: 900;
}

.capability-image-field img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
    background: #eaf1f8;
}

.capability-image-field input {
    max-width: 100%;
    color: var(--muted);
}

.capability-image-field small,
.promo-admin-foot span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.capability-edit-fields {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.capability-row-actions,
.promo-admin-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.promo-capability-row.is-empty {
    align-items: center;
    background: #fff;
}

.capability-empty-copy h3 {
    margin: 0 0 8px;
}

.capability-empty-copy p {
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.65;
}

.promo-admin-foot {
    margin-top: 16px;
}

.promo-admin-panel {
    min-height: 260px;
}

.promo-upload-box {
    display: grid;
    gap: 10px;
    min-height: 170px;
    align-content: center;
    justify-items: start;
    padding: 18px;
    border: 1px dashed #b8cce0;
    border-radius: 8px;
    background: #f8fbff;
}

.promo-upload-box input {
    color: var(--muted);
}

.promo-upload-progress {
    display: grid;
    gap: 8px;
    width: 100%;
}

.promo-upload-progress[hidden] {
    display: none;
}

.promo-upload-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.promo-upload-progress-head strong {
    color: #0b5e9f;
}

.promo-upload-progress-bar {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #dbe8f5;
}

.promo-upload-progress-bar i {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0f8bff, #18b6a7);
    transition: width .18s ease;
}

.promo-version-admin {
    display: grid;
    gap: 10px;
}

.promo-version-admin div {
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfdff;
}

.promo-version-admin span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.promo-version-admin strong {
    display: block;
    margin-top: 5px;
    overflow-wrap: anywhere;
}

.promo-admin-form .button {
    align-self: end;
}

.promo-records table {
    min-width: 720px;
}

.promo-records code {
    color: #0b5e9f;
    font-family: Consolas, "Microsoft YaHei", monospace;
    font-weight: 800;
}

@media (max-width: 980px) {
    .scene-window-main,
    .scene-window-side {
        opacity: .34;
        width: 78vw;
        right: -18vw;
    }

    .promo-hero {
        min-height: 86vh;
        padding: 64px 22px 54px;
    }

    .capability-grid,
    .demo-layout,
    .promo-capability-row,
    .promo-stat-grid,
    .promo-admin-grid {
        grid-template-columns: 1fr;
    }

    .demo-player {
        min-height: 220px;
        width: 100%;
        max-width: 100%;
    }

    .demo-cover {
        padding: 22px;
    }

    .demo-cover::before {
        inset: 16px;
    }

    .demo-cover::after {
        inset: auto 16px 16px;
        height: 58px;
    }

    .demo-cover-play {
        width: 66px;
        height: 66px;
    }

    .demo-cover-play::after {
        left: 27px;
        top: 21px;
        border-left-width: 20px;
        border-top-width: 13px;
        border-bottom-width: 13px;
    }

    .demo-cover-copy {
        left: 24px;
        right: 24px;
        bottom: 28px;
        max-width: none;
    }

    .demo-cover-copy strong {
        font-size: 20px;
    }

    .demo-cover-copy small {
        display: none;
    }

    .demo-cover-badge {
        top: 20px;
        left: 22px;
    }

    .promo-band {
        padding: 42px 22px;
    }
}

@media (max-width: 620px) {
    .promo-hero h1 {
        font-size: 38px;
        line-height: 1.08;
    }

    .scene-window-main,
    .scene-window-side {
        opacity: .22;
    }

    .promo-actions .promo-button,
    .promo-admin-toolbar .button {
        width: 100%;
    }

    .promo-admin-toolbar {
        flex-direction: column;
    }

    .promo-version-strip span {
        width: 100%;
    }

    .scene-window-main {
        right: -58vw;
    }
}
