/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: #0f0f23;
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 100vw;
}

/* 主要内容区域 */
.main-content {
    flex: 1;
    padding-bottom: 120px; /* 为底部导航留空间 */
    overflow-y: auto;
}

.page {
    display: none;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.page.active {
    display: block;
}

.page-header {
    text-align: center;
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.user-info {
    display: none;
}

/* 模块选择器 */
.module-selector {
    margin-bottom: 25px;
    display: flex;
    gap: 12px;
}

.module-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 12px 8px;
    background: #1a1a2e;
    border: 2px solid #2a2a3e;
    border-radius: 12px;
    color: #e0e0e0;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 60px;
    text-align: center;
}

.module-btn:hover {
    background: #2a2a3e;
    border-color: #3a3a4e;
}

.module-btn.active {
    background: #16213e;
    border-color: #4a90e2;
    color: #ffffff;
}

/* 动词模块配色 - 蓝色系 */
.module-btn[data-module="verb"].active {
    background: #1e3a8a;
    border-color: #3b82f6;
}

/* 形容词模块配色 - 绿色系 */
.module-btn[data-module="adj"].active {
    background: #166534;
    border-color: #22c55e;
}

/* 简体形模块配色 - 紫色系 */
.module-btn[data-module="plain"].active {
    background: #581c87;
    border-color: #a855f7;
}

/* 敬体形模块配色 - 橙金系 */
.module-btn[data-module="polite"].active {
    background: #9a3412;
    border-color: #f97316;
}

.module-icon {
    width: 24px;
    height: 24px;
    background: #4a90e2;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: white;
    margin-bottom: 6px;
    flex-shrink: 0;
}

.module-text {
    text-align: center;
}

.module-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0;
}

.module-desc {
    display: none;
}

/* 形态选择器 */
.form-selector {
    margin-bottom: 25px;
}

.form-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.form-chip {
    padding: 8px 16px;
    background: #1a1a2e;
    border: 1px solid #2a2a3e;
    border-radius: 20px;
    color: #e0e0e0;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.form-chip:hover {
    background: #2a2a3e;
}

.form-chip.active {
    background: #4a90e2;
    border-color: #4a90e2;
    color: white;
}

/* 模式切换 */
.mode-toggle {
    display: flex;
    background: #1a1a2e;
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 25px;
}

.mode-btn {
    flex: 1;
    padding: 8px;
    background: transparent;
    border: none;
    color: #888;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 36px;
}

.mode-btn.active {
    background: #4a90e2;
    color: white;
}

/* 测验卡片 */
.quiz-card, .flashcard {
    background: #1a1a2e;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid #2a2a3e;
}

.card-header {
    text-align: center;
    margin-bottom: 24px;
}

.word-info {
    margin-bottom: 16px;
}

.word-main {
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 8px;
}

.word-reading {
    font-size: 18px;
    color: #06b6d4;
    margin-bottom: 8px;
}

.word-meaning {
    font-size: 16px;
    color: #888;
}

.target-form {
    display: inline-block;
    padding: 8px 16px;
    background: #4a90e2;
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* 输入区域 */
.input-section {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

#answer-input {
    flex: 1;
    padding: 16px;
    background: #0f0f23;
    border: 2px solid #2a2a3e;
    border-radius: 8px;
    color: #ffffff;
    font-size: 18px;
    min-height: 44px;
}

#answer-input:focus {
    outline: none;
    border-color: #4a90e2;
}

.submit-btn, .next-btn, .start-btn {
    padding: 12px 20px;
    background: #10b981;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 36px;
}

.submit-btn:hover, .next-btn:hover, .start-btn:hover {
    background: #059669;
}

.submit-btn:disabled {
    background: #2a2a3e;
    cursor: not-allowed;
}

/* 结果区域 */
.result-section {
    text-align: center;
}

