/* ==========================================================================
   玖乡河官网 - Enterprise AI Connector
   严格还原 Figma 设计稿 (1920px 宽度)
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
    /* 主色 */
    --color-primary: #256EFF;
    --color-dark-blue: #002676;
    --color-light-blue: #0C8AFB;

    /* 文字色 */
    --color-text-dark: #303133;
    --color-text-gray: #606266;
    --color-text-light-gray: #909399;
    --color-text-placeholder: #B8B8B8;

    /* 背景色 */
    --color-bg-white: #FFFFFF;
    --color-bg-light-blue: #F8FAFF;
    --color-bg-light-gray: #F6F7F9;
    --color-bg-card: #F4F5F6;
    --color-bg-footer: #293646;

    /* 边框色 */
    --color-border: #E9E9E9;
    --color-border-footer: #546375;

    /* 字体 */
    --font-sans: "Noto Sans S Chinese", "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-pingfang: "PingFang SC", "Microsoft YaHei", sans-serif;

    /* 页面宽度 */
    --page-width: 1920px;
    --content-width: 1400px;
    --side-padding: clamp(24px, 13vw, 260px);
    --side-padding-mobile: 24px;
}

/* ---------- 基础重置 ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-dark);
    background: var(--color-bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

/* ---------- 页面容器 ---------- */
.page {
    width: 100%;
    /* max-width: var(--page-width); */
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

/* ==========================================================================
   Hero 区域 (0 ~ 1044px)
   ========================================================================== */
.hero {
    position: relative;
    width: 100%;
    min-height: 600px;
    height: auto;
    padding-bottom: 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* ---------- 导航栏 ---------- */
.navbar {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px var(--side-padding);
    height: 68px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo a {
    display: flex;
    align-items: center;
}

.nav-logo img {
    width: auto;
    height: 46px;
    max-width: 100%;
}



.nav-menu {
    display: flex;
    align-items: center;
    gap: 42px;
}

.nav-item {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5em;
    color: var(--color-text-gray);
    cursor: pointer;
    transition: color 0.2s;
    position: relative;
}

.nav-item:hover {
    color: var(--color-text-dark);
}

.nav-item.active {
    font-weight: 500;
    color: var(--color-text-dark);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 1px;
}

/* ---------- 导航下拉菜单 ---------- */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    cursor: pointer;
}

/* 桥接触发器与下拉菜单之间的间隙，避免鼠标滑动时 hover 断开。
   使用 ::before 避免与 .nav-item.active::after（小蓝条）伪元素冲突。 */
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 14px;
    background: transparent;
    pointer-events: none;
    z-index: 99;
}

.nav-dropdown:hover::before,
.nav-dropdown:focus-within::before {
    pointer-events: auto;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 320px;
    padding: 12px;
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 38, 118, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 10px;
    transition: background-color 0.2s;
    text-decoration: none;
    color: inherit;
}

.nav-dropdown-item:hover {
    background-color: var(--color-bg-light-blue);
}

.nav-dropdown-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 110, 255, 0.08);
    border-radius: 10px;
}

.nav-dropdown-icon svg {
    width: 24px;
    height: 24px;
}

.nav-dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-dropdown-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    padding: 3px 10px;
    font-family: var(--font-pingfang);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4em;
    color: var(--color-text-light-gray);
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: 16px;
}

.nav-dropdown-tag-icon {
    width: 12px;
    height: 12px;
}

.nav-dropdown-title {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4em;
    color: var(--color-text-dark);
    margin: 0;
}

.nav-dropdown-item.is-highlight .nav-dropdown-title {
    color: var(--color-primary);
}

/* ---------- Hero 内容区 ---------- */
.hero-content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 179px; /* 247 - 68(nav) */
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    margin-bottom: 24px;
}

.hero-badge span {
    font-family: var(--font-pingfang);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4em;
    color: var(--color-text-gray);
}

.hero-title-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hero-title {
    font-family: var(--font-pingfang);
    font-size: 66px;
    font-weight: 400;
    line-height: 1.4em;
    color: var(--color-text-dark);
    text-align: center;
}

