/* =========================================
   Slide 04: Rune AI 产品全景图 (slide-04-landscape.css)
   风格：白底科技感、单画布四层架构总览
   ========================================= */

#slide-4 {
    position: absolute;
    overflow: hidden;
    padding: 80px 100px 42px;
    color: var(--color-text-main);
    background:
        radial-gradient(circle at 16% 12%, rgba(14, 165, 233, 0.12) 0%, rgba(14, 165, 233, 0) 24%),
        radial-gradient(circle at 85% 18%, rgba(30, 96, 248, 0.1) 0%, rgba(30, 96, 248, 0) 28%),
        radial-gradient(circle at 50% 82%, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0) 26%),
        linear-gradient(180deg, #FCFEFF 0%, #F4F8FF 58%, #EEF4FF 100%);
}

.slide-04-bg-grid,
.slide-04-bg-glow,
.slide-04-bg-orbit {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.slide-04-bg-grid {
    background-image:
        linear-gradient(rgba(30, 96, 248, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 96, 248, 0.045) 1px, transparent 1px);
    background-size: 62px 62px;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.95) 36%, rgba(0, 0, 0, 0.32) 74%, transparent 100%);
    opacity: 0.7;
}

.slide-04-bg-glow {
    background:
        radial-gradient(circle at 50% 46%, rgba(96, 165, 250, 0.16) 0%, rgba(96, 165, 250, 0) 34%),
        radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 46%);
}

.slide-04-bg-orbit::before,
.slide-04-bg-orbit::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 1px solid rgba(30, 96, 248, 0.09);
}

.slide-04-bg-orbit::before {
    top: 156px;
    width: 1180px;
    height: 560px;
    box-shadow: 0 0 0 110px rgba(30, 96, 248, 0.018);
}

.slide-04-bg-orbit::after {
    top: 216px;
    width: 880px;
    height: 380px;
    border-style: dashed;
}

.slide-04-header,
.slide-04-summary-strip,
.slide-04-architecture-frame,
.slide-04-conclusion {
    position: relative;
    z-index: 2;
}

.slide-04-header {
    max-width: min(1160px, calc(100% - 320px));
    margin: 0 0 18px;
    text-align: left;
    opacity: 0;
    transform: translateY(-24px);
    transition: opacity 0.75s ease 0.12s, transform 0.75s ease 0.12s;
}

.slide-04-title {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
    font-size: 52px;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: 1px;
}

.slide-04-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 62px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #1E60F8, #F59E0B);;
}

.slide-04-subtitle {
    max-width: 980px;
    margin: 14px 0 0;
    font-size: 22px;
    line-height: 1.6;
    color: #475569;
}

.slide-04-summary-strip {
    width: min(1340px, 100%);
    margin: 0 auto 18px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.75s ease 0.28s, transform 0.75s ease 0.28s;
}

.slide-04-summary-strip .summary-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 86px;
    padding: 0 20px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(241, 245, 249, 0.84)),
        linear-gradient(135deg, rgba(30, 96, 248, 0.12), rgba(16, 185, 129, 0.12));
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #1E3A8A;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-align: center;
}

.slide-04-architecture-frame {
    width: min(1480px, 100%);
    margin: 0 auto;
    padding: 22px 26px 20px;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.75s ease 0.42s, transform 0.75s ease 0.42s;
}

.architecture-stack {
    position: relative;
    margin: 16px 0 14px;
    padding: 8px 6px;
}

.architecture-stack::before,
.architecture-stack::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 76%;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(30, 96, 248, 0.16) 0%, rgba(30, 96, 248, 0) 72%);
    pointer-events: none;
}

.architecture-stack::before {
    top: 0;
    height: 108px;
}

.architecture-stack::after {
    bottom: -4px;
    height: 96px;
}

.architecture-layer {
    position: relative;
    display: grid;
    grid-template-columns: 88px minmax(0, 520px) minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    min-height: 108px;
    padding: 18px 20px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.52);
    box-shadow: 0 28px 50px rgba(15, 23, 42, 0.1);
    overflow: hidden;
    opacity: 0;
    transform: translateY(22px) scale(0.985);
    transition:
        transform 0.65s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        opacity 0.65s ease;
}

.architecture-layer + .architecture-layer {
    margin-top: 12px;
}

.architecture-layer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 42%);
    pointer-events: none;
}

.architecture-layer::after {
    content: '';
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 12px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    opacity: 0.68;
}

.layer-gateway {
    background: linear-gradient(135deg, #325CF9 0%, #2E82FF 56%, #5AB8FF 100%);
}

.layer-assets {
    background: linear-gradient(135deg, #139E8D 0%, #18B88B 52%, #4CD6AA 100%);
}

.layer-platform {
    background: linear-gradient(135deg, #4557E8 0%, #5A73F1 48%, #6C9DFF 100%);
}

.layer-infra {
    background: linear-gradient(135deg, #0F4BC7 0%, #1665E0 45%, #1B8EEA 100%);
}

.layer-index {
    position: relative;
    z-index: 1;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.26);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.95);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.layer-content {
    position: relative;
    z-index: 1;
    display: contents;
}

.layer-type {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.layer-heading h3 {
    margin-bottom: 6px;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.22;
    color: #FFFFFF;
}

.layer-heading p {
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.86);
}

.layer-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: center;
    gap: 12px;
    max-width: 100%;
}

.layer-tags span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.94);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.architecture-layer:hover {
    transform: translateY(-6px) scale(1.008);
    border-color: rgba(255, 255, 255, 0.68);
    box-shadow: 0 34px 58px rgba(15, 23, 42, 0.14);
}

.slide-04-conclusion {
    width: min(1320px, 100%);
    margin: 16px auto 0;
    padding: 18px 24px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(30, 96, 248, 0.92), rgba(14, 165, 233, 0.86));
    box-shadow: 0 24px 42px rgba(30, 96, 248, 0.18);
    text-align: center;
    color: #FFFFFF;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

#slide-4.active .slide-04-header,
#slide-4.active .slide-04-summary-strip,
#slide-4.active .slide-04-architecture-frame,
#slide-4.active .architecture-layer,
#slide-4.active .slide-04-conclusion {
    opacity: 1;
}

#slide-4.active .slide-04-header,
#slide-4.active .slide-04-summary-strip,
#slide-4.active .slide-04-architecture-frame,
#slide-4.active .slide-04-conclusion {
    transform: translateY(0);
}

#slide-4.active .layer-gateway {
    transition-delay: 0.56s;
    transform: translateY(0) scale(1);
}

#slide-4.active .layer-assets {
    transition-delay: 0.66s;
    transform: translateY(0) scale(1);
}

#slide-4.active .layer-platform {
    transition-delay: 0.76s;
    transform: translateY(0) scale(1);
}

#slide-4.active .layer-infra {
    transition-delay: 0.86s;
    transform: translateY(0) scale(1);
}

#slide-4.active .slide-04-conclusion {
    transition-delay: 1s;
}
