.agent-page{
    --agent-navy:#04205F;
    --agent-blue:#1E4398;
    --agent-pink:#E4007D;
    --agent-ink:#17233d;
    --agent-copy:#43516c;
    --agent-line:#dce6f4;
    --agent-soft:#f4f8ff;
    color:var(--agent-ink);
}
.agent-page *{box-sizing:border-box;}
.agent-hero{
    position:relative;
    overflow:hidden;
    padding:74px 0 68px;
    background:
        radial-gradient(circle at 90% 10%,rgba(77,139,255,.28),transparent 30%),
        radial-gradient(circle at 0% 100%,rgba(228,0,125,.18),transparent 28%),
        linear-gradient(120deg,#03183f 0%,#08327a 62%,#174fa5 100%);
}
.agent-hero::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    opacity:.2;
    background-image:
        linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px);
    background-size:30px 30px;
}
.agent-hero__grid{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:minmax(0,.92fr) minmax(460px,1.08fr);
    gap:48px;
    align-items:center;
}
.agent-kicker{
    display:inline-flex;
    align-items:center;
    min-height:32px;
    margin-bottom:18px;
    padding:0 13px;
    border:1px solid rgba(255,255,255,.32);
    border-radius:999px;
    color:#fff;
    font-size:13px;
    font-weight:700;
    letter-spacing:.1em;
}
.agent-hero h1{
    margin:0 0 18px;
    color:#fff;
    font-size:clamp(34px,4.5vw,56px);
    line-height:1.18;
    font-weight:700;
    text-transform:none;
}
.agent-hero__lead{
    max-width:41em;
    margin:0 0 26px;
    color:rgba(255,255,255,.9);
    font-size:18px;
    line-height:1.85;
}
.agent-actions{display:flex;flex-wrap:wrap;gap:12px;}
.agent-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:0 22px;
    border-radius:10px;
    font-size:15px;
    font-weight:700;
    text-decoration:none;
    transition:transform .15s ease,background .15s ease;
}
.agent-btn:hover{transform:translateY(-1px);}
.agent-btn--primary{background:#fff;color:var(--agent-blue);}
.agent-btn--primary:hover{background:#eef4ff;color:var(--agent-navy);}
.agent-btn--ghost{border:1px solid rgba(255,255,255,.74);color:#fff;background:rgba(255,255,255,.08);}
.agent-btn--ghost:hover{background:rgba(255,255,255,.16);color:#fff;}
.agent-hero__demo{
    margin:0;
    padding:10px;
    border:1px solid rgba(255,255,255,.38);
    border-radius:20px;
    background:rgba(255,255,255,.96);
    box-shadow:0 28px 70px rgba(0,0,0,.34);
}
.agent-hero__demo img{display:block;width:100%;height:auto;border-radius:13px;}
.agent-facts{
    position:relative;
    z-index:2;
    margin-top:-28px;
}
.agent-facts__grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    background:#fff;
    border:1px solid var(--agent-line);
    border-radius:15px;
    box-shadow:0 16px 38px rgba(4,32,95,.11);
}
.agent-fact{padding:20px 22px;border-right:1px solid var(--agent-line);}
.agent-fact:last-child{border-right:0;}
.agent-fact strong{display:block;color:var(--agent-navy);font-size:16px;margin-bottom:4px;}
.agent-fact span{display:block;color:var(--agent-copy);font-size:13px;line-height:1.6;}
.agent-section{padding:70px 0;}
.agent-section--soft{background:var(--agent-soft);}
.agent-section--dark{
    color:#fff;
    background:
        radial-gradient(circle at 90% 10%,rgba(228,0,125,.22),transparent 27%),
        linear-gradient(120deg,#03183f,#0d397f);
}
.agent-section__head{max-width:780px;margin:0 auto 34px;text-align:center;}
.agent-section__head .tag{
    display:inline-block;
    margin-bottom:10px;
    color:var(--agent-pink);
    font-size:13px;
    font-weight:700;
    letter-spacing:.08em;
}
.agent-section h2{
    margin:0 0 12px;
    color:var(--agent-navy);
    font-size:clamp(28px,3.3vw,40px);
    line-height:1.3;
}
.agent-section__head p{
    margin:0;
    color:var(--agent-copy);
    font-size:17px;
    line-height:1.8;
}
.agent-section--dark h2,.agent-section--dark .agent-section__head p{color:#fff;}
.agent-section--dark .agent-section__head p{color:rgba(255,255,255,.82);}
.agent-question-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
}
.agent-question{
    position:relative;
    overflow:hidden;
    min-height:100%;
    padding:22px 22px 20px;
    border:1px solid var(--agent-line);
    border-radius:14px;
    background:#fff;
    box-shadow:0 8px 24px rgba(20,40,80,.05);
}
.agent-question::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:4px;
    background:var(--agent-blue);
}
.agent-question:nth-child(2n)::before{background:var(--agent-pink);}
.agent-question .number{color:var(--agent-pink);font-size:13px;font-weight:700;}
.agent-question h3{margin:8px 0;color:var(--agent-navy);font-size:19px;line-height:1.45;}
.agent-question p{margin:0;color:var(--agent-copy);font-size:14px;line-height:1.75;}
.agent-flow{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:34px;
    margin-top:8px;
}
.agent-flow__step{
    position:relative;
    padding:22px 18px;
    border:1px solid rgba(255,255,255,.2);
    border-radius:14px;
    background:rgba(255,255,255,.08);
}
.agent-flow__step:not(:last-child)::after{
    content:"→";
    position:absolute;
    right:-27px;
    top:44%;
    color:rgba(255,255,255,.7);
    font-size:24px;
}
.agent-flow__step .step{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    margin-bottom:12px;
    border-radius:50%;
    background:#fff;
    color:var(--agent-blue);
    font-weight:800;
}
.agent-flow__step h3{margin:0 0 7px;color:#fff;font-size:17px;}
.agent-flow__step p{margin:0;color:rgba(255,255,255,.78);font-size:14px;line-height:1.7;}
.agent-examples{display:grid;gap:54px;}
.agent-example{
    display:grid;
    grid-template-columns:minmax(0,1.18fr) minmax(300px,.82fr);
    gap:38px;
    align-items:center;
}
.agent-example:nth-child(even){grid-template-columns:minmax(300px,.82fr) minmax(0,1.18fr);}
.agent-example:nth-child(even) .agent-example__visual{order:2;}
.agent-example__visual{
    margin:0;
    border-radius:18px;
    overflow:hidden;
    background:#eef6ff;
    box-shadow:0 20px 48px rgba(4,32,95,.16);
}
.agent-example__visual img{display:block;width:100%;height:auto;}
.agent-example__copy .tag{
    display:inline-flex;
    min-height:28px;
    align-items:center;
    padding:0 10px;
    border-radius:999px;
    background:#eef4ff;
    color:var(--agent-blue);
    font-size:13px;
    font-weight:700;
}
.agent-example__copy h3{margin:12px 0 10px;color:var(--agent-navy);font-size:25px;line-height:1.4;}
.agent-example__copy p{margin:0 0 12px;color:var(--agent-copy);font-size:15px;line-height:1.85;}
.agent-example__copy ul{margin:12px 0 0;padding-left:20px;color:var(--agent-copy);}
.agent-example__copy li{margin-bottom:7px;line-height:1.7;}
.agent-compare{
    overflow-x:auto;
    border:1px solid var(--agent-line);
    border-radius:14px;
    background:#fff;
}
.agent-compare table{width:100%;min-width:720px;border-collapse:collapse;}
.agent-compare th,.agent-compare td{padding:16px 18px;border-bottom:1px solid var(--agent-line);text-align:left;vertical-align:top;line-height:1.7;}
.agent-compare th{background:#eef4ff;color:var(--agent-navy);font-size:15px;}
.agent-compare td{color:var(--agent-copy);font-size:14px;}
.agent-compare tr:last-child td{border-bottom:0;}
.agent-compare td:first-child{font-weight:700;color:var(--agent-navy);white-space:nowrap;}
.agent-safety-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.agent-safety{
    padding:22px;
    border:1px solid var(--agent-line);
    border-radius:14px;
    background:#fff;
}
.agent-safety h3{margin:0 0 8px;color:var(--agent-navy);font-size:18px;}
.agent-safety p{margin:0;color:var(--agent-copy);font-size:14px;line-height:1.8;}
.agent-note{
    margin-top:18px;
    padding:15px 18px;
    border-left:4px solid var(--agent-pink);
    background:#fff4fa;
    color:#59344a;
    font-size:14px;
    line-height:1.75;
}
.agent-faq{max-width:920px;margin:0 auto;}
.agent-faq details{
    margin-bottom:12px;
    padding:16px 18px;
    border:1px solid var(--agent-line);
    border-radius:12px;
    background:#fff;
}
.agent-faq summary{cursor:pointer;color:var(--agent-navy);font-weight:700;line-height:1.6;}
.agent-faq p{margin:10px 0 0;color:var(--agent-copy);line-height:1.8;}
.agent-cta{
    padding:62px 0;
    text-align:center;
    background:#eef4ff;
}
.agent-cta h2{margin:0 0 10px;color:var(--agent-navy);font-size:32px;}
.agent-cta p{margin:0 auto 22px;max-width:680px;color:var(--agent-copy);font-size:16px;line-height:1.8;}
.agent-cta .agent-btn--primary{background:var(--agent-blue);color:#fff;}
.agent-cta .agent-btn--ghost{border-color:var(--agent-blue);color:var(--agent-blue);background:#fff;}
@media (max-width:991px){
    .agent-hero{padding-top:54px;}
    .agent-hero__grid{grid-template-columns:1fr;gap:32px;}
    .agent-hero__copy{text-align:center;}
    .agent-hero__lead{margin-left:auto;margin-right:auto;}
    .agent-actions{justify-content:center;}
    .agent-facts__grid{grid-template-columns:repeat(2,1fr);}
    .agent-fact:nth-child(2){border-right:0;}
    .agent-fact:nth-child(-n+2){border-bottom:1px solid var(--agent-line);}
    .agent-question-grid{grid-template-columns:repeat(2,1fr);}
    .agent-flow{grid-template-columns:repeat(2,1fr);}
    .agent-flow__step::after{display:none;}
    .agent-example,.agent-example:nth-child(even){grid-template-columns:1fr;gap:24px;}
    .agent-example:nth-child(even) .agent-example__visual{order:0;}
}
@media (max-width:600px){
    .agent-hero{padding:42px 0 48px;}
    .agent-hero h1{font-size:34px;}
    .agent-hero__lead{font-size:16px;}
    .agent-actions{display:grid;grid-template-columns:1fr;}
    .agent-facts{margin-top:-18px;}
    .agent-facts__grid,.agent-question-grid,.agent-flow,.agent-safety-grid{grid-template-columns:1fr;}
    .agent-fact{border-right:0;border-bottom:1px solid var(--agent-line);}
    .agent-fact:last-child{border-bottom:0;}
    .agent-section{padding:48px 0;}
    .agent-section__head{text-align:left;margin-bottom:24px;}
    .agent-section__head p{font-size:15px;}
    .agent-example__copy h3{font-size:22px;}
}
