/* ============================================================
   agent.css — 智能体开发页独立版式
   色调与站点一致（#4679ea 蓝系），版式与组件为页面独立设计
   ============================================================ */

/* ---------- 通用 ---------- */
.agent-sec{
    padding: 92px 0;
}
.agent-sec.bg{
    background: #f5f7fc;
}
.agent-wrap{
    width: 1280px;
    max-width: 92%;
    margin: 0 auto;
}
.agent-head{
    margin-bottom: 58px;
}
.agent-head .kicker{
    font-size: 13px;
    letter-spacing: 4px;
    color: #4679ea;
    margin-bottom: 14px;
}
.agent-head .kicker:before{
    content: "";
    display: inline-block;
    width: 28px;
    height: 2px;
    background: #4679ea;
    vertical-align: middle;
    margin-right: 12px;
}
.agent-head h2{
    font-size: 32px;
    color: #222;
    line-height: 48px;
}
.agent-head h2 em{
    font-style: normal;
    color: #4679ea;
}
.agent-head p{
    font-size: 15px;
    color: #888;
    line-height: 28px;
    margin-top: 8px;
}

/* ---------- 横幅（居中式） ---------- */
.agent-banner{
    position: relative;
    overflow: hidden;
    padding: 138px 0 176px;
    text-align: center;
    background: radial-gradient(1100px 560px at 50% -160px,#2f5bd6 0%,#16296b 56%,#0d1c4a 100%);
}
.agent-banner .halo{
    position: absolute;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
}
.agent-banner .halo.h1{ width: 520px; height: 520px; left: -190px; top: -220px; }
.agent-banner .halo.h2{ width: 700px; height: 700px; right: -260px; bottom: -360px; }
.agent-banner .dot{
    position: absolute;
    border-radius: 50%;
    background: rgba(190,212,255,.75);
    animation: agent-twinkle 3.2s infinite ease-in-out;
}
.agent-banner .dot:nth-of-type(1){ width: 5px; height: 5px; left: 16%; top: 30%; animation-delay: 0s; }
.agent-banner .dot:nth-of-type(2){ width: 8px; height: 8px; left: 26%; top: 62%; animation-delay: .6s; }
.agent-banner .dot:nth-of-type(3){ width: 4px; height: 4px; left: 72%; top: 26%; animation-delay: 1.2s; }
.agent-banner .dot:nth-of-type(4){ width: 7px; height: 7px; right: 18%; top: 58%; animation-delay: 1.8s; }
.agent-banner .dot:nth-of-type(5){ width: 5px; height: 5px; right: 30%; top: 34%; animation-delay: 2.4s; }
@keyframes agent-twinkle{
    0%,100%{ opacity: .15; transform: scale(.8); }
    50%{ opacity: .9; transform: scale(1.15); }
}
.agent-banner .inner{
    position: relative;
    width: 1280px;
    max-width: 92%;
    margin: 0 auto;
}
.agent-banner .tag{
    display: inline-block;
    font-size: 12px;
    letter-spacing: 6px;
    color: #cfdcff;
    padding: 7px 18px;
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 30px;
    margin-bottom: 28px;
}
.agent-banner h1{
    font-size: 52px;
    color: #fff;
    line-height: 74px;
    letter-spacing: 2px;
}
.agent-banner .sub{
    font-size: 17px;
    color: rgba(255,255,255,.82);
    line-height: 34px;
    max-width: 680px;
    margin: 18px auto 0;
}

/* ---------- 悬浮数据条 ---------- */
.agent-bridge{
    position: relative;
    z-index: 2;
    margin-top: -74px;
}
.agent-bridge ul{
    display: flex;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 18px 44px rgba(22,41,107,.12);
    padding: 36px 0;
}
.agent-bridge li{
    flex: 1;
    text-align: center;
    border-left: 1px solid #eef1f9;
}
.agent-bridge li:first-child{
    border-left: none;
}
.agent-bridge .num{
    font-size: 34px;
    color: #4679ea;
    line-height: 46px;
    font-weight: bold;
}
.agent-bridge .num i{
    font-style: normal;
    font-size: 18px;
}
.agent-bridge p{
    font-size: 14px;
    color: #666;
    line-height: 24px;
    margin-top: 4px;
}

/* ---------- 概述：左图右文 ---------- */
.agent-intro{
    display: flex;
    align-items: center;
}
.agent-intro .diagram{
    flex: 1;
    padding-right: 64px;
}
.agent-intro .flow-box{
    background: #fff;
    border: 1px solid #e6e9f2;
    border-radius: 12px;
    padding: 30px 30px 24px;
    box-shadow: 0 10px 30px rgba(22,41,107,.06);
}
.agent-intro .flow-node{
    text-align: center;
    border-radius: 8px;
    padding: 14px 12px;
    font-size: 14px;
}
.agent-intro .node-user{
    background: #f5f7fc;
    border: 1px dashed #b9cbff;
    color: #333;
}
.agent-intro .node-agent{
    background: linear-gradient(135deg,#2f5bd6,#4679ea);
    color: #fff;
    box-shadow: 0 8px 22px rgba(47,91,214,.35);
    padding: 20px 12px;
}
.agent-intro .node-agent b{
    display: block;
    font-size: 17px;
    font-weight: normal;
    margin-bottom: 12px;
}
.agent-intro .node-agent .cells{
    font-size: 0;
}
.agent-intro .node-agent .cells span{
    display: inline-block;
    width: 25%;
    box-sizing: border-box;
    font-size: 12px;
    line-height: 22px;
    border-right: 1px solid rgba(255,255,255,.35);
}
.agent-intro .node-agent .cells span:last-child{
    border-right: none;
}
.agent-intro .node-sys{
    display: flex;
}
.agent-intro .node-sys span{
    flex: 1;
    margin: 0 4px;
    background: #edf2ff;
    color: #2f5bd6;
    border-radius: 6px;
    padding: 10px 0;
    font-size: 13px;
}
.agent-intro .flow-arr{
    width: 0;
    height: 0;
    margin: 12px auto;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 9px solid #a1bcff;
}
.agent-intro .flow-note{
    text-align: center;
    font-size: 12px;
    color: #9aa4bf;
    margin-top: 14px;
}
.agent-intro .txt{
    flex: 1;
}
.agent-intro .txt h2{
    font-size: 30px;
    color: #222;
    line-height: 46px;
    margin-bottom: 24px;
}
.agent-intro .txt p{
    font-size: 15px;
    color: #666;
    line-height: 28px;
    margin-bottom: 14px;
}
.agent-intro .ticks{
    margin-top: 24px;
}
.agent-intro .ticks li{
    position: relative;
    padding-left: 30px;
    font-size: 15px;
    color: #333;
    line-height: 40px;
}
.agent-intro .ticks li:before{
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    margin-top: 10px;
    border-radius: 50%;
    background: #edf2ff;
    color: #4679ea;
    font-size: 12px;
    text-align: center;
    line-height: 20px;
}

/* ---------- 能力矩阵（Bento） ---------- */
.agent-bento{
    display: grid;
    grid-template-columns: repeat(12,1fr);
    gap: 24px;
}
.agent-bento li{
    background: #fff;
    border: 1px solid #e6e9f2;
    border-radius: 10px;
    padding: 34px 30px;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.agent-bento li:hover{
    transform: translateY(-6px);
    box-shadow: 0 14px 34px rgba(47,91,214,.13);
    border-color: #b9cbff;
}
.agent-bento li.big{
    grid-column: span 6;
    border-top: 3px solid #4679ea;
}
.agent-bento li.sm{
    grid-column: span 3;
}
.agent-bento .ico{
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #edf2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.agent-bento .ico svg{
    width: 26px;
    height: 26px;
    stroke: #4679ea;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.agent-bento h3{
    font-size: 18px;
    color: #222;
    line-height: 30px;
    margin-bottom: 10px;
}
.agent-bento p{
    font-size: 13px;
    color: #777;
    line-height: 23px;
}
.agent-bento .tags{
    margin-top: 16px;
    font-size: 0;
}
.agent-bento .tags span{
    display: inline-block;
    font-size: 12px;
    color: #2f5bd6;
    background: #f0f4ff;
    border-radius: 4px;
    padding: 5px 12px;
    margin: 0 8px 8px 0;
}

/* ---------- 工作原理（管线） ---------- */
.agent-flow{
    display: flex;
    align-items: stretch;
}
.agent-flow .stage{
    flex: 1;
    background: #fff;
    border: 1px solid #e6e9f2;
    border-top: 3px solid #4679ea;
    border-radius: 8px;
    padding: 28px 24px;
}
.agent-flow .stage h3{
    font-size: 18px;
    color: #222;
    line-height: 30px;
    margin-bottom: 10px;
}
.agent-flow .stage p{
    font-size: 13px;
    color: #777;
    line-height: 23px;
    min-height: 66px;
}
.agent-flow .stage .tags{
    font-size: 0;
}
.agent-flow .stage .tags span{
    display: inline-block;
    font-size: 12px;
    color: #4679ea;
    border: 1px solid #d5dffb;
    border-radius: 20px;
    padding: 4px 12px;
    margin: 12px 6px 0 0;
}
.agent-flow .arr{
    flex: none;
    width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.agent-flow .arr:before{
    content: "";
    width: 11px;
    height: 11px;
    border-top: 2px solid #a1bcff;
    border-right: 2px solid #a1bcff;
    transform: rotate(45deg);
}
.agent-flow-note{
    text-align: center;
    font-size: 13px;
    color: #666;
    line-height: 24px;
    margin-top: 26px;
}
.agent-flow-note b{
    display: inline-block;
    font-weight: normal;
    color: #4679ea;
    border: 1px dashed #a1bcff;
    border-radius: 20px;
    padding: 6px 18px;
    margin-right: 10px;
}

/* ---------- 智能体类型 ---------- */
.agent-types{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}
.agent-types li{
    background: #fff;
    border: 1px solid #e6e9f2;
    border-radius: 10px;
    padding: 30px 28px;
    transition: transform .3s, box-shadow .3s;
}
.agent-types li:hover{
    transform: translateY(-6px);
    box-shadow: 0 14px 34px rgba(47,91,214,.13);
}
.agent-types .ico{
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #edf2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.agent-types .ico svg{
    width: 26px;
    height: 26px;
    stroke: #4679ea;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.agent-types h3{
    font-size: 17px;
    color: #222;
    line-height: 28px;
    margin-bottom: 8px;
}
.agent-types p{
    font-size: 13px;
    color: #777;
    line-height: 23px;
    margin-bottom: 14px;
}
.agent-types .tags{
    font-size: 0;
}
.agent-types .tags span{
    display: inline-block;
    font-size: 12px;
    color: #2f5bd6;
    background: #f0f4ff;
    border-radius: 4px;
    padding: 4px 12px;
    margin: 0 8px 6px 0;
}

/* ---------- 落地流程（竖向时间轴） ---------- */
.agent-tl{
    position: relative;
    max-width: 820px;
    margin: 0 auto;
}
.agent-tl:before{
    content: "";
    position: absolute;
    left: 11px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(#4679ea,#b9cbff);
}
.agent-tl li{
    position: relative;
    padding: 0 0 38px 48px;
}
.agent-tl li:last-child{
    padding-bottom: 0;
}
.agent-tl .pt{
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #4679ea;
}
.agent-tl .pt:after{
    content: "";
    position: absolute;
    left: 6px;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4679ea;
}
.agent-tl h3{
    font-size: 17px;
    color: #222;
    line-height: 24px;
    margin-bottom: 8px;
}
.agent-tl h3 span{
    font-size: 13px;
    color: #9aa4bf;
    font-family: Georgia, serif;
    margin-right: 10px;
}
.agent-tl p{
    font-size: 13px;
    color: #777;
    line-height: 23px;
}

/* ---------- 商务合作（分栏卡片） ---------- */
.agent-cta{
    padding: 92px 0;
}
.agent-cta .card{
    display: flex;
    max-width: 1080px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 22px 54px rgba(22,41,107,.15);
}
.agent-cta .info{
    width: 42%;
    flex: none;
    background: linear-gradient(155deg,#16296b 0%,#2f5bd6 100%);
    color: #fff;
    padding: 52px 44px;
    box-sizing: border-box;
}
.agent-cta .info h2{
    font-size: 26px;
    line-height: 40px;
    margin-bottom: 16px;
}
.agent-cta .info p{
    font-size: 14px;
    color: rgba(255,255,255,.8);
    line-height: 26px;
}
.agent-cta .info .tel{
    display: inline-block;
    margin-top: 34px;
    font-size: 22px;
    border-left: 3px solid rgba(255,255,255,.5);
    padding-left: 14px;
}
.agent-cta .info .tel small{
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,.6);
    margin-bottom: 4px;
}
.agent-form{
    flex: 1;
    background: #fff;
    padding: 52px 44px;
    box-sizing: border-box;
}
.agent-form h3{
    font-size: 20px;
    color: #222;
    line-height: 32px;
    margin-bottom: 26px;
}
.agent-form .row{
    display: flex;
    margin: 0 -8px;
}
.agent-form .row input{
    width: 50%;
    box-sizing: border-box;
    padding: 0 8px;
}
.agent-form input,
.agent-form textarea{
    border: none;
    border-bottom: 1px solid #dde3f2;
    background: transparent;
    border-radius: 0;
    font-size: 14px;
    color: #333;
    line-height: 22px;
    padding: 10px 2px;
    margin-bottom: 20px;
    outline: none;
    transition: border-color .3s;
}
.agent-form input:focus,
.agent-form textarea:focus{
    border-bottom-color: #4679ea;
}
.agent-form textarea{
    width: 100%;
    height: 72px;
    resize: none;
}
.agent-form .btn input{
    width: 100%;
    margin: 8px 0 0;
    padding: 13px 0;
    background: #4679ea;
    border: none;
    border-radius: 30px;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
    cursor: pointer;
    transition: background .3s;
}
.agent-form .btn input:hover{
    background: #2f5bd6;
}

/* ---------- 响应式 ---------- */
@media screen and (max-width: 1080px){
    .agent-bento li.sm{
        grid-column: span 6;
    }
    .agent-types{
        grid-template-columns: repeat(2,1fr);
    }
}
@media screen and (max-width: 992px){
    .agent-intro{
        display: block;
    }
    .agent-intro .diagram{
        padding-right: 0;
        margin-bottom: 44px;
    }
    .agent-bridge ul{
        flex-wrap: wrap;
        padding: 20px 0;
    }
    .agent-bridge li{
        flex: none;
        width: 50%;
        box-sizing: border-box;
        padding: 16px 0;
        border-left: none;
        border-top: 1px solid #eef1f9;
    }
    .agent-bridge li:nth-child(-n+2){
        border-top: none;
    }
    .agent-flow{
        display: block;
    }
    .agent-flow .arr{
        width: auto;
        height: 34px;
        transform: rotate(90deg);
    }
    .agent-flow .stage{
        margin-bottom: 8px;
    }
    .agent-flow .stage p{
        min-height: 0;
    }
    .agent-cta .card{
        display: block;
    }
    .agent-cta .info{
        width: 100%;
    }
}
@media screen and (max-width: 768px){
    .agent-banner h1{
        font-size: 34px;
        line-height: 52px;
    }
    .agent-banner{
        padding: 100px 0 150px;
    }
    .agent-head h2{
        font-size: 26px;
    }
    .agent-intro .node-agent .cells span{
        width: 50%;
        margin: 2px 0;
    }
}
@media screen and (max-width: 560px){
    .agent-sec{
        padding: 64px 0;
    }
    .agent-bento li.big,
    .agent-bento li.sm{
        grid-column: span 12;
    }
    .agent-types{
        grid-template-columns: none;
    }
    .agent-bridge li{
        width: 100%;
        border-top: 1px solid #eef1f9;
    }
    .agent-bridge li:first-child{
        border-top: none;
    }
    .agent-form .row{
        display: block;
        margin: 0;
    }
    .agent-form .row input{
        width: 100%;
        padding: 0;
    }
    .agent-cta .info,
    .agent-form{
        padding: 34px 24px;
    }
}