/* Legal Pages Styles */
.legal-page {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 80vh;
}

.legal-page h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.legal-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 50px;
}

.legal-section {
    margin-bottom: 45px;
    padding-bottom: 35px;
    border-bottom: 1px solid var(--glass-border);
}

.legal-section:last-of-type {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text-color);
}

.legal-section h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text-color);
}

.legal-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section ul {
    list-style: none;
    margin: 16px 0;
    padding-left: 0;
}

.legal-section ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.legal-section ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-section a:hover {
    color: var(--text-color);
    text-decoration: underline;
}

.legal-section strong {
    color: var(--text-color);
}

.legal-nav {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.legal-nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.legal-nav a:hover {
    color: var(--text-color);
}

/* Responsive for legal pages */
@media (max-width: 768px) {
    .legal-page {
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .legal-page h1 {
        font-size: 2rem;
    }

    .legal-subtitle {
        font-size: 1rem;
        margin-bottom: 35px;
    }

    .legal-section {
        margin-bottom: 35px;
        padding-bottom: 28px;
    }

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

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

    .legal-section p,
    .legal-section ul li {
        font-size: 0.95rem;
    }

    .legal-nav {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .legal-page h1 {
        font-size: 1.7rem;
    }

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