/* ============================================================
   香香漫画app正版 - style.css
   深蓝 + 金黄漫画主题 · PC / 移动端(767px)双端适配
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: #14293b;
    background: #f6fafd;
    line-height: 1.7;
}

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

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

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

.wbxqk {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
}

/* ---------------- 头部 ---------------- */

.mchdr {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #d9e7f2;
    transition: box-shadow 0.25s ease;
}

.mchdr.upscr {
    box-shadow: 0 6px 24px rgba(47, 102, 144, 0.14);
}

.mchinr {
    height: 68px;
    display: flex;
    align-items: center;
}

.mchinr .wbxqk {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.mcbdlk .mcbdtx {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 19px;
    font-weight: 700;
    color: #2f6690;
}

.mclogo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

.mcnavs {
    display: flex;
    align-items: center;
    gap: 24px;
}

.mcnvlk {
    font-size: 15px;
    color: #3c556b;
    transition: color 0.2s ease;
}

.mcnvlk:hover {
    color: #2f6690;
}

.mcctab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    border-radius: 10px;
    background: #2f6690;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.mcctab:hover {
    background: #275a80;
    transform: translateY(-1px);
}

/* ---------------- 首屏 ---------------- */

.mchero {
    background:
        radial-gradient(660px 320px at 92% 6%, rgba(240, 179, 46, 0.20), transparent 70%),
        radial-gradient(560px 300px at 2% 96%, rgba(47, 102, 144, 0.16), transparent 70%),
        linear-gradient(180deg, #eef5fb 0%, #f6fafd 100%);
    padding: 72px 0 84px;
    overflow: hidden;
}

.mcgrid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 56px;
    align-items: center;
}

.mctag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid #f0c95c;
    background: #fdf3d7;
    color: #a4730c;
    font-size: 14px;
    font-weight: 600;
}

.mclft h1 {
    margin-top: 20px;
    font-size: 44px;
    line-height: 1.25;
    color: #102a3e;
    letter-spacing: 1px;
}

.mcdsc {
    margin-top: 16px;
    font-size: 16px;
    color: #40607a;
    max-width: 520px;
}

.mcbtn {
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f5b301 0%, #e89c02 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(232, 156, 2, 0.38);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mcbtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(232, 156, 2, 0.45);
}

.mcmta {
    margin-top: 14px;
    font-size: 13px;
    color: #6b8399;
}

.mcstt {
    margin-top: 34px;
    display: flex;
    gap: 40px;
}

.stwbx .stwnm {
    font-size: 28px;
    font-weight: 800;
    color: #2f6690;
}

.stwbx .stwlb {
    font-size: 13px;
    color: #6b8399;
}

/* 首屏右侧漫画阅读样机 */

.mcmock {
    width: 300px;
    margin: 0 auto;
    background: #102a3e;
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 28px 64px rgba(29, 78, 119, 0.28);
    position: relative;
}

.mcknot {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 96px;
    height: 8px;
    border-radius: 8px;
    background: #102a3e;
    z-index: 2;
}

.mckscr {
    background: #f2f6fa;
    border-radius: 26px;
    overflow: hidden;
    padding-top: 24px;
    display: flex;
    flex-direction: column;
}

.mktopbr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #ffffff;
    border-bottom: 1px solid #e4edf4;
}

.mktopbr i {
    font-size: 20px;
    color: #3c556b;
}

.mkttl {
    font-size: 14px;
    font-weight: 700;
    color: #102a3e;
}

