/* 隐私协议页样式 - 全新现代化设计 */

/* ==================== 页面头部 ==================== */
.privacy-hero {
    position: relative;
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: var(--white);
    margin-top: 80px;
    overflow: hidden;
}

.privacy-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.privacy-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.privacy-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeInDown 0.6s ease;
}

.privacy-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.privacy-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.privacy-hero-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.6s both;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.privacy-hero-shape {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--bg-alt);
    transform: skewY(-2deg);
    z-index: 1;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .privacy-hero {
        padding: 6rem 0 4rem;
        margin-top: 70px;
    }
    
    .privacy-hero-title {
        font-size: 2.5rem;
    }
    
    .privacy-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .privacy-hero-meta {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ==================== 内容区域 ==================== */
.privacy-content {
    padding: 4rem 0 6rem;
    background: var(--bg-alt);
    position: relative;
}

.privacy-main-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* ==================== 引言卡片 ==================== */
.privacy-intro-card {
    background: var(--white);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.privacy-intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.intro-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.intro-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.intro-highlight {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 1rem;
    border-left: 4px solid var(--primary);
}

.intro-highlight i {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.intro-highlight strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.intro-highlight p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .privacy-intro-card {
        padding: 2rem;
    }
    
    .intro-title {
        font-size: 1.75rem;
    }
}

/* ==================== 章节样式 ==================== */
.privacy-section {
    background: var(--white);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
    transition: all 0.3s ease;
}

.privacy-section:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.section-header-modern {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gray-lighter);
}

.section-number {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    flex-shrink: 0;
}

.section-title-wrapper {
    flex: 1;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0;
}

.section-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .privacy-section {
        padding: 2rem;
    }
    
    .section-header-modern {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-number {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

/* ==================== 信息收集卡片 ==================== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.info-card {
    padding: 2rem;
    background: var(--bg-alt);
    border-radius: 1.25rem;
    border: 2px solid var(--gray-lighter);
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
}

.info-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}

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

.info-card-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-light);
}

.info-card-list li i {
    color: var(--success);
    font-size: 0.875rem;
}

/* ==================== 信息使用网格 ==================== */
.use-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.use-item {
    padding: 2rem;
    background: var(--bg-alt);
    border-radius: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.use-item:hover {
    border-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
}

.use-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.use-item:hover .use-icon {
    transform: scale(1.1) rotate(5deg);
}

.use-item h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.use-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* ==================== 信息保护卡片 ==================== */
.protection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.protection-card {
    padding: 2.5rem;
    background: var(--bg-alt);
    border-radius: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--gray-lighter);
}

.protection-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
}

.protection-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.protection-card:hover .protection-icon {
    transform: scale(1.15) rotate(5deg);
}

.protection-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}

.protection-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* ==================== 信息共享 ==================== */
.alert-modern {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 1.25rem;
    margin-bottom: 2rem;
}

.alert-warning-modern {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(251, 191, 36, 0.1) 100%);
    border-left: 4px solid var(--warning);
}

.alert-icon {
    font-size: 2rem;
    color: var(--warning);
    flex-shrink: 0;
}

.alert-content strong {
    display: block;
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.alert-content p {
    margin: 0;
    color: var(--text-light);
}

.sharing-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sharing-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-alt);
    border-radius: 1.25rem;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.sharing-item:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
}

.sharing-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.sharing-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.sharing-content p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

/* ==================== 数据保留时间线 ==================== */
.retention-timeline {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 2rem;
}

.retention-timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -1.75rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.timeline-content {
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: 1rem;
    border-left: 4px solid var(--primary);
}

.timeline-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.timeline-content p {
    margin: 0;
    color: var(--text-light);
}

.retention-note {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 1rem;
    border-left: 4px solid var(--primary);
}

.retention-note i {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.retention-note p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.7;
}

/* ==================== 用户权利网格 ==================== */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.right-card {
    padding: 2rem;
    background: var(--bg-alt);
    border-radius: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--gray-lighter);
}

.right-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
}

.right-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.right-card:hover .right-icon {
    transform: scale(1.1) rotate(-5deg);
}

.right-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.right-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.rights-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-alt);
    border-radius: 1rem;
    border-left: 4px solid var(--primary);
}

.rights-contact i {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.rights-contact p {
    margin: 0;
    color: var(--text-light);
}

.rights-contact a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.rights-contact a:hover {
    text-decoration: underline;
}

/* ==================== Cookies ==================== */
.cookies-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cookie-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-alt);
    border-radius: 1rem;
    border-left: 4px solid var(--success);
}

.cookie-item i {
    font-size: 1.25rem;
    color: var(--success);
    flex-shrink: 0;
}

.cookie-item span {
    color: var(--text-light);
    font-size: 1.05rem;
}

.cookies-note {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 1rem;
    border-left: 4px solid var(--primary);
}

.cookies-note i {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.cookies-note p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.7;
}

/* ==================== 政策变更 ==================== */
.changes-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.changes-highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-alt);
    border-radius: 1rem;
    border-left: 4px solid var(--primary);
}

.changes-highlight i {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.changes-highlight span {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* ==================== 联系我们 ==================== */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-card {
    padding: 2.5rem;
    background: var(--bg-alt);
    border-radius: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--gray-lighter);
}

.contact-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-card h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}

.contact-card a {
    color: var(--primary);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-card a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ==================== 同意按钮 ==================== */
.privacy-consent {
    margin-top: 4rem;
}

.consent-card {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 2rem;
    padding: 3rem;
    text-align: center;
    color: var(--white);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.consent-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.consent-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.consent-card p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.consent-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-consent {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 1rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-consent-primary {
    background: var(--white);
    color: var(--primary);
}

.btn-consent-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
    color: var(--primary);
}

.btn-consent-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-consent-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

@media (max-width: 768px) {
    .consent-card {
        padding: 2rem;
    }
    
    .consent-card h3 {
        font-size: 1.5rem;
    }
    
    .consent-actions {
        flex-direction: column;
    }
    
    .btn-consent {
        width: 100%;
        justify-content: center;
    }
}

/* ==================== 响应式优化 ==================== */
@media (max-width: 768px) {
    .info-grid,
    .use-grid,
    .protection-grid,
    .rights-grid,
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .sharing-item {
        flex-direction: column;
        text-align: center;
    }
    
    .sharing-icon {
        margin: 0 auto;
    }
}
