/* 功能归档页 - 胶囊卡片列表 */
.feature-hub {
    max-width: 580px;
    margin: 20px auto;
}

.feature-hub-header {
    text-align: center;
    padding: 28px 20px 24px;
}

.feature-hub-icon {
    font-size: 42px;
    display: block;
    margin-bottom: 8px;
    line-height: 1;
}

.feature-hub-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-color, #222);
    margin: 0 0 6px;
    letter-spacing: 0.5px;
}

.feature-hub-sub {
    font-size: 13px;
    color: var(--text-second-color, #aaa);
    margin: 0;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0 4px 30px;
}

/* 单个胶囊卡片 — 可点击链接 */
.feature-pill {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    padding: 20px 22px;
    text-decoration: none;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}

.feature-pill:active,
.feature-pill:hover {
    background: #fafafa;
    box-shadow: 0 3px 16px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.feature-pill-main {
    flex: 1;
    min-width: 0;
}

/* 标题 - 较大粗体，显眼 */
.feature-pill-title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
    line-height: 1.4;
}

/* 描述 - 小字，柔和色 */
.feature-pill-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
}

/* 右侧徽章 */
.feature-pill-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    margin-left: 14px;
}

/* 右箭头 */
.feature-pill-arrow {
    font-size: 24px;
    color: #ccc;
    flex-shrink: 0;
    margin-left: 8px;
    line-height: 1;
    font-weight: 300;
}

/* 占位项（开发中） */
.feature-pill-coming {
    opacity: 0.65;
    cursor: default;
}

.feature-pill-coming .feature-pill-title {
    color: #aaa;
}

.feature-pill-coming .feature-pill-desc {
    color: #bbb;
}

/* 暗色模式 */
@media (prefers-color-scheme: dark) {
    .feature-pill {
        background: #2a2a2a;
        border-color: rgba(255, 255, 255, 0.06);
        box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
    }

    .feature-pill:active,
    .feature-pill:hover {
        background: #303030;
        box-shadow: 0 3px 16px rgba(0, 0, 0, 0.3);
        border-color: rgba(255, 255, 255, 0.1);
    }

    .feature-pill-title {
        color: #f0f0f0;
    }

    .feature-pill-desc {
        color: #888;
    }

    .feature-pill-arrow {
        color: #555;
    }

    .feature-pill-coming .feature-pill-title {
        color: #666;
    }

    .feature-pill-coming .feature-pill-desc {
        color: #555;
    }

    .feature-hub-title {
        color: var(--text-color, #f0f0f0);
    }
}