/* ===== 用户协议页面专属样式 ===== */

/* ---------- 页面横幅 ---------- */
.agreement-hero {
    background: linear-gradient(135deg, #0b1a2e 0%, #1a3550 100%);
    padding: 60px 0 50px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.agreement-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(30, 95, 158, 0.06);
    border-radius: 50%;
    pointer-events: none;
}
.agreement-hero .container {
    position: relative;
    z-index: 2;
}
.agreement-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 20px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #7bb3ff;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.agreement-hero h1 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 2px;
}
.agreement-hero p {
    font-size: 16px;
    color: #b0c8e0;
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- 协议主体 ---------- */
.agreement-body {
    background: #f4f7fc;
    padding: 40px 0 70px;
}

.agreement-body .container {
    max-width: 900px;
}

/* ---------- 协议头部 ---------- */
.agreement-header {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 40px;
    margin-bottom: 24px;
    border: 1px solid #e9edf4;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}
.agreement-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0b1a2e;
    margin-bottom: 14px;
}
.agreement-meta p {
    font-size: 14px;
    color: #4e637a;
    margin-bottom: 4px;
    line-height: 1.8;
}
.agreement-meta .placeholder {
    color: #e67e22;
    background: #fef9f0;
    padding: 0 8px;
    border-radius: 4px;
}

/* ---------- 重要提示 ---------- */
.agreement-important {
    background: #fef9f0;
    border-left: 4px solid #e67e22;
    border-radius: 12px;
    padding: 20px 28px;
    margin-bottom: 28px;
    border: 1px solid #fcebd8;
}
.important-badge {
    display: inline-block;
    background: #e67e22;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.agreement-important ol {
    padding-left: 20px;
    margin: 0;
}
.agreement-important ol li {
    font-size: 14px;
    color: #4e3a2a;
    line-height: 1.8;
    margin-bottom: 6px;
}
.agreement-important ol li:last-child {
    margin-bottom: 0;
}

/* ---------- 协议正文 ---------- */
.agreement-content {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 40px;
    border: 1px solid #e9edf4;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.agreement-article {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f0f2f5;
}
.agreement-article:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.agreement-article h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0b1a2e;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #1e5f9e;
    display: inline-block;
}

.agreement-article h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1e2a3a;
    margin-top: 16px;
    margin-bottom: 8px;
}

.agreement-article p {
    font-size: 14px;
    line-height: 1.9;
    color: #2c3e50;
    margin-bottom: 8px;
}

.agreement-article p strong {
    color: #0b1a2e;
}

.agreement-article ul {
    padding-left: 24px;
    margin: 8px 0 12px 0;
}
.agreement-article ul li {
    font-size: 14px;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 2px;
    list-style-type: disc;
}

/* 免责声明特殊样式 */
.agreement-disclaimer {
    background: #f8faff;
    padding: 20px 24px;
    border-radius: 12px;
    border-left: 4px solid #1e5f9e;
    margin-bottom: 28px;
}
.agreement-disclaimer h3 {
    border-bottom-color: #7bb3ff;
}

/* ---------- 底部配套提示 ---------- */
.agreement-footer-note {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}

.note-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 24px;
    border: 1px solid #e9edf4;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}
.note-box h4 {
    font-size: 14px;
    font-weight: 700;
    color: #0b1a2e;
    margin-bottom: 10px;
}
.note-box p {
    font-size: 14px;
    color: #4e637a;
    line-height: 1.8;
}
.note-box ol {
    padding-left: 20px;
    margin: 0;
}
.note-box ol li {
    font-size: 14px;
    color: #4e637a;
    line-height: 1.8;
    margin-bottom: 4px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
    .agreement-hero {
        padding: 40px 0 32px;
    }
    .agreement-hero h1 {
        font-size: 28px;
    }
    .agreement-hero p {
        font-size: 14px;
    }

    .agreement-header {
        padding: 20px 18px;
    }
    .agreement-header h2 {
        font-size: 20px;
    }

    .agreement-content {
        padding: 20px 18px;
    }

    .agreement-important {
        padding: 16px 18px;
    }
    .agreement-important ol li {
        font-size: 13px;
    }

    .agreement-article h3 {
        font-size: 16px;
    }
    .agreement-article p {
        font-size: 13px;
    }
    .agreement-article ul li {
        font-size: 13px;
    }

    .agreement-footer-note {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .agreement-hero h1 {
        font-size: 22px;
    }
    .agreement-header h2 {
        font-size: 18px;
    }
    .agreement-content {
        padding: 16px 14px;
    }
    .agreement-article {
        padding-bottom: 18px;
    }
}