/* ========================================
   用户协议页面样式
======================================== */

/* 页面头部 */
.page-header {
    padding: 120px 0 20px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* 协议卡片 */
.agreement-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.agreement-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.agreement-meta i {
    margin-right: 6px;
    color: var(--primary-color);
}

/* 协议内容 */
.agreement-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.agreement-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.agreement-content h2:first-child {
    margin-top: 0;
}

.agreement-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.agreement-content p {
    margin-bottom: 1rem;
}

.agreement-content ul,
.agreement-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.agreement-content li {
    margin-bottom: 0.5rem;
}

.agreement-content strong {
    color: var(--text-primary);
}

/* 高亮框 */
.highlight-box {
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.highlight-box.warning {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.highlight-box.warning i {
    color: var(--accent-color);
    margin-right: 8px;
}

.highlight-box.danger {
    background: rgba(255, 77, 79, 0.1);
    border: 1px solid rgba(255, 77, 79, 0.3);
}

.highlight-box.danger h3 {
    color: #ff4d4f;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.highlight-box.danger h3 i {
    margin-right: 8px;
}

.highlight-box.danger p {
    margin-bottom: 0.75rem;
}

.highlight-box.danger ol {
    margin-bottom: 0;
}

/* 协议底部 */
.agreement-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: right;
    color: var(--text-muted);
}

.agreement-footer p {
    margin-bottom: 0.25rem;
}

/* 响应式 */
@media (max-width: 767px) {
    .page-title {
        font-size: 2rem;
    }
    
    .agreement-card {
        padding: 1.5rem;
    }
    
    .agreement-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .agreement-content h2 {
        font-size: 1.25rem;
    }
    
    .agreement-content h3 {
        font-size: 1.1rem;
    }
}
