/* ========== 隐私政策页面样式 ========== */

/* 页面标题区域 */
.policy-hero {
    background: linear-gradient(135deg, #1e90ff 0%, #00bfff 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.policy-hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: bold;
}

.policy-hero p {
    font-size: 18px;
    margin-bottom: 10px;
    opacity: 0.95;
}

.policy-updated {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 15px;
}

/* 隐私政策内容容器 */
.policy-content {
    background: #f9f9f9;
    padding: 40px 20px;
    min-height: calc(100vh - 400px);
}

.policy-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 目录侧边栏 */
.policy-toc {
    background: white;
    padding: 25px;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.policy-toc h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #1e90ff;
    border-bottom: 2px solid #1e90ff;
    padding-bottom: 10px;
}

.policy-toc ul {
    list-style: none;
    padding: 0;
}

.policy-toc li {
    margin-bottom: 12px;
}

.policy-toc a {
    text-decoration: none;
    color: #333;
    font-size: 13px;
    transition: all 0.3s;
    display: block;
    padding: 5px 10px;
    border-radius: 4px;
}

.policy-toc a:hover {
    background: #f0f0f0;
    color: #1e90ff;
    padding-left: 15px;
}

/* 主要内容区域 */
.policy-main {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 政策章节 */
.policy-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
}

.policy-section:last-child {
    border-bottom: none;
}

.policy-section h2 {
    font-size: 28px;
    color: #1e90ff;
    margin-bottom: 20px;
    font-weight: bold;
}

.policy-section h3 {
    font-size: 18px;
    color: #333;
    margin-top: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}

.policy-section p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

/* 列表样式 */
.policy-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.policy-list li {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.policy-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1e90ff;
    font-weight: bold;
    font-size: 16px;
}

/* 政策卡片 */
.policy-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.policy-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #1e90ff;
    transition: all 0.3s;
}

.policy-card:hover {
    box-shadow: 0 4px 12px rgba(30, 144, 255, 0.2);
    transform: translateY(-2px);
}

.policy-card h3 {
    font-size: 16px;
    color: #1e90ff;
    margin-bottom: 10px;
    margin-top: 0;
}

.policy-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* 用户权利区域 */
.policy-rights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.right-item {
    background: linear-gradient(135deg, #f0f8ff 0%, #e0f4ff 100%);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #1e90ff;
    transition: all 0.3s;
}

.right-item:hover {
    box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
    transform: translateY(-3px);
}

.right-item h3 {
    font-size: 16px;
    color: #1e90ff;
    margin-bottom: 10px;
    margin-top: 0;
}

.right-item p {
    font-size: 14px;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* 联系信息 */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.contact-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.contact-item h3 {
    font-size: 16px;
    color: #1e90ff;
    margin-bottom: 12px;
    margin-top: 0;
}

.contact-item p {
    font-size: 14px;
    color: #555;
    margin: 0;
    line-height: 1.8;
}

.contact-item a {
    color: #1e90ff;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #00bfff;
    text-decoration: underline;
}

/* 底部免责声明 */
.policy-footer {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}

.policy-disclaimer {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    border-radius: 4px;
}

.policy-disclaimer h3 {
    color: #856404;
    margin-top: 0;
}

.policy-disclaimer p {
    color: #856404;
    font-size: 14px;
    margin: 0;
}

/* ========== 响应式设计 ========== */
@media (max-width: 1024px) {
    .policy-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .policy-toc {
        position: static;
        margin-bottom: 30px;
    }

    .policy-main {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .policy-hero h1 {
        font-size: 36px;
    }

    .policy-hero p {
        font-size: 16px;
    }

    .policy-main {
        padding: 20px;
    }

    .policy-section h2 {
        font-size: 24px;
    }

    .policy-section h3 {
        font-size: 16px;
    }

    .policy-cards,
    .policy-rights,
    .contact-info {
        grid-template-columns: 1fr;
    }

    .policy-toc {
        display: none;
    }
}

@media (max-width: 480px) {
    .policy-hero {
        padding: 40px 15px;
    }

    .policy-hero h1 {
        font-size: 28px;
    }

    .policy-content {
        padding: 20px 15px;
    }

    .policy-main {
        padding: 15px;
    }

    .policy-section {
        margin-bottom: 30px;
        padding-bottom: 30px;
    }

    .policy-section h2 {
        font-size: 20px;
    }

    .policy-list li {
        font-size: 14px;
        padding-left: 25px;
    }
}
