/* Tools Page Styles */
.tools-page {
    min-height: 80vh;
    padding-bottom: 64px;
}

.tools-page-header {
    background-color: #0d1117;
    padding: 64px 0 32px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.tools-page-title {
    color: #e6edf3;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    letter-spacing: -0.025em;
}

.tools-page-alphabet {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0 auto;
}

.tools-page-letter {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: #8b949e;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tools-page-letter.active {
    background-color: rgba(88, 166, 255, 0.2);
    color: #58a6ff;
}

.tools-page-letter:not(.disabled):hover {
    background-color: rgba(88, 166, 255, 0.1);
    color: #58a6ff;
    transform: translateY(-2px);
}

.tools-page-letter.disabled {
    opacity: 0.4;
    cursor: default;
}

.tools-page-content {
    padding: 64px 0;
    background-color: #010409;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.tool-card {
    background-color: #0d1117;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    border-color: rgba(88, 166, 255, 0.2);
}

.tool-card-inner {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tool-name {
    color: #e6edf3;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
    letter-spacing: -0.02em;
}

.tool-description {
    color: #8b949e;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
}

.tool-link {
    color: #58a6ff;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-top: 16px;
    transition: transform 0.2s ease;
}

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

.no-tools-message {
    text-align: center;
    padding: 64px 0;
    color: #8b949e;
}

.no-tools-message p {
    font-size: 18px;
    margin-bottom: 24px;
}

.back-home-link {
    display: inline-block;
    padding: 12px 24px;
    background-color: rgba(88, 166, 255, 0.1);
    color: #58a6ff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-home-link:hover {
    background-color: rgba(88, 166, 255, 0.2);
    transform: translateY(-2px);
}

/* Responsive styles */
@media (max-width: 1068px) {
    .tools-page-header {
        padding: 48px 0 24px;
    }
    
    .tools-page-title {
        font-size: 28px;
    }
    
    .tools-page-content {
        padding: 48px 0;
    }
    
    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 734px) {
    .tools-page-header {
        padding: 40px 0 20px;
    }
    
    .tools-page-title {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .tools-page-alphabet {
        gap: 8px;
    }
    
    .tools-page-letter {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .tools-page-content {
        padding: 40px 0;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .tool-card-inner {
        padding: 20px;
    }
}

@media (max-width: 374px) {
    .tools-page-title {
        font-size: 22px;
    }
    
    .tools-page-letter {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
} 