* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;   /* 白色背景 (符合要求: 白色或 #306adc) */
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    line-height: 1.5;
    color: #1f2937;
    padding: 2rem 1.2rem;
}

/* 主容器：宽屏舒适阅读 */
.container {
    max-width: 1100px;
    margin: 0 auto;
}

/* 主标题：颜色 #1e40af */
.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e40af;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: -0.3px;
    border-bottom: 3px solid #e0e7ff;
    display: inline-block;
    width: auto;
    padding-bottom: 0.5rem;
}

.title-wrapper {
    text-align: center;
    margin-bottom: 2rem;
}

/* 卡片样式：边框色 #3b82f6，背景白色，圆角柔和 */
.card {
    background: #ffffff;
    border: 2px solid #3b82f6;
    border-radius: 24px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    transition: box-shadow 0.1s ease;
}

/* 图片区域 */
.card-img {
    text-align: center;
    margin-bottom: 1.5rem;
    background: #f9fafc;
    border-radius: 20px;
    padding: 1rem;
}

/* 图片添加指针，提示可点击放大 */
.card-img img {
    max-width: 100%;
    height: auto;
    /* max-height: 200px; */
    object-fit: contain;
    border-radius: 16px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s;
}

.card-img img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
}

/* 步骤列表样式：平叙原文，不加额外装饰 */
.steps-list {
    list-style: none;
    padding-left: 0;
}

.steps-list li {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #1e293b;
    display: flex;
    gap: 0.75rem;
}

/* 序号样式简洁清晰 */
.step-num {
    font-weight: 700;
    color: #1e40af;
    background: #eef2ff;
    border-radius: 30px;
    min-width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    padding: 0 6px;
    flex-shrink: 0;
}

.step-text {
    flex: 1;
}

/* 高亮按钮名称（仅用于样式统一，不加额外解释） */
.btn-name {
    background: #f1f5f9;
    border: 0.5px solid #cbd5e1;
    border-radius: 20px;
    padding: 0.1rem 0.6rem;
    font-family: monospace;
    font-size: 0.85rem;
    color: #0f172a;
    display: inline-block;
    white-space: nowrap;
}

/* 注意条目专用样式（保持平叙，仅用于警示） */
.notice-box {
    margin-top: 1rem;
    background-color: #fff1f0;
    border-left: 4px solid #dc2626;
    padding: 0.7rem 1rem;
    border-radius: 16px;
    font-size: 0.9rem;
    color: #991b1b;
}

/* 纯文本提示不添加花哨内容 */
.inline-code {
    background: #f1f5f9;
    font-family: monospace;
    padding: 0.1rem 0.4rem;
    border-radius: 12px;
    font-size: 0.85rem;
}

/* 模态框（图片放大效果）样式 */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    backdrop-filter: blur(4px);
}

.modal-content {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.3);
    cursor: default;
    transition: transform 0.2s;
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
    background: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 1001;
}

.close-modal:hover {
    color: #3b82f6;
    background: rgba(255,255,255,0.2);
}

/* 缩放按钮样式 */
.zoom-btn {
    position: absolute;
    bottom: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 1001;
}

.zoom-btn:hover {
    background: rgba(255,255,255,0.2);
    color: #3b82f6;
}

.zoom-in {
    right: 90px;
}

.zoom-out {
    right: 30px;
}

/* 响应式缩放按钮 */
@media (max-width: 640px) {
    .zoom-btn {
        bottom: 15px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .zoom-in {
        right: 70px;
    }
    .zoom-out {
        right: 20px;
    }
}

/* 标题副标题 */
.title-sub {
    color: #4b5563;
    border-bottom: 2px solid #e0e7ff;
    display: inline-block;
    padding-bottom: 0.6rem;
    font-size: 1rem;
}

/* 功能描述列表 */
.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #1e293b;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.feature-list li::before {
    content: "•";
    color: #3b82f6;
    font-weight: bold;
    font-size: 1.3rem;
    line-height: 1;
    flex-shrink: 0;
}

.feature-text {
    flex: 1;
}

/* 场景描述 */
.scenario-desc {
    background: #eef2ff;
    padding: 1rem 1.2rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: #1e3a8a;
    border-left: 4px solid #3b82f6;
}

/* 特性标签 */
.feature-badge {
    display: inline-block;
    background: #e6f0ff;
    border-radius: 40px;
    padding: 0.2rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #1e40af;
    margin: 0.2rem 0.2rem 0 0;
}

/* 页脚注释 */
.footer-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.75rem;
    color: #94a3b8;
}

/* 响应式: 小屏幕调整内边距 */
@media (max-width: 640px) {
    body {
        padding: 1rem;
    }
    .card {
        padding: 1.2rem;
    }
    .steps-list li {
        flex-direction: row;
        gap: 0.5rem;
        align-items: flex-start;
    }
    .step-num {
        flex-shrink: 0;
    }
    .btn-name {
        white-space: normal;
        display: inline-block;
    }
    .close-modal {
        top: 15px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 30px;
    }
    .feature-list li {
        gap: 0.5rem;
    }
}