.result-status {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.result-status.correct {
    color: #4caf50;
}

.result-status.incorrect {
    color: #f44336;
}

.correct-answer {
    font-size: 24px;
    font-weight: bold;
    color: #4a90e2;
    margin-bottom: 12px;
}

.explanation {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* 闪卡 */
.flip-btn {
    width: 100%;
    padding: 16px;
    background: #6c5ce7;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 44px;
    margin-top: 16px;
}

.flip-btn:hover {
    background: #5a4fcf;
}

.answer-display {
    font-size: 32px;
    font-weight: bold;
    color: #10b981;
    text-align: center;
    margin-bottom: 16px;
}

.feedback-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}

.feedback-btn {
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 44px;
}

.feedback-btn.again {
    background: #ef4444;
    color: white;
}

.feedback-btn.again:hover {
    background: #dc2626;
}

.feedback-btn.hard {
    background: #f97316;
    color: white;
}

.feedback-btn.hard:hover {
    background: #ea580c;
}

.feedback-btn.good {
    background: #22c55e;
    color: white;
}

.feedback-btn.good:hover {
    background: #16a34a;
}

.feedback-btn.easy {
    background: #3b82f6;
    color: white;
}

.feedback-btn.easy:hover {
    background: #2563eb;
}

/* 开始区域 */
.start-section {
    text-align: center;
}

.start-btn {
    width: 100%;
    max-width: 300px;
}

/* 进度页面 */
.progress-tabs {
    display: flex;
    background: #1a1a2e;
    border-radius: 12px;
    padding: 4px;
    margin: 16px 0;
    border: 1px solid #2a2a3e;
}

.tab-btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #888;
    font-weight: 500;
}

.tab-btn.active {
    background: #8b5cf6;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 30px;
}

.stat-card {
    background: #1a1a2e;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid #2a2a3e;
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #06b6d4;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #888;
}

.progress-charts {
    margin-top: 30px;
}

.chart-section {
    margin-bottom: 30px;
}

.chart-section h3 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 16px;
}

.module-comparison {
    display: grid;
    gap: 12px;
}

.module-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #1a1a2e;
    border-radius: 8px;
    border-left: 4px solid #4a90e2;
    border: 1px solid #2a2a3e;
}

.module-name {
    font-weight: bold;
    color: #ffffff;
}

.module-stats {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: #888;
}

.level-bars {
    background: #1a1a2e;
    border-radius: 8px;
    padding: 16px;
}

.level-bar {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.level-label {
    width: 60px;
    font-size: 14px;
    color: #888;
}

.level-progress {
    flex: 1;
    height: 8px;
    background: #2a2a3e;
    border-radius: 4px;
    margin: 0 12px;
    overflow: hidden;
}

.level-fill {
    height: 100%;
    background: #4a90e2;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.level-count {
    font-size: 14px;
    color: #e0e0e0;
    min-width: 30px;
    text-align: right;
}

/* 分析标签页样式 */
.analysis-section {
    background: #1a1a2e;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #2a2a3e;
    margin-bottom: 24px;
}

.analysis-section h3 {
    margin: 0 0 16px 0;
    color: #ffffff;
    font-size: 18px;
}

.form-mastery {
    display: grid;
    gap: 12px;
}

.form-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #0f0f23;
    border-radius: 8px;
    border: 1px solid #2a2a3e;
}

.form-name {
    font-weight: bold;
    color: #ffffff;
}

.form-stats {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: #888;
}

.mastery-bar {
    width: 100px;
    height: 8px;
    background: #2a2a3e;
    border-radius: 4px;
    overflow: hidden;
}

.mastery-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #4a90e2);
    transition: width 0.3s ease;
}

.error-analysis {
    display: grid;
    gap: 24px;
}

.error-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.error-stat-card {
    padding: 16px;
    background: #1a1a2e;
    border-radius: 8px;
    border-left: 4px solid #f44336;
    border: 1px solid #2a2a3e;
}

.error-stat-number {
    font-size: 20px;
    font-weight: bold;
    color: #f44336;
}

.error-stat-label {
    color: #888;
    font-size: 14px;
}

.problem-list {
    display: grid;
    gap: 8px;
}

