/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 - 与主站保持一致 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    text-decoration: none;
}

.nav-logo h2 {
    color: #2563eb;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #2563eb;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 主内容区域 */
.privacy-main {
    margin-top: 0;
    min-height: 100vh;
}

/* 页面标题区域 */
.privacy-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0 2rem;
    text-align: center;
}

.privacy-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.last-updated {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}



/* 内容区域布局 */
.privacy-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    padding: 3rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* 目录侧边栏 */
.privacy-toc {
    position: sticky;
    top: 20px;
    height: fit-content;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.privacy-toc h3 {
    color: #1e293b;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 0.5rem;
}

.privacy-toc ul {
    list-style: none;
}

.privacy-toc li {
    margin-bottom: 0.5rem;
}

.privacy-toc a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.5rem 0;
    display: block;
    transition: all 0.3s ease;
    border-radius: 6px;
    padding-left: 0.75rem;
}

.privacy-toc a:hover {
    color: #2563eb;
    background: #f1f5f9;
    padding-left: 1rem;
}

/* 主要文章内容 */
.privacy-article {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.privacy-section {
    padding: 2.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.privacy-section:last-child {
    border-bottom: none;
}

.privacy-section h2 {
    color: #1e293b;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #2563eb;
}

.privacy-section h3 {
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.privacy-section h4 {
    color: #1e293b;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
}

.privacy-section p {
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.privacy-section ul li {
    color: #64748b;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
}

/* 突出显示框 */
.highlight-box {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.highlight-box i {
    color: #0ea5e9;
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.highlight-box h4 {
    color: #0c4a6e;
    margin: 0 0 0.5rem;
}

.highlight-box p {
    color: #0c4a6e;
    margin: 0;
}

/* 信息网格 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.info-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.info-card i {
    color: #2563eb;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-card h4 {
    color: #1e293b;
    margin: 0 0 1rem;
}

.info-card ul {
    list-style: none;
    margin: 0;
}

.info-card li {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    padding-left: 0;
}

.info-card li::before {
    content: "•";
    color: #2563eb;
    margin-right: 0.5rem;
}

/* 收集方式列表 */
.collection-methods {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.collection-methods li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.collection-methods li:last-child {
    border-bottom: none;
}

/* 使用目的 */
.use-purposes {
    margin: 2rem 0;
}

.purpose-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 1rem;
    border-left: 4px solid #2563eb;
}

.purpose-item i {
    color: #2563eb;
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.purpose-item h4 {
    color: #1e293b;
    margin: 0 0 0.5rem;
}

.purpose-item p {
    color: #64748b;
    margin: 0;
}

/* 共享条件 */
.sharing-conditions {
    margin: 2rem 0;
}

.condition-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f0fdf4;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border-left: 4px solid #22c55e;
}

.condition-item i {
    color: #22c55e;
    font-size: 1.25rem;
}

.condition-item span {
    color: #166534;
    font-weight: 500;
}

/* 安全措施 */
.security-measures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.security-item {
    background: #fefbf3;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.security-item i {
    color: #ea580c;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.security-item h4 {
    color: #9a3412;
    margin: 0 0 0.5rem;
}

.security-item p {
    color: #9a3412;
    font-size: 0.875rem;
    margin: 0;
}

/* 用户权利 */
.rights-list {
    margin: 2rem 0;
}

.right-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f0f9ff;
    border-radius: 12px;
    margin-bottom: 1rem;
    border-left: 4px solid #0ea5e9;
}

.right-item i {
    color: #0ea5e9;
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.right-item h4 {
    color: #0c4a6e;
    margin: 0 0 0.5rem;
}

.right-item p {
    color: #0c4a6e;
    margin: 0;
}

/* 联系信息 */
.contact-info {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid #2563eb;
}

.contact-info p {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-info ul {
    list-style: none;
}

.contact-info li {
    color: #64748b;
    padding: 0.25rem 0;
}

/* Cookie类型 */
.cookie-types {
    margin: 2rem 0;
}

.cookie-type {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.cookie-type h4 {
    color: #1e293b;
    margin: 0 0 0.5rem;
}

.cookie-type p {
    color: #64748b;
    margin: 0;
    padding-right: 4rem;
}

.cookie-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.cookie-status.required {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.cookie-status.optional {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* 第三方服务 */
.third-party-list {
    margin: 2rem 0;
}

.third-party-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
}

.third-party-item i {
    color: #2563eb;
    font-size: 1.5rem;
}

.third-party-item h4 {
    color: #1e293b;
    margin: 0 0 0.25rem;
}

.third-party-item p {
    color: #64748b;
    margin: 0;
    font-size: 0.875rem;
}

/* 政策更新 */
.policy-updates {
    background: #f0f9ff;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid #0ea5e9;
}

.policy-updates li {
    color: #0c4a6e;
    margin-bottom: 0.5rem;
}

.version-info {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.version-info h4 {
    color: #1e293b;
    margin: 0 0 1rem;
}

.version-info ul {
    list-style: none;
}

.version-info li {
    color: #64748b;
    font-size: 0.875rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.version-info li:last-child {
    border-bottom: none;
}

/* 联系网格 */
.contact-grid {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.contact-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.contact-card i {
    color: #2563eb;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-card h4 {
    color: #1e293b;
    margin: 0 0 0.5rem;
}

.contact-card p {
    color: #2563eb;
    font-weight: 600;
    font-size: 1.125rem;
    margin: 0 0 0.5rem;
}

.contact-card span {
    color: #64748b;
    font-size: 0.875rem;
}

/* 响应时间 */
.response-time {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.response-time i {
    color: #16a34a;
    font-size: 1.5rem;
}

.response-time p {
    color: #166534;
    margin: 0;
    font-weight: 500;
}

/* 页脚样式 */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #94a3b8;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 1rem;
    text-align: center;
    color: #94a3b8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .privacy-header h1 {
        font-size: 2rem;
    }

    .privacy-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 0;
    }

    .privacy-toc {
        position: static;
        order: 2;
    }

    .privacy-article {
        order: 1;
    }

    .privacy-section {
        padding: 1.5rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .security-measures {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }


}

@media (max-width: 480px) {
    .privacy-header h1 {
        font-size: 1.75rem;
    }

    .privacy-section h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 15px;
    }

    .purpose-item,
    .right-item {
        flex-direction: column;
        text-align: center;
    }

    .purpose-item i,
    .right-item i {
        margin-top: 0;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 滚动动画 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
