/* ============================================================
   青丘语ai - 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: #1f1735;
    background: #faf8ff;
    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;
}

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

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

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

.hdrbar.onscr {
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.12);
}

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

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

.bndlnk .bndtxt {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: #7c3aed;
}

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

.navmnu {
    display: flex;
    align-items: center;
    gap: 26px;
}

.navlnk {
    font-size: 15px;
    color: #4a3d63;
    transition: color 0.2s ease;
}

.navlnk:hover {
    color: #7c3aed;
}

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

.ctabtn:hover {
    background: #7e22ce;
    transform: translateY(-1px);
}

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

.herowp {
    background:
        radial-gradient(700px 340px at 90% 0%, rgba(168, 85, 247, 0.22), transparent 68%),
        radial-gradient(520px 320px at 4% 100%, rgba(216, 180, 254, 0.45), transparent 70%),
        linear-gradient(180deg, #f4edff 0%, #faf8ff 100%);
    padding: 72px 0 84px;
    overflow: hidden;
}

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

.hetag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 10px;
    background: #ecdffb;
    color: #7c3aed;
    font-size: 14px;
    font-weight: 600;
}

.helft h1 {
    margin-top: 20px;
    font-size: 46px;
    line-height: 1.25;
    color: #231640;
    letter-spacing: 1px;
}

.hedsc {
    margin-top: 16px;
    font-size: 16px;
    color: #463a5e;
    max-width: 520px;
}

.hebtn {
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 44px;
    border-radius: 999px;
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(147, 51, 234, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hebtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(147, 51, 234, 0.42);
}

.hemta {
    margin-top: 14px;
    font-size: 13px;
    color: #7a6c96;
}

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

.sttbox .sttnum {
    font-size: 28px;
    font-weight: 800;
    color: #7c3aed;
}

.sttbox .sttlbl {
    font-size: 13px;
    color: #7a6c96;
}

/* 首屏右侧角色卡 */

.rolbox {
    background: #ffffff;
    border: 1px solid #e9def7;
    border-radius: 24px;
    padding: 26px 26px 16px;
    box-shadow: 0 24px 60px rgba(124, 58, 237, 0.14);
}

.rolhed {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px dashed #ddcff5;
}

.rolhed p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #231640;
}

.rolhed i {
    color: #a855f7;
    font-size: 20px;
}

.roldot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #a855f7;
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.18);
}

.rolitq {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 12px;
    margin-top: 12px;
    border-radius: 16px;
    border: 1px solid #f0e8fa;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.rolitq.actvr {
    border: 1px solid #d8b4fe;
    background: #f9f3ff;
    box-shadow: 0 10px 24px rgba(147, 51, 234, 0.12);
}

.rolavr {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ecdffb 0%, #d8b4fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rolavr i {
    font-size: 23px;
    color: #7c3aed;
}

.rolinf {
    min-width: 0;
}

.rolnme {
    font-size: 15px;
    font-weight: 700;
    color: #231640;
}

.roltag {
    font-size: 12px;
    color: #7a6c96;
}

.rolstt {
    margin-left: auto;
    flex-shrink: 0;
    padding: 3px 10px;
    border-radius: 999px;
    background: #9333ea;
    color: #ffffff;
    font-size: 12px;
}

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

.secqwk {
    padding: 78px 0;
}

.secpal {
    background: #f5f0fd;
}

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

.secttl::after {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    background: #a855f7;
    transform: rotate(45deg);
    margin: 16px auto 0;
    border-radius: 3px;
}

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

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

.sccard {
    background: #ffffff;
    border: 1px solid #e9def7;
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 10px 26px rgba(124, 58, 237, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sccard:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(124, 58, 237, 0.15);
}

.scimg {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

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

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

.ftcard {
    background: #ffffff;
    border: 1px solid #e9def7;
    border-radius: 20px;
    padding: 30px 26px;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ftcard::before {
    content: "";
    position: absolute;
    right: -30px;
    top: -30px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #f0e6fc;
}

.ftcard:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(124, 58, 237, 0.14);
}

.fticn {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ecdffb 0%, #c084fc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.fticn i {
    font-size: 26px;
    color: #7c3aed;
}

.ftttl {
    margin-top: 18px;
    font-size: 18px;
    font-weight: 700;
    color: #231640;
    position: relative;
}

.ftdsc {
    margin-top: 10px;
    font-size: 14px;
    color: #57496f;
    position: relative;
}

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

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

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

.dlcard:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(124, 58, 237, 0.14);
}

.dltag {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 3px 12px;
    border-radius: 8px;
    background: #ecdffb;
    color: #7c3aed;
    font-size: 12px;
    font-weight: 700;
}

.dlname {
    font-size: 17px;
    font-weight: 700;
    color: #231640;
    padding-right: 64px;
}

.dlinfo {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 13px;
    color: #7a6c96;
}

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

.dlbtn:hover {
    background: #7e22ce;
}

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

.tlist {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    counter-reset: tl;
}

.tlist::before {
    content: "";
    position: absolute;
    top: 26px;
    left: 8%;
    right: 8%;
    height: 3px;
    border-radius: 3px;
    background: #dcccfa;
}

.tlrow {
    position: relative;
    background: #ffffff;
    border: 1px solid #e9def7;
    border-radius: 18px;
    padding: 52px 22px 24px;
    text-align: center;
}

.tlrow::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid #a855f7;
    z-index: 1;
}

