.tools-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 82% 18%, rgba(57, 255, 20, 0.11), transparent 28rem),
        radial-gradient(circle at 8% 72%, rgba(57, 255, 20, 0.06), transparent 24rem),
        var(--background);
}

.tools-nav {
    position: relative;
    min-height: 104px;
    background: rgba(5, 6, 7, 0.92);
    border-bottom: 1px solid var(--line);
}

.tools-page .nav-links > a[aria-current="page"] { color: var(--accent); }

.tools-intro {
    width: min(90%, 1160px);
    margin: 0 auto;
    padding: clamp(5rem, 10vw, 9rem) 0 clamp(3rem, 6vw, 5rem);
}

.tools-intro h1 {
    max-width: none;
    font-size: clamp(3.5rem, 10vw, 7.5rem);
}

.tools-intro > p:last-child {
    max-width: 670px;
    margin: 1.4rem 0 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.tools-list {
    width: min(90%, 1160px);
    margin: 0 auto;
    padding-bottom: clamp(5rem, 10vw, 9rem);
}

.tool-card {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
    overflow: hidden;
    border: 1px solid rgba(57, 255, 20, 0.3);
    border-radius: 18px;
    background: rgba(12, 13, 16, 0.92);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
}

.tool-visual {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    background: #111318;
}

.tool-visual > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tool-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(4, 5, 6, 0.82));
    pointer-events: none;
}

.tool-visual-label {
    position: absolute;
    z-index: 1;
    left: 1.4rem;
    bottom: 1.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 0.9rem;
    border: 1px solid rgba(57, 255, 20, 0.45);
    border-radius: 999px;
    color: var(--text);
    background: rgba(5, 6, 7, 0.86);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.tool-logo { width: 25px; height: 25px; object-fit: contain; }

.tool-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4.5rem);
}

.tool-number {
    margin: 0 0 1rem;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.tool-content h2 {
    font-size: clamp(2.3rem, 5vw, 4.4rem);
}

.tool-tagline {
    margin: 1.15rem 0 0.8rem;
    color: var(--text);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-weight: 700;
    line-height: 1.45;
}

.tool-content > p:not(.tool-number):not(.tool-tagline) {
    margin: 0;
    color: var(--muted);
}

.tool-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 1.6rem 0 0;
    padding: 0;
    list-style: none;
}

.tool-features li {
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #d6d7d4;
    font-size: 0.78rem;
}

.tool-button { margin-top: 2rem; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 800px) {
    .tools-nav { min-height: 90px; }
    .tool-card { grid-template-columns: 1fr; }
    .tool-visual { min-height: clamp(280px, 72vw, 430px); }
    .tool-content { padding: 2rem; }
}

@media (max-width: 460px) {
    .tools-intro h1 { font-size: clamp(3rem, 16vw, 4.5rem); }
    .tool-content { padding: 1.6rem; }
    .tool-visual-label { left: 1rem; bottom: 1rem; }
}
