/* 年会 Agent 与咨询区：独立作用域，可与页面原有切换脚本配合 */
#agent.agx-section {
    background: linear-gradient(180deg, #fffdf9 0%, #fbf4ec 100%);
    overflow: hidden
}

.agx-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px
}

.agx-heading .agx-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #9a3c39;
    font-size: 14px;
    font-weight: 700
}

.agx-heading .agx-kicker:before,
.agx-heading .agx-kicker:after {
    content: "";
    width: 24px;
    height: 1px;
    background: #c9a66a
}

.agx-heading h2 {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.3;
    letter-spacing: -.035em;
    margin: 12px 0 14px;
    color: #2b2423
}

.agx-heading p {
    color: #81716c;
    margin: 0;
    font-size: 16px
}

.agx-layout {
    display: grid;
    grid-template-columns: 355px 1fr;
    gap: 48px;
    align-items: center
}

.agx-options {
    display: grid;
    gap: 14px
}

.agx-option {
    width: 100%;
    display: grid;
    grid-template-columns: 52px 1fr 18px;
    gap: 15px;
    align-items: center;
    text-align: left;
    border: 1px solid #eaded3;
    border-radius: 12px;
    background: #fffdfb;
    padding: 20px;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    color: #382a27
}

.agx-option:hover,
.agx-option.active {
    border-color: #b66a5d;
    box-shadow: 0 12px 30px #7b3d2714;
    transform: translateY(-2px)
}

.agx-option.active {
    background: #fff8f4
}

.agx-option svg {
    width: 25px;
    height: 25px;
    stroke: #a13f3b;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round
}

.agx-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border: 1px solid #eedbc9;
    border-radius: 14px;
    background: linear-gradient(145deg, #fff8ed, #f7e5d6);
    box-shadow: 0 5px 0 #f2e3d5
}

.agx-option strong,
.agx-option small {
    display: block
}

.agx-option strong {
    font-size: 16px;
    margin-bottom: 3px
}

.agx-option small {
    font-size: 13px;
    line-height: 1.5;
    color: #8c7b72
}

.agx-arrow {
    color: #bd8b69;
    font-size: 22px
}

.agx-stage {
    position: relative;
    min-height: 397px;
    padding: 25px 15px 18px
}

.agx-stage:before {
    content: "";
    position: absolute;
    inset: 24px 5px 6px;
    border-radius: 50%;
    background: radial-gradient(ellipse, #eed5bd88, transparent 70%);
    filter: blur(10px);
    pointer-events: none
}

.agx-stage .agent-demo {
    position: relative;
    min-height: 355px
}

.agx-window {
    position: relative;
    z-index: 1;
    border: 1px solid #ead8ca;
    background: rgba(255, 255, 255, .94);
    border-radius: 16px;
    box-shadow: 0 24px 60px #6336241c;
    overflow: hidden
}

.agx-windowbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 22px;
    border-bottom: 1px solid #f1e9e2;
    font-size: 13px;
    color: #9c7666
}

.agx-windowbar strong {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #5b4640
}

.agx-dot {
    width: 9px;
    height: 9px;
    background: #b95b4d;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #f8e7dc
}

.agx-windowbody {
    padding: 24px
}

.agx-message {
    display: flex;
    align-items: flex-start;
    gap: 12px
}

.agx-avatar {
    width: 35px;
    height: 35px;
    flex: none;
    display: grid;
    place-items: center;
    background: #a5443f;
    color: #fff;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 10px #a5443f29
}

.agx-bubble {
    background: #f9f4ef;
    border: 1px solid #f1e7de;
    border-radius: 5px 12px 12px 12px;
    padding: 13px 16px;
    color: #6e5a52;
    font-size: 14px;
    line-height: 1.6
}

.agx-flow {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 18px 0 14px 47px;
    color: #a27b66;
    font-size: 12px
}

.agx-flow span {
    display: inline-flex;
    align-items: center;
    gap: 5px
}

.agx-flow span:before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c49a76
}

.agx-flow i {
    font-style: normal;
    color: #d9c4b3
}

.agx-materials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-left: 47px
}

.agx-piece {
    height: 112px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eadacf;
    position: relative;
    background: #f7e8dc;
    padding: 12px;
    color: #7c3a35;
    font-weight: 650;
    font-size: 12px
}

.agx-piece:before,
.agx-piece:after {
    content: "";
    position: absolute;
    border: 1px solid #ba8173;
    border-radius: 50%;
    opacity: .45
}

.agx-piece:before {
    width: 78px;
    height: 78px;
    right: -16px;
    bottom: -22px
}

.agx-piece:after {
    width: 55px;
    height: 55px;
    right: -4px;
    bottom: -10px
}

