/* Legal Documents Styling */
.legal-document {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.legal-document .document-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-document .document-header p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.legal-document .document-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--light-text);
    margin: 2rem 0;
    line-height: 1.3;
}

.legal-document .document-header small {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-top: 1rem;
}

.legal-document h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.legal-document p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.2rem;
}

.legal-document ul {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0 2rem;
}

.legal-document ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.legal-document ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
}

.legal-document strong {
    color: var(--light-text);
    font-weight: 600;
}

.legal-document table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
}

.legal-document table th,
.legal-document table td {
    padding: 1rem;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.legal-document table th {
    background: rgba(255, 255, 255, 0.05);
    font-weight: 600;
    color: var(--light-text);
}

.legal-document table td {
    color: rgba(255, 255, 255, 0.9);
}

.back-to-main {
    display: inline-flex;
    align-items: center;
    color: var(--light-text);
    text-decoration: none;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.back-to-main i {
    margin-right: 0.8rem;
    font-size: 1rem;
}

.back-to-main:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
    transform: translateX(-5px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .legal-document {
        padding: 2rem;
    }

    .legal-document .document-header h1 {
        font-size: 2.4rem;
    }

    .legal-document h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .legal-document {
        padding: 1.5rem;
    }

    .legal-document .document-header {
        margin-bottom: 3rem;
    }

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

    .legal-document .document-header small {
        font-size: 1rem;
    }

    .legal-document h3 {
        font-size: 1.4rem;
        margin: 2rem 0 1rem;
    }

    .legal-document p,
    .legal-document ul li {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .legal-document {
        padding: 1rem;
    }

    .legal-document .document-header h1 {
        font-size: 1.8rem;
    }

    .legal-document h3 {
        font-size: 1.3rem;
    }

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

    .back-to-main {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }
} 