/* 工具总览页（/tools/）；所有规则限定在 .tc-page 内，避免影响其他页面 */
.tc-page {
    padding-top: var(--navbar-height, 64px);
    background: #fff;
    color: #1d2939;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.tc-page h1,
.tc-page h2,
.tc-page h3,
.tc-page p,
.tc-page ul,
.tc-page ol {
    margin: 0;
    padding: 0;
}

.tc-page a {
    color: inherit;
    text-decoration: none;
}

/* ---------- 首屏 ---------- */
.tc-hero {
    padding: 40px 0 36px;
    border-bottom: 1px solid #eef4fd;
    background:
        radial-gradient(58% 70% at 90% 0%, rgba(205, 227, 255, .62) 0%, rgba(234, 244, 255, 0) 70%),
        radial-gradient(50% 62% at 0% 100%, rgba(216, 234, 255, .7) 0%, rgba(244, 249, 255, 0) 72%),
        linear-gradient(180deg, #f4f8ff 0%, #fbfdff 100%);
}

.tc-crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #9aa6b8;
}

.tc-crumb a {
    color: #7b8798;
    transition: color .2s ease;
}

.tc-crumb a:hover {
    color: #2f6bff;
}

.tc-crumb em {
    font-style: normal;
    color: #475467;
}

.tc-hero__title {
    margin-top: 16px;
    max-width: 900px;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.4px;
    color: #101828;
}

.tc-hero__desc {
    margin-top: 16px;
    max-width: 860px;
    font-size: 15.5px;
    line-height: 1.95;
    color: #667085;
}

.tc-hero__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
    font-size: 13.5px;
    color: #7b8798;
}

.tc-hero__meta strong {
    font-size: 15px;
    font-weight: 700;
    color: #2f6bff;
}

.tc-hero__meta i {
    width: 1px;
    height: 12px;
    background: #d8e4f7;
}

.tc-hero__jump {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.tc-hero__jump a {
    height: 34px;
    padding: 0 18px;
    border: 1px solid #dbe7fb;
    border-radius: 999px;
    background: rgba(255, 255, 255, .85);
    font-size: 13px;
    line-height: 32px;
    color: #475467;
    transition: all .2s ease;
}

.tc-hero__jump a:hover {
    border-color: #2f6bff;
    background: #2f6bff;
    color: #fff;
}

/* ---------- 分组 ---------- */
.tc-group {
    padding: 46px 0 0;
}

.tc-group__head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
}

.tc-group__head h2 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.35;
    color: #101828;
}

.tc-group__head p {
    font-size: 14px;
    color: #98a2b3;
}

.tc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 22px;
}

.tc-card {
    display: flex;
    flex-direction: column;
    padding: 20px 20px 18px;
    border: 1px solid #e8f0fb;
    border-radius: 16px;
    background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.tc-card:hover {
    transform: translateY(-4px);
    border-color: #cfe0ff;
    box-shadow: 0 18px 34px rgba(47, 107, 255, .1);
}

.tc-card__top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tc-card__mark {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border: 1px solid #e2eeff;
    border-radius: 10px;
    background: linear-gradient(180deg, #f2f7ff 0%, #f9fcff 100%);
    font-size: 15px;
    font-weight: 700;
    color: #2f6bff;
}

.tc-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1d2939;
}

.tc-card__badge {
    margin-left: auto;
    padding: 3px 7px;
    border-radius: 6px;
    background: #eef4ff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    color: #2f6bff;
}

.tc-card p {
    flex: 1;
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.75;
    color: #8b95a7;
}

.tc-card__go {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 500;
    color: #2f6bff;
}

.tc-card__go em {
    font-style: normal;
    transition: transform .2s ease;
}

.tc-card:hover .tc-card__go em {
    transform: translateX(3px);
}

/* ---------- 使用步骤 ---------- */
.tc-steps {
    padding: 56px 0 0;
}

.tc-steps__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 22px;
}

.tc-step {
    padding: 22px 22px 24px;
    border: 1px solid #eef4fd;
    border-radius: 16px;
    background: #f8fbff;
}

.tc-step i {
    font-style: normal;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .6px;
    color: #2f6bff;
}

.tc-step h3 {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #1d2939;
}

.tc-step p {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.85;
    color: #8b95a7;
}

/* ---------- 底部入口 ---------- */
.tc-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 56px 0 0;
    padding: 32px 38px;
    border: 1px solid #e2eeff;
    border-radius: 20px;
    background: linear-gradient(120deg, #eef5ff 0%, #f7fbff 58%, #fff 100%);
}

.tc-cta h2 {
    font-size: 23px;
    font-weight: 700;
    color: #101828;
}

.tc-cta p {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.8;
    color: #7b8798;
}

.tc-cta__btns {
    display: flex;
    gap: 12px;
    flex: 0 0 auto;
}

.tc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 26px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 600;
    transition: all .2s ease;
}

.tc-btn--primary {
    background: #2f6bff;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(47, 107, 255, .22);
}

.tc-btn--primary:hover {
    background: #1f5cf0;
}

.tc-btn--ghost {
    border: 1px solid #d5e4ff;
    background: #fff;
    color: #2f6bff !important;
}

.tc-btn--ghost:hover {
    border-color: #2f6bff;
}

.tc-note {
    margin: 22px 0 80px;
    font-size: 12.5px;
    line-height: 1.85;
    color: #a4aebd;
}