.problem-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #0f0f23;
    border-radius: 6px;
    font-size: 14px;
    border: 1px solid #2a2a3e;
}

.problem-form {
    font-weight: bold;
    color: #f44336;
}

.problem-stats {
    color: #888;
}

/* 趋势标签页样式 */
.trends-section {
    background: #1a1a2e;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #2a2a3e;
}

.trend-charts {
    display: grid;
    gap: 24px;
}

.chart-container {
    text-align: center;
}

.chart-container h4 {
    margin: 0 0 16px 0;
    color: #ffffff;
    font-size: 16px;
}



.study-goals {
    background: #1a1a2e;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #2a2a3e;
}

.goal-setting {
    display: grid;
    gap: 16px;
}

.goal-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.goal-item label {
    min-width: 120px;
    font-weight: bold;
    color: #ffffff;
}

.goal-item input {
    width: 80px;
    padding: 8px;
    border: 2px solid #2a2a3e;
    border-radius: 6px;
    text-align: center;
    background: #0f0f23;
    color: #ffffff;
}

.goal-item input:focus {
    outline: none;
    border-color: #4a90e2;
}

.goal-item span {
    color: #888;
}

.save-goals-btn {
    padding: 12px 24px;
    background: #4a90e2;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
    margin-top: 16px;
}

.save-goals-btn:hover {
    background: #357abd;
}



#daily-trend-chart, #weekly-trend-chart {
    width: 100%;
    height: auto;
    max-width: 100%;
    background: #1a1a2e;
    border-radius: 8px;
}

/* 设置页面 */
.settings-section {
    margin-bottom: 30px;
}

.settings-section h3 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 16px;
}

.setting-item {
    background: #1a1a2e;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid #2a2a3e;
}

.setting-item label {
    display: block;
    font-size: 16px;
    color: #e0e0e0;
    margin-bottom: 12px;
    font-weight: 600;
}

.access-code-section, .bind-section {
    display: flex;
    gap: 12px;
}

.access-code-section input, .bind-section input {
    flex: 1;
    padding: 12px;
    background: #0f0f23;
    border: 2px solid #2a2a3e;
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    min-height: 44px;
}

.copy-btn, .bind-btn {
    padding: 12px 20px;
    background: #4a90e2;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 44px;
    white-space: nowrap;
}

.logout-btn {
    padding: 12px 20px;
    background: #dc3545;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 44px;
    white-space: nowrap;
    width: 100%;
}

.logout-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.logout-btn:active {
    transform: translateY(0);
}

.setting-desc {
    font-size: 14px;
    color: #888;
    margin-top: 8px;
    line-height: 1.4;
}

/* 开关样式 */
.switch-label {
    display: flex !important;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0 !important;
}

.switch {
    position: relative;
    width: 50px;
    height: 28px;
    background: #2a2a3e;
    border-radius: 14px;
    margin-right: 12px;
    transition: background 0.2s ease;
}

.switch::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 12px;
    transition: transform 0.2s ease;
}

input[type="checkbox"]:checked + .switch {
    background: #4a90e2;
}

input[type="checkbox"]:checked + .switch::before {
    transform: translateX(22px);
}

input[type="checkbox"] {
    display: none;
}

.form-toggles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-toggle {
    background: #1a1a2e;
    border: 1px solid #2a2a3e;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
}

.form-toggle-label {
    font-size: 14px;
    color: #e0e0e0;
}

/* 底部导航 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a2e;
    border-top: 1px solid #2a2a3e;
    display: flex;
    padding: 8px 0;
    z-index: 1000;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    transition: color 0.2s ease;
    min-height: 44px;
    justify-content: center;
}

.nav-item.active {
    color: #4a90e2;
}

.nav-icon {
    font-size: 20px;
    margin-bottom: 4px;
}

.nav-label {
    font-size: 12px;
    font-weight: 500;
}

/* 加载和提示 */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 35, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.loading.hidden {
    display: none;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #2a2a3e;
    border-top: 3px solid #4a90e2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: #e0e0e0;
    font-size: 16px;
}

