/* 方案主图 + 动效锚点（对齐 gclsi2026 参考站 solution1_main / jc.css / home.css） */
.gcl-solution-scope {
    --ratio-size: calc(100vw / 1920);
    font-size: calc(0.417vw + 8px);
}

.gcl-solution-scope .solution1_m12 {
    margin-top: 60px;
}

.gcl-solution-scope .solution1_main {
    position: relative;
}

.gcl-solution-scope .inside-swiper {
    min-height: 55vh;
}

.gcl-solution-scope .solution-content {
    position: relative;
    width: 100%;
    min-height: 55vh;
    background-repeat: no-repeat;
    background-size: 100% auto;
}

.gcl-solution-scope .solution-content .dot {
    position: absolute;
    display: inline-block;
    width: calc(var(--ratio-size) * 10);
    height: calc(var(--ratio-size) * 10);
    border-radius: 50%;
    background-color: #2655a8;
    transform-origin: center;
    animation: gcl-dotAn 3s linear infinite;
    cursor: pointer;
}

.gcl-solution-scope .solution-content .dot:nth-child(2) {
    animation-delay: -1.5s;
}

.gcl-solution-scope .solution-content .dot:nth-child(3) {
    animation-name: none;
}

.gcl-solution-scope .solution-content .dot-content {
    position: absolute;
    z-index: 5;
    -webkit-user-select: none;
    user-select: none;
}

/* 当前展开/悬停的亮点整块抬高，避免 label 卡片被其它亮点（同 z-index:5）压住 */
.gcl-solution-scope .solution-content .dot-content.active,
.gcl-solution-scope .solution-content .dot-content.grty-panel:hover {
    z-index: 50;
}

.gcl-solution-scope .solution-content .item {
    overflow: hidden;
    position: absolute;
    z-index: 2;
    bottom: calc(var(--ratio-size) * 20);
    right: calc(var(--ratio-size) * -45);
    width: max-content;
    padding-bottom: calc(var(--ratio-size) * 10);
}

/* 默认：亮点在左半区，卡片向锚点左侧展开 */
.gcl-solution-scope .solution-content .dot-content.grty-panel:not(.grty-panel--panel-left) .item {
    transform-origin: 15% bottom;
    transform: scale(0);
    transition: all 0.5s;
    right: auto;
    left: calc(var(--ratio-size) * -35);
}

/* 右半区：卡片朝左（整体在锚点左侧），避免贴右缘溢出视口；动画原点改到右下角 */
.gcl-solution-scope .solution-content .dot-content.grty-panel.grty-panel--panel-left .item {
    transform-origin: 85% bottom;
    transform: scale(0);
    transition: all 0.5s;
    left: auto;
    right: calc(var(--ratio-size) * -35);
}

.gcl-solution-scope .solution-content .dot-content.grty-panel:hover .item,
.gcl-solution-scope .solution-content .dot-content.grty-panel.active .item {
    transform: scale(1);
}

.gcl-solution-scope .solution-content .item-main {
    display: block;
    padding: calc(var(--ratio-size) * 20) calc(var(--ratio-size) * 30);
    background-image: linear-gradient(to bottom right, #e9eef3, #f6f8fa);
    box-shadow: 0 0 1px #fff, 0 0 1px #000;
    border-radius: calc(var(--ratio-size) * 20);
    max-width: min(100vw - 32px, calc(var(--ratio-size) * 520));
    box-sizing: border-box;
}

.gcl-solution-scope .solution-content .item::after {
    content: '';
    position: absolute;
    bottom: calc(var(--ratio-size) * 11);
    right: calc(var(--ratio-size) * 30);
    transform: translateY(100%);
    z-index: 1;
    display: inline-block;
    width: 0;
    height: 0;
    border: calc(var(--ratio-size) * 13) solid transparent;
    border-top-color: #e9eef3;
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.25));
}

.gcl-solution-scope .solution-content .dot-content.grty-panel:not(.grty-panel--panel-left) .item::after {
    right: auto;
    left: calc(var(--ratio-size) * 30);
}

