/* ==========================================================================
   支柱页（源码交付 / 选型指南）共用样式
   与 jinglingcrm.css 同一套设计语言：1200 定宽、蓝白主色、克制阴影
   ========================================================================== */

.pillar {
    padding-top: 72px;
    background: #F5F8FC;
    color: #0E1B33;
}

/* ---------- 首屏 ---------- */
.pillar-hero {
    background: linear-gradient(118deg, #052B66 0%, #0B4EA8 60%, #0F6FD1 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 64px 0 56px;
}

.pillar-hero::after {
    content: "";
    position: absolute;
    right: -140px;
    top: -160px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(199, 223, 255, .16), rgba(199, 223, 255, 0) 68%);
    pointer-events: none;
}

.pillar-hero__inner {
    width: 1200px;
    max-width: calc(100% - 48px);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pillar-eyebrow {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 2px;
    color: #A8C6F0;
    border: 1px solid rgba(168, 198, 240, .42);
    border-radius: 3px;
    padding: 4px 12px;
    margin-bottom: 18px;
}

.pillar-hero h1 {
    font-size: 40px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: .5px;
    max-width: 760px;
}

.pillar-hero__desc {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.85;
    color: rgba(255, 255, 255, .76);
    max-width: 720px;
}

.pillar-hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.pillar-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 28px;
    border-radius: 4px;
    background: #fff;
    color: #0B3B85;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
}

.pillar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(3, 24, 58, .18);
}

.pillar-btn--ghost {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .45);
    color: #fff;
    font-weight: 500;
}

.pillar-hero__facts {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .16);
    font-size: 13.5px;
    color: rgba(255, 255, 255, .78);
}

.pillar-hero__facts b {
    color: #fff;
    font-weight: 600;
}

/* ---------- 正文容器 ---------- */
.pillar-body {
    width: 1200px;
    max-width: calc(100% - 48px);
    margin: 0 auto;
    padding: 56px 0 20px;
}

.pillar-sec {
    margin-bottom: 52px;
}

.pillar-sec__head {
    margin-bottom: 22px;
}

.pillar-sec__head h2 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: .3px;
    color: #0E1B33;
}

.pillar-sec__head p {
    margin-top: 8px;
    font-size: 14.5px;
    line-height: 1.8;
    color: #6B7A90;
    max-width: 820px;
}

/* 卡片网格 */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.pillar-card {
    background: #fff;
    border: 1px solid #E4EAF2;
    border-radius: 10px;
    padding: 24px 22px;
    transition: transform .18s ease, box-shadow .18s ease;
}

.pillar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(3, 24, 58, .07);
}

.pillar-card__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: #EAF3FF;
    color: #0F6FD1;
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    margin-bottom: 12px;
}

.pillar-card h3 {
    font-size: 16.5px;
    font-weight: 600;
    color: #0E1B33;
    margin-bottom: 8px;
}

.pillar-card p {
    font-size: 14px;
    line-height: 1.8;
    color: #5A6B85;
}

.pillar-card ul {
    margin: 10px 0 0 18px;
    font-size: 13.5px;
    line-height: 1.9;
    color: #5A6B85;
}

/* 清单式区块 */
.pillar-list {
    background: #fff;
    border: 1px solid #E4EAF2;
    border-radius: 10px;
    padding: 8px 26px;
}

.pillar-list__item {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #F1F4F9;
}

.pillar-list__item:last-child {
    border-bottom: 0;
}

.pillar-list__key {
    flex: 0 0 132px;
    font-size: 14px;
    font-weight: 600;
    color: #0E1B33;
}

.pillar-list__val {
    flex: 1;
    font-size: 14px;
    line-height: 1.85;
    color: #5A6B85;
}

/* 对照表 */
.pillar-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #E4EAF2;
    border-radius: 10px;
    overflow: hidden;
    font-size: 14px;
}

.pillar-table th,
.pillar-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid #EDF1F7;
    vertical-align: top;
    line-height: 1.7;
}

.pillar-table th {
    background: #F2F5F9;
    font-size: 13px;
    font-weight: 600;
    color: #3D4C63;
}

.pillar-table td:first-child {
    font-weight: 600;
    color: #0E1B33;
    width: 168px;
}

.pillar-table tr:last-child td {
    border-bottom: 0;
}

.pillar-table .col-hl {
    background: #F7FAFF;
    color: #0B3B85;
    font-weight: 600;
}

/* FAQ */
.pillar-faq {
    background: #fff;
    border: 1px solid #E4EAF2;
    border-radius: 10px;
    overflow: hidden;
}

.pillar-faq details {
    border-bottom: 1px solid #F1F4F9;
}

.pillar-faq details:last-child {
    border-bottom: 0;
}

.pillar-faq summary {
    padding: 18px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #0E1B33;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 52px;
}

.pillar-faq summary::-webkit-details-marker {
    display: none;
}

.pillar-faq summary::after {
    content: "";
    position: absolute;
    right: 24px;
    top: 24px;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #9AA5B8;
    border-bottom: 1.5px solid #9AA5B8;
    transform: rotate(45deg);
    transition: transform .2s ease;
}

