/* ============================================================
   platform_enterprise.css — 企业方案页样式
   视觉风格：浅蓝背景 + 白卡片 + #1890ff 主色，延续平台整体风格
   ============================================================ */

/* ---------- 通用 ---------- */
.platform-main {
    background: #f4f7fb;
}

.ent-section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.ent-section-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin: 0 0 12px;
    line-height: 1.4;
}

.ent-section-subtitle {
    font-size: 15px;
    color: #6b7280;
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

/* ---------- 按钮 ---------- */
.ent-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #1890ff;
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.25);
    cursor: pointer;
    border: none;
}
.ent-btn-primary:hover {
    background: #0d7fe9;
    box-shadow: 0 4px 16px rgba(24, 144, 255, 0.35);
    transform: translateY(-1px);
}
.ent-btn-primary svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.ent-btn-lg {
    padding: 14px 36px;
    font-size: 16px;
}

.ent-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 28px;
    background: #fff;
    color: #1890ff;
    border: 1.5px solid #1890ff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    cursor: pointer;
}
.ent-btn-secondary:hover {
    background: #e6f7ff;
    border-color: #0d7fe9;
    transform: translateY(-1px);
}

/* ==================== 5.1 Hero ==================== */
.ent-hero {
    padding: 72px 24px 56px;
    text-align: center;
    background: linear-gradient(180deg, #f0f7ff 0%, #f4f7fb 100%);
}

.ent-hero-inner {
    max-width: 960px;
    margin: 0 auto;
}

.ent-hero-badge {
    display: inline-block;
    padding: 5px 16px;
    background: rgba(24, 144, 255, 0.08);
    color: #1890ff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.ent-hero-title {
    font-size: 34px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.35;
    margin: 0 0 16px;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.ent-hero-subtitle {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.75;
    margin: 0 0 28px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.ent-hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.ent-hero-trust {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.ent-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
}
.ent-trust-item svg {
    width: 16px;
    height: 16px;
    color: #36cfc9;
    flex-shrink: 0;
}

/* Hero 产品视觉 */
.ent-hero-visual {
    max-width: 540px;
    margin: 40px auto 0;
}
.ent-hero-visual-inner {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 24px rgba(24, 144, 255, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(24, 144, 255, 0.1);
}
.ent-hero-illustration {
    width: 100%;
    height: auto;
    display: block;
}

/* ==================== 5.2 适用判断 ==================== */
.ent-when {
    padding: 80px 24px;
}

.ent-when-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.ent-when-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    border: 1px solid #e8edf3;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.ent-when-card:hover {
    border-color: #bae7ff;
    box-shadow: 0 4px 16px rgba(24, 144, 255, 0.08);
}

.ent-when-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: rgba(24, 144, 255, 0.08);
    color: #1890ff;
}
.ent-when-icon svg {
    width: 22px;
    height: 22px;
}
.ent-when-icon.ent-icon-teal {
    background: rgba(54, 207, 201, 0.08);
    color: #36cfc9;
}
.ent-when-icon.ent-icon-orange {
    background: rgba(255, 122, 69, 0.08);
    color: #ff7a45;
}
.ent-when-icon.ent-icon-purple {
    background: rgba(114, 46, 209, 0.08);
    color: #722ed1;
}

.ent-when-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}
.ent-when-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.65;
    margin: 0;
}

/* ==================== 5.3 核心能力 ==================== */
.ent-capabilities {
    padding: 80px 24px;
    background: #fff;
}

.ent-cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ent-cap-card {
    background: #f8fafd;
    border-radius: 12px;
    padding: 28px 24px;
    border: 1px solid #e8edf3;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.ent-cap-card:hover {
    border-color: #bae7ff;
    box-shadow: 0 4px 20px rgba(24, 144, 255, 0.08);
    transform: translateY(-2px);
}

