/* Python+AI智能体：对齐 testtrack / aicut 课程页间距与文字样式 */
.python-agent {
    --pa-accent: #5B8DEF;
    --pa-accent-soft: #E8F0FE;
    --pa-navy: #332A48;
    --pa-text: rgba(51, 42, 72, 0.74);
    --pa-width: 1440px;
    --pa-page-bg: #F3F5F6;
}

@font-face {
    font-family: HYYakuHei;
    src: url("/static/page/font/hyyakuheiw.ttf");
}

.python-agent .banner {
    width: var(--pa-width);
    margin: 0 auto;
    background: var(--pa-page-bg);
}

.python-agent .banner img {
    display: block;
    width: 100%;
    height: auto;
    mix-blend-mode: darken;
}

/* 标题 / 正文：与 track-title、aicut-title、desc 一致 */
.python-agent .pa-title {
    font-weight: 500;
    font-size: 44px;
    line-height: 52px;
    color: var(--pa-navy);
    font-family: HYYakuHei, "Microsoft YaHei", sans-serif;
    padding: 10px 0;
    margin: 0 0 40px;
}

.python-agent .pa-title span { color: var(--pa-accent); }

.python-agent .pa-desc,
.python-agent .model-box .content-box1 .desc,
.python-agent .intro {
    color: var(--pa-text);
    font-family: "Microsoft YaHei", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
}

.python-agent .intro {
    text-align: center;
    margin: 0 auto 40px;
    /*max-width: 960px;*/
}

/* 开班时间下移 40px */
.python-agent .class_time {
    margin-top: 40px;
}

/* 什么是AI智能体 */
.python-agent .what-agent {
    width: var(--pa-width);
    margin: 80px auto 0;
    padding: 40px 48px 48px;
    border-radius: 28px;
    background: linear-gradient(135deg, #F8FBFF 0%, #EAF2FF 55%, #E3EDFF 100%);
    box-sizing: border-box;
    overflow: hidden;
}

.python-agent .what-agent-body {
    display: flex;
    align-items: center;
    gap: 36px;
    min-height: 460px;
}

.python-agent .what-agent-card {
    width: 460px;
    flex-shrink: 0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(60, 90, 150, 0.12);
    padding: 40px 36px 36px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.python-agent .what-agent-title {
    margin: 0 0 18px;
    text-align: left;
    color: #1a1a1a;
    font-family: "Microsoft YaHei", sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 48px;
    position: static;
    padding-bottom: 0;
}

.python-agent .what-agent-title::after {
    display: none;
}

.python-agent .what-agent-desc {
    margin: 0 0 28px;
    color: rgba(51, 42, 72, 0.74);
    font-family: "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 32px;
}

.python-agent .what-agent-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
}

.python-agent .what-agent-tags .tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 22px;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    box-sizing: border-box;
    white-space: nowrap;
}

.python-agent .what-agent-tags .tag-a,
.python-agent .what-agent-tags .tag-c,
.python-agent .what-agent-tags .tag-e {
    background: #3B82F6;
}

.python-agent .what-agent-tags .tag-b {
    background: #2563EB;
}

.python-agent .what-agent-tags .tag-d {
    background: #A8B8D8;
}

.python-agent .what-agent-visual {
    flex: 1;
    min-width: 0;
    position: relative;
    height: 480px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding: 0;
}

.python-agent .what-agent-tech {
    position: absolute;
    inset: -10px -20px -10px -10px;
    width: calc(100% + 30px);
    height: calc(100% + 20px);
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: multiply;
}

/* 长电流段贴着折线走，拐角跟着弯 */
.python-agent .what-agent-tech .tech-flow path {
    stroke-dasharray: 36 220;
    animation: pa-current-flow 6s linear infinite;
}

.python-agent .what-agent-tech .tech-flow .flow-slow {
    animation-duration: 6.2s;
}

.python-agent .what-agent-tech .tech-flow .flow-slower {
    animation-duration: 7.2s;
    animation-delay: -2.4s;
}

