/* ============================================================
 * home.css — 官网首页（app/view/index/index.html）
 * 原页面 <head> 内 <style> 块迁入（2026-09-06 Phase 2 逐页迁移）。
 *
 * 迁移清理：
 * - `*` reset 与 body 样式与 style.css 首段逐字重复 → 删（style.css 经 header 引入）
 * - .content-section/.section-grid/.content-card/.card-header/.card-body/.card-tag
 *   消费者在页面注释块内（死代码）→ 连同注释块删除，样式不迁
 * - .mobile-menu-btn 页面无元素 → 死样式不迁
 *
 * 保留原名（定义在公共文件，首页仅使用）：
 * .container/.header-bg/.header-content/.logo/.subtitle/.description
 * （style.css + header.php 内联块）
 *
 * 本文件新增类（原内联 style 类化）：
 * .pip-code / .copy-badge / .changelog-* / .version-badge-gold / .option-card-link
 * ============================================================ */

/* ===== 开始使用区域 ===== */
.get-started {
    background: white;
    padding: 40px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}
.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}
.start-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}
.option-card {
    background: var(--light-bg);
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    width: 220px;
    transition: var(--transition);
}
.option-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
    border-color: var(--primary-color);
}
.option-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.option-card h3 {
    margin-bottom: 10px;
    color: var(--text-color);
}

/* 可点击卡片（免责声明入口，原内联 cursor:pointer） */
.option-card-link {
    cursor: pointer;
}

/* pip 安装命令（原内联 background:#f5f5f5） */
.pip-code {
    background: #f5f5f5;
}

/* ===== 版本徽章 ===== */
.version-badge {
    background: var(--primary-color);
    color: white;
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
    cursor: pointer;
}
/* 复制按钮的下间距（原内联 margin-top:10px） */
.copy-badge {
    margin-top: 10px;
}
/* 金色徽章（原三处相同内联 background:#FFB800;color:#fff;border:1px solid #FFB800） */
.version-badge-gold {
    background: #FFB800;
    color: #fff;
    border: 1px solid #FFB800;
}

/* ===== 更新日志卡片段（原内联排版类化） ===== */
.changelog-meta {
    margin-bottom: 6px;
}
.changelog-version {
    font-weight: 600;
}
.changelog-date {
    color: #999;
    font-size: 12px;
    margin-left: 8px;
}
.changelog-actions {
    display: flex;
    justify-content: space-around;
    margin-top: 7px;
}

/* ===== 分隔线 ===== */
.divider {
    height: 1px;
    background: #eee;
    margin: 40px 0;
}

/* ===== layer 提示皮肤覆盖（仅首页引入生效） ===== */
.layui-layer-msg {
    background-color: rgba(0, 0, 0, 0.8) !important;
    color: white !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    font-weight: 500 !important;
}
.layui-layer-msg .layui-layer-content {
    padding: 12px 20px !important;
    font-size: 14px !important;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .start-options .option-card {
        width: 80vw;
        max-width: 90%;
    }
}
