@charset "utf-8";

/* =====================================================
   蓝太平洋 · 解决方案二级页共享组件样式
   依赖 css/webengine.css 提供的基础设计体系
   （top-bar / main-header / hero / section / cta / footer）
   本文件包含所有解决方案页通用的组件，供各页复用
   ===================================================== */

/* ---------- 图片卡片网格（方案/场景卡） ---------- */
.stack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stack-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.stack-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.stack-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(41, 62, 132, 0.14);
}

.stack-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.stack-card .stack-body {
    padding: 20px 22px;
}

.stack-card h3 {
    font-size: 18px;
    color: var(--brand);
    margin: 0 0 10px;
}

.stack-card p {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    text-align: justify;
}

/* ---------- 能力标签墙 ---------- */
.platform-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    justify-content: center;
}

.platform-tags span {
    background: rgba(41, 62, 132, 0.08);
    color: var(--brand);
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 16px;
}

/* ---------- 图文两栏 ---------- */
.media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.media-grid .media-text p {
    margin: 0 0 16px;
    color: var(--text-muted);
    text-align: justify;
    line-height: 1.8;
}

.media-grid .media-text strong {
    color: var(--brand);
}

.media-grid .media-img img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: block;
}

/* ---------- 模块块（标题 + 小卡 + 清单） ---------- */
.module-block {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px 32px;
    margin-bottom: 32px;
}

.module-head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 6px;
}

.module-head h3 {
    font-size: 22px;
    color: var(--brand);
    margin: 0;
}

.module-head .en {
    font-size: 13px;
    color: #9aa3b8;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.module-desc {
    color: var(--text-muted);
    line-height: 1.8;
    text-align: justify;
    margin: 0 0 20px;
}

.module-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 20px;
}

.module-cards.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.module-card {
    background: linear-gradient(160deg, rgba(41, 62, 132, 0.06), rgba(41, 62, 132, 0.02));
    border: 1px solid rgba(41, 62, 132, 0.12);
    border-radius: var(--radius);
    padding: 20px 18px;
}

.module-card h4 {
    font-size: 16px;
    color: var(--brand);
    margin: 0 0 8px;
}

.module-card p {
    margin: 0;
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.7;
    text-align: justify;
}

.module-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 28px;
}

.module-list li {
    position: relative;
    padding-left: 22px;
    font-size: 14.5px;
    color: var(--text);
    line-height: 1.7;
}

.module-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

/* ---------- 价值/目标卡片 ---------- */
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.value-card {
    background: var(--card-bg);
    padding: 26px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-top: 3px solid var(--accent);
    transition: transform 0.2s, box-shadow 0.2s;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(41, 62, 132, 0.14);
}

.value-card h3 {
    font-size: 17px;
    color: var(--brand);
    margin: 0 0 10px;
}

.value-card p {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    text-align: justify;
}

/* ---------- 流程步骤 ---------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
}

.process-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.process-grid.cols-5 {
    grid-template-columns: repeat(5, 1fr);
}

.process-card {
    position: relative;
    background: var(--card-bg);
    padding: 56px 22px 26px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.process-card::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.process-card h3 {
    font-size: 17px;
    color: var(--brand);
    margin: 0 0 10px;
}

.process-card p {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ---------- 概述图文两栏 ---------- */
.overview-flex {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 36px;
    align-items: center;
}

.overview-flex .overview-text p {
    margin: 0 0 16px;
    color: var(--text-muted);
    text-align: justify;
    line-height: 1.8;
}

.overview-flex .overview-text strong {
    color: var(--brand);
}

.overview-flex .overview-pic img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: block;
}

/* ---------- FAQ ---------- */
.faq-list {
    max-width: 860px;
    margin: 0 auto;
}

.faq-list details {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-list summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

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

.faq-list summary::after {
    content: "+";
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 50%;
    background: rgba(41, 62, 132, 0.08);
    color: var(--brand);
    font-size: 16px;
    transition: transform 0.25s;
}

.faq-list details[open] summary::after {
    content: "−";
    transform: rotate(180deg);
}

.faq-list details p {
    margin: 0;
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    text-align: justify;
}

/* =====================================================
   响应式：平板 ≤1024px
   ===================================================== */
@media (max-width: 1024px) {
    .stack-grid,
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .process-grid,
    .process-grid.cols-3,
    .process-grid.cols-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .module-cards,
    .module-cards.cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .overview-flex {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .overview-flex .overview-pic img {
        max-width: 560px;
        margin: 0 auto;
    }

    .module-block {
        padding: 24px 22px;
    }
}

/* =====================================================
   响应式：手机端 ≤768px
   ===================================================== */
@media (max-width: 768px) {
    .stack-grid,
    .stack-grid.cols-3,
    .value-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .process-grid,
    .process-grid.cols-3,
    .process-grid.cols-5 {
        grid-template-columns: 1fr;
    }

    .module-cards,
    .module-cards.cols-3 {
        grid-template-columns: 1fr;
    }

    .module-list {
        grid-template-columns: 1fr;
    }

    .media-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .media-grid .media-img {
        order: -1;
    }

    .module-head h3 {
        font-size: 19px;
    }

    .module-block {
        padding: 20px 18px;
        margin-bottom: 24px;
    }

    .faq-list summary {
        font-size: 15px;
        padding: 16px 18px;
    }

    .faq-list details p {
        padding: 0 18px 18px;
    }
}
