:root {
    --primary: #4A90D9;
    --primary-dark: #357ABD;
    --primary-light: #E8F2FC;
    --success: #52C41A;
    --error: #FF4D4F;
    --warning: #FAAD14;
    --text: #333;
    --text-secondary: #666;
    --text-light: #999;
    --bg: #F5F7FA;
    --card: #FFF;
    --border: #E8E8E8;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

/* ============ 响应式容器 ============ */
.app-container {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    padding: 0 16px;
}

@media (max-width: 768px) {
    .app-container {
        max-width: 100%;
        padding: 0 12px;
    }
}

/* ============ 顶部导航 ============ */
.navbar {
    background: var(--card);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 56px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
}

.navbar-brand .navbar-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.navbar-item {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.2s;
    border: none;
    background: transparent;
}

.navbar-item:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.navbar-item.active {
    background: var(--primary);
    color: #fff;
}

.navbar-user {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
    background: transparent;
    border: none;
    font-family: inherit;
    color: var(--text);
}

.navbar-user:hover {
    background: var(--primary-light);
}

/* 用户信息下拉菜单 */
.navbar-user-wrap {
    position: relative;
}

.navbar-caret {
    font-size: 11px;
    color: var(--text-secondary);
    transition: transform 0.2s;
}

.navbar-user-wrap.open .navbar-caret {
    transform: rotate(180deg);
}

.user-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 250px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    padding: 8px;
    z-index: 1000;
}

.navbar-user-wrap.open .user-dropdown {
    display: block;
}

.user-dropdown-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 8px;
}

.avatar-lg {
    width: 42px;
    height: 42px;
    font-size: 18px;
    flex-shrink: 0;
}

.user-dropdown-info {
    min-width: 0;
}

.user-dropdown-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown-mail {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown-meta {
    display: flex;
    gap: 8px;
    margin-top: 4px;
    font-size: 11px;
    color: var(--text-secondary);
}

.user-dropdown-meta span {
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 4px;
    padding: 1px 6px;
}

.user-dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 6px 4px;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 8px;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
    cursor: pointer;
    text-align: left;
}

.user-dropdown-item:hover {
    background: #FEF2F2;
    color: #DC2626;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 12px;
    }
    .navbar-menu {
        gap: 2px;
    }
    .navbar-item {
        padding: 6px 10px;
        font-size: 13px;
    }
    .navbar-item span.label {
        display: none;
    }
}

/* ============ 页面 ============ */
.page {
    display: none;
    padding: 20px 0;
}

.page.active {
    display: block;
}

@media (max-width: 768px) {
    .page {
        padding: 12px 0 80px;
    }
}

/* ============ 卡片 ============ */
.card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .card {
        padding: 16px;
        border-radius: var(--radius-sm);
    }
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

/* ============ 按钮 ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary-light);
}

.btn-danger {
    background: var(--error);
    color: #fff;
}

.btn-success {
    background: var(--success);
    color: #fff;
}

.btn-sm {
    padding: 4px 12px;
    font-size: 13px;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-block {
    width: 100%;
}

/* ============ 表单 ============ */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
    background: #fff;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

/* ============ 弹窗 ============ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.modal-close {
    float: right;
    cursor: pointer;
    font-size: 22px;
    color: var(--text-light);
    border: none;
    background: transparent;
}

/* ============ Toast ============ */
.toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    box-shadow: var(--shadow-lg);
}

.toast.show {
    opacity: 1;
}

.toast.error {
    background: var(--error);
}

.toast.success {
    background: var(--success);
}

/* ============ 题目卡片 ============ */
.question-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    margin-bottom: 16px;
}

.question-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 500;
}

.question-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-light);
}

