/* Revamped Privacy Policy & Terms Styles for Readability and Modern Look */

body {
    background: linear-gradient(135deg, #f7faff 0%, #eaf0fa 100%);
    min-height: 100vh;
}

.privacy-content {
    background: transparent;
    line-height: 1.85;
    color: #23272f;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    font-size: 1.08rem;
}

.privacy-content h1, .privacy-content h2, .privacy-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #2a3550;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.privacy-content p, .privacy-content ul, .privacy-content ol {
    margin-bottom: 1rem;
    font-size: 1.08rem;
    color: #3a3a3a;
}

.privacy-content ul {
    list-style: none;
    padding-left: 1.5rem;
}

.privacy-content ol {
    list-style: decimal;
    padding-left: 1.5rem;
}

.privacy-content ul li::before {
    content: "•";
    color: #4A7BFA;
    font-weight: bold;
    display: inline-block; 
    width: 1em;
    margin-left: -1em;
    font-size: 1.1em;
}

.privacy-content blockquote {
    margin: 2rem 0;
    padding: 1rem 2rem;
    background: #f3f6fd;
    border-left: 4px solid #4A7BFA;
    font-style: italic;
    border-radius: 0 10px 10px 0;
    color: #4a4a5a;
}

.privacy-container {
    max-width: 900px;
    margin: 3.5rem auto;
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 40px 0 rgba(80, 120, 255, 0.08), 0 1.5px 8px 0 rgba(80, 120, 255, 0.03);
    position: relative;
    z-index: 2;
    transition: box-shadow 0.2s;
}

.privacy-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}

.privacy-header .page-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #4A7BFA;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
    line-height: 1.08;
    text-shadow: 0 2px 12px rgba(74,123,250,0.08);
}

.privacy-header .effective-date {
    font-size: 1.08rem;
    color: #6b7a99;
    font-style: italic;
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: #f3f6fd;
    border-radius: 2rem;
    margin-top: 1rem;
    box-shadow: 0 1px 4px rgba(74,123,250,0.04);
}

