:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --accent-color: #f72585;
    --text-color: #333;
    --text-light: #666;
    --background-color: #f8f9fa;
    --card-background: #ffffff;
    --card-hover: #f0f4ff;
    --border-color: #e0e5ec;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --button-gradient: linear-gradient(135deg, #4361ee, #3a0ca3);
    --header-gradient: linear-gradient(135deg, #4361ee, #3a0ca3);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

header {
    background: var(--header-gradient);
    color: white;
    padding: 2.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB4PSIwIiB5PSIwIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSgzMCkiPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIyIiBoZWlnaHQ9IjIiIGZpbGw9IiNmZmZmZmYiIG9wYWNpdHk9IjAuMSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.2;
    z-index: 0;
}

header .container {
    position: relative;
    z-index: 1;
}

header h1 {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

header .logo-image {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

header .logo-image:hover {
    transform: scale(1.05);
}

header p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

.search-section {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2.5rem;
    margin-top: -50px;
    position: relative;
    z-index: 10;
    border: 1px solid var(--border-color);
}

.search-container {
    margin-bottom: 1.5rem;
}

#searchForm {
    display: flex;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    padding: 0.25rem;
    background: white;
}

#searchBar {
    flex: 1;
    padding: 15px 25px;
    border: none;
    outline: none;
    font-size: 1.1rem;
    color: var(--text-color);
    border-radius: 50px;
    background: transparent;
}

#searchButton {
    background: var(--button-gradient);
    color: white;
    border: none;
    padding: 0 30px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

#searchButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(67, 97, 238, 0.3);
}

.filter-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
}

#categoryFilter {
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background-color: white;
    color: var(--text-color);
    cursor: pointer;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#categoryFilter:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

.search-tips {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    font-style: italic;
}

.results-section {
    padding: 3rem 0;
}

.results-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.results-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

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

.tool-card {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.tool-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #d0d7e2;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    border-radius: var(--border-radius);
    pointer-events: none;
}

.tool-card:hover::before {
    opacity: 1;
}

.tool-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.tool-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tool-category {
    display: inline-block;
    background-color: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 50px;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tool-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-color);
    font-weight: 700;
    line-height: 1.4;
}

.tool-description {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.6;
    flex: 1;
}

.tool-link {
    display: inline-block;
    background: var(--button-gradient);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(67, 97, 238, 0.2);
    margin-top: auto;
}

.tool-link:hover {
    box-shadow: 0 6px 15px rgba(67, 97, 238, 0.35);
    transform: translateY(-2px);
}

.no-results {
    text-align: center;
    padding: 50px 0;
}

.no-results h3 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.no-results p {
    color: var(--text-light);
}

.loading {
    text-align: center;
    padding: 40px 0;
    font-size: 1.2rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.loading::after {
    content: '';
    width: 24px;
    height: 24px;
    border: 3px solid var(--border-color);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

footer {
    background-color: #212529;
    color: white;
    padding: 40px 0;
    margin-top: 60px;
}

footer p {
    margin-bottom: 0;
    text-align: center;
}

@media (max-width: 992px) {
    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2.2rem;
    }
    
    .search-section {
        padding: 1.5rem;
        margin-top: -30px;
    }
    
    #searchForm {
        flex-direction: column;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        border: none;
    }
    
    #searchBar {
        padding: 12px 20px;
        border-radius: 8px;
        margin-bottom: 10px;
        border: 1px solid var(--border-color);
    }
    
    #searchButton {
        padding: 12px;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .tool-card {
        max-width: 100%;
    }
}

.error-message {
    text-align: center;
    padding: 40px 0;
    color: var(--accent-color);
    background-color: rgba(234, 67, 53, 0.1);
    border-radius: 8px;
    margin: 20px 0;
}

.error-message h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.error-message p {
    color: var(--text-color);
    font-size: 1rem;
}

