/* ==========================================================================
   TOOLS PAGE - Card grid layout for all tools
   ========================================================================== */

/* Container */
.tools-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Tool Card */
.tool-card {
    position: relative;
    background: var(--static-bg-card);
    border-radius: 16px;
    padding: 32px 28px 28px;
    border: 1px solid var(--static-border);
    box-shadow: 0 4px 20px var(--static-shadow);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tool-card:hover {
    border-color: var(--static-primary);
    box-shadow: 0 12px 40px var(--static-shadow);
    transform: translateY(-6px);
}

/* Icon */
.tool-card__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--static-primary) 0%, var(--static-primary-hover) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #040405;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.tool-card:hover .tool-card__icon {
    transform: scale(1.05);
}

/* Badge */
.tool-card__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--static-primary) 0%, var(--static-primary-hover) 100%);
    color: #040405;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Title */
.tool-card__title {
    font-family: 'Rubik', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--static-text);
    margin: 0 0 10px 0;
}

/* Description */
.tool-card__description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--static-text-muted);
    margin: 0 0 20px 0;
    flex-grow: 1;
}

/* CTA Link */
.tool-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--static-primary);
    transition: gap 0.3s ease;
}

.tool-card:hover .tool-card__cta {
    gap: 10px;
}

.tool-card__cta svg {
    transition: transform 0.3s ease;
}

.tool-card:hover .tool-card__cta svg {
    transform: translateX(2px);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tool-card {
        padding: 24px 20px 20px;
    }

    .tool-card__icon {
        width: 52px;
        height: 52px;
    }

    .tool-card__icon svg {
        width: 26px;
        height: 26px;
    }

    .tool-card__title {
        font-size: 18px;
    }
}