.hero-subtitle {
    font-family: var(--font-pingfang);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.4em;
    color: var(--color-text-gray);
    text-align: center;
}

/* ---------- 连接示意图 ---------- */
.connection-diagram {
    position: relative;
    z-index: 5;
    display: flex;
    /* justify-content: space-between; */
    justify-content: center;
    align-items: center;
    padding: 0 var(--side-padding);
    margin-top: 60px;
}

.diagram-center {
    box-shadow: 0px -5px 63.3px 0px rgba(15, 85, 163, 0.05);
}

.diagram-left,
.diagram-right {
    width: clamp(280px, 30.2vw, 580px);
    height: auto;
    object-fit: contain;
}

/* ==========================================================================
   产品区域 (产品理念 / 核心价值 / 产品构成)
   ========================================================================== */
.product-section {
    position: relative;
    padding: 0 var(--side-padding);
    background: var(--color-bg-white);
}

.section-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 0;
}

/* ---------- 章节标题组 ---------- */
.section-title-group {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 152px;
    height: 89px;
    margin-bottom: 40px;
}

.section-title-line {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 92px;
    height: 1px;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(153, 153, 153, 1) 50%,
        rgba(255, 255, 255, 0) 100%);
}

.section-title-en {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-pingfang);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4em;
    color: var(--color-text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.section-title {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-pingfang);
    font-size: 38px;
    font-weight: 700;
    line-height: 1.4em;
    color: var(--color-text-dark);
    white-space: nowrap;
}

/* ---------- 章节描述文字 ---------- */
.section-desc {
    font-family: var(--font-pingfang);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5625em;
    color: var(--color-text-gray);
    text-align: center;
    margin-bottom: 60px;
}

/* ==========================================================================
   产品理念 - 定位卡片
   ========================================================================== */
.positioning-cards {
    display: flex;
    gap: 24px;
    width: 100%;
    justify-content: center;
}

.positioning-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 24px;
    width: 450px;
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    transition: box-shadow 0.3s, transform 0.3s;
}

.positioning-card:hover {
    box-shadow: 0 8px 24px rgba(0, 38, 118, 0.08);
    transform: translateY(-2px);
}

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.positioning-card-title {
    font-family: var(--font-pingfang);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.4em;
    color: var(--color-text-dark);
    letter-spacing: 0.66px;
}

.positioning-card-desc {
    font-family: var(--font-pingfang);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4em;
    color: var(--color-text-gray);
    text-align: center;
    letter-spacing: 0.48px;
}

/* ==========================================================================
   核心价值 - 架构图 + 价值卡片
   ========================================================================== */
.architecture-diagram {
    width: 100%;
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
}

.architecture-diagram img {
    max-width: 100%;
    height: auto;
}

.value-cards {
    display: flex;
    gap: 24px;
    width: 100%;
    justify-content: center;
}

.value-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px 24px;
    width: 332px;
    background: var(--color-bg-light-blue);
    border-radius: 10px;
    transition: box-shadow 0.3s;
}

.value-card:hover {
    box-shadow: 0 8px 24px rgba(37, 110, 255, 0.12);
}

.value-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-card-title {
    font-family: var(--font-pingfang);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.4em;
    color: var(--color-text-dark);
    letter-spacing: 0.66px;
}

.value-card-desc {
    font-family: var(--font-pingfang);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4em;
    color: var(--color-text-gray);
    letter-spacing: 0.48px;
}

/* ==========================================================================
   核心价值 - Hub-and-Spoke 十字布局
   ========================================================================== */
.value-hub {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 155px 1fr;
    grid-template-rows: 1fr 155px 1fr;
    gap: 0;
    margin-top: 40px;
    min-height: 580px;
}

/* 四个卡片 */
.hub-card {
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 10px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: box-shadow 0.3s;
}

.hub-card:hover {
    box-shadow: 0 8px 24px rgba(37, 110, 255, 0.12);
}

