/* ========================================
   TOOLKIT DETAIL PAGE
======================================== */

.tool-detail-main {
    padding: 155px 0 90px;
}

.tool-detail-hero {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: end;
    padding-bottom: 85px;
    border-bottom: 1px solid var(--border);
}

.tool-detail-mark {
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(181, 127, 255, 0.35);
    border-radius: 24px;
    background: rgba(181, 127, 255, 0.07);
    color: var(--white);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.04em;
    box-shadow: 0 18px 55px rgba(181, 127, 255, 0.12);
}

.tool-detail-kicker {
    margin-top: 28px;
    color: var(--grey);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.tool-detail-title {
    margin-top: 12px;
    font-size: clamp(70px, 9vw, 138px);
    line-height: 0.82;
    letter-spacing: -0.08em;
    text-transform: uppercase;
}

.tool-detail-intro {
    max-width: 620px;
    margin-left: auto;
    color: #92929c;
    font-size: 17px;
    line-height: 1.75;
}

.tool-detail-meta {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.tool-detail-pill {
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    color: #7d7d87;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.35px;
    text-transform: uppercase;
}

.tool-detail-pill.version {
    color: var(--purple);
    border-color: rgba(181, 127, 255, 0.28);
}

.tool-detail-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.tool-detail-action {
    display: inline-flex;
    align-items: center;
    min-height: 43px;
    padding: 0 17px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 11px;
    color: var(--white);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.tool-detail-action.primary {
    border-color: rgba(181, 127, 255, 0.35);
    background: var(--purple);
    color: #100b16;
}

.tool-detail-action:hover {
    transform: translateY(-2px);
    border-color: rgba(181, 127, 255, 0.55);
}

.tool-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.tool-detail-card {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 20px;
    background:
        linear-gradient(
            145deg,
            rgba(181, 127, 255, 0.055),
            rgba(255, 255, 255, 0.012)
        ),
        #0d0d10;
}

.tool-detail-card.wide {
    grid-column: 1 / -1;
}

.tool-detail-label {
    color: var(--purple);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.tool-detail-card h2 {
    margin-top: 13px;
    color: var(--white);
    font-size: 29px;
    line-height: 1;
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.tool-detail-card p {
    max-width: 700px;
    margin-top: 14px;
    color: #85858f;
    font-size: 13px;
    line-height: 1.75;
}

.tool-detail-list {
    display: grid;
    gap: 12px;
    margin-top: 20px;
    padding: 0;
    list-style: none;
}

.tool-detail-list li {
    position: relative;
    padding-left: 16px;
    color: #85858f;
    font-size: 12px;
    line-height: 1.65;
}

.tool-detail-list li::before {
    content: "";
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--purple);
}

.tool-shortcuts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 20px;
}

.tool-shortcut {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 13px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.025);
}

.tool-shortcut span {
    color: #7e7e88;
    font-size: 10px;
}

.tool-shortcut kbd {
    color: var(--white);
    font-family: inherit;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.35px;
}

.tool-detail-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 80px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
    color: #55555e;
    font-size: 10px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.tool-detail-footer a {
    color: #777781;
}

.tool-detail-footer a:hover {
    color: var(--white);
}

@media (max-width: 900px) {
    .tool-detail-hero {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tool-detail-intro {
        margin-left: 0;
    }

    .tool-detail-meta,
    .tool-detail-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .tool-detail-main {
        padding: 125px 0 65px;
    }

    .tool-detail-hero {
        gap: 28px;
        padding-bottom: 60px;
    }

    .tool-detail-mark {
        width: 72px;
        height: 72px;
        border-radius: 20px;
        font-size: 20px;
    }

    .tool-detail-title {
        font-size: clamp(58px, 18vw, 92px);
    }

    .tool-detail-intro {
        font-size: 15px;
    }

    .tool-detail-grid {
        grid-template-columns: 1fr;
    }

    .tool-detail-card.wide {
        grid-column: auto;
    }

    .tool-shortcuts {
        grid-template-columns: 1fr;
    }

    .tool-detail-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}
