:root {
    --wb-primary: #18bc9c;
    --wb-primary-dark: #128f76;
    --wb-bg: #f5f7fa;
}

body {
    background: var(--wb-bg);
    color: #2c3e50;
}

/* ===== 顶部导航（Bootstrap 3 适配） ===== */
.navbar.navbar-default {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.navbar-brand {
    font-weight: 700;
    color: #333 !important;
}

.navbar-brand i {
    margin-right: 6px;
}

/* 汉堡按钮（BS3 .navbar-toggle） */
.navbar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    padding: 0 15px;
}

/* 清除 BS3 给 .navbar-header 加的 :before/:after 伪元素（clearfix），
   避免它们成为 flex 子项把 button/brand 挤到中间 */
.navbar-header:before,
.navbar-header:after {
    display: none;
}

.navbar .navbar-header .navbar-brand {
    margin: 0;
    float: none;
    padding-left: 0;
}

.navbar-toggle {
    border: none;
    padding: 4px 6px;
    margin: 0;
    float: none;
}

.navbar-toggle:focus,
.navbar-toggle:active {
    outline: none;
    box-shadow: none;
}

.navbar-toggle .icon-bar {
    background-color: #2c3e50;
}

/* 菜单链接 */
.navbar-default .navbar-nav > li > a {
    color: #2c3e50;
}

.navbar-default .navbar-nav > li > a:hover {
    color: var(--wb-primary);
}

/* 注册按钮（高亮） */
.navbar-nav .btn-register {
    background: var(--wb-primary);
    color: #fff !important;
    border-radius: 8px;
    margin-left: 8px;
    text-align: center;
}

.navbar-nav .btn-register:hover {
    background: var(--wb-primary-dark);
    color: #fff !important;
}

/* 导航分隔线：桌面端竖线，手机端横线 */
.navbar-nav .divider {
    align-self: center;
    width: 1px;
    height: 22px;
    background: #e0e4ea;
    margin: 0 10px;
    list-style: none;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    background: linear-gradient(135deg, #18bc9c 0%, #128f76 100%);
    color: #fff;
    padding: 48px 16px 56px;
    text-align: center;
    overflow: hidden;
}

.hero.apps-bg{
    background: linear-gradient(135deg, #33d8ff 0%, #12548f 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, .20), transparent 42%),
        radial-gradient(circle at 82% 28%, rgba(255, 255, 255, .14), transparent 46%),
        radial-gradient(circle at 50% 100%, rgba(0, 0, 0, .12), transparent 55%);
    pointer-events: none;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-weight: 800;
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    margin-bottom: 8px;
}

.hero p {
    opacity: .92;
    margin-bottom: 22px;
}

/* 搜索框 */
.search-box {
    max-width: 560px;
    margin: 0 auto;
    border-radius: 28px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

.search-box .form-control {
    height: 50px !important;
    padding: 0 20px !important;
    line-height: 48px;
    border-radius: 28px 0 0 28px !important;
    border: none;
    box-shadow: none;
    background: #fff;
    color: #3d3d3d;
}

.search-box .form-control::placeholder {
    color: #ccc;
}

.search-box .form-control:focus {
    background: #fff;
    color: #3d3d3d;
    border: none;
    outline: none;
    box-shadow: none;
}

.search-box .input-group-btn .btn {
    height: 50px !important;
    padding: 0 22px !important;
    line-height: 48px;
    font-size: 15px;
    border-radius: 0 28px 28px 0 !important;
    background: #2c3e50;
    border-color: #2c3e50;
    color: #fff;
    box-shadow: none;
}

.search-box .input-group-btn .btn:focus,
.search-box .input-group-btn .btn:active {
    outline: none;
    box-shadow: none;
}

/* ===== 分类筛选 ===== */
.cat-bar {
    position: sticky;
    top: 50px;
    z-index: 90;
    background: #fff;
    border-top: 1px solid #eef1f4;
    border-bottom: 1px solid #eef1f4;
    padding: 12px 0;
}

.cat-bar.scrolled {
    border-top: 3px solid var(--wb-primary);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}

#catBar {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

#catBar::-webkit-scrollbar {
    display: none;
}

#catBar .cat-pill, #catBar .cat-apps{
    flex: 0 0 auto;
}

.cat-pill {
    border: 1px solid #dfe4ea;
    background: #fff;
    color: #57606f;
    border-radius: 22px;
    padding: 6px 18px;
    margin: 4px 6px;
    font-size: 14px;
    transition: all .2s;
    white-space: nowrap;
}

.cat-pill:hover {
    border-color: var(--wb-primary);
    color: var(--wb-primary);
}

.cat-pill.active,.cat-pill.active:hover {
    background: var(--wb-primary);
    border-color: transparent;
    color: #fff;
}

.cat-apps {
    border: 1px solid #dfe4ea;
    background: #fff;
    color: #57606f;
    border-radius: 22px;
    padding: 6px 18px;
    margin: 4px 6px;
    font-size: 14px;
    transition: all .2s;
    white-space: nowrap;
}

.cat-apps:hover {
    border-color: #00b0d9;
    color: #00b0d9;
}

.cat-apps.active,.cat-apps.active:hover {
    background: #00b0d9;
    border-color: transparent;
    color: #fff;
}

/* ===== 工具网格间距（替代 BS5 的 g-3） ===== */
#toolGrid {
    margin-left: -8px;
    margin-right: -8px;
}