.ent-cap-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    background: rgba(24, 144, 255, 0.08);
    color: #1890ff;
}
.ent-cap-icon svg {
    width: 20px;
    height: 20px;
}
.ent-cap-icon.ent-cap-teal { background: rgba(54, 207, 201, 0.08); color: #36cfc9; }
.ent-cap-icon.ent-cap-orange { background: rgba(255, 122, 69, 0.08); color: #ff7a45; }
.ent-cap-icon.ent-cap-purple { background: rgba(114, 46, 209, 0.08); color: #722ed1; }
.ent-cap-icon.ent-cap-green { background: rgba(82, 196, 26, 0.08); color: #52c41a; }
.ent-cap-icon.ent-cap-cyan { background: rgba(19, 194, 194, 0.08); color: #13c2c2; }

.ent-cap-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}
.ent-cap-card p {
    font-size: 13.5px;
    color: #6b7280;
    line-height: 1.65;
    margin: 0;
}

/* ==================== 5.4 API 集成 ==================== */
.ent-integration {
    padding: 80px 24px;
}

.ent-int-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.ent-int-node {
    background: #fff;
    border: 1.5px solid #e8edf3;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    min-width: 180px;
    max-width: 220px;
    flex: 0 1 auto;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.ent-int-node:hover {
    border-color: #bae7ff;
    box-shadow: 0 4px 16px rgba(24, 144, 255, 0.08);
}

.ent-int-node-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}
.ent-int-node-icon svg {
    width: 22px;
    height: 22px;
}

.ent-int-source .ent-int-node-icon {
    background: rgba(114, 46, 209, 0.08);
    color: #722ed1;
}
.ent-int-engine .ent-int-node-icon {
    background: rgba(24, 144, 255, 0.1);
    color: #1890ff;
}
.ent-int-engine {
    border-color: #bae7ff;
    background: #f0f7ff;
}
.ent-int-result .ent-int-node-icon {
    background: rgba(54, 207, 201, 0.08);
    color: #36cfc9;
}

.ent-int-node-label {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}
.ent-int-node-sub {
    font-size: 12.5px;
    color: #9ca3af;
}

.ent-int-arrow {
    flex-shrink: 0;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ent-int-arrow svg {
    width: 40px;
    height: 24px;
}

.ent-int-note {
    text-align: center;
    font-size: 13.5px;
    color: #9ca3af;
    margin: 0 0 24px;
    line-height: 1.65;
}

.ent-int-cta {
    text-align: center;
}

/* ==================== 5.5 典型场景 ==================== */
.ent-scenarios {
    padding: 80px 24px;
    background: #fff;
}

.ent-scen-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ent-scen-card {
    background: #f8fafd;
    border-radius: 12px;
    padding: 28px 20px;
    border: 1px solid #e8edf3;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.ent-scen-card:hover {
    border-color: #bae7ff;
    box-shadow: 0 4px 16px rgba(24, 144, 255, 0.08);
    transform: translateY(-2px);
}

.ent-scen-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    background: rgba(24, 144, 255, 0.08);
    color: #1890ff;
}
.ent-scen-icon svg {
    width: 24px;
    height: 24px;
}
.ent-scen-icon.ent-scen-teal { background: rgba(54, 207, 201, 0.08); color: #36cfc9; }
.ent-scen-icon.ent-scen-orange { background: rgba(255, 122, 69, 0.08); color: #ff7a45; }
.ent-scen-icon.ent-scen-purple { background: rgba(114, 46, 209, 0.08); color: #722ed1; }

.ent-scen-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}
.ent-scen-card p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.65;
    margin: 0;
}

/* ==================== 5.6 服务流程 ==================== */
.ent-process {
    padding: 80px 24px;
}

.ent-process-timeline {
    display: flex;
    justify-content: center;
    gap: 0;
    position: relative;
    max-width: 960px;
    margin: 0 auto;
}

.ent-process-step {
    flex: 1;
    text-align: center;
    padding: 0 12px;
    position: relative;
}

/* 连接线 */
.ent-process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -4px;
    width: calc(100% - 48px);
    height: 2px;
    background: #d9e6f2;
    z-index: 0;
    left: calc(50% + 24px);
}

.ent-process-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1890ff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 16px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.25);
}

.ent-process-step h4 {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px;
}
.ent-process-step p {
    font-size: 12.5px;
    color: #9ca3af;
    line-height: 1.55;
    margin: 0;
}

/* ==================== 5.7 对比表 ==================== */
.ent-compare {
    padding: 80px 24px;
    background: #fff;
}

.ent-compare-table-wrap {
    max-width: 800px;
    margin: 0 auto 36px;
    overflow-x: auto;
}

.ent-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.ent-compare-table th,
.ent-compare-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid #e8edf3;
}
.ent-compare-table th {
    font-weight: 700;
    color: #1a1a2e;
    background: #f8fafd;
    font-size: 13.5px;
}
.ent-compare-table td {
    color: #6b7280;
}
.ent-compare-table th.ent-compare-highlight {
    color: #1890ff;
    background: rgba(24, 144, 255, 0.04);
}
.ent-compare-table td.ent-compare-highlight {
    color: #1890ff;
    font-weight: 600;
    background: rgba(24, 144, 255, 0.02);
}

.ent-compare-cta {
    text-align: center;
}
.ent-compare-cta p {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 20px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

/* ==================== 5.8 FAQ ==================== */
.ent-faq {
    padding: 80px 24px;
}

.ent-faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.ent-faq-item {
    border-bottom: 1px solid #e8edf3;
}
.ent-faq-item:first-child {
    border-top: 1px solid #e8edf3;
}

.ent-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    text-align: left;
    gap: 12px;
    transition: color 0.15s;
}
.ent-faq-question:hover {
    color: #1890ff;
}

.ent-faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #9ca3af;
    transition: transform 0.25s ease, color 0.15s;
}
.ent-faq-item.is-open .ent-faq-chevron {
    transform: rotate(180deg);
    color: #1890ff;
}