.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a2e;
    color: #e0e0e0;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid #2a2a3e;
    font-size: 14px;
    z-index: 3000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
}

.toast.success {
    background: #4caf50;
    color: white;
}

.toast.error {
    background: #f44336;
    color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page {
        padding: 16px;
    }
    
    .today-overview-section,
    .mode-comparison-section,
    .learning-insights-section {
        padding: 20px;
        margin-bottom: 20px;
        border-radius: 16px;
    }
    
    .today-progress {
        flex-direction: column;
        gap: 12px;
    }
    
    .today-stats {
        flex-direction: column;
        gap: 12px;
    }
    
    .today-stats .stat-card {
        padding: 16px;
        flex-direction: row;
    }
    
    .stat-number {
        font-size: 16px;
    }
    
    .stat-icon {
        font-size: 20px;
    }
    
    .mode-comparison-charts {
        flex-direction: column;
        gap: 16px;
    }
    
    .comparison-card {
        padding: 20px;
    }
    
    .insights-tabs {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .insight-tab-btn {
        padding: 10px 14px;
        font-size: 13px;
        min-width: 0;
        flex: 1;
    }
    
    .trend-chart-container {
        padding: 16px;
    }
    
    .weakness-item,
    .suggestion-card {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .page {
        padding: 12px;
    }
    
    .page-header h1 {
        font-size: 20px;
    }
    
    .today-overview-section h2,
    .mode-comparison-section h2,
    .learning-insights-section h2 {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .today-overview-section,
    .mode-comparison-section,
    .learning-insights-section {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    .progress-card,
    .today-stats .stat-card {
        padding: 14px;
    }
    
    .stat-number {
        font-size: 15px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .insights-tabs {
        padding: 4px;
    }
    
    .insight-tab-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .feedback-buttons {
        grid-template-columns: 1fr;
    }
    
    .form-toggles {
        grid-template-columns: 1fr;
    }
    
    .word-main {
        font-size: 28px;
    }
    
    .answer-display {
        font-size: 28px;
    }
}

@media (max-height: 600px) {
    .page {
        padding: 12px;
    }
    
    .quiz-card, .flashcard {
        padding: 16px;
    }
    
    .word-main {
        font-size: 24px;
    }
}

/* 安全区域适配 */
@supports (padding: max(0px)) {
    .bottom-nav {
        padding-bottom: max(8px, env(safe-area-inset-bottom));
    }
    
    .main-content {
        padding-bottom: max(120px, calc(120px + env(safe-area-inset-bottom)));
    }
}

/* 深色模式优化 */
@media (prefers-color-scheme: dark) {
    body {
        background: #0f0f23;
        color: #e0e0e0;
    }
}

/* 触摸优化 */
@media (hover: none) and (pointer: coarse) {
    .module-btn:hover,
    .form-chip:hover,
    .submit-btn:hover,
    .next-btn:hover,
    .start-btn:hover {
        background: initial;
    }
    
    .module-btn:active {
        background: #2a2a3e;
    }
    
    .form-chip:active {
        background: #2a2a3e;
    }
    
    .submit-btn:active,
    .next-btn:active,
    .start-btn:active {
        background: #357abd;
    }
}

/* 新的三层结构样式 */
.progress-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 第一层：今日概览 */
.today-overview-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid #3a3a4e;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.today-overview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4a90e2, #357abd, #2563eb);
    border-radius: 20px 20px 0 0;
}

.today-overview-section h2 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.today-progress {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.progress-card {
    flex: 1;
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #3a3a4e;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.progress-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.progress-title {
    color: #e0e0e0;
    font-size: 14px;
    font-weight: 500;
}

.progress-count {
    color: #4a90e2;
    font-size: 14px;
    font-weight: 600;
}

.progress-bar {
    height: 8px;
    background: #2a2a3e;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4a90e2, #357abd);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.today-stats {
    display: flex;
    gap: 12px;
}

.today-stats .stat-card {
    flex: 1;
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #3a3a4e;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.today-stats .stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    font-size: 24px;
    line-height: 1;
}

.stat-content {
    flex: 1;
}

.stat-number {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.stat-label {
    color: #a0a0a0;
    font-size: 12px;
    margin-top: 2px;
}

/* 第二层：模式对比 */
.mode-comparison-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid #3a3a4e;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.mode-comparison-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #22c55e, #16a34a, #15803d);
    border-radius: 20px 20px 0 0;
}

.mode-comparison-section h2 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.mode-comparison-charts {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.comparison-card {
    flex: 1;
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #3a3a4e;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.comparison-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.comparison-card h3 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
}

.mode-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mode-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #2a2a3e;
}

.mode-stat:last-child {
    border-bottom: none;
}

.mode-stat .stat-label {
    color: #a0a0a0;
    font-size: 14px;
}

.mode-stat .stat-value {
    color: #4a90e2;
    font-size: 14px;
    font-weight: 600;
}

.mode-recommendation {
    margin-top: 16px;
}

.recommendation-card {
    background: #16213e;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #3a3a4e;
    display: flex;
    align-items: center;
    gap: 12px;
}

.recommendation-icon {
    font-size: 24px;
    line-height: 1;
}

.recommendation-content h4 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.recommendation-content p {
    color: #a0a0a0;
    font-size: 13px;
    line-height: 1.4;
}

/* 第三层：学习洞察 */
.learning-insights-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid #3a3a4e;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.learning-insights-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #a855f7, #8b5cf6, #7c3aed);
    border-radius: 20px 20px 0 0;
}

.learning-insights-section h2 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.insights-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #2a2a3e 0%, #1a1a2e 100%);
    border-radius: 12px;
    padding: 6px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.insight-tab-btn {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #a0a0a0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.insight-tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #4a90e2, #357abd);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.insight-tab-btn:hover {
    color: #ffffff;
}

.insight-tab-btn:hover::before {
    opacity: 0.1;
}

.insight-tab-btn.active {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
    transform: translateY(-1px);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.insight-tab-btn.active::before {
    opacity: 0;
}

.insight-content {
    display: none;
}

.insight-content.active {
    display: block;
}

/* 趋势图表 */
.trend-chart-container {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #3a3a4e;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.trend-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4a90e2, #357abd);
    border-radius: 16px 16px 0 0;
}

.trend-chart-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

#weekly-trend-chart {
    width: 100%;
    height: 280px;
    max-width: 500px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trend-summary-cards {
    display: flex;
    gap: 12px;
}

.summary-card {
    flex: 1;
    background: #16213e;
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #3a3a4e;
    text-align: center;
}

.summary-label {
    display: block;
    color: #a0a0a0;
    font-size: 12px;
    margin-bottom: 4px;
}

.summary-value {
    display: block;
    color: #4a90e2;
    font-size: 16px;
    font-weight: 600;
}

/* 薄弱环节 */
.weakness-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.weakness-item {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #3a3a4e;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.weakness-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #ff6b6b, #f44336);
    border-radius: 0 16px 16px 0;
}

.weakness-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.weakness-form {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.weakness-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

.error-rate {
    color: #ff6b6b;
    font-size: 14px;
    font-weight: 500;
}

.error-count {
    color: #a0a0a0;
    font-size: 14px;
}

.weakness-suggestion {
    color: #4a90e2;
    font-size: 13px;
    font-style: italic;
}

.no-weaknesses {
    text-align: center;
    color: #a0a0a0;
    font-size: 14px;
    padding: 40px 20px;
}

/* 智能建议 */
.suggestion-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.suggestion-card {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #3a3a4e;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.suggestion-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #4a90e2, #357abd);
    border-radius: 0 16px 16px 0;
}

.suggestion-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.suggestion-icon {
    font-size: 24px;
    line-height: 1;
    margin-top: 2px;
}

.suggestion-content {
    flex: 1;
}

.suggestion-content h4 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.suggestion-content p {
    color: #a0a0a0;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.suggestion-action {
    background: #4a90e2;
    border-radius: 6px;
    color: #ffffff;
    font-size: 12px;
    padding: 6px 12px;
    display: inline-block;
}

.no-suggestions {
    text-align: center;
    color: #a0a0a0;
    font-size: 14px;
    padding: 40px 20px;
}

/* 每日学习目标设置样式 */
.goal-setting {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
}

.goal-setting input[type="number"] {
    width: 80px;
    padding: 8px 12px;
    border: 2px solid #2a2a3e;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    background: #0f0f23;
    color: #ffffff;
}

.goal-setting input[type="number"]:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.goal-unit {
    color: #888;
    font-size: 14px;
}

.goal-progress {
    margin-top: 12px;
    padding: 12px;
    background: #1a1a2e;
    border-radius: 8px;
    border: 1px solid #2a2a3e;
}

.progress-text {
    font-size: 14px;
    color: #e0e0e0;
    margin-bottom: 8px;
    font-weight: 500;
}

/* 推荐功能样式 */
.recommendations-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.recommendation-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.recommendation-section h4 {
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.recommendation-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recommendation-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    color: #333;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.recommendation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.recommendation-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.recommendation-card:hover::before {
    width: 6px;
}

.recommendation-card.goals::before {
    background: linear-gradient(180deg, #4CAF50, #45a049);
}

.recommendation-card.modes::before {
    background: linear-gradient(180deg, #2196F3, #1976D2);
}

.recommendation-card.schedule::before {
    background: linear-gradient(180deg, #FF9800, #F57C00);
}

.recommendation-card.focus::before {
    background: linear-gradient(180deg, #F44336, #D32F2F);
}

.recommendation-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recommendation-title::before {
    content: attr(data-icon);
    font-size: 1.4rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.recommendation-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
    font-weight: 400;
}

.recommendation-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.apply-recommendation-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.apply-recommendation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.apply-recommendation-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.recommendation-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    font-size: 0.9rem;
    color: #666;
}

.recommendation-meta span {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.1));
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.recommendation-meta span:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.25), rgba(118, 75, 162, 0.2));
    transform: translateY(-1px);
}

.no-recommendations {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 10px 0;
}

/* 移动端特殊优化 */
@media (max-width: 360px) {
    .today-overview-section,
    .mode-comparison-section,
    .learning-insights-section {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .today-overview-section h2,
    .mode-comparison-section h2,
    .learning-insights-section h2 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .progress-card {
        padding: 12px;
    }
    
    .today-stats .stat-card {
        padding: 12px;
        gap: 12px;
    }
    
    .stat-number {
        font-size: 14px;
    }
    
    .stat-label {
        font-size: 10px;
    }
    
    .insight-tab-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .weakness-item,
    .suggestion-card {
        padding: 12px;
        gap: 12px;
    }
    
    .goal-setting {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .trend-summary-cards {
        flex-direction: column;
        gap: 8px;
    }
    
    .recommendation-card {
        padding: 12px;
    }
    
    .recommendation-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .apply-recommendation-btn {
        width: 100%;
        text-align: center;
    }
}

/* 应用更新提示样式 */
.update-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.update-modal.show {
    display: flex;
}

/* AI 助手 */
#ai .page-header p {
    color: #9fa9ff;
    font-size: 0.95rem;
    margin-top: 0.35rem;
}

.ai-chat {
    display: flex;
    flex-direction: column;
    background: rgba(20, 20, 50, 0.8);
    border: 1px solid rgba(79, 92, 221, 0.2);
    border-radius: 18px;
    padding: 1rem;
    gap: 1rem;
    min-height: calc(100vh - 220px);
    position: relative;
}

.ai-chat-messages {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.5rem;
    padding-bottom: 120px;
}

.ai-chat-messages::-webkit-scrollbar {
    width: 6px;
}

.ai-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.ai-message {
    display: flex;
}

.ai-user {
    justify-content: flex-end;
}

.ai-bot {
    justify-content: flex-start;
}

.ai-bubble {
    max-width: 85%;
    padding: 0.75rem 1rem;
    border-radius: 16px;
    line-height: 1.5;
    font-size: 0.95rem;
    word-break: break-word;
}

.ai-user .ai-bubble {
    background: linear-gradient(135deg, #787bff, #4e5ade);
    color: #fff;
    border-top-right-radius: 4px;
}

.ai-bot .ai-bubble {
    background: rgba(255, 255, 255, 0.07);
    color: #dfe3ff;
    border-top-left-radius: 4px;
}

.ai-input-panel {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: sticky;
    bottom: 0;
    background: rgba(18, 18, 45, 0.95);
    border-radius: 16px;
    padding: 0.75rem;
    z-index: 2;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.5);
}

.ai-input-field textarea {
    width: 100%;
    min-height: 60px;
    max-height: 150px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    resize: vertical;
    font-size: 0.95rem;
}

.ai-input-field textarea:focus {
    outline: none;
    border-color: rgba(118, 128, 255, 0.9);
    box-shadow: 0 0 0 2px rgba(118, 128, 255, 0.2);
}

.ai-selected-file {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 0.5rem;
}

.ai-selected-file.hidden {
    display: none;
}

.ai-selected-file img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-selected-file span {
    flex: 1;
    font-size: 0.85rem;
    color: #cdd2ff;
}

.ai-input-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ai-upload-btn {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    color: #cbd0ff;
    transition: background 0.2s ease;
}

.ai-upload-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.ai-submit-btn {
    flex: 1;
    background: linear-gradient(135deg, #727bff, #4f5cdd);
    border: none;
    border-radius: 14px;
    color: #fff;
    font-weight: 600;
    padding: 0.9rem;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.ai-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.ai-message {
    min-height: 1.2rem;
    font-size: 0.9rem;
}

.ai-message.error {
    color: #ff8f8f;
}

.ai-message.info {
    color: #9fb4ff;
}

.ai-streaming {
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 0.75rem;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.85rem;
    color: #d5daff;
    line-height: 1.4;
    white-space: pre-wrap;
    margin-top: 0.5rem;
}

.link-button {
    background: none;
    border: none;
    color: #9fb4ff;
    font-size: 0.85rem;
    padding: 0;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .ai-chat {
        padding: 0.75rem;
        min-height: calc(100vh - 180px);
    }

    .ai-bubble {
        max-width: 90%;
    }
}

.ai-text-block {
    margin-bottom: 0.6rem;
    line-height: 1.5;
}

.ai-text-block:last-child {
    margin-bottom: 0;
}

.update-content {
    background: #1a1a2e;
    border-radius: 16px;
    padding: 32px 24px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    border: 1px solid #333;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: updateModalSlideIn 0.3s ease-out;
}

@keyframes updateModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.update-icon {
    font-size: 48px;
    margin-bottom: 16px;
    animation: updateIconSpin 2s linear infinite;
}

@keyframes updateIconSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.update-content h3 {
    color: #4CAF50;
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}

.update-content p {
    color: #b0b0b0;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
}

.update-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.update-actions button {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 100px;
}

.btn-secondary {
    background: #333;
    color: #e0e0e0;
}

.btn-secondary:hover {
    background: #444;
    transform: translateY(-1px);
}

.btn-primary {
    background: #4CAF50;
    color: white;
}

.btn-primary:hover {
    background: #45a049;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

@media (max-width: 480px) {
    .update-content {
        padding: 24px 20px;
        margin: 20px;
    }
    
    .update-actions {
        flex-direction: column;
    }
    
    .update-actions button {
        width: 100%;
    }
}

/* 版权声明样式 */
.copyright-section {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #333;
    text-align: center;
}

.copyright-text {
    color: #888;
    font-size: 12px;
    line-height: 1.6;
}

.copyright-text p {
    margin: 4px 0;
}

.copyright-text #app-version {
    color: #4CAF50;
    font-weight: 500;
}

@media (max-width: 480px) {
    .copyright-section {
        margin-top: 30px;
        padding: 15px 0;
    }
    
    .copyright-text {
        font-size: 11px;
    }
}