.question-type-badge {
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.badge-choice { background: #E8F4FD; color: #1890FF; }
.badge-mchoice { background: #FFF7E6; color: #FA8C16; }
.badge-judge { background: #F6FFED; color: #52C41A; }
.badge-fill { background: #FFF0F6; color: #EB2F96; }
.badge-essay { background: #F0F5FF; color: #2F54EB; }

/* ============ 选项 ============ */
.option-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.option-item:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.option-item.selected {
    border-color: var(--primary);
    background: var(--primary-light);
}

.option-item.correct {
    border-color: var(--success);
    background: #F6FFED;
}

.option-item.wrong {
    border-color: var(--error);
    background: #FFF1F0;
}

.option-letter {
    min-width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
}

.option-item.selected .option-letter {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.option-item.correct .option-letter {
    border-color: var(--success);
    background: var(--success);
    color: #fff;
}

.option-item.wrong .option-letter {
    border-color: var(--error);
    background: var(--error);
    color: #fff;
}

.option-text {
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
}

/* ============ 统计 ============ */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ============ 表格 ============ */
.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

th, td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg);
    white-space: nowrap;
}

tbody tr:hover {
    background: var(--primary-light);
}

/* ============ 空状态 ============ */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

/* ============ 加载 ============ */
.loading {
    display: flex;
    justify-content: center;
    padding: 40px;
}

.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============ 移动端底部导航 ============ */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card);
    box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
    z-index: 100;
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0;
    cursor: pointer;
    color: var(--text-light);
    font-size: 11px;
    gap: 2px;
    border: none;
    background: transparent;
}

.bottom-nav-item.active {
    color: var(--primary);
}

.bottom-nav-item .icon {
    font-size: 20px;
}

@media (max-width: 768px) {
    .bottom-nav {
        display: flex;
    }
}

/* ============ 标签页 ============ */
.tabs {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 16px;
}

.tab {
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}

.tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}

/* ============ 分页 ============ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 16px;
}

.page-btn {
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    cursor: pointer;
    background: #fff;
    font-size: 13px;
}

.page-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ============ 题库多选&操作栏 ============ */
.banks-action-bar {
    position: sticky;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 16px;
    background: var(--card);
    box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
    border-radius: var(--radius) var(--radius) 0 0;
    z-index: 50;
}

@media (max-width: 768px) {
    .banks-action-bar {
        flex-wrap: wrap;
        gap: 8px;
    }
    .banks-action-bar .flex {
        flex: 1;
    }
    .banks-action-bar .btn {
        flex: 1;
        padding: 8px 12px;
        font-size: 13px;
    }
}

.bank-card-selectable {
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}
.bank-card-selectable.selected {
    border-color: var(--primary);
    background: var(--primary-light);
}
.bank-card-selectable .bank-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}
.bank-card-selectable.selected .bank-checkbox {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}
.bank-card-selectable .bank-checkbox::after {
    content: '✓';
    font-size: 14px;
    display: none;
}
.bank-card-selectable.selected .bank-checkbox::after {
    display: block;
}

/* ============ 刷题进度条 ============ */
.practice-progress {
    width: 100%;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    margin-bottom: 16px;
    overflow: hidden;
}
.practice-progress-bar {
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.3s;
}

/* ============ 答题结果 ============ */
.practice-result {
    margin-top: 16px;
    padding: 16px;
    border-radius: var(--radius-sm);
    border-left: 4px solid;
    background: #fafafa;
}
.practice-result.correct {
    border-left-color: var(--success);
    background: #f6ffed;
}
.practice-result.wrong {
    border-left-color: var(--error);
    background: #fff1f0;
}
.practice-result .result-status {
    font-weight: 600;
    margin-bottom: 8px;
}
.practice-result.correct .result-status {
    color: var(--success);
}
.practice-result.wrong .result-status {
    color: var(--error);
}
.practice-result.memorize {
    border-left-color: var(--primary);
    background: var(--primary-light);
}
.practice-result.memorize .result-status {
    color: var(--primary);
}

/* ============ 刷题配置列表 ============ */
.config-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.config-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fafafa;
}
.config-item label {
    font-size: 14px;
    font-weight: 500;
}
.config-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ============ 模式选择器（刷题设置弹窗中） ============ */
.mode-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.mode-option {
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}
.mode-option:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}
.mode-option.active {
    border-color: var(--primary);
    background: var(--primary-light);
}
.mode-option .mode-icon {
    font-size: 24px;
    margin-bottom: 4px;
}
.mode-option .mode-name {
    font-size: 14px;
    font-weight: 600;
}
.mode-option .mode-desc {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 2px;
}

