/* Legal Pages Specific Styles */

/* Legal Header */
.legal-header {
    background: var(--bg-section);
    padding: 6rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.legal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    transform: skewY(-3deg);
}

.legal-header h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.legal-header p {
    color: var(--gray-light);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

/* Legal Content */
.legal-content {
    padding: 4rem 0;
    background: var(--bg-dark);
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 20px;
    padding: 3rem;
}

.legal-text h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
    position: relative;
    padding-bottom: 0.5rem;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gradient-primary);
}

.legal-text h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.legal-text p {
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-text ul {
    margin-bottom: 1.5rem;
    padding-left: 0;
    list-style: none;
}

.legal-text ul li {
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.legal-text ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.legal-text strong {
    color: var(--white);
    font-weight: 600;
}

.legal-text a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-text a:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Cookie Table */
.cookie-table {
    width: 100%;
    margin: 1rem 0 2rem;
    border-collapse: collapse;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.cookie-table th {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.cookie-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    color: var(--gray-light);
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.cookie-table tr:hover td {
    background: rgba(139, 92, 246, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-text {
        padding: 2rem 1.5rem;
    }
    
    .legal-text h2 {
        font-size: 1.5rem;
    }
    
    .cookie-table {
        font-size: 0.875rem;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 0.75rem 0.5rem;
    }
}