/* ================
   PromptPilot Tool Grid Layout
   ================ */

.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    align-items: stretch; /* Ensures all cards match height */
    padding: 2rem 1rem;
}

/* Individual tool cards */
.tool-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 1.5rem;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.2s ease;
}

.tool-card:hover {
    transform: translateY(-4px);
}

/* Title inside card */
.tool-card h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0A1929;
    margin-bottom: 0.5rem;
}

/* Description text inside card */
.tool-card p {
    flex-grow: 1;
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 1.5rem;
}

/* Access badge (Pro, Register) */
.pro-badge {
    background-color: #e74c3c;
    color: white;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    margin-left: 0.4rem;
    vertical-align: middle;
}

/* The Open Tool button */
.tool-button {
    display: inline-block;
    background-color: #0A1929;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
    margin-top: auto;
}

.tool-button:hover {
    background-color: #1a365d;
}

/* Optional: locked appearance */
.tool-card.locked {
    opacity: 0.6;
    pointer-events: none;
}
