/* 协议页面专用样式 */
body {
    padding-top: 80px; /* 为固定导航栏留出空间 */
}

.container {
    padding-top: 40px;
    padding-bottom: 40px;
}

.main-content {
    min-height: calc(100vh - 200px); /* 确保内容区域有足够高度 */
}

.page-header {
    text-align: center;
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    margin-bottom: 40px;
    border-radius: 8px;
    margin-top: 20px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.page-header .subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin: 0;
}

.agreement-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    line-height: 1.8;
}

.section {
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3b82f6;
}

.section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #374151;
    margin: 25px 0 15px 0;
}

.section p {
    color: #4b5563;
    margin-bottom: 15px;
}

.section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.section li {
    color: #4b5563;
    margin-bottom: 8px;
    position: relative;
}

.section li::marker {
    color: #3b82f6;
}

.agreement-footer {
    text-align: center;
    padding: 50px 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-radius: 12px;
    margin-top: 50px;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.agreement-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #60a5fa, #34d399, #fbbf24, #f87171);
}

.agreement-footer .effective-notice {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.agreement-footer .update-time {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.agreement-footer .update-time::before {
    content: '📅';
    font-size: 1rem;
}

.agreement-footer .version-info {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
    font-style: italic;
}

.agreement-footer p {
    margin: 8px 0;
    color: white;
}

.agreement-footer strong {
    font-size: 1.1rem;
}

/* 确保页面底部有足够空间 */
.main-content {
    margin-bottom: 80px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        padding-top: 70px; /* 移动端导航栏高度调整 */
    }
    
    .page-header {
        padding: 40px 0 30px;
        margin-top: 10px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .section h2 {
        font-size: 1.3rem;
    }
    
    .section h3 {
        font-size: 1.1rem;
    }
    
    .agreement-content {
        padding: 0 15px;
    }
    
    .main-content {
        margin-bottom: 60px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 30px 0 20px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 15px;
    }
    
    .agreement-footer {
        padding: 30px 20px;
        margin-bottom: 40px;
    }
    
    .main-content {
        margin-bottom: 40px;
    }
}