#toolGrid > [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 16px;
}

/* ===== 工具卡片 ===== */
.tool-card {
    background: #fff;
    border: 1px solid #eef1f4;
    border-radius: 14px;
    padding: 22px 18px;
    height: 100%;
    transition: transform .18s, box-shadow .18s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
    margin-bottom:30px;
}

/* 卡片右上角标签：免费 / 会员 */
.badge-tag {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 5px 10px;
    color: #fff;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
    letter-spacing: .5px;
}
.badge-tag.free {
    background: #18bc9c;
}
.badge-tag.vip {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.tool-card:hover ,.tool-card:focus{
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(24, 188, 156, .18);
    border-color: var(--wb-primary);
    text-decoration: none;
}

.tool-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    margin-bottom: 14px;
}

.tool-card h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.tool-card p {
    font-size: 13px;
    color: #8a94a6;
    margin: 0;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tool-tag {
    display: inline-block;
    font-size: 11px;
    color: var(--wb-primary);
    background: rgba(24, 188, 156, .1);
    border-radius: 6px;
    padding: 2px 8px;
    margin-top: 12px;
}

.empty-tip {
    text-align: center;
    color: #9aa3b2;
    padding: 60px 0;
    display: none;
}


/* 联系我们 */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.contact-card {
    flex: 1 1 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid #eef1f4;
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    transition: transform .18s, box-shadow .18s;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(24, 188, 156, .14);
}

.contact-card .c-icon {
    font-size: 28px;
    color: var(--wb-primary);
    margin-bottom: 10px;
}

.contact-card h4 {
    font-size: 15px;
    margin-bottom: 6px;
}

.contact-card p {
    font-size: 13px;
    color: #8a94a6;
    margin: 0;
}

/* 联系表单 */
.contact-form {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #eef1f4;
    border-radius: 14px;
    padding: 28px;
}

.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
    margin-bottom: 6px;
}

.contact-form .form-control {
    border-radius: 8px;
    border-color: #e1e5ea;
    box-shadow: none;
}

.contact-form .form-control:focus {
    border-color: var(--wb-primary);
    box-shadow: none;
}

.contact-form .btn-submit {
    background: var(--wb-primary);
    border-color: var(--wb-primary);
    color: #fff;
    border-radius: 8px;
    padding: 10px 28px;
}

.contact-form .btn-submit:hover {
    opacity: .92;
}

.contact-note {
    text-align: center;
    color: #8a94a6;
    font-size: 13px;
    margin-top: 14px;
}


/* ===== 页脚 ===== */
footer {
    background: #111;
    color: #cfd3da;
    font-size: 13px;
    padding: 36px 0 28px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.footer-qr {
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 12px;
    padding: 7px;
    flex: 0 0 auto;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .4);
}

