/* ===================================
   Legal Pages Styles
   Terms of Service & Privacy Policy
   =================================== */

.legal-page {
    min-height: 100vh;
    position: relative;
    z-index: 10;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 60px 80px;
}

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

.legal-header h1 {
    font-size: 48px;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
}

.legal-updated {
    font-size: 14px;
    color: var(--text-secondary);
}

.legal-body {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Sections */
.legal-section {
    margin-bottom: 48px;
}

.legal-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-top: 28px;
    margin-bottom: 12px;
}

.legal-section p {
    margin-bottom: 16px;
    font-size: 15px;
}

.legal-section ul,
.legal-section ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-section li {
    margin-bottom: 8px;
    font-size: 15px;
}

.legal-section strong {
    color: white;
}

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

.legal-section a:hover {
    color: white;
    text-decoration: underline;
}

/* Summary Box */
.summary-box {
    background: rgba(25, 118, 210, 0.1);
    border: 1px solid rgba(25, 118, 210, 0.2);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 48px;
}

.summary-box h2 {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 16px;
}

.summary-box em {
    color: var(--primary-light);
    font-style: italic;
}

/* Legal Caps (for disclaimers) */
.legal-caps {
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Tables */
.legal-table {
    margin: 20px 0;
    overflow-x: auto;
}

.legal-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.legal-table th,
.legal-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-table th {
    background: rgba(0, 0, 0, 0.3);
    color: white;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legal-table td {
    font-size: 14px;
    color: var(--text-secondary);
}

.legal-table tr:last-child td {
    border-bottom: none;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-content {
        padding: 120px 24px 60px;
    }

    .legal-header h1 {
        font-size: 32px;
    }

    .legal-section h2 {
        font-size: 20px;
    }

    .legal-section h3 {
        font-size: 16px;
    }

    .summary-box {
        padding: 24px;
    }

    .legal-table {
        font-size: 13px;
    }

    .legal-table th,
    .legal-table td {
        padding: 10px 12px;
    }
}

