@charset "utf-8";
/* ==========================================================================
   product.html —— 工具总览 hub（All Tools）
   --------------------------------------------------------------------------
   这一页是纯展示的营销页：卡片主按钮深链进业务系统，次链接进工具详情页。
   只有本页在用，不要被别的页面引用，也不引用别的页面的样式。
   结构：Hero → 信任条 → 分类锚点导航（sticky）→ 7 组工具网格
        → 场景入口 → FAQ → 底部转化区
   ========================================================================== */

/* ==========================================================================
   Hero
   ========================================================================== */
.th-hero{
    display: block;
    position: relative;
    padding: 14px 0 58px 0;
    background-color: #f6f6f6;
    background-image: linear-gradient(180deg,
        #dcc7fb 0%,
        #e3d3fb 26%,
        #ebe1fb 50%,
        #f2edfa 74%,
        #f6f6f6 100%);
    overflow: hidden;
}
/* 两团柔光用 radial-gradient 自带淡出，不用实色块 + blur（那会溢出，
   裁切处会切出笔直硬边） */
.th-hero::before{
    content: "";
    position: absolute;
    left: -6%;
    top: -40%;
    width: 46%;
    height: 150%;
    background: radial-gradient(50% 50% at 50% 50%, rgba(43, 127, 255, .2) 0%, rgba(43, 127, 255, 0) 70%);
    pointer-events: none;
}
.th-hero::after{
    content: "";
    position: absolute;
    right: -6%;
    top: -46%;
    width: 46%;
    height: 150%;
    background: radial-gradient(50% 50% at 50% 50%, rgba(195, 31, 209, .19) 0%, rgba(195, 31, 209, 0) 70%);
    pointer-events: none;
}
.th-hero .zs-wp{
    position: relative;
    z-index: 2;
    text-align: center;
}
/* 面包屑挪进 hero，让 banner 渐变一路盖到页眉下沿，中间不再留白条。
   三件事要处理：
   1) 上面那条 .th-hero .zs-wp 会把面包屑一起居中，得按左对齐扳回来；
   2) 标题与面包屑的间距改由 .path 的下内边距承担（hero 的上内边距只负责
      把渐变顶到面包屑上方），这样两者不会挤在一起；
   3) 分隔符原本是 #999，落在 #dcc7fb 渐变上几乎看不见，压深一档。 */
.th-hero .path{
    padding: 8px 0 30px 0;
}
.th-hero .path .zs-wp{
    text-align: left;
}
.th-hero .path span{
    color: #6b6280;
}
.th-hero .th-title{
    display: block;
    margin: 0;
    font-size: 44px;
    line-height: 1.18;
    letter-spacing: -.02em;
    font-weight: 800;
    color: #170b33;
}
.th-hero .th-title em{
    font-style: normal;
    background: var(--zs-btn-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: #2B7FFF;
}
@supports (-webkit-text-fill-color: transparent){
    .th-hero .th-title em{
        -webkit-text-fill-color: transparent;
    }
}
.th-hero .th-sub{
    display: block;
    max-width: 760px;
    margin: 14px auto 0 auto;
    font-size: 16.5px;
    line-height: 1.7;
    color: #4b4361;
}
.th-only{
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   分类锚点导航
   --------------------------------------------------------------------------
   点了平滑滚到对应分组，滚动时高亮当前分组。粘在页眉（80px）下面。
   ========================================================================== */
.th-nav{
    display: block;
    position: sticky;
    top: 80px;
    z-index: 30;
    /* 直接吃在 Hero 下沿，Hero 自己的 padding-bottom 已经提供了空隙 */
    margin-top: 0;
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-top: 1px solid #f0ecf9;
    border-bottom: 1px solid #f0ecf9;
}
.th-nav .zs-wp{
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    /* 只改上下内边距，左右必须留着 .zs-wp 的 gutter，
       写成 padding:16px 0 会把它清零，导航就和下面的卡片对不齐 */
    padding-top: 16px;
    padding-bottom: 16px;
    scrollbar-width: thin;
}
.th-nav a{
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
    height: 46px;
    padding: 0 19px;
    border: 1px solid #ebe6f6;
    border-radius: 10px;
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1;
    color: #4b4361;
    white-space: nowrap;
    transition: color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.th-nav a i{
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 22px;
    padding: 0 7px;
    border-radius: 7px;
    background: #f4f0fd;
    font-size: 12.5px;
    font-style: normal;
    font-weight: 700;
    color: #7c3aed;
}
.th-nav a:hover{
    color: #7c3aed;
    border-color: #d9ccf7;
    background: #faf7ff;
    box-shadow: 0 4px 12px rgba(124, 58, 237, .08);
}
.th-nav a.on{
    color: #FFFFFF;
    border-color: transparent;
    background: var(--zs-btn-grad);
    box-shadow: 0 6px 16px rgba(124, 58, 237, .26);
}
.th-nav a.on i{
    background: rgba(255, 255, 255, .22);
    color: #FFFFFF;
}

/* ==========================================================================
   工具分组
   ========================================================================== */
.th-sec{
    display: block;
    padding: 58px 0 0 0;
    /* 页眉 80 + 粘性导航 80 + 余量 12 */
    scroll-margin-top: 172px;
}
.th-sec:first-of-type{
    padding-top: 50px;
}
.th-head{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.th-head .thh-ico{
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: #FFFFFF;
    background: var(--zs-btn-grad);
}
.th-head .thh-ico svg{
    display: block;
    width: 18px;
    height: 18px;
}
.th-head .thh-t{
    display: block;
    flex: none;
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.01em;
    color: #170b33;
}
.th-head .thh-n{
    display: block;
    flex: none;
    padding: 3px 9px;
    border-radius: 6px;
    background: #f4f0fd;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.5;
    color: #7c3aed;
}
.th-head .thh-line{
    flex: 1 1 auto;
    height: 1px;
    background: linear-gradient(90deg, rgba(124, 58, 237, .28) 0%, rgba(124, 58, 237, 0) 100%);
}
.th-head .thh-all{
    display: flex;
    align-items: center;
    gap: 6px;
    flex: none;
    font-size: 14.5px;
    font-weight: 600;
    color: #7c3aed;
    transition: gap .2s ease;
}
.th-head .thh-all svg{
    display: block;
    width: 15px;
    height: 15px;
}
.th-head .thh-all:hover{
    gap: 10px;
}
.th-desc{
    display: block;
    max-width: 900px;
    margin: -12px 0 22px 0;
    font-size: 15.5px;
    line-height: 1.7;
    color: #6b6382;
}

/* ==========================================================================
   工具卡
   --------------------------------------------------------------------------
   整卡点击进详情页（.thc-name a 的 ::after 铺满卡片），
   "Open tool" 单独深链进业务系统，z-index 压在上面。
   ========================================================================== */
.th-grid{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.th-card{
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 22px 20px 20px 20px;
    border: 1px solid #ece9f5;
    border-radius: 10px;
    background: #FFFFFF;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.th-card:hover{
    transform: translateY(-3px);
    border-color: #d9ccf7;
    box-shadow: 0 14px 30px rgba(53, 20, 108, .1);
}
.th-card .thc-top{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}
.th-card .thc-ico{
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    color: #FFFFFF;
    background: var(--zs-btn-grad);
    box-shadow: 0 6px 16px rgba(124, 58, 237, .22);
}
.th-card .thc-ico svg{
    display: block;
    width: 23px;
    height: 23px;
}
.th-card .thc-tag{
    display: flex;
    align-items: center;
    flex: none;
    height: 22px;
    padding: 0 8px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    line-height: 1;
}
.th-card .thc-tag.is-free{
    background: #eafaf1;
    color: #128a52;
}
.th-card .thc-tag.is-new{
    background: #eef2ff;
    color: #3b53d8;
}
.th-card .thc-tag.is-hot{
    background: #fdeef4;
    color: #c1256a;
}
.th-card .thc-tag.is-api{
    background: #f4f0fd;
    color: #7c3aed;
}
.th-card .thc-name{
    display: block;
    margin: 0 0 8px 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: #170b33;
}
.th-card .thc-name a{
    color: inherit;
}
/* 铺满整卡的点击区，不用把整张卡包在 a 里（那样按钮会嵌套 a） */
.th-card .thc-name a::after{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    border-radius: 10px;
}
.th-card:hover .thc-name{
    color: #7c3aed;
}
.th-card .thc-desc{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    /* line-clamp 下方间距只能用 margin，padding 会被裁进省略号里 */
    margin: 0 0 14px 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: #6b6382;
}
/* 输入 → 输出：一眼看出能不能用 */
.th-card .thc-io{
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 16px 0;
    font-size: 12.5px;
    font-weight: 600;
    color: #6b6382;
}
.th-card .thc-io b{
    display: block;
    padding: 3px 8px;
    border: 1px solid #efebf9;
    border-radius: 6px;
    font-weight: 600;
    background: #fbfaff;
}
.th-card .thc-io svg{
    display: block;
    flex: none;
    width: 13px;
    height: 13px;
    color: #b3a8cc;
}
.th-card .thc-act{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: relative;
    z-index: 2;
    margin-top: auto;
}
.th-card .thc-open{
    display: flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 16px;
    border-radius: 9px;
    background: var(--zs-btn-grad);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1;
    color: #FFFFFF;
    transition: filter .2s ease, transform .2s ease;
}
.th-card .thc-open svg{
    display: block;
    width: 14px;
    height: 14px;
}
.th-card .thc-open:hover{
    filter: brightness(1.06);
    transform: translateY(-1px);
}
.th-card .thc-more{
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 600;
    color: #7c3aed;
    transition: gap .2s ease;
}
.th-card .thc-more svg{
    display: block;
    width: 14px;
    height: 14px;
}
.th-card .thc-more:hover{
    gap: 9px;
}

/* ==========================================================================
   场景入口：同一批工具换一个维度再组织一遍
   ========================================================================== */
.th-use{
    display: block;
    padding: 74px 0 0 0;
    scroll-margin-top: 172px;
}
/* 3 across, not 4: there are 6 cards, so three per row fills two rows exactly
   and leaves no orphan on the second line. */
.th-use .thu-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.th-use .thu-card{
    display: flex;
    flex-direction: column;
    padding: 26px 22px 22px 22px;
    border: 1px solid #ece9f5;
    border-radius: 10px;
    background: linear-gradient(180deg, #fbf9ff 0%, #FFFFFF 42%);
    transition: border-color .22s ease, box-shadow .22s ease;
}
.th-use .thu-card:hover{
    border-color: #d9ccf7;
    box-shadow: 0 14px 30px rgba(53, 20, 108, .09);
}
.th-use .thu-ico{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 15px;
    border-radius: 12px;
    color: #FFFFFF;
    background: var(--zs-btn-grad);
}
.th-use .thu-ico svg{
    display: block;
    width: 22px;
    height: 22px;
}
.th-use .thu-n{
    display: block;
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    color: #170b33;
}
.th-use .thu-d{
    display: block;
    margin: 0 0 16px 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: #6b6382;
}
.th-use .thu-card ul{
    display: block;
    margin: 0;
    padding: 16px 0 0 0;
    border-top: 1px solid #f0ecf9;
    list-style: none;
}
.th-use .thu-card ul li{
    display: block;
}
.th-use .thu-card ul li + li{
    margin-top: 9px;
}
.th-use .thu-card ul a{
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    line-height: 1.5;
    color: #4b4361;
    transition: color .2s ease, gap .2s ease;
}
.th-use .thu-card ul a svg{
    display: block;
    flex: none;
    width: 13px;
    height: 13px;
    color: #b3a8cc;
    transition: color .2s ease;
}
.th-use .thu-card ul a:hover{
    gap: 11px;
    color: #7c3aed;
}
.th-use .thu-card ul a:hover svg{
    color: #7c3aed;
}

/* ==========================================================================
   FAQ：原生 details/summary，不需要 JS
   ========================================================================== */
.th-faq{
    display: block;
    padding: 74px 0 0 0;
    scroll-margin-top: 172px;
}
.th-faq .thf-list{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 20px;
}
.th-faq details{
    display: block;
    padding: 0 20px;
    border: 1px solid #ece9f5;
    border-radius: 10px;
    background: #FFFFFF;
    transition: border-color .2s ease;
}
.th-faq details[open]{
    border-color: #d9ccf7;
    background: #fdfcff;
}
.th-faq summary{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 17px 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    color: #170b33;
    cursor: pointer;
    list-style: none;
}
.th-faq summary::-webkit-details-marker{
    display: none;
}
.th-faq summary::after{
    content: "";
    flex: none;
    width: 10px;
    height: 10px;
    margin-right: 3px;
    border-right: 2px solid #7c3aed;
    border-bottom: 2px solid #7c3aed;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .2s ease;
}
.th-faq details[open] summary::after{
    transform: rotate(-135deg) translateY(-2px);
}
.th-faq .thf-a{
    display: block;
    margin: 0;
    padding: 0 0 18px 0;
    font-size: 15px;
    line-height: 1.75;
    color: #4b4361;
}
.th-faq .thf-a a{
    color: #7c3aed;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ==========================================================================
   底部转化区
   ========================================================================== */
/* 这三块原本在 tools.html 上，现在挪到了 platform.html。.th-cta 排在
   "Related"（.dl-sec.is-last，自带 84px 下内边距）之后，它自己的 74px 上内边距
   会再叠一层，所以这里清零，间距交给上一块。 */
.dl-sec.is-last + .th-cta{
    padding-top: 0;
}
/* 下内边距收到原来的 60%（80 -> 48），和内页其它收尾留白一致 */
.th-cta{
    display: block;
    padding: 74px 0 48px 0;
}
/* Height is padding-driven. Content is the .thc-tx block: strong 30px x 1.28 =
   38.4, span 16px x 1.65 = 26.4, plus its 10px margin, so 74.8px; the 50px
   buttons are shorter and don't decide it. Old height was 44 + 74.8 + 44 =
   162.8px. For +40% we need 227.9, so padding = (227.9 - 74.8) / 2 = 76.6. */
.th-cta .thc-box{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    padding: 77px 52px;
    border-radius: 14px;
    overflow: hidden;
    background-image: linear-gradient(96deg, #2B7FFF 0%, #6D4BF6 46%, #A435F0 74%, #C31FD1 100%);
}
.th-cta .thc-box::after{
    content: "";
    position: absolute;
    right: -8%;
    top: -70%;
    width: 46%;
    height: 240%;
    background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}
.th-cta .thc-tx{
    display: block;
    position: relative;
    z-index: 2;
}
.th-cta .thc-tx strong{
    display: block;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: -.02em;
    color: #FFFFFF;
}
.th-cta .thc-tx span{
    display: block;
    max-width: 720px;
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .88);
}
.th-cta .thc-btns{
    display: flex;
    align-items: center;
    gap: 12px;
    flex: none;
    position: relative;
    z-index: 2;
}
.th-cta .thc-btns a{
    display: flex;
    align-items: center;
    gap: 8px;
    height: 50px;
    padding: 0 26px;
    border-radius: 9px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    transition: transform .2s ease, background .2s ease;
}
.th-cta .thc-btns a svg{
    display: block;
    width: 16px;
    height: 16px;
}
.th-cta .thc-btns .is-solid{
    background: #FFFFFF;
    color: #6D28D9;
}
.th-cta .thc-btns .is-solid:hover{
    transform: translateY(-2px);
    background: #f6f2ff;
}
.th-cta .thc-btns .is-ghost{
    border: 1px solid rgba(255, 255, 255, .55);
    color: #FFFFFF;
}
.th-cta .thc-btns .is-ghost:hover{
    transform: translateY(-2px);
    background: rgba(255, 255, 255, .14);
}

/* ==========================================================================
   响应式
   ========================================================================== */
/*PC v2*/
@media only screen and (max-width:1440px){
    .th-hero .th-title{
        font-size: 38px;
    }
    .th-grid,
    .th-use .thu-grid{
        gap: 16px;
    }
    /* strong drops to 27px here, so content is 34.6 + 10 + 26.4 = 71px.
       Old height 38 + 71 + 38 = 147; +40% is 205.8, padding = 67.4. */
    .th-cta .thc-box{
        padding: 67px 40px;
    }
    .th-cta .thc-tx strong{
        font-size: 27px;
    }
}
/*PC v3*/
@media only screen and (max-width:1280px){
    .th-hero{
        padding: 14px 0 54px 0;
    }
    .th-hero .th-title{
        font-size: 33px;
    }
    .th-grid{
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .th-use .thu-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .th-sec{
        padding-top: 50px;
    }
    /* From here the box stacks (text above buttons), so it is already tall.
       Inheriting the 67px from the 1440 rule would add a lot of dead space,
       hence a modest value of its own. The +40% ask was about the desktop
       single-row layout. */
    .th-cta .thc-box{
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 46px 40px;
    }
}
/*Pad v1*/
@media only screen and (max-width:1023px){
    .th-hero{
        padding: 12px 0 50px 0;
    }
    .th-hero .path{
        padding: 6px 0 24px 0;
    }
    .th-hero .th-title{
        font-size: 28px;
    }
    .th-hero .th-sub{
        font-size: 15.5px;
    }
    .th-sec,
    .th-use,
    .th-faq{
        scroll-margin-top: 162px;
    }
    .th-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .th-head .thh-t{
        font-size: 21px;
    }
    .th-use,
    .th-faq{
        padding-top: 54px;
    }
    .th-faq .thf-list{
        grid-template-columns: minmax(0, 1fr);
    }
    .th-cta{
        padding: 54px 0 36px 0;
    }
    .th-cta .thc-tx strong{
        font-size: 24px;
    }
}
/*Mobile v1*/
@media only screen and (max-width:767px){
.th-hero{
    padding: 10px 0 46px 0;
}
.th-hero .path{
    padding: 4px 0 20px 0;
}
.th-hero .th-title{
    font-size: 23px;
}
.th-hero .th-sub{
    font-size: 14.5px;
}
.th-nav{
    top: 60px;
}
.th-nav .zs-wp{
    padding-top: 11px;
    padding-bottom: 11px;
}
.th-nav a{
    height: 40px;
    padding: 0 14px;
    font-size: 14.5px;
}
.th-sec,
.th-use,
.th-faq{
    scroll-margin-top: 126px;
}
.th-sec{
    padding-top: 40px;
}
.th-sec:first-of-type{
    padding-top: 34px;
}
.th-head{
    gap: 10px;
    margin-bottom: 18px;
}
.th-head .thh-t{
    font-size: 19px;
}
.th-head .thh-all span{
    display: none;
}
.th-desc{
    margin: -8px 0 18px 0;
    font-size: 14.5px;
}
.th-grid,
.th-use .thu-grid{
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}
.th-card{
    padding: 18px 16px 16px 16px;
}
.th-use,
.th-faq{
    padding-top: 44px;
}
.th-faq summary{
    font-size: 15px;
}
.th-cta{
    padding: 44px 0 30px 0;
}
.th-cta .thc-box{
    padding: 28px 22px;
    border-radius: 12px;
}
.th-cta .thc-tx strong{
    font-size: 21px;
}
.th-cta .thc-tx span{
    font-size: 14.5px;
}
.th-cta .thc-btns{
    flex-direction: column;
    align-items: stretch;
    width: 100%;
}
.th-cta .thc-btns a{
    justify-content: center;
    height: 46px;
    font-size: 15px;
}
}
