/* 法律声明头部科技感样式 */
.legal-hero {
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 60%, #0f1419 100%);
    padding: 120px 0 60px 0;
    position: relative;
    border-bottom: 1px solid rgba(0, 234, 255, 0.1);
    overflow: hidden;
}
.legal-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(ellipse at 50% 20%, rgba(0, 234, 255, 0.08) 0%, transparent 70%);
    z-index: 0;
}
.legal-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
}
.hero-text {
    flex: 1;
}
.hero-icon {
    font-size: 54px;
    color: #00eaff;
    margin-bottom: 18px;
}
.hero-title {
    font-size: 2.6rem;
    font-weight: 700;
    color: #e8f4fd;
    margin-bottom: 18px;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: #b0c4de;
    margin-bottom: 28px;
    line-height: 1.7;
}
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 0;
    list-style: none;
    padding: 0;
}
.hero-features li {
    background: rgba(0, 234, 255, 0.08);
    border: 1px solid rgba(0, 234, 255, 0.18);
    border-radius: 18px;
    color: #00eaff;
    padding: 8px 18px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}
.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-end;
}
.legal-visual-card {
    background: linear-gradient(135deg, #101522 60%, #00eaff11 100%);
    border: 1px solid rgba(0, 234, 255, 0.13);
    border-radius: 18px;
    padding: 24px 32px;
    color: #e8f4fd;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 24px rgba(0,234,255,0.06);
    font-weight: 500;
    min-width: 180px;
}
.legal-visual-card i {
    font-size: 2rem;
    color: #00eaff;
}
@media (max-width: 900px) {
    .legal-hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }
    .hero-visual {
        flex-direction: row;
        gap: 12px;
        align-items: center;
    }
}
@media (max-width: 600px) {
    .legal-hero {
        padding: 70px 0 30px 0;
    }
    .hero-title {
        font-size: 1.5rem;
    }
    .hero-subtitle {
        font-size: 0.98rem;
    }
    .legal-visual-card {
        padding: 14px 12px;
        font-size: 0.95rem;
        min-width: 120px;
    }
}

/* 法律声明页面科技感UI样式 */
.legal-header {
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 100%);
    color: #e8f4fd;
    padding: 120px 0 60px 0;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(0, 234, 255, 0.1);
}
.legal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 20%, rgba(0, 234, 255, 0.05) 0%, transparent 70%);
}
.legal-header .header-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #00eaff;
    position: relative;
    z-index: 1;
}
.legal-header h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: #e8f4fd;
    font-weight: 700;
    position: relative;
    z-index: 1;
}
.legal-header p {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: #b8c5d6;
    position: relative;
    z-index: 1;
}
.policy-meta {
    display: flex;
    justify-content: center;
    gap: 32px;
    font-size: 0.95rem;
    color: #8a9ba8;
    position: relative;
    z-index: 1;
}
.policy-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 234, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(0, 234, 255, 0.2);
}
.policy-meta .meta-item i {
    color: #00eaff;
}

.legal-content {
    padding: 60px 0;
}
.legal-content .container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.toc-sidebar {
    min-width: 280px;
    background: rgba(26, 31, 46, 0.8);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 24px;
    position: sticky;
    top: 100px;
    height: fit-content;
    border: 1px solid rgba(0, 234, 255, 0.1);
    backdrop-filter: blur(20px);
}
.toc-header {
    font-weight: 600;
    margin-bottom: 20px;
    color: #00eaff;
    font-size: 1.1rem;
}
.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.toc-link {
    display: block;
    padding: 12px 16px;
    color: #b8c5d6;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    margin-bottom: 4px;
    border-left: 3px solid transparent;
}
.toc-link:hover {
    color: #00eaff;
    background: rgba(0, 234, 255, 0.1);
    border-left-color: #00eaff;
}
.toc-link.active {
    color: #00eaff;
    background: rgba(0, 234, 255, 0.15);
    border-left-color: #00eaff;
    font-weight: 500;
}
.main-content {
    flex: 1;
    background: rgba(26, 31, 46, 0.8);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 40px;
    border: 1px solid rgba(0, 234, 255, 0.1);
    backdrop-filter: blur(20px);
    min-width: 0;
}
.policy-section + .policy-section {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(0, 234, 255, 0.1);
}
.policy-section h2 {
    font-size: 1.6rem;
    color: #00eaff;
    margin-bottom: 20px;
    font-weight: 600;
}
.section-content {
    color: #b8c5d6;
    line-height: 1.7;
}
.section-content p {
    margin-bottom: 16px;
}
.section-content ul, .section-content ol {
    margin: 16px 0 16px 24px;
}
.section-content li {
    margin-bottom: 8px;
    color: #b8c5d6;
}
/* 高亮框/警示框 */
.highlight-box, .warning-box {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: rgba(0, 234, 255, 0.07);
    border: 1px solid rgba(0, 234, 255, 0.18);
    border-radius: 12px;
    padding: 18px 24px;
    margin: 24px 0;
}
.highlight-icon, .warning-icon {
    font-size: 2rem;
    color: #00eaff;
    flex-shrink: 0;
    margin-top: 2px;
}
.warning-box {
    background: rgba(255, 196, 0, 0.07);
    border-color: rgba(255, 196, 0, 0.18);
}
.warning-icon {
    color: #ffc400;
}
.highlight-content, .warning-content {
    flex: 1;
}
.highlight-content h4, .warning-content h4 {
    color: #00eaff;
    font-size: 1.1rem;
    margin-bottom: 6px;
}
.warning-content h4 {
    color: #ffc400;
}
/* 信息卡片/图文并茂 */
.info-grid {
    display: flex;
    gap: 24px;
    margin: 32px 0 16px 0;
    flex-wrap: wrap;
}
.info-card {
    background: linear-gradient(135deg, #101522 60%, #00eaff11 100%);
    border: 1px solid rgba(0, 234, 255, 0.13);
    border-radius: 18px;
    padding: 24px 32px;
    color: #e8f4fd;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 4px 24px rgba(0,234,255,0.06);
    font-weight: 500;
    min-width: 180px;
    flex: 1 1 220px;
}
.info-icon {
    font-size: 2rem;
    color: #00eaff;
}
@media (max-width: 1100px) {
    .legal-content .container {
        flex-direction: column;
        gap: 0;
    }
    .toc-sidebar {
        margin-bottom: 32px;
        position: static;
        width: 100%;
    }
}
@media (max-width: 768px) {
    .legal-header {
        padding: 70px 0 30px 0;
    }
    .legal-header h1 {
        font-size: 1.5rem;
    }
    .main-content {
        padding: 18px 6px;
    }
    .info-grid {
        gap: 10px;
    }
    .info-card {
        padding: 14px 10px;
        font-size: 0.98rem;
        min-width: 120px;
    }
} 