/* ============================================================
   猪猪软件库 - 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: #22301f;
    background: #f8fbf4;
    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;
}

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

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

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

.tophd.scrolk {
    box-shadow: 0 6px 24px rgba(46, 122, 61, 0.10);
}

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

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

.brndqk .brnmtx {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: #1f7a35;
}

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

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

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

.nvlink:hover {
    color: #1f7a35;
}

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

.topcta:hover {
    background: #278a44;
    transform: translateY(-1px);
}

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

.herosq {
    background:
        radial-gradient(680px 320px at 88% 8%, rgba(120, 205, 140, 0.28), transparent 70%),
        radial-gradient(560px 300px at 6% 92%, rgba(216, 243, 197, 0.55), transparent 70%),
        linear-gradient(180deg, #f2faea 0%, #f8fbf4 100%);
    padding: 72px 0 84px;
    overflow: hidden;
}

.hgridq {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
}

.htagxw {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: #dcf3cd;
    color: #1f7a35;
    font-size: 14px;
    font-weight: 600;
}

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

.hdescq {
    margin-top: 16px;
    font-size: 16px;
    color: #4a5a44;
    max-width: 520px;
}

.hdownq {
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #35a852 0%, #1f7a35 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(46, 158, 79, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hdownq:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(46, 158, 79, 0.42);
}

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

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

.hstatb .hstatn {
    font-size: 28px;
    font-weight: 800;
    color: #1f7a35;
}

.hstatb .hstatl {
    font-size: 13px;
    color: #6c7d64;
}

/* 首屏右侧资源概览卡片 */

.hcardw {
    background: #ffffff;
    border: 1px solid #e4efda;
    border-radius: 22px;
    padding: 26px 26px 14px;
    box-shadow: 0 24px 60px rgba(38, 102, 55, 0.14);
    transform: rotate(1.5deg);
}

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

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

.hcardt i {
    color: #35a852;
    font-size: 20px;
}

.hdotwm {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #35a852;
    box-shadow: 0 0 0 4px rgba(53, 168, 82, 0.18);
}

.hrowic {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 4px;
    border-bottom: 1px solid #f0f6e8;
}

.hrowic:last-child {
    border-bottom: none;
}

.hicoqb {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: #eaf7df;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hicoqb i {
    font-size: 22px;
    color: #2e9e4f;
}

.hrowtx {
    font-size: 15px;
    font-weight: 600;
    color: #2a3825;
}

.hrowct {
    margin-left: auto;
    font-size: 13px;
    color: #6c7d64;
}

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

.secblk {
    padding: 78px 0;
}

.secalt {
    background: #f1f8e8;
}

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

.sechdq::after {
    content: "";
    display: block;
    width: 46px;
    height: 5px;
    border-radius: 4px;
    background: #35a852;
    margin: 14px auto 0;
}

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

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

.shwcrd {
    background: #ffffff;
    border: 1px solid #e4efda;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 10px 26px rgba(38, 102, 55, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.shwcrd:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(38, 102, 55, 0.14);
}

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

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

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

.feacrd {
    background: #ffffff;
    border: 1px solid #e4efda;
    border-radius: 18px;
    padding: 30px 26px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feacrd:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(38, 102, 55, 0.13);
}

.feaico {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: linear-gradient(135deg, #dcf3cd 0%, #c2e9ab 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feaico i {
    font-size: 26px;
    color: #1f7a35;
}

.featl {
    margin-top: 18px;
    font-size: 18px;
    font-weight: 700;
    color: #1c2b18;
}

.fedesc {
    margin-top: 10px;
    font-size: 14px;
    color: #5a6b53;
}

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

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

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

.dwncrd:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(38, 102, 55, 0.13);
}

.dwntag {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 3px 12px;
    border-radius: 999px;
    background: #dcf3cd;
    color: #1f7a35;
    font-size: 12px;
    font-weight: 700;
}

.dwnnme {
    font-size: 17px;
    font-weight: 700;
    color: #1c2b18;
    padding-right: 64px;
}

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

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

.dwnbtn:hover {
    background: #278a44;
}

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

.tlwrap {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    padding-left: 34px;
}

.tlwrap::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 14px;
    bottom: 14px;
    width: 3px;
    border-radius: 3px;
    background: #cde8b8;
}

.tlitem {
    position: relative;
    display: flex;
    gap: 18px;
    padding: 0 0 34px 26px;
}

.tlitem:last-child {
    padding-bottom: 0;
}

.tlitem::before {
    content: "";
    position: absolute;
    left: -31px;
    top: 8px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid #35a852;
}

.tlnum {
    font-size: 26px;
    font-weight: 800;
    color: #b7dba0;
    line-height: 1.2;
}

.tltitl {
    font-size: 18px;
    font-weight: 700;
    color: #1c2b18;
}

.tldesc {
    margin-top: 6px;
    font-size: 14px;
    color: #5a6b53;
}

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

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

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

.faqitm.open {
    box-shadow: 0 12px 30px rgba(38, 102, 55, 0.10);
}

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

.faqbtn i {
    font-size: 22px;
    color: #35a852;
    transition: transform 0.25s ease;
}

.faqitm.open .faqbtn i {
    transform: rotate(180deg);
}

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

.faqpan p {
    padding: 0 22px 20px;
    font-size: 14px;
    color: #5a6b53;
}

.faqitm.open .faqpan {
    max-height: 220px;
}

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

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

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

.newcrd:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(38, 102, 55, 0.13);
}

.newttl {
    font-size: 17px;
    font-weight: 700;
    color: #1c2b18;
}

.newdsc {
    margin-top: 10px;
    font-size: 14px;
    color: #5a6b53;
}

.newtim {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #8a9a80;
}

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

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

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

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

.revhed i {
    font-size: 22px;
    color: #35a852;
}

.revhed span {
    font-size: 15px;
    font-weight: 700;
    color: #1c2b18;
}

.revhed em {
    margin-left: auto;
    font-style: normal;
    font-size: 12px;
    color: #8a9a80;
}

.revtxt {
    margin-top: 12px;
    font-size: 14px;
    color: #4a5a44;
}

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

.ftrsec {
    background: #1c2b18;
    color: #d8e6cf;
    padding: 56px 0 30px;
}

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

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

.ftrdsc {
    margin-top: 12px;
    font-size: 14px;
    color: #9db390;
    max-width: 320px;
}

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

.ftrcta:hover {
    background: #35a852;
}

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

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

.gvico {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(124, 207, 146, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gvico i {
    font-size: 21px;
    color: #7ccf92;
}

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

.gvtxt {
    margin-top: 4px;
    font-size: 13px;
    color: #9db390;
    max-width: 220px;
}

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

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


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

    .hpinnr {
        height: 60px;
    }

    .nvwrap {
        display: none;
    }

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

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

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

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

    .hdescq {
        font-size: 15px;
    }

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

    .hstatq {
        gap: 26px;
    }

    .hstatb .hstatn {
        font-size: 24px;
    }

    .hcardw {
        transform: none;
        padding: 20px 20px 8px;
    }

    .secblk {
        padding: 54px 0;
    }

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

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

    .shwcrd {
        flex: 0 0 68%;
    }

    .feagrd,
    .dwngrd {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    .revfll {
        column-count: 1;
    }

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

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

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

    .hpinnr {
        height: auto;
    }

    .topcta {
        display: none;
    }

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

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