.tlno {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #c4a0f5;
    line-height: 1.2;
}

.tlname {
    margin-top: 6px;
    font-size: 17px;
    font-weight: 700;
    color: #231640;
}

.tldtl {
    margin-top: 8px;
    font-size: 14px;
    color: #57496f;
}

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

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

.fqblk {
    background: #ffffff;
    border: 1px solid #e9def7;
    border-left: 4px solid #e9def7;
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: border-left 0.25s ease, box-shadow 0.25s ease;
}

.fqblk.open {
    border-left: 4px solid #a855f7;
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.10);
}

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

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

.fqblk.open .fqbtn i {
    transform: rotate(180deg);
}

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

.fqpanl p {
    padding: 0 22px 20px;
    font-size: 14px;
    color: #57496f;
}

.fqblk.open .fqpanl {
    max-height: 220px;
}

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

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

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

.nwcard:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(124, 58, 237, 0.14);
}

.nwttl {
    font-size: 17px;
    font-weight: 700;
    color: #231640;
}

.nwdsc {
    margin-top: 10px;
    font-size: 14px;
    color: #57496f;
}

.nwtme {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #9c89bf;
}

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

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

.rvcard {
    break-inside: avoid;
    background: #ffffff;
    border: 1px solid #e9def7;
    border-radius: 20px;
    padding: 24px 24px 22px;
    margin-bottom: 22px;
}

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

.rvhead i {
    font-size: 22px;
    color: #a855f7;
}

.rvhead span {
    font-size: 15px;
    font-weight: 700;
    color: #231640;
}

.rvhead em {
    margin-left: auto;
    font-style: normal;
    font-size: 12px;
    color: #9c89bf;
}

.rvtext {
    margin-top: 12px;
    font-size: 14px;
    color: #463a5e;
}

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

.ftrwrp {
    background: #231640;
    color: #d9cfee;
    padding: 56px 0 30px;
}

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

.ftrbnd .bndtxt {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
}



.ftrdtx {
    margin-top: 12px;
    font-size: 14px;
    color: #a894cf;
    max-width: 320px;
}

.ftrbtn {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 12px;
    background: #9333ea;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.ftrbtn:hover {
    background: #a855f7;
}

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

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

.pzico {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(192, 132, 252, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pzico i {
    font-size: 21px;
    color: #c084fc;
}

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

.pztxt {
    margin-top: 4px;
    font-size: 13px;
    color: #a894cf;
    max-width: 220px;
}

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

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


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

    .hdrinr {
        height: 60px;
    }

    .navmnu {
        display: none;
    }

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

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

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

    .helft h1 {
        font-size: 34px;
    }

    .hedsc {
        font-size: 15px;
    }

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

    .hestt {
        gap: 26px;
    }

    .sttbox .sttnum {
        font-size: 24px;
    }

    .secqwk {
        padding: 54px 0;
    }

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

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

    .sccard {
        flex: 0 0 68%;
    }

    .ftgrid,
    .dlgrid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* 时间轴:移动端恢复纵向 */
    .tlist {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tlist::before {
        top: 8%;
        bottom: 8%;
        left: 26px;
        right: auto;
        width: 3px;
        height: auto;
    }

    .tlrow {
        padding: 20px 20px 20px 64px;
        text-align: left;
    }

    .tlrow::before {
        top: 50%;
        transform: translateY(-50%);
        left: 18px;
    }

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

    .rvwrp {
        column-count: 1;
    }

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

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

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

    .hdrinr {
        height: auto;
    }

    .ctabtn {
        display: none;
    }

    .navmnu {
        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;
    }

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