.footer-qr img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 6px;
}

.footer-info {
    text-align: left;
    line-height: 1.9;
}

.footer-info .ft-title {
    color: #fff;
    letter-spacing: 1px;
}

.footer-links a{
    color: #cfd3da;
    text-decoration: none;
    margin: 0 8px;
    vertical-align: middle;
}

.footer-links span{
    vertical-align: middle;
}

.footer-links a:first-child{
    margin-left:0px;
}

.footer-links a:hover {
    color: var(--wb-primary);
}

/* ===== 返回顶部 ===== */
#backTop {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 1030;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
    font-size: 18px;
}

#backTop.show {
    display: block;
    background-color: #18bc9c;
    border-color: #18bc9c;
}

/* ===== 关于我们页面 ===== */
.section {
    padding: 48px 0;
}

.section.alt {
    background: #fff;
    border-top: 1px solid #eef1f4;
    border-bottom: 1px solid #eef1f4;
}

.section-title {
    text-align: center;
    margin-bottom: 36px;
}

.section-title h2 {
    font-size: 26px;
    font-weight: 800;
    color: #2c3e50;
    margin: 0 0 10px;
}

.section-title p {
    color: #8a94a6;
    margin: 0;
}

.section-title .line {
    width: 48px;
    height: 3px;
    background: var(--wb-primary);
    margin: 14px auto 0;
    border-radius: 2px;
}

/* 平台简介 */
.about-intro {
    max-width: 840px;
    margin: 0 auto;
}

.about-intro p {
    font-size: 16px;
    line-height: 1.9;
    color: #57606f;
    margin-bottom: 16px;
}

/* 数据卡片 */
.stat-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.stat-box {
    flex: 1 1 0;
    min-width: 140px;
    background: #fff;
    border: 1px solid #eef1f4;
    border-radius: 14px;
    padding: 28px 16px;
    text-align: center;
    transition: transform .18s, box-shadow .18s;
}

.stat-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(24, 188, 156, .14);
}

.stat-num {
    font-size: 34px;
    font-weight: 800;
    color: var(--wb-primary);
    line-height: 1.1;
}

.stat-num small {
    font-size: 16px;
    font-weight: 700;
    margin-left: 2px;
}

.stat-label {
    font-size: 13px;
    color: #8a94a6;
    margin-top: 6px;
}

.stat-item .stat-num{
    color: #fff;
}

.stat-item .stat-label{
    color: #f5f5f5;
}

/* 优势卡片 */
.feat-card {
    background: #fff;
    border: 1px solid #eef1f4;
    border-radius: 14px;
    padding: 26px 22px;
    height: 100%;
    transition: transform .18s, box-shadow .18s, border-color .18s;
}

.feat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(24, 188, 156, .14);
    border-color: var(--wb-primary);
}

.feat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    margin-bottom: 16px;
    background: var(--wb-primary);
}

.feat-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feat-card p {
    font-size: 13px;
    color: #8a94a6;
    line-height: 1.6;
    margin: 0;
}

/* 时间线 */
.timeline {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    padding-left: 28px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: #e3e8ee;
}

.tl-item {
    position: relative;
    padding: 0 0 28px 18px;
}

.tl-item:last-child {
    padding-bottom: 0;
}

.tl-item::before {
    content: "";
    position: absolute;
    left: -24px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--wb-primary);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--wb-primary);
}

.tl-item .tl-year {
    font-weight: 800;
    color: var(--wb-primary);
    font-size: 15px;
}

.tl-item h4 {
    font-size: 16px;
    margin: 4px 0 6px;
}

.tl-item p {
    font-size: 13px;
    color: #8a94a6;
    line-height: 1.6;
    margin: 0;
}

/* 联系我们 */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.contact-card {
    flex: 1 1 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid #eef1f4;
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    transition: transform .18s, box-shadow .18s;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(24, 188, 156, .14);
}

.contact-card .c-icon {
    font-size: 28px;
    color: var(--wb-primary);
    margin-bottom: 10px;
}