.hub-card-tl {
    grid-column: 1;
    grid-row: 1;
}

.hub-card-tr {
    grid-column: 3;
    grid-row: 1;
}

.hub-card-bl {
    grid-column: 1;
    grid-row: 3;
}

.hub-card-br {
    grid-column: 3;
    grid-row: 3;
}

.hub-card-icon {
    flex-shrink: 0;
}

.hub-card-icon img {
    display: block;
    border-radius: 10px;
}

.hub-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hub-card-title {
    font-family: var(--font-pingfang);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.4em;
    color: var(--color-text-dark);
    letter-spacing: 0.66px;
}

.hub-card-desc {
    font-family: var(--font-pingfang);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4em;
    color: var(--color-text-gray);
    letter-spacing: 0.48px;
}

/* 中心原点 */
.hub-center {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hub-center-ring {
    position: absolute;
    width: 126.68px;
    height: 126.68px;
    border: 1px solid rgba(37, 110, 255, 0.2);
    border-radius: 50%;
}

.hub-center-dot {
    width: 60.32px;
    height: 60.32px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hub-center-dot img {
    display: block;
}

/* 渐变桥接装饰 */
.hub-bridge {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.hub-bridge-top {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 126.68px;
    height: calc(50% - 77.5px);
    /* background: linear-gradient(180deg, rgba(37, 110, 255, 1) 0%, rgba(37, 110, 255, 0) 100%); */
    background: linear-gradient(0deg, rgb(37 110 255 / 5%) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 0 0 18px 18px;
}

.hub-bridge-bottom {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 126.68px;
    height: calc(50% - 77.5px);
    /* background: linear-gradient(0deg, rgba(37, 110, 255, 1) 0%, rgba(37, 110, 255, 0) 100%); */
    background: linear-gradient(180deg, rgb(37 110 255 / 5%) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 18px 18px 0 0;
}

.hub-bridge-left {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 126.68px;
    width: calc(50% - 77.5px);
    /* background: linear-gradient(90deg, rgba(37, 110, 255, 1) 0%, rgba(37, 110, 255, 0) 100%); */
    background: linear-gradient(270deg, rgb(37 110 255 / 5%) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 0 18px 18px 0;
}

.hub-bridge-right {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 126.68px;
    width: calc(50% - 77.5px);
    /* background: linear-gradient(270deg, rgba(37, 110, 255, 1) 0%, rgba(37, 110, 255, 0) 100%); */
    background: linear-gradient(90deg, rgb(37 110 255 / 5%) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 18px 0 0 18px;
}

/* ==========================================================================
   产品构成 - 产品卡片 + 流程图
   ========================================================================== */
/* ========== 产品构成 2×2 网格 ========== */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
    margin-bottom: 0;
}

.product-card-wrap {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: box-shadow 0.3s, transform 0.3s;
}

.product-card-wrap:hover {
    box-shadow: 0 8px 24px rgba(0, 38, 118, 0.08);
    transform: translateY(-2px);
}

/* --- 流程图区域（卡片上半部分） --- */
.product-flow {
    position: relative;
    /* display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 48px 32px; */
    /* min-height: 200px; */
    height: 262px;
    background: #FCFCFC;
    border-bottom: 1px solid #E9E9E9;
    /* background-size: auto 123.15px; */
    background-position: center;
    background-repeat: no-repeat;
}

.product-flow[data-id="enterprise-cli-builder-example"] {
    background-image: url("./assets/images/enterprise-cli-builder-example.svg");
    background-size: auto 103px;
}

.product-flow[data-id="enterprise-mcp-gateway-example"] {
    background-image: url("./assets/images/enterprise-mcp-gateway-example.svg");
    background-size: auto 177px;
}

.product-flow[data-id="enterprise-agent-harness-example"] {
    background-image: url("./assets/images/enterprise-agent-harness-example.svg");
    background-size: auto 130px;
}

.product-flow[data-id="enterprise-skills-library-example"] {
    background-image: url("./assets/images/enterprise-skills-library-example.svg");
    background-size: auto 182px;
}



.flow-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.flow-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: #FFFFFF;
    border: 1px solid #E9E9E9;
    border-radius: 6px;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.05);
    font-family: var(--font-pingfang);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4em;
    color: #606266;
    letter-spacing: 0.42px;
}

.flow-chip-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* 中心圆环 */
.flow-center {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 115px;
    height: 103px;
}

.flow-center-ring {
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.flow-center-ring-outer {
    width: 103px;
    height: 103px;
    background: #FFFFFF;
    border: 1px solid #F1F1F1;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.05);
}

.flow-center-ring-mid {
    width: 73px;
    height: 73px;
    border: 1px solid #E9E9E9;
}

.flow-center-ring-inner {
    width: 52px;
    height: 52px;
    background: linear-gradient(180deg, #E9E9E9 0%, rgba(252,252,252,0) 53%, #E9E9E9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-center-text {
    font-family: var(--font-pingfang);
    font-size: 14px;
    font-weight: 400;
    color: #303133;
    letter-spacing: 0.42px;
}

.flow-center-icon {
    width: 115px;
    height: 103px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-center-icon img {
    max-width: 100%;
    max-height: 100%;
}

/* 标签文字（输入指令/执行操作） */
.flow-labels {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    z-index: 2;
}

.flow-label {
    font-family: var(--font-pingfang);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4em;
    color: #606266;
    letter-spacing: 0.42px;
    padding: 2px 0;
}

/* 虚线连线 */
.flow-lines {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.flow-line {
    flex: 1;
    max-width: 96px;
    height: 0;
    border-top: 1px dashed #B8B8B8;
}

.flow-vectors {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-vector {
    position: absolute;
}

/* --- 下半部分：产品信息卡片 --- */
.product-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px 24px;
    background: var(--color-bg-white);
}

.product-card-tag {
    display: inline-block;
    width: fit-content;
    padding: 4px 12px;
    font-family: var(--font-pingfang);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4em;
    color: var(--color-primary);
    background: rgba(37, 110, 255, 0.08);
    border-radius: 4px;
}

.product-card-title {
    font-family: var(--font-pingfang);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.4em;
    color: var(--color-text-dark);
    letter-spacing: 0.66px;
}

.product-card-desc {
    font-family: var(--font-pingfang);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5em;
    color: var(--color-text-gray);
    letter-spacing: 0.48px;
    flex: 1;
}

.product-card-link {
    font-family: var(--font-pingfang);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4em;
    color: var(--color-primary);
    letter-spacing: 0.48px;
    transition: opacity 0.2s;
}

.product-card-link:hover {
    opacity: 0.7;
}

/* ==========================================================================
   客户案例区域
   ========================================================================== */
.case-section {
    /* background: var(--color-bg-light-gray); */
    /* padding: 80px 0 100px; */
    padding: 80px 0px;
}

.case-inner {
    width: calc(100% - var(--side-padding) * 0.5);
    max-width: var(--content-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.case-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    margin-top: 20px;
}

/* ---------- 案例卡片 ---------- */
.case-card {
    display: flex;
    width: 100%;
    /* min-height: 280px; */
    /* height: 366px; */
    background: var(--color-bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s;
}

.case-card:hover {
    box-shadow: 0 8px 24px rgba(0, 38, 118, 0.08);
}

.case-card-left {
    height: 366px;
    /* width: clamp(280px, 29.17vw, 560px); */
    flex: 1;        /* ✅ 占满剩余空间 */
    min-width: 0;  /* ✅ 防止内容撑爆 */
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-right: 1px solid var(--color-border);
}

.case-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.case-card-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-card-name {
    font-family: var(--font-pingfang);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4em;
    color: var(--color-text-gray);
    letter-spacing: 0.48px;
}

.case-card-product {
    font-family: var(--font-pingfang);
    font-size: 30px;
    font-weight: 400;
    line-height: 1.4em;
    color: var(--color-text-dark);
    margin-top: 4px;
}

.case-card-result {
    margin-top: 8px;
    flex: 1;
}

.case-card-result-title {
    font-family: var(--font-pingfang);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4em;
    color: var(--color-text-light-gray);
    margin-bottom: 8px;
}

.case-card-result-desc {
    font-family: var(--font-pingfang);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6em;
    color: var(--color-text-dark);
    letter-spacing: 0.48px;
}

.case-card-link {
    font-family: var(--font-pingfang);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4em;
    color: var(--color-primary);
    letter-spacing: 0.48px;
    transition: opacity 0.2s;
    margin-top: auto;
}

.case-card-link:hover {
    opacity: 0.7;
}

/* ---------- 案例图表区域 ---------- */
.case-card-right {
    height: 366px;
    width: 632px; /* ✅ 固定宽度 */
    flex-shrink: 0; /* ✅ 禁止被压缩 */
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-card);
    background-position: center;
    background-repeat: no-repeat;
}
.case-card-right[data-id="customer-case-plm"] {
    background-image: url("./assets/images/index-customer-case-plm.png");
}
.case-card-right[data-id="customer-case-erp"] {
    background-image: url("./assets/images/index-customer-case-erp.png");
}
.case-card-right[data-id="customer-case-lims"] {
    background-image: url("./assets/images/index-customer-case-lims.png");
}

.case-chart {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.case-chart-timeline {
    width: 100%;
}

/* ---------- AI 实验计划输入框 (案例3) ---------- */
.ai-plan-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ai-plan-title {
    font-family: var(--font-pingfang);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4em;
    color: var(--color-text-dark);
}

.ai-plan-input {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-plan-input-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
}

.ai-plan-placeholder {
    flex: 1;
    font-family: var(--font-pingfang);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4em;
    color: var(--color-text-placeholder);
}

.ai-plan-send {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.ai-plan-send:hover {
    opacity: 0.85;
}

.ai-plan-recommend {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ai-plan-recommend-label {
    font-family: var(--font-pingfang);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4em;
    color: var(--color-text-gray);
}

.ai-plan-recommend-change {
    font-family: var(--font-pingfang);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4em;
    color: var(--color-primary);
    cursor: pointer;
}

.ai-plan-example {
    padding: 14px 16px;
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-pingfang);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6em;
    color: var(--color-text-dark);
}


/* ==========================================================================
   底部 Footer
   ========================================================================== */
.footer {
    width: 100%;
    background: var(--color-bg-footer);
    padding: 80px 0px 30px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-inner {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo img {
    height: 45px;
    width: auto;
}

.footer-desc {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6875em;
    color: #FFFFFF;
    text-align: center;
    max-width: 640px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.footer-contact-item {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5em;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

.footer-divider {
    width: 100%;
    /* max-width: 1400px; */
    height: 1px;
    background: #546375;
    margin-top: 68px;
}

.footer-copyright {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.875em;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding-top: 20px;
}

/* ==========================================================================
   产品详情页通用样式
   ========================================================================== */

/* ---------- 产品页 Hero ---------- */
.hero-product {
    height: auto;
    min-height: 600px;
    padding-bottom: 80px;
}

.hero-content-product {
    padding-top: 100px;
}

.product-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.product-tag {
    display: inline-block;
    padding: 6px 18px;
    font-family: var(--font-pingfang);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4em;
    color: var(--color-primary);
    background: rgba(37, 110, 255, 0.08);
    border-radius: 24px;
}

.product-hero-title {
    font-family: var(--font-pingfang);
    font-size: 52px;
    font-weight: 400;
    line-height: 1.4em;
    color: var(--color-text-dark);
    text-align: center;
}

.product-hero-desc {
    font-family: var(--font-pingfang);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5em;
    color: var(--color-text-gray);
    text-align: center;
    max-width: 800px;
}

/* ---------- 产品页流程图 ---------- */
.product-flow-diagram {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    margin-top: 60px;
    padding: 0 var(--side-padding);
}

.product-flow-diagram img {
    max-width: 100%;
    height: auto;
}

/* ---------- 核心功能卡片 ---------- */
.core-feature-cards {
    display: flex;
    gap: 24px;
    width: 100%;
    justify-content: center;
}

.core-feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 32px 24px;
    width: 332px;
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    transition: box-shadow 0.3s, transform 0.3s;
}

.core-feature-card:hover {
    box-shadow: 0 8px 24px rgba(0, 38, 118, 0.08);
    transform: translateY(-2px);
}

.core-feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 110, 255, 0.06);
    border-radius: 50%;
}

.core-feature-name {
    font-family: var(--font-pingfang);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4em;
    color: var(--color-text-dark);
    letter-spacing: 0.6px;
}

/* ---------- 灰色背景区域 ---------- */
.product-section-gray {
    background: var(--color-bg-light-gray);
}

/* 页面独有样式已移至各页面专属CSS文件：
   - enterprise-cli-builder.css
   - enterprise-agent-harness.css
   - enterprise-mcp-gateway.css
   - enterprise-skills-library.css
   - case-research-institution.css
*/

/* ==========================================================================
   响应式布局 - Media Queries
   ========================================================================== */

/* ---------- 1440px 以下 ---------- */
@media (max-width: 1440px) {
    .hero-title {
        font-size: 56px;
    }
    .hero-content {
        padding-top: 120px;
    }
    .section-title {
        font-size: 32px;
    }
    .product-hero-title {
        font-size: 44px;
    }
    .case-card {
        flex-direction: column;
        /* min-height: auto; */
        height: auto;
    }
    .case-card-left {
        flex-basis: auto;
        height: 366px;
    }
    .case-card-right {
        width: 100%;
        height: 366px;
    }
    .case-name {
        font-size: 36px;
    }
}

/* ---------- 1200px 以下 ---------- */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 46px;
    }
    .hero-subtitle {
        font-size: 18px;
    }
    .hero-content {
        padding-top: 100px;
    }
    .section-title {
        font-size: 28px;
    }
    .section-block {
        padding: 60px 0;
    }
    .product-hero-title {
        font-size: 38px;
    }
    .product-hero-desc {
        font-size: 18px;
    }
    .case-name {
        font-size: 30px;
    }
    .case-desc {
        font-size: 16px;
    }

    /* 卡片布局自动换行 */
    .positioning-cards {
        flex-wrap: wrap;
    }
    .positioning-card {
        width: calc(50% - 12px);
        min-width: 300px;
        flex: 1 1 auto;
    }
    .value-cards {
        flex-wrap: wrap;
    }

    /* 产品网格 → 单列 */
    .product-grid {
        grid-template-columns: 1fr;
    }

    /* 核心价值Hub自适应 */
    .value-hub {
        grid-template-columns: 1fr 100px 1fr;
        grid-template-rows: 1fr 100px 1fr;
    }
    .hub-center-ring {
        width: 80px;
        height: 80px;
    }
    .hub-center-dot {
        width: 40px;
        height: 40px;
    }
    .hub-center-dot img {
        width: 18px;
        height: 18px;
    }
    .hub-bridge-top,
    .hub-bridge-bottom {
        width: 80px;
        height: calc(50% - 50px);
    }
    .hub-bridge-left,
    .hub-bridge-right {
        height: 80px;
        width: calc(50% - 50px);
    }

    /* footer */
    .footer {
        padding: 60px 0px 24px 0px;
    }
    .footer-inner {
        gap: 40px;
    }
    .footer-desc {
        font-size: 15px;
    }
    .footer-contact-item {
        font-size: 15px;
    }
    .footer-copyright {
        font-size: 15px;
    }
    .footer-logo img {
        height: 38px;
    }
    .hero-content-product {
        padding-top: 80px;
    }

    /* 案例卡片适应 */
    .case-card {
        flex-direction: column;
        min-height: auto;
        height: auto;
    }
    .case-card-left {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }
    .case-card-right {
        min-height: 200px;
    }

    /* 连接示意图 */
    .connection-diagram {
        flex-direction: column;
        gap: 40px;
    }
    .diagram-left,
    .diagram-right {
        width: 80%;
        max-width: 580px;
    }
}

/* ---------- 1024px 以下 ---------- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 38px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .hero-content {
        padding-top: 80px;
    }
    .hero-badge {
        font-size: 12px;
    }
    .section-title {
        font-size: 24px;
    }
    .section-title-en {
        font-size: 14px;
    }
    .section-desc {
        font-size: 14px;
    }
    .product-hero-title {
        font-size: 32px;
    }
    .product-hero-desc {
        font-size: 16px;
    }
    .case-name {
        font-size: 26px;
    }
    .bottom-badges {
        flex-wrap: wrap;
        justify-content: center;
    }
    .case-card-left {
        padding: 28px 24px;
    }
    .case-card-right {
        padding: 28px 24px;
    }

    /* 导航栏 */
    .nav-menu {
        gap: 24px;
    }
    .nav-item {
        font-size: 14px;
    }
    .nav-logo img {
        height: 36px;
    }

    /* 核心价值Hub → 2列网格（隐藏中心点和桥接） */
    .value-hub {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: none;
        /* ✅ 关键 */
        grid-auto-rows: auto;
        /* ✅ 自动创建行 */
        gap: 16px;
        min-height: auto;
    }
    .hub-card {
        grid-column: 1 / -1;
        /* ✅ 占满一行 */
        grid-row: auto;
        /* ✅ 自动新行 */
    }
    /* .hub-card-tl,
    .hub-card-tr,
    .hub-card-bl,
    .hub-card-br {
        grid-column: 1 / -1;
        grid-row: auto;
    } */
    .hub-center,
    .hub-bridge {
        display: none;
    }

    .positioning-card {
        width: 100%;
        min-width: 0;
    }
    .value-card {
        width: calc(50% - 12px);
        min-width: 0;
    }
}

/* ---------- 768px 以下 ---------- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 30px;
    }
    .hero-subtitle {
        font-size: 15px;
    }
    .hero-content {
        padding-top: 60px;
    }
    .section-title {
        font-size: 22px;
    }
    .section-block {
        padding: 40px 0;
    }
    .product-hero-title {
        font-size: 26px;
    }
    .product-hero-desc {
        font-size: 14px;
    }
    .case-name {
        font-size: 22px;
    }

    /* 导航菜单隐藏（简化版） */
    .nav-menu {
        gap: 16px;
    }
    .nav-item {
        font-size: 13px;
    }
    .nav-logo img {
        height: 30px;
    }

    /* 所有卡片单列 */
    .positioning-cards,
    .core-feature-cards {
        flex-direction: column;
        align-items: center;
    }
    .positioning-card,
    .core-feature-card {
        width: 100%;
        max-width: 450px;
    }

    /* 产品网格 → 单列 */
    .product-grid {
        grid-template-columns: 1fr;
    }

    /* 产品流程图自适应 */
    .product-flow {
        padding: 32px 20px;
        min-height: auto;
    }

    .flow-center {
        width: 90px;
        height: 82px;
    }

    .flow-center-ring-outer {
        width: 82px;
        height: 82px;
    }

    .flow-center-ring-mid {
        width: 58px;
        height: 58px;
    }

    .flow-center-ring-inner {
        width: 42px;
        height: 42px;
    }

    .flow-center-icon {
        width: 90px;
        height: 82px;
    }

    .flow-chip {
        font-size: 12px;
        padding: 4px 10px;
    }

    .flow-chip-icon {
        width: 14px;
        height: 14px;
    }

    .flow-label {
        font-size: 12px;
    }

    .product-card {
        padding: 20px 16px;
    }

    .product-card-title {
        font-size: 18px;
    }

    .product-card-desc {
        font-size: 14px;
    }

    .product-card-link {
        font-size: 14px;
    }

    /* 核心价值Hub → 单列 */
    .value-hub {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bottom-badges {
        flex-direction: column;
        align-items: center;
    }

    /* 案例区域 */
    .case-section {
        /* padding: 40px 0 60px; */
    }
    .case-card-product {
        font-size: 22px;
    }
    .case-card-result-desc {
        font-size: 14px;
    }

    .footer {
        padding: 40px 0px 24px 0px;
    }
    .footer-inner {
        gap: 32px;
    }
    .footer-desc {
        font-size: 14px;
    }
    .footer-contact-item {
        font-size: 14px;
    }
    .footer-copyright {
        font-size: 14px;
        padding-top: 16px;
    }
    .footer-logo img {
        height: 32px;
    }
    .hero-product {
        padding-bottom: 40px;
    }
    .case-hero {
        padding-bottom: 40px;
    }

    /* 产品流程图 */
    .product-flow-diagram {
        margin-top: 40px;
    }

    /* 首页连接示意图 */
    .diagram-left,
    .diagram-right {
        width: 100%;
    }
}

/* ---------- 480px 以下 ---------- */
@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }
    .hero-subtitle {
        font-size: 14px;
    }
    .hero-content {
        padding-top: 40px;
    }
    .section-title {
        font-size: 20px;
    }
    .product-hero-title {
        font-size: 22px;
    }
    .case-name {
        font-size: 20px;
    }
    .product-tag {
        font-size: 12px;
        padding: 4px 14px;
    }

    /* 导航精简 */
    .navbar {
        padding: 12px var(--side-padding);
        height: auto;
        flex-wrap: wrap;
        gap: 8px;
    }
    .nav-menu {
        gap: 12px;
        flex-wrap: wrap;
    }
    .nav-item {
        font-size: 12px;
    }
    .nav-logo img {
        height: 24px;
    }

    /* 卡片间距缩小 */
    .hub-card,
    .core-feature-card,
    .stat-card,
    .service-path-card,
    .security-phase-card,
    .mcp-example-card,
    .advantage-card,
    .skill-component-card,
    .pain-solution-card,
    .value-card-item {
        padding: 20px 16px;
    }

    .hub-card-title {
        font-size: 18px;
    }
    .hub-card-desc {
        font-size: 14px;
    }

    .product-card-title {
        font-size: 18px;
    }
    .product-card-desc {
        font-size: 14px;
    }

    .flow-center {
        width: 70px;
        height: 64px;
    }

    .flow-center-ring-outer {
        width: 64px;
        height: 64px;
    }

    .flow-center-ring-mid {
        width: 46px;
        height: 46px;
    }

    .flow-center-ring-inner {
        width: 34px;
        height: 34px;
    }

    .flow-center-text {
        font-size: 11px;
    }

    .flow-center-icon {
        width: 70px;
        height: 64px;
    }

    .product-flow {
        padding: 24px 16px;
        gap: 16px;
    }

    .flow-chip {
        font-size: 11px;
        padding: 3px 8px;
    }

    .flow-chip-icon {
        width: 12px;
        height: 12px;
    }

    .product-card {
        padding: 16px 14px;
    }

    .product-card-title {
        font-size: 16px;
    }

    .product-card-desc {
        font-size: 13px;
    }

    .product-card-link {
        font-size: 13px;
    }

    .product-card-tag {
        font-size: 12px;
        padding: 3px 10px;
    }

    .stat-number {
        font-size: 36px;
    }
    .stat-number span {
        font-size: 24px;
    }
    .stat-label {
        font-size: 16px;
    }

    .section-title-group {
        width: 120px;
        height: 72px;
        margin-bottom: 24px;
    }
    .section-title-line {
        top: 24px;
        width: 72px;
    }
    .section-title-en {
        font-size: 12px;
    }

    .footer {
        padding: 32px 0px 20px 0px;
    }
    .footer-inner {
        gap: 24px;
    }
    .footer-logo img {
        height: 28px;
    }
    .footer-desc {
        font-size: 13px;
        width: 300px;
    }
    .footer-contact-item {
        font-size: 13px;
    }
    .footer-copyright {
        font-size: 13px;
        padding-top: 12px;
    }
}
