/* ========================================
   LEGAL PAGE STYLES
======================================== */

.legal-page {
    min-height: 100vh;
    padding: 140px 0 80px;
    /* Background handled by body in styles.css for consistency */
}

.legal-header {
    text-align: center;
    margin-bottom: 60px;
}

.legal-title {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.2;
}

.legal-subtitle {
    font-size: 20px;
    color: #009C6C;
    font-weight: 600;
    margin-bottom: 8px;
}

.legal-date {
    font-size: 14px;
    color: #9BA1A6;
    font-weight: 500;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-intro {
    background: rgba(0, 156, 108, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 156, 108, 0.25);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px rgba(0, 156, 108, 0.15),
                0 1px 1px rgba(255, 255, 255, 0.1) inset;
}

.legal-intro p {
    font-size: 16px;
    line-height: 1.7;
    color: #E0E4E8;
    margin-bottom: 16px;
}

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

.legal-intro strong {
    color: #00D68F;
    font-weight: 700;
}

.legal-section {
    background: rgba(21, 22, 32, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3),
                0 1px 1px rgba(255, 255, 255, 0.08) inset;
    transition: all 0.3s ease;
}

.legal-section:hover {
    border-color: rgba(0, 156, 108, 0.3);
    box-shadow: 0 12px 32px rgba(0, 156, 108, 0.15),
                0 1px 1px rgba(255, 255, 255, 0.12) inset;
    transform: translateY(-2px);
}

.legal-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 156, 108, 0.2);
}

.legal-section p {
    font-size: 16px;
    line-height: 1.7;
    color: #CACFD5;
    margin-bottom: 16px;
}

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

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

.legal-section ul li {
    font-size: 16px;
    line-height: 1.7;
    color: #CACFD5;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.legal-section ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #009C6C;
    font-weight: 700;
}

.legal-section a {
    color: #009C6C;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.legal-section a:hover {
    color: #00D68F;
}

.contact-info {
    background: rgba(0, 156, 108, 0.05);
    border-left: 3px solid #009C6C;
    padding: 20px 24px;
    margin-top: 16px;
    border-radius: 8px;
}

.contact-info p {
    margin-bottom: 8px;
    font-size: 15px;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info strong {
    color: #fff;
    font-weight: 700;
}

.contact-info a {
    color: #009C6C;
    text-decoration: underline;
}

.contact-info a:hover {
    color: #00D68F;
}

.legal-footer-cta {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Data Table Styles */
.data-table {
    overflow-x: auto;
    margin: 24px 0;
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(13, 14, 21, 0.4);
    border-radius: 12px;
    overflow: hidden;
}

.data-table thead {
    background: rgba(0, 156, 108, 0.15);
}

.data-table th {
    padding: 16px;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    color: #00D68F;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(0, 156, 108, 0.3);
}

.data-table td {
    padding: 14px 16px;
    font-size: 15px;
    color: #CACFD5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.data-table tbody tr {
    transition: background 0.2s ease;
}

.data-table tbody tr:hover {
    background: rgba(0, 156, 108, 0.08);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .legal-page {
        padding: 120px 0 60px;
    }
    
    .legal-title {
        font-size: 32px;
    }
    
    .legal-subtitle {
        font-size: 18px;
    }
    
    .legal-section {
        padding: 24px 20px;
    }
    
    .legal-section h2 {
        font-size: 20px;
    }
    
    .legal-section p,
    .legal-section ul li {
        font-size: 15px;
    }
    
    .legal-intro {
        padding: 24px 20px;
    }
    
    .data-table {
        font-size: 13px;
    }
    
    .data-table th,
    .data-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
}

