/* ── AI Internal Linking — Frontend Link Styles ────────────────────── */

.aiil-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding: 1px 4px;
    border-radius: 3px;
    background: linear-gradient(120deg, rgba(37, 99, 235, 0.08) 0%, rgba(99, 102, 241, 0.08) 100%);
    border-bottom: 2px solid rgba(37, 99, 235, 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.aiil-link:hover {
    color: #1d4ed8;
    background: linear-gradient(120deg, rgba(37, 99, 235, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
    border-bottom-color: rgba(37, 99, 235, 0.7);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
    transform: translateY(-1px);
}

.aiil-link:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.12);
}

/* Subtle arrow icon after the link */
.aiil-link::after {
    content: " →";
    display: inline-block;
    font-size: 0.85em;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.aiil-link:hover::after {
    opacity: 0.7;
    transform: translateX(0);
}