.agx-piece:nth-child(2) {
    background: #9d4840;
    color: #fff3df
}

.agx-piece:nth-child(2):before,
.agx-piece:nth-child(2):after {
    border-color: #ebc79a
}

.agx-piece:nth-child(3) {
    background: #ead7c2
}

.agx-piece small {
    display: block;
    font-size: 10px;
    font-weight: 400;
    opacity: .65;
    margin-top: 4px
}

.agx-piece b {
    position: absolute;
    bottom: 12px;
    left: 12px;
    font-size: 17px;
    letter-spacing: .08em;
    font-weight: 600
}

.agx-answer {
    margin: 18px 0 0 47px;
    border-left: 2px solid #c59870;
    padding: 2px 0 2px 16px;
    color: #69574e;
    font-size: 14px
}

.agx-answer strong {
    display: block;
    color: #9c4540;
    margin-bottom: 7px
}

.agx-answer p {
    margin: 0;
    line-height: 1.7
}

.agx-answer ul {
    padding: 0;
    list-style: none;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 15px 0 0
}

.agx-answer li {
    padding: 5px 9px;
    background: #f8efe7;
    border-radius: 5px;
    font-size: 12px;
    color: #9a6255
}

.agx-stamp {
    position: absolute;
    z-index: 2;
    right: -4px;
    top: 0;
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    border-radius: 28px;
    background: linear-gradient(145deg, #b55048, #842e30);
    box-shadow: 0 12px 26px #813f3433;
    transform: rotate(8deg);
    color: #fff1d8;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    line-height: 1.3
}

.agx-stamp:after {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid #e5b68688;
    border-radius: 21px
}

.agx-note {
    position: relative;
    font-size: 12px;
    color: #a6978c;
    margin: 12px 0 0 5px
}

.agx-stage .agent-demo.is-entering {
    animation: agx-in .4s ease both
}

@keyframes agx-in {
    from {
        opacity: 0;
        transform: translateY(8px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.agx-cta {
    padding: 12px 0 100px;
    background: #fff
}

.agx-cta-card {
    position: relative;
    overflow: hidden;
    min-height: 250px;
    border: 1px solid #efded0;
    border-radius: 20px;
    padding: 42px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: radial-gradient(ellipse at 100% 0%, #edceae 0%, transparent 47%), linear-gradient(110deg, #fbefe5, #fff9f3)
}

.agx-cta-card:after {
    content: "";
    position: absolute;
    right: 8%;
    bottom: -110px;
    width: 300px;
    height: 300px;
    border: 1px solid #c59c7533;
    border-radius: 50%;
    box-shadow: 0 0 0 28px #c59c750e, 0 0 0 57px #c59c750b;
    pointer-events: none
}

.agx-cta-copy,
.agx-cta-action {
    position: relative;
    z-index: 1
}

.agx-cta-copy {
    max-width: 730px
}

.agx-cta-copy h2 {
    font-size: 28px;
    line-height: 1.3;
    margin: 0 0 10px;
    color: #342624
}

.agx-cta-copy p {
    color: #856d5e;
    margin: 0;
    font-size: 15px
}

.agx-tags {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin-top: 22px
}

.agx-tags span {
    border: 1px solid #ecd9ca;
    border-radius: 6px;
    background: #fffaf6;
    padding: 6px 11px;
    color: #97534b;
    font-size: 13px
}

.agx-cta-action .btn {
    min-width: 220px;
    min-height: 54px;
    background: #9c3c39;
    border-color: #9c3c39;
    color: #fff;
    box-shadow: 0 9px 20px #8f343024
}

.agx-cta-action .btn:hover {
    background: #7f2e2e;
    border-color: #7f2e2e
}

@media(max-width:900px) {
    .agx-layout {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .agx-options {
        grid-template-columns: 1fr 1fr
    }

    .agx-cta-card {
        padding: 32px;
        align-items: flex-start;
        flex-direction: column
    }
}

@media(max-width:600px) {
    .agx-options {
        grid-template-columns: 1fr
    }

    .agx-stage {
        padding: 15px 0
    }

    .agx-stamp {
        width: 70px;
        height: 70px;
        font-size: 12px
    }

    .agx-windowbody {
        padding: 15px
    }

    .agx-materials,
    .agx-flow,
    .agx-answer {
        margin-left: 0
    }

    .agx-cta-card {
        padding: 28px
    }

    .agx-cta-action .btn {
        min-width: 0
    }
}

@media(prefers-reduced-motion:reduce) {

    .agx-option,
    .agx-stage .agent-demo.is-entering {
        transition: none;
        animation: none
    }

    .agx-option:hover {
        transform: none
    }
}