:root {
    --primary-color: #6E171B;
    --primary-hover: #4E4C4E;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --header-bg: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header-fixed {
    background: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.logo-container {
    width: 150px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.logo-container img{
  max-width: 600px;
  width: 100%;      
  height: auto;     
}

.header-fixed h1 {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--text-primary);
    
}

.search-container {
    width: 100%;
    max-width: 400px;
}

.search-container .input-group {
    background: var(--bg-color);
    border-radius: 10px;
    overflow: hidden;
}

.search-container .input-group-text {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-right: none;
    color: var(--text-secondary);
}

.search-container .form-control {
    border: 1px solid var(--border-color);
    border-left: none;
    padding: 0.625rem 1rem;
    background: var(--bg-color);
}

.search-container .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.search-container .btn-outline-secondary {
    border: 1px solid var(--border-color);
    border-left: none;
    background: var(--bg-color);
    color: var(--text-secondary);
}

.search-container .btn-outline-secondary:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

.main-content {
    flex: 1;
    padding: 2rem 0;
}

.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--card-bg);
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.category-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.tool-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tool-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.tool-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.tool-icon.slack { background: #4a154b; color: white; }
.tool-icon.google-drive { background: #4285f4; color: white; }
.tool-icon.jira { background: #0052cc; color: white; }
.tool-icon.notion { background: #191919; color: white; }
.tool-icon.figma { background: #f24e1e; color: white; }
.tool-icon.zoom { background: #2d8cff; color: white; }

.tool-name {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.tool-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-color);
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tool-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    flex: 1;
    margin-bottom: 1rem;
}

.tool-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.tool-link:hover {
    color: var(--primary-hover);
}

.tool-link i {
    transition: transform 0.2s ease;
}

.tool-link:hover i {
    transform: translateX(3px);
}

.footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    margin-top: auto;
}

.footer .btn-outline-primary {
    border-color: var(--border-color);
    color: var(--text-secondary);
}

.footer .btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

#noResults {
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .header-fixed .container .d-flex {
        flex-direction: column;
        gap: 1rem;
    }

    .search-container {
        max-width: 100%;
        width: 100%;
    }

    .header-fixed h1 {
        font-family: 'Anton', sans-serif;
        font-size: 1.125rem;
    }

    .categories {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .tool-card {
        padding: 1.25rem;
    }

    .tool-icon {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
}