/* ============ 模式标签（刷题界面） ============ */
.mode-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}
.mode-badge.mode-exam { background: #E8F4FD; color: #1890FF; }
.mode-badge.mode-practice { background: #FFF7E6; color: #FA8C16; }
.mode-badge.mode-memorize { background: #F6FFED; color: #52C41A; }

/* ============ 刷题工具栏 ============ */
.practice-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.practice-toolbar-left, .practice-toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ============ 题号导航面板 ============ */
.question-grid {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 1500;
    max-width: 400px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 16px;
}
.question-grid.active {
    display: block;
}
.qgrid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 600;
}
.qgrid-body {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(36px, 1fr));
    gap: 6px;
}
.qgrid-item {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    border: 1.5px solid var(--border);
    transition: all 0.2s;
}
.qgrid-item:hover {
    transform: scale(1.1);
}
.qgrid-item.current {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
    font-weight: 700;
}
.qgrid-item.answered {
    border-color: var(--success);
    background: #F6FFED;
    color: var(--success);
}
.qgrid-item.unanswered {
    border-color: var(--border);
    color: var(--text-light);
}

/* ============ 实用类 ============ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-danger { color: var(--error); }
.text-success { color: var(--success); }
.text-muted { color: var(--text-light); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.hidden { display: none !important; }

/* ============ 下拉菜单 ============ */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    z-index: 200;
    min-width: 120px;
    padding: 4px 0;
    margin-top: 4px;
}
.dropdown-menu.show {
    display: block;
}
.dropdown-item {
    display: block;
    width: 100%;
    padding: 8px 16px;
    border: none;
    background: transparent;
    text-align: left;
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
    color: var(--text);
    transition: background 0.15s;
}
.dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* ============ 大按钮 ============ */
.btn-lg {
    padding: 12px 32px;
    font-size: 16px;
    border-radius: var(--radius);
}

/* ============ 主页 Hero 区域 ============ */
.hero-section {
    text-align: center;
    padding: 48px 20px 40px;
    background: linear-gradient(135deg, #E8F2FC 0%, #F0F5FF 50%, #FFF7E6 100%);
    border-radius: var(--radius);
    margin-bottom: 32px;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.hero-logo {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 16px;
}

.hero-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 32px 16px 24px;
    }
    .hero-logo {
        width: 60px;
        height: 60px;
    }
    .hero-title {
        font-size: 24px;
    }
    .hero-subtitle {
        font-size: 14px;
    }
    .hero-actions .btn-lg {
        width: 100%;
    }
}

/* ============ 章节标题 ============ */
.section-title {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
    color: var(--text);
}

/* ============ 功能特性卡片 ============ */
.features-section {
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.feature-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.feature-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============ 使用方法步骤 ============ */
.usage-section {
    margin-bottom: 40px;
}

.steps {
    max-width: 700px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}

.step-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============ 下载区域 ============ */
.download-section {
    margin-bottom: 40px;
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    max-width: 840px;
    margin: 0 auto;
}

.download-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.download-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.download-icon {
    font-size: 40px;
    margin-bottom: 8px;
}

.download-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.download-card p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* ============ 关于区域 ============ */
.about-section {
    margin-bottom: 24px;
}

/* 主页 page 样式 */
#page-landing.page {
    padding: 0;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .step-item {
        gap: 12px;
    }
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    .download-cards {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 18px;
    }
}