.mkpanl {
    position: relative;
    margin: 10px 12px 0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mkpone {
    height: 110px;
    background: linear-gradient(135deg, #f7b267 0%, #e2604a 100%);
}

.mkptwo {
    background: linear-gradient(135deg, #5b8bb2 0%, #2f6690 100%);
}

.mkpthr {
    background: linear-gradient(135deg, #f2903a 0%, #c9502e 100%);
}

.mkpfor {
    height: 88px;
    background: linear-gradient(135deg, #31456e 0%, #14253f 100%);
}

.mkprow {
    display: flex;
    gap: 10px;
    margin: 0 12px;
}

.mkprow .mkpanl {
    flex: 1;
    margin: 10px 0 0;
    height: 82px;
}

.mkpani {
    font-size: 40px;
    color: rgba(255, 255, 255, 0.85);
}

.mkbubw {
    position: absolute;
    left: 10px;
    top: 10px;
    background: #ffffff;
    color: #102a3e;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 10px 10px 10px 2px;
    box-shadow: 0 4px 12px rgba(16, 42, 62, 0.18);
}

.mkbubs {
    left: auto;
    right: 10px;
    top: auto;
    bottom: 10px;
    border-radius: 10px 10px 2px 10px;
}

.mkpull {
    margin: 12px 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 0;
    border-radius: 10px;
    background: #fdf3d7;
    color: #a4730c;
    font-size: 12px;
    font-weight: 700;
}

.mkpull i {
    animation: mcpull 1.4s ease-in-out infinite;
}

@keyframes mcpull {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(4px);
    }
}

.mkbotq {
    padding: 10px 14px 16px;
}

.mkchpt {
    font-size: 11px;
    color: #6b8399;
    text-align: center;
}

.mkpgss {
    margin-top: 8px;
    height: 6px;
    border-radius: 6px;
    background: #dfe9f1;
    overflow: hidden;
}

.mkpgfl {
    display: block;
    width: 62%;
    height: 100%;
    border-radius: 6px;
    background: linear-gradient(90deg, #f5b301 0%, #e89c02 100%);
}

/* ---------------- 通用模块 ---------------- */

.scqsec {
    padding: 78px 0;
}

.scqalt {
    background: #edf4fa;
}

.scqttl {
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    color: #102a3e;
    margin-bottom: 44px;
    position: relative;
}

.scqttl::before,
.scqttl::after {
    content: "";
    display: inline-block;
    width: 26px;
    height: 4px;
    border-radius: 4px;
    background: #f5b301;
    vertical-align: middle;
    margin: 0 16px;
}

/* ---------------- 产品展示 ---------------- */

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

.qscard {
    background: #ffffff;
    border: 1px solid #d9e7f2;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 10px 26px rgba(29, 78, 119, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.qscard:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(29, 78, 119, 0.15);
}

.qsimg {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* ---------------- 优势亮点 ---------------- */

.hygrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.hycard {
    background: #ffffff;
    border: 1px solid #d9e7f2;
    border-radius: 18px;
    padding: 30px 26px;
    border-top: 3px solid #f5b301;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hycard:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(29, 78, 119, 0.14);
}

.hyicn {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #e7f0f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hyicn i {
    font-size: 26px;
    color: #2f6690;
}

.hyttl {
    margin-top: 18px;
    font-size: 18px;
    font-weight: 700;
    color: #102a3e;
}

.hydsc {
    margin-top: 10px;
    font-size: 14px;
    color: #4c6a82;
}

/* ---------------- 下载中心 ---------------- */

.xzgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.xzcard {
    position: relative;
    background: #ffffff;
    border: 1px solid #d9e7f2;
    border-radius: 18px;
    padding: 30px 26px 26px;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.xzcard:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(29, 78, 119, 0.14);
}

.xztag {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 3px 12px;
    border-radius: 999px;
    background: #fdf3d7;
    border: 1px solid #f0c95c;
    color: #a4730c;
    font-size: 12px;
    font-weight: 700;
}

.xzname {
    font-size: 17px;
    font-weight: 700;
    color: #102a3e;
    padding-right: 64px;
}

.xzinfo {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 13px;
    color: #6b8399;
}

.xzbtn {
    margin-top: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 0;
    border-radius: 12px;
    background: #2f6690;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.xzbtn:hover {
    background: #275a80;
}

/* ---------------- 使用流程(步骤时间轴) ---------------- */

.lctime {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: steps;
}

.lcrow {
    position: relative;
    background: #ffffff;
    border: 1px solid #d9e7f2;
    border-radius: 18px;
    padding: 30px 22px 24px;
    text-align: left;
}

.lcrow:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -16px;
    width: 12px;
    height: 12px;
    border-top: 3px solid #f5b301;
    border-right: 3px solid #f5b301;
    transform: translateY(-50%) rotate(45deg);
    z-index: 1;
}

.lcno {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #2f6690;
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
}

.lcname {
    margin-top: 16px;
    font-size: 17px;
    font-weight: 700;
    color: #102a3e;
}

.lcdtl {
    margin-top: 8px;
    font-size: 14px;
    color: #4c6a82;
}

/* ---------------- 常见问题(手风琴) ---------------- */

.wtwrap {
    max-width: 860px;
    margin: 0 auto;
}

.wtblk {
    background: #ffffff;
    border: 1px solid #d9e7f2;
    border-radius: 14px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: box-shadow 0.25s ease;
}

.wtblk.open {
    box-shadow: 0 12px 30px rgba(29, 78, 119, 0.10);
}

.wtbtn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    font-size: 16px;
    font-weight: 600;
    color: #102a3e;
    text-align: left;
}

.wtbtn i {
    font-size: 22px;
    color: #f5b301;
    transition: transform 0.25s ease;
}

.wtblk.open .wtbtn i {
    transform: rotate(180deg);
}

.wtpnl {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.wtpnl p {
    padding: 0 22px 20px;
    font-size: 14px;
    color: #4c6a82;
}

.wtblk.open .wtpnl {
    max-height: 220px;
}

/* ---------------- 产品资讯 ---------------- */

.zxgrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.zxcard {
    background: #ffffff;
    border: 1px solid #d9e7f2;
    border-radius: 18px;
    padding: 28px 28px 22px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.zxcard:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(29, 78, 119, 0.14);
}

.zxttl {
    font-size: 17px;
    font-weight: 700;
    color: #102a3e;
}

.zxdsc {
    margin-top: 10px;
    font-size: 14px;
    color: #4c6a82;
}

.zxtme {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #7e96aa;
}

/* ---------------- 用户评价(瀑布流) ---------------- */

.pjwrp {
    column-count: 3;
    column-gap: 22px;
}

.pjcrd {
    break-inside: avoid;
    background: #ffffff;
    border: 1px solid #d9e7f2;
    border-radius: 18px;
    padding: 24px 24px 22px;
    margin-bottom: 22px;
}

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

.pjhed i {
    font-size: 22px;
    color: #f5b301;
}

.pjhed span {
    font-size: 15px;
    font-weight: 700;
    color: #102a3e;
}

.pjhed em {
    margin-left: auto;
    font-style: normal;
    font-size: 12px;
    color: #7e96aa;
}

.pjtxt {
    margin-top: 12px;
    font-size: 14px;
    color: #40607a;
}

/* ---------------- 页脚 ---------------- */

.dbfoot {
    background: #102a3e;
    color: #c8d8e5;
    padding: 56px 0 30px;
}

.dbfinr {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 60px;
    align-items: flex-start;
}

.dbfbnd .mcbdtx {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.dbfdsc {
    margin-top: 12px;
    font-size: 14px;
    color: #8ba6bd;
    max-width: 320px;
}

.dbfcta {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 10px;
    background: #f5b301;
    color: #14293b;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.2s ease;
}

.dbfcta:hover {
    background: #ffc61e;
}

.bzwrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 44px;
    margin-left: auto;
}

.bzitq {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.bzico {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(245, 179, 1, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bzico i {
    font-size: 21px;
    color: #f5b301;
}

.bzttl {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.bzbdy {
    min-width: 0;
}

.bztxt {
    margin-top: 4px;
    font-size: 13px;
    color: #8ba6bd;
    max-width: 220px;
}

.dbfcpr {
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    text-align: center;
    font-size: 13px;
    color: #6d89a1;
}

/* ---------------- 移动端适配 ---------------- */


    /* 移动端两侧留白 */
    .wbxqk {
        padding-left: 16px;
        padding-right: 16px;
    }
@media (max-width: 767px) {

    .mchinr {
        height: 60px;
    }

    .mcnavs {
        display: none;
    }

    .mcctab {
        padding: 8px 16px;
        font-size: 14px;
    }

    .mchero {
        padding: 44px 0 56px;
    }

    .mcgrid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mclft h1 {
        font-size: 33px;
    }

    .mcdsc {
        font-size: 15px;
    }

    .mcbtn {
        width: 100%;
        padding: 15px 0;
        font-size: 17px;
    }

    .mcstt {
        gap: 26px;
    }

    .stwbx .stwnm {
        font-size: 24px;
    }

    .scqsec {
        padding: 54px 0;
    }

    .scqttl {
        font-size: 24px;
        margin-bottom: 32px;
    }

    .scqttl::before,
    .scqttl::after {
        width: 14px;
        margin: 0 10px;
    }

    /* 产品展示:移动端左右滑动 */
    .qsgrid {
        display: flex;
        overflow-x: auto;
        gap: 14px;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .qscard {
        flex: 0 0 68%;
    }

    .hygrid,
    .xzgrid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* 步骤时间轴:移动端改纵向 */
    .lctime {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .lcrow:not(:last-child)::after {
        top: auto;
        bottom: -18px;
        right: auto;
        left: 50%;
        transform: translateX(-50%) rotate(135deg);
    }

    .zxgrid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pjwrp {
        column-count: 1;
    }

    .dbfinr {
        flex-direction: column;
        gap: 26px;
    }

    .bzwrap {
        grid-template-columns: 1fr;
        margin-left: 0;
    }
}

/* 移动端：隐藏获取应用按钮，导航改为横向滚动 */
@media (max-width: 767px) {
    .wbxqk {
        flex-wrap: wrap;
    }

    .mchinr {
        height: auto;
    }

    .mcctab {
        display: none;
    }

    .mcnavs {
        order: 3;
        position: static !important;
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 100%;
        max-height: none;
        margin: 0;
        gap: 20px;
        padding: 2px 0 8px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        background: transparent;
        border: 0;
        box-shadow: none;
        transform: none;
        transition: none;
    }

    .mcnvlk {
        flex: 0 0 auto;
        white-space: nowrap;
        font-size: 14px;
        border: 0;
        padding: 6px 0;
    }
}