.gcl-solution-scope .solution-content .dot-content.grty-panel.grty-panel--panel-left .item::after {
    left: auto;
    right: calc(var(--ratio-size) * 30);
}

.gcl-solution-scope .solution-content .item-main .message {
    display: flex;
    align-items: center;
}

.gcl-solution-scope .solution-content .item .message .title {
    flex: 1;
    margin-left: 0;
    font-size: calc(18rem / 16);
    font-weight: 500;
    text-align: left;
    color: #000;
    background: none;
    -webkit-text-fill-color: currentColor;
    -webkit-background-clip: border-box;
    background-clip: border-box;
}

.gcl-solution-scope .solution-content .item .message .text {
    display: none;
    font-size: calc(var(--ratio-size) * 20);
}

.gcl-solution-scope .solution-content .dot-content.grty-panel:hover .item .message .text,
.gcl-solution-scope .solution-content .dot-content.grty-panel.active .item .message .text {
    display: block;
}

.gcl-solution-scope .solution_yt .dot::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 50%;
    background-color: rgba(161, 255, 159, 0.37);
    animation: gcl-scale2 2s linear infinite;
}

@keyframes gcl-dotAn {
    to {
        transform: scale(5);
        opacity: 0;
    }
}

@keyframes gcl-scale2 {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(2);
    }
    100% {
        transform: scale(1);
    }
}

.gcl-solution-scope .pubzzm {
    animation-name: gcl-soluP1;
    margin-top: 40px;
    width: 100%;
}

.gcl-solution-scope .pubzzm img {
    width: 100%;
    max-height: 100vh;
}

.gcl-solution-scope .pubzz {
    position: relative;
}

.gcl-solution-scope .ani_in {
    will-change: transform, opacity;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-play-state: paused;
    animation-delay: calc(var(--progress, 0) * -1s);
    animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes gcl-soluP1 {
    0% {
        -webkit-clip-path: inset(3vh 7.5vw 3vh 7.5vw round 15px 15px 15px 15px);
        clip-path: inset(3vh 7.5vw 3vh 7.5vw round 15px 15px 15px 15px);
    }
    to {
        -webkit-clip-path: inset(0 round 0 0 0 0);
        clip-path: inset(0 round 0 0 0 0);
    }
}

.gcl-solution-scope .gcltit {
    line-height: 1.2;
    font-weight: 600;
    font-size: clamp(28px, 3vw, 42px);
}

.gcl-solution-scope .pro_inp_more {
    margin-top: 24px;
}

@media only screen and (max-width: 1024px) {
    .gcl-solution-scope .solution-content,
    .gcl-solution-scope .inside-swiper {
        height: auto;
        min-height: auto;
    }

    .gcl-solution-scope .solution-content .dot {
        width: 5px;
        height: 5px;
    }

    /* 对齐首页 full-solution 小屏：卡片宽度与箭头缩小，避免溢出 */
    .gcl-solution-scope .solution-content .item {
        max-width: min(92vw, 360px);
        width: max-content;
        padding-bottom: 8px;
    }

    .gcl-solution-scope .solution-content .dot-content.grty-panel:not(.grty-panel--panel-left) .item {
        left: -12px;
    }

    .gcl-solution-scope .solution-content .dot-content.grty-panel.grty-panel--panel-left .item {
        right: -12px;
    }

    .gcl-solution-scope .solution-content .item-main {
        padding: 16px 18px;
        max-width: min(92vw, 360px);
    }

    .gcl-solution-scope .solution-content .item::after {
        bottom: 8px;
        border-width: 8px;
    }

    .gcl-solution-scope .solution-content .dot-content.grty-panel:not(.grty-panel--panel-left) .item::after {
        left: 18px;
    }

    .gcl-solution-scope .solution-content .dot-content.grty-panel.grty-panel--panel-left .item::after {
        right: 18px;
    }

    .gcl-solution-scope .solution-content .item .message .title {
        font-size: 14px;
        line-height: 20px;
    }

    .gcl-solution-scope .solution-content .item .message .text {
        font-size: 12px;
        line-height: 1.45;
    }

    .gcl-solution-scope .inside-swiper {
        margin-top: 24px;
    }
}