.contact-card h4 {
    font-size: 15px;
    margin-bottom: 6px;
}

.contact-card p {
    font-size: 13px;
    color: #8a94a6;
    margin: 0;
}

/* 导航当前页高亮 */
.navbar-default .navbar-nav > li.active > a {
    color: var(--wb-primary);
    font-weight: 700;
}

/* ===== 在线工具 / 应用工具 列表页 ===== */
.page-hero {
    position: relative;
    background: linear-gradient(135deg, #18bc9c 0%, #128f76 100%);
    color: #fff;
    padding: 40px 16px 44px;
    text-align: center;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 22%, rgba(255, 255, 255, .18), transparent 42%),
        radial-gradient(circle at 82% 28%, rgba(255, 255, 255, .12), transparent 46%);
    pointer-events: none;
}

.page-hero > * {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-weight: 800;
    font-size: clamp(1.5rem, 3.6vw, 2.3rem);
    margin-bottom: 8px;
}

.page-hero p {
    opacity: .92;
    margin-bottom: 0;
}

/* 列表页搜索框留白 */
.list-search {
    max-width: 560px;
    margin: 22px auto 0;
}

/* 应用卡片 */
.app-card {
    position: relative;
    background: #fff;
    border: 1px solid #eef1f4;
    border-radius: 14px;
    padding: 22px 20px;
    height: 100%;
    transition: transform .18s, box-shadow .18s, border-color .18s;
    margin-bottom: 50px;
}

.app-card.app-bg:hover{
    border: 1px solid #00b0d9;
}

.app-card a{
    color: #2c3e50;
    text-decoration: none !important;
}

.app-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(24, 188, 156, .14);
    border-color: var(--wb-primary);
}

.app-card .tool-icon {
    margin-bottom: 14px;
}

.app-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.app-card p {
    font-size: 13px;
    color: #8a94a6;
    line-height: 1.6;
    margin-bottom: 14px;
    height: 42px;
}

.plat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.plat-badge {
    font-size: 11px;
    color: #57606f;
    background: #f1f4f7;
    border-radius: 6px;
    padding: 3px 9px;
}

.app-actions .btn {
    width: 100%;
    background: var(--wb-primary);
    border-color: var(--wb-primary);
    color: #fff;
    border-radius: 8px;
}

.app-actions .btn.apps-a{
    background: #00b0d9;
    border-color: #00b0d9;
}

.app-actions .btn:hover {
    background: var(--wb-primary-dark);
    border-color: var(--wb-primary-dark);
    color: #fff;
}

.app-actions .btn:hover {
    background: #00b0d9;
    border-color: #00b0d9;
    color: #fff;
}

.app-actions .btn:focus {
    outline: none;
    box-shadow: none;
}

/* ===== 首页 Hero 升级 ===== */
.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .32);
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 13px;
    margin-bottom: 18px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.hero-sub {
    font-size: clamp(.95rem, 2.4vw, 1.15rem);
    margin-bottom: 26px;
    opacity: .95;
}

.hero-tags {
    margin-top: 18px;
    font-size: 13px;
}

.hero-tags > span {
    opacity: .85;
    margin-right: 2px;
}

.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    padding: 4px 13px;
    border-radius: 20px;
    margin: 4px 4px 0;
    text-decoration: none;
    transition: background .2s, color .2s;
}

.hero-tag:hover {
    background: #fff;
    color: var(--wb-primary-dark);
    text-decoration: none;
}

/* ===== 区块标题 ===== */
.section-head {
    display: flex;
    align-items: center;
    margin: 4px 0 18px;
}

.section-head h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-head h2 i {
    color: var(--wb-primary);
}

.section-head .count {
    color: #9aa3b2;
    font-size: 13px;
    margin-left: 10px;
}