.python-agent .what-agent-tech .tech-flow .flow-fast {
    stroke-dasharray: 22 140;
    animation-duration: 4.8s;
}

@keyframes pa-current-flow {
    to {
        stroke-dashoffset: -256;
    }
}

@media (prefers-reduced-motion: reduce) {
    .python-agent .what-agent-tech .tech-flow path {
        animation: none;
        stroke-dasharray: none;
        opacity: 0.55;
    }
}

.python-agent .what-agent-visual img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 640px;
    height: auto;
    mix-blend-mode: darken;
    /* 四周羽化，尤其底边与左右角融入浅蓝底 */
    -webkit-mask-image:
        linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, #000 8%, #000 78%, transparent 100%);
    mask-image:
        linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, #000 8%, #000 78%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
}

.python-agent .what-agent-visual::before,
.python-agent .what-agent-visual::after {
    content: "";
    position: absolute;
    z-index: 3;
    pointer-events: none;
}

/* 左下 / 右下角过渡 */
.python-agent .what-agent-visual::before {
    left: -4%;
    bottom: -6px;
    width: 42%;
    height: 150px;
    background: radial-gradient(ellipse 85% 75% at 15% 85%, #EAF2FF 0%, rgba(234, 242, 255, 0.85) 28%, rgba(234, 242, 255, 0) 70%);
}

.python-agent .what-agent-visual::after {
    right: -4%;
    bottom: -6px;
    width: 42%;
    height: 150px;
    background: radial-gradient(ellipse 85% 75% at 85% 85%, #E3EDFF 0%, rgba(227, 237, 255, 0.85) 28%, rgba(227, 237, 255, 0) 70%);
}

/* 右上角过渡 */
.python-agent .what-agent-visual .edge-fade-tr {
    position: absolute;
    top: -8px;
    right: -6%;
    width: 38%;
    height: 120px;
    z-index: 3;
    pointer-events: none;
    background: radial-gradient(ellipse 80% 70% at 85% 15%, #EAF2FF 0%, rgba(234, 242, 255, 0.8) 30%, rgba(234, 242, 255, 0) 70%);
}

/* 左右图文模块：对齐 testtrack .model-box */
.python-agent .model-box {
    width: var(--pa-width);
    margin: 80px auto 0;
    padding: 48px 0;
    display: flex;
    align-items: center;
}

.python-agent .model-box .content-box1 {
    width: 737px;
    margin-right: 80px;
    padding: 80px 0;
}

.python-agent .model-box > img {
    display: block;
    width: calc(100% - 817px);
    max-width: 623px;
    height: auto;
    mix-blend-mode: darken;
}

/* 通栏内容块：对齐 aicut .model-box4 */
.python-agent .model-box4 {
    width: var(--pa-width);
    margin: 80px auto 0;
    padding: 48px 0;
}

.python-agent .pa-full-img {
    display: block;
    width: 100%;
    height: auto;
    margin: 24px auto 40px;
    mix-blend-mode: darken;
}

/* 聊天机器人 → 数字员工：整块一体 */
.python-agent .agent-stage {
    width: 100%;
    margin: 80px 0 0;
    padding: 64px 0 72px;
    background: linear-gradient(180deg, #fff 0%, #F3F5F6 28%, #F3F5F6 100%);
}

.python-agent .agent-stage-inner {
    width: var(--pa-width);
    margin: 0 auto;
}

.python-agent .agent-stage-title {
    text-align: left;
    margin-bottom: 8px;
    font-size: 36px;
    font-weight: 700;
    line-height: 48px;
}

.python-agent .agent-stage-en {
    margin: 0 0 40px;
    color: var(--pa-accent);
    font-size: 14px;
    line-height: 24px;
    font-family: "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
}

.python-agent .agent-compare {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.python-agent .agent-compare-card {
    flex: 1;
    min-width: 0;
    border: 2px solid var(--pa-accent);
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
    padding: 12px;
}

.python-agent .agent-compare-card img {
    display: block;
    width: 100%;
    height: auto;
    mix-blend-mode: darken;
}

.python-agent .agent-compare-mid {
    flex-shrink: 0;
    width: 128px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
}

.python-agent .agent-compare-mid .mid-from,
.python-agent .agent-compare-mid .mid-to {
    margin: 0;
    color: #332A48;
    font-family: "Microsoft YaHei", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 26px;
}

.python-agent .agent-compare-mid .mid-arrow {
    width: 92px;
    height: 16px;
    background: linear-gradient(90deg, rgba(91, 141, 239, 0.2) 0%, #5B8DEF 48%, #7DD3FC 100%);
    clip-path: polygon(0 30%, 74% 30%, 74% 0, 100% 50%, 74% 100%, 74% 70%, 0 70%);
}

.python-agent .era-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.python-agent .era-item {
    text-align: center;
}

.python-agent .era-item img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 16px;
    mix-blend-mode: darken;
}

.python-agent .era-desc {
    margin: 0;
    color: var(--pa-text);
    font-family: "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 32px;
}

.python-agent .workflow-panel {
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.python-agent .wf-head,
.python-agent .wf-row {
    display: grid;
    grid-template-columns: 1fr 140px 1fr;
    gap: 16px;
    margin-bottom: 16px;
    align-items: stretch;
}

.python-agent .wf-head {
    text-align: center;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: var(--pa-navy);
    margin-bottom: 20px;
}

.python-agent .wf-box {
    background: var(--pa-navy);
    color: #fff;
    border-radius: 12px;
    padding: 18px 22px;
    font-size: 16px;
    line-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.python-agent .wf-role {
    background: #fff;
    border: 1px solid #332A48;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: var(--pa-navy);
}

.python-agent .qa-section {
    position: relative;
    padding: 56px 48px 64px;
    border-radius: 28px;
    /*background:*/
    /*    radial-gradient(ellipse 40% 50% at 8% 20%, rgba(147, 197, 253, 0.35) 0%, transparent 70%),*/
    /*    radial-gradient(ellipse 45% 55% at 94% 82%, rgba(167, 139, 250, 0.22) 0%, transparent 70%),*/
    /*    linear-gradient(180deg, #F7FBFF 0%, #EEF4FF 100%);*/
    box-sizing: border-box;
    overflow: hidden;
}

.python-agent .qa-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.45;
    background-image:
        linear-gradient(90deg, rgba(91, 141, 239, 0.18) 1px, transparent 1px),
        linear-gradient(rgba(91, 141, 239, 0.12) 1px, transparent 1px);
    background-size: 120px 80px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 80%);
}

.python-agent .qa-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.python-agent .qa-card {
    position: relative;
    overflow: hidden;
    color: #fff;
    border-radius: 20px;
    padding: 36px 40px 40px;
    text-align: center;
    min-height: 196px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-bottom-color: rgba(37, 99, 235, 0.45);
    background:
        radial-gradient(ellipse 90% 70% at 12% 8%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 55%),
        linear-gradient(125deg, #A8BFFF 0%, #6B8EFF 32%, #3B82F6 68%, #2563EB 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.55) inset,
        0 -10px 22px rgba(30, 64, 175, 0.22) inset,
        0 10px 0 rgba(37, 99, 235, 0.18),
        0 18px 36px rgba(59, 130, 246, 0.32);
}

.python-agent .qa-card::before {
    content: "";
    position: absolute;
    left: 8%;
    top: 0;
    width: 55%;
    height: 42%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.python-agent .qa-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 38%;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0) 0%, rgba(30, 64, 175, 0.18) 100%);
}

.python-agent .qa-card:nth-child(2) {
    background:
        radial-gradient(ellipse 90% 70% at 12% 8%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 55%),
        linear-gradient(125deg, #B4C4FF 0%, #7B93FF 30%, #4F7CFF 65%, #3B6EF5 100%);
}

.python-agent .qa-card:nth-child(3) {
    background:
        radial-gradient(ellipse 90% 70% at 12% 8%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 55%),
        linear-gradient(125deg, #9EB8FF 0%, #6A90FF 34%, #3B82F6 70%, #2563EB 100%);
}

.python-agent .qa-card:nth-child(4) {
    background:
        radial-gradient(ellipse 90% 70% at 12% 8%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 55%),
        linear-gradient(125deg, #A5B8FF 0%, #748EFF 32%, #4C7BFF 66%, #2F6AE8 100%);
}

.python-agent .qa-card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 16px;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    text-shadow: 0 2px 8px rgba(30, 64, 175, 0.25);
}

.python-agent .qa-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 16px;
    line-height: 32px;
    opacity: .96;
    text-shadow: 0 1px 4px rgba(30, 64, 175, 0.2);
}

.python-agent .qa-icon {
    position: absolute;
    right: 22px;
    bottom: 18px;
    width: 42px;
    height: 42px;
    color: rgba(255, 255, 255, 0.7);
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 2px 4px rgba(30, 64, 175, 0.35));
}

.python-agent .qa-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* 学完可以胜任哪些岗位 */
.python-agent .job-stage {
    position: relative;
    width: 100%;
    margin: 80px 0 0;
    padding: 56px 0 72px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 42% 55% at 8% 18%, rgba(167, 139, 250, 0.18) 0%, transparent 70%),
        radial-gradient(ellipse 48% 60% at 92% 78%, rgba(96, 165, 250, 0.2) 0%, transparent 70%),
        linear-gradient(180deg, #F7F9FC 0%, #F0F4FA 100%);
}

.python-agent .job-stage-tech {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.python-agent .job-stage-inner {
    position: relative;
    z-index: 1;
    width: var(--pa-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-height: 560px;
}

.python-agent .job-left {
    width: 520px;
    flex-shrink: 0;
}

.python-agent .job-deco-line {
    width: 160px;
    height: 2px;
    margin-bottom: 22px;
    background: linear-gradient(90deg, #5B8DEF 0%, #A78BFA 70%, transparent 100%);
    position: relative;
}

.python-agent .job-deco-line::before {
    content: "";
    position: absolute;
    left: 72px;
    top: -5px;
    width: 28px;
    height: 2px;
    background: #5B8DEF;
    transform: rotate(-28deg);
    transform-origin: left center;
}

.python-agent .job-deco-line::after {
    content: "";
    position: absolute;
    left: 96px;
    top: -14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #5B8DEF;
    box-shadow: 0 0 8px rgba(91, 141, 239, 0.6);
}

.python-agent .job-title {
    margin: 0 0 20px;
    color: #1F2430;
    font-family: HYYakuHei, "Microsoft YaHei", sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 56px;
}

.python-agent .job-title span {
    background: linear-gradient(90deg, #3B82F6 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.python-agent .job-desc {
    margin: 0 0 28px;
    max-width: 460px;
    color: rgba(51, 42, 72, 0.72);
    font-family: "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 28px;
}

.python-agent .job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 14px;
    max-width: 480px;
}

.python-agent .job-tags span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 18px;
    border-radius: 999px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    white-space: nowrap;
    background: linear-gradient(90deg, #4F8CFF 0%, #7B6CFF 55%, #9B5CFF 100%);
    box-shadow: 0 8px 18px rgba(99, 102, 241, 0.35);
}

/* 右侧同心圆 */
.python-agent .job-orbit {
    position: relative;
    width: 560px;
    height: 560px;
    flex-shrink: 0;
    margin-right: 20px;
}

.python-agent .orbit-ring {
    position: absolute;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.python-agent .orbit-ring-out {
    width: 540px;
    height: 540px;
    border: 1.5px solid rgba(123, 147, 255, 0.35);
    box-shadow: 0 0 0 18px rgba(147, 197, 253, 0.08);
}

.python-agent .orbit-ring-out::before,
.python-agent .orbit-ring-out::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.python-agent .orbit-ring-out::before {
    width: 470px;
    height: 470px;
    border: 1px dashed rgba(139, 92, 246, 0.28);
}

.python-agent .orbit-ring-out::after {
    width: 410px;
    height: 410px;
    border: 1px solid rgba(96, 165, 250, 0.25);
}

.python-agent .orbit-ring-mid {
    width: 360px;
    height: 360px;
    background: linear-gradient(145deg, #6BA3FF 0%, #6E7CFF 42%, #8B5CF6 100%);
    border: 2px solid rgba(255, 255, 255, 0.65);
    box-shadow:
        0 0 40px rgba(99, 102, 241, 0.35),
        inset 0 0 36px rgba(255, 255, 255, 0.22);
    mask-image: radial-gradient(circle, transparent 118px, #000 119px);
    -webkit-mask-image: radial-gradient(circle, transparent 118px, #000 119px);
}

.python-agent .orbit-core {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    border-radius: 50%;
    padding: 42px 28px;
    box-sizing: border-box;
    text-align: center;
    color: #fff;
    background: radial-gradient(circle at 35% 28%, #4C6FFF 0%, #3B4FD6 42%, #2A2F8A 100%);
    box-shadow:
        0 0 0 10px rgba(91, 141, 239, 0.18),
        0 18px 40px rgba(49, 46, 129, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.python-agent .orbit-core h4 {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 700;
    line-height: 30px;
}

.python-agent .orbit-core p {
    margin: 0;
    font-size: 13px;
    line-height: 22px;
    opacity: 0.92;
}

.python-agent .orbit-icon {
    --r: 152px;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.08) 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.28);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(var(--a)) translate(var(--r)) rotate(calc(-1 * var(--a)));
    z-index: 4;
}

.python-agent .orbit-icon svg {
    width: 26px;
    height: 26px;
}

.python-agent .orbit-label {
    --r: 255px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -14px 0 0 -42px;
    min-width: 84px;
    height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    background: linear-gradient(90deg, rgba(79, 140, 255, 0.92) 0%, rgba(155, 92, 255, 0.92) 100%);
    box-shadow: 0 6px 14px rgba(99, 102, 241, 0.3);
    transform: rotate(var(--a)) translate(var(--r)) rotate(calc(-1 * var(--a)));
    z-index: 5;
}

.python-agent .adv-compare {
    display: flex;
    align-items: stretch;
    gap: 24px;
    margin-top: 8px;
}

.python-agent .adv-col {
    flex: 1;
    min-width: 0;
    border-radius: 24px;
    overflow: hidden;
}

.python-agent .adv-col ul {
    list-style: none;
    margin: 0;
    padding: 8px 24px 28px;
}

.python-agent .adv-col li {
    padding: 20px 0;
    border-bottom: 1px solid rgba(51, 42, 72, 0.08);
    text-align: center;
}

.python-agent .adv-col li:last-child {
    border-bottom: none;
    padding-bottom: 8px;
}

.python-agent .adv-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.python-agent .adv-col li p {
    margin: 0;
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.python-agent .adv-col-head {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    line-height: 30px;
    padding: 28px 24px;
}

/* 传统：弱化灰阶 */
.python-agent .adv-col-old {
    background: #E8E9ED;
    color: rgba(51, 42, 72, 0.55);
}

.python-agent .adv-col-old .adv-col-head {
    background: #D4D6DC;
    color: rgba(51, 42, 72, 0.65);
}

.python-agent .adv-col-old .adv-label {
    color: rgba(51, 42, 72, 0.45);
}

.python-agent .adv-col-old li p {
    color: rgba(51, 42, 72, 0.55);
    font-weight: 500;
}

/* 蜗牛：强化主色 */
.python-agent .adv-col-new {
    background: #fff;
    color: var(--pa-navy);
    border: 2px solid var(--pa-accent);
    box-shadow: 0 16px 40px rgba(91, 141, 239, 0.22);
    transform: translateY(-8px);
}

.python-agent .adv-col-new .adv-col-head {
    background: var(--pa-accent);
    color: #fff;
}

.python-agent .adv-col-new .adv-label {
    color: var(--pa-accent);
}

.python-agent .adv-col-new li p {
    color: var(--pa-navy);
}

.python-agent .adv-check {
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--pa-accent);
    position: relative;
    flex-shrink: 0;
}

.python-agent .adv-check::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 4px;
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.python-agent .adv-vs {
    align-self: center;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--pa-navy);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
}

/* 四大核心能力 + 特色保障 */
.python-agent .ability-stage {
    width: var(--pa-width);
    margin: 80px auto 0;
    padding: 0 0 20px;
}

.python-agent .ability-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 28px;
}

.python-agent .ability-line {
    position: relative;
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #5B8DEF, transparent);
}

.python-agent .ability-line::before,
.python-agent .ability-line::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid #5B8DEF;
    background: #fff;
    transform: translateY(-50%);
    box-sizing: border-box;
}

.python-agent .ability-head .ability-line:first-child::before {
    right: 0;
}

.python-agent .ability-head .ability-line:first-child::after {
    right: 10px;
    width: 5px;
    height: 5px;
    background: #5B8DEF;
    border: none;
}

.python-agent .ability-head .ability-line:last-child::before {
    left: 0;
}

.python-agent .ability-head .ability-line:last-child::after {
    left: 10px;
    width: 5px;
    height: 5px;
    background: #5B8DEF;
    border: none;
}

.python-agent .ability-title {
    margin: 0;
    color: #2A3550;
    font-family: HYYakuHei, "Microsoft YaHei", sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 48px;
    white-space: nowrap;
}

.python-agent .ability-panel {
    position: relative;
    margin-top: 36px;
    padding: 48px 28px 28px;
    border-radius: 24px;
    background: linear-gradient(120deg, #3B82F6 0%, #4F6EF7 42%, #6D5CE7 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.35) inset,
        0 16px 36px rgba(59, 130, 246, 0.28);
}

.python-agent .ability-badge {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 168px;
    min-height: 40px;
    padding: 8px 32px;
    border: none;
    color: #3B6EF5;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    white-space: nowrap;
    background: #fff;
    filter: drop-shadow(0 8px 14px rgba(59, 130, 246, 0.18));
    clip-path: polygon(
        18px 0,
        calc(100% - 18px) 0,
        100% 50%,
        calc(100% - 18px) 100%,
        18px 100%,
        0 50%
    );
}

.python-agent .ability-sec-title {
    margin: 0 0 18px;
    text-align: center;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
}

.python-agent .ability-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.python-agent .ability-grid-core {
    margin-bottom: 28px;
}

.python-agent .ability-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px 16px 20px;
    box-shadow: 0 8px 18px rgba(30, 64, 175, 0.12);
    min-height: 118px;
    box-sizing: border-box;
}

.python-agent .ability-card-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.python-agent .ability-ico {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #2F3A8F;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.python-agent .ability-ico svg {
    width: 14px;
    height: 14px;
}

.python-agent .ability-card h5 {
    margin: 0;
    color: #1F2430;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}

.python-agent .ability-card p {
    margin: 0;
    text-align: center;
    color: #5B6478;
    font-size: 13px;
    line-height: 22px;
}

.python-agent .ability-card-svc {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 12px;
}

.python-agent .ability-card-svc h5 {
    text-align: center;
}

.python-agent .teacher-box {
    width: var(--pa-width);
    margin: 80px auto 0;
    padding: 0 0 40px;
}

/* 教学团队：一屏可放下 — 整体居中静态展示 */
.python-agent .control-box_course.tea-static {
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}
.python-agent .bigbox_course.tea-static {
    width: auto !important;
    max-width: 100%;
    height: 305px;
    margin: 0 auto !important;
    overflow: visible;
    float: none;
}
.python-agent .bigbox_course.tea-static #switcher_course {
    position: static !important;
    left: auto !important;
    width: auto !important;
    display: block;
}
.python-agent .bigbox_course.tea-static .content_1_teacher {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    width: auto;
    float: none;
}
.python-agent .bigbox_course.tea-static .box_course {
    float: none;
    flex-shrink: 0;
}
.python-agent .bigbox_course.tea-static .box_course:last-child {
    margin-right: 0;
}
.python-agent .bigbox_course.tea-static .content_2_course {
    display: none;
}

/* 教学团队：一屏放不下 — 横向滚动轮播 */
.python-agent .bigbox_course.tea-scroll {
    width: 100vw;
    height: 305px;
    margin: 0;
    overflow: hidden;
}

.python-agent .teacher-box .pa-title { text-align: center; }
.python-agent .teacher-box .tea { padding: 10px; }

.python-agent .tea .tea-detail {
    display: flex;
    padding: 24px;
    align-items: center;
    border-radius: 24px;
    background: var(--pa-navy);
}

.python-agent .tea .tea-detail .head-box {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 2px solid #FFF;
    background: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-right: 18px;
    flex-shrink: 0;
}

.python-agent .tea .tea-detail .tea-intro > h5 {
    color: #FFF;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
}

.python-agent .tea .tea-detail .tea-intro > p {
    color: #FFF;
    font-size: 18px;
    line-height: 28px;
    margin: 0;
}

.python-agent .contact-block {
    width: var(--pa-width);
    margin: 80px auto 100px;
}

.python-agent .cta-box {
    margin-top: 40px;
    background: var(--pa-navy);
    border: 2px solid var(--pa-accent);
    border-radius: 16px;
    color: #fff;
    text-align: center;
    padding: 40px 24px;
}

.python-agent .cta-s { margin: 0; opacity: .9; font-size: 18px; }
.python-agent .cta-box h3 {
    margin: 12px 0;
    font-family: HYYakuHei, sans-serif;
    font-size: 34px;
    color: #9ec4ff;
}

.python-agent .cta-b { margin: 0 0 24px; font-size: 20px; font-weight: 700; }

.python-agent .cta-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    background: var(--pa-accent);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.python-agent .cta-bars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.python-agent .cta-bars div {
    background: var(--pa-accent);
    color: #fff;
    border-radius: 10px;
    padding: 14px 12px;
    text-align: center;
    font-size: 14px;
}

.python-agent .plate-title-small,
.python-agent .table-open-time ul .light-text {
    color: var(--pa-accent);
}

.python-agent .table-open-time-style {
    border-radius: 30px;
    border: 2px solid var(--pa-accent);
    background: var(--pa-accent);
    padding: 20px;
}

@media only screen and (max-width: 1124px) {
    .pa-course-mobile {
        background: #FBFDFF;
    }
    .pa-course-mobile .course-banner-box {
        width: 100%;
        height: auto;
        min-height: 0;
        margin: 0;
        padding: 0;
        overflow: visible;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0;
    }
    .pa-course-mobile .course-banner {
        display: block;
        height: auto;
        object-fit: contain;
        mix-blend-mode: multiply;
        width: calc(100% - 40px);
        margin: 0 auto;
    }
    .pa-course-mobile .course-intro .course-desc {
        white-space: nowrap;
    }
    .pa-course-mobile .pa-job-core {
        margin-top: 10px;
    }
}

@media only screen and (min-width: 1124px) {
    .python-agent .course_integrated {
        padding-bottom: 120px;
        background-color: unset;
    }
}

@media only screen and (min-width: 721px) {
    .python-agent .Syllabus .left .stageBtn.active .stageContent,
    .python-agent .Syllabus .left .stageBtn.active .stageTitle {
        color: #5B8DEF;
    }
}

@media (max-width: 1480px) {
    .python-agent .banner,
    .python-agent .model-box,
    .python-agent .job-stage-inner,
    .python-agent .model-box4,
    .python-agent .ability-stage,
    .python-agent .teacher-box,
    .python-agent .contact-block,
    .python-agent .agent-stage-inner,
    .python-agent .what-agent {
        width: 92%;
    }
}
