/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00f3ff;
    --secondary-color: #ff006e;
    --accent-color: #8b5cf6;
    --dark-bg: #0a0e27;
    --card-bg: rgba(255, 255, 255, 0.03);
    --text-light: #ffffff;
    --text-gray: #a0a0a0;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.8;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 背景动画 */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.tech-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 243, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 14, 39, 0.95);
    box-shadow: 0 5px 30px rgba(0, 243, 255, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-brand a:hover {
    transform: scale(1.05);
}

.nav-brand i {
    animation: spin 3s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--card-bg);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 25px;
    color: var(--text-light);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lang-switch:hover {
    background: var(--gradient-3);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 243, 255, 0.4);
}

.lang-switch i {
    font-size: 1.2rem;
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gradient-3);
    border: none;
    border-radius: 25px;
    color: var(--text-light);
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 243, 255, 0.3);
}

.btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 243, 255, 0.5);
}

/* 主内容 */
.privacy-content {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: 100vh;
}

/* 页面标题 */
.page-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-line {
    width: 100px;
    height: 4px;
    background: var(--gradient-3);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.update-date {
    color: var(--text-gray);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.update-date i {
    color: var(--primary-color);
}

/* 内容块 */
.content-block {
    max-width: 900px;
    margin: 0 auto;
}

/* 政策章节 */
.policy-section {
    background: var(--card-bg);
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 243, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.policy-section:hover {
    border-color: rgba(0, 243, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 243, 255, 0.2);
    transform: translateY(-5px);
}

.policy-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.policy-section h2 i {
    font-size: 1.5rem;
}

.policy-section h3 {
    font-size: 1.4rem;
    margin-top: 25px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.policy-section p {
    margin-bottom: 15px;
    color: var(--text-gray);
    line-height: 1.8;
}

.policy-section ul {
    margin: 20px 0;
    padding-left: 20px;
    list-style: none;
}

.policy-section ul li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 25px;
    color: var(--text-gray);
    line-height: 1.8;
}

.policy-section ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.policy-section strong {
    color: var(--text-light);
    font-weight: 600;
}

.policy-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.policy-section a:hover {
    border-bottom-color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

/* 联系信息 */
.contact-section {
    background: var(--gradient-1);
}

.contact-section h2 {
    color: var(--text-light);
}

.contact-info {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 15px;
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
}

.contact-info a {
    color: var(--primary-color);
}

/* 页脚 */
.footer {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(0, 243, 255, 0.1);
    padding: 30px 20px;
    text-align: center;
}

.footer-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .nav-brand a {
        font-size: 20px;
    }
    
    .nav-actions {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .lang-switch,
    .btn-back {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .privacy-content {
        padding-top: 160px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .policy-section {
        padding: 25px 20px;
    }
    
    .policy-section h2 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .policy-section h3 {
        font-size: 1.2rem;
    }
    
    .contact-info {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.6rem;
    }
    
    .policy-section {
        padding: 20px 15px;
    }
    
    .policy-section h2 {
        font-size: 1.3rem;
    }
    
    .policy-section ul li {
        font-size: 0.95rem;
    }
}

/* 打印样式 */
@media print {
    .navbar,
    .footer,
    .background-animation {
        display: none;
    }
    
    .privacy-content {
        padding-top: 20px;
    }
    
    .policy-section {
        page-break-inside: avoid;
        border: 1px solid #333;
        box-shadow: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .page-header h1,
    .policy-section h2,
    .policy-section h3,
    .policy-section strong,
    .contact-info p {
        color: black;
    }
    
    .policy-section p,
    .policy-section ul li {
        color: #333;
    }
    
    a {
        color: #0066cc;
        text-decoration: underline;
    }
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-3);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* 加载动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body {
    animation: fadeIn 0.5s ease;
}

/* 选中文本样式 */
::selection {
    background: rgba(0, 243, 255, 0.3);
    color: var(--text-light);
}

::-moz-selection {
    background: rgba(0, 243, 255, 0.3);
    color: var(--text-light);
}