.section-head .line {
    flex: 1;
    height: 1px;
    margin-left: 14px;
    background: linear-gradient(to right, #e6eaef, transparent);
}

/* ===== 分类 pill 图标间距 ===== */
.cat-pill i {
    margin-right: 4px;
}

/* ===== 卡片图标动效 ===== */
.tool-card .tool-icon {
    transition: transform .2s ease;
}

.tool-card:hover .tool-icon {
    transform: scale(1.08);
}



/* ============================================================
 * 首页（Landing）专属样式 —— 与 toolbox / online 列表页明显区分
 * 设计：暗色分栏 Hero + 数据条 + 三大入口 + 平台优势 + 精选预览 + CTA
 * ============================================================ */

/* 暗色分栏 Hero */
.lp-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #14253a 0%, #143a52 45%, #0f6b5a 100%);
}
.lp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: .6;
    pointer-events: none;
}
.lp-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(24, 188, 156, .45), transparent 70%);
    pointer-events: none;
}
.lp-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 64px 0 72px;
}
.lp-hero-text { flex: 1 1 52%; }
.lp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .28);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    margin-bottom: 18px;
}
.lp-hero-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 16px;
    letter-spacing: 1px;
}
.lp-hero-title .accent { color: #2ee6c0; }
.lp-hero-desc {
    font-size: clamp(.95rem, 2.2vw, 1.1rem);
    line-height: 1.7;
    opacity: .9;
    margin-bottom: 26px;
    max-width: 520px;
}
.lp-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.lp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .15s, box-shadow .2s, background .2s;
}
.lp-btn-primary { background: #fff; color: #0f6b5a; }
.lp-btn-primary:hover { background: #eafff8; color: #0f6b5a; text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.lp-btn-ghost { background: rgba(255, 255, 255, .10); color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
.lp-btn-ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; text-decoration: none; transform: translateY(-2px); }
.lp-hero-search { max-width: 460px; }
.lp-hero-search .search-box { box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }

/* 右侧窗口 Mockup */
.lp-hero-visual { flex: 1 1 48%; position: relative; }
.lp-window {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.lp-win-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #f0f3f6;
}
.lp-win-bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.lp-win-bar .d1 { background: #ff5f57; }
.lp-win-bar .d2 { background: #febc2e; }
.lp-win-bar .d3 { background: #28c840; }
.lp-win-bar .lp-win-url {
    margin-left: 10px;
    flex: 1;
    background: #fff;
    border-radius: 6px;
    font-size: 12px;
    color: #9aa3b2;
    padding: 4px 10px;
    text-align: center;
}
.lp-win-body { padding: 18px; background: linear-gradient(180deg, #fafbfc, #f3f6f9); }
.lp-mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.lp-mini {
    aspect-ratio: 1;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    gap: 6px;
}
.lp-mini i { font-size: 20px; }
.lp-float {
    position: absolute;
    background: #fff;
    border-radius: 12px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .25);
    font-size: 12px;
    color: #2c3e50;
    font-weight: 600;
}
.lp-float i { color: var(--wb-primary); font-size: 16px; }
.lp-float.f1 { top: -18px; left: -18px; }
.lp-float.f2 { bottom: 24px; right: -26px; }

/* 数据条 */
.stat-band { background: var(--wb-primary); color: #fff; }
.stat-band .stat-row { padding: 30px 0; }
.stat-item { text-align: center; padding: 8px 0; }
.stat-num { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; line-height: 1; }
.stat-label { font-size: 13px; opacity: .9; margin-top: 6px; }
.stat-divider { border-left: 1px solid rgba(255, 255, 255, .28); }

/* 通用 section */
.lp-section { padding: 56px 0; }
.lp-section.alt { background: #fff; }
.lp-section-head { text-align: center; margin-bottom: 34px; }
.lp-section-head h2 { font-size: clamp(1.4rem, 3.4vw, 2rem); font-weight: 800; margin: 0 0 8px; }
.lp-section-head p { color: #7b8290; margin: 0; font-size: 15px; }

/* 三大入口卡片 */
.entry-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #eef1f4;
    border-radius: 16px;
    padding: 28px 24px;
    height: 100%;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    margin-bottom:15px;
}
.entry-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(24, 188, 156, .18); border-color: var(--wb-primary); text-decoration: none; color: inherit; }
.entry-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 26px; margin-bottom: 16px; }
.entry-title { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.entry-desc { color: #8a94a6; font-size: 14px; line-height: 1.6; margin: 0 0 14px; }
.entry-go { color: var(--wb-primary); font-weight: 600; font-size: 14px; }
.entry-go i { transition: transform .2s; }
.entry-card:hover .entry-go i { transform: translateX(4px); }

/* 平台优势 */
.feature-card { text-align: center; padding: 10px; }
.feature-icon { width: 60px; height: 60px; border-radius: 50%; background: rgba(24, 188, 156, .12); color: var(--wb-primary); display: flex; align-items: center; justify-content: center; font-size: 26px; margin: 0 auto 14px; transition: transform .2s; }
.feature-card:hover .feature-icon { transform: scale(1.08); }
.feature-title { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.feature-desc { color: #8a94a6; font-size: 13px; line-height: 1.6; }

/* 精选工具预览 */
.preview-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 8px; }
.preview-head h3 { font-size: 20px; font-weight: 700; margin: 0; display: flex; align-items: center; gap: 8px; }
.preview-head h3 i { color: var(--wb-primary); }
.preview-head a { color: var(--wb-primary); font-weight: 600; text-decoration: none !important; }
.preview-head a:hover { text-decoration: underline; }

/* CTA band */
.cta-band {
    background: linear-gradient(135deg, #128f76, #18bc9c);
    color: #fff;
    text-align: center;
    padding: 54px 0;
}
.cta-title { font-size: clamp(1.5rem, 3.6vw, 2rem); font-weight: 800; margin: 0 0 12px; }
.cta-desc { opacity: .92; margin-bottom: 24px; font-size: 15px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-btns .lp-btn-primary { background: #fff; color: #0f6b5a; }
.cta-btns .lp-btn-ghost { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); color: #fff; }

/* ============================================================
 * 工具详情页（tool.html）专属样式
 * ============================================================ */

/* 面包屑 */
.td-breadcrumb {
    background: #fff;
    border-bottom: 1px solid #eef1f4;
    padding: 12px 0;
    font-size: 13px;
    color: #8a94a6;
}
.td-breadcrumb .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.td-breadcrumb a {
    color: #57606f;
    text-decoration: none;
}
.td-breadcrumb a:hover {
    color: var(--wb-primary);
}
.td-breadcrumb i.bi-chevron-right {
    font-size: 11px;
    color: #c4ccd6;
}
.td-breadcrumb span {
    color: #2c3e50;
    font-weight: 600;
}

/* 详情 Hero */
.td-hero {
    color: #fff;
    padding: 40px 0 48px;
    overflow: hidden;
}

.td-hero.apps-bg{
    background: linear-gradient(135deg, #33d8ff 0%, #12548f 100%);
}

.td-hero-inner {
    display: flex;
    align-items: center;
    gap: 40px;
}
.td-hero-main {
    flex: 1 1 52%;
    min-width: 0;
}
.td-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff;
    margin-bottom: 18px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
}
.td-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.td-tags .tool-tag {
    margin-top: 0;
    background: rgba(255, 255, 255, .18);
    color: #fff;
}
.td-tags .badge-tag {
    position: static;
    border-radius: 6px;
    padding: 4px 10px;
}
.td-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.2;
}
.td-tagline {
    font-size: clamp(1rem, 2.4vw, 1.2rem);
    font-weight: 600;
    opacity: .96;
    margin-bottom: 10px;
}
.td-desc {
    font-size: 15px;
    line-height: 1.8;
    opacity: .9;
    max-width: 560px;
    margin-bottom: 24px;
}
.td-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.td-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .15s, box-shadow .2s;
}
.btn-primary.td-btn {
    background: #fff;
    border-color: #fff;
    color: #143a52;
}
.btn-primary.td-btn:hover {
    background: #f0fffb;
    color: #143a52;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .22);
}
.td-btn-ghost {
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .35);
    color: #fff;
}
.td-btn-ghost:hover {
    background: rgba(255, 255, 255, .22);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Hero 右侧预览窗 */
.td-hero-side {
    flex: 1 1 48%;
    position: relative;
}
.td-window {
    max-width: 360px;
    margin-left: auto;
}
.td-preview-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    margin: 4px auto 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}
.td-preview-name {
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    color: #2c3e50;
}
.td-preview-tag {
    text-align: center;
    font-size: 13px;
    color: #8a94a6;
    margin-top: 4px;
}

/* 平台块（在功能特性区内） */
.td-block {
    margin-top: 26px;
}
.td-block-title {
    font-size: 17px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.td-block-title i {
    color: var(--wb-primary);
}

/* 相关推荐网格间距 */
.td-rel-grid {
    margin-left: -8px;
    margin-right: -8px;
}
.td-rel-grid > [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 16px;
}

/* 未找到 */
.td-empty {
    text-align: center;
    padding: 80px 0;
    color: #9aa3b2;
}
.td-empty i {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
}

/* 应用卡片作为链接（apps.html 整卡可点） */
a.app-card {
    display: block;
    text-decoration: none;
    color: inherit;
}
a.app-card:hover {
    text-decoration: none;
    color: inherit;
}
a.app-card .app-actions .btn {
    display: block;
}

.ellipsis{
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ellipsis-multi{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* ============ 教程学习 ============ */
.learn-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.learn-tabs .lt-tab {
    border: 1px solid #e1e5ea;
    background: #fff;
    color: #57606f;
    border-radius: 999px;
    padding: 7px 18px;
    font-size: 14px;
    cursor: pointer;
    transition: all .15s;
}

.learn-tabs .lt-tab.active,
.learn-tabs .lt-tab:hover {
    background: var(--wb-primary);
    border-color: var(--wb-primary);
    color: #fff;
}

.learn-card {
    display: block;
    background: #fff;
    border: 1px solid #eef1f4;
    border-radius: 14px;
    overflow: hidden;
    transition: transform .18s, box-shadow .18s;
    color: inherit;
    text-decoration: none;
    margin-bottom:30px;
}

.learn-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(24, 188, 156, .14);
    text-decoration: none;
}

.learn-thumb {
    position: relative;
    height: 140px;
    background: linear-gradient(135deg, #18bc9c, #16a085);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 40px;
}

.learn-thumb .lt-type {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, .35);
    color: #fff;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 999px;
}

.learn-thumb .lt-dur {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 6px;
}

.learn-body {
    padding: 14px 16px 16px;
}

.learn-body h4 {
    font-size: 15px;
    margin: 0 0 6px;
    color: #2c3e50;
}

.learn-body p {
    font-size: 13px;
    color: #8a94a6;
    margin: 0 0 8px;
    line-height: 1.6;
}

.learn-meta {
    font-size: 12px;
    color: #aab2bf;
}

/* 学习详情 */
.course-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.course-dir {
    flex: 0 0 260px;
    background: #fff;
    border: 1px solid #eef1f4;
    border-radius: 14px;
    padding: 16px 0;
    position: sticky;
    top: 84px;
}

.course-dir h4 {
    font-size: 14px;
    margin: 0 16px 12px;
    color: #2c3e50;
}

.course-dir ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.course-dir li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: #57606f;
    font-size: 14px;
    border-left: 3px solid transparent;
    text-decoration: none;
}

.course-dir li a:hover,
.course-dir li a.active {
    background: #f4fbf9;
    border-left-color: var(--wb-primary);
    color: var(--wb-primary);
}

.course-dir li a .dur {
    font-size: 12px;
    color: #aab2bf;
    white-space: nowrap;
}

.course-main {
    flex: 1 1 auto;
    min-width: 0;
}

.video-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #1f2733;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
}

.video-box .play-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.video-box .vb-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, .4);
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
}

.rich-content {
    margin-top: 24px;
}

.rich-content h2 {
    font-size: 20px;
    color: #2c3e50;
    margin: 24px 0 12px;
}

.rich-content h3 {
    font-size: 16px;
    color: #2c3e50;
    margin: 20px 0 10px;
}

.rich-content p {
    font-size: 15px;
    line-height: 1.9;
    color: #57606f;
    margin-bottom: 12px;
}

.rich-content ul {
    padding-left: 20px;
    color: #57606f;
    line-height: 1.9;
    font-size: 15px;
}

.rich-content .note {
    background: #f4fbf9;
    border-left: 4px solid var(--wb-primary);
    padding: 12px 16px;
    border-radius: 8px;
    color: #3a4756;
    font-size: 14px;
    margin: 16px 0;
}

/* 桌面端：导航项垂直居中（让分隔线 align-self:center 生效） */
@media (min-width: 750px) {
    .navbar .navbar-collapse {
        display: flex !important;
        align-items: center;
    }

    .navbar .navbar-collapse .navbar-nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        float: none;
        margin-left: auto;
    }

    .navbar .navbar-collapse .navbar-nav > li {
        float: none;
        display: flex;
        align-items: center;
    }
    
    .navbar-white .navbar-nav > .active > a, .navbar-white .navbar-nav > .active > a:hover, .navbar-white .navbar-nav > .active > a:focus {
        background-color: #e5e5e5 !important;
        color: #000000 !important;
    }
    
    .navbar-white .navbar-nav > li > a:hover, .navbar-white .navbar-nav > li > a:focus {
        color: #000000 !important;
    }
    
    .container > .navbar-header, .container-fluid > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-collapse{
        margin-left:-15px;
        margin-right:-15px;
    }
}

/* 手机端展开菜单样式（浮层，不挤压内容；BS3 折叠断点 768px） */
@media (max-width: 750px) {
    .navbar .container {
        position: relative;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 15px;
        right: 15px;
        background: #fff;
        padding: 8px 10px;
        border-radius: 0;
        box-shadow: 0 10px 24px rgba(0, 0, 0, .10);
        z-index: 1030;
        max-height: none;
    }

    .navbar-nav .nav-link {
        padding: 10px 14px;
        border-radius: 8px;
        color: #2c3e50;
    }

    .navbar-nav .nav-link:hover {
        background: rgba(24, 188, 156, .10);
        color: var(--wb-primary);
    }

    .navbar-nav .btn-register {
        margin-left: 0;
        margin-top: 4px;
    }

    .navbar-nav .divider {
        width: 100%;
        height: 1px;
        margin: 6px 0;
        background: #eef1f4;
    }

    .navbar-default .navbar-nav {
        margin: auto;
    }

    .navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover {
        background-color: #ffffff;
    }
	
	.search-box{
		max-width: 320px;
	}
	
	.lp-hero-inner { flex-direction: column; padding: 44px 0 48px; gap: 28px; }
    .lp-hero-text, .lp-hero-visual { flex: 1 1 100%; width: 100%; }
    .lp-mini-grid { grid-template-columns: repeat(4, 1fr); }
    .stat-divider { border-left: none; }
    .stat-item { padding: 14px 0; }
    .lp-float.f1 { left: 0; top: -10px; }
    .lp-float.f2 { right: 0; }
    
    .td-hero-inner {
        flex-direction: column;
        gap: 28px;
        padding: 8px 0;
    }
    
    .td-hero-main, .td-hero-side {
        flex: 1 1 100%;
        width: 100%;
    }
    
    .td-window {
        margin: 0 auto;
    }
    
    .navbar-nav{
        margin:auto;
    }
    
    .navbar-nav > li > a{
        color: #222;
        text-align: center;
    }
    
    .lp-hero-actions{
        justify-content: center;
    }
    
    .course-layout {
        flex-direction: column;
    }

    .course-dir {
        position: static;
        flex-basis: auto;
        width: 100%;
    }
}

@media (max-width: 575.98px) {
	
	.tool-card {
        padding: 16px 12px;
    }

    .tool-card h5 {
        font-size: 15px;
    }

    .tool-icon {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }

    .tool-card p {
        font-size: 12px;
    }
	
	.section-head h2 {
        font-size: 17px;
    }
	
    .footer-inner {
        flex-direction: column;
        gap: 14px;
    }

    .footer-info {
        text-align: center;
    }
}
