/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #f5f6f8; /* 默认浅灰背景 */
    color: #333;
}

/* 模拟手机容器（真实项目中可去掉此部分，让 body 占满全屏） */
.app-container {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* ---------------- 首页样式 ---------------- */
#page-index {
    background-color: #fff;
}

.index-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: -10vh; /* 视觉上稍微靠上一点 */
}

.brand-name {
    font-size: 28px;
    font-weight: bold;
    color: #0052d9;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.welcome-text {
    font-size: 20px;
    color: #0052d9;
    font-weight: 500;
    letter-spacing: 1px;
}

.index-bottom {
    padding: 20px 24px 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.btn-primary {
    width: 100%;
    height: 50px;
    background-color: #0060ff;
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.btn-outline {
    width: 100%;
    height: 50px;
    background-color: transparent;
    color: #333;
    font-size: 15px;
    border: 1px solid #dcdcdc;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:active, .btn-outline:active {
    opacity: 0.8;
}

/* ---------------- 说明页样式 ---------------- */
#page-guide {
    background-color: #f5f6f8;
}

.nav-bar {
    height: 44px; /* 手机标准导航高度一般是 44px 或 48px */
    display: flex;
    align-items: center;
    justify-content: space-between; /* 保证两边对齐 */
    padding: 0 16px;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid #f0f0f0;
}

/* 给 body 去掉原来那个 44px 的占位，直接在导航栏加个 padding-top */
body {
    padding-top: env(safe-area-inset-top); /* 适配刘海屏 */
}

.back-icon {
    font-size: 20px;
    color: #333;
    cursor: pointer;
    padding: 5px;
}

.nav-title {
    flex: 1;
    text-align: center;
    font-size: 17px;
    font-weight: 500;
    margin-left: -20px; /* 微调居中 */
}

.guide-content {
    padding: 16px;
    flex: 1;
}

.card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.card-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}

.card-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.list-item {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
    color: #333;
}

.list-item:last-child {
    border-bottom: none;
}

.dot {
    width: 4px;
    height: 4px;
    background-color: #ccc;
    border-radius: 50%;
    margin-right: 12px;
}

.tips-card {
    background: transparent;
    padding: 10px 0;
}

.tips-text {
    font-size: 13px;
    color: #999;
    text-align: left;
    line-height: 1.5;
}

.guide-bottom {
    padding: 16px 24px 40px;
    background-color: #f5f6f8; /* 保持底色一致 */
}

/* 顶部导航右侧占位（如有需要可加小程序胶囊） */
.nav-right {
    width: 24px; /* 保持对称 */
}