/* Legal Pages Styling */
.legal-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 2rem;
    background: var(--card-background);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(155, 122, 253, 0.1);
}

.legal-content {
    color: var(--text-color);
    line-height: 1.6;
}

.legal-content h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--hover-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.last-updated {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 3rem;
    font-style: italic;
}

.legal-content section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(155, 122, 253, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(155, 122, 253, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.legal-content section:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(155, 122, 253, 0.1);
}

.legal-content h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-content h3 {
    font-size: 1.2rem;
    color: var(--hover-color);
    margin: 1.5rem 0 1rem;
}

.legal-content p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.legal-content ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    position: relative;
}

.legal-content li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: -1.5rem;
    font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-container {
        margin: 20px;
        padding: 1.5rem;
    }

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

    .legal-content h2 {
        font-size: 1.3rem;
    }

    .legal-content h3 {
        font-size: 1.1rem;
    }

    .legal-content section {
        padding: 1rem;
    }
}

/* Print Styles */
@media print {
    .legal-container {
        box-shadow: none;
        margin: 0;
        padding: 1rem;
    }

    .legal-content {
        color: #000;
    }

    .legal-content h1 {
        -webkit-text-fill-color: #000;
    }

    header, footer {
        display: none;
    }

    .legal-content section {
        break-inside: avoid;
        border: 1px solid #ddd;
        margin-bottom: 1rem;
        background: none;
    }
}

/* Animation for sections */
.legal-content section {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger the animations */
.legal-content section:nth-child(1) { animation-delay: 0.1s; }
.legal-content section:nth-child(2) { animation-delay: 0.2s; }
.legal-content section:nth-child(3) { animation-delay: 0.3s; }
.legal-content section:nth-child(4) { animation-delay: 0.4s; }
.legal-content section:nth-child(5) { animation-delay: 0.5s; }
.legal-content section:nth-child(6) { animation-delay: 0.6s; }
.legal-content section:nth-child(7) { animation-delay: 0.7s; }
.legal-content section:nth-child(8) { animation-delay: 0.8s; }
.legal-content section:nth-child(9) { animation-delay: 0.9s; }
.legal-content section:nth-child(10) { animation-delay: 1s; } 