.footer-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.workflow-container {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.workflow-header {
    background: var(--header-gradient);
    color: white;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.workflow-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB4PSIwIiB5PSIwIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSgzMCkiPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIyIiBoZWlnaHQ9IjIiIGZpbGw9IiNmZmZmZmYiIG9wYWNpdHk9IjAuMSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.2;
    z-index: 0;
}

.workflow-header h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.workflow-header p {
    opacity: 0.95;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.workflow-steps {
    padding: 40px 30px;
}

.workflow-step {
    margin-bottom: 60px;
    position: relative;
    transition: transform 0.3s;
}

.workflow-step:hover {
    transform: translateX(5px);
}

.workflow-step:last-child {
    margin-bottom: 0;
}

.workflow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50px;
    left: 25px;
    width: 3px;
    height: calc(100% - 30px);
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    z-index: 1;
    border-radius: 10px;
}

.step-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--button-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 15px;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.step-header h4 {
    font-size: 1.5rem;
    color: var(--text-color);
    font-weight: 700;
}

.step-content {
    margin-left: 65px;
    padding: 25px;
    background-color: #f9fafb;
    border-radius: var(--border-radius);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.step-content p {
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.7;
}

.step-tools {
    margin-top: 25px;
    border-top: 1px solid #e5e9f0;
    padding-top: 20px;
}

.step-tools h5 {
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 1.15rem;
    font-weight: 600;
}

.step-tool-cards {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.step-tool-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    padding: 20px;
    width: calc(33.333% - 10px);
    min-width: 180px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.step-tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.step-tool-info {
    display: flex;
    flex-direction: column;
}

.step-tool-info h6 {
    font-size: 1.15rem;
    margin: 10px 0;
    color: var(--primary-color);
}

.step-tool-info .tool-link {
    margin-top: auto;
}

.alternative-tools-section {
    margin-top: 50px;
    text-align: center;
}

.alternative-tools-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: 700;
}

.alternative-tools-section p {
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.tool-recommendation {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    background-color: rgba(67, 97, 238, 0.05);
    border: 1px solid rgba(67, 97, 238, 0.1);
}

.tool-recommendation p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .step-tool-card {
        width: calc(50% - 10px);
    }
    
    .workflow-header h3 {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .step-content {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .workflow-step:not(:last-child)::after {
        left: 25px;
        height: calc(100% - 50px);
    }
    
    .step-tool-card {
        width: 100%;
    }
}

/* Price tags styling */
.price-tag {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.price-tag.free {
    background-color: rgba(52, 168, 83, 0.15);
    color: #34a853;
}

.price-tag.freemium {
    background-color: rgba(66, 133, 244, 0.15);
    color: #4285f4;
}

.price-tag.paid {
    background-color: rgba(234, 67, 53, 0.15);
    color: #ea4335;
}

/* Reset button styling */
.reset-button {
    background: var(--button-gradient);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reset-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(67, 97, 238, 0.3);
}

/* Section separator styling */
.section-separator {
    margin: 40px 0;
    text-align: center;
    position: relative;
}

.section-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
    z-index: -1;
}

.section-separator h2 {
    display: inline-block;
    background: var(--background-color);
    padding: 0 20px;
    color: var(--text-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.section-separator p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Loading spinner animation */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(67, 97, 238, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 15px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #4361ee, #3a0ca3);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #3a56d4, #2f0b89);
}

/* Featured section styling */
.featured-section {
    margin: 3rem 0 2rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 3rem;
}

.featured-card {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transform: translateY(0);
}

.featured-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #d0d7e2;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    border-radius: var(--border-radius);
    pointer-events: none;
}

.featured-card:hover::before {
    opacity: 1;
}

.featured-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.featured-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.featured-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

/* Category section styling */
.category-section {
    margin: 3rem 0;
}

.category-heading {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.category-icon {
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
}

.category-title {
    font-size: 1.6rem;
    color: var(--text-color);
    font-weight: 700;
    margin: 0;
}

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

.view-more-btn {
    display: block;
    text-align: center;
    margin: 1.5rem auto 0;
    padding: 10px 25px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
}

.view-more-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Improve logo display in cards */
.tool-image-container {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
}

.tool-logo {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

/* Animation for category sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

/* AI Assistant Styling */
.ai-assistant-section {
    margin-bottom: 3rem;
}

.ai-assistant-container {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--border-color);
    max-width: 900px;
    margin: 0 auto;
}

.ai-assistant-header {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color), #3a0ca3);
    color: white;
}

.ai-assistant-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.ai-assistant-icon i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.ai-assistant-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.chat-messages {
    padding: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
    background-color: #f7f9fc;
}

.user-message, .assistant-message {
    display: flex;
    margin-bottom: 1.5rem;
}

.user-message {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    flex-shrink: 0;
}

.user-message .message-avatar {
    background-color: #3a0ca3;
}

.message-content {
    background-color: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin: 0 15px;
    max-width: 80%;
}

.user-message .message-content {
    background-color: #ebf3ff;
}

.message-content p {
    margin: 0 0 0.5rem;
    line-height: 1.5;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.chat-input-container {
    display: flex;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
}

.chat-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.chat-input:focus {
    border-color: var(--primary-color);
}

.chat-submit-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    margin-left: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.chat-submit-button:hover {
    background-color: #3a56d4;
}

.suggestion-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.suggestion-chip {
    background-color: #e8eaed;
    color: #3c4043;
    padding: 8px 12px;
    border-radius: 16px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    user-select: none;
}

.suggestion-chip:hover {
    background-color: #dadce0;
}

/* Use Cases Styling */
.use-cases-section {
    margin: 3rem 0;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.use-case-card {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transform: translateY(0);
}

.use-case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.use-case-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #3a0ca3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.use-case-icon i {
    font-size: 2rem;
}

.use-case-card h3 {
    margin: 0 0 12px;
    font-size: 1.25rem;
    color: var(--text-color);
}

.use-case-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

.use-case-button {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.use-case-button:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Workflow Showcase Styling */
.workflow-showcase {
    margin: 3rem 0;
}

.workflow-container {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    border: 1px solid var(--border-color);
}

.workflow-step {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.workflow-step:last-child {
    margin-bottom: 0;
}

.workflow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 25px;
    width: 2px;
    height: calc(100% + 30px);
    background-color: var(--border-color);
    z-index: 0;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-right: 20px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.25rem;
    margin: 0 0 12px;
    font-weight: 700;
    color: var(--text-color);
}

.step-description {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.step-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.step-tool {
    display: flex;
    align-items: center;
    background-color: #f7f9fc;
    border-radius: 8px;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
}

.step-tool-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
    margin-right: 10px;
}

.step-tool-name {
    font-weight: 600;
    color: var(--text-color);
}

/* Tool Recommendations Styling */
.recommendations-section {
    margin: 3rem 0;
}

.recommendations-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Categories Section Styling */
.categories-section {
    margin: 3rem 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.category-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #3a0ca3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.category-icon i {
    font-size: 1.75rem;
}

.category-card h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    color: var(--text-color);
}

.tool-count {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Category Results Styling */
.category-results-section {
    margin: 3rem 0;
}

.category-header {
    margin-bottom: 2rem;
    text-align: center;
}

.category-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.category-header p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .use-cases-grid, 
    .recommendations-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .use-cases-grid, 
    .recommendations-container, 
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .chat-messages {
        max-height: 350px;
    }
    
    .message-content {
        max-width: 90%;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.slide-in-up {
    animation: slideInUp 0.5s ease-out forwards;
}

/* Utility Classes */
.hide {
    display: none !important;
}

.show {
    display: block !important;
} 