.tool-nav {
    position: sticky;
    top: 88px;
    z-index: 30;
    margin-bottom: 24px;
}

@media (max-width: 991px) {
    .tool-nav {
        top: 72px;
        margin-bottom: 20px;
    }
}

.tool-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.04);
    color: #1e293b;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tool-nav__link:hover,
.tool-nav__link:focus-visible {
    background: rgba(99, 102, 241, 0.12);
    color: #312e81;
    border-color: rgba(99, 102, 241, 0.35);
    outline: none;
}

.tool-nav__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.tool-nav__icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.tool-feedback {
    margin: 32px 0 48px;
    border: 1px solid rgba(99, 102, 241, 0.18);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(79, 70, 229, 0.04));
    color: #0f172a;
}

.tool-feedback__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    padding: 24px 28px;
}

.tool-feedback__title {
    flex: 1 1 260px;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.tool-feedback__description {
    flex: 2 1 300px;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(15, 23, 42, 0.85);
}

.tool-feedback__link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
    background: #4f46e5;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tool-feedback__link:hover,
.tool-feedback__link:focus-visible {
    background: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.35);
    outline: none;
}

.tool-feedback__link:focus-visible {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5), 0 10px 24px rgba(79, 70, 229, 0.35);
}

@media (max-width: 640px) {
    .tool-feedback {
        margin: 24px 0 40px;
    }

    .tool-feedback__inner {
        padding: 20px;
    }

    .tool-feedback__title {
        font-size: 1.15rem;
    }

    .tool-feedback__description {
        font-size: 0.95rem;
    }

    .tool-feedback__link {
        width: 100%;
        justify-content: center;
    }
}
