/* Legal Pages Styles */
.legal-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.legal-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.legal-content {
    color: var(--text-light);
}

.legal-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-light), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.last-updated {
    color: var(--text-light);
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 3rem;
    text-align: center;
    font-style: italic;
}

.legal-section {
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.legal-section:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-color);
    transform: translateX(5px);
}

.legal-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-section h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 24px;
    background: var(--accent-color);
    border-radius: 2px;
}

.legal-section h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem;
    color: var(--text-light);
    opacity: 0.9;
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
    opacity: 0.9;
    font-size: 1.05rem;
}

.legal-section ul {
    list-style-type: none;
    margin-left: 0.5rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.8rem;
    opacity: 0.9;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.legal-section li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Child Safety specific styles */
.legal-section strong {
    color: var(--accent-color);
    font-weight: 600;
}

.legal-section a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.legal-section a:hover {
    border-bottom-color: var(--accent-color);
    opacity: 0.8;
}

/* Table of Contents */
.toc {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toc h2 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.toc ul {
    list-style: none;
    padding: 0;
}

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

.toc a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.3rem 0;
}

.toc a:hover {
    opacity: 1;
    color: var(--accent-color);
    transform: translateX(5px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--accent-color);
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Back to Home Button */
.back-to-home {
    display: inline-block;
    margin-bottom: 2rem;
    padding: 0.5rem 1rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid var(--accent-color);
}

.back-to-home:hover {
    background-color: rgba(129, 140, 248, 0.1);
    transform: translateX(-5px);
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .legal-container {
        margin: 1rem;
        padding: 1.5rem;
    }

    .legal-content h1 {
        font-size: 2.2rem;
    }

    .legal-section {
        padding: 1.2rem;
    }

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

    .legal-section h3 {
        font-size: 1.2rem;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
    }
}

.logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 2rem;
    display: block;
} 