/* ================================================
   REX9 LEGAL PAGES STYLE
   Used for Privacy Policy & Terms of Service
   ================================================ */

.page-header {
    padding: 8rem 0 5rem;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.page-header .hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.page-header .hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.legal-document {
    padding: 4rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 24px;
    margin: 4rem auto;
    max-width: 900px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.legal-document h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 2.5rem 0 1.25rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-document h2:first-child {
    margin-top: 0;
}

.legal-document p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.legal-document ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.legal-document ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

.legal-document ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

@media (max-width: 768px) {
    .page-header .hero-title {
        font-size: 2.5rem;
    }

    .legal-document {
        padding: 2rem;
        margin: 2rem 1rem;
    }

    .legal-document h2 {
        font-size: 1.5rem;
    }
}