.ent-faq-answer {
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.25s ease;
    max-height: 0;
    opacity: 0;
}
.ent-faq-answer[hidden] {
    display: block !important;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}
.ent-faq-item.is-open .ent-faq-answer {
    max-height: 300px;
    opacity: 1;
    pointer-events: auto;
}

.ent-faq-answer p {
    padding: 0 4px 18px;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

/* ==================== 5.9 底部 CTA ==================== */
.ent-bottom-cta {
    padding: 72px 24px;
    background: linear-gradient(180deg, #f4f7fb 0%, #e6f0fb 100%);
    text-align: center;
}

.ent-bottom-cta-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 12px;
    line-height: 1.4;
}

.ent-bottom-cta-subtitle {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0 0 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ent-bottom-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.ent-bottom-pricing-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #1890ff;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.15s;
}
.ent-bottom-pricing-link:hover {
    opacity: 0.8;
}
.ent-bottom-pricing-link svg {
    width: 16px;
    height: 16px;
}

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
    .ent-cap-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ent-scen-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ent-hero {
        padding: 56px 16px 40px;
    }
    .ent-hero-title {
        font-size: 24px;
    }
    .ent-hero-subtitle {
        font-size: 14px;
    }
    .ent-hero-trust {
        gap: 16px;
    }

    .ent-section-title {
        font-size: 22px;
    }
    .ent-section-subtitle {
        font-size: 14px;
        margin-bottom: 32px;
    }

    .ent-when,
    .ent-capabilities,
    .ent-integration,
    .ent-scenarios,
    .ent-process,
    .ent-compare,
    .ent-faq {
        padding: 56px 16px;
    }

    .ent-when-grid {
        grid-template-columns: 1fr;
    }
    .ent-cap-grid {
        grid-template-columns: 1fr;
    }
    .ent-scen-grid {
        grid-template-columns: 1fr;
    }

    /* API 流程竖排 */
    .ent-int-flow {
        flex-direction: column;
        gap: 4px;
    }
    .ent-int-arrow {
        transform: rotate(90deg);
        width: 40px;
        height: 24px;
    }
    .ent-int-node {
        min-width: auto;
        max-width: 100%;
        width: 100%;
    }

    /* 服务流程竖排 */
    .ent-process-timeline {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
        padding-left: 28px;
    }
    .ent-process-step {
        text-align: left;
        padding: 0 0 28px 28px;
        position: relative;
    }
    .ent-process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 40px;
        left: -1px;
        width: 2px;
        height: calc(100% - 40px);
        background: #d9e6f2;
    }
    .ent-process-num {
        position: absolute;
        left: -20px;
        top: 0;
        margin: 0;
    }

    /* 对比表 */
    .ent-compare-table {
        font-size: 13px;
    }
    .ent-compare-table th,
    .ent-compare-table td {
        padding: 10px 12px;
    }

    .ent-bottom-cta {
        padding: 56px 16px;
    }
    .ent-bottom-cta-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .ent-hero-title {
        font-size: 21px;
    }
    .ent-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .ent-btn-primary,
    .ent-btn-secondary {
        justify-content: center;
    }
    .ent-hero-trust {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
}
