/* Legal Pages Styles */
.legal-page {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.legal-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #5CD6D6 0%, #3676E2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 3rem;
    font-style: italic;
}

.legal-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(92, 214, 214, 0.2);
    border-radius: 15px;
}

.legal-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #5CD6D6;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(92, 214, 214, 0.3);
}

.legal-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section p {
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul {
    list-style: disc;
    padding-left: 2rem;
    margin: 1rem 0;
}

.legal-section li {
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.legal-section a {
    color: #5CD6D6;
    text-decoration: none;
    border-bottom: 1px solid rgba(92, 214, 214, 0.3);
    transition: all 0.3s ease;
}

.legal-section a:hover {
    color: #3676E2;
    border-bottom-color: rgba(54, 118, 226, 0.5);
}

.legal-section strong {
    color: #f1f5f9;
    font-weight: 600;
}

.last-updated {
    font-size: 0.9rem;
    color: #94a3b8;
    font-style: italic;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(92, 214, 214, 0.2);
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-top: 2px solid rgba(92, 214, 214, 0.3);
    padding: 1.5rem 2rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-text h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #5CD6D6;
    margin-bottom: 0.5rem;
}

.cookie-consent-text p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.cookie-consent-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #5CD6D6 0%, #3676E2 100%);
    color: white;
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(92, 214, 214, 0.4);
}

.cookie-btn-reject {
    background: rgba(30, 41, 59, 0.8);
    color: #cbd5e1;
    border: 1px solid rgba(92, 214, 214, 0.3);
}

.cookie-btn-reject:hover {
    background: rgba(30, 41, 59, 1);
    border-color: rgba(92, 214, 214, 0.5);
}

.cookie-btn-customize {
    background: transparent;
    color: #5CD6D6;
    border: 1px solid rgba(92, 214, 214, 0.5);
}

.cookie-btn-customize:hover {
    background: rgba(92, 214, 214, 0.1);
    border-color: rgba(92, 214, 214, 0.7);
}

.cookie-btn-primary {
    background: linear-gradient(135deg, #5CD6D6 0%, #3676E2 100%);
    color: white;
}

.cookie-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(92, 214, 214, 0.4);
}

.cookie-btn-secondary {
    background: rgba(30, 41, 59, 0.8);
    color: #cbd5e1;
    border: 1px solid rgba(92, 214, 214, 0.3);
}

.cookie-btn-secondary:hover {
    background: rgba(30, 41, 59, 1);
    border-color: rgba(92, 214, 214, 0.5);
}

/* Cookie Consent Modal */
.cookie-consent-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cookie-consent-modal.show {
    opacity: 1;
    pointer-events: all;
}

.cookie-consent-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.cookie-consent-modal-content {
    position: relative;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(92, 214, 214, 0.3);
    border-radius: 20px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.cookie-consent-modal.show .cookie-consent-modal-content {
    transform: scale(1);
}

.cookie-consent-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid rgba(92, 214, 214, 0.2);
}

.cookie-consent-modal-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0;
    background: linear-gradient(135deg, #5CD6D6 0%, #3676E2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cookie-consent-close {
    background: none;
    border: none;
    color: #cbd5e1;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cookie-consent-close:hover {
    background: rgba(92, 214, 214, 0.1);
    color: #5CD6D6;
}

.cookie-consent-modal-body {
    padding: 2rem;
}

.cookie-consent-modal-body > p {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-category {
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(92, 214, 214, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.cookie-category:hover {
    border-color: rgba(92, 214, 214, 0.4);
    background: rgba(30, 41, 59, 0.7);
}

.cookie-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.cookie-category-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f1f5f9;
    margin: 0;
    flex: 1;
}

.cookie-category-description {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Toggle Switch */
.cookie-category-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.cookie-category-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(92, 214, 214, 0.3);
    transition: 0.3s;
    border-radius: 26px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-category-toggle input:checked + .cookie-toggle-slider {
    background: linear-gradient(135deg, #5CD6D6 0%, #3676E2 100%);
    border-color: rgba(92, 214, 214, 0.5);
}

.cookie-category-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(24px);
    background-color: white;
}

.cookie-category-toggle input:disabled + .cookie-toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-consent-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(92, 214, 214, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .legal-content {
        padding: 0 1rem;
    }

    .legal-content h1 {
        font-size: 2rem;
    }

    .legal-section {
        padding: 1.5rem;
    }

    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent-buttons {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }

    .cookie-consent-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .cookie-consent-modal-header,
    .cookie-consent-modal-body,
    .cookie-consent-modal-footer {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .cookie-consent-banner {
        padding: 1rem;
    }

    .cookie-consent-text h3 {
        font-size: 1.1rem;
    }

    .cookie-consent-text p {
        font-size: 0.85rem;
    }

    .cookie-consent-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }

    .cookie-consent-modal-footer {
        flex-direction: column;
    }

    .cookie-consent-modal-footer .cookie-btn {
        width: 100%;
    }
}

