/* Legal and Privacy Pages */
.legal-page {
    background-image:
        linear-gradient(to bottom, #0A0A0A 0%, transparent 60%, transparent 100%),
        url('../Pics/Visual_BG.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

/* Back Button - Glassmorphism */
.back-button {
    position: fixed;
    top: 3rem;
    left: 3rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: rgba(156, 192, 192, 0.08);
    backdrop-filter: blur(60px);
    -webkit-backdrop-filter: blur(60px);
    border-radius: 12px;
    text-decoration: none;
    color: #F6F3EF;
    font-family: 'Brockmann', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    z-index: 1000;
}

/* Content Container */
.legal-content {
    max-width: 900px;
    margin: 0;
    margin-left: 3rem;
    padding: 12rem 3rem 4rem 3rem;
}

/* Typography */
.legal-content h1 {
    font-family: 'Brockmann', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 4rem;
    font-weight: normal;
    color: #F6F3EF;
    margin: 0 0 1rem 0;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.legal-content .last-updated {
    font-family: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    color: #F6F3EF;
    opacity: 0.7;
    margin: 0 0 4rem 0;
    letter-spacing: 0.05em;
}

.legal-content h2 {
    font-family: 'Brockmann', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 2rem;
    font-weight: normal;
    color: #F6F3EF;
    margin: 4rem 0 1.5rem 0;
    letter-spacing: -0.01em;
}

.legal-content h3 {
    font-family: 'Brockmann', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.2rem;
    font-weight: normal;
    color: #F6F3EF;
    margin: 2.5rem 0 1rem 0;
    letter-spacing: 0.02em;
}

.legal-content p {
    font-family: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.1rem;
    font-weight: normal;
    color: #F6F3EF;
    line-height: 1.8;
    margin: 0 0 1.5rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    /* iOS does not support background-attachment: fixed.
       Use a ::before pseudo-element with position: fixed instead. */
    .legal-page {
        background-image: none;
        background-color: #0A0A0A;
        position: relative;
    }

    .legal-page::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image:
            linear-gradient(to bottom, #0A0A0A 0%, transparent 60%, transparent 100%),
            url('../Pics/Visual_BG.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        z-index: -1;
    }

    .back-button {
        top: 1.5rem;
        left: 1.5rem;
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
    }

    .legal-content {
        padding: 6rem 1.5rem 3rem 1.5rem;
        margin-left: 0;
    }

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

    .legal-content h2 {
        font-size: 1.5rem;
        margin: 3rem 0 1rem 0;
    }

    .legal-content h3 {
        font-size: 1.1rem;
    }

    .legal-content p {
        font-size: 1rem;
    }
}
