.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    font-size: 0.875rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-secondary);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .sep {
    color: var(--text-muted);
}

.breadcrumb .current {
    color: var(--text);
    font-weight: 500;
}

.tool-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.4s ease;
}

.tool-header-left {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.tool-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.tool-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.tool-desc {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.tool-tags .tag {
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-full);
}

.tool-workspace {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.5s ease;
}

.tool-description,
.highlights,
.faq,
.related-tools {
    margin-bottom: 1.5rem;
}

.tool-description h2,
.highlights h2,
.faq h2,
.related-tools h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-light);
}

.desc-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.highlight-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hl-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.highlight-card h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.highlight-card p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1rem;
    background: var(--card-bg);
    border: none;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.faq-q i {
    color: var(--text-muted);
    transition: transform 0.3s ease;
    font-size: 0.75rem;
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-a p {
    padding: 0 1rem 0.875rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-item.open .faq-q i {
    transform: rotate(180deg);
}

.faq-item.open .faq-a {
    max-height: 300px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
}

.related-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.75rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.related-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.related-card i {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 4px;
    color: var(--primary);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.related-card span {
    font-size: 0.8125rem;
    color: var(--text);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .tool-header {
        flex-direction: column;
    }
    .highlights-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
    .tool-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    .tool-header h1 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .related-grid {
        grid-template-columns: 1fr 1fr;
    }
    .breadcrumb {
        font-size: 0.8125rem;
    }
    .tool-tags .tag {
        font-size: 0.6875rem;
    }
}
