/* ===== Hero ===== */
.disclaimer-hero {
    background: linear-gradient(145deg, #0f172a 0%, #1e3a5f 50%, #1e40af 100%);
    padding: 80px 0 100px;
    color: #fff;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.disclaimer-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
            linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}
.disclaimer-hero .container { position: relative; z-index: 2; }
.disclaimer-hero-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.disclaimer-hero-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== 提醒横幅 ===== */
.alert-banner {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    margin-bottom: 48px;
}
.alert-box {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #fcd34d;
    border-radius: 16px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.alert-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: #f59e0b;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    color: #fff;
    flex-shrink: 0;
}
.alert-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 4px;
}
.alert-content p {
    font-size: 14px;
    color: #a16207;
    line-height: 1.6;
}

/* ===== 内容布局 ===== */
.disclaimer-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    padding-bottom: 64px;
}
@media (max-width: 1024px) {
    .disclaimer-layout { grid-template-columns: 1fr; }
}

/* 侧边导航 */
.toc-sidebar {
    position: sticky;
    top: 88px;
    height: fit-content;
}
.toc-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.toc-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.toc-title i { color: #2563eb; }
.toc-list { display: flex; flex-direction: column; gap: 4px; }
.toc-item {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    color: #475569;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: none;
    text-align: left;
}
.toc-item:hover {
    background: #f1f5f9;
    color: #2563eb;
}
.toc-item.active {
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
}

/* ===== 条款内容 ===== */
.disclaimer-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
}
.clause-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 36px;
    scroll-margin-top: 88px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.clause-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}
.clause-num {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.clause-title-text {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
}
.clause-body {
    font-size: 15px;
    color: #475569;
    line-height: 1.9;
}
.clause-body p { margin-bottom: 16px; }
.clause-body p:last-child { margin-bottom: 0; }
.clause-body ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 16px;
}
.clause-body ul li { margin-bottom: 8px; }
.clause-body strong { color: #1e293b; }
.clause-body a { color: #2563eb; text-decoration: underline; }

/* 高亮框 */
.highlight-box {
    background: #f8fafc;
    border-left: 4px solid #2563eb;
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
    font-size: 14px;
    color: #475569;
}
.highlight-box.warning {
    background: #fefce8;
    border-left-color: #eab308;
}
.highlight-box.danger {
    background: #fef2f2;
    border-left-color: #ef4444;
}

/* ===== 更新时间 ===== */
.update-time {
    text-align: center;
    padding: 24px;
    font-size: 13px;
    color: #94a3b8;
}

@media (max-width: 1024px) {
    .toc-sidebar { display: none; }
}
