/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SF Pro Display', 'Poppins', 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #23262f;
    background: #ffffff;
    min-height: 100vh;
}

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

/* Header styles */
header {
    text-align: center;
    margin-bottom: 40px;
    color: #23262f;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #23262f;
    font-weight: 600;
}

header p {
    font-size: 1.1rem;
    color: #23262f;
    opacity: 0.8;
}

/* Filter section */
.filter-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.filter-section h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.5rem;
}

.tag-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #495057;
}

.tag-btn:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.tag-btn.active {
    background: #e52334;
    color: white;
    border-color: #e52334;
    box-shadow: 0 4px 15px rgba(229, 35, 52, 0.3);
}

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

.tool-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.tool-card.hidden {
    display: none;
}

.tool-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.tool-icon {
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid #e52334;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #e52334;
    font-size: 1.5rem;
}

.tool-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #23262f;
    font-weight: 600;
}

.tool-info p {
    color: #23262f;
    font-size: 0.9rem;
    opacity: 0.7;
}

.tool-description {
    margin-bottom: 20px;
    color: #23262f;
    line-height: 1.5;
    opacity: 0.8;
}

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tool-tag {
    background: #f8f9fa;
    color: #e52334;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e52334;
}

.tool-link {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 12px;
    background: #e52334;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.tool-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 35, 52, 0.3);
    text-decoration: none;
    color: white;
    background: #c41e2a;
}

.tool-link.disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.tool-link.disabled:hover {
    transform: none;
    box-shadow: none;
    background: #6c757d;
}

.error-message, .no-tools-message {
    text-align: center;
    padding: 40px 20px;
    color: #e52334;
    font-size: 1.1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #e52334;
    margin: 20px 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .tag-filters {
        justify-content: center;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .tag-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .tool-card {
        padding: 20px;
    }
    
    /* Removed platform-specific responsive styles */
}
