/* ==================== LEGAL PAGES STYLING ==================== */

.legal-page {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 80px;
}

.legal-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    background: linear-gradient(90deg, #10b981, #3b82f6, #10b981);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    text-align: center;
}

.legal-content {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 3rem;
    margin-bottom: 3rem;
}

.legal-section {
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.legal-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-primary);
    display: inline-block;
}

.legal-section h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.legal-section p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.legal-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.legal-list li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.legal-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

.legal-list li strong {
    color: var(--text-primary);
}

.legal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.legal-footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.legal-actions {
    text-align: center;
    margin-bottom: 2rem;
}

.legal-actions .btn-primary {
    display: inline-block;
}

/* ==================== RESPONSIVE LEGAL PAGES ==================== */
@media (max-width: 768px) {
    .legal-page {
        padding-top: 100px;
    }

    .legal-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .legal-content {
        padding: 1.5rem;
    }

    .legal-section h2 {
        font-size: 1.25rem;
    }

    .legal-section h3 {
        font-size: 1rem;
    }

    .legal-section p,
    .legal-list li {
        font-size: 0.9rem;
    }

    .navbar .nav-links a.active {
        color: var(--accent-primary);
    }
}

/* ==================== CODE SNIPPET STYLING ==================== */
.code-snippet {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1.5rem 0;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #10b981;
}

.code-snippet code {
    color: #10b981;
}

/* ==================== HIGHLIGHT BOX ==================== */
.highlight-box {
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid var(--accent-primary);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0.5rem;
}

.highlight-box p {
    color: var(--text-primary);
    font-weight: 500;
}
