﻿/* Privacy Policy Page Styles */
.privacy-policy-content {
    padding: 120px 0 80px;
    margin-top: 70px;
    background: #f8f9fa;
    min-height: calc(100vh - 70px);
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--primary-color);
}

    .page-header h1 {
        font-size: 48px;
        font-weight: 700;
        color: var(--text-color);
        margin-bottom: 16px;
    }

.last-updated {
    color: #666;
    font-size: 16px;
    font-style: italic;
}

.table-of-contents {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

    .table-of-contents h2 {
        font-size: 24px;
        font-weight: 600;
        margin-bottom: 20px;
        color: var(--text-color);
    }

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

    .toc-list li {
        margin-bottom: 8px;
    }

    .toc-list a {
        display: block;
        padding: 12px 16px;
        background: #f8f9fa;
        color: var(--text-color);
        text-decoration: none;
        border-radius: 8px;
        transition: all 0.3s;
        border-left: 3px solid transparent;
    }

        .toc-list a:hover {
            background: var(--primary-color);
            color: #fff;
            border-left-color: var(--primary-hover);
            transform: translateX(4px);
        }

.policy-content {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.policy-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

    .policy-section:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .policy-section h2 {
        font-size: 28px;
        font-weight: 600;
        color: var(--text-color);
        margin-bottom: 20px;
        padding-top: 20px;
    }

    .policy-section h3 {
        font-size: 20px;
        font-weight: 600;
        color: var(--text-color);
        margin: 24px 0 16px;
    }

    .policy-section p {
        color: #666;
        line-height: 1.7;
        margin-bottom: 16px;
    }

    .policy-section ul {
        margin: 16px 0;
        padding-left: 24px;
    }

    .policy-section li {
        color: #666;
        line-height: 1.6;
        margin-bottom: 8px;
    }

    .policy-section strong {
        color: var(--text-color);
        font-weight: 600;
    }

    .policy-section a {
        color: var(--primary-color);
        text-decoration: none;
        border-bottom: 1px solid transparent;
        transition: border-color 0.3s;
    }

        .policy-section a:hover {
            border-bottom-color: var(--primary-color);
        }

.contact-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 16px;
}

    .contact-info p {
        margin-bottom: 8px;
    }

        .contact-info p:last-child {
            margin-bottom: 0;
        }

.back-to-top {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

    .back-to-top .el-button {
        height: 44px;
        padding: 0 24px;
        font-size: 16px;
    }

/* Responsive adjustments for privacy policy page */
@media (max-width: 768px) {
    .privacy-policy-content {
        padding: 100px 0 60px;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .table-of-contents {
        padding: 20px;
    }

    .toc-list {
        grid-template-columns: 1fr;
    }

    .policy-content {
        padding: 24px;
    }

    .policy-section h2 {
        font-size: 24px;
    }

    .policy-section h3 {
        font-size: 18px;
    }
}

/* Cookie Policy Page Styles */
.cookie-policy-content {
    padding: 120px 0 80px;
    margin-top: 70px;
    background: #f8f9fa;
    min-height: calc(100vh - 70px);
}

/* Responsive adjustments for cookie policy page */
@media (max-width: 768px) {
    .cookie-policy-content {
        padding: 100px 0 60px;
    }
}

/* Terms of Service Page Styles */
.terms-of-service-content {
    padding: 120px 0 80px;
    margin-top: 70px;
    background: #f8f9fa;
    min-height: calc(100vh - 70px);
}

/* Responsive adjustments for terms of service page */
@media (max-width: 768px) {
    .terms-of-service-content {
        padding: 100px 0 60px;
    }
}