.privacy-header::after {
    content: "";
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 4px;
    background: linear-gradient(90deg, #4A7BFA 0%, #6F42C1 100%);
    border-radius: 4px;
    opacity: 0.7;
}

.privacy-intro {
    margin-bottom: 2.5rem;
    font-size: 1.13rem;
    color: #23272f;
    line-height: 1.95;
    border-left: 5px solid #4A7BFA;
    padding: 1.5rem 2.2rem;
    background: #f6f8fd;
    border-radius: 0 16px 16px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(74,123,250,0.04);
}
.privacy-intro::before {
    content: "\201C";
    position: absolute;
    top: -30px;
    left: 10px;
    font-size: 140px;
    opacity: 0.07;
    font-family: Georgia, serif;
    color: #4A7BFA;
    pointer-events: none;
}

.privacy-toc {
    margin: 2.2rem 0 3.2rem;
    padding: 1.8rem 2.2rem;
    background: linear-gradient(145deg, #f0f5ff 0%, #f8fbff 100%);
    border-radius: 18px;
    box-shadow: 0 1px 12px rgba(74,123,250,0.05);
    border: 1px solid #e0e8f7;
}
.privacy-toc h3 {
    margin-top: 0 !important;
    margin-bottom: 1.5rem !important;
    font-size: 1.4rem;
    color: #2a3550;
    font-weight: 800;
    text-align: center;
    position: relative;
    padding-bottom: 0.8rem;
}
.privacy-toc h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #4A7BFA 0%, #6F42C1 100%);
    border-radius: 2px;
}
.privacy-toc ul {
    column-count: 2;
    column-gap: 2.5rem;
    padding-left: 0 !important;
    margin: 0;
}
.privacy-toc li {
    margin-bottom: 0.8rem;
    break-inside: avoid;
}
.privacy-toc a {
    text-decoration: none !important;
    color: #2a3550 !important;
    background: transparent;
    border-bottom: none !important;
    display: block;
    padding: 0.4rem 0.7rem;
    font-size: 1.02rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    border: 1px solid transparent;
}
.privacy-toc a:hover, .privacy-toc a:focus {
    color: #4A7BFA !important;
    background: rgba(74, 123, 250, 0.08);
    transform: translateX(5px);
    outline: none;
    border: 1px solid rgba(74, 123, 250, 0.2);
}
.privacy-toc .section-number {
    min-width: 28px;
    height: 28px;
    font-size: 0.85rem;
    background: #4A7BFA;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(74,123,250,0.2);
    text-shadow: none;
}

.privacy-section {
    margin-bottom: 2.5rem;
    padding: 2.1rem 2.2rem 1.7rem 2.2rem;
    border-radius: 18px;
    background: #f6f8fd;
    box-shadow: 0 2px 12px rgba(74,123,250,0.04);
    border: 1.5px solid #e0e7f8;
    transition: transform 0.18s, box-shadow 0.18s, background 0.18s, color 0.18s;
    position: relative;
}
.privacy-section:hover, .privacy-section:focus-within {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 6px 24px rgba(74,123,250,0.10);
    background: #eaf2ff;
    border-color: #4A7BFA;
}
.privacy-section h2 {
    font-size: 1.7rem;
    color: #2a3550;
    padding-bottom: 0.5rem;
    margin-bottom: 1.2rem;
    position: relative;
    display: flex;
    align-items: center;
    font-weight: 800;
    letter-spacing: -0.01em;
    transition: color 0.18s;
}
.privacy-section h2 .section-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 34px;
    height: 34px;
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    margin-right: 14px;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(74,123,250,0.15);
    background: #4A7BFA;
    transition: background 0.18s, color 0.18s;
    padding: 0 4px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.privacy-section:hover h2 .section-number, .privacy-section:focus-within h2 .section-number {
    background: #fff;
    color: #4A7BFA;
    border: 1.5px solid #4A7BFA;
    text-shadow: none;
}
.privacy-section h3 {
    font-size: 1.18rem;
    margin-top: 1.7rem;
    margin-bottom: 0.8rem;
    color: #2a3550;
    font-weight: 700;
}

.privacy-section p {
    margin-bottom: 1.1rem;
    line-height: 1.8;
    color: #23272f;
}
.privacy-section ul, .privacy-section ol {
    margin-bottom: 1.3rem;
    padding-left: 1.3rem;
}
.privacy-section li {
    margin-bottom: 0.7rem;
    line-height: 1.7;
    padding-left: 0.4rem;
    color: #23272f;
}
.privacy-section strong, .privacy-section b {
    font-weight: 700;
    color: #23272f;
}

.privacy-container a {
    color: #4A7BFA;
    text-decoration: none;
    border-bottom: 1px dotted #4A7BFA;
    transition: all 0.18s;
    font-weight: 500;
    border-radius: 3px;
    padding: 0 2px;
}
.privacy-container a:hover, .privacy-container a:focus {
    color: #3461D8;
    border-bottom: 1px solid #3461D8;
    background: #f0f4ff;
    outline: none;
}

.back-to-top {
    position: fixed;
    bottom: 2.2rem;
    right: 2.2rem;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #4A7BFA 60%, #6F42C1 100%);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(74,123,250,0.18);
    opacity: 0;
    transition: all 0.3s;
    transform: translateY(20px);
    z-index: 100;
}
.back-to-top.visible {
    opacity: 0.95;
    transform: translateY(0);
}
.back-to-top:hover, .back-to-top:focus {
    background: linear-gradient(135deg, #3461D8 60%, #4A7BFA 100%);
    opacity: 1;
    box-shadow: 0 4px 18px rgba(74,123,250,0.22);
    outline: none;
}

@media (max-width: 1024px) {
    .privacy-container {
        padding: 1.5rem 1rem;
        margin: 1.5rem auto;
    }
    .privacy-header .page-title {
        font-size: 2.1rem;
    }
    .privacy-section {
        padding: 1.2rem 1rem 1rem 1rem;
    }
    .privacy-intro {
        padding: 1rem 1rem;
        font-size: 1.01rem;
    }
}
@media (max-width: 700px) {
    .privacy-container {
        padding: 0.7rem 0.2rem;
        margin: 0.7rem auto;
    }
    .privacy-header .page-title {
        font-size: 1.4rem;
    }
    .privacy-section h2 {
        font-size: 1.1rem;
    }
    .privacy-section h3 {
        font-size: 1rem;
    }
    .privacy-section {
        padding: 0.7rem 0.5rem 0.5rem 0.5rem;
    }
    .privacy-intro {
        padding: 0.7rem 0.5rem;
        font-size: 0.98rem;
    }
    .privacy-toc ul {
        column-count: 1;
    }
}