.pillar-faq details[open] summary::after {
    transform: rotate(-135deg);
}

.pillar-faq .answer {
    padding: 0 24px 20px;
    font-size: 14px;
    line-height: 1.9;
    color: #5A6B85;
}

/* 底部转化 */
.pillar-cta {
    background: linear-gradient(118deg, #052B66 0%, #0B4EA8 60%, #0F6FD1 100%);
    color: #fff;
    padding: 48px 0;
    margin-top: 20px;
}

.pillar-cta__inner {
    width: 1080px;
    max-width: calc(100% - 48px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.pillar-cta h2 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.5;
}

.pillar-cta p {
    margin-top: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, .74);
}

.pillar-cta__actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* 提示条 */
.pillar-note {
    margin-top: 14px;
    padding: 14px 18px;
    border-left: 3px solid #0F6FD1;
    background: #EAF3FF;
    border-radius: 0 8px 8px 0;
    font-size: 13.5px;
    line-height: 1.8;
    color: #3D4C63;
}

@media (max-width: 1199px) {
    .pillar-hero h1 {
        font-size: 32px;
    }

    .pillar-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pillar-cta__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .pillar {
        padding-top: 0;
    }

    .pillar-hero {
        padding: 36px 0 32px;
    }

    .pillar-hero h1 {
        font-size: 25px;
    }

    .pillar-hero__desc {
        font-size: 14px;
    }

    .pillar-grid {
        grid-template-columns: 1fr;
    }

    .pillar-body {
        padding: 32px 0 10px;
    }

    .pillar-sec {
        margin-bottom: 36px;
    }

    .pillar-sec__head h2 {
        font-size: 20px;
    }

    .pillar-list__item {
        flex-direction: column;
        gap: 6px;
    }

    .pillar-list__key {
        flex: none;
    }

    .pillar-table th,
    .pillar-table td {
        padding: 10px 12px;
        font-size: 13px;
    }

    .pillar-table td:first-child {
        width: 96px;
    }
}

/* 页头：本页没有引入 jinglingcrm.css，导航文字默认色为白色，在白底 header 上不可见。
   这里显式给 header_solid 状态下的导航与下拉设置深色，避免依赖其它页面的样式覆盖。 */
/* header.js 会在运行时给 .black 写内联 color（透明头部用白字），
   本页 header 是白底 solid 状态，必须用 !important 才能盖住内联样式。 */
#header.header_solid .nav .btnbox .black,
#header.header_solid .nav .tabs,
#header.header_solid .nav .tabs a,
#header.header_solid .nav .drop_panel a {
    color: #3F3F3F !important;
}

#header.header_solid .nav .btnbox .black:hover,
#header.header_solid .nav .tabs:hover,
#header.header_solid .nav .tabs a:hover,
#header.header_solid .nav .drop_panel a:hover {
    color: #0F6FD1 !important;
}

#header.header_solid .nav .topitem_blue {
    color: #0F6FD1 !important;
}

/* 白底固定头上去掉 logo 的蓝色发光（那是给深色透明头准备的，白底上会让字发虚） */
#header.header_solid .logo img {
    filter: none !important;
}

/* header.css 给 .inner 设了 min-width:1300px，1310px 以下视口会整页横向滚动。
   本页覆盖为可收缩，避免 1280 / 1024 笔记本上出现横向滚动条。 */
@media (max-width: 1310px) {
    #header .inner {
        width: 100% !important;
        min-width: 0 !important;
        padding: 0 16px !important;
        box-sizing: border-box;
    }
}

/* 页脚里 .category / .desc / .desc123 都是固定 1300px，窄屏要能收缩 */
@media (max-width: 1310px) {
    .footer .category,
    .footer .desc,
    .footer .desc123 {
        width: 100% !important;
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
        flex-wrap: wrap;
        gap: 20px;
    }

    .footer .desc .desc-box,
    .footer .desc123 .desc-box {
        width: 100% !important;
        box-sizing: border-box;
    }
}


/* ---------- 页尾延伸阅读（两个支柱页互链 + 回产品页，解决站内孤岛） ---------- */
.pillar-next {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 64px;
}

.pillar-next__box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px 28px;
    background: #fff;
    border: 1px solid #DCE9F7;
    border-radius: 14px;
    padding: 24px 28px;
    box-shadow: 0 4px 14px rgba(77, 186, 236, 0.07);
}

.pillar-next__box p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #5A6B85;
}

.pillar-next__links {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.pillar-next__links a {
    font-size: 15px;
    color: #0F6FD1;
    text-decoration: none;
    border-bottom: 1px solid rgba(15, 111, 209, 0.28);
    padding-bottom: 2px;
}

.pillar-next__links a:hover {
    color: #0B57A6;
    border-bottom-color: #0B57A6;
}

@media (max-width: 640px) {
    .pillar-next {
        padding: 0 16px 48px;
    }

    .pillar-next__box {
        padding: 20px 18px;
    }

    .pillar-next__links {
        gap: 16px;
    }
}
