/* 默认首页插件 / （page-home） */
.page-home .index-home {
    padding: 24px 0 48px;
    box-sizing: border-box;
}
.index-hero {
    background: #fff;
    border: var(--surface-border);
    border-radius: 3px;
    box-shadow: var(--surface-shadow);
    padding: 36px 32px 40px;
    max-width: 920px;
    margin: 0 auto;
}
.index-hero-title {
    margin: 0 0 16px;
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.25;
}
.index-hero-desc {
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
    color: #475569;
}
.index-hero-desc--muted {
    color: #94a3b8;
}

.index-lists {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    margin: 0 auto;
    padding: 0 0 40px;
    box-sizing: border-box;
}
.index-lists > .index-panel {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.index-panel {
    background: #fff;
    border: var(--surface-border);
    border-radius: 3px;
    box-shadow: var(--surface-shadow);
    padding: 20px 20px 22px;
    min-width: 0;
}
.index-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}
.index-panel-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}
.index-panel-more {
    font-size: 13px;
    color: #2563eb;
    text-decoration: none;
    white-space: nowrap;
}
.index-panel-more:hover {
    text-decoration: underline;
}

/* 嵌入首页：与 /tool 列表同结构，去掉 tool-page 自身上下留白避免与 index-panel 重复 */
.index-panel .index-home-tool.tool-page {
    padding: 0;
    margin: 0;
}

/* 千百CMS 系统介绍首页 */
.page-intro .index-intro {
    padding: 24px 0 56px;
}
.intro-hero {
    text-align: center;
}
/* 与下方 index-panel 同宽（全宽于 .wrap），勿再限制 max-width */
.page-intro .index-hero.intro-hero {
    max-width: none;
    width: 100%;
    box-sizing: border-box;
}
.intro-badge {
    display: inline-block;
    margin: 0 0 12px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 999px;
    letter-spacing: 0.02em;
}
.intro-hero .index-hero-title {
    font-size: 32px;
}
.intro-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 28px;
}
.intro-section {
    margin-top: 0;
}
.intro-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
@media (max-width: 768px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }
    .intro-hero .index-hero-title {
        font-size: 24px;
    }
}
.intro-card {
    padding: 18px 18px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 3px;
    background: #fafbfc;
    min-width: 0;
}
.intro-card-icon {
    font-size: 28px;
    color: #2563eb;
    margin-bottom: 10px;
    line-height: 1;
}
.intro-card-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}
.intro-card-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: #64748b;
}
.intro-list {
    margin: 0;
    padding-left: 20px;
    color: #475569;
    font-size: 14px;
    line-height: 1.8;
}
.intro-list li {
    margin-bottom: 8px;
}
.intro-list li:last-child {
    margin-bottom: 0;
}
