/* ============================================================
   首页专属区块：客户痛点 (WHAT WE SOLVE) + FAQ
   只在首页加载（由 Site::home() 通过 EXTRA_HEAD 引入）
   ============================================================ */

/* ---------- 通用标题组 ---------- */
.mlk-inner { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.mlk-head { text-align: center; max-width: 780px; margin: 0 auto 54px; }

.mlk-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #1a4b8c;
}
.mlk-eyebrow::before,
.mlk-eyebrow::after {
    content: '';
    width: 26px;
    height: 1px;
    background: #b9cde6;
}

.mlk-h2 {
    margin: 16px 0 14px;
    font-size: 38px;
    line-height: 1.26;
    font-weight: 700;
    color: #0f1e33;
    letter-spacing: -.01em;
}
.mlk-h2 em { font-style: normal; color: #1a4b8c; }

.mlk-sub {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.8;
    color: #5d6f85;
}

/* ---------- 客户痛点 ---------- */
.mlk-solve {
    padding: 96px 0 100px;
    background: #f6f8fb;
}

.mlk-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.mlk-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px 26px 26px;
    background: #fff;
    border: 1px solid #e6edf6;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.mlk-card:hover {
    transform: translateY(-4px);
    border-color: #cfdcee;
    box-shadow: 0 18px 40px rgba(16, 42, 80, .1);
}

.mlk-num {
    position: absolute;
    top: 10px;
    right: 16px;
    font-size: 58px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.03em;
    color: #eef3f9;
    pointer-events: none;
    user-select: none;
}

.mlk-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 10px;
    background: #eef4fb;
    color: #1a4b8c;
}
.mlk-ico svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mlk-card h3 {
    position: relative;
    margin: 0 0 14px;
    min-height: 50px;
    font-size: 16.5px;
    line-height: 1.45;
    font-weight: 700;
    color: #12233d;
}

.mlk-rule {
    display: block;
    width: 34px;
    height: 2px;
    margin-bottom: 14px;
    background: #1a4b8c;
}

.mlk-card p {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.75;
    color: #5f7085;
}

.mlk-checks {
    margin: auto 0 0;
    padding: 16px 0 0;
    list-style: none;
    border-top: 1px dashed #e6edf6;
}
.mlk-checks li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 24px;
    font-size: 13.5px;
    line-height: 1.65;
    color: #33475f;
}
.mlk-checks li:last-child { margin-bottom: 0; }
.mlk-checks svg {
    position: absolute;
    left: 0;
    top: 3px;
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #1a4b8c;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- FAQ ---------- */
.mlk-faq {
    padding: 96px 0 104px;
    background: #fff;
}

.mlk-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    align-items: start;
}
.mlk-faq-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mlk-faq-item {
    background: #fff;
    border: 1px solid #e6edf6;
    transition: background .25s ease, border-color .25s ease;
}
.mlk-faq-item[open] {
    background: #f4f8fe;
    border-color: #cfe0f5;
}

.mlk-faq-item summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    color: #12233d;
    cursor: pointer;
    list-style: none;
}
.mlk-faq-item summary::-webkit-details-marker { display: none; }
.mlk-faq-item summary:hover { color: #1a4b8c; }
.mlk-faq-item[open] summary { color: #1a4b8c; }

.mlk-faq-ico {
    position: relative;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    color: #93a8c0;
}
.mlk-faq-ico::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 4px;
    width: 8px;
    height: 8px;
    border-right: 1.8px solid currentColor;
    border-bottom: 1.8px solid currentColor;
    transform: rotate(45deg);
    transition: transform .25s ease, top .25s ease;
}
.mlk-faq-item[open] .mlk-faq-ico { color: #1a4b8c; }
.mlk-faq-item[open] .mlk-faq-ico::after {
    top: 8px;
    transform: rotate(-135deg);
}

.mlk-faq-body { padding: 0 20px 20px; }
.mlk-faq-body p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.8;
    color: #4a5c73;
}
.mlk-faq-body p:last-child { margin-bottom: 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
    .mlk-cards { grid-template-columns: repeat(2, 1fr); }
    .mlk-card h3 { min-height: 0; }
}

@media (max-width: 900px) {
    .mlk-h2 { font-size: 30px; }
    .mlk-faq-grid { grid-template-columns: 1fr; gap: 14px; }
    .mlk-solve { padding: 72px 0 76px; }
    .mlk-faq { padding: 72px 0 80px; }
}

@media (max-width: 640px) {
    .mlk-cards { grid-template-columns: 1fr; gap: 16px; }
    .mlk-h2 { font-size: 25px; }
    .mlk-sub { font-size: 14.5px; }
    .mlk-head { margin-bottom: 36px; }
    .mlk-solve { padding: 56px 0 60px; }
    .mlk-faq { padding: 56px 0 64px; }
    .mlk-card { padding: 24px 20px 22px; }
    .mlk-faq-item summary { padding: 16px; font-size: 14.5px; }
    .mlk-faq-body { padding: 0 16px 16px; }
}
