/* ==========================================================================
   Hero CLI 共享样式 - 公用 Hero 组件
   用于 enterprise-cli-builder 和 enterprise-agent-harness 等页面
   ========================================================================== */

/* ========== Hero 容器 ========== */
.hero-cli-page {
    background: #F8FAFF !important;
    height: auto !important;
    min-height: 600px !important;
    padding-bottom: 0 !important;
    position: relative;
    overflow: hidden;
}

.hero-cli-page .hero-bg {
    /* display: none !important; */
}

.hero-cli-page .navbar {
    background: transparent !important;
}

/* ========== Hero 内容区 ========== */
.hero-content-cli {
    width: 100%;
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 80px var(--side-padding) 0;
    position: relative;
}

.hero-cli-layout {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 80px;
}

/* 左侧内容 */
.hero-cli-left {
    flex: 0 0 728px;
    max-width: 827px;
    display: flex;
    flex-direction: column;
    /* gap: 28px; */
    position: relative;
    z-index: 2;
}

/* Tag 标签 */
.hero-cli-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #FFFFFF;
    border: 1px solid #256EFF;
    border-radius: 24px;
    width: fit-content;
}

.hero-cli-tag-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.hero-cli-tag span {
    font-family: var(--font-pingfang);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4em;
    color: #256EFF;
}

/* Title */
.hero-cli-title {
    font-family: var(--font-pingfang);
    font-size: 66px;
    font-weight: 400;
    line-height: 1.4em;
    color: #303133;
    letter-spacing: 0.03em;
}

/* Description */
.hero-cli-desc {
    font-family: var(--font-pingfang);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.4em;
    color: #606266;
    letter-spacing: 0.03em;
}

/* 核心功能列表 */
.hero-cli-features {
    display: flex;
    gap: 147px;
    margin-top: 100px;
}

.hero-cli-feature-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-cli-feature {
    display: flex;
    align-items: center;
    gap: 11px;
}

.hero-cli-feature-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.hero-cli-feature-name {
    font-family: var(--font-pingfang);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4em;
    color: #606266;
    white-space: nowrap;
}

/* 右侧流程图 */
.hero-cli-right {
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
    padding-top: 100px;
}
.hero-cli-right img {
    width: 525px;
}

/* 装饰虚线圆环 */
.hero-cli-circle {
    position: absolute;
    right: 80px;
    top: 60px;
    width: 402px;
    height: 402px;
    border-radius: 50%;
    border: 1px solid #B8B8B8;
    opacity: 0.5;
    pointer-events: none;
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1600px) {
    .hero-cli-layout {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-cli-left {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
        gap: 20px;
    }
    .hero-cli-features {
        margin-top: 4px;
        /* display: flex;
        flex-direction: column;
        gap: 12px; */
    }
    .hero-cli-right {
        width: 100%;
        display: flex;
        justify-content: center;
        padding-top: 0px;
        margin-bottom: 50px;
    }
    .hero-cli-circle {
        display: none;
    }
}
@media (max-width: 1400px) {
    .hero-cli-layout {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-cli-left {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
        gap: 20px;
    }
    .hero-cli-title {
        font-size: 52px;
    }
    .hero-cli-features {
        margin-top: 4px;
        /* display: flex;
        flex-direction: column;
        gap: 12px; */
    }
    .hero-cli-right {
        width: 100%;
        display: flex;
        justify-content: center;
        padding-top: 0px;
        margin-bottom: 50px;
    }
    .hero-cli-right img {
        max-width: 100%;
        height: auto;
    }
    .cli-flow {
        width: 100%;
        max-width: 530px;
    }
    .hero-cli-circle {
        display: none;
    }
}

@media (max-width: 1200px) {
    .hero-cli-title {
        font-size: 44px;
    }
    .hero-cli-desc {
        font-size: 18px;
    }
    .hero-cli-circle {
        width: 250px;
        height: 250px;
        right: 20px;
        top: 30px;
    }
}

@media (max-width: 768px) {
    .hero-content-cli {
        padding: 40px var(--side-padding) 0;
    }
    .hero-cli-left {
        gap: 20px;
    }
    .hero-cli-title {
        font-size: 36px;
    }
    .hero-cli-desc {
        font-size: 16px;
    }
    .hero-cli-features {
        flex-direction: column;
        gap: 12px;
    }
    .hero-cli-feature-col {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }
    .hero-cli-tag span {
        font-size: 12px;
    }
    .hero-cli-tag {
        padding: 4px 10px;
    }
    .cli-flow {
        max-width: 100%;
    }
    .cli-flow-chip {
        padding: 4px 10px;
    }
    .cli-flow-chip span {
        font-size: 12px;
    }
    .cli-flow-chip-icon {
        width: 14px;
        height: 14px;
    }
    .cli-flow-label {
        font-size: 12px;
    }
    .cli-flow-center {
        width: 100px;
        height: 90px;
    }
    .hero-cli-circle {
        display: none;
    }
    .hero-cli-features {
        margin-top: 4px;
    }
    .hero-cli-feature-name {
        font-size: 14px;
    }
}